var/cache/dev/twig/14/1443c5047cc2ceb6fd3dba6ef7e06661.php line 52

  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. /* @WebProfiler/Profiler/layout.html.twig */
  14. class __TwigTemplate_caac5d2eb4f723e330b029458ca6c77c 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.             'body' => [$this'block_body'],
  24.             'summary' => [$this'block_summary'],
  25.             'sidebar' => [$this'block_sidebar'],
  26.             'sidebar_shortcuts_links' => [$this'block_sidebar_shortcuts_links'],
  27.             'panel' => [$this'block_panel'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "@WebProfiler/Profiler/base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/layout.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/layout.html.twig"));
  42.         $this->parent $this->loadTemplate("@WebProfiler/Profiler/base.html.twig""@WebProfiler/Profiler/layout.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 3
  50.     public function block_body($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  57.         // line 4
  58.         echo "    <div class=\"container\">
  59.         ";
  60.         // line 5
  61.         echo twig_include($this->env$context"@WebProfiler/Profiler/header.html.twig", array(), false);
  62.         echo "
  63.         <div id=\"summary\">
  64.         ";
  65.         // line 8
  66.         $this->displayBlock('summary'$context$blocks);
  67.         // line 112
  68.         echo "    </div>
  69.         <div id=\"content\">
  70.             <div id=\"main\">
  71.                 <div id=\"sidebar\">
  72.                     ";
  73.         // line 117
  74.         $this->displayBlock('sidebar'$context$blocks);
  75.         // line 156
  76.         echo "                </div>
  77.                 <div id=\"collector-wrapper\">
  78.                     <div id=\"collector-content\">
  79.                         ";
  80.         // line 160
  81.         echo twig_include($this->env$context"@WebProfiler/Profiler/base_js.html.twig");
  82.         echo "
  83.                         ";
  84.         // line 161
  85.         $this->displayBlock('panel'$context$blocks);
  86.         // line 162
  87.         echo "                    </div>
  88.                 </div>
  89.             </div>
  90.         </div>
  91.     </div>
  92. ";
  93.         
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  95.         
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  97.     }
  98.     // line 8
  99.     public function block_summary($context, array $blocks = [])
  100.     {
  101.         $macros $this->macros;
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""summary"));
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  105.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""summary"));
  106.         // line 9
  107.         echo "            ";
  108.         if (array_key_exists("profile"$context)) {
  109.             // line 10
  110.             echo "                ";
  111.             $context["request_collector"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "collectors", [], "any"falsetruefalse10), "request", [], "any"truetruefalse10)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["profile"] ?? null), "collectors", [], "any"falsetruefalse10), "request", [], "any"falsefalsefalse10), false)) : (false));
  112.             // line 11
  113.             echo "                ";
  114.             $context["status_code"] = (((isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'11$this->source); })())) ? (((twig_get_attribute($this->env$this->source, ($context["request_collector"] ?? null), "statuscode", [], "any"truetruefalse11)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["request_collector"] ?? null), "statuscode", [], "any"falsefalsefalse11), 0)) : (0))) : (0));
  115.             // line 12
  116.             echo "                ";
  117.             $context["css_class"] = ((((isset($context["status_code"]) || array_key_exists("status_code"$context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.'12$this->source); })()) > 399)) ? ("status-error") : (((((isset($context["status_code"]) || array_key_exists("status_code"$context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.'12$this->source); })()) > 299)) ? ("status-warning") : ("status-success"))));
  118.             // line 13
  119.             echo "
  120.                 ";
  121.             // line 14
  122.             if (((isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'14$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'14$this->source); })()), "redirect", [], "any"falsefalsefalse14))) {
  123.                 // line 15
  124.                 echo "                    ";
  125.                 $context["redirect"] = twig_get_attribute($this->env$this->source, (isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'15$this->source); })()), "redirect", [], "any"falsefalsefalse15);
  126.                 // line 16
  127.                 echo "                    ";
  128.                 $context["link_to_source_code"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["redirect"] ?? null), "controller", [], "any"falsetruefalse16), "class", [], "any"truetruefalse16)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["redirect"]) || array_key_exists("redirect"$context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.'16$this->source); })()), "controller", [], "any"falsefalsefalse16), "file", [], "any"falsefalsefalse16), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["redirect"]) || array_key_exists("redirect"$context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.'16$this->source); })()), "controller", [], "any"falsefalsefalse16), "line", [], "any"falsefalsefalse16))) : (""));
  129.                 // line 17
  130.                 echo "                    ";
  131.                 $context["redirect_route_name"] = ("@" twig_get_attribute($this->env$this->source, (isset($context["redirect"]) || array_key_exists("redirect"$context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.'17$this->source); })()), "route", [], "any"falsefalsefalse17));
  132.                 // line 18
  133.                 echo "
  134.                     <div class=\"status status-compact status-warning\">
  135.                         <span class=\"icon icon-redirect\">";
  136.                 // line 20
  137.                 echo twig_source($this->env"@WebProfiler/Icon/redirect.svg");
  138.                 echo "</span>
  139.                         <span class=\"status-response-status-code\">";
  140.                 // line 22
  141.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["redirect"]) || array_key_exists("redirect"$context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.'22$this->source); })()), "status_code", [], "any"falsefalsefalse22), "html"nulltrue);
  142.                 echo "</span> redirect from
  143.                         <span class=\"status-request-method\">";
  144.                 // line 24
  145.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["redirect"]) || array_key_exists("redirect"$context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.'24$this->source); })()), "method", [], "any"falsefalsefalse24), "html"nulltrue);
  146.                 echo "</span>
  147.                         ";
  148.                 // line 26
  149.                 if ((isset($context["link_to_source_code"]) || array_key_exists("link_to_source_code"$context) ? $context["link_to_source_code"] : (function () { throw new RuntimeError('Variable "link_to_source_code" does not exist.'26$this->source); })())) {
  150.                     // line 27
  151.                     echo "                            <a href=\"";
  152.                     echo twig_escape_filter($this->env, (isset($context["link_to_source_code"]) || array_key_exists("link_to_source_code"$context) ? $context["link_to_source_code"] : (function () { throw new RuntimeError('Variable "link_to_source_code" does not exist.'27$this->source); })()), "html"nulltrue);
  153.                     echo "\" title=\"";
  154.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["redirect"]) || array_key_exists("redirect"$context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.'27$this->source); })()), "controller", [], "any"falsefalsefalse27), "file", [], "any"falsefalsefalse27), "html"nulltrue);
  155.                     echo "\">";
  156.                     echo twig_escape_filter($this->env, (isset($context["redirect_route_name"]) || array_key_exists("redirect_route_name"$context) ? $context["redirect_route_name"] : (function () { throw new RuntimeError('Variable "redirect_route_name" does not exist.'27$this->source); })()), "html"nulltrue);
  157.                     echo "</a>
  158.                         ";
  159.                 } else {
  160.                     // line 29
  161.                     echo "                            ";
  162.                     echo twig_escape_filter($this->env, (isset($context["redirect_route_name"]) || array_key_exists("redirect_route_name"$context) ? $context["redirect_route_name"] : (function () { throw new RuntimeError('Variable "redirect_route_name" does not exist.'29$this->source); })()), "html"nulltrue);
  163.                     echo "
  164.                         ";
  165.                 }
  166.                 // line 31
  167.                 echo "
  168.                         (<a href=\"";
  169.                 // line 32
  170.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => twig_get_attribute($this->env$this->source, (isset($context["redirect"]) || array_key_exists("redirect"$context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.'32$this->source); })()), "token", [], "any"falsefalsefalse32), "panel" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'32$this->source); })()), "query", [], "any"falsefalsefalse32), "get", [=> "panel"=> "request"], "method"falsefalsefalse32)]), "html"nulltrue);
  171.                 echo "\">";
  172.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["redirect"]) || array_key_exists("redirect"$context) ? $context["redirect"] : (function () { throw new RuntimeError('Variable "redirect" does not exist.'32$this->source); })()), "token", [], "any"falsefalsefalse32), "html"nulltrue);
  173.                 echo "</a>)
  174.                     </div>
  175.                 ";
  176.             }
  177.             // line 35
  178.             echo "
  179.                 <div class=\"status ";
  180.             // line 36
  181.             echo twig_escape_filter($this->env, (isset($context["css_class"]) || array_key_exists("css_class"$context) ? $context["css_class"] : (function () { throw new RuntimeError('Variable "css_class" does not exist.'36$this->source); })()), "html"nulltrue);
  182.             echo "\">
  183.                     ";
  184.             // line 37
  185.             if (((isset($context["status_code"]) || array_key_exists("status_code"$context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.'37$this->source); })()) > 399)) {
  186.                 // line 38
  187.                 echo "                        <p class=\"status-error-details\">
  188.                             <span class=\"icon\">";
  189.                 // line 39
  190.                 echo twig_source($this->env"@WebProfiler/Icon/alert-circle.svg");
  191.                 echo "</span>
  192.                             <span class=\"status-response-status-code\">Error ";
  193.                 // line 40
  194.                 echo twig_escape_filter($this->env, (isset($context["status_code"]) || array_key_exists("status_code"$context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.'40$this->source); })()), "html"nulltrue);
  195.                 echo "</span>
  196.                             <span class=\"status-response-status-text\">";
  197.                 // line 41
  198.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'41$this->source); })()), "statusText", [], "any"falsefalsefalse41), "html"nulltrue);
  199.                 echo "</span>
  200.                         </p>
  201.                     ";
  202.             }
  203.             // line 44
  204.             echo "
  205.                     <h2>
  206.                         <span class=\"status-request-method\">
  207.                             ";
  208.             // line 47
  209.             echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'47$this->source); })()), "method", [], "any"falsefalsefalse47)), "html"nulltrue);
  210.             echo "
  211.                         </span>
  212.                         ";
  213.             // line 50
  214.             $context["profile_title"] = (((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'50$this->source); })()), "url", [], "any"falsefalsefalse50)) < 160)) ? (twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'50$this->source); })()), "url", [], "any"falsefalsefalse50)) : ((twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'50$this->source); })()), "url", [], "any"falsefalsefalse50), 0160) . "…")));
  215.             // line 51
  216.             echo "                        ";
  217.             if (twig_in_filter(twig_upper_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'51$this->source); })()), "method", [], "any"falsefalsefalse51)), [=> "GET"=> "HEAD"])) {
  218.                 // line 52
  219.                 echo "                            <a href=\"";
  220.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'52$this->source); })()), "url", [], "any"falsefalsefalse52), "html"nulltrue);
  221.                 echo "\">";
  222.                 echo twig_escape_filter($this->env, (isset($context["profile_title"]) || array_key_exists("profile_title"$context) ? $context["profile_title"] : (function () { throw new RuntimeError('Variable "profile_title" does not exist.'52$this->source); })()), "html"nulltrue);
  223.                 echo "</a>
  224.                         ";
  225.             } else {
  226.                 // line 54
  227.                 echo "                            ";
  228.                 echo twig_escape_filter($this->env, (isset($context["profile_title"]) || array_key_exists("profile_title"$context) ? $context["profile_title"] : (function () { throw new RuntimeError('Variable "profile_title" does not exist.'54$this->source); })()), "html"nulltrue);
  229.                 echo "
  230.                         ";
  231.             }
  232.             // line 56
  233.             echo "                    </h2>
  234.                     <dl class=\"metadata\">
  235.                         ";
  236.             // line 59
  237.             if (((isset($context["status_code"]) || array_key_exists("status_code"$context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.'59$this->source); })()) < 400)) {
  238.                 // line 60
  239.                 echo "                            <dt>Response</dt>
  240.                             <dd>
  241.                                 <span class=\"status-response-status-code\">";
  242.                 // line 62
  243.                 echo twig_escape_filter($this->env, (isset($context["status_code"]) || array_key_exists("status_code"$context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.'62$this->source); })()), "html"nulltrue);
  244.                 echo "</span>
  245.                                 <span class=\"status-response-status-text\">";
  246.                 // line 63
  247.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'63$this->source); })()), "statusText", [], "any"falsefalsefalse63), "html"nulltrue);
  248.                 echo "</span>
  249.                             </dd>
  250.                         ";
  251.             }
  252.             // line 66
  253.             echo "
  254.                         ";
  255.             // line 67
  256.             $context["referer"] = (((isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'67$this->source); })())) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'67$this->source); })()), "requestheaders", [], "any"falsefalsefalse67), "get", [=> "referer"], "method"falsefalsefalse67)) : (null));
  257.             // line 68
  258.             echo "                        ";
  259.             if ((isset($context["referer"]) || array_key_exists("referer"$context) ? $context["referer"] : (function () { throw new RuntimeError('Variable "referer" does not exist.'68$this->source); })())) {
  260.                 // line 69
  261.                 echo "                            <dt></dt>
  262.                             <dd>
  263.                                 <span class=\"icon icon-referer\">";
  264.                 // line 71
  265.                 echo twig_source($this->env"@WebProfiler/Icon/referrer.svg");
  266.                 echo "</span>
  267.                                 <a href=\"";
  268.                 // line 72
  269.                 echo twig_escape_filter($this->env, (isset($context["referer"]) || array_key_exists("referer"$context) ? $context["referer"] : (function () { throw new RuntimeError('Variable "referer" does not exist.'72$this->source); })()), "html"nulltrue);
  270.                 echo "\" class=\"referer\">Browse referrer URL</a>
  271.                             </dd>
  272.                         ";
  273.             }
  274.             // line 75
  275.             echo "
  276.                         <dt>IP</dt>
  277.                         <dd>
  278.                             <a href=\"";
  279.             // line 78
  280.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_search_results", ["token" => (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'78$this->source); })()), "limit" => 10"ip" => twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'78$this->source); })()), "ip", [], "any"falsefalsefalse78)]), "html"nulltrue);
  281.             echo "\">";
  282.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'78$this->source); })()), "ip", [], "any"falsefalsefalse78), "html"nulltrue);
  283.             echo "</a>
  284.                         </dd>
  285.                         <dt>Profiled on</dt>
  286.                         <dd><time datetime=\"";
  287.             // line 82
  288.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'82$this->source); })()), "time", [], "any"falsefalsefalse82), "c"), "html"nulltrue);
  289.             echo "\">";
  290.             echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'82$this->source); })()), "time", [], "any"falsefalsefalse82), "r"), "html"nulltrue);
  291.             echo "</time></dd>
  292.                         <dt>Token</dt>
  293.                         <dd>";
  294.             // line 85
  295.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'85$this->source); })()), "token", [], "any"falsefalsefalse85), "html"nulltrue);
  296.             echo "</dd>
  297.                     </dl>
  298.                 </div>
  299.                 ";
  300.             // line 89
  301.             if (((isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'89$this->source); })()) && twig_get_attribute($this->env$this->source, (isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'89$this->source); })()), "forwardtoken", [], "any"falsefalsefalse89))) {
  302.                 // line 90
  303.                 $context["forward_profile"] = twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'90$this->source); })()), "childByToken", [=> twig_get_attribute($this->env$this->source, (isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'90$this->source); })()), "forwardtoken", [], "any"falsefalsefalse90)], "method"falsefalsefalse90);
  304.                 // line 91
  305.                 echo "                    ";
  306.                 $context["controller"] = (((isset($context["forward_profile"]) || array_key_exists("forward_profile"$context) ? $context["forward_profile"] : (function () { throw new RuntimeError('Variable "forward_profile" does not exist.'91$this->source); })())) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["forward_profile"]) || array_key_exists("forward_profile"$context) ? $context["forward_profile"] : (function () { throw new RuntimeError('Variable "forward_profile" does not exist.'91$this->source); })()), "collector", [=> "request"], "method"falsefalsefalse91), "controller", [], "any"falsefalsefalse91)) : ("n/a"));
  307.                 // line 92
  308.                 echo "                    <div class=\"status status-compact status-compact-forward\">
  309.                         <span class=\"icon icon-forward\">";
  310.                 // line 93
  311.                 echo twig_source($this->env"@WebProfiler/Icon/forward.svg");
  312.                 echo "</span>
  313.                         Forwarded to
  314.                             ";
  315.                 // line 97
  316.                 $context["link"] = ((twig_get_attribute($this->env$this->source, ($context["controller"] ?? null), "file", [], "any"truetruefalse97)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'97$this->source); })()), "file", [], "any"falsefalsefalse97), twig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'97$this->source); })()), "line", [], "any"falsefalsefalse97))) : (null));
  317.                 // line 98
  318.                 if ((isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'98$this->source); })())) {
  319.                     echo "<a href=\"";
  320.                     echo twig_escape_filter($this->env, (isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'98$this->source); })()), "html"nulltrue);
  321.                     echo "\" title=\"";
  322.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'98$this->source); })()), "file", [], "any"falsefalsefalse98), "html"nulltrue);
  323.                     echo "\">";
  324.                 }
  325.                 // line 99
  326.                 if (twig_get_attribute($this->env$this->source, ($context["controller"] ?? null), "class", [], "any"truetruefalse99)) {
  327.                     // line 100
  328.                     echo twig_escape_filter($this->envtwig_striptags($this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass(twig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'100$this->source); })()), "class", [], "any"falsefalsefalse100))), "html"nulltrue);
  329.                     // line 101
  330.                     ((twig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'101$this->source); })()), "method", [], "any"falsefalsefalse101)) ? (print (twig_escape_filter($this->env, (" :: " twig_get_attribute($this->env$this->source, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'101$this->source); })()), "method", [], "any"falsefalsefalse101)), "html"nulltrue))) : (print ("")));
  331.                 } else {
  332.                     // line 103
  333.                     echo twig_escape_filter($this->env, (isset($context["controller"]) || array_key_exists("controller"$context) ? $context["controller"] : (function () { throw new RuntimeError('Variable "controller" does not exist.'103$this->source); })()), "html"nulltrue);
  334.                 }
  335.                 // line 105
  336.                 if ((isset($context["link"]) || array_key_exists("link"$context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.'105$this->source); })())) {
  337.                     echo "</a>";
  338.                 }
  339.                 // line 106
  340.                 echo "                            (<a href=\"";
  341.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => twig_get_attribute($this->env$this->source, (isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'106$this->source); })()), "forwardtoken", [], "any"falsefalsefalse106)]), "html"nulltrue);
  342.                 echo "\">";
  343.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["request_collector"]) || array_key_exists("request_collector"$context) ? $context["request_collector"] : (function () { throw new RuntimeError('Variable "request_collector" does not exist.'106$this->source); })()), "forwardtoken", [], "any"falsefalsefalse106), "html"nulltrue);
  344.                 echo "</a>)
  345.                     </div>";
  346.             }
  347.             // line 110
  348.             echo "            ";
  349.         }
  350.         // line 111
  351.         echo "        ";
  352.         
  353.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  354.         
  355.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  356.     }
  357.     // line 117
  358.     public function block_sidebar($context, array $blocks = [])
  359.     {
  360.         $macros $this->macros;
  361.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  362.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  363.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  364.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  365.         // line 118
  366.         echo "                        <div id=\"sidebar-contents\">
  367.                             <div id=\"sidebar-shortcuts\">
  368.                                 ";
  369.         // line 120
  370.         $this->displayBlock('sidebar_shortcuts_links'$context$blocks);
  371.         // line 130
  372.         echo "
  373.                                 ";
  374.         // line 131
  375.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("web_profiler.controller.profiler::searchBarAction", array(), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'131$this->source); })()), "query", [], "any"falsefalsefalse131), "all", [], "any"falsefalsefalse131)));
  376.         echo "
  377.                             </div>
  378.                             ";
  379.         // line 134
  380.         if (array_key_exists("templates"$context)) {
  381.             // line 135
  382.             echo "                                <ul id=\"menu-profiler\">
  383.                                     ";
  384.             // line 136
  385.             $context['_parent'] = $context;
  386.             $context['_seq'] = twig_ensure_traversable((isset($context["templates"]) || array_key_exists("templates"$context) ? $context["templates"] : (function () { throw new RuntimeError('Variable "templates" does not exist.'136$this->source); })()));
  387.             $context['loop'] = [
  388.               'parent' => $context['_parent'],
  389.               'index0' => 0,
  390.               'index'  => 1,
  391.               'first'  => true,
  392.             ];
  393.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  394.                 $length count($context['_seq']);
  395.                 $context['loop']['revindex0'] = $length 1;
  396.                 $context['loop']['revindex'] = $length;
  397.                 $context['loop']['length'] = $length;
  398.                 $context['loop']['last'] = === $length;
  399.             }
  400.             foreach ($context['_seq'] as $context["name"] => $context["template"]) {
  401.                 // line 137
  402.                 echo "                                        ";
  403.                 ob_start();
  404.                 // line 138
  405.                 if (                $this->loadTemplate($context["template"], "@WebProfiler/Profiler/layout.html.twig"138)->hasBlock("menu"$context)) {
  406.                     // line 139
  407.                     $__internal_compile_0 $context;
  408.                     $__internal_compile_1 = ["collector" => twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'139$this->source); })()), "getcollector", [=> $context["name"]], "method"falsefalsefalse139), "profiler_markup_version" => (isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version"$context) ? $context["profiler_markup_version"] : (function () { throw new RuntimeError('Variable "profiler_markup_version" does not exist.'139$this->source); })())];
  409.                     if (!twig_test_iterable($__internal_compile_1)) {
  410.                         throw new RuntimeError('Variables passed to the "with" tag must be a hash.'139$this->getSourceContext());
  411.                     }
  412.                     $__internal_compile_1 twig_to_array($__internal_compile_1);
  413.                     $context $this->env->mergeGlobals(array_merge($context$__internal_compile_1));
  414.                     // line 140
  415.                     $this->loadTemplate($context["template"], "@WebProfiler/Profiler/layout.html.twig"140)->displayBlock("menu"$context);
  416.                     $context $__internal_compile_0;
  417.                 }
  418.                 $context["menu"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  419.                 // line 144
  420.                 echo "                                        ";
  421.                 if ( !twig_test_empty((isset($context["menu"]) || array_key_exists("menu"$context) ? $context["menu"] : (function () { throw new RuntimeError('Variable "menu" does not exist.'144$this->source); })()))) {
  422.                     // line 145
  423.                     echo "                                            <li class=\"";
  424.                     echo twig_escape_filter($this->env$context["name"], "html"nulltrue);
  425.                     echo " ";
  426.                     echo ((($context["name"] == (isset($context["panel"]) || array_key_exists("panel"$context) ? $context["panel"] : (function () { throw new RuntimeError('Variable "panel" does not exist.'145$this->source); })()))) ? ("selected") : (""));
  427.                     echo "\">
  428.                                                 <a href=\"";
  429.                     // line 146
  430.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'146$this->source); })()), "panel" => $context["name"]]), "html"nulltrue);
  431.                     echo "\">";
  432.                     echo (isset($context["menu"]) || array_key_exists("menu"$context) ? $context["menu"] : (function () { throw new RuntimeError('Variable "menu" does not exist.'146$this->source); })());
  433.                     echo "</a>
  434.                                             </li>
  435.                                         ";
  436.                 }
  437.                 // line 149
  438.                 echo "                                    ";
  439.                 ++$context['loop']['index0'];
  440.                 ++$context['loop']['index'];
  441.                 $context['loop']['first'] = false;
  442.                 if (isset($context['loop']['length'])) {
  443.                     --$context['loop']['revindex0'];
  444.                     --$context['loop']['revindex'];
  445.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  446.                 }
  447.             }
  448.             $_parent $context['_parent'];
  449.             unset($context['_seq'], $context['_iterated'], $context['name'], $context['template'], $context['_parent'], $context['loop']);
  450.             $context array_intersect_key($context$_parent) + $_parent;
  451.             // line 150
  452.             echo "                                </ul>
  453.                             ";
  454.         }
  455.         // line 152
  456.         echo "                        </div>
  457.                         ";
  458.         // line 154
  459.         echo twig_include($this->env$context"@WebProfiler/Profiler/settings.html.twig");
  460.         echo "
  461.                     ";
  462.         
  463.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  464.         
  465.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  466.     }
  467.     // line 120
  468.     public function block_sidebar_shortcuts_links($context, array $blocks = [])
  469.     {
  470.         $macros $this->macros;
  471.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  472.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar_shortcuts_links"));
  473.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  474.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar_shortcuts_links"));
  475.         // line 121
  476.         echo "                                    <div class=\"shortcuts\">
  477.                                         <a class=\"btn btn-link\" href=\"";
  478.         // line 122
  479.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_search", ["limit" => 10]);
  480.         echo "\">Last 10</a>
  481.                                         <a class=\"btn btn-link\" href=\"";
  482.         // line 123
  483.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler"twig_array_merge(["token" => "latest"], twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'123$this->source); })()), "query", [], "any"falsefalsefalse123), "all", [], "any"falsefalsefalse123))), "html"nulltrue);
  484.         echo "\">Latest</a>
  485.                                         <a class=\"sf-toggle btn btn-link\" data-toggle-selector=\"#sidebar-search\" ";
  486.         // line 125
  487.         if ((array_key_exists("tokens"$context) || array_key_exists("about"$context))) {
  488.             echo "data-toggle-initial=\"display\"";
  489.         }
  490.         echo ">
  491.                                             ";
  492.         // line 126
  493.         echo twig_source($this->env"@WebProfiler/Icon/search.svg");
  494.         echo " <span class=\"hidden-small\">Search</span>
  495.                                         </a>
  496.                                     </div>
  497.                                 ";
  498.         
  499.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  500.         
  501.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  502.     }
  503.     // line 161
  504.     public function block_panel($context, array $blocks = [])
  505.     {
  506.         $macros $this->macros;
  507.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  508.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  509.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  510.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  511.         echo "";
  512.         
  513.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  514.         
  515.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  516.     }
  517.     public function getTemplateName()
  518.     {
  519.         return "@WebProfiler/Profiler/layout.html.twig";
  520.     }
  521.     public function isTraitable()
  522.     {
  523.         return false;
  524.     }
  525.     public function getDebugInfo()
  526.     {
  527.         return array (  553 => 161,  539 => 126,  533 => 125,  528 => 123,  524 => 122,  521 => 121,  511 => 120,  499 => 154,  495 => 152,  491 => 150,  477 => 149,  469 => 146,  462 => 145,  459 => 144,  454 => 140,  446 => 139,  444 => 138,  441 => 137,  424 => 136,  421 => 135,  419 => 134,  413 => 131,  410 => 130,  408 => 120,  404 => 118,  394 => 117,  384 => 111,  381 => 110,  372 => 106,  368 => 105,  365 => 103,  362 => 101,  360 => 100,  358 => 99,  350 => 98,  348 => 97,  341 => 93,  338 => 92,  335 => 91,  333 => 90,  331 => 89,  324 => 85,  316 => 82,  307 => 78,  302 => 75,  296 => 72,  292 => 71,  288 => 69,  285 => 68,  283 => 67,  280 => 66,  274 => 63,  270 => 62,  266 => 60,  264 => 59,  259 => 56,  253 => 54,  245 => 52,  242 => 51,  240 => 50,  234 => 47,  229 => 44,  223 => 41,  219 => 40,  215 => 39,  212 => 38,  210 => 37,  206 => 36,  203 => 35,  195 => 32,  192 => 31,  186 => 29,  176 => 27,  174 => 26,  169 => 24,  164 => 22,  159 => 20,  155 => 18,  152 => 17,  149 => 16,  146 => 15,  144 => 14,  141 => 13,  138 => 12,  135 => 11,  132 => 10,  129 => 9,  119 => 8,  104 => 162,  102 => 161,  98 => 160,  92 => 156,  90 => 117,  83 => 112,  81 => 8,  75 => 5,  72 => 4,  62 => 3,  39 => 1,);
  528.     }
  529.     public function getSourceContext()
  530.     {
  531.         return new Source("{% extends '@WebProfiler/Profiler/base.html.twig' %}
  532. {% block body %}
  533.     <div class=\"container\">
  534.         {{ include('@WebProfiler/Profiler/header.html.twig', with_context = false) }}
  535.         <div id=\"summary\">
  536.         {% block summary %}
  537.             {% if profile is defined %}
  538.                 {% set request_collector = profile.collectors.request|default(false) %}
  539.                 {% set status_code = request_collector ? request_collector.statuscode|default(0) : 0 %}
  540.                 {% set css_class = status_code > 399 ? 'status-error' : status_code > 299 ? 'status-warning' : 'status-success' %}
  541.                 {% if request_collector and request_collector.redirect %}
  542.                     {% set redirect = request_collector.redirect %}
  543.                     {% set link_to_source_code = redirect.controller.class is defined ? redirect.controller.file|file_link(redirect.controller.line) %}
  544.                     {% set redirect_route_name = '@' ~ redirect.route %}
  545.                     <div class=\"status status-compact status-warning\">
  546.                         <span class=\"icon icon-redirect\">{{ source('@WebProfiler/Icon/redirect.svg') }}</span>
  547.                         <span class=\"status-response-status-code\">{{ redirect.status_code }}</span> redirect from
  548.                         <span class=\"status-request-method\">{{ redirect.method }}</span>
  549.                         {% if link_to_source_code %}
  550.                             <a href=\"{{ link_to_source_code }}\" title=\"{{ redirect.controller.file }}\">{{ redirect_route_name }}</a>
  551.                         {% else %}
  552.                             {{ redirect_route_name }}
  553.                         {% endif %}
  554.                         (<a href=\"{{ path('_profiler', { token: redirect.token, panel: request.query.get('panel', 'request') }) }}\">{{ redirect.token }}</a>)
  555.                     </div>
  556.                 {% endif %}
  557.                 <div class=\"status {{ css_class }}\">
  558.                     {% if status_code > 399 %}
  559.                         <p class=\"status-error-details\">
  560.                             <span class=\"icon\">{{ source('@WebProfiler/Icon/alert-circle.svg') }}</span>
  561.                             <span class=\"status-response-status-code\">Error {{ status_code }}</span>
  562.                             <span class=\"status-response-status-text\">{{ request_collector.statusText }}</span>
  563.                         </p>
  564.                     {% endif %}
  565.                     <h2>
  566.                         <span class=\"status-request-method\">
  567.                             {{ profile.method|upper }}
  568.                         </span>
  569.                         {% set profile_title = profile.url|length < 160 ? profile.url : profile.url[:160] ~ '…' %}
  570.                         {% if profile.method|upper in ['GET', 'HEAD'] %}
  571.                             <a href=\"{{ profile.url }}\">{{ profile_title }}</a>
  572.                         {% else %}
  573.                             {{ profile_title }}
  574.                         {% endif %}
  575.                     </h2>
  576.                     <dl class=\"metadata\">
  577.                         {% if status_code < 400 %}
  578.                             <dt>Response</dt>
  579.                             <dd>
  580.                                 <span class=\"status-response-status-code\">{{ status_code }}</span>
  581.                                 <span class=\"status-response-status-text\">{{ request_collector.statusText }}</span>
  582.                             </dd>
  583.                         {% endif %}
  584.                         {% set referer = request_collector ? request_collector.requestheaders.get('referer') : null %}
  585.                         {% if referer %}
  586.                             <dt></dt>
  587.                             <dd>
  588.                                 <span class=\"icon icon-referer\">{{ source('@WebProfiler/Icon/referrer.svg') }}</span>
  589.                                 <a href=\"{{ referer }}\" class=\"referer\">Browse referrer URL</a>
  590.                             </dd>
  591.                         {% endif %}
  592.                         <dt>IP</dt>
  593.                         <dd>
  594.                             <a href=\"{{ path('_profiler_search_results', { token: token, limit: 10, ip: profile.ip }) }}\">{{ profile.ip }}</a>
  595.                         </dd>
  596.                         <dt>Profiled on</dt>
  597.                         <dd><time datetime=\"{{ profile.time|date('c') }}\">{{ profile.time|date('r') }}</time></dd>
  598.                         <dt>Token</dt>
  599.                         <dd>{{ profile.token }}</dd>
  600.                     </dl>
  601.                 </div>
  602.                 {% if request_collector and request_collector.forwardtoken -%}
  603.                     {% set forward_profile = profile.childByToken(request_collector.forwardtoken) %}
  604.                     {% set controller = forward_profile ? forward_profile.collector('request').controller : 'n/a' %}
  605.                     <div class=\"status status-compact status-compact-forward\">
  606.                         <span class=\"icon icon-forward\">{{ source('@WebProfiler/Icon/forward.svg') }}</span>
  607.                         Forwarded to
  608.                             {% set link = controller.file is defined ? controller.file|file_link(controller.line) : null -%}
  609.                             {%- if link %}<a href=\"{{ link }}\" title=\"{{ controller.file }}\">{% endif -%}
  610.                                 {% if controller.class is defined %}
  611.                                     {{- controller.class|abbr_class|striptags -}}
  612.                                     {{- controller.method ? ' :: ' ~ controller.method -}}
  613.                                 {% else %}
  614.                                     {{- controller -}}
  615.                                 {% endif %}
  616.                                 {%- if link %}</a>{% endif %}
  617.                             (<a href=\"{{ path('_profiler', { token: request_collector.forwardtoken }) }}\">{{ request_collector.forwardtoken }}</a>)
  618.                     </div>
  619.                 {%- endif %}
  620.             {% endif %}
  621.         {% endblock %}
  622.     </div>
  623.         <div id=\"content\">
  624.             <div id=\"main\">
  625.                 <div id=\"sidebar\">
  626.                     {% block sidebar %}
  627.                         <div id=\"sidebar-contents\">
  628.                             <div id=\"sidebar-shortcuts\">
  629.                                 {% block sidebar_shortcuts_links %}
  630.                                     <div class=\"shortcuts\">
  631.                                         <a class=\"btn btn-link\" href=\"{{ path('_profiler_search', { limit: 10 }) }}\">Last 10</a>
  632.                                         <a class=\"btn btn-link\" href=\"{{ path('_profiler', { token: 'latest' }|merge(request.query.all)) }}\">Latest</a>
  633.                                         <a class=\"sf-toggle btn btn-link\" data-toggle-selector=\"#sidebar-search\" {% if tokens is defined or about is defined %}data-toggle-initial=\"display\"{% endif %}>
  634.                                             {{ source('@WebProfiler/Icon/search.svg') }} <span class=\"hidden-small\">Search</span>
  635.                                         </a>
  636.                                     </div>
  637.                                 {% endblock sidebar_shortcuts_links %}
  638.                                 {{ render(controller('web_profiler.controller.profiler::searchBarAction', query=request.query.all)) }}
  639.                             </div>
  640.                             {% if templates is defined %}
  641.                                 <ul id=\"menu-profiler\">
  642.                                     {% for name, template in templates %}
  643.                                         {% set menu -%}
  644.                                             {%- if block('menu', template) is defined -%}
  645.                                                 {% with { collector: profile.getcollector(name), profiler_markup_version: profiler_markup_version } %}
  646.                                                     {{- block('menu', template) -}}
  647.                                                 {% endwith %}
  648.                                             {%- endif -%}
  649.                                         {%- endset %}
  650.                                         {% if menu is not empty %}
  651.                                             <li class=\"{{ name }} {{ name == panel ? 'selected' }}\">
  652.                                                 <a href=\"{{ path('_profiler', { token: token, panel: name }) }}\">{{ menu|raw }}</a>
  653.                                             </li>
  654.                                         {% endif %}
  655.                                     {% endfor %}
  656.                                 </ul>
  657.                             {% endif %}
  658.                         </div>
  659.                         {{ include('@WebProfiler/Profiler/settings.html.twig') }}
  660.                     {% endblock sidebar %}
  661.                 </div>
  662.                 <div id=\"collector-wrapper\">
  663.                     <div id=\"collector-content\">
  664.                         {{ include('@WebProfiler/Profiler/base_js.html.twig') }}
  665.                         {% block panel '' %}
  666.                     </div>
  667.                 </div>
  668.             </div>
  669.         </div>
  670.     </div>
  671. {% endblock %}
  672. ""@WebProfiler/Profiler/layout.html.twig""/home/bestofi/bestof/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/layout.html.twig");
  673.     }
  674. }