var/cache/dev/twig/7e/7e8025b83dcf2e8248bac0bd1c4677c2.php line 106

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. /* @!EasyAdmin/layout.html.twig */
  16. class __TwigTemplate_756f28b60493315eb03d14bc4b4c08eb 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->parent = false;
  28. $this->blocks = [
  29. 'head_metas' => [$this, 'block_head_metas'],
  30. 'page_title' => [$this, 'block_page_title'],
  31. 'head_stylesheets' => [$this, 'block_head_stylesheets'],
  32. 'configured_stylesheets' => [$this, 'block_configured_stylesheets'],
  33. 'head_favicon' => [$this, 'block_head_favicon'],
  34. 'head_javascript' => [$this, 'block_head_javascript'],
  35. 'configured_javascripts' => [$this, 'block_configured_javascripts'],
  36. 'configured_head_contents' => [$this, 'block_configured_head_contents'],
  37. 'body' => [$this, 'block_body'],
  38. 'body_id' => [$this, 'block_body_id'],
  39. 'body_class' => [$this, 'block_body_class'],
  40. 'javascript_page_layout' => [$this, 'block_javascript_page_layout'],
  41. 'wrapper_wrapper' => [$this, 'block_wrapper_wrapper'],
  42. 'flash_messages' => [$this, 'block_flash_messages'],
  43. 'user_menu' => [$this, 'block_user_menu'],
  44. 'wrapper' => [$this, 'block_wrapper'],
  45. 'responsive_header' => [$this, 'block_responsive_header'],
  46. 'responsive_header_logo' => [$this, 'block_responsive_header_logo'],
  47. 'sidebar' => [$this, 'block_sidebar'],
  48. 'header' => [$this, 'block_header'],
  49. 'header_navbar' => [$this, 'block_header_navbar'],
  50. 'header_logo' => [$this, 'block_header_logo'],
  51. 'main_menu_wrapper' => [$this, 'block_main_menu_wrapper'],
  52. 'content_top_header' => [$this, 'block_content_top_header'],
  53. 'search' => [$this, 'block_search'],
  54. 'search_form' => [$this, 'block_search_form'],
  55. 'search_form_filters' => [$this, 'block_search_form_filters'],
  56. 'header_custom_menu' => [$this, 'block_header_custom_menu'],
  57. 'content' => [$this, 'block_content'],
  58. 'content_header_wrapper' => [$this, 'block_content_header_wrapper'],
  59. 'content_header' => [$this, 'block_content_header'],
  60. 'content_title' => [$this, 'block_content_title'],
  61. 'content_help' => [$this, 'block_content_help'],
  62. 'page_actions_wrapper' => [$this, 'block_page_actions_wrapper'],
  63. 'page_actions' => [$this, 'block_page_actions'],
  64. 'main' => [$this, 'block_main'],
  65. 'content_footer_wrapper' => [$this, 'block_content_footer_wrapper'],
  66. 'body_javascript' => [$this, 'block_body_javascript'],
  67. 'configured_body_contents' => [$this, 'block_configured_body_contents'],
  68. ];
  69. }
  70. protected function doDisplay(array $context, array $blocks = []): iterable
  71. {
  72. $macros = $this->macros;
  73. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@!EasyAdmin/layout.html.twig"));
  75. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@!EasyAdmin/layout.html.twig"));
  77. // line 2
  78. $context["__internal_963ff0fd07f84340fdc72466e6bc2acdfed80871c68ea4d0174e720b042226be"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 2, $this->source); })()), "i18n", [], "any", false, false, false, 2), "translationDomain", [], "any", false, false, false, 2);
  79. // line 3
  80. yield "
  81. <!DOCTYPE html>
  82. <html lang=\"";
  83. // line 5
  84. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 5, $this->source); })()), "i18n", [], "any", false, false, false, 5), "htmlLocale", [], "any", false, false, false, 5), "html", null, true);
  85. yield "\" dir=\"";
  86. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 5, $this->source); })()), "i18n", [], "any", false, false, false, 5), "textDirection", [], "any", false, false, false, 5), "html", null, true);
  87. yield "\">
  88. <head>
  89. ";
  90. // line 7
  91. yield from $this->unwrap()->yieldBlock('head_metas', $context, $blocks);
  92. // line 14
  93. yield "
  94. ";
  95. // line 15
  96. $context["page_title_block_output"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
  97. yield from $this->unwrap()->yieldBlock('page_title', $context, $blocks);
  98. yield from [];
  99. })())) ? '' : new Markup($tmp, $this->env->getCharset());
  100. // line 16
  101. yield " <title>";
  102. yield Twig\Extension\CoreExtension::striptags((isset($context["page_title_block_output"]) || array_key_exists("page_title_block_output", $context) ? $context["page_title_block_output"] : (function () { throw new RuntimeError('Variable "page_title_block_output" does not exist.', 16, $this->source); })()));
  103. yield "</title>
  104. ";
  105. // line 18
  106. yield from $this->unwrap()->yieldBlock('head_stylesheets', $context, $blocks);
  107. // line 21
  108. yield "
  109. ";
  110. // line 22
  111. yield from $this->unwrap()->yieldBlock('configured_stylesheets', $context, $blocks);
  112. // line 26
  113. yield "
  114. ";
  115. // line 27
  116. yield from $this->unwrap()->yieldBlock('head_favicon', $context, $blocks);
  117. // line 30
  118. yield "
  119. ";
  120. // line 31
  121. yield from $this->unwrap()->yieldBlock('head_javascript', $context, $blocks);
  122. // line 34
  123. yield "
  124. ";
  125. // line 35
  126. yield from $this->unwrap()->yieldBlock('configured_javascripts', $context, $blocks);
  127. // line 39
  128. yield "
  129. ";
  130. // line 40
  131. if (("rtl" == CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 40, $this->source); })()), "i18n", [], "any", false, false, false, 40), "textDirection", [], "any", false, false, false, 40))) {
  132. // line 41
  133. yield " <link rel=\"stylesheet\" href=\"";
  134. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/easyadmin/app.rtl.css"), "html", null, true);
  135. yield "\">
  136. ";
  137. }
  138. // line 43
  139. yield "
  140. ";
  141. // line 44
  142. yield from $this->unwrap()->yieldBlock('configured_head_contents', $context, $blocks);
  143. // line 49
  144. yield "</head>
  145. ";
  146. // line 51
  147. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  148. // line 304
  149. yield "</html>
  150. ";
  151. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  152. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  153. yield from [];
  154. }
  155. // line 7
  156. /**
  157. * @return iterable<null|scalar|\Stringable>
  158. */
  159. public function block_head_metas(array $context, array $blocks = []): iterable
  160. {
  161. $macros = $this->macros;
  162. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_metas"));
  164. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_metas"));
  166. // line 8
  167. yield " <meta charset=\"utf-8\">
  168. <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  169. <meta name=\"robots\" content=\"noindex, nofollow, noarchive, nosnippet, noodp, noimageindex, notranslate, nocache\" />
  170. <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  171. <meta name=\"generator\" content=\"EasyAdmin\" />
  172. ";
  173. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  174. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  175. yield from [];
  176. }
  177. // line 15
  178. /**
  179. * @return iterable<null|scalar|\Stringable>
  180. */
  181. public function block_page_title(array $context, array $blocks = []): iterable
  182. {
  183. $macros = $this->macros;
  184. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  185. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
  186. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  187. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
  188. yield from $this->unwrap()->yieldBlock("content_title", $context, $blocks);
  189. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  190. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  191. yield from [];
  192. }
  193. // line 18
  194. /**
  195. * @return iterable<null|scalar|\Stringable>
  196. */
  197. public function block_head_stylesheets(array $context, array $blocks = []): iterable
  198. {
  199. $macros = $this->macros;
  200. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  201. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
  202. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  203. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
  204. // line 19
  205. yield " <link rel=\"stylesheet\" href=\"";
  206. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/easyadmin/app.css"), "html", null, true);
  207. yield "\">
  208. ";
  209. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  210. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  211. yield from [];
  212. }
  213. // line 22
  214. /**
  215. * @return iterable<null|scalar|\Stringable>
  216. */
  217. public function block_configured_stylesheets(array $context, array $blocks = []): iterable
  218. {
  219. $macros = $this->macros;
  220. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  221. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_stylesheets"));
  222. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  223. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_stylesheets"));
  224. // line 23
  225. yield " ";
  226. yield Twig\Extension\CoreExtension::include($this->env, $context, "@EasyAdmin/includes/_css_assets.html.twig", ["assets" => (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 23), "cssAssets", [], "any", true, true, false, 23) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 23, $this->source); })()), "assets", [], "any", false, false, false, 23), "cssAssets", [], "any", false, false, false, 23)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 23, $this->source); })()), "assets", [], "any", false, false, false, 23), "cssAssets", [], "any", false, false, false, 23)) : ([]))], false);
  227. yield "
  228. ";
  229. // line 24
  230. yield Twig\Extension\CoreExtension::include($this->env, $context, "@EasyAdmin/includes/_encore_link_tags.html.twig", ["assets" => (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 24), "webpackEncoreAssets", [], "any", true, true, false, 24) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 24, $this->source); })()), "assets", [], "any", false, false, false, 24), "webpackEncoreAssets", [], "any", false, false, false, 24)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 24, $this->source); })()), "assets", [], "any", false, false, false, 24), "webpackEncoreAssets", [], "any", false, false, false, 24)) : ([]))], false);
  231. yield "
  232. ";
  233. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  234. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  235. yield from [];
  236. }
  237. // line 27
  238. /**
  239. * @return iterable<null|scalar|\Stringable>
  240. */
  241. public function block_head_favicon(array $context, array $blocks = []): iterable
  242. {
  243. $macros = $this->macros;
  244. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  245. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_favicon"));
  246. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  247. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_favicon"));
  248. // line 28
  249. yield " <link rel=\"shortcut icon\" href=\"";
  250. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 28, $this->source); })()), "dashboardFaviconPath", [], "any", false, false, false, 28)), "html", null, true);
  251. yield "\">
  252. ";
  253. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  254. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  255. yield from [];
  256. }
  257. // line 31
  258. /**
  259. * @return iterable<null|scalar|\Stringable>
  260. */
  261. public function block_head_javascript(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", "head_javascript"));
  266. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  267. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_javascript"));
  268. // line 32
  269. yield " <script src=\"";
  270. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/easyadmin/app.js"), "html", null, true);
  271. yield "\"></script>
  272. ";
  273. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  274. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  275. yield from [];
  276. }
  277. // line 35
  278. /**
  279. * @return iterable<null|scalar|\Stringable>
  280. */
  281. public function block_configured_javascripts(array $context, array $blocks = []): iterable
  282. {
  283. $macros = $this->macros;
  284. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  285. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_javascripts"));
  286. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  287. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_javascripts"));
  288. // line 36
  289. yield " ";
  290. yield Twig\Extension\CoreExtension::include($this->env, $context, "@EasyAdmin/includes/_js_assets.html.twig", ["assets" => (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 36), "jsAssets", [], "any", true, true, false, 36) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 36, $this->source); })()), "assets", [], "any", false, false, false, 36), "jsAssets", [], "any", false, false, false, 36)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 36, $this->source); })()), "assets", [], "any", false, false, false, 36), "jsAssets", [], "any", false, false, false, 36)) : ([]))], false);
  291. yield "
  292. ";
  293. // line 37
  294. yield Twig\Extension\CoreExtension::include($this->env, $context, "@EasyAdmin/includes/_encore_script_tags.html.twig", ["assets" => (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 37), "webpackEncoreAssets", [], "any", true, true, false, 37) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 37, $this->source); })()), "assets", [], "any", false, false, false, 37), "webpackEncoreAssets", [], "any", false, false, false, 37)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 37, $this->source); })()), "assets", [], "any", false, false, false, 37), "webpackEncoreAssets", [], "any", false, false, false, 37)) : ([]))], false);
  295. yield "
  296. ";
  297. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  298. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  299. yield from [];
  300. }
  301. // line 44
  302. /**
  303. * @return iterable<null|scalar|\Stringable>
  304. */
  305. public function block_configured_head_contents(array $context, array $blocks = []): iterable
  306. {
  307. $macros = $this->macros;
  308. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  309. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_head_contents"));
  310. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  311. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_head_contents"));
  312. // line 45
  313. yield " ";
  314. $context['_parent'] = $context;
  315. $context['_seq'] = CoreExtension::ensureTraversable((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 45), "headContents", [], "any", true, true, false, 45) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 45, $this->source); })()), "assets", [], "any", false, false, false, 45), "headContents", [], "any", false, false, false, 45)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 45, $this->source); })()), "assets", [], "any", false, false, false, 45), "headContents", [], "any", false, false, false, 45)) : ([])));
  316. foreach ($context['_seq'] as $context["_key"] => $context["htmlContent"]) {
  317. // line 46
  318. yield " ";
  319. yield $context["htmlContent"];
  320. yield "
  321. ";
  322. }
  323. $_parent = $context['_parent'];
  324. unset($context['_seq'], $context['_key'], $context['htmlContent'], $context['_parent']);
  325. $context = array_intersect_key($context, $_parent) + $_parent;
  326. // line 48
  327. yield " ";
  328. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  329. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  330. yield from [];
  331. }
  332. // line 51
  333. /**
  334. * @return iterable<null|scalar|\Stringable>
  335. */
  336. public function block_body(array $context, array $blocks = []): iterable
  337. {
  338. $macros = $this->macros;
  339. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  340. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  341. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  342. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  343. // line 52
  344. yield " <body id=\"";
  345. yield from $this->unwrap()->yieldBlock('body_id', $context, $blocks);
  346. yield "\" class=\"ea ";
  347. yield from $this->unwrap()->yieldBlock('body_class', $context, $blocks);
  348. yield "\">
  349. ";
  350. // line 53
  351. yield from $this->unwrap()->yieldBlock('javascript_page_layout', $context, $blocks);
  352. // line 61
  353. yield "
  354. ";
  355. // line 62
  356. yield from $this->unwrap()->yieldBlock('wrapper_wrapper', $context, $blocks);
  357. // line 294
  358. yield "
  359. ";
  360. // line 295
  361. yield from $this->unwrap()->yieldBlock('body_javascript', $context, $blocks);
  362. // line 296
  363. yield "
  364. ";
  365. // line 297
  366. yield from $this->unwrap()->yieldBlock('configured_body_contents', $context, $blocks);
  367. // line 302
  368. yield " </body>
  369. ";
  370. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  371. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  372. yield from [];
  373. }
  374. // line 52
  375. /**
  376. * @return iterable<null|scalar|\Stringable>
  377. */
  378. public function block_body_id(array $context, array $blocks = []): iterable
  379. {
  380. $macros = $this->macros;
  381. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  382. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_id"));
  383. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  384. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_id"));
  385. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  386. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  387. yield from [];
  388. }
  389. /**
  390. * @return iterable<null|scalar|\Stringable>
  391. */
  392. public function block_body_class(array $context, array $blocks = []): iterable
  393. {
  394. $macros = $this->macros;
  395. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  396. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_class"));
  397. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  398. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_class"));
  399. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  400. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  401. yield from [];
  402. }
  403. // line 53
  404. /**
  405. * @return iterable<null|scalar|\Stringable>
  406. */
  407. public function block_javascript_page_layout(array $context, array $blocks = []): iterable
  408. {
  409. $macros = $this->macros;
  410. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  411. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript_page_layout"));
  412. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  413. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript_page_layout"));
  414. // line 54
  415. yield " <script>
  416. document.body.classList.add(
  417. 'ea-content-width-' + (localStorage.getItem('ea/content/width') || '";
  418. // line 56
  419. yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["ea"] ?? null), "crud", [], "any", false, true, false, 56), "contentWidth", [], "any", true, true, false, 56) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 56, $this->source); })()), "crud", [], "any", false, false, false, 56), "contentWidth", [], "any", false, false, false, 56)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 56, $this->source); })()), "crud", [], "any", false, false, false, 56), "contentWidth", [], "any", false, false, false, 56), "html", null, true)) : ((((CoreExtension::getAttribute($this->env, $this->source, ($context["ea"] ?? null), "dashboardContentWidth", [], "any", true, true, false, 56) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 56, $this->source); })()), "dashboardContentWidth", [], "any", false, false, false, 56)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 56, $this->source); })()), "dashboardContentWidth", [], "any", false, false, false, 56), "html", null, true)) : ("normal"))));
  420. yield "'),
  421. 'ea-sidebar-width-' + (localStorage.getItem('ea/sidebar/width') || '";
  422. // line 57
  423. yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["ea"] ?? null), "crud", [], "any", false, true, false, 57), "sidebarWidth", [], "any", true, true, false, 57) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 57, $this->source); })()), "crud", [], "any", false, false, false, 57), "sidebarWidth", [], "any", false, false, false, 57)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 57, $this->source); })()), "crud", [], "any", false, false, false, 57), "sidebarWidth", [], "any", false, false, false, 57), "html", null, true)) : ((((CoreExtension::getAttribute($this->env, $this->source, ($context["ea"] ?? null), "dashboardSidebarWidth", [], "any", true, true, false, 57) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 57, $this->source); })()), "dashboardSidebarWidth", [], "any", false, false, false, 57)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 57, $this->source); })()), "dashboardSidebarWidth", [], "any", false, false, false, 57), "html", null, true)) : ("normal"))));
  424. yield "')
  425. );
  426. </script>
  427. ";
  428. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  429. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  430. yield from [];
  431. }
  432. // line 62
  433. /**
  434. * @return iterable<null|scalar|\Stringable>
  435. */
  436. public function block_wrapper_wrapper(array $context, array $blocks = []): iterable
  437. {
  438. $macros = $this->macros;
  439. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  440. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper_wrapper"));
  441. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  442. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper_wrapper"));
  443. // line 63
  444. yield " ";
  445. yield from $this->unwrap()->yieldBlock('flash_messages', $context, $blocks);
  446. // line 66
  447. yield "
  448. ";
  449. // line 67
  450. $context["user_menu_avatar"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
  451. // line 68
  452. yield " ";
  453. if ((null == CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 68, $this->source); })()), "userMenu", [], "any", false, false, false, 68), "avatarUrl", [], "any", false, false, false, 68))) {
  454. // line 69
  455. yield " <span class=\"user-avatar\">
  456. <span class=\"fa-stack\">
  457. <i class=\"user-avatar-icon-background fas fa-square fa-stack-2x\"></i>
  458. <i class=\"user-avatar-icon-foreground ";
  459. // line 72
  460. yield (((($tmp = !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 72, $this->source); })()), "user", [], "any", false, false, false, 72))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("fa fa-user") : ("fas fa-user-slash"));
  461. yield " fa-stack-1x fa-inverse\"></i>
  462. </span>
  463. </span>
  464. ";
  465. } else {
  466. // line 76
  467. yield " <img class=\"user-avatar\" src=\"";
  468. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 76, $this->source); })()), "userMenu", [], "any", false, false, false, 76), "avatarUrl", [], "any", false, false, false, 76), "html", null, true);
  469. yield "\" />
  470. ";
  471. }
  472. // line 78
  473. yield " ";
  474. yield from [];
  475. })())) ? '' : new Markup($tmp, $this->env->getCharset());
  476. // line 79
  477. yield "
  478. ";
  479. // line 80
  480. $context["impersonator_permission"] = ((Twig\Extension\CoreExtension::constant("Symfony\\Component\\Security\\Core\\Authorization\\Voter\\AuthenticatedVoter::IS_IMPERSONATOR", null, true)) ? ("IS_IMPERSONATOR") : ("ROLE_PREVIOUS_ADMIN"));
  481. // line 81
  482. yield "
  483. ";
  484. // line 82
  485. $context["user_menu_dropdown"] = ('' === $tmp = \Twig\Extension\CoreExtension::captureOutput((function () use (&$context, $macros, $blocks) {
  486. // line 83
  487. yield " <ul class=\"dropdown-menu dropdown-menu-end\">
  488. <li class=\"dropdown-user-details\">
  489. <div>";
  490. // line 85
  491. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["user_menu_avatar"]) || array_key_exists("user_menu_avatar", $context) ? $context["user_menu_avatar"] : (function () { throw new RuntimeError('Variable "user_menu_avatar" does not exist.', 85, $this->source); })()), "html", null, true);
  492. yield "</div>
  493. <div>
  494. <span class=\"user-label\">";
  495. // line 87
  496. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.logged_in_as", [], "EasyAdminBundle"), "html", null, true);
  497. yield "</span>
  498. <span class=\"user-name\">";
  499. // line 88
  500. yield (((null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 88, $this->source); })()), "user", [], "any", false, false, false, 88))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.anonymous", [], "EasyAdminBundle"), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 88, $this->source); })()), "userMenu", [], "any", false, false, false, 88), "name", [], "any", false, false, false, 88), "html", null, true)));
  501. yield "</span>
  502. </div>
  503. </li>
  504. <li><hr class=\"dropdown-divider\"></li>
  505. ";
  506. // line 93
  507. yield from $this->unwrap()->yieldBlock('user_menu', $context, $blocks);
  508. // line 111
  509. yield " </ul>
  510. ";
  511. yield from [];
  512. })())) ? '' : new Markup($tmp, $this->env->getCharset());
  513. // line 113
  514. yield "
  515. <div class=\"wrapper\">
  516. ";
  517. // line 115
  518. yield from $this->unwrap()->yieldBlock('wrapper', $context, $blocks);
  519. // line 292
  520. yield " </div>
  521. ";
  522. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  523. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  524. yield from [];
  525. }
  526. // line 63
  527. /**
  528. * @return iterable<null|scalar|\Stringable>
  529. */
  530. public function block_flash_messages(array $context, array $blocks = []): iterable
  531. {
  532. $macros = $this->macros;
  533. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  534. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "flash_messages"));
  535. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  536. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "flash_messages"));
  537. // line 64
  538. yield " ";
  539. yield Twig\Extension\CoreExtension::include($this->env, $context, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 64, $this->source); })()), "templatePath", ["flash_messages"], "method", false, false, false, 64));
  540. yield "
  541. ";
  542. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  543. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  544. yield from [];
  545. }
  546. // line 93
  547. /**
  548. * @return iterable<null|scalar|\Stringable>
  549. */
  550. public function block_user_menu(array $context, array $blocks = []): iterable
  551. {
  552. $macros = $this->macros;
  553. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  554. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "user_menu"));
  555. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  556. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "user_menu"));
  557. // line 94
  558. yield " ";
  559. if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 94, $this->source); })()), "userMenu", [], "any", false, false, false, 94), "items", [], "any", false, false, false, 94)) > 0)) {
  560. // line 95
  561. yield " ";
  562. $context['_parent'] = $context;
  563. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 95, $this->source); })()), "userMenu", [], "any", false, false, false, 95), "items", [], "any", false, false, false, 95));
  564. $context['loop'] = [
  565. 'parent' => $context['_parent'],
  566. 'index0' => 0,
  567. 'index' => 1,
  568. 'first' => true,
  569. ];
  570. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  571. $length = count($context['_seq']);
  572. $context['loop']['revindex0'] = $length - 1;
  573. $context['loop']['revindex'] = $length;
  574. $context['loop']['length'] = $length;
  575. $context['loop']['last'] = 1 === $length;
  576. }
  577. foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  578. // line 96
  579. yield " <li>
  580. ";
  581. // line 97
  582. if ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "isMenuSection", [], "any", false, false, false, 97) && !CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 97))) {
  583. // line 98
  584. yield " <hr class=\"dropdown-divider\">
  585. ";
  586. } elseif ((($tmp = !CoreExtension::getAttribute($this->env, $this->source, // line 99
  587. $context["item"], "isMenuSection", [], "any", false, false, false, 99)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  588. // line 100
  589. yield " <a href=\"";
  590. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "linkUrl", [], "any", false, false, false, 100), "html", null, true);
  591. yield "\" class=\"dropdown-item user-action ";
  592. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "cssClass", [], "any", false, false, false, 100), "html", null, true);
  593. yield "\"
  594. target=\"";
  595. // line 101
  596. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "linkTarget", [], "any", false, false, false, 101), "html", null, true);
  597. yield "\" rel=\"";
  598. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "linkRel", [], "any", false, false, false, 101), "html", null, true);
  599. yield "\"
  600. referrerpolicy=\"origin-when-cross-origin\">
  601. ";
  602. // line 103
  603. if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "icon", [], "any", false, false, false, 103))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  604. yield "<i class=\"fa fa-fw ";
  605. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "icon", [], "any", false, false, false, 103), "html", null, true);
  606. yield "\"></i>";
  607. }
  608. // line 104
  609. yield " <span>";
  610. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "label", [], "any", false, false, false, 104), "html", null, true);
  611. yield "</span>
  612. </a>
  613. ";
  614. }
  615. // line 107
  616. yield " </li>
  617. ";
  618. ++$context['loop']['index0'];
  619. ++$context['loop']['index'];
  620. $context['loop']['first'] = false;
  621. if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  622. --$context['loop']['revindex0'];
  623. --$context['loop']['revindex'];
  624. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  625. }
  626. }
  627. $_parent = $context['_parent'];
  628. unset($context['_seq'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  629. $context = array_intersect_key($context, $_parent) + $_parent;
  630. // line 109
  631. yield " ";
  632. }
  633. // line 110
  634. yield " ";
  635. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  636. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  637. yield from [];
  638. }
  639. // line 115
  640. /**
  641. * @return iterable<null|scalar|\Stringable>
  642. */
  643. public function block_wrapper(array $context, array $blocks = []): iterable
  644. {
  645. $macros = $this->macros;
  646. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  647. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper"));
  648. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  649. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper"));
  650. // line 116
  651. yield " <div class=\"responsive-header\">
  652. ";
  653. // line 117
  654. yield from $this->unwrap()->yieldBlock('responsive_header', $context, $blocks);
  655. // line 144
  656. yield " </div>
  657. <div class=\"sidebar-wrapper\">
  658. <aside class=\"sidebar\">
  659. ";
  660. // line 148
  661. yield from $this->unwrap()->yieldBlock('sidebar', $context, $blocks);
  662. // line 170
  663. yield "
  664. <div id=\"sidebar-resizer-handler\" class=\"resizer-handler resizer-handler-left\"></div>
  665. </aside>
  666. </div>
  667. <section class=\"main-content\">
  668. ";
  669. // line 176
  670. $context["has_search"] = ( !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 176, $this->source); })()), "crud", [], "any", false, false, false, 176)) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 176, $this->source); })()), "crud", [], "any", false, false, false, 176), "isSearchEnabled", [], "any", false, false, false, 176));
  671. // line 177
  672. yield " <aside class=\"content-top ";
  673. yield (((($tmp = (isset($context["has_search"]) || array_key_exists("has_search", $context) ? $context["has_search"] : (function () { throw new RuntimeError('Variable "has_search" does not exist.', 177, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("ea-search-enabled") : ("ea-search-disabled"));
  674. yield "\">
  675. ";
  676. // line 178
  677. yield from $this->unwrap()->yieldBlock('content_top_header', $context, $blocks);
  678. // line 243
  679. yield " </aside>
  680. <div class=\"content-wrapper\">
  681. ";
  682. // line 246
  683. yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
  684. // line 287
  685. yield "
  686. <div id=\"content-resizer-handler\" class=\"resizer-handler resizer-handler-right\"></div>
  687. </div>
  688. </section>
  689. ";
  690. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  691. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  692. yield from [];
  693. }
  694. // line 117
  695. /**
  696. * @return iterable<null|scalar|\Stringable>
  697. */
  698. public function block_responsive_header(array $context, array $blocks = []): iterable
  699. {
  700. $macros = $this->macros;
  701. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  702. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "responsive_header"));
  703. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  704. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "responsive_header"));
  705. // line 118
  706. yield " <button id=\"navigation-toggler\" type=\"button\" aria-label=\"Toggle navigation\">
  707. <i class=\"fa fa-fw fa-bars\"></i>
  708. </button>
  709. <div id=\"responsive-header-logo\" class=\"text-truncate\">
  710. ";
  711. // line 123
  712. yield from $this->unwrap()->yieldBlock('responsive_header_logo', $context, $blocks);
  713. // line 128
  714. yield " </div>
  715. <div class=\"dropdown user-menu-wrapper ";
  716. // line 130
  717. yield (((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted((isset($context["impersonator_permission"]) || array_key_exists("impersonator_permission", $context) ? $context["impersonator_permission"] : (function () { throw new RuntimeError('Variable "impersonator_permission" does not exist.', 130, $this->source); })()))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("user-is-impersonated") : (""));
  718. yield "\">
  719. <a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">
  720. ";
  721. // line 134
  722. yield " ";
  723. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 134, $this->source); })()), "userMenu", [], "any", false, false, false, 134), "avatarDisplayed", [], "any", false, false, false, 134)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  724. // line 135
  725. yield " ";
  726. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["user_menu_avatar"]) || array_key_exists("user_menu_avatar", $context) ? $context["user_menu_avatar"] : (function () { throw new RuntimeError('Variable "user_menu_avatar" does not exist.', 135, $this->source); })()), "html", null, true);
  727. yield "
  728. ";
  729. } else {
  730. // line 137
  731. yield " <i class=\"user-avatar fa fa-fw ";
  732. yield (((($tmp = !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 137, $this->source); })()), "user", [], "any", false, false, false, 137))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("fa-user") : ("fa-user-times"));
  733. yield "\"></i>
  734. ";
  735. }
  736. // line 139
  737. yield " </a>
  738. ";
  739. // line 141
  740. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["user_menu_dropdown"]) || array_key_exists("user_menu_dropdown", $context) ? $context["user_menu_dropdown"] : (function () { throw new RuntimeError('Variable "user_menu_dropdown" does not exist.', 141, $this->source); })()), "html", null, true);
  741. yield "
  742. </div>
  743. ";
  744. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  745. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  746. yield from [];
  747. }
  748. // line 123
  749. /**
  750. * @return iterable<null|scalar|\Stringable>
  751. */
  752. public function block_responsive_header_logo(array $context, array $blocks = []): iterable
  753. {
  754. $macros = $this->macros;
  755. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  756. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "responsive_header_logo"));
  757. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  758. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "responsive_header_logo"));
  759. // line 124
  760. yield " <a class=\"responsive-logo\" title=\"";
  761. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 124, $this->source); })()), "dashboardTitle", [], "any", false, false, false, 124)), "html", null, true);
  762. yield "\" href=\"";
  763. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 124, $this->source); })()), "dashboardRouteName", [], "any", false, false, false, 124));
  764. yield "\">
  765. ";
  766. // line 125
  767. yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 125, $this->source); })()), "dashboardTitle", [], "any", false, false, false, 125);
  768. yield "
  769. </a>
  770. ";
  771. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  772. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  773. yield from [];
  774. }
  775. // line 148
  776. /**
  777. * @return iterable<null|scalar|\Stringable>
  778. */
  779. public function block_sidebar(array $context, array $blocks = []): iterable
  780. {
  781. $macros = $this->macros;
  782. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  783. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
  784. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  785. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
  786. // line 149
  787. yield " <header class=\"main-header\">
  788. ";
  789. // line 150
  790. yield from $this->unwrap()->yieldBlock('header', $context, $blocks);
  791. // line 164
  792. yield " </header>
  793. ";
  794. // line 166
  795. yield from $this->unwrap()->yieldBlock('main_menu_wrapper', $context, $blocks);
  796. // line 169
  797. yield " ";
  798. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  799. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  800. yield from [];
  801. }
  802. // line 150
  803. /**
  804. * @return iterable<null|scalar|\Stringable>
  805. */
  806. public function block_header(array $context, array $blocks = []): iterable
  807. {
  808. $macros = $this->macros;
  809. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  810. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
  811. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  812. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
  813. // line 151
  814. yield " <nav class=\"navbar\" role=\"navigation\">
  815. ";
  816. // line 152
  817. yield from $this->unwrap()->yieldBlock('header_navbar', $context, $blocks);
  818. // line 162
  819. yield " </nav>
  820. ";
  821. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  822. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  823. yield from [];
  824. }
  825. // line 152
  826. /**
  827. * @return iterable<null|scalar|\Stringable>
  828. */
  829. public function block_header_navbar(array $context, array $blocks = []): iterable
  830. {
  831. $macros = $this->macros;
  832. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  833. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_navbar"));
  834. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  835. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_navbar"));
  836. // line 153
  837. yield " <div id=\"header-logo\">
  838. ";
  839. // line 154
  840. yield from $this->unwrap()->yieldBlock('header_logo', $context, $blocks);
  841. // line 160
  842. yield " </div>
  843. ";
  844. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  845. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  846. yield from [];
  847. }
  848. // line 154
  849. /**
  850. * @return iterable<null|scalar|\Stringable>
  851. */
  852. public function block_header_logo(array $context, array $blocks = []): iterable
  853. {
  854. $macros = $this->macros;
  855. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  856. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_logo"));
  857. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  858. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_logo"));
  859. // line 155
  860. yield " <a class=\"logo\" title=\"";
  861. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 155, $this->source); })()), "dashboardTitle", [], "any", false, false, false, 155)), "html", null, true);
  862. yield "\" href=\"";
  863. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 155, $this->source); })()), "dashboardRouteName", [], "any", false, false, false, 155));
  864. yield "\">
  865. <span class=\"logo-custom\">";
  866. // line 156
  867. yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 156, $this->source); })()), "dashboardTitle", [], "any", false, false, false, 156);
  868. yield "</span>
  869. <span class=\"logo-compact\"><i class=\"fas fa-home\"></i></span>
  870. </a>
  871. ";
  872. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  873. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  874. yield from [];
  875. }
  876. // line 166
  877. /**
  878. * @return iterable<null|scalar|\Stringable>
  879. */
  880. public function block_main_menu_wrapper(array $context, array $blocks = []): iterable
  881. {
  882. $macros = $this->macros;
  883. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  884. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_menu_wrapper"));
  885. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  886. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_menu_wrapper"));
  887. // line 167
  888. yield " ";
  889. yield Twig\Extension\CoreExtension::include($this->env, $context, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 167, $this->source); })()), "templatePath", ["main_menu"], "method", false, false, false, 167));
  890. yield "
  891. ";
  892. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  893. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  894. yield from [];
  895. }
  896. // line 178
  897. /**
  898. * @return iterable<null|scalar|\Stringable>
  899. */
  900. public function block_content_top_header(array $context, array $blocks = []): iterable
  901. {
  902. $macros = $this->macros;
  903. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  904. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_top_header"));
  905. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  906. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_top_header"));
  907. // line 179
  908. yield " <div class=\"content-search\">
  909. ";
  910. // line 180
  911. if ((($tmp = (isset($context["has_search"]) || array_key_exists("has_search", $context) ? $context["has_search"] : (function () { throw new RuntimeError('Variable "has_search" does not exist.', 180, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  912. // line 181
  913. yield " ";
  914. yield from $this->unwrap()->yieldBlock('search', $context, $blocks);
  915. // line 225
  916. yield " ";
  917. }
  918. // line 226
  919. yield " </div>
  920. <div class=\"navbar-custom-menu\">
  921. ";
  922. // line 229
  923. yield from $this->unwrap()->yieldBlock('header_custom_menu', $context, $blocks);
  924. // line 241
  925. yield " </div>
  926. ";
  927. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  928. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  929. yield from [];
  930. }
  931. // line 181
  932. /**
  933. * @return iterable<null|scalar|\Stringable>
  934. */
  935. public function block_search(array $context, array $blocks = []): iterable
  936. {
  937. $macros = $this->macros;
  938. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  939. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search"));
  940. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  941. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search"));
  942. // line 182
  943. yield "
  944. <form class=\"form-action-search\" method=\"get\">
  945. ";
  946. // line 184
  947. yield from $this->unwrap()->yieldBlock('search_form', $context, $blocks);
  948. // line 223
  949. yield " </form>
  950. ";
  951. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  952. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  953. yield from [];
  954. }
  955. // line 184
  956. /**
  957. * @return iterable<null|scalar|\Stringable>
  958. */
  959. public function block_search_form(array $context, array $blocks = []): iterable
  960. {
  961. $macros = $this->macros;
  962. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  963. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search_form"));
  964. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  965. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search_form"));
  966. // line 185
  967. yield " ";
  968. yield from $this->unwrap()->yieldBlock('search_form_filters', $context, $blocks);
  969. // line 199
  970. yield "
  971. <input type=\"hidden\" name=\"crudAction\" value=\"index\">
  972. <input type=\"hidden\" name=\"crudControllerFqcn\" value=\"";
  973. // line 201
  974. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 201, $this->source); })()), "request", [], "any", false, false, false, 201), "query", [], "any", false, false, false, 201), "get", ["crudControllerFqcn"], "method", false, false, false, 201), "html", null, true);
  975. yield "\">
  976. <input type=\"hidden\" name=\"menuIndex\" value=\"";
  977. // line 202
  978. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 202, $this->source); })()), "request", [], "any", false, false, false, 202), "query", [], "any", false, false, false, 202), "get", ["menuIndex"], "method", false, false, false, 202), "html", null, true);
  979. yield "\">
  980. <input type=\"hidden\" name=\"submenuIndex\" value=\"";
  981. // line 203
  982. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 203, $this->source); })()), "request", [], "any", false, false, false, 203), "query", [], "any", false, false, false, 203), "get", ["submenuIndex"], "method", false, false, false, 203), "html", null, true);
  983. yield "\">
  984. <input type=\"hidden\" name=\"page\" value=\"1\">
  985. <input type=\"hidden\" name=\"signature\" value=\"";
  986. // line 205
  987. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "unsetAll", [], "method", false, false, false, 205), "setAction", ["index"], "method", false, false, false, 205), "setController", [CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 205, $this->source); })()), "request", [], "any", false, false, false, 205), "query", [], "any", false, false, false, 205), "get", ["crudControllerFqcn"], "method", false, false, false, 205)], "method", false, false, false, 205), "getSignature", [], "method", false, false, false, 205), "html", null, true);
  988. yield "\">
  989. <div class=\"form-group\">
  990. <div class=\"form-widget\">
  991. <i class=\"fas fa-search content-search-icon\"></i>
  992. <label class=\"content-search-label\" data-value=\"";
  993. // line 211
  994. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 211, $this->source); })()), "request", [], "any", false, false, false, 211), "get", ["query"], "method", false, false, false, 211), "html", null, true);
  995. yield "\">
  996. <input class=\"form-control ";
  997. // line 212
  998. yield (((null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 212, $this->source); })()), "request", [], "any", false, false, false, 212), "get", ["query"], "method", false, false, false, 212))) ? ("is-blank") : (""));
  999. yield "\" type=\"search\" name=\"query\" value=\"";
  1000. yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 212), "get", ["query"], "method", true, true, false, 212) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 212, $this->source); })()), "request", [], "any", false, false, false, 212), "get", ["query"], "method", false, false, false, 212)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 212, $this->source); })()), "request", [], "any", false, false, false, 212), "get", ["query"], "method", false, false, false, 212), "html", null, true)) : (""));
  1001. yield "\" placeholder=\"";
  1002. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("action.search", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 212, $this->source); })()), "i18n", [], "any", false, false, false, 212), "translationParameters", [], "any", false, false, false, 212), "EasyAdminBundle"), "html", null, true);
  1003. yield "\" spellcheck=\"false\" autocorrect=\"false\" onInput=\"this.parentNode.dataset.value=this.value\">
  1004. </label>
  1005. ";
  1006. // line 215
  1007. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 215, $this->source); })()), "request", [], "any", false, false, false, 215), "get", ["query"], "method", false, false, false, 215)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  1008. // line 216
  1009. yield " <a href=\"";
  1010. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "unset", ["query"], "method", false, false, false, 216), "html", null, true);
  1011. yield "\" class=\"content-search-reset\">
  1012. <i class=\"fas fa-fw fa-times\"></i>
  1013. </a>
  1014. ";
  1015. }
  1016. // line 220
  1017. yield " </div>
  1018. </div>
  1019. ";
  1020. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1021. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1022. yield from [];
  1023. }
  1024. // line 185
  1025. /**
  1026. * @return iterable<null|scalar|\Stringable>
  1027. */
  1028. public function block_search_form_filters(array $context, array $blocks = []): iterable
  1029. {
  1030. $macros = $this->macros;
  1031. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1032. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search_form_filters"));
  1033. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1034. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search_form_filters"));
  1035. // line 186
  1036. yield " ";
  1037. $context['_parent'] = $context;
  1038. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 186, $this->source); })()), "search", [], "any", false, false, false, 186), "appliedFilters", [], "any", false, false, false, 186));
  1039. foreach ($context['_seq'] as $context["field"] => $context["array"]) {
  1040. // line 187
  1041. yield " ";
  1042. $context['_parent'] = $context;
  1043. $context['_seq'] = CoreExtension::ensureTraversable($context["array"]);
  1044. foreach ($context['_seq'] as $context["key"] => $context["value"]) {
  1045. // line 188
  1046. yield " ";
  1047. // line 189
  1048. yield " ";
  1049. if (is_iterable($context["value"])) {
  1050. // line 190
  1051. yield " ";
  1052. $context['_parent'] = $context;
  1053. $context['_seq'] = CoreExtension::ensureTraversable($context["value"]);
  1054. foreach ($context['_seq'] as $context["index"] => $context["iterValue"]) {
  1055. // line 191
  1056. yield " <input type=\"hidden\" name=\"filters[";
  1057. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["field"], "html", null, true);
  1058. yield "][";
  1059. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
  1060. yield "][";
  1061. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["index"], "html", null, true);
  1062. yield "]\" value=\"";
  1063. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["iterValue"], "html", null, true);
  1064. yield "\">
  1065. ";
  1066. }
  1067. $_parent = $context['_parent'];
  1068. unset($context['_seq'], $context['index'], $context['iterValue'], $context['_parent']);
  1069. $context = array_intersect_key($context, $_parent) + $_parent;
  1070. // line 193
  1071. yield " ";
  1072. } else {
  1073. // line 194
  1074. yield " <input type=\"hidden\" name=\"filters[";
  1075. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["field"], "html", null, true);
  1076. yield "][";
  1077. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["key"], "html", null, true);
  1078. yield "]\" value=\"";
  1079. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["value"], "html", null, true);
  1080. yield "\">
  1081. ";
  1082. }
  1083. // line 196
  1084. yield " ";
  1085. }
  1086. $_parent = $context['_parent'];
  1087. unset($context['_seq'], $context['key'], $context['value'], $context['_parent']);
  1088. $context = array_intersect_key($context, $_parent) + $_parent;
  1089. // line 197
  1090. yield " ";
  1091. }
  1092. $_parent = $context['_parent'];
  1093. unset($context['_seq'], $context['field'], $context['array'], $context['_parent']);
  1094. $context = array_intersect_key($context, $_parent) + $_parent;
  1095. // line 198
  1096. yield " ";
  1097. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1098. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1099. yield from [];
  1100. }
  1101. // line 229
  1102. /**
  1103. * @return iterable<null|scalar|\Stringable>
  1104. */
  1105. public function block_header_custom_menu(array $context, array $blocks = []): iterable
  1106. {
  1107. $macros = $this->macros;
  1108. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1109. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_custom_menu"));
  1110. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1111. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_custom_menu"));
  1112. // line 230
  1113. yield " <div class=\"dropdown user-menu-wrapper ";
  1114. yield (((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted((isset($context["impersonator_permission"]) || array_key_exists("impersonator_permission", $context) ? $context["impersonator_permission"] : (function () { throw new RuntimeError('Variable "impersonator_permission" does not exist.', 230, $this->source); })()))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("user-is-impersonated") : (""));
  1115. yield "\">
  1116. <a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">
  1117. ";
  1118. // line 232
  1119. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["user_menu_avatar"]) || array_key_exists("user_menu_avatar", $context) ? $context["user_menu_avatar"] : (function () { throw new RuntimeError('Variable "user_menu_avatar" does not exist.', 232, $this->source); })()), "html", null, true);
  1120. yield "
  1121. ";
  1122. // line 233
  1123. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 233, $this->source); })()), "userMenu", [], "any", false, false, false, 233), "isNameDisplayed", [], "any", false, false, false, 233)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  1124. // line 234
  1125. yield " <span class=\"user-name\">";
  1126. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 234, $this->source); })()), "userMenu", [], "any", false, false, false, 234), "name", [], "any", false, false, false, 234), "html", null, true);
  1127. yield "</span>
  1128. ";
  1129. }
  1130. // line 236
  1131. yield " </a>
  1132. ";
  1133. // line 238
  1134. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["user_menu_dropdown"]) || array_key_exists("user_menu_dropdown", $context) ? $context["user_menu_dropdown"] : (function () { throw new RuntimeError('Variable "user_menu_dropdown" does not exist.', 238, $this->source); })()), "html", null, true);
  1135. yield "
  1136. </div>
  1137. ";
  1138. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1139. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1140. yield from [];
  1141. }
  1142. // line 246
  1143. /**
  1144. * @return iterable<null|scalar|\Stringable>
  1145. */
  1146. public function block_content(array $context, array $blocks = []): iterable
  1147. {
  1148. $macros = $this->macros;
  1149. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1150. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  1151. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1152. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  1153. // line 247
  1154. yield " <article class=\"content\">
  1155. ";
  1156. // line 248
  1157. yield from $this->unwrap()->yieldBlock('content_header_wrapper', $context, $blocks);
  1158. // line 272
  1159. yield "
  1160. <section id=\"main\" class=\"content-body\">
  1161. ";
  1162. // line 274
  1163. yield from $this->unwrap()->yieldBlock('main', $context, $blocks);
  1164. // line 275
  1165. yield " </section>
  1166. ";
  1167. // line 277
  1168. yield from $this->unwrap()->yieldBlock('content_footer_wrapper', $context, $blocks);
  1169. // line 285
  1170. yield " </article>
  1171. ";
  1172. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1173. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1174. yield from [];
  1175. }
  1176. // line 248
  1177. /**
  1178. * @return iterable<null|scalar|\Stringable>
  1179. */
  1180. public function block_content_header_wrapper(array $context, array $blocks = []): iterable
  1181. {
  1182. $macros = $this->macros;
  1183. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1184. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_header_wrapper"));
  1185. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1186. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_header_wrapper"));
  1187. // line 249
  1188. yield " ";
  1189. $context["has_help_message"] = !Twig\Extension\CoreExtension::testEmpty((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["ea"] ?? null), "crud", [], "any", false, true, false, 249), "helpMessage", [], "any", true, true, false, 249) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 249, $this->source); })()), "crud", [], "any", false, false, false, 249), "helpMessage", [], "any", false, false, false, 249)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 249, $this->source); })()), "crud", [], "any", false, false, false, 249), "helpMessage", [], "any", false, false, false, 249)) : ("")));
  1190. // line 250
  1191. yield " <section class=\"content-header\">
  1192. ";
  1193. // line 251
  1194. yield from $this->unwrap()->yieldBlock('content_header', $context, $blocks);
  1195. // line 270
  1196. yield " </section>
  1197. ";
  1198. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1199. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1200. yield from [];
  1201. }
  1202. // line 251
  1203. /**
  1204. * @return iterable<null|scalar|\Stringable>
  1205. */
  1206. public function block_content_header(array $context, array $blocks = []): iterable
  1207. {
  1208. $macros = $this->macros;
  1209. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1210. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_header"));
  1211. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1212. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_header"));
  1213. // line 252
  1214. yield " <div class=\"content-header-title\">
  1215. <h1 class=\"title\">
  1216. ";
  1217. // line 254
  1218. yield from $this->unwrap()->yieldBlock('content_title', $context, $blocks);
  1219. // line 255
  1220. yield "
  1221. ";
  1222. // line 256
  1223. yield from $this->unwrap()->yieldBlock('content_help', $context, $blocks);
  1224. // line 263
  1225. yield " </h1>
  1226. </div>
  1227. ";
  1228. // line 266
  1229. yield from $this->unwrap()->yieldBlock('page_actions_wrapper', $context, $blocks);
  1230. // line 269
  1231. yield " ";
  1232. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1233. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1234. yield from [];
  1235. }
  1236. // line 254
  1237. /**
  1238. * @return iterable<null|scalar|\Stringable>
  1239. */
  1240. public function block_content_title(array $context, array $blocks = []): iterable
  1241. {
  1242. $macros = $this->macros;
  1243. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1244. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_title"));
  1245. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1246. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_title"));
  1247. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1248. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1249. yield from [];
  1250. }
  1251. // line 256
  1252. /**
  1253. * @return iterable<null|scalar|\Stringable>
  1254. */
  1255. public function block_content_help(array $context, array $blocks = []): iterable
  1256. {
  1257. $macros = $this->macros;
  1258. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1259. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_help"));
  1260. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1261. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_help"));
  1262. // line 257
  1263. yield " ";
  1264. if ((($tmp = (isset($context["has_help_message"]) || array_key_exists("has_help_message", $context) ? $context["has_help_message"] : (function () { throw new RuntimeError('Variable "has_help_message" does not exist.', 257, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  1265. // line 258
  1266. yield " <span class=\"content-header-help\">
  1267. <i class=\"far fa-question-circle\" data-bs-toggle=\"tooltip\" title=\"";
  1268. // line 259
  1269. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 259, $this->source); })()), "crud", [], "any", false, false, false, 259), "helpMessage", [], "any", false, false, false, 259), "html_attr");
  1270. yield "\"></i>
  1271. </span>
  1272. ";
  1273. }
  1274. // line 262
  1275. yield " ";
  1276. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1277. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1278. yield from [];
  1279. }
  1280. // line 266
  1281. /**
  1282. * @return iterable<null|scalar|\Stringable>
  1283. */
  1284. public function block_page_actions_wrapper(array $context, array $blocks = []): iterable
  1285. {
  1286. $macros = $this->macros;
  1287. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1288. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_actions_wrapper"));
  1289. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1290. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_actions_wrapper"));
  1291. // line 267
  1292. yield " <div class=\"page-actions\">";
  1293. yield from $this->unwrap()->yieldBlock('page_actions', $context, $blocks);
  1294. yield "</div>
  1295. ";
  1296. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1297. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1298. yield from [];
  1299. }
  1300. /**
  1301. * @return iterable<null|scalar|\Stringable>
  1302. */
  1303. public function block_page_actions(array $context, array $blocks = []): iterable
  1304. {
  1305. $macros = $this->macros;
  1306. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1307. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_actions"));
  1308. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1309. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_actions"));
  1310. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1311. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1312. yield from [];
  1313. }
  1314. // line 274
  1315. /**
  1316. * @return iterable<null|scalar|\Stringable>
  1317. */
  1318. public function block_main(array $context, array $blocks = []): iterable
  1319. {
  1320. $macros = $this->macros;
  1321. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1322. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
  1323. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1324. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
  1325. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1326. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1327. yield from [];
  1328. }
  1329. // line 277
  1330. /**
  1331. * @return iterable<null|scalar|\Stringable>
  1332. */
  1333. public function block_content_footer_wrapper(array $context, array $blocks = []): iterable
  1334. {
  1335. $macros = $this->macros;
  1336. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1337. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_footer_wrapper"));
  1338. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1339. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_footer_wrapper"));
  1340. // line 278
  1341. yield " ";
  1342. $context["content_footer"] = (( $this->unwrap()->hasBlock("content_footer", $context, $blocks)) ? ( $this->unwrap()->renderBlock("content_footer", $context, $blocks)) : (""));
  1343. // line 279
  1344. yield " ";
  1345. if ((($tmp = !Twig\Extension\CoreExtension::testEmpty((isset($context["content_footer"]) || array_key_exists("content_footer", $context) ? $context["content_footer"] : (function () { throw new RuntimeError('Variable "content_footer" does not exist.', 279, $this->source); })()))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  1346. // line 280
  1347. yield " <section class=\"content-footer\">
  1348. ";
  1349. // line 281
  1350. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["content_footer"]) || array_key_exists("content_footer", $context) ? $context["content_footer"] : (function () { throw new RuntimeError('Variable "content_footer" does not exist.', 281, $this->source); })()), "html", null, true);
  1351. yield "
  1352. </section>
  1353. ";
  1354. }
  1355. // line 284
  1356. yield " ";
  1357. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1358. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1359. yield from [];
  1360. }
  1361. // line 295
  1362. /**
  1363. * @return iterable<null|scalar|\Stringable>
  1364. */
  1365. public function block_body_javascript(array $context, array $blocks = []): iterable
  1366. {
  1367. $macros = $this->macros;
  1368. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1369. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_javascript"));
  1370. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1371. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_javascript"));
  1372. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1373. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1374. yield from [];
  1375. }
  1376. // line 297
  1377. /**
  1378. * @return iterable<null|scalar|\Stringable>
  1379. */
  1380. public function block_configured_body_contents(array $context, array $blocks = []): iterable
  1381. {
  1382. $macros = $this->macros;
  1383. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1384. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_body_contents"));
  1385. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1386. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_body_contents"));
  1387. // line 298
  1388. yield " ";
  1389. $context['_parent'] = $context;
  1390. $context['_seq'] = CoreExtension::ensureTraversable((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 298), "bodyContents", [], "any", true, true, false, 298) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 298, $this->source); })()), "assets", [], "any", false, false, false, 298), "bodyContents", [], "any", false, false, false, 298)))) ? (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 298, $this->source); })()), "assets", [], "any", false, false, false, 298), "bodyContents", [], "any", false, false, false, 298)) : ([])));
  1391. foreach ($context['_seq'] as $context["_key"] => $context["htmlContent"]) {
  1392. // line 299
  1393. yield " ";
  1394. yield $context["htmlContent"];
  1395. yield "
  1396. ";
  1397. }
  1398. $_parent = $context['_parent'];
  1399. unset($context['_seq'], $context['_key'], $context['htmlContent'], $context['_parent']);
  1400. $context = array_intersect_key($context, $_parent) + $_parent;
  1401. // line 301
  1402. yield " ";
  1403. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1404. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1405. yield from [];
  1406. }
  1407. /**
  1408. * @codeCoverageIgnore
  1409. */
  1410. public function getTemplateName(): string
  1411. {
  1412. return "@!EasyAdmin/layout.html.twig";
  1413. }
  1414. /**
  1415. * @codeCoverageIgnore
  1416. */
  1417. public function isTraitable(): bool
  1418. {
  1419. return false;
  1420. }
  1421. /**
  1422. * @codeCoverageIgnore
  1423. */
  1424. public function getDebugInfo(): array
  1425. {
  1426. return array ( 1701 => 301, 1692 => 299, 1687 => 298, 1674 => 297, 1652 => 295, 1641 => 284, 1635 => 281, 1632 => 280, 1629 => 279, 1626 => 278, 1613 => 277, 1591 => 274, 1556 => 267, 1543 => 266, 1532 => 262, 1526 => 259, 1523 => 258, 1520 => 257, 1507 => 256, 1485 => 254, 1474 => 269, 1472 => 266, 1467 => 263, 1465 => 256, 1462 => 255, 1460 => 254, 1456 => 252, 1443 => 251, 1431 => 270, 1429 => 251, 1426 => 250, 1423 => 249, 1410 => 248, 1398 => 285, 1396 => 277, 1392 => 275, 1390 => 274, 1386 => 272, 1384 => 248, 1381 => 247, 1368 => 246, 1354 => 238, 1350 => 236, 1344 => 234, 1342 => 233, 1338 => 232, 1332 => 230, 1319 => 229, 1308 => 198, 1302 => 197, 1296 => 196, 1286 => 194, 1283 => 193, 1268 => 191, 1263 => 190, 1260 => 189, 1258 => 188, 1253 => 187, 1248 => 186, 1235 => 185, 1222 => 220, 1214 => 216, 1212 => 215, 1202 => 212, 1198 => 211, 1189 => 205, 1184 => 203, 1180 => 202, 1176 => 201, 1172 => 199, 1169 => 185, 1156 => 184, 1144 => 223, 1142 => 184, 1138 => 182, 1125 => 181, 1113 => 241, 1111 => 229, 1106 => 226, 1103 => 225, 1100 => 181, 1098 => 180, 1095 => 179, 1082 => 178, 1068 => 167, 1055 => 166, 1040 => 156, 1033 => 155, 1020 => 154, 1008 => 160, 1006 => 154, 1003 => 153, 990 => 152, 978 => 162, 976 => 152, 973 => 151, 960 => 150, 949 => 169, 947 => 166, 943 => 164, 941 => 150, 938 => 149, 925 => 148, 911 => 125, 904 => 124, 891 => 123, 877 => 141, 873 => 139, 867 => 137, 861 => 135, 858 => 134, 853 => 130, 849 => 128, 847 => 123, 840 => 118, 827 => 117, 812 => 287, 810 => 246, 805 => 243, 803 => 178, 798 => 177, 796 => 176, 788 => 170, 786 => 148, 780 => 144, 778 => 117, 775 => 116, 762 => 115, 751 => 110, 748 => 109, 733 => 107, 726 => 104, 720 => 103, 713 => 101, 706 => 100, 704 => 99, 701 => 98, 699 => 97, 696 => 96, 678 => 95, 675 => 94, 662 => 93, 648 => 64, 635 => 63, 623 => 292, 621 => 115, 617 => 113, 612 => 111, 610 => 93, 602 => 88, 598 => 87, 593 => 85, 589 => 83, 587 => 82, 584 => 81, 582 => 80, 579 => 79, 575 => 78, 569 => 76, 562 => 72, 557 => 69, 554 => 68, 552 => 67, 549 => 66, 546 => 63, 533 => 62, 518 => 57, 514 => 56, 510 => 54, 497 => 53, 454 => 52, 442 => 302, 440 => 297, 437 => 296, 435 => 295, 432 => 294, 430 => 62, 427 => 61, 425 => 53, 418 => 52, 405 => 51, 394 => 48, 385 => 46, 380 => 45, 367 => 44, 354 => 37, 349 => 36, 336 => 35, 322 => 32, 309 => 31, 295 => 28, 282 => 27, 269 => 24, 264 => 23, 251 => 22, 237 => 19, 224 => 18, 201 => 15, 185 => 8, 172 => 7, 160 => 304, 158 => 51, 154 => 49, 152 => 44, 149 => 43, 143 => 41, 141 => 40, 138 => 39, 136 => 35, 133 => 34, 131 => 31, 128 => 30, 126 => 27, 123 => 26, 121 => 22, 118 => 21, 116 => 18, 110 => 16, 105 => 15, 102 => 14, 100 => 7, 93 => 5, 89 => 3, 87 => 2,);
  1427. }
  1428. public function getSourceContext(): Source
  1429. {
  1430. return new Source("{# @var ea \\EasyCorp\\Bundle\\EasyAdminBundle\\Context\\AdminContext #}
  1431. {% trans_default_domain ea.i18n.translationDomain %}
  1432. <!DOCTYPE html>
  1433. <html lang=\"{{ ea.i18n.htmlLocale }}\" dir=\"{{ ea.i18n.textDirection }}\">
  1434. <head>
  1435. {% block head_metas %}
  1436. <meta charset=\"utf-8\">
  1437. <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  1438. <meta name=\"robots\" content=\"noindex, nofollow, noarchive, nosnippet, noodp, noimageindex, notranslate, nocache\" />
  1439. <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  1440. <meta name=\"generator\" content=\"EasyAdmin\" />
  1441. {% endblock head_metas %}
  1442. {% set page_title_block_output %}{% block page_title %}{{ block('content_title') }}{% endblock %}{% endset %}
  1443. <title>{{ page_title_block_output|striptags|raw }}</title>
  1444. {% block head_stylesheets %}
  1445. <link rel=\"stylesheet\" href=\"{{ asset('bundles/easyadmin/app.css') }}\">
  1446. {% endblock %}
  1447. {% block configured_stylesheets %}
  1448. {{ include('@EasyAdmin/includes/_css_assets.html.twig', { assets: ea.assets.cssAssets ?? [] }, with_context = false) }}
  1449. {{ include('@EasyAdmin/includes/_encore_link_tags.html.twig', { assets: ea.assets.webpackEncoreAssets ?? [] }, with_context = false) }}
  1450. {% endblock %}
  1451. {% block head_favicon %}
  1452. <link rel=\"shortcut icon\" href=\"{{ asset(ea.dashboardFaviconPath) }}\">
  1453. {% endblock %}
  1454. {% block head_javascript %}
  1455. <script src=\"{{ asset('bundles/easyadmin/app.js') }}\"></script>
  1456. {% endblock head_javascript %}
  1457. {% block configured_javascripts %}
  1458. {{ include('@EasyAdmin/includes/_js_assets.html.twig', { assets: ea.assets.jsAssets ?? [] }, with_context = false) }}
  1459. {{ include('@EasyAdmin/includes/_encore_script_tags.html.twig', { assets: ea.assets.webpackEncoreAssets ?? [] }, with_context = false) }}
  1460. {% endblock %}
  1461. {% if 'rtl' == ea.i18n.textDirection %}
  1462. <link rel=\"stylesheet\" href=\"{{ asset('bundles/easyadmin/app.rtl.css') }}\">
  1463. {% endif %}
  1464. {% block configured_head_contents %}
  1465. {% for htmlContent in ea.assets.headContents ?? [] %}
  1466. {{ htmlContent|raw }}
  1467. {% endfor %}
  1468. {% endblock %}
  1469. </head>
  1470. {% block body %}
  1471. <body id=\"{% block body_id %}{% endblock %}\" class=\"ea {% block body_class %}{% endblock %}\">
  1472. {% block javascript_page_layout %}
  1473. <script>
  1474. document.body.classList.add(
  1475. 'ea-content-width-' + (localStorage.getItem('ea/content/width') || '{{ ea.crud.contentWidth ?? ea.dashboardContentWidth ?? 'normal' }}'),
  1476. 'ea-sidebar-width-' + (localStorage.getItem('ea/sidebar/width') || '{{ ea.crud.sidebarWidth ?? ea.dashboardSidebarWidth ?? 'normal' }}')
  1477. );
  1478. </script>
  1479. {% endblock javascript_page_layout %}
  1480. {% block wrapper_wrapper %}
  1481. {% block flash_messages %}
  1482. {{ include(ea.templatePath('flash_messages')) }}
  1483. {% endblock flash_messages %}
  1484. {% set user_menu_avatar %}
  1485. {% if null == ea.userMenu.avatarUrl %}
  1486. <span class=\"user-avatar\">
  1487. <span class=\"fa-stack\">
  1488. <i class=\"user-avatar-icon-background fas fa-square fa-stack-2x\"></i>
  1489. <i class=\"user-avatar-icon-foreground {{ ea.user is not null ? 'fa fa-user' : 'fas fa-user-slash' }} fa-stack-1x fa-inverse\"></i>
  1490. </span>
  1491. </span>
  1492. {% else %}
  1493. <img class=\"user-avatar\" src=\"{{ ea.userMenu.avatarUrl }}\" />
  1494. {% endif %}
  1495. {% endset %}
  1496. {% set impersonator_permission = constant('Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\AuthenticatedVoter::IS_IMPERSONATOR') is defined ? 'IS_IMPERSONATOR' : 'ROLE_PREVIOUS_ADMIN' %}
  1497. {% set user_menu_dropdown %}
  1498. <ul class=\"dropdown-menu dropdown-menu-end\">
  1499. <li class=\"dropdown-user-details\">
  1500. <div>{{ user_menu_avatar }}</div>
  1501. <div>
  1502. <span class=\"user-label\">{{ 'user.logged_in_as'|trans(domain = 'EasyAdminBundle') }}</span>
  1503. <span class=\"user-name\">{{ ea.user is null ? 'user.anonymous'|trans(domain = 'EasyAdminBundle') : ea.userMenu.name }}</span>
  1504. </div>
  1505. </li>
  1506. <li><hr class=\"dropdown-divider\"></li>
  1507. {% block user_menu %}
  1508. {% if ea.userMenu.items|length > 0 %}
  1509. {% for item in ea.userMenu.items %}
  1510. <li>
  1511. {% if item.isMenuSection and not loop.first %}
  1512. <hr class=\"dropdown-divider\">
  1513. {% elseif not item.isMenuSection %}
  1514. <a href=\"{{ item.linkUrl }}\" class=\"dropdown-item user-action {{ item.cssClass }}\"
  1515. target=\"{{ item.linkTarget }}\" rel=\"{{ item.linkRel }}\"
  1516. referrerpolicy=\"origin-when-cross-origin\">
  1517. {% if item.icon is not empty %}<i class=\"fa fa-fw {{ item.icon }}\"></i>{% endif %}
  1518. <span>{{ item.label }}</span>
  1519. </a>
  1520. {% endif %}
  1521. </li>
  1522. {% endfor %}
  1523. {% endif %}
  1524. {% endblock user_menu %}
  1525. </ul>
  1526. {% endset %}
  1527. <div class=\"wrapper\">
  1528. {% block wrapper %}
  1529. <div class=\"responsive-header\">
  1530. {% block responsive_header %}
  1531. <button id=\"navigation-toggler\" type=\"button\" aria-label=\"Toggle navigation\">
  1532. <i class=\"fa fa-fw fa-bars\"></i>
  1533. </button>
  1534. <div id=\"responsive-header-logo\" class=\"text-truncate\">
  1535. {% block responsive_header_logo %}
  1536. <a class=\"responsive-logo\" title=\"{{ ea.dashboardTitle|striptags }}\" href=\"{{ path(ea.dashboardRouteName) }}\">
  1537. {{ ea.dashboardTitle|raw }}
  1538. </a>
  1539. {% endblock responsive_header_logo %}
  1540. </div>
  1541. <div class=\"dropdown user-menu-wrapper {{ is_granted(impersonator_permission) ? 'user-is-impersonated' }}\">
  1542. <a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">
  1543. {# to make the site design consistent, always display the user avatar in responsive header
  1544. and hide the user name (because there's no space left) regardless of the user config #}
  1545. {% if ea.userMenu.avatarDisplayed %}
  1546. {{ user_menu_avatar }}
  1547. {% else %}
  1548. <i class=\"user-avatar fa fa-fw {{ ea.user is not null ? 'fa-user' : 'fa-user-times' }}\"></i>
  1549. {% endif %}
  1550. </a>
  1551. {{ user_menu_dropdown }}
  1552. </div>
  1553. {% endblock responsive_header %}
  1554. </div>
  1555. <div class=\"sidebar-wrapper\">
  1556. <aside class=\"sidebar\">
  1557. {% block sidebar %}
  1558. <header class=\"main-header\">
  1559. {% block header %}
  1560. <nav class=\"navbar\" role=\"navigation\">
  1561. {% block header_navbar %}
  1562. <div id=\"header-logo\">
  1563. {% block header_logo %}
  1564. <a class=\"logo\" title=\"{{ ea.dashboardTitle|striptags }}\" href=\"{{ path(ea.dashboardRouteName) }}\">
  1565. <span class=\"logo-custom\">{{ ea.dashboardTitle|raw }}</span>
  1566. <span class=\"logo-compact\"><i class=\"fas fa-home\"></i></span>
  1567. </a>
  1568. {% endblock header_logo %}
  1569. </div>
  1570. {% endblock header_navbar %}
  1571. </nav>
  1572. {% endblock header %}
  1573. </header>
  1574. {% block main_menu_wrapper %}
  1575. {{ include(ea.templatePath('main_menu')) }}
  1576. {% endblock main_menu_wrapper %}
  1577. {% endblock sidebar %}
  1578. <div id=\"sidebar-resizer-handler\" class=\"resizer-handler resizer-handler-left\"></div>
  1579. </aside>
  1580. </div>
  1581. <section class=\"main-content\">
  1582. {% set has_search = ea.crud is not null and ea.crud.isSearchEnabled %}
  1583. <aside class=\"content-top {{ has_search ? 'ea-search-enabled' : 'ea-search-disabled' }}\">
  1584. {% block content_top_header %}
  1585. <div class=\"content-search\">
  1586. {% if has_search %}
  1587. {% block search %}
  1588. <form class=\"form-action-search\" method=\"get\">
  1589. {% block search_form %}
  1590. {% block search_form_filters %}
  1591. {% for field, array in ea.search.appliedFilters %}
  1592. {% for key, value in array %}
  1593. {# This code re-applies your filters on searches, an iterable check is needed in cases we have more than one object for a filter #}
  1594. {% if value is iterable %}
  1595. {% for index, iterValue in value %}
  1596. <input type=\"hidden\" name=\"filters[{{ field }}][{{ key }}][{{ index }}]\" value=\"{{ iterValue }}\">
  1597. {% endfor %}
  1598. {% else %}
  1599. <input type=\"hidden\" name=\"filters[{{ field }}][{{ key }}]\" value=\"{{ value }}\">
  1600. {% endif %}
  1601. {% endfor %}
  1602. {% endfor %}
  1603. {% endblock %}
  1604. <input type=\"hidden\" name=\"crudAction\" value=\"index\">
  1605. <input type=\"hidden\" name=\"crudControllerFqcn\" value=\"{{ ea.request.query.get('crudControllerFqcn') }}\">
  1606. <input type=\"hidden\" name=\"menuIndex\" value=\"{{ ea.request.query.get('menuIndex') }}\">
  1607. <input type=\"hidden\" name=\"submenuIndex\" value=\"{{ ea.request.query.get('submenuIndex') }}\">
  1608. <input type=\"hidden\" name=\"page\" value=\"1\">
  1609. <input type=\"hidden\" name=\"signature\" value=\"{{ ea_url().unsetAll().setAction('index').setController(ea.request.query.get('crudControllerFqcn')).getSignature() }}\">
  1610. <div class=\"form-group\">
  1611. <div class=\"form-widget\">
  1612. <i class=\"fas fa-search content-search-icon\"></i>
  1613. <label class=\"content-search-label\" data-value=\"{{ app.request.get('query') }}\">
  1614. <input class=\"form-control {{ app.request.get('query') is null ? 'is-blank' }}\" type=\"search\" name=\"query\" value=\"{{ app.request.get('query') ?? '' }}\" placeholder=\"{{ 'action.search'|trans(ea.i18n.translationParameters, 'EasyAdminBundle') }}\" spellcheck=\"false\" autocorrect=\"false\" onInput=\"this.parentNode.dataset.value=this.value\">
  1615. </label>
  1616. {% if app.request.get('query') %}
  1617. <a href=\"{{ ea_url().unset('query') }}\" class=\"content-search-reset\">
  1618. <i class=\"fas fa-fw fa-times\"></i>
  1619. </a>
  1620. {% endif %}
  1621. </div>
  1622. </div>
  1623. {% endblock %}
  1624. </form>
  1625. {% endblock search %}
  1626. {% endif %}
  1627. </div>
  1628. <div class=\"navbar-custom-menu\">
  1629. {% block header_custom_menu %}
  1630. <div class=\"dropdown user-menu-wrapper {{ is_granted(impersonator_permission) ? 'user-is-impersonated' }}\">
  1631. <a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">
  1632. {{ user_menu_avatar }}
  1633. {% if ea.userMenu.isNameDisplayed %}
  1634. <span class=\"user-name\">{{ ea.userMenu.name }}</span>
  1635. {% endif %}
  1636. </a>
  1637. {{ user_menu_dropdown }}
  1638. </div>
  1639. {% endblock header_custom_menu %}
  1640. </div>
  1641. {% endblock content_top_header %}
  1642. </aside>
  1643. <div class=\"content-wrapper\">
  1644. {% block content %}
  1645. <article class=\"content\">
  1646. {% block content_header_wrapper %}
  1647. {% set has_help_message = (ea.crud.helpMessage ?? '') is not empty %}
  1648. <section class=\"content-header\">
  1649. {% block content_header %}
  1650. <div class=\"content-header-title\">
  1651. <h1 class=\"title\">
  1652. {% block content_title %}{% endblock %}
  1653. {% block content_help %}
  1654. {% if has_help_message %}
  1655. <span class=\"content-header-help\">
  1656. <i class=\"far fa-question-circle\" data-bs-toggle=\"tooltip\" title=\"{{ ea.crud.helpMessage|e('html_attr') }}\"></i>
  1657. </span>
  1658. {% endif %}
  1659. {% endblock %}
  1660. </h1>
  1661. </div>
  1662. {% block page_actions_wrapper %}
  1663. <div class=\"page-actions\">{% block page_actions %}{% endblock %}</div>
  1664. {% endblock %}
  1665. {% endblock content_header %}
  1666. </section>
  1667. {% endblock content_header_wrapper %}
  1668. <section id=\"main\" class=\"content-body\">
  1669. {% block main %}{% endblock %}
  1670. </section>
  1671. {% block content_footer_wrapper %}
  1672. {% set content_footer = block('content_footer') is defined ? block('content_footer') : '' %}
  1673. {% if content_footer is not empty %}
  1674. <section class=\"content-footer\">
  1675. {{ content_footer }}
  1676. </section>
  1677. {% endif %}
  1678. {% endblock %}
  1679. </article>
  1680. {% endblock content %}
  1681. <div id=\"content-resizer-handler\" class=\"resizer-handler resizer-handler-right\"></div>
  1682. </div>
  1683. </section>
  1684. {% endblock wrapper %}
  1685. </div>
  1686. {% endblock wrapper_wrapper %}
  1687. {% block body_javascript %}{% endblock body_javascript %}
  1688. {% block configured_body_contents %}
  1689. {% for htmlContent in ea.assets.bodyContents ?? [] %}
  1690. {{ htmlContent|raw }}
  1691. {% endfor %}
  1692. {% endblock %}
  1693. </body>
  1694. {% endblock body %}
  1695. </html>
  1696. ", "@!EasyAdmin/layout.html.twig", "/home/gortech.hu/domains/munka.gortech.hu/public_html/erp/vendor/easycorp/easyadmin-bundle/src/Resources/views/layout.html.twig");
  1697. }
  1698. }