var/cache/dev/twig/8b/8bf2f5e6dcb845632ea3c89d0aeab7b6.php line 50

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. /* @App/ObjectViews/search-results.html.twig */
  14. class __TwigTemplate_c01c3269e6a8d2061e86b65ae678c8ab extends 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.             'content' => [$this'block_content'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@FoxHabbitBasis/Layout/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/ObjectViews/search-results.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/ObjectViews/search-results.html.twig"));
  40.         $this->parent $this->loadTemplate("@FoxHabbitBasis/Layout/layout.html.twig""@App/ObjectViews/search-results.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  55.         // line 4
  56.         echo "    <div class=\"search-results-container\">
  57.         <header class=\"header-small bg-white\">
  58.             <div class=\"container-fluid\">
  59.                 <div class=\"col-10 offset-1\">
  60.                     ";
  61.         // line 8
  62.         if (((array_key_exists("searchQuery"$context)) ? (_twig_default_filter((isset($context["searchQuery"]) || array_key_exists("searchQuery"$context) ? $context["searchQuery"] : (function () { throw new RuntimeError('Variable "searchQuery" does not exist.'8$this->source); })()), null)) : (null))) {
  63.             // line 9
  64.             echo "                        <h1 class=\"display-3 text-pre-line\">";
  65.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fulltext-seach.header.search-result"), "html"nulltrue);
  66.             echo "</h1>
  67.                         <div class=\"lead\">";
  68.             // line 10
  69.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fulltext-seach.header.for"), "html"nulltrue);
  70.             echo " \"";
  71.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["searchQuery"]) || array_key_exists("searchQuery"$context) ? $context["searchQuery"] : (function () { throw new RuntimeError('Variable "searchQuery" does not exist.'10$this->source); })()), 10$this->source), "html"nulltrue);
  72.             echo "\"</div>
  73.                     ";
  74.         } else {
  75.             // line 12
  76.             echo "                        <h1 class=\"display-3 text-pre-line\">";
  77.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fulltext-seach.header.search-page"), "html"nulltrue);
  78.             echo "</h1>
  79.                     ";
  80.         }
  81.         // line 14
  82.         echo "                </div>
  83.             </div>
  84.         </header>
  85.         <div class=\"search-full-text-container col-10 offset-1 col-lg-6 offset-lg-3\">
  86.             ";
  87.         // line 18
  88.         if (((array_key_exists("error"$context)) ? (_twig_default_filter((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'18$this->source); })()), null)) : (null))) {
  89.             // line 19
  90.             echo "                <div class=\"alert alert-danger\">
  91.                     ";
  92.             // line 20
  93.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fulltext-seach.search-internal-error"), "html"nulltrue);
  94.             echo "
  95.                 </div>
  96.             ";
  97.         }
  98.         // line 23
  99.         echo "            <form id=\"search\" method=\"get\" action=\"";
  100.         ((twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'23$this->source); })()), "getProperty", ["enableSearch"], "method"falsefalsetrue23)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'23$this->source); })()), "getProperty", ["enableSearch"], "method"falsefalsetrue23), "getFullPath", [], "method"falsefalsetrue23), "html"nulltrue))) : (print ("")));
  101.         echo "\">
  102.                 <div class=\"second-search-field form-group\">
  103.                     <label for=\"search-field\">";
  104.         // line 25
  105.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fulltext-seach.search-form.search-field.label"), "html"nulltrue);
  106.         echo "</label>
  107.                     <input type=\"text\" name=\"q\" id=\"autocomplete\" value=\"";
  108.         // line 26
  109.         echo twig_escape_filter($this->env, ((array_key_exists("searchQuery"$context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["searchQuery"]) || array_key_exists("searchQuery"$context) ? $context["searchQuery"] : (function () { throw new RuntimeError('Variable "searchQuery" does not exist.'26$this->source); })()), 26$this->source), null)) : (null)), "html"nulltrue);
  110.         echo "\" class=\"search-input form-control full-text-search-autocomplete\">
  111.                     <div class=\"search-suggestions-secondary d-none\">
  112.                     <div class=\"suggestions\">
  113.                         <h5>";
  114.         // line 29
  115.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""search_suggestions_title", ["placeholder" => "Enter title for Search Suggestions"]);
  116.         echo "</h5>
  117.                         <ul class=\"second-search-suggestions__list\">
  118.                             ";
  119.         // line 31
  120.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'31$this->source); })())) {
  121.             echo "<li><a href=\"#\">Search suggestions will appear here</a></li>";
  122.         }
  123.         // line 32
  124.         echo "                        </ul>
  125.                     </div>
  126.                     </div>
  127.                 </div>
  128.                 <input type=\"submit\" class=\"btn btn-secondary btn-search\" name=\"submit\" value=";
  129.         // line 36
  130.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fulltext-seach.search-form.submit"), "html"nulltrue);
  131.         echo ">
  132.             </form>
  133.         </div>
  134.         ";
  135.         // line 41
  136.         echo "        <script type=\"text/javascript\">
  137.             document.addEventListener(\"DOMContentLoaded\", function () {
  138.                 if (document.querySelector(\"#iframe-wrapper-boost\")) return;
  139.                 const params = new URLSearchParams(window.location.search);
  140.                 const searchTerm = params.get(\"q\");
  141.                 if (!searchTerm) return;
  142.                 // --- AI Overview Header ---
  143.                 const header = document.createElement(\"div\");
  144.                 header.style.display = \"flex\";
  145.                 header.style.alignItems = \"center\";
  146.                 header.style.gap = \"8px\";
  147.                 header.style.fontSize = \"16px\";
  148.                 header.style.fontWeight = \"500\";
  149.                 header.style.color = \"#444\";
  150.                 header.style.margin = \"40px auto 8px auto\";
  151.                 header.style.maxWidth = \"900px\";
  152.                 header.style.paddingLeft = \"4px\";
  153.                 const sparkle = document.createElement(\"span\");
  154.                 sparkle.innerHTML = \"✦\";
  155.                 sparkle.style.color = \"#8ab4f8\";
  156.                 const label = document.createElement(\"span\");
  157.                 label.textContent = \"AI Overview\";
  158.                 header.appendChild(sparkle);
  159.                 header.appendChild(label);
  160.                 // --- Iframe Wrapper ---
  161.                 const wrapper = document.createElement(\"div\");
  162.                 wrapper.id = \"iframe-wrapper-boost\";
  163.                 wrapper.style.position = \"relative\";
  164.                 wrapper.style.overflow = \"hidden\";
  165.                 wrapper.style.maxHeight = \"280px\"; // smaller initial height
  166.                 wrapper.style.border = \"1px solid #ddd\";
  167.                 wrapper.style.borderRadius = \"12px\";
  168.                 wrapper.style.boxShadow = \"0 4px 12px rgba(0,0,0,0.08)\";
  169.                 wrapper.style.transition = \"max-height 0.4s ease\";
  170.                 wrapper.style.margin = \"0 auto 16px auto\";
  171.                 wrapper.style.width = \"100%\";
  172.                 wrapper.style.maxWidth = \"900px\";
  173.                 wrapper.style.backgroundColor = \"#fff\";
  174.                 const iframe = document.createElement(\"iframe\");
  175.                 iframe.src = `https://smart-search-prototype.vercel.app/?q=\${encodeURIComponent(searchTerm)}`;
  176.                 iframe.id = \"my-boost-iframe\";
  177.                 iframe.width = \"100%\";
  178.                 iframe.style.height = \"1000px\";
  179.                 iframe.style.border = \"none\";
  180.                 iframe.style.borderRadius = \"12px\";
  181.                 const gradient = document.createElement(\"div\");
  182.                 gradient.style.position = \"absolute\";
  183.                 gradient.style.bottom = \"0\";
  184.                 gradient.style.left = \"0\";
  185.                 gradient.style.width = \"100%\";
  186.                 gradient.style.height = \"60px\";
  187.                 gradient.style.background = \"linear-gradient(to bottom, rgba(255,255,255,0), #fff)\";
  188.                 gradient.style.pointerEvents = \"none\";
  189.                 const button = document.createElement(\"button\");
  190.                 button.textContent = \"Show more\";
  191.                 button.style.display = \"block\";
  192.                 button.style.margin = \"0 auto 40px auto\";
  193.                 button.style.background = \"#f2f2f2\";
  194.                 button.style.border = \"1px solid #ccc\";
  195.                 button.style.borderRadius = \"9999px\";
  196.                 button.style.padding = \"10px 24px\";
  197.                 button.style.fontSize = \"15px\";
  198.                 button.style.color = \"#333\";
  199.                 button.style.cursor = \"pointer\";
  200.                 button.style.transition = \"all 0.2s ease\";
  201.                 let expanded = false;
  202.                 button.addEventListener(\"click\", function () {
  203.                     expanded = !expanded;
  204.                     wrapper.style.maxHeight = expanded ? \"1000px\" : \"280px\";
  205.                     gradient.style.display = expanded ? \"none\" : \"block\";
  206.                     button.textContent = expanded ? \"Show less\" : \"Show more\";
  207.                 });
  208.                 wrapper.appendChild(iframe);
  209.                 wrapper.appendChild(gradient);
  210.                 const resultsContainer = document.querySelector(\"#results\");
  211.                 if (resultsContainer && resultsContainer.parentNode) {
  212.                     resultsContainer.parentNode.insertBefore(header, resultsContainer);
  213.                     resultsContainer.parentNode.insertBefore(wrapper, resultsContainer);
  214.                     resultsContainer.parentNode.insertBefore(button, resultsContainer);
  215.                 }
  216.             });
  217.         </script>
  218.  
  219.         <section class=\"section\">
  220.             ";
  221.         // line 138
  222.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""breadcrumb", ["type" => "basisbundle-breadcrumb"]);
  223.         echo "
  224.             <div id=\"results\"></div>
  225.         </section>
  226.         ";
  227.         // line 141
  228.         if (((array_key_exists("searchHasResults"$context)) ? (_twig_default_filter((isset($context["searchHasResults"]) || array_key_exists("searchHasResults"$context) ? $context["searchHasResults"] : (function () { throw new RuntimeError('Variable "searchHasResults" does not exist.'141$this->source); })()), null)) : (null))) {
  229.             // line 142
  230.             echo "            <div class=\"col-11 offset-1\">
  231.                 <div class=\"info\">
  232.                     ";
  233.             // line 144
  234.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fulltext-seach.search-list.result.results-from"), "html"nulltrue);
  235.             echo " <span> ";
  236.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["searchCurrentPageResultStart"]) || array_key_exists("searchCurrentPageResultStart"$context) ? $context["searchCurrentPageResultStart"] : (function () { throw new RuntimeError('Variable "searchCurrentPageResultStart" does not exist.'144$this->source); })()), 144$this->source), "html"nulltrue);
  237.             echo " - ";
  238.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["searchCurrentPageResultEnd"]) || array_key_exists("searchCurrentPageResultEnd"$context) ? $context["searchCurrentPageResultEnd"] : (function () { throw new RuntimeError('Variable "searchCurrentPageResultEnd" does not exist.'144$this->source); })()), 144$this->source), "html"nulltrue);
  239.             echo " </span> ";
  240.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fulltext-seach.search-list.result.of"), "html"nulltrue);
  241.             echo " ";
  242.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["searchTotalHits"]) || array_key_exists("searchTotalHits"$context) ? $context["searchTotalHits"] : (function () { throw new RuntimeError('Variable "searchTotalHits" does not exist.'144$this->source); })()), 144$this->source), "html"nulltrue);
  243.             echo "
  244.                 </div>
  245.             </div>
  246.         ";
  247.         }
  248.         // line 148
  249.         echo "        <div class=\"section p-0 container-fluid\">
  250.             <div class=\"search-list\">
  251.                 ";
  252.         // line 150
  253.         if (((array_key_exists("searchHasResults"$context)) ? (_twig_default_filter((isset($context["searchHasResults"]) || array_key_exists("searchHasResults"$context) ? $context["searchHasResults"] : (function () { throw new RuntimeError('Variable "searchHasResults" does not exist.'150$this->source); })()), null)) : (null))) {
  254.             // line 151
  255.             echo "                    <ul class=\"search-results list-unstyled\">
  256.                         ";
  257.             // line 152
  258.             $context['_parent'] = $context;
  259.             $context['_seq'] = twig_ensure_traversable((isset($context["searchResults"]) || array_key_exists("searchResults"$context) ? $context["searchResults"] : (function () { throw new RuntimeError('Variable "searchResults" does not exist.'152$this->source); })()));
  260.             foreach ($context['_seq'] as $context["i"] => $context["searchResult"]) {
  261.                 // line 153
  262.                 echo "                            <li class=\"search-result\">
  263.                                     <div class=\"search-result-content col-12 col-sm-10 offset-sm-1 col-lg-6 offset-lg-3\">
  264.                                         <a href=\"";
  265.                 // line 155
  266.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["searchResult"], "url", [], "any"falsefalsetrue155), 155$this->source), "html"nulltrue);
  267.                 echo "\" class=\"search-result-title\">
  268.                                             ";
  269.                 // line 156
  270.                 if (((twig_get_attribute($this->env$this->source$context["searchResult"], "title", [], "any"truetruetrue156)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["searchResult"], "title", [], "any"falsefalsetrue156), null)) : (null))) {
  271.                     // line 157
  272.                     echo "                                            ";
  273.                     echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["searchResult"], "title", [], "any"falsefalsetrue157), 157$this->source);
  274.                     echo "
  275.                                             ";
  276.                 }
  277.                 // line 159
  278.                 echo "                                            ";
  279.                 if (((twig_get_attribute($this->env$this->source$context["searchResult"], "h1", [], "any"truetruetrue159)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["searchResult"], "h1", [], "any"falsefalsetrue159), null)) : (null))) {
  280.                     // line 160
  281.                     echo "                                                ";
  282.                     echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["searchResult"], "h1", [], "any"falsefalsetrue160), 160$this->source);
  283.                     echo "
  284.                                             ";
  285.                 }
  286.                 // line 162
  287.                 echo "                                        </a>
  288.                                     <p class=\"search-result-summary\">";
  289.                 // line 163
  290.                 echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["searchResult"], "summary", [], "any"falsefalsetrue163), 163$this->source);
  291.                 echo "</p>
  292.                                         <a href=\"";
  293.                 // line 164
  294.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["searchResult"], "url", [], "any"falsefalsetrue164), 164$this->source), "html"nulltrue);
  295.                 echo "\" class=\"read-more\"><i class=\"lorch-icon lorch-icon-next\"></i>
  296.                                         ";
  297.                 // line 165
  298.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fulltext-seach.search-list.result.read-more"), "html"nulltrue);
  299.                 echo "
  300.                                     </a>
  301.                                     </div>
  302.                             </li>
  303.                         ";
  304.             }
  305.             $_parent $context['_parent'];
  306.             unset($context['_seq'], $context['_iterated'], $context['i'], $context['searchResult'], $context['_parent'], $context['loop']);
  307.             $context array_intersect_key($context$_parent) + $_parent;
  308.             // line 170
  309.             echo "                    </ul>
  310.                     ";
  311.             // line 172
  312.             $context["paginationVariables"] = $this->extensions['AppBundle\Twig\Extension\FullTextSearchPaginationExtension']->getPagination($this->env$context);
  313.             // line 173
  314.             echo "                    ";
  315.             if (((isset($context["searchAllPages"]) || array_key_exists("searchAllPages"$context) ? $context["searchAllPages"] : (function () { throw new RuntimeError('Variable "searchAllPages" does not exist.'173$this->source); })()) > 1)) {
  316.                 // line 174
  317.                 echo "                        <div class=\"paginator\">
  318.                             ";
  319.                 // line 175
  320.                 if ((twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'175$this->source); })()), "currentSearchPage", [], "any"falsefalsetrue175) > 1)) {
  321.                     // line 176
  322.                     echo "                                <a class=\"previous icon-arrow-left\"
  323.                                    href=\"";
  324.                     // line 177
  325.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'177$this->source); })()), "searchUrl", [], "any"falsefalsetrue177), 177$this->source), "html"nulltrue);
  326.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'177$this->source); })()), "searchUrlData", [], "any"falsefalsetrue177), 177$this->source), "html"nulltrue);
  327.                     echo "&amp;page=";
  328.                     echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'177$this->source); })()), "currentSearchPage", [], "any"falsefalsetrue177) - 1), "html"nulltrue);
  329.                     echo "\"></a>
  330.                             ";
  331.                 } else {
  332.                     // line 179
  333.                     echo "                                <a class=\"previous icon-arrow-left icon-arrow-left-disabled\"
  334.                                    href=\"";
  335.                     // line 180
  336.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'180$this->source); })()), "searchUrl", [], "any"falsefalsetrue180), 180$this->source), "html"nulltrue);
  337.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'180$this->source); })()), "searchUrlData", [], "any"falsefalsetrue180), 180$this->source), "html"nulltrue);
  338.                     echo "&amp;page=";
  339.                     echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'180$this->source); })()), "currentSearchPage", [], "any"falsefalsetrue180) - 1), "html"nulltrue);
  340.                     echo "\"></a>
  341.                             ";
  342.                 }
  343.                 // line 182
  344.                 echo "
  345.                             ";
  346.                 // line 183
  347.                 $context['_parent'] = $context;
  348.                 $context['_seq'] = twig_ensure_traversable(range(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'183$this->source); })()), "searchPageStart", [], "any"falsefalsetrue183), twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'183$this->source); })()), "searchPageEnd", [], "any"falsefalsetrue183)));
  349.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  350.                     // line 184
  351.                     echo "                                ";
  352.                     if (($context["i"] == twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'184$this->source); })()), "searchPageEnd", [], "any"falsefalsetrue184))) {
  353.                         // line 185
  354.                         echo "                                    <a ";
  355.                         echo (((twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'185$this->source); })()), "currentSearchPage", [], "any"falsefalsetrue185) == $context["i"])) ? ("class=\"active\"") : (""));
  356.                         echo "
  357.                                         href=\"";
  358.                         // line 186
  359.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'186$this->source); })()), "searchUrl", [], "any"falsefalsetrue186), 186$this->source), "html"nulltrue);
  360.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'186$this->source); })()), "searchUrlData", [], "any"falsefalsetrue186), 186$this->source), "html"nulltrue);
  361.                         echo "&amp;page=";
  362.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["i"], 186$this->source), "html"nulltrue);
  363.                         echo "#results\">";
  364.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["i"], 186$this->source), "html"nulltrue);
  365.                         echo "</a>
  366.                                 ";
  367.                     } else {
  368.                         // line 188
  369.                         echo "                                    <a ";
  370.                         echo (((twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'188$this->source); })()), "currentSearchPage", [], "any"falsefalsetrue188) == $context["i"])) ? ("class=\"active\"") : (""));
  371.                         echo "
  372.                                         href=\"";
  373.                         // line 189
  374.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'189$this->source); })()), "searchUrl", [], "any"falsefalsetrue189), 189$this->source), "html"nulltrue);
  375.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'189$this->source); })()), "searchUrlData", [], "any"falsefalsetrue189), 189$this->source), "html"nulltrue);
  376.                         echo "&amp;page=";
  377.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["i"], 189$this->source), "html"nulltrue);
  378.                         echo "#results\">";
  379.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["i"], 189$this->source), "html"nulltrue);
  380.                         echo "</a>
  381.                                     <span class=\"pagination-line\">|</span>
  382.                                 ";
  383.                     }
  384.                     // line 192
  385.                     echo "                            ";
  386.                 }
  387.                 $_parent $context['_parent'];
  388.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  389.                 $context array_intersect_key($context$_parent) + $_parent;
  390.                 // line 193
  391.                 echo "
  392.                             ";
  393.                 // line 194
  394.                 if ((twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'194$this->source); })()), "searchPageEnd", [], "any"falsefalsetrue194) > twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'194$this->source); })()), "currentSearchPage", [], "any"falsefalsetrue194))) {
  395.                     // line 195
  396.                     echo "                                <a class=\"next icon-arrow-right\"
  397.                                    href=\"";
  398.                     // line 196
  399.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'196$this->source); })()), "searchUrl", [], "any"falsefalsetrue196), 196$this->source), "html"nulltrue);
  400.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'196$this->source); })()), "searchUrlData", [], "any"falsefalsetrue196), 196$this->source), "html"nulltrue);
  401.                     echo "&amp;page=";
  402.                     echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'196$this->source); })()), "currentSearchPage", [], "any"falsefalsetrue196) + 1), "html"nulltrue);
  403.                     echo "#results\"></a>
  404.                             ";
  405.                 } else {
  406.                     // line 198
  407.                     echo "                                <a class=\"next icon-arrow-right icon-arrow-right-disabled\"
  408.                                    href=\"";
  409.                     // line 199
  410.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'199$this->source); })()), "searchUrl", [], "any"falsefalsetrue199), 199$this->source), "html"nulltrue);
  411.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'199$this->source); })()), "searchUrlData", [], "any"falsefalsetrue199), 199$this->source), "html"nulltrue);
  412.                     echo "&amp;page=";
  413.                     echo twig_escape_filter($this->env, (twig_get_attribute($this->env$this->source, (isset($context["paginationVariables"]) || array_key_exists("paginationVariables"$context) ? $context["paginationVariables"] : (function () { throw new RuntimeError('Variable "paginationVariables" does not exist.'199$this->source); })()), "currentSearchPage", [], "any"falsefalsetrue199) + 1), "html"nulltrue);
  414.                     echo "#results\"></a>
  415.                             ";
  416.                 }
  417.                 // line 201
  418.                 echo "                        </div>
  419.                     ";
  420.             }
  421.             // line 203
  422.             echo "                ";
  423.         } else {
  424.             // line 204
  425.             echo "                    ";
  426.             if ( !twig_test_empty(((array_key_exists("searchQuery"$context)) ? (_twig_default_filter((isset($context["searchQuery"]) || array_key_exists("searchQuery"$context) ? $context["searchQuery"] : (function () { throw new RuntimeError('Variable "searchQuery" does not exist.'204$this->source); })()), null)) : (null)))) {
  427.                 // line 205
  428.                 echo "                        <div class=\"section pt-0 no-results col-10 offset-1 col-lg-6 offset-lg-3\">
  429.                             <h5>";
  430.                 // line 206
  431.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fulltext-seach.search-list.result.none"), "html"nulltrue);
  432.                 echo "</h5>
  433.                             ";
  434.                 // line 207
  435.                 $this->loadTemplate("@LuceneSearch/List/Partial/suggestions.html.twig""@App/ObjectViews/search-results.html.twig"207)->display($context);
  436.                 // line 208
  437.                 echo "                        </div>
  438.                     ";
  439.             }
  440.             // line 210
  441.             echo "                ";
  442.         }
  443.         // line 211
  444.         echo "            </div>
  445.         </div>
  446.     </div>
  447. ";
  448.         
  449.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  450.         
  451.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  452.     }
  453.     public function getTemplateName()
  454.     {
  455.         return "@App/ObjectViews/search-results.html.twig";
  456.     }
  457.     public function isTraitable()
  458.     {
  459.         return false;
  460.     }
  461.     public function getDebugInfo()
  462.     {
  463.         return array (  473 => 211,  470 => 210,  466 => 208,  464 => 207,  460 => 206,  457 => 205,  454 => 204,  451 => 203,  447 => 201,  439 => 199,  436 => 198,  428 => 196,  425 => 195,  423 => 194,  420 => 193,  414 => 192,  403 => 189,  398 => 188,  388 => 186,  383 => 185,  380 => 184,  376 => 183,  373 => 182,  365 => 180,  362 => 179,  354 => 177,  351 => 176,  349 => 175,  346 => 174,  343 => 173,  341 => 172,  337 => 170,  326 => 165,  322 => 164,  318 => 163,  315 => 162,  309 => 160,  306 => 159,  300 => 157,  298 => 156,  294 => 155,  290 => 153,  286 => 152,  283 => 151,  281 => 150,  277 => 148,  262 => 144,  258 => 142,  256 => 141,  250 => 138,  151 => 41,  144 => 36,  138 => 32,  134 => 31,  129 => 29,  123 => 26,  119 => 25,  113 => 23,  107 => 20,  104 => 19,  102 => 18,  96 => 14,  90 => 12,  83 => 10,  78 => 9,  76 => 8,  70 => 4,  60 => 3,  37 => 1,);
  464.     }
  465.     public function getSourceContext()
  466.     {
  467.         return new Source("{% extends '@FoxHabbitBasis/Layout/layout.html.twig' %}
  468. {% block content %}
  469.     <div class=\"search-results-container\">
  470.         <header class=\"header-small bg-white\">
  471.             <div class=\"container-fluid\">
  472.                 <div class=\"col-10 offset-1\">
  473.                     {% if searchQuery|default(null) %}
  474.                         <h1 class=\"display-3 text-pre-line\">{{ 'fulltext-seach.header.search-result' | trans }}</h1>
  475.                         <div class=\"lead\">{{ 'fulltext-seach.header.for' | trans }} \"{{ searchQuery }}\"</div>
  476.                     {% else %}
  477.                         <h1 class=\"display-3 text-pre-line\">{{ 'fulltext-seach.header.search-page' | trans }}</h1>
  478.                     {% endif %}
  479.                 </div>
  480.             </div>
  481.         </header>
  482.         <div class=\"search-full-text-container col-10 offset-1 col-lg-6 offset-lg-3\">
  483.             {% if error|default(null)%}
  484.                 <div class=\"alert alert-danger\">
  485.                     {{ 'fulltext-seach.search-internal-error' | trans }}
  486.                 </div>
  487.             {% endif %}
  488.             <form id=\"search\" method=\"get\" action=\"{{ document.getProperty('enableSearch') ? document.getProperty('enableSearch').getFullPath() : '' }}\">
  489.                 <div class=\"second-search-field form-group\">
  490.                     <label for=\"search-field\">{{ 'fulltext-seach.search-form.search-field.label' | trans }}</label>
  491.                     <input type=\"text\" name=\"q\" id=\"autocomplete\" value=\"{{ searchQuery|default(null) }}\" class=\"search-input form-control full-text-search-autocomplete\">
  492.                     <div class=\"search-suggestions-secondary d-none\">
  493.                     <div class=\"suggestions\">
  494.                         <h5>{{ pimcore_input('search_suggestions_title', {\"placeholder\": \"Enter title for Search Suggestions\"}) }}</h5>
  495.                         <ul class=\"second-search-suggestions__list\">
  496.                             {% if editmode %}<li><a href=\"#\">Search suggestions will appear here</a></li>{% endif %}
  497.                         </ul>
  498.                     </div>
  499.                     </div>
  500.                 </div>
  501.                 <input type=\"submit\" class=\"btn btn-secondary btn-search\" name=\"submit\" value={{ 'fulltext-seach.search-form.submit' | trans }}>
  502.             </form>
  503.         </div>
  504.         {# <div id=\"iframe-wrapper-boost\"></div> #}
  505.         <script type=\"text/javascript\">
  506.             document.addEventListener(\"DOMContentLoaded\", function () {
  507.                 if (document.querySelector(\"#iframe-wrapper-boost\")) return;
  508.                 const params = new URLSearchParams(window.location.search);
  509.                 const searchTerm = params.get(\"q\");
  510.                 if (!searchTerm) return;
  511.                 // --- AI Overview Header ---
  512.                 const header = document.createElement(\"div\");
  513.                 header.style.display = \"flex\";
  514.                 header.style.alignItems = \"center\";
  515.                 header.style.gap = \"8px\";
  516.                 header.style.fontSize = \"16px\";
  517.                 header.style.fontWeight = \"500\";
  518.                 header.style.color = \"#444\";
  519.                 header.style.margin = \"40px auto 8px auto\";
  520.                 header.style.maxWidth = \"900px\";
  521.                 header.style.paddingLeft = \"4px\";
  522.                 const sparkle = document.createElement(\"span\");
  523.                 sparkle.innerHTML = \"✦\";
  524.                 sparkle.style.color = \"#8ab4f8\";
  525.                 const label = document.createElement(\"span\");
  526.                 label.textContent = \"AI Overview\";
  527.                 header.appendChild(sparkle);
  528.                 header.appendChild(label);
  529.                 // --- Iframe Wrapper ---
  530.                 const wrapper = document.createElement(\"div\");
  531.                 wrapper.id = \"iframe-wrapper-boost\";
  532.                 wrapper.style.position = \"relative\";
  533.                 wrapper.style.overflow = \"hidden\";
  534.                 wrapper.style.maxHeight = \"280px\"; // smaller initial height
  535.                 wrapper.style.border = \"1px solid #ddd\";
  536.                 wrapper.style.borderRadius = \"12px\";
  537.                 wrapper.style.boxShadow = \"0 4px 12px rgba(0,0,0,0.08)\";
  538.                 wrapper.style.transition = \"max-height 0.4s ease\";
  539.                 wrapper.style.margin = \"0 auto 16px auto\";
  540.                 wrapper.style.width = \"100%\";
  541.                 wrapper.style.maxWidth = \"900px\";
  542.                 wrapper.style.backgroundColor = \"#fff\";
  543.                 const iframe = document.createElement(\"iframe\");
  544.                 iframe.src = `https://smart-search-prototype.vercel.app/?q=\${encodeURIComponent(searchTerm)}`;
  545.                 iframe.id = \"my-boost-iframe\";
  546.                 iframe.width = \"100%\";
  547.                 iframe.style.height = \"1000px\";
  548.                 iframe.style.border = \"none\";
  549.                 iframe.style.borderRadius = \"12px\";
  550.                 const gradient = document.createElement(\"div\");
  551.                 gradient.style.position = \"absolute\";
  552.                 gradient.style.bottom = \"0\";
  553.                 gradient.style.left = \"0\";
  554.                 gradient.style.width = \"100%\";
  555.                 gradient.style.height = \"60px\";
  556.                 gradient.style.background = \"linear-gradient(to bottom, rgba(255,255,255,0), #fff)\";
  557.                 gradient.style.pointerEvents = \"none\";
  558.                 const button = document.createElement(\"button\");
  559.                 button.textContent = \"Show more\";
  560.                 button.style.display = \"block\";
  561.                 button.style.margin = \"0 auto 40px auto\";
  562.                 button.style.background = \"#f2f2f2\";
  563.                 button.style.border = \"1px solid #ccc\";
  564.                 button.style.borderRadius = \"9999px\";
  565.                 button.style.padding = \"10px 24px\";
  566.                 button.style.fontSize = \"15px\";
  567.                 button.style.color = \"#333\";
  568.                 button.style.cursor = \"pointer\";
  569.                 button.style.transition = \"all 0.2s ease\";
  570.                 let expanded = false;
  571.                 button.addEventListener(\"click\", function () {
  572.                     expanded = !expanded;
  573.                     wrapper.style.maxHeight = expanded ? \"1000px\" : \"280px\";
  574.                     gradient.style.display = expanded ? \"none\" : \"block\";
  575.                     button.textContent = expanded ? \"Show less\" : \"Show more\";
  576.                 });
  577.                 wrapper.appendChild(iframe);
  578.                 wrapper.appendChild(gradient);
  579.                 const resultsContainer = document.querySelector(\"#results\");
  580.                 if (resultsContainer && resultsContainer.parentNode) {
  581.                     resultsContainer.parentNode.insertBefore(header, resultsContainer);
  582.                     resultsContainer.parentNode.insertBefore(wrapper, resultsContainer);
  583.                     resultsContainer.parentNode.insertBefore(button, resultsContainer);
  584.                 }
  585.             });
  586.         </script>
  587.  
  588.         <section class=\"section\">
  589.             {{ pimcore_area('breadcrumb', {type:'basisbundle-breadcrumb'}) }}
  590.             <div id=\"results\"></div>
  591.         </section>
  592.         {% if searchHasResults|default(null) %}
  593.             <div class=\"col-11 offset-1\">
  594.                 <div class=\"info\">
  595.                     {{ 'fulltext-seach.search-list.result.results-from' | trans }} <span> {{ searchCurrentPageResultStart }} - {{ searchCurrentPageResultEnd }} </span> {{ 'fulltext-seach.search-list.result.of' | trans }} {{ searchTotalHits }}
  596.                 </div>
  597.             </div>
  598.         {% endif %}
  599.         <div class=\"section p-0 container-fluid\">
  600.             <div class=\"search-list\">
  601.                 {% if searchHasResults|default(null) %}
  602.                     <ul class=\"search-results list-unstyled\">
  603.                         {% for i,searchResult in searchResults %}
  604.                             <li class=\"search-result\">
  605.                                     <div class=\"search-result-content col-12 col-sm-10 offset-sm-1 col-lg-6 offset-lg-3\">
  606.                                         <a href=\"{{ searchResult.url }}\" class=\"search-result-title\">
  607.                                             {% if searchResult.title|default(null) %}
  608.                                             {{ searchResult.title | raw }}
  609.                                             {% endif %}
  610.                                             {% if searchResult.h1|default(null) %}
  611.                                                 {{ searchResult.h1 | raw }}
  612.                                             {% endif %}
  613.                                         </a>
  614.                                     <p class=\"search-result-summary\">{{ searchResult.summary | raw }}</p>
  615.                                         <a href=\"{{ searchResult.url }}\" class=\"read-more\"><i class=\"lorch-icon lorch-icon-next\"></i>
  616.                                         {{ 'fulltext-seach.search-list.result.read-more' | trans }}
  617.                                     </a>
  618.                                     </div>
  619.                             </li>
  620.                         {% endfor %}
  621.                     </ul>
  622.                     {% set paginationVariables = full_text_search_pagination() %}
  623.                     {% if searchAllPages > 1 %}
  624.                         <div class=\"paginator\">
  625.                             {% if paginationVariables.currentSearchPage > 1 %}
  626.                                 <a class=\"previous icon-arrow-left\"
  627.                                    href=\"{{ paginationVariables.searchUrl }}{{ paginationVariables.searchUrlData }}&amp;page={{ paginationVariables.currentSearchPage - 1 }}\"></a>
  628.                             {% else %}
  629.                                 <a class=\"previous icon-arrow-left icon-arrow-left-disabled\"
  630.                                    href=\"{{ paginationVariables.searchUrl }}{{ paginationVariables.searchUrlData }}&amp;page={{ paginationVariables.currentSearchPage - 1 }}\"></a>
  631.                             {% endif %}
  632.                             {% for i in paginationVariables.searchPageStart..paginationVariables.searchPageEnd %}
  633.                                 {% if i == paginationVariables.searchPageEnd %}
  634.                                     <a {{ paginationVariables.currentSearchPage == i ? 'class=\"active\"' : '' }}
  635.                                         href=\"{{ paginationVariables.searchUrl }}{{ paginationVariables.searchUrlData }}&amp;page={{ i }}#results\">{{ i }}</a>
  636.                                 {% else %}
  637.                                     <a {{ paginationVariables.currentSearchPage == i ? 'class=\"active\"' : '' }}
  638.                                         href=\"{{ paginationVariables.searchUrl }}{{ paginationVariables.searchUrlData }}&amp;page={{ i }}#results\">{{ i }}</a>
  639.                                     <span class=\"pagination-line\">|</span>
  640.                                 {% endif %}
  641.                             {% endfor %}
  642.                             {% if paginationVariables.searchPageEnd > paginationVariables.currentSearchPage %}
  643.                                 <a class=\"next icon-arrow-right\"
  644.                                    href=\"{{ paginationVariables.searchUrl }}{{ paginationVariables.searchUrlData }}&amp;page={{ paginationVariables.currentSearchPage + 1 }}#results\"></a>
  645.                             {% else %}
  646.                                 <a class=\"next icon-arrow-right icon-arrow-right-disabled\"
  647.                                    href=\"{{ paginationVariables.searchUrl }}{{ paginationVariables.searchUrlData }}&amp;page={{ paginationVariables.currentSearchPage + 1 }}#results\"></a>
  648.                             {% endif %}
  649.                         </div>
  650.                     {% endif %}
  651.                 {% else %}
  652.                     {% if searchQuery|default(null) is not empty %}
  653.                         <div class=\"section pt-0 no-results col-10 offset-1 col-lg-6 offset-lg-3\">
  654.                             <h5>{{ 'fulltext-seach.search-list.result.none' | trans }}</h5>
  655.                             {% include '@LuceneSearch/List/Partial/suggestions.html.twig' %}
  656.                         </div>
  657.                     {% endif %}
  658.                 {% endif %}
  659.             </div>
  660.         </div>
  661.     </div>
  662. {% endblock %}
  663. ""@App/ObjectViews/search-results.html.twig""/srv/httpd/vhosts/lorch-test/releases/58/src/AppBundle/Resources/views/ObjectViews/search-results.html.twig");
  664.     }
  665.     
  666.     public function checkSecurity()
  667.     {
  668.         static $tags = array("if" => 8"for" => 152"set" => 172"include" => 207);
  669.         static $filters = array("default" => 8"escape" => 9"trans" => 9"raw" => 157);
  670.         static $functions = array("pimcore_input" => 29"pimcore_area" => 138"full_text_search_pagination" => 172"range" => 183);
  671.         try {
  672.             $this->sandbox->checkSecurity(
  673.                 ['if''for''set''include'],
  674.                 ['default''escape''trans''raw'],
  675.                 ['pimcore_input''pimcore_area''full_text_search_pagination''range']
  676.             );
  677.         } catch (SecurityError $e) {
  678.             $e->setSourceContext($this->source);
  679.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  680.                 $e->setTemplateLine($tags[$e->getTagName()]);
  681.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  682.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  683.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  684.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  685.             }
  686.             throw $e;
  687.         }
  688.     }
  689. }