var/cache/dev/twig/a0/a083275bb73f0871945160eef54b503b.php line 51

  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. /* @Security/Collector/security.html.twig */
  14. class __TwigTemplate_de3548b222f4255fe812b63d3eaad81f 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.             'page_title' => [$this'block_page_title'],
  24.             'toolbar' => [$this'block_toolbar'],
  25.             'menu' => [$this'block_menu'],
  26.             'panel' => [$this'block_panel'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "@WebProfiler/Profiler/layout.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Security/Collector/security.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Security/Collector/security.html.twig"));
  41.         $this->parent $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig""@Security/Collector/security.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_page_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  56.         echo "Security";
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.     }
  62.     // line 5
  63.     public function block_toolbar($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  70.         // line 6
  71.         echo "    ";
  72.         if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'6$this->source); })()), "firewall", [], "any"falsefalsefalse6)) {
  73.             // line 7
  74.             echo "        ";
  75.             ob_start();
  76.             // line 8
  77.             echo "            ";
  78.             echo twig_source($this->env"@Security/Collector/icon.svg");
  79.             echo "
  80.             <span class=\"sf-toolbar-value\">";
  81.             // line 9
  82.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "user", [], "any"truetruefalse9)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "user", [], "any"falsefalsefalse9), "n/a")) : ("n/a")), "html"nulltrue);
  83.             echo "</span>
  84.         ";
  85.             $context["icon"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  86.             // line 11
  87.             echo "
  88.         ";
  89.             // line 12
  90.             ob_start();
  91.             // line 13
  92.             echo "            ";
  93.             if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'13$this->source); })()), "impersonated", [], "any"falsefalsefalse13)) {
  94.                 // line 14
  95.                 echo "                <div class=\"sf-toolbar-info-group\">
  96.                     <div class=\"sf-toolbar-info-piece\">
  97.                         <b>Impersonator</b>
  98.                         <span>";
  99.                 // line 17
  100.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'17$this->source); })()), "impersonatorUser", [], "any"falsefalsefalse17), "html"nulltrue);
  101.                 echo "</span>
  102.                     </div>
  103.                 </div>
  104.             ";
  105.             }
  106.             // line 21
  107.             echo "
  108.             <div class=\"sf-toolbar-info-group\">
  109.                 ";
  110.             // line 23
  111.             if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'23$this->source); })()), "enabled", [], "any"falsefalsefalse23)) {
  112.                 // line 24
  113.                 echo "                    ";
  114.                 if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'24$this->source); })()), "token", [], "any"falsefalsefalse24)) {
  115.                     // line 25
  116.                     echo "                        <div class=\"sf-toolbar-info-piece\">
  117.                             <b>Logged in as</b>
  118.                             <span>";
  119.                     // line 27
  120.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'27$this->source); })()), "user", [], "any"falsefalsefalse27), "html"nulltrue);
  121.                     echo "</span>
  122.                         </div>
  123.                         <div class=\"sf-toolbar-info-piece\">
  124.                             <b>Authenticated</b>
  125.                             <span class=\"sf-toolbar-status sf-toolbar-status-";
  126.                     // line 32
  127.                     echo ((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'32$this->source); })()), "authenticated", [], "any"falsefalsefalse32)) ? ("green") : ("yellow"));
  128.                     echo "\">";
  129.                     echo ((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'32$this->source); })()), "authenticated", [], "any"falsefalsefalse32)) ? ("Yes") : ("No"));
  130.                     echo "</span>
  131.                         </div>
  132.                         <div class=\"sf-toolbar-info-piece\">
  133.                             <b>Roles</b>
  134.                             <span>
  135.                                 ";
  136.                     // line 38
  137.                     $context["remainingRoles"] = twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'38$this->source); })()), "roles", [], "any"falsefalsefalse38), 1);
  138.                     // line 39
  139.                     echo "                                ";
  140.                     echo twig_escape_filter($this->envtwig_first($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'39$this->source); })()), "roles", [], "any"falsefalsefalse39)), "html"nulltrue);
  141.                     echo "
  142.                                 ";
  143.                     // line 40
  144.                     if ( !twig_test_empty((isset($context["remainingRoles"]) || array_key_exists("remainingRoles"$context) ? $context["remainingRoles"] : (function () { throw new RuntimeError('Variable "remainingRoles" does not exist.'40$this->source); })()))) {
  145.                         // line 41
  146.                         echo "                                    +
  147.                                     <abbr title=\"";
  148.                         // line 42
  149.                         echo twig_escape_filter($this->envtwig_join_filter((isset($context["remainingRoles"]) || array_key_exists("remainingRoles"$context) ? $context["remainingRoles"] : (function () { throw new RuntimeError('Variable "remainingRoles" does not exist.'42$this->source); })()), ", "), "html"nulltrue);
  150.                         echo "\">
  151.                                         ";
  152.                         // line 43
  153.                         echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["remainingRoles"]) || array_key_exists("remainingRoles"$context) ? $context["remainingRoles"] : (function () { throw new RuntimeError('Variable "remainingRoles" does not exist.'43$this->source); })())), "html"nulltrue);
  154.                         echo " more
  155.                                     </abbr>
  156.                                 ";
  157.                     }
  158.                     // line 46
  159.                     echo "                            </span>
  160.                         </div>
  161.                         ";
  162.                     // line 49
  163.                     if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'49$this->source); })()), "supportsRoleHierarchy", [], "any"falsefalsefalse49)) {
  164.                         // line 50
  165.                         echo "                            <div class=\"sf-toolbar-info-piece\">
  166.                                 <b>Inherited Roles</b>
  167.                                 <span>
  168.                                     ";
  169.                         // line 53
  170.                         if (twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'53$this->source); })()), "inheritedRoles", [], "any"falsefalsefalse53))) {
  171.                             // line 54
  172.                             echo "                                        none
  173.                                     ";
  174.                         } else {
  175.                             // line 56
  176.                             echo "                                        ";
  177.                             $context["remainingRoles"] = twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'56$this->source); })()), "inheritedRoles", [], "any"falsefalsefalse56), 1);
  178.                             // line 57
  179.                             echo "                                        ";
  180.                             echo twig_escape_filter($this->envtwig_first($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'57$this->source); })()), "inheritedRoles", [], "any"falsefalsefalse57)), "html"nulltrue);
  181.                             echo "
  182.                                         ";
  183.                             // line 58
  184.                             if ( !twig_test_empty((isset($context["remainingRoles"]) || array_key_exists("remainingRoles"$context) ? $context["remainingRoles"] : (function () { throw new RuntimeError('Variable "remainingRoles" does not exist.'58$this->source); })()))) {
  185.                                 // line 59
  186.                                 echo "                                            +
  187.                                             <abbr title=\"";
  188.                                 // line 60
  189.                                 echo twig_escape_filter($this->envtwig_join_filter((isset($context["remainingRoles"]) || array_key_exists("remainingRoles"$context) ? $context["remainingRoles"] : (function () { throw new RuntimeError('Variable "remainingRoles" does not exist.'60$this->source); })()), ", "), "html"nulltrue);
  190.                                 echo "\">
  191.                                                 ";
  192.                                 // line 61
  193.                                 echo twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["remainingRoles"]) || array_key_exists("remainingRoles"$context) ? $context["remainingRoles"] : (function () { throw new RuntimeError('Variable "remainingRoles" does not exist.'61$this->source); })())), "html"nulltrue);
  194.                                 echo " more
  195.                                             </abbr>
  196.                                         ";
  197.                             }
  198.                             // line 64
  199.                             echo "                                    ";
  200.                         }
  201.                         // line 65
  202.                         echo "                                </span>
  203.                             </div>
  204.                         ";
  205.                     }
  206.                     // line 68
  207.                     echo "
  208.                         <div class=\"sf-toolbar-info-piece\">
  209.                             <b>Token class</b>
  210.                             <span>";
  211.                     // line 71
  212.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->abbrClass(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'71$this->source); })()), "tokenClass", [], "any"falsefalsefalse71));
  213.                     echo "</span>
  214.                         </div>
  215.                     ";
  216.                 } else {
  217.                     // line 74
  218.                     echo "                        <div class=\"sf-toolbar-info-piece\">
  219.                             <b>Authenticated</b>
  220.                             <span class=\"sf-toolbar-status sf-toolbar-status-yellow\">No</span>
  221.                         </div>
  222.                     ";
  223.                 }
  224.                 // line 79
  225.                 echo "
  226.                     ";
  227.                 // line 80
  228.                 if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'80$this->source); })()), "firewall", [], "any"falsefalsefalse80)) {
  229.                     // line 81
  230.                     echo "                        <div class=\"sf-toolbar-info-piece\">
  231.                             <b>Firewall name</b>
  232.                             <span>";
  233.                     // line 83
  234.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'83$this->source); })()), "firewall", [], "any"falsefalsefalse83), "name", [], "any"falsefalsefalse83), "html"nulltrue);
  235.                     echo "</span>
  236.                         </div>
  237.                     ";
  238.                 }
  239.                 // line 86
  240.                 echo "
  241.                     ";
  242.                 // line 87
  243.                 if ((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'87$this->source); })()), "token", [], "any"falsefalsefalse87) && twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'87$this->source); })()), "logoutUrl", [], "any"falsefalsefalse87))) {
  244.                     // line 88
  245.                     echo "                        <div class=\"sf-toolbar-info-piece\">
  246.                             <b>Actions</b>
  247.                             <span>
  248.                                 <a href=\"";
  249.                     // line 91
  250.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'91$this->source); })()), "logoutUrl", [], "any"falsefalsefalse91), "html"nulltrue);
  251.                     echo "\">Logout</a>
  252.                                 ";
  253.                     // line 92
  254.                     if ((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'92$this->source); })()), "impersonated", [], "any"falsefalsefalse92) && twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'92$this->source); })()), "impersonationExitPath", [], "any"falsefalsefalse92))) {
  255.                         // line 93
  256.                         echo "                                    | <a href=\"";
  257.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'93$this->source); })()), "impersonationExitPath", [], "any"falsefalsefalse93), "html"nulltrue);
  258.                         echo "\">Exit impersonation</a>
  259.                                 ";
  260.                     }
  261.                     // line 95
  262.                     echo "                            </span>
  263.                         </div>
  264.                     ";
  265.                 }
  266.                 // line 98
  267.                 echo "                ";
  268.             } else {
  269.                 // line 99
  270.                 echo "                    <div class=\"sf-toolbar-info-piece\">
  271.                         <span>The security is disabled.</span>
  272.                     </div>
  273.                 ";
  274.             }
  275.             // line 103
  276.             echo "            </div>
  277.         ";
  278.             $context["text"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  279.             // line 105
  280.             echo "
  281.         ";
  282.             // line 106
  283.             echo twig_include($this->env$context"@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => (isset($context["profiler_url"]) || array_key_exists("profiler_url"$context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.'106$this->source); })())]);
  284.             echo "
  285.     ";
  286.         }
  287.         
  288.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  289.         
  290.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  291.     }
  292.     // line 110
  293.     public function block_menu($context, array $blocks = [])
  294.     {
  295.         $macros $this->macros;
  296.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  297.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  298.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  299.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  300.         // line 111
  301.         echo "    <span class=\"label ";
  302.         echo ((( !twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'111$this->source); })()), "firewall", [], "any"falsefalsefalse111) ||  !twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'111$this->source); })()), "token", [], "any"falsefalsefalse111))) ? ("disabled") : (""));
  303.         echo "\">
  304.         <span class=\"icon\">";
  305.         // line 112
  306.         echo twig_source($this->env"@Security/Collector/icon.svg");
  307.         echo "</span>
  308.         <strong>Security</strong>
  309.     </span>
  310. ";
  311.         
  312.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  313.         
  314.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  315.     }
  316.     // line 117
  317.     public function block_panel($context, array $blocks = [])
  318.     {
  319.         $macros $this->macros;
  320.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  321.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  322.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  323.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  324.         // line 118
  325.         echo "    <h2>Security</h2>
  326.     ";
  327.         // line 119
  328.         if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'119$this->source); })()), "enabled", [], "any"falsefalsefalse119)) {
  329.             // line 120
  330.             echo "        <div class=\"sf-tabs\">
  331.             <div class=\"tab ";
  332.             // line 121
  333.             echo ((twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'121$this->source); })()), "token", [], "any"falsefalsefalse121))) ? ("disabled") : (""));
  334.             echo "\">
  335.                 <h3 class=\"tab-title\">Token</h3>
  336.                 <div class=\"tab-content\">
  337.                     ";
  338.             // line 125
  339.             if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'125$this->source); })()), "token", [], "any"falsefalsefalse125)) {
  340.                 // line 126
  341.                 echo "                        <div class=\"metrics\">
  342.                             <div class=\"metric\">
  343.                                 <span class=\"value\">";
  344.                 // line 128
  345.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'128$this->source); })()), "user", [], "any"falsefalsefalse128), "html"nulltrue);
  346.                 echo "</span>
  347.                                 <span class=\"label\">Username</span>
  348.                             </div>
  349.                             <div class=\"metric\">
  350.                                 <span class=\"value\">";
  351.                 // line 133
  352.                 echo twig_source($this->env, (("@WebProfiler/Icon/" . ((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'133$this->source); })()), "authenticated", [], "any"falsefalsefalse133)) ? ("yes") : ("no"))) . ".svg"));
  353.                 echo "</span>
  354.                                 <span class=\"label\">Authenticated</span>
  355.                             </div>
  356.                         </div>
  357.                         <table>
  358.                             <thead>
  359.                                 <tr>
  360.                                     <th scope=\"col\" class=\"key\">Property</th>
  361.                                     <th scope=\"col\">Value</th>
  362.                                 </tr>
  363.                             </thead>
  364.                             <tbody>
  365.                                 <tr>
  366.                                     <th>Roles</th>
  367.                                     <td>
  368.                                         ";
  369.                 // line 149
  370.                 echo ((twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'149$this->source); })()), "roles", [], "any"falsefalsefalse149))) ? ("none") : ($this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'149$this->source); })()), "roles", [], "any"falsefalsefalse149), 1)));
  371.                 echo "
  372.                                         ";
  373.                 // line 151
  374.                 if (( !twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'151$this->source); })()), "authenticated", [], "any"falsefalsefalse151) && twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'151$this->source); })()), "roles", [], "any"falsefalsefalse151)))) {
  375.                     // line 152
  376.                     echo "                                            <p class=\"help\">User is not authenticated probably because they have no roles.</p>
  377.                                         ";
  378.                 }
  379.                 // line 154
  380.                 echo "                                    </td>
  381.                                 </tr>
  382.                                 ";
  383.                 // line 157
  384.                 if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'157$this->source); })()), "supportsRoleHierarchy", [], "any"falsefalsefalse157)) {
  385.                     // line 158
  386.                     echo "                                <tr>
  387.                                     <th>Inherited Roles</th>
  388.                                     <td>";
  389.                     // line 160
  390.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'160$this->source); })()), "inheritedRoles", [], "any"falsefalsefalse160))) ? ("none") : ($this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'160$this->source); })()), "inheritedRoles", [], "any"falsefalsefalse160), 1)));
  391.                     echo "</td>
  392.                                 </tr>
  393.                                 ";
  394.                 }
  395.                 // line 163
  396.                 echo "
  397.                                 ";
  398.                 // line 164
  399.                 if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'164$this->source); })()), "token", [], "any"falsefalsefalse164)) {
  400.                     // line 165
  401.                     echo "                                <tr>
  402.                                     <th>Token</th>
  403.                                     <td>";
  404.                     // line 167
  405.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'167$this->source); })()), "token", [], "any"falsefalsefalse167));
  406.                     echo "</td>
  407.                                 </tr>
  408.                                 ";
  409.                 }
  410.                 // line 170
  411.                 echo "                            </tbody>
  412.                         </table>
  413.                     ";
  414.             } elseif (twig_get_attribute($this->env$this->source,             // line 172
  415. (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'172$this->source); })()), "enabled", [], "any"falsefalsefalse172)) {
  416.                 // line 173
  417.                 echo "                        <div class=\"empty\">
  418.                             <p>There is no security token.</p>
  419.                         </div>
  420.                     ";
  421.             }
  422.             // line 177
  423.             echo "                </div>
  424.             </div>
  425.             <div class=\"tab ";
  426.             // line 180
  427.             echo ((( !twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'180$this->source); })()), "firewall", [], "any"falsefalsefalse180) || twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'180$this->source); })()), "firewall", [], "any"falsefalsefalse180), "security_enabled", [], "any"falsefalsefalse180)))) ? ("disabled") : (""));
  428.             echo "\">
  429.                 <h3 class=\"tab-title\">Firewall</h3>
  430.                 <div class=\"tab-content\">
  431.                     ";
  432.             // line 183
  433.             if (twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'183$this->source); })()), "firewall", [], "any"falsefalsefalse183)) {
  434.                 // line 184
  435.                 echo "                        <div class=\"metrics\">
  436.                             <div class=\"metric\">
  437.                                 <span class=\"value\">";
  438.                 // line 186
  439.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'186$this->source); })()), "firewall", [], "any"falsefalsefalse186), "name", [], "any"falsefalsefalse186), "html"nulltrue);
  440.                 echo "</span>
  441.                                 <span class=\"label\">Name</span>
  442.                             </div>
  443.                             <div class=\"metric\">
  444.                                 <span class=\"value\">";
  445.                 // line 190
  446.                 echo twig_source($this->env, (("@WebProfiler/Icon/" . ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'190$this->source); })()), "firewall", [], "any"falsefalsefalse190), "security_enabled", [], "any"falsefalsefalse190)) ? ("yes") : ("no"))) . ".svg"));
  447.                 echo "</span>
  448.                                 <span class=\"label\">Security enabled</span>
  449.                             </div>
  450.                             <div class=\"metric\">
  451.                                 <span class=\"value\">";
  452.                 // line 194
  453.                 echo twig_source($this->env, (("@WebProfiler/Icon/" . ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'194$this->source); })()), "firewall", [], "any"falsefalsefalse194), "stateless", [], "any"falsefalsefalse194)) ? ("yes") : ("no"))) . ".svg"));
  454.                 echo "</span>
  455.                                 <span class=\"label\">Stateless</span>
  456.                             </div>
  457.                         </div>
  458.                         ";
  459.                 // line 199
  460.                 if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'199$this->source); })()), "firewall", [], "any"falsefalsefalse199), "security_enabled", [], "any"falsefalsefalse199)) {
  461.                     // line 200
  462.                     echo "                            <h4>Configuration</h4>
  463.                             <table>
  464.                                 <thead>
  465.                                     <tr>
  466.                                         <th scope=\"col\" class=\"key\">Key</th>
  467.                                         <th scope=\"col\">Value</th>
  468.                                     </tr>
  469.                                 </thead>
  470.                                 <tbody>
  471.                                     <tr>
  472.                                         <th>provider</th>
  473.                                         <td>";
  474.                     // line 211
  475.                     ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'211$this->source); })()), "firewall", [], "any"falsefalsefalse211), "provider", [], "any"falsefalsefalse211)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'211$this->source); })()), "firewall", [], "any"falsefalsefalse211), "provider", [], "any"falsefalsefalse211), "html"nulltrue))) : (print ("(none)")));
  476.                     echo "</td>
  477.                                     </tr>
  478.                                     <tr>
  479.                                         <th>context</th>
  480.                                         <td>";
  481.                     // line 215
  482.                     ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'215$this->source); })()), "firewall", [], "any"falsefalsefalse215), "context", [], "any"falsefalsefalse215)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'215$this->source); })()), "firewall", [], "any"falsefalsefalse215), "context", [], "any"falsefalsefalse215), "html"nulltrue))) : (print ("(none)")));
  483.                     echo "</td>
  484.                                     </tr>
  485.                                     <tr>
  486.                                         <th>entry_point</th>
  487.                                         <td>";
  488.                     // line 219
  489.                     ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'219$this->source); })()), "firewall", [], "any"falsefalsefalse219), "entry_point", [], "any"falsefalsefalse219)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'219$this->source); })()), "firewall", [], "any"falsefalsefalse219), "entry_point", [], "any"falsefalsefalse219), "html"nulltrue))) : (print ("(none)")));
  490.                     echo "</td>
  491.                                     </tr>
  492.                                     <tr>
  493.                                         <th>user_checker</th>
  494.                                         <td>";
  495.                     // line 223
  496.                     ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'223$this->source); })()), "firewall", [], "any"falsefalsefalse223), "user_checker", [], "any"falsefalsefalse223)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'223$this->source); })()), "firewall", [], "any"falsefalsefalse223), "user_checker", [], "any"falsefalsefalse223), "html"nulltrue))) : (print ("(none)")));
  497.                     echo "</td>
  498.                                     </tr>
  499.                                     <tr>
  500.                                         <th>access_denied_handler</th>
  501.                                         <td>";
  502.                     // line 227
  503.                     ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'227$this->source); })()), "firewall", [], "any"falsefalsefalse227), "access_denied_handler", [], "any"falsefalsefalse227)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'227$this->source); })()), "firewall", [], "any"falsefalsefalse227), "access_denied_handler", [], "any"falsefalsefalse227), "html"nulltrue))) : (print ("(none)")));
  504.                     echo "</td>
  505.                                     </tr>
  506.                                     <tr>
  507.                                         <th>access_denied_url</th>
  508.                                         <td>";
  509.                     // line 231
  510.                     ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'231$this->source); })()), "firewall", [], "any"falsefalsefalse231), "access_denied_url", [], "any"falsefalsefalse231)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'231$this->source); })()), "firewall", [], "any"falsefalsefalse231), "access_denied_url", [], "any"falsefalsefalse231), "html"nulltrue))) : (print ("(none)")));
  511.                     echo "</td>
  512.                                     </tr>
  513.                                     <tr>
  514.                                         <th>authenticators</th>
  515.                                         <td>";
  516.                     // line 235
  517.                     echo ((twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'235$this->source); })()), "firewall", [], "any"falsefalsefalse235), "authenticators", [], "any"falsefalsefalse235))) ? ("(none)") : ($this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'235$this->source); })()), "firewall", [], "any"falsefalsefalse235), "authenticators", [], "any"falsefalsefalse235), 1)));
  518.                     echo "</td>
  519.                                     </tr>
  520.                                 </tbody>
  521.                             </table>
  522.                         ";
  523.                 }
  524.                 // line 240
  525.                 echo "                    ";
  526.             }
  527.             // line 241
  528.             echo "                </div>
  529.             </div>
  530.             <div class=\"tab ";
  531.             // line 244
  532.             echo ((twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "listeners", [], "any"truetruefalse244)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "listeners", [], "any"falsefalsefalse244), [])) : ([])))) ? ("disabled") : (""));
  533.             echo "\">
  534.                 <h3 class=\"tab-title\">Listeners</h3>
  535.                 <div class=\"tab-content\">
  536.                     ";
  537.             // line 247
  538.             if (twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "listeners", [], "any"truetruefalse247)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "listeners", [], "any"falsefalsefalse247), [])) : ([])))) {
  539.                 // line 248
  540.                 echo "                        <div class=\"empty\">
  541.                             <p>No security listeners have been recorded. Check that debugging is enabled in the kernel.</p>
  542.                         </div>
  543.                     ";
  544.             } else {
  545.                 // line 252
  546.                 echo "                        <table>
  547.                             <thead>
  548.                             <tr>
  549.                                 <th>Listener</th>
  550.                                 <th>Duration</th>
  551.                                 <th>Response</th>
  552.                             </tr>
  553.                             </thead>
  554.                             ";
  555.                 // line 261
  556.                 $context["previous_event"] = twig_first($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'261$this->source); })()), "listeners", [], "any"falsefalsefalse261));
  557.                 // line 262
  558.                 echo "                            ";
  559.                 $context['_parent'] = $context;
  560.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'262$this->source); })()), "listeners", [], "any"falsefalsefalse262));
  561.                 $context['loop'] = [
  562.                   'parent' => $context['_parent'],
  563.                   'index0' => 0,
  564.                   'index'  => 1,
  565.                   'first'  => true,
  566.                 ];
  567.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  568.                     $length count($context['_seq']);
  569.                     $context['loop']['revindex0'] = $length 1;
  570.                     $context['loop']['revindex'] = $length;
  571.                     $context['loop']['length'] = $length;
  572.                     $context['loop']['last'] = === $length;
  573.                 }
  574.                 foreach ($context['_seq'] as $context["_key"] => $context["listener"]) {
  575.                     // line 263
  576.                     echo "                                ";
  577.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse263) || ($context["listener"] != (isset($context["previous_event"]) || array_key_exists("previous_event"$context) ? $context["previous_event"] : (function () { throw new RuntimeError('Variable "previous_event" does not exist.'263$this->source); })())))) {
  578.                         // line 264
  579.                         echo "                                    ";
  580.                         if ( !twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse264)) {
  581.                             // line 265
  582.                             echo "                                        </tbody>
  583.                                     ";
  584.                         }
  585.                         // line 267
  586.                         echo "                                    <tbody>
  587.                                     ";
  588.                         // line 268
  589.                         $context["previous_event"] = $context["listener"];
  590.                         // line 269
  591.                         echo "                                ";
  592.                     }
  593.                     // line 270
  594.                     echo "
  595.                                 <tr>
  596.                                     <td class=\"font-normal\">";
  597.                     // line 272
  598.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["listener"], "stub", [], "any"falsefalsefalse272));
  599.                     echo "</td>
  600.                                     <td class=\"no-wrap\">";
  601.                     // line 273
  602.                     echo twig_escape_filter($this->envtwig_sprintf("%0.2f", (twig_get_attribute($this->env$this->source$context["listener"], "time", [], "any"falsefalsefalse273) * 1000)), "html"nulltrue);
  603.                     echo " ms</td>
  604.                                     <td class=\"font-normal\">";
  605.                     // line 274
  606.                     echo ((twig_get_attribute($this->env$this->source$context["listener"], "response", [], "any"falsefalsefalse274)) ? ($this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["listener"], "response", [], "any"falsefalsefalse274))) : ("(none)"));
  607.                     echo "</td>
  608.                                 </tr>
  609.                                 ";
  610.                     // line 277
  611.                     if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse277)) {
  612.                         // line 278
  613.                         echo "                                    </tbody>
  614.                                 ";
  615.                     }
  616.                     // line 280
  617.                     echo "                            ";
  618.                     ++$context['loop']['index0'];
  619.                     ++$context['loop']['index'];
  620.                     $context['loop']['first'] = false;
  621.                     if (isset($context['loop']['length'])) {
  622.                         --$context['loop']['revindex0'];
  623.                         --$context['loop']['revindex'];
  624.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  625.                     }
  626.                 }
  627.                 $_parent $context['_parent'];
  628.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['listener'], $context['_parent'], $context['loop']);
  629.                 $context array_intersect_key($context$_parent) + $_parent;
  630.                 // line 281
  631.                 echo "                        </table>
  632.                     ";
  633.             }
  634.             // line 283
  635.             echo "                </div>
  636.             </div>
  637.             <div class=\"tab ";
  638.             // line 286
  639.             echo ((twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "authenticators", [], "any"truetruefalse286)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "authenticators", [], "any"falsefalsefalse286), [])) : ([])))) ? ("disabled") : (""));
  640.             echo "\">
  641.                 <h3 class=\"tab-title\">Authenticators</h3>
  642.                 <div class=\"tab-content\">
  643.                     ";
  644.             // line 289
  645.             if ( !twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "authenticators", [], "any"truetruefalse289)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "authenticators", [], "any"falsefalsefalse289), [])) : ([])))) {
  646.                 // line 290
  647.                 echo "                        <table>
  648.                             <thead>
  649.                             <tr>
  650.                                 <th>Authenticator</th>
  651.                                 <th>Supports</th>
  652.                                 <th>Duration</th>
  653.                                 <th>Passport</th>
  654.                             </tr>
  655.                             </thead>
  656.                             ";
  657.                 // line 300
  658.                 $context["previous_event"] = twig_first($this->envtwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'300$this->source); })()), "listeners", [], "any"falsefalsefalse300));
  659.                 // line 301
  660.                 echo "                            ";
  661.                 $context['_parent'] = $context;
  662.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'301$this->source); })()), "authenticators", [], "any"falsefalsefalse301));
  663.                 $context['loop'] = [
  664.                   'parent' => $context['_parent'],
  665.                   'index0' => 0,
  666.                   'index'  => 1,
  667.                   'first'  => true,
  668.                 ];
  669.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  670.                     $length count($context['_seq']);
  671.                     $context['loop']['revindex0'] = $length 1;
  672.                     $context['loop']['revindex'] = $length;
  673.                     $context['loop']['length'] = $length;
  674.                     $context['loop']['last'] = === $length;
  675.                 }
  676.                 foreach ($context['_seq'] as $context["_key"] => $context["authenticator"]) {
  677.                     // line 302
  678.                     echo "                                ";
  679.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse302) || ($context["authenticator"] != (isset($context["previous_event"]) || array_key_exists("previous_event"$context) ? $context["previous_event"] : (function () { throw new RuntimeError('Variable "previous_event" does not exist.'302$this->source); })())))) {
  680.                         // line 303
  681.                         echo "                                    ";
  682.                         if ( !twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse303)) {
  683.                             // line 304
  684.                             echo "                                        </tbody>
  685.                                     ";
  686.                         }
  687.                         // line 306
  688.                         echo "
  689.                                     <tbody>
  690.                                     ";
  691.                         // line 308
  692.                         $context["previous_event"] = $context["authenticator"];
  693.                         // line 309
  694.                         echo "                                ";
  695.                     }
  696.                     // line 310
  697.                     echo "
  698.                                 <tr>
  699.                                     <td class=\"font-normal\">";
  700.                     // line 312
  701.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["authenticator"], "stub", [], "any"falsefalsefalse312));
  702.                     echo "</td>
  703.                                     <td class=\"no-wrap\">";
  704.                     // line 313
  705.                     echo twig_source($this->env, (("@WebProfiler/Icon/" . ((twig_get_attribute($this->env$this->source$context["authenticator"], "supports", [], "any"falsefalsefalse313)) ? ("yes") : ("no"))) . ".svg"));
  706.                     echo "</td>
  707.                                     <td class=\"no-wrap\">";
  708.                     // line 314
  709.                     echo twig_escape_filter($this->envtwig_sprintf("%0.2f", (twig_get_attribute($this->env$this->source$context["authenticator"], "duration", [], "any"falsefalsefalse314) * 1000)), "html"nulltrue);
  710.                     echo " ms</td>
  711.                                     <td class=\"font-normal\">";
  712.                     // line 315
  713.                     echo ((twig_get_attribute($this->env$this->source$context["authenticator"], "passport", [], "any"falsefalsefalse315)) ? ($this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["authenticator"], "passport", [], "any"falsefalsefalse315))) : ("(none)"));
  714.                     echo "</td>
  715.                                 </tr>
  716.                                 ";
  717.                     // line 318
  718.                     if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse318)) {
  719.                         // line 319
  720.                         echo "                                    </tbody>
  721.                                 ";
  722.                     }
  723.                     // line 321
  724.                     echo "                            ";
  725.                     ++$context['loop']['index0'];
  726.                     ++$context['loop']['index'];
  727.                     $context['loop']['first'] = false;
  728.                     if (isset($context['loop']['length'])) {
  729.                         --$context['loop']['revindex0'];
  730.                         --$context['loop']['revindex'];
  731.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  732.                     }
  733.                 }
  734.                 $_parent $context['_parent'];
  735.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['authenticator'], $context['_parent'], $context['loop']);
  736.                 $context array_intersect_key($context$_parent) + $_parent;
  737.                 // line 322
  738.                 echo "                        </table>
  739.                     ";
  740.             } else {
  741.                 // line 324
  742.                 echo "                        <div class=\"empty\">
  743.                             <p>No authenticators have been recorded. Check previous profiles on your authentication endpoint.</p>
  744.                         </div>
  745.                     ";
  746.             }
  747.             // line 328
  748.             echo "                </div>
  749.             </div>
  750.             <div class=\"tab ";
  751.             // line 331
  752.             echo ((twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "accessDecisionLog", [], "any"truetruefalse331)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "accessDecisionLog", [], "any"falsefalsefalse331), [])) : ([])))) ? ("disabled") : (""));
  753.             echo "\">
  754.                 <h3 class=\"tab-title\">Access Decision</h3>
  755.                 <div class=\"tab-content\">
  756.                     ";
  757.             // line 334
  758.             if ( !twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "voters", [], "any"truetruefalse334)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "voters", [], "any"falsefalsefalse334), [])) : ([])))) {
  759.                 // line 335
  760.                 echo "                        <div class=\"metrics\">
  761.                             <div class=\"metric\">
  762.                                 <span class=\"value\">";
  763.                 // line 337
  764.                 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "voterStrategy", [], "any"truetruefalse337)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "voterStrategy", [], "any"falsefalsefalse337), "unknown")) : ("unknown")), "html"nulltrue);
  765.                 echo "</span>
  766.                                 <span class=\"label\">Strategy</span>
  767.                             </div>
  768.                         </div>
  769.                         <table class=\"voters\">
  770.                             <thead>
  771.                                 <tr>
  772.                                     <th>#</th>
  773.                                     <th>Voter class</th>
  774.                                 </tr>
  775.                             </thead>
  776.                             <tbody>
  777.                                 ";
  778.                 // line 351
  779.                 $context['_parent'] = $context;
  780.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'351$this->source); })()), "voters", [], "any"falsefalsefalse351));
  781.                 $context['loop'] = [
  782.                   'parent' => $context['_parent'],
  783.                   'index0' => 0,
  784.                   'index'  => 1,
  785.                   'first'  => true,
  786.                 ];
  787.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  788.                     $length count($context['_seq']);
  789.                     $context['loop']['revindex0'] = $length 1;
  790.                     $context['loop']['revindex'] = $length;
  791.                     $context['loop']['length'] = $length;
  792.                     $context['loop']['last'] = === $length;
  793.                 }
  794.                 foreach ($context['_seq'] as $context["_key"] => $context["voter"]) {
  795.                     // line 352
  796.                     echo "                                    <tr>
  797.                                         <td class=\"font-normal text-small text-muted nowrap\">";
  798.                     // line 353
  799.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse353), "html"nulltrue);
  800.                     echo "</td>
  801.                                         <td class=\"font-normal\">";
  802.                     // line 354
  803.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env$context["voter"]);
  804.                     echo "</td>
  805.                                     </tr>
  806.                                 ";
  807.                     ++$context['loop']['index0'];
  808.                     ++$context['loop']['index'];
  809.                     $context['loop']['first'] = false;
  810.                     if (isset($context['loop']['length'])) {
  811.                         --$context['loop']['revindex0'];
  812.                         --$context['loop']['revindex'];
  813.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  814.                     }
  815.                 }
  816.                 $_parent $context['_parent'];
  817.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['voter'], $context['_parent'], $context['loop']);
  818.                 $context array_intersect_key($context$_parent) + $_parent;
  819.                 // line 357
  820.                 echo "                            </tbody>
  821.                         </table>
  822.                     ";
  823.             }
  824.             // line 360
  825.             echo "                    ";
  826.             if ( !twig_test_empty(((twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "accessDecisionLog", [], "any"truetruefalse360)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "accessDecisionLog", [], "any"falsefalsefalse360), [])) : ([])))) {
  827.                 // line 361
  828.                 echo "                        <h2>Access decision log</h2>
  829.                         <table class=\"decision-log\">
  830.                             <col style=\"width: 30px\">
  831.                             <col style=\"width: 120px\">
  832.                             <col style=\"width: 25%\">
  833.                             <col style=\"width: 60%\">
  834.                             <thead>
  835.                                 <tr>
  836.                                     <th>#</th>
  837.                                     <th>Result</th>
  838.                                     <th>Attributes</th>
  839.                                     <th>Object</th>
  840.                                 </tr>
  841.                             </thead>
  842.                             <tbody>
  843.                                 ";
  844.                 // line 379
  845.                 $context['_parent'] = $context;
  846.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'379$this->source); })()), "accessDecisionLog", [], "any"falsefalsefalse379));
  847.                 $context['loop'] = [
  848.                   'parent' => $context['_parent'],
  849.                   'index0' => 0,
  850.                   'index'  => 1,
  851.                   'first'  => true,
  852.                 ];
  853.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  854.                     $length count($context['_seq']);
  855.                     $context['loop']['revindex0'] = $length 1;
  856.                     $context['loop']['revindex'] = $length;
  857.                     $context['loop']['length'] = $length;
  858.                     $context['loop']['last'] = === $length;
  859.                 }
  860.                 foreach ($context['_seq'] as $context["_key"] => $context["decision"]) {
  861.                     // line 380
  862.                     echo "                                    <tr class=\"voter_result\">
  863.                                         <td class=\"font-normal text-small text-muted nowrap\">";
  864.                     // line 381
  865.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse381), "html"nulltrue);
  866.                     echo "</td>
  867.                                         <td class=\"font-normal\">
  868.                                             ";
  869.                     // line 383
  870.                     echo ((twig_get_attribute($this->env$this->source$context["decision"], "result", [], "any"falsefalsefalse383)) ? ("<span class=\"label status-success same-width\">GRANTED</span>") : ("<span class=\"label status-error same-width\">DENIED</span>"));
  871.                     // line 386
  872.                     echo "
  873.                                         </td>
  874.                                         <td>
  875.                                             ";
  876.                     // line 389
  877.                     if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["decision"], "attributes", [], "any"falsefalsefalse389)) == 1)) {
  878.                         // line 390
  879.                         echo "                                                ";
  880.                         $context["attribute"] = twig_first($this->envtwig_get_attribute($this->env$this->source$context["decision"], "attributes", [], "any"falsefalsefalse390));
  881.                         // line 391
  882.                         echo "                                                ";
  883.                         if (twig_get_attribute($this->env$this->source, ($context["attribute"] ?? null), "expression", [], "any"truetruefalse391)) {
  884.                             // line 392
  885.                             echo "                                                    Expression: <pre><code>";
  886.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["attribute"]) || array_key_exists("attribute"$context) ? $context["attribute"] : (function () { throw new RuntimeError('Variable "attribute" does not exist.'392$this->source); })()), "expression", [], "any"falsefalsefalse392), "html"nulltrue);
  887.                             echo "</code></pre>
  888.                                                 ";
  889.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 393
  890. (isset($context["attribute"]) || array_key_exists("attribute"$context) ? $context["attribute"] : (function () { throw new RuntimeError('Variable "attribute" does not exist.'393$this->source); })()), "type", [], "any"falsefalsefalse393) == "string")) {
  891.                             // line 394
  892.                             echo "                                                    ";
  893.                             echo twig_escape_filter($this->env, (isset($context["attribute"]) || array_key_exists("attribute"$context) ? $context["attribute"] : (function () { throw new RuntimeError('Variable "attribute" does not exist.'394$this->source); })()), "html"nulltrue);
  894.                             echo "
  895.                                                 ";
  896.                         } else {
  897.                             // line 396
  898.                             echo "                                                     ";
  899.                             echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env, (isset($context["attribute"]) || array_key_exists("attribute"$context) ? $context["attribute"] : (function () { throw new RuntimeError('Variable "attribute" does not exist.'396$this->source); })()));
  900.                             echo "
  901.                                                 ";
  902.                         }
  903.                         // line 398
  904.                         echo "                                            ";
  905.                     } else {
  906.                         // line 399
  907.                         echo "                                                ";
  908.                         echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["decision"], "attributes", [], "any"falsefalsefalse399));
  909.                         echo "
  910.                                             ";
  911.                     }
  912.                     // line 401
  913.                     echo "                                        </td>
  914.                                         <td>";
  915.                     // line 402
  916.                     echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["decision"], "seek", [=> "object"], "method"falsefalsefalse402));
  917.                     echo "</td>
  918.                                     </tr>
  919.                                     <tr class=\"voter_details\">
  920.                                         <td></td>
  921.                                         <td colspan=\"3\">
  922.                                         ";
  923.                     // line 407
  924.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["decision"], "voter_details", [], "any"falsefalsefalse407))) {
  925.                         // line 408
  926.                         echo "                                            ";
  927.                         $context["voter_details_id"] = ("voter-details-" twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse408));
  928.                         // line 409
  929.                         echo "                                            <div id=\"";
  930.                         echo twig_escape_filter($this->env, (isset($context["voter_details_id"]) || array_key_exists("voter_details_id"$context) ? $context["voter_details_id"] : (function () { throw new RuntimeError('Variable "voter_details_id" does not exist.'409$this->source); })()), "html"nulltrue);
  931.                         echo "\" class=\"sf-toggle-content sf-toggle-hidden\">
  932.                                                 <table>
  933.                                                    <tbody>
  934.                                                     ";
  935.                         // line 412
  936.                         $context['_parent'] = $context;
  937.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["decision"], "voter_details", [], "any"falsefalsefalse412));
  938.                         foreach ($context['_seq'] as $context["_key"] => $context["voter_detail"]) {
  939.                             // line 413
  940.                             echo "                                                        <tr>
  941.                                                             <td class=\"font-normal\">";
  942.                             // line 414
  943.                             echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["voter_detail"], "class", [], "array"falsefalsefalse414));
  944.                             echo "</td>
  945.                                                             ";
  946.                             // line 415
  947.                             if ((twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'415$this->source); })()), "voterStrategy", [], "any"falsefalsefalse415) == "unanimous")) {
  948.                                 // line 416
  949.                                 echo "                                                            <td class=\"font-normal text-small\">attribute ";
  950.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["voter_detail"], "attributes", [], "array"falsefalsefalse416), 0, [], "array"falsefalsefalse416), "html"nulltrue);
  951.                                 echo "</td>
  952.                                                             ";
  953.                             }
  954.                             // line 418
  955.                             echo "                                                            <td class=\"font-normal text-small\">
  956.                                                                 ";
  957.                             // line 419
  958.                             if ((twig_get_attribute($this->env$this->source$context["voter_detail"], "vote", [], "array"falsefalsefalse419) == twig_constant("Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::ACCESS_GRANTED"))) {
  959.                                 // line 420
  960.                                 echo "                                                                    ACCESS GRANTED
  961.                                                                 ";
  962.                             } elseif ((twig_get_attribute($this->env$this->source,                             // line 421
  963. $context["voter_detail"], "vote", [], "array"falsefalsefalse421) == twig_constant("Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::ACCESS_ABSTAIN"))) {
  964.                                 // line 422
  965.                                 echo "                                                                    ACCESS ABSTAIN
  966.                                                                 ";
  967.                             } elseif ((twig_get_attribute($this->env$this->source,                             // line 423
  968. $context["voter_detail"], "vote", [], "array"falsefalsefalse423) == twig_constant("Symfony\\Component\\Security\\Core\\Authorization\\Voter\\VoterInterface::ACCESS_DENIED"))) {
  969.                                 // line 424
  970.                                 echo "                                                                    ACCESS DENIED
  971.                                                                 ";
  972.                             } else {
  973.                                 // line 426
  974.                                 echo "                                                                    unknown (";
  975.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["voter_detail"], "vote", [], "array"falsefalsefalse426), "html"nulltrue);
  976.                                 echo ")
  977.                                                                 ";
  978.                             }
  979.                             // line 428
  980.                             echo "                                                            </td>
  981.                                                         </tr>
  982.                                                     ";
  983.                         }
  984.                         $_parent $context['_parent'];
  985.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['voter_detail'], $context['_parent'], $context['loop']);
  986.                         $context array_intersect_key($context$_parent) + $_parent;
  987.                         // line 431
  988.                         echo "                                                    </tbody>
  989.                                                 </table>
  990.                                             </div>
  991.                                             <a class=\"btn btn-link text-small sf-toggle\" data-toggle-selector=\"#";
  992.                         // line 434
  993.                         echo twig_escape_filter($this->env, (isset($context["voter_details_id"]) || array_key_exists("voter_details_id"$context) ? $context["voter_details_id"] : (function () { throw new RuntimeError('Variable "voter_details_id" does not exist.'434$this->source); })()), "html"nulltrue);
  994.                         echo "\" data-toggle-alt-content=\"Hide voter details\">Show voter details</a>
  995.                                         ";
  996.                     }
  997.                     // line 436
  998.                     echo "                                        </td>
  999.                                     </tr>
  1000.                                 ";
  1001.                     ++$context['loop']['index0'];
  1002.                     ++$context['loop']['index'];
  1003.                     $context['loop']['first'] = false;
  1004.                     if (isset($context['loop']['length'])) {
  1005.                         --$context['loop']['revindex0'];
  1006.                         --$context['loop']['revindex'];
  1007.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1008.                     }
  1009.                 }
  1010.                 $_parent $context['_parent'];
  1011.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['decision'], $context['_parent'], $context['loop']);
  1012.                 $context array_intersect_key($context$_parent) + $_parent;
  1013.                 // line 439
  1014.                 echo "                            </tbody>
  1015.                         </table>
  1016.                     </div>
  1017.                 ";
  1018.             }
  1019.             // line 443
  1020.             echo "            </div>
  1021.         </div>
  1022.     ";
  1023.         }
  1024.         
  1025.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1026.         
  1027.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1028.     }
  1029.     public function getTemplateName()
  1030.     {
  1031.         return "@Security/Collector/security.html.twig";
  1032.     }
  1033.     public function isTraitable()
  1034.     {
  1035.         return false;
  1036.     }
  1037.     public function getDebugInfo()
  1038.     {
  1039.         return array (  1071 => 443,  1065 => 439,  1049 => 436,  1044 => 434,  1039 => 431,  1031 => 428,  1025 => 426,  1021 => 424,  1019 => 423,  1016 => 422,  1014 => 421,  1011 => 420,  1009 => 419,  1006 => 418,  1000 => 416,  998 => 415,  994 => 414,  991 => 413,  987 => 412,  980 => 409,  977 => 408,  975 => 407,  967 => 402,  964 => 401,  958 => 399,  955 => 398,  949 => 396,  943 => 394,  941 => 393,  936 => 392,  933 => 391,  930 => 390,  928 => 389,  923 => 386,  921 => 383,  916 => 381,  913 => 380,  896 => 379,  876 => 361,  873 => 360,  868 => 357,  851 => 354,  847 => 353,  844 => 352,  827 => 351,  810 => 337,  806 => 335,  804 => 334,  798 => 331,  793 => 328,  787 => 324,  783 => 322,  769 => 321,  765 => 319,  763 => 318,  757 => 315,  753 => 314,  749 => 313,  745 => 312,  741 => 310,  738 => 309,  736 => 308,  732 => 306,  728 => 304,  725 => 303,  722 => 302,  704 => 301,  702 => 300,  690 => 290,  688 => 289,  682 => 286,  677 => 283,  673 => 281,  659 => 280,  655 => 278,  653 => 277,  647 => 274,  643 => 273,  639 => 272,  635 => 270,  632 => 269,  630 => 268,  627 => 267,  623 => 265,  620 => 264,  617 => 263,  599 => 262,  597 => 261,  586 => 252,  580 => 248,  578 => 247,  572 => 244,  567 => 241,  564 => 240,  556 => 235,  549 => 231,  542 => 227,  535 => 223,  528 => 219,  521 => 215,  514 => 211,  501 => 200,  499 => 199,  491 => 194,  484 => 190,  477 => 186,  473 => 184,  471 => 183,  465 => 180,  460 => 177,  454 => 173,  452 => 172,  448 => 170,  442 => 167,  438 => 165,  436 => 164,  433 => 163,  427 => 160,  423 => 158,  421 => 157,  416 => 154,  412 => 152,  410 => 151,  405 => 149,  386 => 133,  378 => 128,  374 => 126,  372 => 125,  365 => 121,  362 => 120,  360 => 119,  357 => 118,  347 => 117,  333 => 112,  328 => 111,  318 => 110,  305 => 106,  302 => 105,  298 => 103,  292 => 99,  289 => 98,  284 => 95,  278 => 93,  276 => 92,  272 => 91,  267 => 88,  265 => 87,  262 => 86,  256 => 83,  252 => 81,  250 => 80,  247 => 79,  240 => 74,  234 => 71,  229 => 68,  224 => 65,  221 => 64,  215 => 61,  211 => 60,  208 => 59,  206 => 58,  201 => 57,  198 => 56,  194 => 54,  192 => 53,  187 => 50,  185 => 49,  180 => 46,  174 => 43,  170 => 42,  167 => 41,  165 => 40,  160 => 39,  158 => 38,  147 => 32,  139 => 27,  135 => 25,  132 => 24,  130 => 23,  126 => 21,  119 => 17,  114 => 14,  111 => 13,  109 => 12,  106 => 11,  101 => 9,  96 => 8,  93 => 7,  90 => 6,  80 => 5,  61 => 3,  38 => 1,);
  1040.     }
  1041.     public function getSourceContext()
  1042.     {
  1043.         return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  1044. {% block page_title 'Security' %}
  1045. {% block toolbar %}
  1046.     {% if collector.firewall %}
  1047.         {% set icon %}
  1048.             {{ source('@Security/Collector/icon.svg') }}
  1049.             <span class=\"sf-toolbar-value\">{{ collector.user|default('n/a') }}</span>
  1050.         {% endset %}
  1051.         {% set text %}
  1052.             {% if collector.impersonated %}
  1053.                 <div class=\"sf-toolbar-info-group\">
  1054.                     <div class=\"sf-toolbar-info-piece\">
  1055.                         <b>Impersonator</b>
  1056.                         <span>{{ collector.impersonatorUser }}</span>
  1057.                     </div>
  1058.                 </div>
  1059.             {% endif %}
  1060.             <div class=\"sf-toolbar-info-group\">
  1061.                 {% if collector.enabled %}
  1062.                     {% if collector.token %}
  1063.                         <div class=\"sf-toolbar-info-piece\">
  1064.                             <b>Logged in as</b>
  1065.                             <span>{{ collector.user }}</span>
  1066.                         </div>
  1067.                         <div class=\"sf-toolbar-info-piece\">
  1068.                             <b>Authenticated</b>
  1069.                             <span class=\"sf-toolbar-status sf-toolbar-status-{{ collector.authenticated ? 'green' : 'yellow' }}\">{{ collector.authenticated ? 'Yes' : 'No' }}</span>
  1070.                         </div>
  1071.                         <div class=\"sf-toolbar-info-piece\">
  1072.                             <b>Roles</b>
  1073.                             <span>
  1074.                                 {% set remainingRoles = collector.roles|slice(1) %}
  1075.                                 {{ collector.roles|first }}
  1076.                                 {% if remainingRoles is not empty %}
  1077.                                     +
  1078.                                     <abbr title=\"{{ remainingRoles|join(', ') }}\">
  1079.                                         {{ remainingRoles|length }} more
  1080.                                     </abbr>
  1081.                                 {% endif %}
  1082.                             </span>
  1083.                         </div>
  1084.                         {% if collector.supportsRoleHierarchy %}
  1085.                             <div class=\"sf-toolbar-info-piece\">
  1086.                                 <b>Inherited Roles</b>
  1087.                                 <span>
  1088.                                     {% if collector.inheritedRoles is empty %}
  1089.                                         none
  1090.                                     {% else %}
  1091.                                         {% set remainingRoles = collector.inheritedRoles|slice(1) %}
  1092.                                         {{ collector.inheritedRoles|first }}
  1093.                                         {% if remainingRoles is not empty %}
  1094.                                             +
  1095.                                             <abbr title=\"{{ remainingRoles|join(', ') }}\">
  1096.                                                 {{ remainingRoles|length }} more
  1097.                                             </abbr>
  1098.                                         {% endif %}
  1099.                                     {% endif %}
  1100.                                 </span>
  1101.                             </div>
  1102.                         {% endif %}
  1103.                         <div class=\"sf-toolbar-info-piece\">
  1104.                             <b>Token class</b>
  1105.                             <span>{{ collector.tokenClass|abbr_class }}</span>
  1106.                         </div>
  1107.                     {% else %}
  1108.                         <div class=\"sf-toolbar-info-piece\">
  1109.                             <b>Authenticated</b>
  1110.                             <span class=\"sf-toolbar-status sf-toolbar-status-yellow\">No</span>
  1111.                         </div>
  1112.                     {% endif %}
  1113.                     {% if collector.firewall %}
  1114.                         <div class=\"sf-toolbar-info-piece\">
  1115.                             <b>Firewall name</b>
  1116.                             <span>{{ collector.firewall.name }}</span>
  1117.                         </div>
  1118.                     {% endif %}
  1119.                     {% if collector.token and collector.logoutUrl %}
  1120.                         <div class=\"sf-toolbar-info-piece\">
  1121.                             <b>Actions</b>
  1122.                             <span>
  1123.                                 <a href=\"{{ collector.logoutUrl }}\">Logout</a>
  1124.                                 {% if collector.impersonated and collector.impersonationExitPath %}
  1125.                                     | <a href=\"{{ collector.impersonationExitPath }}\">Exit impersonation</a>
  1126.                                 {% endif %}
  1127.                             </span>
  1128.                         </div>
  1129.                     {% endif %}
  1130.                 {% else %}
  1131.                     <div class=\"sf-toolbar-info-piece\">
  1132.                         <span>The security is disabled.</span>
  1133.                     </div>
  1134.                 {% endif %}
  1135.             </div>
  1136.         {% endset %}
  1137.         {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }}
  1138.     {% endif %}
  1139. {% endblock %}
  1140. {% block menu %}
  1141.     <span class=\"label {{ not collector.firewall or not collector.token ? 'disabled' }}\">
  1142.         <span class=\"icon\">{{ source('@Security/Collector/icon.svg') }}</span>
  1143.         <strong>Security</strong>
  1144.     </span>
  1145. {% endblock %}
  1146. {% block panel %}
  1147.     <h2>Security</h2>
  1148.     {% if collector.enabled %}
  1149.         <div class=\"sf-tabs\">
  1150.             <div class=\"tab {{ collector.token is empty ? 'disabled' }}\">
  1151.                 <h3 class=\"tab-title\">Token</h3>
  1152.                 <div class=\"tab-content\">
  1153.                     {% if collector.token %}
  1154.                         <div class=\"metrics\">
  1155.                             <div class=\"metric\">
  1156.                                 <span class=\"value\">{{ collector.user }}</span>
  1157.                                 <span class=\"label\">Username</span>
  1158.                             </div>
  1159.                             <div class=\"metric\">
  1160.                                 <span class=\"value\">{{ source('@WebProfiler/Icon/' ~ (collector.authenticated ? 'yes' : 'no') ~ '.svg') }}</span>
  1161.                                 <span class=\"label\">Authenticated</span>
  1162.                             </div>
  1163.                         </div>
  1164.                         <table>
  1165.                             <thead>
  1166.                                 <tr>
  1167.                                     <th scope=\"col\" class=\"key\">Property</th>
  1168.                                     <th scope=\"col\">Value</th>
  1169.                                 </tr>
  1170.                             </thead>
  1171.                             <tbody>
  1172.                                 <tr>
  1173.                                     <th>Roles</th>
  1174.                                     <td>
  1175.                                         {{ collector.roles is empty ? 'none' : profiler_dump(collector.roles, maxDepth=1) }}
  1176.                                         {% if not collector.authenticated and collector.roles is empty %}
  1177.                                             <p class=\"help\">User is not authenticated probably because they have no roles.</p>
  1178.                                         {% endif %}
  1179.                                     </td>
  1180.                                 </tr>
  1181.                                 {% if collector.supportsRoleHierarchy %}
  1182.                                 <tr>
  1183.                                     <th>Inherited Roles</th>
  1184.                                     <td>{{ collector.inheritedRoles is empty ? 'none' : profiler_dump(collector.inheritedRoles, maxDepth=1) }}</td>
  1185.                                 </tr>
  1186.                                 {% endif %}
  1187.                                 {% if collector.token %}
  1188.                                 <tr>
  1189.                                     <th>Token</th>
  1190.                                     <td>{{ profiler_dump(collector.token) }}</td>
  1191.                                 </tr>
  1192.                                 {% endif %}
  1193.                             </tbody>
  1194.                         </table>
  1195.                     {% elseif collector.enabled %}
  1196.                         <div class=\"empty\">
  1197.                             <p>There is no security token.</p>
  1198.                         </div>
  1199.                     {% endif %}
  1200.                 </div>
  1201.             </div>
  1202.             <div class=\"tab {{ (not collector.firewall or collector.firewall.security_enabled is empty) ? 'disabled' }}\">
  1203.                 <h3 class=\"tab-title\">Firewall</h3>
  1204.                 <div class=\"tab-content\">
  1205.                     {% if collector.firewall %}
  1206.                         <div class=\"metrics\">
  1207.                             <div class=\"metric\">
  1208.                                 <span class=\"value\">{{ collector.firewall.name }}</span>
  1209.                                 <span class=\"label\">Name</span>
  1210.                             </div>
  1211.                             <div class=\"metric\">
  1212.                                 <span class=\"value\">{{ source('@WebProfiler/Icon/' ~ (collector.firewall.security_enabled ? 'yes' : 'no') ~ '.svg') }}</span>
  1213.                                 <span class=\"label\">Security enabled</span>
  1214.                             </div>
  1215.                             <div class=\"metric\">
  1216.                                 <span class=\"value\">{{ source('@WebProfiler/Icon/' ~ (collector.firewall.stateless ? 'yes' : 'no') ~ '.svg') }}</span>
  1217.                                 <span class=\"label\">Stateless</span>
  1218.                             </div>
  1219.                         </div>
  1220.                         {% if collector.firewall.security_enabled %}
  1221.                             <h4>Configuration</h4>
  1222.                             <table>
  1223.                                 <thead>
  1224.                                     <tr>
  1225.                                         <th scope=\"col\" class=\"key\">Key</th>
  1226.                                         <th scope=\"col\">Value</th>
  1227.                                     </tr>
  1228.                                 </thead>
  1229.                                 <tbody>
  1230.                                     <tr>
  1231.                                         <th>provider</th>
  1232.                                         <td>{{ collector.firewall.provider ?: '(none)' }}</td>
  1233.                                     </tr>
  1234.                                     <tr>
  1235.                                         <th>context</th>
  1236.                                         <td>{{ collector.firewall.context ?: '(none)' }}</td>
  1237.                                     </tr>
  1238.                                     <tr>
  1239.                                         <th>entry_point</th>
  1240.                                         <td>{{ collector.firewall.entry_point ?: '(none)' }}</td>
  1241.                                     </tr>
  1242.                                     <tr>
  1243.                                         <th>user_checker</th>
  1244.                                         <td>{{ collector.firewall.user_checker ?: '(none)' }}</td>
  1245.                                     </tr>
  1246.                                     <tr>
  1247.                                         <th>access_denied_handler</th>
  1248.                                         <td>{{ collector.firewall.access_denied_handler ?: '(none)' }}</td>
  1249.                                     </tr>
  1250.                                     <tr>
  1251.                                         <th>access_denied_url</th>
  1252.                                         <td>{{ collector.firewall.access_denied_url ?: '(none)' }}</td>
  1253.                                     </tr>
  1254.                                     <tr>
  1255.                                         <th>authenticators</th>
  1256.                                         <td>{{ collector.firewall.authenticators is empty ? '(none)' : profiler_dump(collector.firewall.authenticators, maxDepth=1) }}</td>
  1257.                                     </tr>
  1258.                                 </tbody>
  1259.                             </table>
  1260.                         {% endif %}
  1261.                     {% endif %}
  1262.                 </div>
  1263.             </div>
  1264.             <div class=\"tab {{ collector.listeners|default([]) is empty ? 'disabled' }}\">
  1265.                 <h3 class=\"tab-title\">Listeners</h3>
  1266.                 <div class=\"tab-content\">
  1267.                     {% if collector.listeners|default([]) is empty %}
  1268.                         <div class=\"empty\">
  1269.                             <p>No security listeners have been recorded. Check that debugging is enabled in the kernel.</p>
  1270.                         </div>
  1271.                     {% else %}
  1272.                         <table>
  1273.                             <thead>
  1274.                             <tr>
  1275.                                 <th>Listener</th>
  1276.                                 <th>Duration</th>
  1277.                                 <th>Response</th>
  1278.                             </tr>
  1279.                             </thead>
  1280.                             {% set previous_event = (collector.listeners|first) %}
  1281.                             {% for listener in collector.listeners %}
  1282.                                 {% if loop.first or listener != previous_event %}
  1283.                                     {% if not loop.first %}
  1284.                                         </tbody>
  1285.                                     {% endif %}
  1286.                                     <tbody>
  1287.                                     {% set previous_event = listener %}
  1288.                                 {% endif %}
  1289.                                 <tr>
  1290.                                     <td class=\"font-normal\">{{ profiler_dump(listener.stub) }}</td>
  1291.                                     <td class=\"no-wrap\">{{ '%0.2f'|format(listener.time * 1000) }} ms</td>
  1292.                                     <td class=\"font-normal\">{{ listener.response ? profiler_dump(listener.response) : '(none)' }}</td>
  1293.                                 </tr>
  1294.                                 {% if loop.last %}
  1295.                                     </tbody>
  1296.                                 {% endif %}
  1297.                             {% endfor %}
  1298.                         </table>
  1299.                     {% endif %}
  1300.                 </div>
  1301.             </div>
  1302.             <div class=\"tab {{ collector.authenticators|default([]) is empty ? 'disabled' }}\">
  1303.                 <h3 class=\"tab-title\">Authenticators</h3>
  1304.                 <div class=\"tab-content\">
  1305.                     {% if collector.authenticators|default([]) is not empty %}
  1306.                         <table>
  1307.                             <thead>
  1308.                             <tr>
  1309.                                 <th>Authenticator</th>
  1310.                                 <th>Supports</th>
  1311.                                 <th>Duration</th>
  1312.                                 <th>Passport</th>
  1313.                             </tr>
  1314.                             </thead>
  1315.                             {% set previous_event = (collector.listeners|first) %}
  1316.                             {% for authenticator in collector.authenticators %}
  1317.                                 {% if loop.first or authenticator != previous_event %}
  1318.                                     {% if not loop.first %}
  1319.                                         </tbody>
  1320.                                     {% endif %}
  1321.                                     <tbody>
  1322.                                     {% set previous_event = authenticator %}
  1323.                                 {% endif %}
  1324.                                 <tr>
  1325.                                     <td class=\"font-normal\">{{ profiler_dump(authenticator.stub) }}</td>
  1326.                                     <td class=\"no-wrap\">{{ source('@WebProfiler/Icon/' ~ (authenticator.supports ? 'yes' : 'no') ~ '.svg') }}</td>
  1327.                                     <td class=\"no-wrap\">{{ '%0.2f'|format(authenticator.duration * 1000) }} ms</td>
  1328.                                     <td class=\"font-normal\">{{ authenticator.passport ? profiler_dump(authenticator.passport) : '(none)' }}</td>
  1329.                                 </tr>
  1330.                                 {% if loop.last %}
  1331.                                     </tbody>
  1332.                                 {% endif %}
  1333.                             {% endfor %}
  1334.                         </table>
  1335.                     {% else %}
  1336.                         <div class=\"empty\">
  1337.                             <p>No authenticators have been recorded. Check previous profiles on your authentication endpoint.</p>
  1338.                         </div>
  1339.                     {% endif %}
  1340.                 </div>
  1341.             </div>
  1342.             <div class=\"tab {{ collector.accessDecisionLog|default([]) is empty ? 'disabled' }}\">
  1343.                 <h3 class=\"tab-title\">Access Decision</h3>
  1344.                 <div class=\"tab-content\">
  1345.                     {% if collector.voters|default([]) is not empty %}
  1346.                         <div class=\"metrics\">
  1347.                             <div class=\"metric\">
  1348.                                 <span class=\"value\">{{ collector.voterStrategy|default('unknown') }}</span>
  1349.                                 <span class=\"label\">Strategy</span>
  1350.                             </div>
  1351.                         </div>
  1352.                         <table class=\"voters\">
  1353.                             <thead>
  1354.                                 <tr>
  1355.                                     <th>#</th>
  1356.                                     <th>Voter class</th>
  1357.                                 </tr>
  1358.                             </thead>
  1359.                             <tbody>
  1360.                                 {% for voter in collector.voters %}
  1361.                                     <tr>
  1362.                                         <td class=\"font-normal text-small text-muted nowrap\">{{ loop.index }}</td>
  1363.                                         <td class=\"font-normal\">{{ profiler_dump(voter) }}</td>
  1364.                                     </tr>
  1365.                                 {% endfor %}
  1366.                             </tbody>
  1367.                         </table>
  1368.                     {% endif %}
  1369.                     {% if collector.accessDecisionLog|default([]) is not empty %}
  1370.                         <h2>Access decision log</h2>
  1371.                         <table class=\"decision-log\">
  1372.                             <col style=\"width: 30px\">
  1373.                             <col style=\"width: 120px\">
  1374.                             <col style=\"width: 25%\">
  1375.                             <col style=\"width: 60%\">
  1376.                             <thead>
  1377.                                 <tr>
  1378.                                     <th>#</th>
  1379.                                     <th>Result</th>
  1380.                                     <th>Attributes</th>
  1381.                                     <th>Object</th>
  1382.                                 </tr>
  1383.                             </thead>
  1384.                             <tbody>
  1385.                                 {% for decision in collector.accessDecisionLog %}
  1386.                                     <tr class=\"voter_result\">
  1387.                                         <td class=\"font-normal text-small text-muted nowrap\">{{ loop.index }}</td>
  1388.                                         <td class=\"font-normal\">
  1389.                                             {{ decision.result
  1390.                                                 ? '<span class=\"label status-success same-width\">GRANTED</span>'
  1391.                                                 : '<span class=\"label status-error same-width\">DENIED</span>'
  1392.                                             }}
  1393.                                         </td>
  1394.                                         <td>
  1395.                                             {% if decision.attributes|length == 1 %}
  1396.                                                 {% set attribute = decision.attributes|first %}
  1397.                                                 {% if attribute.expression is defined %}
  1398.                                                     Expression: <pre><code>{{ attribute.expression }}</code></pre>
  1399.                                                 {% elseif attribute.type == 'string' %}
  1400.                                                     {{ attribute }}
  1401.                                                 {% else %}
  1402.                                                      {{ profiler_dump(attribute) }}
  1403.                                                 {% endif %}
  1404.                                             {% else %}
  1405.                                                 {{ profiler_dump(decision.attributes) }}
  1406.                                             {% endif %}
  1407.                                         </td>
  1408.                                         <td>{{ profiler_dump(decision.seek('object')) }}</td>
  1409.                                     </tr>
  1410.                                     <tr class=\"voter_details\">
  1411.                                         <td></td>
  1412.                                         <td colspan=\"3\">
  1413.                                         {% if decision.voter_details is not empty %}
  1414.                                             {% set voter_details_id = 'voter-details-' ~ loop.index %}
  1415.                                             <div id=\"{{ voter_details_id }}\" class=\"sf-toggle-content sf-toggle-hidden\">
  1416.                                                 <table>
  1417.                                                    <tbody>
  1418.                                                     {% for voter_detail in decision.voter_details %}
  1419.                                                         <tr>
  1420.                                                             <td class=\"font-normal\">{{ profiler_dump(voter_detail['class']) }}</td>
  1421.                                                             {% if collector.voterStrategy == 'unanimous' %}
  1422.                                                             <td class=\"font-normal text-small\">attribute {{ voter_detail['attributes'][0] }}</td>
  1423.                                                             {% endif %}
  1424.                                                             <td class=\"font-normal text-small\">
  1425.                                                                 {% if voter_detail['vote'] == constant('Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\VoterInterface::ACCESS_GRANTED') %}
  1426.                                                                     ACCESS GRANTED
  1427.                                                                 {% elseif voter_detail['vote'] == constant('Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\VoterInterface::ACCESS_ABSTAIN') %}
  1428.                                                                     ACCESS ABSTAIN
  1429.                                                                 {% elseif voter_detail['vote'] == constant('Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\VoterInterface::ACCESS_DENIED') %}
  1430.                                                                     ACCESS DENIED
  1431.                                                                 {% else %}
  1432.                                                                     unknown ({{ voter_detail['vote'] }})
  1433.                                                                 {% endif %}
  1434.                                                             </td>
  1435.                                                         </tr>
  1436.                                                     {% endfor %}
  1437.                                                     </tbody>
  1438.                                                 </table>
  1439.                                             </div>
  1440.                                             <a class=\"btn btn-link text-small sf-toggle\" data-toggle-selector=\"#{{ voter_details_id }}\" data-toggle-alt-content=\"Hide voter details\">Show voter details</a>
  1441.                                         {% endif %}
  1442.                                         </td>
  1443.                                     </tr>
  1444.                                 {% endfor %}
  1445.                             </tbody>
  1446.                         </table>
  1447.                     </div>
  1448.                 {% endif %}
  1449.             </div>
  1450.         </div>
  1451.     {% endif %}
  1452. {% endblock %}
  1453. ""@Security/Collector/security.html.twig""/home/bestofi/bestof/vendor/symfony/security-bundle/Resources/views/Collector/security.html.twig");
  1454.     }
  1455. }