var/cache/dev/twig/32/325f23eb6bded8675e945306c9c91c4d.php line 56

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