var/cache/te_dev/twig/57/5702b35a1de4e85aff16908bb8c24b596e89430cd8911944906a1ff96715f44c.php line 43

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @Web/Search/show.html.twig */
  14. class __TwigTemplate_a60d6b8cff1ca25d503d18864beb7c168aeffe4fe4ba36dbf639f81b807327ec extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.             'meta' => [$this'block_meta'],
  27.             'googleTagScript' => [$this'block_googleTagScript'],
  28.             'content' => [$this'block_content'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "@Web/layout.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  40.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Web/Search/show.html.twig"));
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Web/Search/show.html.twig"));
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Web/Search/show.html.twig"));
  45.         // line 3
  46.         $macros["build"] = $this->macros["build"] = $this;
  47.         // line 37
  48.         $context["max"] = 30;
  49.         // line 1
  50.         $this->parent $this->loadTemplate("@Web/layout.html.twig""@Web/Search/show.html.twig"1);
  51.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  52.         
  53.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  54.         
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  56.         
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  58.     }
  59.     // line 5
  60.     public function block_title($context, array $blocks = [])
  61.     {
  62.         $macros $this->macros;
  63.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  64.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  69.         // line 6
  70.         echo "    ";
  71.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search_result"), "html"nulltrue);
  72.         echo "
  73. ";
  74.         
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  76.         
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  78.         
  79.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  80.     }
  81.     // line 9
  82.     public function block_stylesheets($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  86.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  87.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  89.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  91.         // line 10
  92.         echo "    ";
  93.         $this->displayParentBlock("stylesheets"$context$blocks);
  94.         echo "
  95.     <link rel=\"stylesheet\" href=\"";
  96.         // line 12
  97.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_css/pages.min.css"), "html"nulltrue);
  98.         echo "\" />
  99.     <link rel=\"stylesheet\" href=\"";
  100.         // line 13
  101.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_css/slide-show.min.css"), "html"nulltrue);
  102.         echo "\" />
  103.     ";
  104.         // line 15
  105.         if (($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile() &&  !$this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isTablet())) {
  106.             // line 16
  107.             echo "        <link rel=\"stylesheet\" href=\"";
  108.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_css/slide-show-mobile.min.css"), "html"nulltrue);
  109.             echo "\" />
  110.     ";
  111.         } elseif ($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
  112.             // line 18
  113.             echo "        <link rel=\"stylesheet\" href=\"";
  114.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_css/slide-show-tablet.min.css"), "html"nulltrue);
  115.             echo "\" />
  116.     ";
  117.         }
  118.         
  119.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  120.         
  121.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  122.         
  123.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  124.     }
  125.     // line 22
  126.     public function block_javascripts($context, array $blocks = [])
  127.     {
  128.         $macros $this->macros;
  129.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  130.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  131.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  132.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  133.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  134.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  135.         // line 23
  136.         echo "\t";
  137.         $this->displayParentBlock("javascripts"$context$blocks);
  138.         echo "
  139.     ";
  140.         // line 24
  141.         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"falsefalsefalse24)) {
  142.             // line 25
  143.             echo "        <script src=\"";
  144.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/page.js"), "html"nulltrue);
  145.             echo "\"></script>
  146.         <script src=\"";
  147.             // line 26
  148.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/search-page.js"), "html"nulltrue);
  149.             echo "\"></script>
  150.     ";
  151.         } else {
  152.             // line 28
  153.             echo "        <script src=\"";
  154.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/page.min.js"), "html"nulltrue);
  155.             echo "\"></script>
  156.         <script src=\"";
  157.             // line 29
  158.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/search-page.min.js"), "html"nulltrue);
  159.             echo "\"></script>
  160.     ";
  161.         }
  162.         
  163.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  164.         
  165.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  166.         
  167.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  168.     }
  169.     // line 33
  170.     public function block_meta($context, array $blocks = [])
  171.     {
  172.         $macros $this->macros;
  173.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  174.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  175.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  176.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  177.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  178.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  179.         // line 34
  180.         echo "    <meta name=\"robots\" content=\"noindex, nofollow\" />
  181. ";
  182.         
  183.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  184.         
  185.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  186.         
  187.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  188.     }
  189.     // line 195
  190.     public function block_googleTagScript($context, array $blocks = [])
  191.     {
  192.         $macros $this->macros;
  193.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  194.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleTagScript"));
  195.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  196.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleTagScript"));
  197.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  198.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""googleTagScript"));
  199.         // line 196
  200.         echo "    ";
  201.         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); })()))) {
  202.             // line 197
  203.             echo "        ";
  204.             $context["articlesData"] = [];
  205.             // line 198
  206.             echo "        ";
  207.             $context['_parent'] = $context;
  208.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse198), "res", [], "any"falsefalsefalse198));
  209.             foreach ($context['_seq'] as $context["_key"] => $context["art"]) {
  210.                 // line 199
  211.                 echo "            ";
  212.                 $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); })()), [=> twig_get_attribute($this->env$this->source$context["art"], "id", [], "any"falsefalsefalse199)]);
  213.                 // line 200
  214.                 echo "        ";
  215.             }
  216.             $_parent $context['_parent'];
  217.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['art'], $context['_parent'], $context['loop']);
  218.             $context array_intersect_key($context$_parent) + $_parent;
  219.             // line 201
  220.             echo "    ";
  221.         }
  222.         
  223.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  224.         
  225.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  226.         
  227.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  228.     }
  229.     // line 204
  230.     public function block_content($context, array $blocks = [])
  231.     {
  232.         $macros $this->macros;
  233.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  234.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  235.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  236.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  237.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  238.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  239.         // line 205
  240.         echo "
  241.     <div class=\"search-results-page\">
  242.         <h1>
  243.             ";
  244.         // line 209
  245.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search_result_query"), "html"nulltrue);
  246.         echo ":
  247.             <span class=\"bolder\">";
  248.         // line 210
  249.         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"nulltrue);
  250.         echo "</span>
  251.             (";
  252.         // line 211
  253.         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"nulltrue);
  254.         echo ")
  255.         </h1>
  256.         ";
  257.         // line 214
  258.         if ((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse214), "get", [=> "test"], "method"falsefalsefalse214) == 1)) {
  259.             // line 215
  260.             echo "            <div class=\"gcse-search\"></div>
  261.         ";
  262.         }
  263.         // line 217
  264.         echo "
  265.         ";
  266.         // line 218
  267.         if (((isset($context["docsCount"]) || array_key_exists("docsCount"$context) ? $context["docsCount"] : (function () { throw new RuntimeError('Variable "docsCount" does not exist.'218$this->source); })()) != 0)) {
  268.             // line 219
  269.             echo "
  270.             ";
  271.             // line 220
  272.             $context["catalogLength"] = (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse220), "nCount", [], "any"falsefalsefalse220) + twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse220), "dCount", [], "any"falsefalsefalse220));
  273.             // line 221
  274.             echo "            ";
  275.             $context["brandsLength"] = (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse221), "nCount", [], "any"falsefalsefalse221) + twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse221), "dCount", [], "any"falsefalsefalse221));
  276.             // line 222
  277.             echo "            ";
  278.             $context["collectionsLength"] = (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse222), "nCount", [], "any"falsefalsefalse222) + twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse222), "dCount", [], "any"falsefalsefalse222));
  279.             // line 223
  280.             echo "            ";
  281.             $context["itemsLength"] = twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse223), "count", [], "any"falsefalsefalse223);
  282.             // line 224
  283.             echo "            ";
  284.             $context["blogsLength"] = (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse224), "nCount", [], "any"falsefalsefalse224) + twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse224), "dCount", [], "any"falsefalsefalse224));
  285.             // line 225
  286.             echo "
  287.             <div class=\"tabs-block\">
  288.                 <div class=\"t-b-w\">
  289.                     <div class=\"mobile-gradient\"></div>
  290.                     <div class=\"t-b-i-w\">
  291.                         <div class=\"t-b-c-w\">
  292.                             <div class=\"t-b-content\">
  293.                                 <div class=\"t-b-item selected\" data-lis=\"all\">";
  294.             // line 232
  295.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("all"), "html"nulltrue);
  296.             echo "</div>
  297.                                 ";
  298.             // line 233
  299.             if (((isset($context["catalogLength"]) || array_key_exists("catalogLength"$context) ? $context["catalogLength"] : (function () { throw new RuntimeError('Variable "catalogLength" does not exist.'233$this->source); })()) > 0)) {
  300.                 // line 234
  301.                 echo "                                    <div class=\"t-b-item\" data-lis=\"catalog\">";
  302.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("catalog_catalog"), "html"nulltrue);
  303.                 echo " (";
  304.                 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"nulltrue);
  305.                 echo ")</div>
  306.                                 ";
  307.             }
  308.             // line 236
  309.             echo "                                ";
  310.             if (((isset($context["brandsLength"]) || array_key_exists("brandsLength"$context) ? $context["brandsLength"] : (function () { throw new RuntimeError('Variable "brandsLength" does not exist.'236$this->source); })()) > 0)) {
  311.                 // line 237
  312.                 echo "                                    <div class=\"t-b-item\" data-lis=\"brands\">";
  313.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("left_menu_factories"), "html"nulltrue);
  314.                 echo " (";
  315.                 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"nulltrue);
  316.                 echo ")</div>
  317.                                 ";
  318.             }
  319.             // line 239
  320.             echo "                                ";
  321.             if (((isset($context["collectionsLength"]) || array_key_exists("collectionsLength"$context) ? $context["collectionsLength"] : (function () { throw new RuntimeError('Variable "collectionsLength" does not exist.'239$this->source); })()) > 0)) {
  322.                 // line 240
  323.                 echo "                                    <div class=\"t-b-item\" data-lis=\"collections\">";
  324.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("left_menu_collections"), "html"nulltrue);
  325.                 echo " (";
  326.                 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"nulltrue);
  327.                 echo ")</div>
  328.                                 ";
  329.             }
  330.             // line 242
  331.             echo "                                ";
  332.             if (((isset($context["itemsLength"]) || array_key_exists("itemsLength"$context) ? $context["itemsLength"] : (function () { throw new RuntimeError('Variable "itemsLength" does not exist.'242$this->source); })()) > 0)) {
  333.                 // line 243
  334.                 echo "                                    <div class=\"t-b-item\" data-lis=\"items\">";
  335.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("collection_articles_d"), "html"nulltrue);
  336.                 echo " (";
  337.                 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"nulltrue);
  338.                 echo ")</div>
  339.                                 ";
  340.             }
  341.             // line 245
  342.             echo "                                ";
  343.             if (((isset($context["blogsLength"]) || array_key_exists("blogsLength"$context) ? $context["blogsLength"] : (function () { throw new RuntimeError('Variable "blogsLength" does not exist.'245$this->source); })()) > 0)) {
  344.                 // line 246
  345.                 echo "                                    <div class=\"t-b-item\" data-lis=\"blogs\">";
  346.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("blog_blogs"), "html"nulltrue);
  347.                 echo " (";
  348.                 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"nulltrue);
  349.                 echo ")</div>
  350.                                 ";
  351.             }
  352.             // line 248
  353.             echo "                            </div>
  354.                         </div>
  355.                     </div>
  356.                 </div>
  357.             </div>
  358.         ";
  359.         }
  360.         // line 254
  361.         echo "
  362.         <div
  363.             class=\"s-r-inner-wrapper\"
  364.         \tdata-empty-msg-block";
  365.         // line 257
  366.         if (((isset($context["docsCount"]) || array_key_exists("docsCount"$context) ? $context["docsCount"] : (function () { throw new RuntimeError('Variable "docsCount" does not exist.'257$this->source); })()) == 0)) {
  367.             echo " style=\"display: none\"";
  368.         }
  369.         // line 258
  370.         echo "        \tdata-count-result=\"";
  371.         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"nulltrue);
  372.         echo "\"
  373.         >
  374.             ";
  375.         // line 261
  376.         if (((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse261), "nCount", [], "any"falsefalsefalse261) > 0) || (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse261), "dCount", [], "any"falsefalsefalse261) > 0))) {
  377.             // line 262
  378.             echo "                ";
  379.             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"falsefalsefalse262), "catalog""catalog_catalog""catalog""filters"], 262$context$this->getSourceContext());
  380.             echo "
  381.             ";
  382.         }
  383.         // line 264
  384.         echo "
  385.             ";
  386.         // line 265
  387.         if (((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse265), "nCount", [], "any"falsefalsefalse265) > 0) || (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse265), "dCount", [], "any"falsefalsefalse265) > 0))) {
  388.             // line 266
  389.             echo "                ";
  390.             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"falsefalsefalse266), "factory""left_menu_factories""brands""factory"], 266$context$this->getSourceContext());
  391.             echo "
  392.             ";
  393.         }
  394.         // line 268
  395.         echo "
  396.             ";
  397.         // line 269
  398.         if (((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse269), "nCount", [], "any"falsefalsefalse269) > 0) || (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse269), "dCount", [], "any"falsefalsefalse269) > 0))) {
  399.             // line 270
  400.             echo "                ";
  401.             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"falsefalsefalse270), "collection""left_menu_collections""collections""collections"], 270$context$this->getSourceContext());
  402.             echo "
  403.             ";
  404.         }
  405.         // line 272
  406.         echo "
  407.             ";
  408.         // line 273
  409.         if ((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse273), "count", [], "any"falsefalsefalse273) > 0)) {
  410.             // line 274
  411.             echo "                <div class=\"tab-content-wrapper articless\" data-lis=\"items\">
  412.                     <h2>";
  413.             // line 276
  414.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("collection_articles_d"), "html"nulltrue);
  415.             echo "</h2>
  416.                     <div id=\"s-r-articles\" class=\"collection-articles-body js-collection-articles-body\">
  417.                         ";
  418.             // line 279
  419.             $context['_parent'] = $context;
  420.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse279), "res", [], "any"falsefalsefalse279));
  421.             $context['loop'] = [
  422.               'parent' => $context['_parent'],
  423.               'index0' => 0,
  424.               'index'  => 1,
  425.               'first'  => true,
  426.             ];
  427.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  428.                 $length count($context['_seq']);
  429.                 $context['loop']['revindex0'] = $length 1;
  430.                 $context['loop']['revindex'] = $length;
  431.                 $context['loop']['length'] = $length;
  432.                 $context['loop']['last'] = === $length;
  433.             }
  434.             foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
  435.                 // line 280
  436.                 echo "                            ";
  437.                 $this->loadTemplate("@Web/Collection/article.html.twig""@Web/Search/show.html.twig"280)->display(twig_array_merge($context, ["article" => $context["article"], "noImageClass" => ""]));
  438.                 // line 281
  439.                 echo "                        ";
  440.                 ++$context['loop']['index0'];
  441.                 ++$context['loop']['index'];
  442.                 $context['loop']['first'] = false;
  443.                 if (isset($context['loop']['length'])) {
  444.                     --$context['loop']['revindex0'];
  445.                     --$context['loop']['revindex'];
  446.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  447.                 }
  448.             }
  449.             $_parent $context['_parent'];
  450.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']);
  451.             $context array_intersect_key($context$_parent) + $_parent;
  452.             // line 282
  453.             echo "                    </div>
  454.                     ";
  455.             // line 284
  456.             if ((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse284), "count", [], "any"falsefalsefalse284) > (isset($context["max"]) || array_key_exists("max"$context) ? $context["max"] : (function () { throw new RuntimeError('Variable "max" does not exist.'284$this->source); })()))) {
  457.                 // line 285
  458.                 echo "                        <div class=\"more-link-wrapper\">
  459.                             <a
  460.                                 href=\"javascript:void(0)\"
  461.                                 class=\"js-more\"
  462.                                 data-portion-url=\"";
  463.                 // line 289
  464.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_full_text_search_portion", ["type" => "articles"]);
  465.                 echo "\"
  466.                                 data-count=\"";
  467.                 // line 290
  468.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse290), "count", [], "any"falsefalsefalse290), "html"nulltrue);
  469.                 echo "\"
  470.                                 data-current-portion=\"1\"
  471.                                 data-target=\"#s-r-articles\"></a>
  472.                             <div class=\"spinner\"></div>
  473.                         </div>
  474.                     ";
  475.             }
  476.             // line 296
  477.             echo "
  478.                 </div>
  479.             ";
  480.         }
  481.         // line 299
  482.         echo "
  483.             ";
  484.         // line 300
  485.         if (((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse300), "name", [], "any"falsefalsefalse300)) > 0) || (twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse300), "desc", [], "any"falsefalsefalse300)) > 0))) {
  486.             // line 301
  487.             echo "                ";
  488.             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"falsefalsefalse301), "publications""blog_blogs""blogs""publications"], 301$context$this->getSourceContext());
  489.             echo "
  490.             ";
  491.         }
  492.         // line 303
  493.         echo "        </div>
  494.     </div>
  495.     ";
  496.         // line 307
  497.         echo "    <div class=\"no-project-msg\"
  498.         ";
  499.         // line 308
  500.         if (((isset($context["docsCount"]) || array_key_exists("docsCount"$context) ? $context["docsCount"] : (function () { throw new RuntimeError('Variable "docsCount" does not exist.'308$this->source); })()) == 0)) {
  501.             // line 309
  502.             echo "            style=\"display: table;\"
  503.         ";
  504.         } else {
  505.             // line 311
  506.             echo "            style=\"display: none;\"
  507.         ";
  508.         }
  509.         // line 313
  510.         echo "        data-empty-msg
  511.     >
  512.         ";
  513.         // line 315
  514.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search_no_result"), "html"nulltrue);
  515.         echo "
  516.     </div>
  517. ";
  518.         
  519.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  520.         
  521.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  522.         
  523.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  524.     }
  525.     // line 45
  526.     public function macro_collectionEls($__key__ null$__row__ null, ...$__varargs__)
  527.     {
  528.         $macros $this->macros;
  529.         $context $this->env->mergeGlobals([
  530.             "key" => $__key__,
  531.             "row" => $__row__,
  532.             "varargs" => $__varargs__,
  533.         ]);
  534.         $blocks = [];
  535.         ob_start();
  536.         try {
  537.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  538.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""collectionEls"));
  539.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  540.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""collectionEls"));
  541.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  542.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""collectionEls"));
  543.             // line 46
  544.             echo "
  545.                 <div class=\"boxInformer search-elem\">
  546.                     <a class=\"bodyImg js-collection-page-link\" href=\"";
  547.             // line 48
  548.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse48), "html"nulltrue);
  549.             echo "\" target=\"_blank\" rel=\"noopener\">
  550.                         <img
  551.                             class=\"filing_img\"
  552.                             data-width=\"";
  553.             // line 51
  554.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse51), "html"nulltrue);
  555.             echo "\"
  556.                             data-height=\"";
  557.             // line 52
  558.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse52), "html"nulltrue);
  559.             echo "\"
  560.                             alt=\"";
  561.             // line 53
  562.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse53)), "html"nulltrue);
  563.             echo "\"
  564.                             src=\"";
  565.             // line 54
  566.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse54), "html"nulltrue);
  567.             echo "\"
  568.                         />
  569.                     </a>
  570.                     <div class=\"collScriptBg\">
  571.                         <div class=\"collScript";
  572.             // line 58
  573.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse58), "html"nulltrue);
  574.             echo "\">
  575.                             <a class=\"collection\" href=\"";
  576.             // line 59
  577.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse59), "html"nulltrue);
  578.             echo "\" target=\"_blank\" rel=\"noopener\">
  579.                                 ";
  580.             // line 60
  581.             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"falsefalsefalse60);
  582.             echo "
  583.                             </a>
  584.                             ";
  585.             // line 62
  586.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("collection_by"), "html"nulltrue);
  587.             echo "
  588.                             <span>";
  589.             // line 63
  590.             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"falsefalsefalse63);
  591.             echo "</span>
  592.                         </div>
  593.                         ";
  594.             // line 65
  595.             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"falsefalsefalse65) == "1")) {
  596.                 // line 66
  597.                 echo "                            <div class=\"help-tooltip\" title=\"";
  598.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("collection.sample_tooltip"), "html"nulltrue);
  599.                 echo "\">
  600.                                 ";
  601.                 // line 67
  602.                 if ($this->extensions['SunCat\MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
  603.                     // line 68
  604.                     echo "                                    ";
  605.                     $this->loadTemplate("@Web/SVGIconsCode/quik_sample_catalog_mobile.html.twig""@Web/Search/show.html.twig"68)->display($context);
  606.                     // line 69
  607.                     echo "                                ";
  608.                 } else {
  609.                     // line 70
  610.                     echo "                                    ";
  611.                     $this->loadTemplate("@Web/SVGIconsCode/quick_sample_catalog.html.twig""@Web/Search/show.html.twig"70)->display($context);
  612.                     // line 71
  613.                     echo "                                ";
  614.                 }
  615.                 // line 72
  616.                 echo "                            </div>
  617.                         ";
  618.             }
  619.             // line 74
  620.             echo "                    </div>
  621.                 </div>
  622.                 ";
  623.             
  624.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  625.             
  626.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  627.             
  628.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  629.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  630.         } finally {
  631.             ob_end_clean();
  632.         }
  633.     }
  634.     // line 86
  635.     public function macro_factoryEls($__key__ null$__row__ null, ...$__varargs__)
  636.     {
  637.         $macros $this->macros;
  638.         $context $this->env->mergeGlobals([
  639.             "key" => $__key__,
  640.             "row" => $__row__,
  641.             "varargs" => $__varargs__,
  642.         ]);
  643.         $blocks = [];
  644.         ob_start();
  645.         try {
  646.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  647.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""factoryEls"));
  648.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  649.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""factoryEls"));
  650.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  651.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""factoryEls"));
  652.             // line 87
  653.             echo "<li class=\"box-factory search-elem\">
  654.                         <a href=\"";
  655.             // line 88
  656.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse88), "html"nulltrue);
  657.             echo "\" target=\"_blank\" rel=\"noopener\">
  658.                             <div>
  659.                                 ";
  660.             // line 90
  661.             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"falsefalsefalse90);
  662.             echo "
  663.                                 <span class=\"flag flag-";
  664.             // line 91
  665.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse91), "html"nulltrue);
  666.             echo "\"></span>
  667.                             </div>
  668.                         </a>
  669.                     </li>";
  670.             
  671.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  672.             
  673.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  674.             
  675.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  676.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  677.         } finally {
  678.             ob_end_clean();
  679.         }
  680.     }
  681.     // line 105
  682.     public function macro_publicationsEls($__key__ null$__row__ null, ...$__varargs__)
  683.     {
  684.         $macros $this->macros;
  685.         $context $this->env->mergeGlobals([
  686.             "key" => $__key__,
  687.             "row" => $__row__,
  688.             "varargs" => $__varargs__,
  689.         ]);
  690.         $blocks = [];
  691.         ob_start();
  692.         try {
  693.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  694.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""publicationsEls"));
  695.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  696.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""publicationsEls"));
  697.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  698.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""publicationsEls"));
  699.             // line 106
  700.             echo "<li class=\"publication search-elem\">
  701.                     <a href=\"";
  702.             // line 107
  703.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse107), "html"nulltrue);
  704.             echo "\" target=\"_blank\" rel=\"noopener\">
  705.                         <div class=\"box\">
  706.                             <img class=\"\"
  707.                                  src=\"";
  708.             // line 110
  709.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse110), "html"nulltrue);
  710.             echo "\"
  711.                                  alt=\"";
  712.             // line 111
  713.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse111)), "html"nulltrue);
  714.             echo "\" />
  715.                             <div class=\"name\">";
  716.             // line 112
  717.             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"falsefalsefalse112);
  718.             echo "</div>
  719.                             <div class=\"publication-text\">
  720.                                 ";
  721.             // line 114
  722.             echo twig_escape_filter($this->envtwig_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"falsefalsefalse114)), "html"nulltrue);
  723.             echo "...
  724.                                 <span class=\"details\">→</span>
  725.                             </div>
  726.                             <div class=\"both\"></div>
  727.                         </div>
  728.                     </a>
  729.                     </li>";
  730.             
  731.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  732.             
  733.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  734.             
  735.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  736.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  737.         } finally {
  738.             ob_end_clean();
  739.         }
  740.     }
  741.     // line 131
  742.     public function macro_catalogEls($__key__ null$__row__ null, ...$__varargs__)
  743.     {
  744.         $macros $this->macros;
  745.         $context $this->env->mergeGlobals([
  746.             "key" => $__key__,
  747.             "row" => $__row__,
  748.             "varargs" => $__varargs__,
  749.         ]);
  750.         $blocks = [];
  751.         ob_start();
  752.         try {
  753.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  754.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""catalogEls"));
  755.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  756.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""catalogEls"));
  757.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  758.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""catalogEls"));
  759.             // line 132
  760.             echo "            \t\t<li class=\"search-elem\">
  761.                         ";
  762.             // line 133
  763.             if (twig_get_attribute($this->env$this->source, ($context["row"] ?? null), "c_name", [], "any"truetruefalse133)) {
  764.                 // line 134
  765.                 echo "                            ";
  766.                 $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"falsefalsefalse134) . " ") . $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"falsefalsefalse134));
  767.                 // line 135
  768.                 echo "                            ";
  769.                 $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"falsefalsefalse135);
  770.                 // line 136
  771.                 echo "                        ";
  772.             } elseif (twig_get_attribute($this->env$this->source, ($context["row"] ?? null), "f_name", [], "any"truetruefalse136)) {
  773.                 // line 137
  774.                 echo "                            ";
  775.                 $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"falsefalsefalse137);
  776.                 // line 138
  777.                 echo "                            ";
  778.                 $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"falsefalsefalse138);
  779.                 // line 139
  780.                 echo "                        ";
  781.             } elseif (twig_get_attribute($this->env$this->source, ($context["row"] ?? null), "b_name", [], "any"truetruefalse139)) {
  782.                 // line 140
  783.                 echo "                            ";
  784.                 $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"falsefalsefalse140);
  785.                 // line 141
  786.                 echo "                            ";
  787.                 $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"falsefalsefalse141);
  788.                 // line 142
  789.                 echo "                        ";
  790.             } elseif (twig_get_attribute($this->env$this->source, ($context["row"] ?? null), "fl_name", [], "any"truetruefalse142)) {
  791.                 // line 143
  792.                 echo "                            ";
  793.                 $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"falsefalsefalse143);
  794.                 // line 144
  795.                 echo "                            ";
  796.                 $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"falsefalsefalse144);
  797.                 // line 145
  798.                 echo "                        ";
  799.             } else {
  800.                 // line 146
  801.                 echo "                            ";
  802.                 $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"falsefalsefalse146);
  803.                 // line 147
  804.                 echo "                            ";
  805.                 $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"falsefalsefalse147);
  806.                 // line 148
  807.                 echo "                        ";
  808.             }
  809.             // line 149
  810.             echo "                        <div class=\"s-r-link\">
  811.                             ";
  812.             // line 150
  813.             if (twig_get_attribute($this->env$this->source, ($context["row"] ?? null), "c_name", [], "any"truetruefalse150)) {
  814.                 // line 151
  815.                 echo "                                <a href=\"";
  816.                 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"nulltrue);
  817.                 echo "\" target=\"_blank\" rel=\"noopener\">";
  818.                 echo (isset($context["name"]) || array_key_exists("name"$context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.'151$this->source); })());
  819.                 echo "</a>
  820.                                 ";
  821.                 // line 152
  822.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("collection_by"), "html"nulltrue);
  823.                 echo "
  824.                                 <span>";
  825.                 // line 153
  826.                 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"falsefalsefalse153);
  827.                 echo "</span>
  828.                             ";
  829.             } elseif (twig_get_attribute($this->env$this->source,             // line 154
  830. ($context["row"] ?? null), "f_name", [], "any"truetruefalse154)) {
  831.                 // line 155
  832.                 echo "                                <a href=\"";
  833.                 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"nulltrue);
  834.                 echo "\" target=\"_blank\" rel=\"noopener\">";
  835.                 echo (isset($context["name"]) || array_key_exists("name"$context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.'155$this->source); })());
  836.                 echo "</a>
  837.                             ";
  838.             } else {
  839.                 // line 157
  840.                 echo "                                <a href=\"";
  841.                 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"nulltrue);
  842.                 echo "\" target=\"_blank\" rel=\"noopener\">";
  843.                 echo (isset($context["name"]) || array_key_exists("name"$context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.'157$this->source); })());
  844.                 echo "</a>
  845.                             ";
  846.             }
  847.             // line 159
  848.             echo "
  849.                             ";
  850.             // line 160
  851.             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"falsefalsefalse160) != null)) {
  852.                 // line 161
  853.                 echo "                                <a href=\"";
  854.                 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"nulltrue);
  855.                 echo "\" class=\"s-r-img-link\" target=\"_blank\" rel=\"noopener\">
  856.                                     <img class=\"\"
  857.                                          src=\"";
  858.                 // line 163
  859.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse163), "html"nulltrue);
  860.                 echo "\"
  861.                                          alt=\"";
  862.                 // line 164
  863.                 echo twig_escape_filter($this->envtwig_striptags((isset($context["name"]) || array_key_exists("name"$context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.'164$this->source); })())), "html"nulltrue);
  864.                 echo "\" />
  865.                                 </a>
  866.                             ";
  867.             }
  868.             // line 167
  869.             echo "                        </div>
  870.                     </li>
  871.             \t";
  872.             
  873.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  874.             
  875.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  876.             
  877.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  878.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  879.         } finally {
  880.             ob_end_clean();
  881.         }
  882.     }
  883.     // line 39
  884.     public function macro_renderBlock($__nameCount__ null$__data__ null$__class__ null$__header__ null$__dataLis__ null$__dataId__ null, ...$__varargs__)
  885.     {
  886.         $macros $this->macros;
  887.         $context $this->env->mergeGlobals([
  888.             "nameCount" => $__nameCount__,
  889.             "data" => $__data__,
  890.             "class" => $__class__,
  891.             "header" => $__header__,
  892.             "dataLis" => $__dataLis__,
  893.             "dataId" => $__dataId__,
  894.             "varargs" => $__varargs__,
  895.         ]);
  896.         $blocks = [];
  897.         ob_start();
  898.         try {
  899.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  900.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""renderBlock"));
  901.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  902.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""renderBlock"));
  903.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  904.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""renderBlock"));
  905.             // line 40
  906.             echo "
  907.     <div class=\"tab-content-wrapper\" data-lis=\"";
  908.             // line 41
  909.             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"nulltrue);
  910.             echo "\">
  911.         <h2>";
  912.             // line 42
  913.             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"nulltrue);
  914.             echo "</h2>
  915.         <ol class=\"s-r-results s-r-";
  916.             // line 43
  917.             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"nulltrue);
  918.             echo "\" id=\"s-r-";
  919.             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"nulltrue);
  920.             echo "\">
  921.             ";
  922.             // line 44
  923.             if (((isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'44$this->source); })()) == "collection")) {
  924.                 // line 45
  925.                 echo "                ";
  926.                 // line 77
  927.                 echo "
  928.                 ";
  929.                 // line 78
  930.                 $context['_parent'] = $context;
  931.                 $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"falsefalsefalse78));
  932.                 foreach ($context['_seq'] as $context["cKey"] => $context["cRow"]) {
  933.                     // line 79
  934.                     echo "                    ";
  935.                     echo twig_call_macro($macros["build"], "macro_collectionEls", [$context["cKey"], $context["cRow"]], 79$context$this->getSourceContext());
  936.                     echo "
  937.                 ";
  938.                 }
  939.                 $_parent $context['_parent'];
  940.                 unset($context['_seq'], $context['_iterated'], $context['cKey'], $context['cRow'], $context['_parent'], $context['loop']);
  941.                 $context array_intersect_key($context$_parent) + $_parent;
  942.                 // line 81
  943.                 echo "
  944.                 ";
  945.                 // line 82
  946.                 $context['_parent'] = $context;
  947.                 $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"falsefalsefalse82));
  948.                 foreach ($context['_seq'] as $context["cKey"] => $context["cRow"]) {
  949.                     // line 83
  950.                     echo "                    ";
  951.                     echo twig_call_macro($macros["build"], "macro_collectionEls", [$context["cKey"], $context["cRow"]], 83$context$this->getSourceContext());
  952.                     echo "
  953.                 ";
  954.                 }
  955.                 $_parent $context['_parent'];
  956.                 unset($context['_seq'], $context['_iterated'], $context['cKey'], $context['cRow'], $context['_parent'], $context['loop']);
  957.                 $context array_intersect_key($context$_parent) + $_parent;
  958.                 // line 85
  959.                 echo "            ";
  960.             } elseif (((isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'85$this->source); })()) == "factory")) {
  961.                 // line 86
  962.                 echo "            \t";
  963.                 // line 96
  964.                 echo "
  965.             \t";
  966.                 // line 97
  967.                 $context['_parent'] = $context;
  968.                 $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"falsefalsefalse97));
  969.                 foreach ($context['_seq'] as $context["fKey"] => $context["fRow"]) {
  970.                     // line 98
  971.                     echo "            \t\t";
  972.                     echo twig_call_macro($macros["build"], "macro_factoryEls", [$context["fKey"], $context["fRow"]], 98$context$this->getSourceContext());
  973.                     echo "
  974.             \t";
  975.                 }
  976.                 $_parent $context['_parent'];
  977.                 unset($context['_seq'], $context['_iterated'], $context['fKey'], $context['fRow'], $context['_parent'], $context['loop']);
  978.                 $context array_intersect_key($context$_parent) + $_parent;
  979.                 // line 100
  980.                 echo "
  981.                 ";
  982.                 // line 101
  983.                 $context['_parent'] = $context;
  984.                 $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"falsefalsefalse101));
  985.                 foreach ($context['_seq'] as $context["fKey"] => $context["fRow"]) {
  986.                     // line 102
  987.                     echo "                \t";
  988.                     echo twig_call_macro($macros["build"], "macro_factoryEls", [$context["fKey"], $context["fRow"]], 102$context$this->getSourceContext());
  989.                     echo "
  990.                 ";
  991.                 }
  992.                 $_parent $context['_parent'];
  993.                 unset($context['_seq'], $context['_iterated'], $context['fKey'], $context['fRow'], $context['_parent'], $context['loop']);
  994.                 $context array_intersect_key($context$_parent) + $_parent;
  995.                 // line 104
  996.                 echo "            ";
  997.             } elseif (((isset($context["class"]) || array_key_exists("class"$context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.'104$this->source); })()) == "publications")) {
  998.                 // line 105
  999.                 echo "                ";
  1000.                 // line 122
  1001.                 echo "
  1002.                 ";
  1003.                 // line 123
  1004.                 $context['_parent'] = $context;
  1005.                 $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"falsefalsefalse123));
  1006.                 foreach ($context['_seq'] as $context["pKey"] => $context["pRow"]) {
  1007.                     // line 124
  1008.                     echo "                    ";
  1009.                     echo twig_call_macro($macros["build"], "macro_publicationsEls", [$context["pKey"], $context["pRow"]], 124$context$this->getSourceContext());
  1010.                     echo "
  1011.                 ";
  1012.                 }
  1013.                 $_parent $context['_parent'];
  1014.                 unset($context['_seq'], $context['_iterated'], $context['pKey'], $context['pRow'], $context['_parent'], $context['loop']);
  1015.                 $context array_intersect_key($context$_parent) + $_parent;
  1016.                 // line 126
  1017.                 echo "
  1018.                 ";
  1019.                 // line 127
  1020.                 $context['_parent'] = $context;
  1021.                 $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"falsefalsefalse127));
  1022.                 foreach ($context['_seq'] as $context["pKey"] => $context["pRow"]) {
  1023.                     // line 128
  1024.                     echo "                    ";
  1025.                     echo twig_call_macro($macros["build"], "macro_publicationsEls", [$context["pKey"], $context["pRow"]], 128$context$this->getSourceContext());
  1026.                     echo "
  1027.                 ";
  1028.                 }
  1029.                 $_parent $context['_parent'];
  1030.                 unset($context['_seq'], $context['_iterated'], $context['pKey'], $context['pRow'], $context['_parent'], $context['loop']);
  1031.                 $context array_intersect_key($context$_parent) + $_parent;
  1032.                 // line 130
  1033.                 echo "            ";
  1034.             } else {
  1035.                 // line 131
  1036.                 echo "            \t";
  1037.                 // line 170
  1038.                 echo "
  1039.             \t";
  1040.                 // line 171
  1041.                 $context['_parent'] = $context;
  1042.                 $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"falsefalsefalse171));
  1043.                 foreach ($context['_seq'] as $context["catKey"] => $context["catRow"]) {
  1044.                     // line 172
  1045.                     echo "            \t\t";
  1046.                     echo twig_call_macro($macros["build"], "macro_catalogEls", [$context["catKey"], $context["catRow"]], 172$context$this->getSourceContext());
  1047.                     echo "
  1048.             \t";
  1049.                 }
  1050.                 $_parent $context['_parent'];
  1051.                 unset($context['_seq'], $context['_iterated'], $context['catKey'], $context['catRow'], $context['_parent'], $context['loop']);
  1052.                 $context array_intersect_key($context$_parent) + $_parent;
  1053.                 // line 174
  1054.                 echo "
  1055.             \t";
  1056.                 // line 175
  1057.                 $context['_parent'] = $context;
  1058.                 $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"falsefalsefalse175));
  1059.                 foreach ($context['_seq'] as $context["catKey"] => $context["catRow"]) {
  1060.                     // line 176
  1061.                     echo "            \t\t";
  1062.                     echo twig_call_macro($macros["build"], "macro_catalogEls", [$context["catKey"], $context["catRow"]], 176$context$this->getSourceContext());
  1063.                     echo "
  1064.             \t";
  1065.                 }
  1066.                 $_parent $context['_parent'];
  1067.                 unset($context['_seq'], $context['_iterated'], $context['catKey'], $context['catRow'], $context['_parent'], $context['loop']);
  1068.                 $context array_intersect_key($context$_parent) + $_parent;
  1069.                 // line 178
  1070.                 echo "            ";
  1071.             }
  1072.             // line 179
  1073.             echo "        </ol>
  1074.         <div class=\"both\"></div>
  1075.         ";
  1076.             // line 182
  1077.             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"falsefalsefalse182) + 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"falsefalsefalse182)) > 30)) {
  1078.                 // line 183
  1079.                 echo "            <div class=\"more-link-wrapper\">
  1080.                 <a href=\"javascript:void(0)\" class=\"js-more\"
  1081.                    data-portion-url=\"";
  1082.                 // line 185
  1083.                 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"nulltrue);
  1084.                 echo "\"
  1085.                    data-count=\"";
  1086.                 // line 186
  1087.                 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"falsefalsefalse186) + 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"falsefalsefalse186)), "html"nulltrue);
  1088.                 echo "\" data-current-portion=\"1\"
  1089.                    data-target=\"#s-r-";
  1090.                 // line 187
  1091.                 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"nulltrue);
  1092.                 echo "\"></a>
  1093.                 <div class=\"spinner\"></div>
  1094.             </div>
  1095.         ";
  1096.             }
  1097.             // line 191
  1098.             echo "    </div>
  1099. ";
  1100.             
  1101.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1102.             
  1103.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1104.             
  1105.             $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  1106.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  1107.         } finally {
  1108.             ob_end_clean();
  1109.         }
  1110.     }
  1111.     public function getTemplateName()
  1112.     {
  1113.         return "@Web/Search/show.html.twig";
  1114.     }
  1115.     public function isTraitable()
  1116.     {
  1117.         return false;
  1118.     }
  1119.     public function getDebugInfo()
  1120.     {
  1121.         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,);
  1122.     }
  1123.     public function getSourceContext()
  1124.     {
  1125.         return new Source("{% extends '@Web/layout.html.twig' %}
  1126. {% import _self as build %}
  1127. {% block title %}
  1128.     {{ 'search_result' | trans }}
  1129. {% endblock %}
  1130. {% block stylesheets %}
  1131.     {{ parent() }}
  1132.     <link rel=\"stylesheet\" href=\"{{ asset('_css/pages.min.css') }}\" />
  1133.     <link rel=\"stylesheet\" href=\"{{ asset('_css/slide-show.min.css') }}\" />
  1134.     {% if is_mobile() and not is_tablet() %}
  1135.         <link rel=\"stylesheet\" href=\"{{ asset('_css/slide-show-mobile.min.css') }}\" />
  1136.     {% elseif is_mobile() %}
  1137.         <link rel=\"stylesheet\" href=\"{{ asset('_css/slide-show-tablet.min.css') }}\" />
  1138.     {% endif %}
  1139. {% endblock stylesheets %}
  1140. {% block javascripts %}
  1141. \t{{ parent() }}
  1142.     {% if te.checkIsDev %}
  1143.         <script src=\"{{ asset('_js/page.js') }}\"></script>
  1144.         <script src=\"{{ asset('_js/search-page.js') }}\"></script>
  1145.     {% else %}
  1146.         <script src=\"{{ asset('_js/page.min.js') }}\"></script>
  1147.         <script src=\"{{ asset('_js/search-page.min.js') }}\"></script>
  1148.     {% endif %}
  1149. {% endblock javascripts %}
  1150. {% block meta %}
  1151.     <meta name=\"robots\" content=\"noindex, nofollow\" />
  1152. {% endblock %}
  1153. {% set max = 30 %}
  1154. {% macro renderBlock(nameCount, data, class, header, dataLis, dataId) %}
  1155.     <div class=\"tab-content-wrapper\" data-lis=\"{{ dataLis }}\">
  1156.         <h2>{{ header | trans }}</h2>
  1157.         <ol class=\"s-r-results s-r-{{ class}}\" id=\"s-r-{{ class }}\">
  1158.             {% if class == 'collection' %}
  1159.                 {% macro collectionEls(key, row) %}
  1160.                 <div class=\"boxInformer search-elem\">
  1161.                     <a class=\"bodyImg js-collection-page-link\" href=\"{{ row.c_url }}\" target=\"_blank\" rel=\"noopener\">
  1162.                         <img
  1163.                             class=\"filing_img\"
  1164.                             data-width=\"{{ row.w }}\"
  1165.                             data-height=\"{{ row.h }}\"
  1166.                             alt=\"{{ row.c_name | striptags }}\"
  1167.                             src=\"{{ row.img }}\"
  1168.                         />
  1169.                     </a>
  1170.                     <div class=\"collScriptBg\">
  1171.                         <div class=\"collScript{{ row.cls }}\">
  1172.                             <a class=\"collection\" href=\"{{ row.c_url }}\" target=\"_blank\" rel=\"noopener\">
  1173.                                 {{ row.c_name | raw }}
  1174.                             </a>
  1175.                             {{ 'collection_by' | trans }}
  1176.                             <span>{{ row.f_name | raw }}</span>
  1177.                         </div>
  1178.                         {% if row.express_sample == \"1\" %}
  1179.                             <div class=\"help-tooltip\" title=\"{{ 'collection.sample_tooltip' | trans }}\">
  1180.                                 {% if is_mobile() %}
  1181.                                     {% include '@Web/SVGIconsCode/quik_sample_catalog_mobile.html.twig' %}
  1182.                                 {% else %}
  1183.                                     {% include '@Web/SVGIconsCode/quick_sample_catalog.html.twig' %}
  1184.                                 {% endif %}
  1185.                             </div>
  1186.                         {% endif %}
  1187.                     </div>
  1188.                 </div>
  1189.                 {% endmacro %}
  1190.                 {% for cKey, cRow in data.name %}
  1191.                     {{ build.collectionEls(cKey, cRow) }}
  1192.                 {% endfor %}
  1193.                 {% for cKey, cRow in data.desc %}
  1194.                     {{ build.collectionEls(cKey, cRow) }}
  1195.                 {% endfor %}
  1196.             {% elseif class == 'factory' %}
  1197.             \t{% macro factoryEls(key, row) %}{#
  1198. \t\t\t\t\t#}<li class=\"box-factory search-elem\">
  1199.                         <a href=\"{{ row.f_url }}\" target=\"_blank\" rel=\"noopener\">
  1200.                             <div>
  1201.                                 {{ row.f_name | raw }}
  1202.                                 <span class=\"flag flag-{{ row.ct_code }}\"></span>
  1203.                             </div>
  1204.                         </a>
  1205.                     </li>{#
  1206.             \t#}{% endmacro %}
  1207.             \t{% for fKey, fRow in data.name %}
  1208.             \t\t{{ build.factoryEls(fKey, fRow) }}
  1209.             \t{% endfor %}
  1210.                 {% for fKey, fRow in data.desc %}
  1211.                 \t{{ build.factoryEls(fKey, fRow) }}
  1212.                 {% endfor %}
  1213.             {% elseif class == 'publications' %}
  1214.                 {% macro publicationsEls(key, row) %}{#
  1215.                 #}<li class=\"publication search-elem\">
  1216.                     <a href=\"{{ row.url }}\" target=\"_blank\" rel=\"noopener\">
  1217.                         <div class=\"box\">
  1218.                             <img class=\"\"
  1219.                                  src=\"{{ row.img }}\"
  1220.                                  alt=\"{{ row.name | striptags }}\" />
  1221.                             <div class=\"name\">{{ row.name | raw }}</div>
  1222.                             <div class=\"publication-text\">
  1223.                                 {{ row.desc | striptags }}...
  1224.                                 <span class=\"details\">→</span>
  1225.                             </div>
  1226.                             <div class=\"both\"></div>
  1227.                         </div>
  1228.                     </a>
  1229.                     </li>{#
  1230.                 #}{% endmacro %}
  1231.                 {% for pKey, pRow in data.name %}
  1232.                     {{ build.publicationsEls(pKey, pRow) }}
  1233.                 {% endfor %}
  1234.                 {% for pKey, pRow in data.desc %}
  1235.                     {{ build.publicationsEls(pKey, pRow) }}
  1236.                 {% endfor %}
  1237.             {% else %}
  1238.             \t{% macro catalogEls(key, row) %}
  1239.             \t\t<li class=\"search-elem\">
  1240.                         {% if row.c_name is defined %}
  1241.                             {% set name = row.c_name ~ ' ' ~ ('collection_by' | trans) ~ ' ' ~ row.f_name %}
  1242.                             {% set url = row.c_url %}
  1243.                         {% elseif row.f_name is defined %}
  1244.                             {% set name = row.f_name %}
  1245.                             {% set url = row.f_url %}
  1246.                         {% elseif row.b_name is defined %}
  1247.                             {% set name = row.b_name %}
  1248.                             {% set url = row.url %}
  1249.                         {% elseif row.fl_name is defined %}
  1250.                             {% set name = row.fl_name %}
  1251.                             {% set url = row.url %}
  1252.                         {% else %}
  1253.                             {% set name = row.name %}
  1254.                             {% set url = row.url %}
  1255.                         {% endif %}
  1256.                         <div class=\"s-r-link\">
  1257.                             {% if row.c_name is defined %}
  1258.                                 <a href=\"{{ url }}\" target=\"_blank\" rel=\"noopener\">{{ name | raw }}</a>
  1259.                                 {{ 'collection_by' | trans }}
  1260.                                 <span>{{ row.f_name | raw }}</span>
  1261.                             {% elseif row.f_name is defined %}
  1262.                                 <a href=\"{{ url }}\" target=\"_blank\" rel=\"noopener\">{{ name | raw }}</a>
  1263.                             {% else %}
  1264.                                 <a href=\"{{ url }}\" target=\"_blank\" rel=\"noopener\">{{ name | raw }}</a>
  1265.                             {% endif %}
  1266.                             {% if row.img != null %}
  1267.                                 <a href=\"{{ url }}\" class=\"s-r-img-link\" target=\"_blank\" rel=\"noopener\">
  1268.                                     <img class=\"\"
  1269.                                          src=\"{{ row.img }}\"
  1270.                                          alt=\"{{ name | striptags }}\" />
  1271.                                 </a>
  1272.                             {% endif %}
  1273.                         </div>
  1274.                     </li>
  1275.             \t{% endmacro %}
  1276.             \t{% for catKey, catRow in data.name %}
  1277.             \t\t{{ build.catalogEls(catKey, catRow) }}
  1278.             \t{% endfor %}
  1279.             \t{% for catKey, catRow in data.desc %}
  1280.             \t\t{{ build.catalogEls(catKey, catRow) }}
  1281.             \t{% endfor %}
  1282.             {% endif %}
  1283.         </ol>
  1284.         <div class=\"both\"></div>
  1285.         {% if data.nCount + data.dCount > 30 %}
  1286.             <div class=\"more-link-wrapper\">
  1287.                 <a href=\"javascript:void(0)\" class=\"js-more\"
  1288.                    data-portion-url=\"{{ path('app_full_text_search_portion', {'type': dataId}) }}\"
  1289.                    data-count=\"{{ data.nCount + data.dCount }}\" data-current-portion=\"1\"
  1290.                    data-target=\"#s-r-{{ class }}\"></a>
  1291.                 <div class=\"spinner\"></div>
  1292.             </div>
  1293.         {% endif %}
  1294.     </div>
  1295. {% endmacro %}
  1296. {% block googleTagScript %}
  1297.     {% if googleRemarketing is defined and googleRemarketing%}
  1298.         {% set articlesData = [] %}
  1299.         {% for art in result.articles.res %}
  1300.             {% set articlesData = articlesData | merge([ art.id ]) %}
  1301.         {% endfor %}
  1302.     {% endif %}
  1303. {% endblock %}
  1304. {% block content %}
  1305.     <div class=\"search-results-page\">
  1306.         <h1>
  1307.             {{ 'search_result_query' | trans }}:
  1308.             <span class=\"bolder\">{{ query }}</span>
  1309.             ({{ docsCount }})
  1310.         </h1>
  1311.         {% if te.request.get('test') == 1 %}
  1312.             <div class=\"gcse-search\"></div>
  1313.         {% endif %}
  1314.         {% if docsCount != 0 %}
  1315.             {% set catalogLength = result.filters.nCount + result.filters.dCount %}
  1316.             {% set brandsLength = result.factory.nCount + result.factory.dCount %}
  1317.             {% set collectionsLength = result.collections.nCount + result.collections.dCount %}
  1318.             {% set itemsLength = result.articles.count %}
  1319.             {% set blogsLength = result.publications.nCount + result.publications.dCount %}
  1320.             <div class=\"tabs-block\">
  1321.                 <div class=\"t-b-w\">
  1322.                     <div class=\"mobile-gradient\"></div>
  1323.                     <div class=\"t-b-i-w\">
  1324.                         <div class=\"t-b-c-w\">
  1325.                             <div class=\"t-b-content\">
  1326.                                 <div class=\"t-b-item selected\" data-lis=\"all\">{{ 'all' | trans }}</div>
  1327.                                 {% if catalogLength > 0 %}
  1328.                                     <div class=\"t-b-item\" data-lis=\"catalog\">{{ 'catalog_catalog' | trans }} ({{ catalogLength }})</div>
  1329.                                 {% endif %}
  1330.                                 {% if brandsLength > 0 %}
  1331.                                     <div class=\"t-b-item\" data-lis=\"brands\">{{ 'left_menu_factories' | trans }} ({{ brandsLength }})</div>
  1332.                                 {% endif %}
  1333.                                 {% if collectionsLength > 0 %}
  1334.                                     <div class=\"t-b-item\" data-lis=\"collections\">{{ 'left_menu_collections' | trans }} ({{ collectionsLength }})</div>
  1335.                                 {% endif %}
  1336.                                 {% if itemsLength > 0 %}
  1337.                                     <div class=\"t-b-item\" data-lis=\"items\">{{ 'collection_articles_d' | trans }} ({{ itemsLength }})</div>
  1338.                                 {% endif %}
  1339.                                 {% if blogsLength > 0 %}
  1340.                                     <div class=\"t-b-item\" data-lis=\"blogs\">{{ 'blog_blogs' | trans }} ({{ blogsLength }})</div>
  1341.                                 {% endif %}
  1342.                             </div>
  1343.                         </div>
  1344.                     </div>
  1345.                 </div>
  1346.             </div>
  1347.         {% endif %}
  1348.         <div
  1349.             class=\"s-r-inner-wrapper\"
  1350.         \tdata-empty-msg-block{% if docsCount == 0 %} style=\"display: none\"{% endif %}
  1351.         \tdata-count-result=\"{{docsCount}}\"
  1352.         >
  1353.             {% if result.filters.nCount > 0 or result.filters.dCount > 0 %}
  1354.                 {{ build.renderBlock(nameCount, result.filters, 'catalog', 'catalog_catalog', 'catalog', 'filters') }}
  1355.             {% endif %}
  1356.             {% if result.factory.nCount > 0 or result.factory.dCount > 0 %}
  1357.                 {{ build.renderBlock(nameCount, result.factory, 'factory', 'left_menu_factories', 'brands', 'factory') }}
  1358.             {% endif %}
  1359.             {% if result.collections.nCount > 0 or result.collections.dCount > 0 %}
  1360.                 {{ build.renderBlock(nameCount, result.collections, 'collection', 'left_menu_collections', 'collections', 'collections') }}
  1361.             {% endif %}
  1362.             {% if result.articles.count > 0 %}
  1363.                 <div class=\"tab-content-wrapper articless\" data-lis=\"items\">
  1364.                     <h2>{{ 'collection_articles_d' | trans }}</h2>
  1365.                     <div id=\"s-r-articles\" class=\"collection-articles-body js-collection-articles-body\">
  1366.                         {% for article in result.articles.res %}
  1367.                             {% include '@Web/Collection/article.html.twig' with { 'article': article, 'noImageClass': '' } %}
  1368.                         {% endfor %}
  1369.                     </div>
  1370.                     {% if result.articles.count > max %}
  1371.                         <div class=\"more-link-wrapper\">
  1372.                             <a
  1373.                                 href=\"javascript:void(0)\"
  1374.                                 class=\"js-more\"
  1375.                                 data-portion-url=\"{{ path('app_full_text_search_portion', { 'type': 'articles' }) }}\"
  1376.                                 data-count=\"{{ result.articles.count }}\"
  1377.                                 data-current-portion=\"1\"
  1378.                                 data-target=\"#s-r-articles\"></a>
  1379.                             <div class=\"spinner\"></div>
  1380.                         </div>
  1381.                     {% endif %}
  1382.                 </div>
  1383.             {% endif %}
  1384.             {% if result.publications.name | length > 0 or result.publications.desc | length > 0 %}
  1385.                 {{ build.renderBlock(nameCount, result.publications, 'publications', 'blog_blogs', 'blogs', 'publications') }}
  1386.             {% endif %}
  1387.         </div>
  1388.     </div>
  1389.     {# данный блок появляется, если удаляем последний проект из списка #}
  1390.     <div class=\"no-project-msg\"
  1391.         {% if docsCount == 0 %}
  1392.             style=\"display: table;\"
  1393.         {% else %}
  1394.             style=\"display: none;\"
  1395.         {% endif %}
  1396.         data-empty-msg
  1397.     >
  1398.         {{ 'search_no_result' | trans }}
  1399.     </div>
  1400. {% endblock %}
  1401. ""@Web/Search/show.html.twig""/var/www/dev5.tile.expert/src/WebBundle/Resources/views/Search/show.html.twig");
  1402.     }
  1403. }