var/cache/dev/twig/65/651f3ae767af8350df1962715824e8db.php line 71
<?phpuse Twig\Environment;use Twig\Error\LoaderError;use Twig\Error\RuntimeError;use Twig\Extension\SandboxExtension;use Twig\Markup;use Twig\Sandbox\SecurityError;use Twig\Sandbox\SecurityNotAllowedTagError;use Twig\Sandbox\SecurityNotAllowedFilterError;use Twig\Sandbox\SecurityNotAllowedFunctionError;use Twig\Source;use Twig\Template;/* @EasyAdmin/layout.html.twig */class __TwigTemplate_64a357cc6554fad85108ea752fd86e89 extends Template{private $source;private $macros = [];public function __construct(Environment $env){parent::__construct($env);$this->source = $this->getSourceContext();$this->parent = false;$this->blocks = ['head_metas' => [$this, 'block_head_metas'],'page_title' => [$this, 'block_page_title'],'head_stylesheets' => [$this, 'block_head_stylesheets'],'configured_stylesheets' => [$this, 'block_configured_stylesheets'],'head_favicon' => [$this, 'block_head_favicon'],'head_javascript' => [$this, 'block_head_javascript'],'configured_head_contents' => [$this, 'block_configured_head_contents'],'body' => [$this, 'block_body'],'body_attr' => [$this, 'block_body_attr'],'body_id' => [$this, 'block_body_id'],'body_class' => [$this, 'block_body_class'],'wrapper_wrapper' => [$this, 'block_wrapper_wrapper'],'flash_messages' => [$this, 'block_flash_messages'],'user_menu' => [$this, 'block_user_menu'],'wrapper' => [$this, 'block_wrapper'],'responsive_header' => [$this, 'block_responsive_header'],'responsive_header_logo' => [$this, 'block_responsive_header_logo'],'sidebar' => [$this, 'block_sidebar'],'header' => [$this, 'block_header'],'header_navbar' => [$this, 'block_header_navbar'],'header_logo' => [$this, 'block_header_logo'],'main_menu_wrapper' => [$this, 'block_main_menu_wrapper'],'content_top_header' => [$this, 'block_content_top_header'],'search' => [$this, 'block_search'],'search_form' => [$this, 'block_search_form'],'search_form_filters' => [$this, 'block_search_form_filters'],'header_custom_menu' => [$this, 'block_header_custom_menu'],'content' => [$this, 'block_content'],'content_header_wrapper' => [$this, 'block_content_header_wrapper'],'content_header' => [$this, 'block_content_header'],'content_title' => [$this, 'block_content_title'],'content_help' => [$this, 'block_content_help'],'page_actions_wrapper' => [$this, 'block_page_actions_wrapper'],'page_actions' => [$this, 'block_page_actions'],'main' => [$this, 'block_main'],'content_footer_wrapper' => [$this, 'block_content_footer_wrapper'],'body_javascript' => [$this, 'block_body_javascript'],'configured_body_contents' => [$this, 'block_configured_body_contents'],];}protected function doDisplay(array $context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@EasyAdmin/layout.html.twig"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@EasyAdmin/layout.html.twig"));// line 2$context["__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($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);// line 3echo "<!DOCTYPE html ><html lang=\"";// line 5echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($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);echo "\" dir=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($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);echo "\" ><head>";// line 7$context["sessionLifetimeSeconds"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "session", [], "any", false, false, false, 7), "getMetadataBag", [], "method", false, false, false, 7), "getLifetime", [], "method", false, false, false, 7);// line 8echo " <style>.session-badge {display: inline-block;padding: 0.25em 0.5em;font-size: 75%;font-weight: 700;line-height: 1;color: #fff;text-align: center;white-space: nowrap;vertical-align: baseline;border-radius: 0.25rem;background-color: #007bff;}</style><!-- <script>document.addEventListener('DOMContentLoaded', function() {var sessionBadge = document.querySelector('.session-badge');var sessionLifetimeSeconds = ";// line 26echo twig_escape_filter($this->env, (isset($context["sessionLifetimeSeconds"]) || array_key_exists("sessionLifetimeSeconds", $context) ? $context["sessionLifetimeSeconds"] : (function () { throw new RuntimeError('Variable "sessionLifetimeSeconds" does not exist.', 26, $this->source); })()), "html", null, true);echo ";var updateInterval = 1000; // Mettez à jour toutes les secondesfunction updateSessionCounter() {var minutes = Math.floor(sessionLifetimeSeconds / 60);var seconds = sessionLifetimeSeconds % 60;sessionBadge.textContent = minutes + 'm ' + seconds + 's';sessionLifetimeSeconds--;}// Mettez à jour le compteur initialementupdateSessionCounter();// Mettez à jour le compteur toutes les secondessetInterval(updateSessionCounter, updateInterval);});</script>--><script>document.addEventListener(\"turbo:load\", function() {// Votre code existant pour le compteur de sessionvar sessionBadge = document.querySelector('.session-badge');var sessionLifetimeSeconds = ";// line 47echo twig_escape_filter($this->env, (isset($context["sessionLifetimeSeconds"]) || array_key_exists("sessionLifetimeSeconds", $context) ? $context["sessionLifetimeSeconds"] : (function () { throw new RuntimeError('Variable "sessionLifetimeSeconds" does not exist.', 47, $this->source); })()), "html", null, true);echo ";var updateInterval = 1000; // Mettez à jour toutes les secondesfunction updateSessionCounter() {if (sessionLifetimeSeconds > 0) {var hours = Math.floor(sessionLifetimeSeconds / 3600);var minutes = Math.floor((sessionLifetimeSeconds % 3600) / 60);var seconds = sessionLifetimeSeconds % 60;sessionBadge.textContent = hours + 'h ' + minutes + 'm ' + seconds + 's';sessionLifetimeSeconds--;} else {// Arrêtez le compteur et effectuez toute autre action nécessaireclearInterval(intervalId);sessionBadge.textContent = 'Session expirée';}}// Mettez à jour le compteur initialementupdateSessionCounter();// Mettez à jour le compteur toutes les secondesvar intervalId = setInterval(updateSessionCounter, updateInterval);});</script>";// line 72$this->displayBlock('head_metas', $context, $blocks);// line 82echo "";// line 83ob_start();$this->displayBlock('page_title', $context, $blocks);$context["page_title_block_output"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());// line 84echo " <title>";echo twig_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.', 84, $this->source); })()));echo "</title>";// line 86$this->displayBlock('head_stylesheets', $context, $blocks);// line 100echo "";// line 101$this->displayBlock('configured_stylesheets', $context, $blocks);// line 105echo "";// line 106$this->displayBlock('head_favicon', $context, $blocks);// line 109echo "";// line 110$this->displayBlock('head_javascript', $context, $blocks);// line 117echo "";// line 120if (("rtl" == twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 120, $this->source); })()), "i18n", [], "any", false, false, false, 120), "textDirection", [], "any", false, false, false, 120))) {// line 121echo " <link rel=\"stylesheet\" href=\"";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("app.rtl.css", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 121, $this->source); })()), "assets", [], "any", false, false, false, 121), "defaultAssetPackageName", [], "any", false, false, false, 121)), "html", null, true);echo "\">";}// line 123echo "";// line 124$this->displayBlock('configured_head_contents', $context, $blocks);// line 129echo "</head>";// line 131$this->displayBlock('body', $context, $blocks);// line 581echo "</html>";$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);}// line 72public function block_head_metas($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_metas"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_metas"));// line 73echo " <meta charset=\"utf-8\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><meta name=\"robots\" content=\"noindex, nofollow, noarchive, nosnippet, noodp, noimageindex, notranslate, nocache\" /><meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\"><meta name=\"generator\" content=\"EasyAdmin\" /><meta name=\"turbo-cache-control\" content=\"no-cache\">";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 83public function block_page_title($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));$this->displayBlock("content_title", $context, $blocks);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 86public function block_head_stylesheets($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));// line 87echo " <link rel=\"stylesheet\" href=\"";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("app.css", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 87, $this->source); })()), "assets", [], "any", false, false, false, 87), "defaultAssetPackageName", [], "any", false, false, false, 87)), "html", null, true);echo "\">";// line 89echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");echo "";// line 93if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_CUSTOMER")) {// line 94echo " <link rel=\"stylesheet\" href=\"";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("themes/" . twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 94, $this->source); })()), "get", [], "any", false, false, false, 94), "assetFolderName", [], "any", false, false, false, 94))) . "/admin/admin-customer.css")), "html", null, true);echo "\">";} else {// line 96echo " <link rel=\"stylesheet\" href=\"";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("themes/" . twig_lower_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 96, $this->source); })()), "get", [], "any", false, false, false, 96), "assetFolderName", [], "any", false, false, false, 96))) . "/admin/admin.css")), "html", null, true);echo "\">";}// line 98echo "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 101public function block_configured_stylesheets($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_stylesheets"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_stylesheets"));// line 102echo " ";echo twig_include($this->env, $context, "@EasyAdmin/includes/_css_assets.html.twig", ["assets" => (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 102), "cssAssets", [], "any", true, true, false, 102) && !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 102), "cssAssets", [], "any", false, false, false, 102)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 102), "cssAssets", [], "any", false, false, false, 102)) : ([]))], false);echo "";// line 103echo twig_include($this->env, $context, "@EasyAdmin/includes/_encore_link_tags.html.twig", ["assets" => (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 103), "webpackEncoreAssets", [], "any", true, true, false, 103) && !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 103), "webpackEncoreAssets", [], "any", false, false, false, 103)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 103), "webpackEncoreAssets", [], "any", false, false, false, 103)) : ([]))], false);echo "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 106public function block_head_favicon($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_favicon"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_favicon"));// line 107echo " <link rel=\"shortcut icon\" href=\"";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 107, $this->source); })()), "dashboardFaviconPath", [], "any", false, false, false, 107)), "html", null, true);echo "\">";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 110public function block_head_javascript($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_javascript"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_javascript"));// line 111echo "";// line 113echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");echo "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 124public function block_configured_head_contents($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_head_contents"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_head_contents"));// line 125echo " ";$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 125), "headContents", [], "any", true, true, false, 125) && !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 125), "headContents", [], "any", false, false, false, 125)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 125), "headContents", [], "any", false, false, false, 125)) : ([])));foreach ($context['_seq'] as $context["_key"] => $context["htmlContent"]) {// line 126echo " ";echo $context["htmlContent"];echo "";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['htmlContent'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 128echo " ";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 131public function block_body($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));// line 132echo " <body ";$this->displayBlock('body_attr', $context, $blocks);// line 133echo " id=\"";$this->displayBlock('body_id', $context, $blocks);echo "\"class=\"ea ";// line 134$this->displayBlock('body_class', $context, $blocks);echo " \"data-ea-content-width=\"";// line 135echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "crud", [], "any", false, true, false, 135), "contentWidth", [], "any", true, true, false, 135) && !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "crud", [], "any", false, true, false, 135), "contentWidth", [], "any", false, false, false, 135)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "crud", [], "any", false, true, false, 135), "contentWidth", [], "any", false, false, false, 135)) : ((((twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "dashboardContentWidth", [], "any", true, true, false, 135) && !(null === twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "dashboardContentWidth", [], "any", false, false, false, 135)))) ? (twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "dashboardContentWidth", [], "any", false, false, false, 135)) : ("normal")))), "html", null, true);echo "\"data-ea-sidebar-width=\"";// line 136echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "crud", [], "any", false, true, false, 136), "sidebarWidth", [], "any", true, true, false, 136) && !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "crud", [], "any", false, true, false, 136), "sidebarWidth", [], "any", false, false, false, 136)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "crud", [], "any", false, true, false, 136), "sidebarWidth", [], "any", false, false, false, 136)) : ((((twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "dashboardSidebarWidth", [], "any", true, true, false, 136) && !(null === twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "dashboardSidebarWidth", [], "any", false, false, false, 136)))) ? (twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "dashboardSidebarWidth", [], "any", false, false, false, 136)) : ("normal")))), "html", null, true);echo "\"data-ea-dark-scheme-is-enabled=\"";// line 137echo ((twig_get_attribute($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); })()), "dashboardHasDarkModeEnabled", [], "any", false, false, false, 137)) ? ("true") : ("false"));echo "\">";// line 141$this->displayBlock('wrapper_wrapper', $context, $blocks);// line 503echo "";// line 504$this->displayBlock('body_javascript', $context, $blocks);// line 573echo "";// line 574$this->displayBlock('configured_body_contents', $context, $blocks);// line 579echo " </body>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 132public function block_body_attr($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_attr"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_attr"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 133public function block_body_id($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_id"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_id"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 134public function block_body_class($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_class"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_class"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 141public function block_wrapper_wrapper($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper_wrapper"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper_wrapper"));// line 142echo " ";$this->displayBlock('flash_messages', $context, $blocks);// line 145echo "";// line 146ob_start();// line 147echo " ";if ((null == twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 147, $this->source); })()), "userMenu", [], "any", false, false, false, 147), "avatarUrl", [], "any", false, false, false, 147))) {// line 148echo " <span class=\"user-avatar\"><span class=\"fa-stack\"><i class=\"user-avatar-icon-background fas fa-square fa-stack-2x\"></i><i class=\"user-avatar-icon-foreground ";// line 151echo (( !(null === twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 151, $this->source); })()), "user", [], "any", false, false, false, 151))) ? ("fa fa-user") : ("fas fa-user-slash"));echo " fa-stack-1x fa-inverse\"></i></span></span>";} else {// line 155echo " <img class=\"user-avatar\" src=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($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); })()), "userMenu", [], "any", false, false, false, 155), "avatarUrl", [], "any", false, false, false, 155), "html", null, true);echo "\" />";}// line 157echo " ";$context["user_menu_avatar"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());// line 158echo "";// line 159$context["impersonator_permission"] = ((twig_constant_is_defined("Symfony\\Component\\Security\\Core\\Authorization\\Voter\\AuthenticatedVoter::IS_IMPERSONATOR")) ? ("IS_IMPERSONATOR") : ("ROLE_PREVIOUS_ADMIN"));// line 160echo "";// line 161ob_start();// line 162echo " <ul class=\"dropdown-menu dropdown-menu-end\"><li class=\"dropdown-user-details\"><div>";// line 164echo twig_escape_filter($this->env, (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.', 164, $this->source); })()), "html", null, true);echo "</div><div><span class=\"user-label\">";// line 166echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.logged_in_as", array(), "EasyAdminBundle"), "html", null, true);echo "</span><span class=\"user-name\">";// line 167echo twig_escape_filter($this->env, (((null === twig_get_attribute($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); })()), "user", [], "any", false, false, false, 167))) ? ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.anonymous", array(), "EasyAdminBundle")) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($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); })()), "userMenu", [], "any", false, false, false, 167), "name", [], "any", false, false, false, 167))), "html", null, true);echo "</span></div></li>";// line 171$this->displayBlock('user_menu', $context, $blocks);// line 190echo " </ul>";$context["user_menu_dropdown"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());// line 192echo "";// line 193ob_start();// line 194echo " ";if ((twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 194, $this->source); })()), "dashboardLocales", [], "any", false, false, false, 194) || twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 194, $this->source); })()), "dashboardHasDarkModeEnabled", [], "any", false, false, false, 194))) {// line 195echo " <div class=\"dropdown dropdown-settings\"><a class=\"dropdown-settings-button\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\"><i class=\"fas fa-gear\"></i></a><ul class=\"dropdown-menu dropdown-menu-end\">";// line 201if (twig_get_attribute($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); })()), "dashboardLocales", [], "any", false, false, false, 201)) {// line 202echo " <li><span class=\"dropdown-header dropdown-locales-label\">";// line 203echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("settings.locale", array(), "EasyAdminBundle"), "html", null, true);echo "</span></li>";// line 206$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 206, $this->source); })()), "dashboardLocales", [], "any", false, false, false, 206));foreach ($context['_seq'] as $context["_key"] => $context["localeDto"]) {// line 207echo " <li><a href=\"";// line 208echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "set", [0 => "_locale", 1 => twig_get_attribute($this->env, $this->source, $context["localeDto"], "locale", [], "any", false, false, false, 208)], "method", false, false, false, 208), "html", null, true);echo "\" class=\"dropdown-item";if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 208, $this->source); })()), "request", [], "any", false, false, false, 208), "locale", [], "any", false, false, false, 208) == twig_get_attribute($this->env, $this->source, $context["localeDto"], "locale", [], "any", false, false, false, 208))) {echo " active";}echo "\">";// line 209if (twig_get_attribute($this->env, $this->source, $context["localeDto"], "icon", [], "any", false, false, false, 209)) {// line 210echo " <i class=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["localeDto"], "icon", [], "any", false, false, false, 210), "html", null, true);echo "\"></i>";}// line 212echo " ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["localeDto"], "name", [], "any", false, false, false, 212), "html", null, true);echo "</a></li>";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['localeDto'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 216echo " ";}// line 217echo "";// line 218if (twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 218, $this->source); })()), "dashboardHasDarkModeEnabled", [], "any", false, false, false, 218)) {// line 219echo " ";if (twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 219, $this->source); })()), "dashboardLocales", [], "any", false, false, false, 219)) {// line 220echo " <div class=\"dropdown-divider\"></div>";}// line 222echo "<li><span class=\"dropdown-header dropdown-appearance-label\">";// line 224echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("settings.appearance.label", array(), "EasyAdminBundle"), "html", null, true);echo "</span></li><li><a href=\"#\" class=\"dropdown-item dropdown-appearance-item\" data-ea-color-scheme=\"light\"><i class=\"far fa-sun\"></i> <span>";// line 228echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("settings.appearance.light", array(), "EasyAdminBundle"), "html", null, true);echo "</span></a></li><li><a href=\"#\" class=\"dropdown-item dropdown-appearance-item\" data-ea-color-scheme=\"dark\"><i class=\"far fa-moon\"></i> <span>";// line 233echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("settings.appearance.dark", array(), "EasyAdminBundle"), "html", null, true);echo "</span></a></li><li><a href=\"#\" class=\"dropdown-item dropdown-appearance-item active\" data-ea-color-scheme=\"auto\"><i class=\"fas fa-desktop\"></i> <span>";// line 238echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("settings.appearance.auto", array(), "EasyAdminBundle"), "html", null, true);echo "</span></a></li>";}// line 242echo " </ul></div>";}// line 245echo " ";$context["settings_dropdown"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());// line 246echo "<div class=\"wrapper\">";// line 248$this->displayBlock('wrapper', $context, $blocks);// line 501echo " </div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 142public function block_flash_messages($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "flash_messages"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "flash_messages"));// line 143echo " ";echo twig_include($this->env, $context, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 143, $this->source); })()), "templatePath", [0 => "flash_messages"], "method", false, false, false, 143));echo "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 171public function block_user_menu($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "user_menu"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "user_menu"));// line 172echo " ";if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 172, $this->source); })()), "userMenu", [], "any", false, false, false, 172), "items", [], "any", false, false, false, 172)) > 0)) {// line 173echo " <li><hr class=\"dropdown-divider\"></li>";// line 174$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 174, $this->source); })()), "userMenu", [], "any", false, false, false, 174), "items", [], "any", false, false, false, 174));$context['loop'] = ['parent' => $context['_parent'],'index0' => 0,'index' => 1,'first' => true,];if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {$length = count($context['_seq']);$context['loop']['revindex0'] = $length - 1;$context['loop']['revindex'] = $length;$context['loop']['length'] = $length;$context['loop']['last'] = 1 === $length;}foreach ($context['_seq'] as $context["_key"] => $context["item"]) {// line 175echo " <li>";// line 176if ((twig_get_attribute($this->env, $this->source, $context["item"], "isMenuSection", [], "any", false, false, false, 176) && !twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 176))) {// line 177echo " <hr class=\"dropdown-divider\">";} elseif ( !twig_get_attribute($this->env, $this->source, // line 178$context["item"], "isMenuSection", [], "any", false, false, false, 178)) {// line 179echo " <a href=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "linkUrl", [], "any", false, false, false, 179), "html", null, true);echo "\" class=\"dropdown-item user-action ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "cssClass", [], "any", false, false, false, 179), "html", null, true);echo "\"target=\"";// line 180echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "linkTarget", [], "any", false, false, false, 180), "html", null, true);echo "\" rel=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "linkRel", [], "any", false, false, false, 180), "html", null, true);echo "\"referrerpolicy=\"origin-when-cross-origin\">";// line 182if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "icon", [], "any", false, false, false, 182))) {echo "<i class=\"fa fa-fw ";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "icon", [], "any", false, false, false, 182), "html", null, true);echo "\"></i>";}// line 183echo " <span>";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, $context["item"], "label", [], "any", false, false, false, 183), [], // line 2(isset($context["__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2"]) || array_key_exists("__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2", $context) ? $context["__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2"] : (function () { throw new RuntimeError('Variable "__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2" does not exist.', 2, $this->source); })())), "html", null, true);// line 183echo "</span></a>";}// line 186echo " </li>";++$context['loop']['index0'];++$context['loop']['index'];$context['loop']['first'] = false;if (isset($context['loop']['length'])) {--$context['loop']['revindex0'];--$context['loop']['revindex'];$context['loop']['last'] = 0 === $context['loop']['revindex0'];}}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 188echo " ";}// line 189echo " ";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 248public function block_wrapper($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrapper"));// line 249echo " <div class=\"responsive-header\">";// line 250$this->displayBlock('responsive_header', $context, $blocks);// line 279echo " </div><div class=\"sidebar-wrapper\" ><aside class=\"sidebar\" >";// line 283$this->displayBlock('sidebar', $context, $blocks);// line 305echo "<div id=\"sidebar-resizer-handler\" class=\"resizer-handler resizer-handler-left\"></div></aside></div><section class=\"main-content\" >";// line 311$context["has_search"] = ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 311, $this->source); })()), "crud", [], "any", false, false, false, 311)) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 311, $this->source); })()), "crud", [], "any", false, false, false, 311), "isSearchEnabled", [], "any", false, false, false, 311));// line 312echo " <aside class=\"content-top ";echo (((isset($context["has_search"]) || array_key_exists("has_search", $context) ? $context["has_search"] : (function () { throw new RuntimeError('Variable "has_search" does not exist.', 312, $this->source); })())) ? ("ea-search-enabled") : ("ea-search-disabled"));echo "\">";// line 313$this->displayBlock('content_top_header', $context, $blocks);// line 452echo " </aside><div class=\"content-wrapper \">";// line 455$this->displayBlock('content', $context, $blocks);// line 496echo "<div id=\"content-resizer-handler\" class=\"resizer-handler resizer-handler-right\"></div></div></section>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 250public function block_responsive_header($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "responsive_header"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "responsive_header"));// line 251echo " <button id=\"navigation-toggler\" type=\"button\" aria-label=\"Toggle navigation\"><i class=\"fa fa-fw fa-bars\"></i></button><div id=\"responsive-header-logo\" class=\"text-truncate ms-auto\">";// line 256$this->displayBlock('responsive_header_logo', $context, $blocks);// line 261echo " </div><div class=\"dropdown user-menu-wrapper ";// line 263echo (($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.', 263, $this->source); })()))) ? ("user-is-impersonated") : (""));echo " ms-auto\"><a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">";// line 267echo " ";if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 267, $this->source); })()), "userMenu", [], "any", false, false, false, 267), "avatarDisplayed", [], "any", false, false, false, 267)) {// line 268echo " ";echo twig_escape_filter($this->env, (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.', 268, $this->source); })()), "html", null, true);echo "";} else {// line 270echo " <i class=\"user-avatar fa fa-fw ";echo (( !(null === twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 270, $this->source); })()), "user", [], "any", false, false, false, 270))) ? ("fa-user") : ("fa-user-times"));echo "\"></i>";}// line 272echo " </a>";// line 274echo twig_escape_filter($this->env, (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.', 274, $this->source); })()), "html", null, true);echo "</div>";// line 277echo twig_escape_filter($this->env, (isset($context["settings_dropdown"]) || array_key_exists("settings_dropdown", $context) ? $context["settings_dropdown"] : (function () { throw new RuntimeError('Variable "settings_dropdown" does not exist.', 277, $this->source); })()), "html", null, true);echo "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 256public function block_responsive_header_logo($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "responsive_header_logo"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "responsive_header_logo"));// line 257echo " <a class=\"responsive-logo\" title=\"";echo twig_escape_filter($this->env, twig_striptags(twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 257, $this->source); })()), "dashboardTitle", [], "any", false, false, false, 257)), "html", null, true);echo "\" href=\"";echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 257, $this->source); })()), "dashboardRouteName", [], "any", false, false, false, 257));echo "\">";// line 258echo twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 258, $this->source); })()), "dashboardTitle", [], "any", false, false, false, 258);echo "</a>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 283public function block_sidebar($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));// line 284echo " <header class=\"main-header\" >";// line 285$this->displayBlock('header', $context, $blocks);// line 299echo " </header>";// line 301$this->displayBlock('main_menu_wrapper', $context, $blocks);// line 304echo " ";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 285public function block_header($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));// line 286echo " <nav class=\"navbar\" role=\"navigation\" >";// line 287$this->displayBlock('header_navbar', $context, $blocks);// line 297echo " </nav>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 287public function block_header_navbar($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_navbar"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_navbar"));// line 288echo " <div id=\"header-logo\">";// line 289$this->displayBlock('header_logo', $context, $blocks);// line 295echo " </div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 289public function block_header_logo($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_logo"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_logo"));// line 290echo " <a class=\"logo\" title=\"";echo twig_escape_filter($this->env, twig_striptags(twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 290, $this->source); })()), "dashboardTitle", [], "any", false, false, false, 290)), "html", null, true);echo "\" href=\"";echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 290, $this->source); })()), "dashboardRouteName", [], "any", false, false, false, 290));echo "\"><span class=\"logo-custom\">";// line 291echo twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 291, $this->source); })()), "dashboardTitle", [], "any", false, false, false, 291);echo "</span><span class=\"logo-compact\"><i class=\"fas fa-home\"></i></span></a>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 301public function block_main_menu_wrapper($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_menu_wrapper"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_menu_wrapper"));// line 302echo " ";echo twig_include($this->env, $context, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 302, $this->source); })()), "templatePath", [0 => "main_menu"], "method", false, false, false, 302));echo "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 313public function block_content_top_header($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_top_header"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_top_header"));// line 314echo " <div class=\"content-search\">";// line 315if ((isset($context["has_search"]) || array_key_exists("has_search", $context) ? $context["has_search"] : (function () { throw new RuntimeError('Variable "has_search" does not exist.', 315, $this->source); })())) {// line 316echo " ";$this->displayBlock('search', $context, $blocks);// line 366echo " ";}// line 367echo " </div>";// line 370if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_AGENT")) {// line 371echo " <div class=\"navbar-custom-menu p-1\" >";// line 373$context["urlSessionHistory"] = twig_get_attribute($this->env, $this->source, $this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "setRoute", [0 => "toggleSession"], "method", false, false, false, 373);// line 374echo " ";if (twig_get_attribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 374, $this->source); })()), "session", [], "any", false, false, false, 374)) {// line 375echo " ";if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 375, $this->source); })()), "session", [], "any", false, false, false, 375), "endAt", [], "any", false, false, false, 375) != null)) {// line 376echo " <a href=\"";echo twig_escape_filter($this->env, (isset($context["urlSessionHistory"]) || array_key_exists("urlSessionHistory", $context) ? $context["urlSessionHistory"] : (function () { throw new RuntimeError('Variable "urlSessionHistory" does not exist.', 376, $this->source); })()), "html", null, true);echo "\" class=\"btn bg-green-dark text-white\"><i class=\"fa-solid fa-power-off\"></i>Commencer ma session</a>";} else {// line 381echo "<a href=\"";// line 382echo twig_escape_filter($this->env, (isset($context["urlSessionHistory"]) || array_key_exists("urlSessionHistory", $context) ? $context["urlSessionHistory"] : (function () { throw new RuntimeError('Variable "urlSessionHistory" does not exist.', 382, $this->source); })()), "html", null, true);echo "\" class=\"btn bg-pink-dark text-white\"><i class=\"fa-solid fa-power-off\"></i>Fermer ma session <small style=\"font-size:9px;\">(Commencé á ";// line 384echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 384, $this->source); })()), "session", [], "any", false, false, false, 384), "startAt", [], "any", false, false, false, 384), "H:i:s"), "html", null, true);echo ")</small></a>";}// line 387echo "";} else {// line 389echo " <a href=\"";echo twig_escape_filter($this->env, (isset($context["urlSessionHistory"]) || array_key_exists("urlSessionHistory", $context) ? $context["urlSessionHistory"] : (function () { throw new RuntimeError('Variable "urlSessionHistory" does not exist.', 389, $this->source); })()), "html", null, true);echo "\" class=\"btn bg-green-dark text-white\"><i class=\"fa-solid fa-power-off\"></i>Commencer ma session</a>";}// line 395echo "</a></div>";}// line 400echo " <div class=\"navbar-custom-menu p-1\" style=\"position:relative;\"><div style=\"position:absolute;bottom:0;left:18px;z-index:9;opacity:0.8;\"><span class=\"badge badge-primary\" >1</span></div><small style=\"color: rgb(78, 48, 158);\">La durée de la session restante : </small><span class=\"session-badge\">0h 0m 0s</span><div class=\"dropdown user-menu-wrapper ";// line 408echo (($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.', 408, $this->source); })()))) ? ("user-is-impersonated") : (""));echo "\"><a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\"><span class=\"user-avatar\"><span class=\"fa-stack\"><i class=\"user-avatar-icon-background fas fa-square fa-stack-2x\"></i><i class=\"user-avatar-icon-foreground fa fa-bell fa-stack-1x fa-inverse\"></i></span></span><span class=\"user-name\">Notifications</span></a><ul class=\"dropdown-menu dropdown-menu-end\"><li class=\"dropdown-user-details\">Nouveau adhérent : Ayman Bantala</li></ul></div></div><div class=\"navbar-custom-menu\">";// line 436$this->displayBlock('header_custom_menu', $context, $blocks);// line 448echo " </div>";// line 450echo twig_escape_filter($this->env, (isset($context["settings_dropdown"]) || array_key_exists("settings_dropdown", $context) ? $context["settings_dropdown"] : (function () { throw new RuntimeError('Variable "settings_dropdown" does not exist.', 450, $this->source); })()), "html", null, true);echo "";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 316public function block_search($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search"));// line 317echo "<form class=\"form-action-search\" method=\"get\">";// line 319$this->displayBlock('search_form', $context, $blocks);// line 364echo " </form>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 319public function block_search_form($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search_form"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search_form"));// line 320echo " ";$this->displayBlock('search_form_filters', $context, $blocks);// line 341echo "<input type=\"hidden\" name=\"crudAction\" value=\"index\"><input type=\"hidden\" name=\"crudControllerFqcn\" value=\"";// line 343echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 343, $this->source); })()), "request", [], "any", false, false, false, 343), "query", [], "any", false, false, false, 343), "get", [0 => "crudControllerFqcn"], "method", false, false, false, 343), "html", null, true);echo "\"><input type=\"hidden\" name=\"menuIndex\" value=\"";// line 344echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 344, $this->source); })()), "request", [], "any", false, false, false, 344), "query", [], "any", false, false, false, 344), "get", [0 => "menuIndex"], "method", false, false, false, 344), "html", null, true);echo "\"><input type=\"hidden\" name=\"submenuIndex\" value=\"";// line 345echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 345, $this->source); })()), "request", [], "any", false, false, false, 345), "query", [], "any", false, false, false, 345), "get", [0 => "submenuIndex"], "method", false, false, false, 345), "html", null, true);echo "\"><input type=\"hidden\" name=\"page\" value=\"1\"><div class=\"form-group\"><div class=\"form-widget\"><i class=\"fas fa-search content-search-icon\"></i><label class=\"content-search-label\" data-value=\"";// line 352echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 352, $this->source); })()), "request", [], "any", false, false, false, 352), "get", [0 => "query"], "method", false, false, false, 352), "html", null, true);echo "\"><input class=\"form-control ";// line 353echo (((null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 353, $this->source); })()), "request", [], "any", false, false, false, 353), "get", [0 => "query"], "method", false, false, false, 353))) ? ("is-blank") : (""));echo "\" type=\"search\" name=\"query\" value=\"";(((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 353), "get", [0 => "query"], "method", true, true, false, 353) && !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 353), "get", [0 => "query"], "method", false, false, false, 353)))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 353), "get", [0 => "query"], "method", false, false, false, 353), "html", null, true))) : (print ("")));echo "\" placeholder=\"";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->createTranslatable("action.search", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 353, $this->source); })()), "i18n", [], "any", false, false, false, 353), "translationParameters", [], "any", false, false, false, 353), "EasyAdminBundle"), [], // line 2(isset($context["__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2"]) || array_key_exists("__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2", $context) ? $context["__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2"] : (function () { throw new RuntimeError('Variable "__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2" does not exist.', 2, $this->source); })())), "html", null, true);// line 353echo "\" spellcheck=\"false\" autocorrect=\"off\" onInput=\"this.parentNode.dataset.value=this.value\"";if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 353, $this->source); })()), "crud", [], "any", false, false, false, 353), "currentAction", [], "any", false, false, false, 353) == "index") && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 353, $this->source); })()), "crud", [], "any", false, false, false, 353), "autofocusSearch", [], "any", false, false, false, 353) == true))) {echo " autofocus=\"autofocus\"";}echo "></label>";// line 356if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 356, $this->source); })()), "request", [], "any", false, false, false, 356), "get", [0 => "query"], "method", false, false, false, 356)) {// line 357echo " <a href=\"";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "unset", [0 => "query"], "method", false, false, false, 357), "html", null, true);echo "\" class=\"content-search-reset\"><i class=\"fas fa-fw fa-times\"></i></a>";}// line 361echo " </div></div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 320public function block_search_form_filters($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search_form_filters"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "search_form_filters"));// line 321echo " ";$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 321, $this->source); })()), "search", [], "any", false, false, false, 321), "appliedFilters", [], "any", false, false, false, 321));foreach ($context['_seq'] as $context["field"] => $context["array"]) {// line 322echo " ";$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable($context["array"]);foreach ($context['_seq'] as $context["key"] => $context["value"]) {// line 323echo " ";// line 324echo " ";if (twig_test_iterable($context["value"])) {// line 325echo " ";$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable($context["value"]);foreach ($context['_seq'] as $context["index"] => $context["iterValue"]) {// line 326echo " ";// line 327echo " ";if (twig_test_iterable($context["iterValue"])) {// line 328echo " ";$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable($context["iterValue"]);foreach ($context['_seq'] as $context["subIndex"] => $context["subIterValue"]) {// line 329echo " <input type=\"hidden\" name=\"filters[";echo twig_escape_filter($this->env, $context["field"], "html", null, true);echo "][";echo twig_escape_filter($this->env, $context["key"], "html", null, true);echo "][";echo twig_escape_filter($this->env, $context["index"], "html", null, true);echo "][";echo twig_escape_filter($this->env, $context["subIndex"], "html", null, true);echo "]\" value=\"";echo twig_escape_filter($this->env, $context["subIterValue"], "html", null, true);echo "\">";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['subIndex'], $context['subIterValue'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 331echo " ";} else {// line 332echo " <input type=\"hidden\" name=\"filters[";echo twig_escape_filter($this->env, $context["field"], "html", null, true);echo "][";echo twig_escape_filter($this->env, $context["key"], "html", null, true);echo "][";echo twig_escape_filter($this->env, $context["index"], "html", null, true);echo "]\" value=\"";echo twig_escape_filter($this->env, $context["iterValue"], "html", null, true);echo "\">";}// line 334echo " ";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['index'], $context['iterValue'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 335echo " ";} else {// line 336echo " <input type=\"hidden\" name=\"filters[";echo twig_escape_filter($this->env, $context["field"], "html", null, true);echo "][";echo twig_escape_filter($this->env, $context["key"], "html", null, true);echo "]\" value=\"";echo twig_escape_filter($this->env, $context["value"], "html", null, true);echo "\">";}// line 338echo " ";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 339echo " ";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['field'], $context['array'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 340echo " ";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 436public function block_header_custom_menu($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_custom_menu"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header_custom_menu"));// line 437echo " <div class=\"dropdown user-menu-wrapper ";echo (($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.', 437, $this->source); })()))) ? ("user-is-impersonated") : (""));echo "\"><a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">";// line 439echo twig_escape_filter($this->env, (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.', 439, $this->source); })()), "html", null, true);echo "";// line 440if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 440, $this->source); })()), "userMenu", [], "any", false, false, false, 440), "isNameDisplayed", [], "any", false, false, false, 440)) {// line 441echo " <span class=\"user-name\">";echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 441, $this->source); })()), "userMenu", [], "any", false, false, false, 441), "name", [], "any", false, false, false, 441), "html", null, true);echo "</span>";}// line 443echo " </a>";// line 445echo twig_escape_filter($this->env, (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.', 445, $this->source); })()), "html", null, true);echo "</div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 455public function block_content($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));// line 456echo " <article class=\"content\">";// line 457$this->displayBlock('content_header_wrapper', $context, $blocks);// line 481echo "<section id=\"main\" class=\"content-body animate__animated animate__fadeIn\">";// line 483$this->displayBlock('main', $context, $blocks);// line 484echo " </section>";// line 486$this->displayBlock('content_footer_wrapper', $context, $blocks);// line 494echo " </article>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 457public function block_content_header_wrapper($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_header_wrapper"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_header_wrapper"));// line 458echo " ";$context["has_help_message"] = !twig_test_empty((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "crud", [], "any", false, true, false, 458), "helpMessage", [], "any", true, true, false, 458) && !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "crud", [], "any", false, true, false, 458), "helpMessage", [], "any", false, false, false, 458)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "crud", [], "any", false, true, false, 458), "helpMessage", [], "any", false, false, false, 458)) : ("")));// line 459echo " <section class=\"content-header\">";// line 460$this->displayBlock('content_header', $context, $blocks);// line 479echo " </section>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 460public function block_content_header($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_header"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_header"));// line 461echo " <div class=\"content-header-title\"><h1 class=\"title\">";// line 463$this->displayBlock('content_title', $context, $blocks);// line 464echo "";// line 465$this->displayBlock('content_help', $context, $blocks);// line 472echo " </h1></div>";// line 475$this->displayBlock('page_actions_wrapper', $context, $blocks);// line 478echo " ";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 463public function block_content_title($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_title"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_title"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 465public function block_content_help($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_help"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_help"));// line 466echo " ";if ((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.', 466, $this->source); })())) {// line 467echo " <a tabindex=\"0\" class=\"content-header-help\" data-bs-toggle=\"popover\" data-bs-custom-class=\"ea-content-help-popover\" data-bs-animation=\"true\" data-bs-html=\"true\" data-bs-placement=\"bottom\" data-bs-trigger=\"focus\" data-bs-content=\"";echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ea"]) || array_key_exists("ea", $context) ? $context["ea"] : (function () { throw new RuntimeError('Variable "ea" does not exist.', 467, $this->source); })()), "crud", [], "any", false, false, false, 467), "helpMessage", [], "any", false, false, false, 467), [], // line 2(isset($context["__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2"]) || array_key_exists("__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2", $context) ? $context["__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2"] : (function () { throw new RuntimeError('Variable "__internal_3fa62feb1603336f19f09f6745404318c84ebded09df9d967a4139ca3da4d6c2" does not exist.', 2, $this->source); })())), "html_attr");// line 467echo "\"><i class=\"far fa-question-circle\"></i></a>";}// line 471echo " ";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 475public function block_page_actions_wrapper($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_actions_wrapper"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_actions_wrapper"));// line 476echo " <div class=\"page-actions\">";$this->displayBlock('page_actions', $context, $blocks);echo "</div>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function block_page_actions($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_actions"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_actions"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 483public function block_main($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 486public function block_content_footer_wrapper($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_footer_wrapper"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_footer_wrapper"));// line 487echo " ";$context["content_footer"] = (( $this->hasBlock("content_footer", $context, $blocks)) ? ( $this->renderBlock("content_footer", $context, $blocks)) : (""));// line 488echo " ";if ( !twig_test_empty((isset($context["content_footer"]) || array_key_exists("content_footer", $context) ? $context["content_footer"] : (function () { throw new RuntimeError('Variable "content_footer" does not exist.', 488, $this->source); })()))) {// line 489echo " <section class=\"content-footer\">";// line 490echo twig_escape_filter($this->env, (isset($context["content_footer"]) || array_key_exists("content_footer", $context) ? $context["content_footer"] : (function () { throw new RuntimeError('Variable "content_footer" does not exist.', 490, $this->source); })()), "html", null, true);echo "</section>";}// line 493echo " ";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 504public function block_body_javascript($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_javascript"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_javascript"));// line 505echo "<script>var notificationSound = new Audio('flexy/sounds/notification_sound.mp3');document.addEventListener(\"turbo:load\",function(){";// line 516if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 516, $this->source); })()), "get", [], "any", false, false, false, 516), "isMercureEnabled", [], "any", false, false, false, 516)) {// line 517echo "const eventSource = new EventSource(\"";// line 518echo twig_escape_filter($this->env, twig_escape_filter($this->env, $this->extensions['Symfony\Component\Mercure\Twig\MercureExtension']->mercure("https://hello.com/books/1"), "js"), "html", null, true);echo "\");eventSource.onmessage = event => {// Will be called every time an update is published by the servervar data = JSON.parse(event.data);if(data.status == \"success\"){if(data.entity == \"VisitCustomer\"){//notificationSound.loop = true;notificationSound.play();const flashMessages = document.getElementById('flash-messages');/*\$(\"#flash-messages\").append('<div class=\"alert alert-success alert-dismissible fade show\" role=\"alert\"><button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button>Nouvelle commande a été crée</div>');*/";// line 532$context["urlOrders"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "setController", [0 => "App\\Flexy\\POSBundle\\Controller\\OrderCrudController"], "method", false, false, false, 532), "setAction", [0 => "index"], "method", false, false, false, 533);// line 535echo " Turbo.visit(\"";echo twig_escape_filter($this->env, twig_escape_filter($this->env, (isset($context["urlOrders"]) || array_key_exists("urlOrders", $context) ? $context["urlOrders"] : (function () { throw new RuntimeError('Variable "urlOrders" does not exist.', 535, $this->source); })()), "js"), "html", null, true);echo "\");}if(data.status == \"success\"){if(data.entity == \"Order\"){//notificationSound.loop = true;notificationSound.play();const flashMessages = document.getElementById('flash-messages');/*\$(\"#flash-messages\").append('<div class=\"alert alert-success alert-dismissible fade show\" role=\"alert\"><button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button>Nouvelle commande a été crée</div>');*/";// line 549$context["urlOrders"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "setController", [0 => "App\\Flexy\\POSBundle\\Controller\\OrderCrudController"], "method", false, false, false, 549), "setAction", [0 => "index"], "method", false, false, false, 550);// line 552echo " Turbo.visit(\"";echo twig_escape_filter($this->env, twig_escape_filter($this->env, (isset($context["urlOrders"]) || array_key_exists("urlOrders", $context) ? $context["urlOrders"] : (function () { throw new RuntimeError('Variable "urlOrders" does not exist.', 552, $this->source); })()), "js"), "html", null, true);echo "\");}//alert(data.status);}console.log(JSON.parse(event.data));}";}// line 563echo " });document.addEventListener(\"turbo:click\",function(){notificationSound.pause();notificationSound.currentTime = 0;});</script>";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}// line 574public function block_configured_body_contents($context, array $blocks = []){$macros = $this->macros;$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_body_contents"));$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "configured_body_contents"));// line 575echo " ";$context['_parent'] = $context;$context['_seq'] = twig_ensure_traversable((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 575), "bodyContents", [], "any", true, true, false, 575) && !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 575), "bodyContents", [], "any", false, false, false, 575)))) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["ea"] ?? null), "assets", [], "any", false, true, false, 575), "bodyContents", [], "any", false, false, false, 575)) : ([])));foreach ($context['_seq'] as $context["_key"] => $context["htmlContent"]) {// line 576echo " ";echo $context["htmlContent"];echo "";}$_parent = $context['_parent'];unset($context['_seq'], $context['_iterated'], $context['_key'], $context['htmlContent'], $context['_parent'], $context['loop']);$context = array_intersect_key($context, $_parent) + $_parent;// line 578echo " ";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);}public function getTemplateName(){return "@EasyAdmin/layout.html.twig";}public function isTraitable(){return false;}public function getDebugInfo(){return array ( 1964 => 578, 1955 => 576, 1950 => 575, 1940 => 574, 1921 => 563, 1906 => 552, 1904 => 549, 1886 => 535, 1884 => 532, 1867 => 518, 1864 => 517, 1862 => 516, 1849 => 505, 1839 => 504, 1829 => 493, 1823 => 490, 1820 => 489, 1817 => 488, 1814 => 487, 1804 => 486, 1786 => 483, 1756 => 476, 1746 => 475, 1736 => 471, 1730 => 467, 1728 => 2, 1726 => 467, 1723 => 466, 1713 => 465, 1695 => 463, 1685 => 478, 1683 => 475, 1678 => 472, 1676 => 465, 1673 => 464, 1671 => 463, 1667 => 461, 1657 => 460, 1646 => 479, 1644 => 460, 1641 => 459, 1638 => 458, 1628 => 457, 1617 => 494, 1615 => 486, 1611 => 484, 1609 => 483, 1605 => 481, 1603 => 457, 1600 => 456, 1590 => 455, 1577 => 445, 1573 => 443, 1567 => 441, 1565 => 440, 1561 => 439, 1555 => 437, 1545 => 436, 1535 => 340, 1529 => 339, 1523 => 338, 1513 => 336, 1510 => 335, 1504 => 334, 1492 => 332, 1489 => 331, 1472 => 329, 1467 => 328, 1464 => 327, 1462 => 326, 1457 => 325, 1454 => 324, 1452 => 323, 1447 => 322, 1442 => 321, 1432 => 320, 1420 => 361, 1412 => 357, 1410 => 356, 1401 => 353, 1399 => 2, 1394 => 353, 1390 => 352, 1380 => 345, 1376 => 344, 1372 => 343, 1368 => 341, 1365 => 320, 1355 => 319, 1344 => 364, 1342 => 319, 1338 => 317, 1328 => 316, 1316 => 450, 1312 => 448, 1310 => 436, 1279 => 408, 1269 => 400, 1262 => 395, 1252 => 389, 1248 => 387, 1242 => 384, 1237 => 382, 1234 => 381, 1225 => 376, 1222 => 375, 1219 => 374, 1217 => 373, 1213 => 371, 1211 => 370, 1206 => 367, 1203 => 366, 1200 => 316, 1198 => 315, 1195 => 314, 1185 => 313, 1172 => 302, 1162 => 301, 1148 => 291, 1141 => 290, 1131 => 289, 1120 => 295, 1118 => 289, 1115 => 288, 1105 => 287, 1094 => 297, 1092 => 287, 1089 => 286, 1079 => 285, 1069 => 304, 1067 => 301, 1063 => 299, 1061 => 285, 1058 => 284, 1048 => 283, 1035 => 258, 1028 => 257, 1018 => 256, 1006 => 277, 1000 => 274, 996 => 272, 990 => 270, 984 => 268, 981 => 267, 976 => 263, 972 => 261, 970 => 256, 963 => 251, 953 => 250, 939 => 496, 937 => 455, 932 => 452, 930 => 313, 925 => 312, 923 => 311, 915 => 305, 913 => 283, 907 => 279, 905 => 250, 902 => 249, 892 => 248, 882 => 189, 879 => 188, 864 => 186, 859 => 183, 857 => 2, 855 => 183, 849 => 182, 842 => 180, 835 => 179, 833 => 178, 830 => 177, 828 => 176, 825 => 175, 808 => 174, 805 => 173, 802 => 172, 792 => 171, 779 => 143, 769 => 142, 758 => 501, 756 => 248, 752 => 246, 749 => 245, 744 => 242, 737 => 238, 729 => 233, 721 => 228, 714 => 224, 710 => 222, 706 => 220, 703 => 219, 701 => 218, 698 => 217, 695 => 216, 684 => 212, 678 => 210, 676 => 209, 668 => 208, 665 => 207, 661 => 206, 655 => 203, 652 => 202, 650 => 201, 642 => 195, 639 => 194, 637 => 193, 634 => 192, 630 => 190, 628 => 171, 621 => 167, 617 => 166, 612 => 164, 608 => 162, 606 => 161, 603 => 160, 601 => 159, 598 => 158, 595 => 157, 589 => 155, 582 => 151, 577 => 148, 574 => 147, 572 => 146, 569 => 145, 566 => 142, 556 => 141, 538 => 134, 520 => 133, 502 => 132, 491 => 579, 489 => 574, 486 => 573, 484 => 504, 481 => 503, 479 => 141, 472 => 137, 468 => 136, 464 => 135, 460 => 134, 455 => 133, 452 => 132, 442 => 131, 432 => 128, 423 => 126, 418 => 125, 408 => 124, 394 => 113, 390 => 111, 380 => 110, 367 => 107, 357 => 106, 345 => 103, 340 => 102, 330 => 101, 319 => 98, 313 => 96, 307 => 94, 305 => 93, 298 => 89, 292 => 87, 282 => 86, 263 => 83, 245 => 73, 235 => 72, 224 => 581, 222 => 131, 218 => 129, 216 => 124, 213 => 123, 207 => 121, 205 => 120, 200 => 117, 198 => 110, 195 => 109, 193 => 106, 190 => 105, 188 => 101, 185 => 100, 183 => 86, 177 => 84, 173 => 83, 170 => 82, 168 => 72, 140 => 47, 116 => 26, 96 => 8, 94 => 7, 87 => 5, 83 => 3, 81 => 2,);}public function getSourceContext(){return new Source("{# @var ea \\EasyCorp\\Bundle\\EasyAdminBundle\\Context\\AdminContext #}{% trans_default_domain ea.i18n.translationDomain %}<!DOCTYPE html ><html lang=\"{{ ea.i18n.htmlLocale }}\" dir=\"{{ ea.i18n.textDirection }}\" ><head>{% set sessionLifetimeSeconds = app.session.getMetadataBag().getLifetime() %}<style>.session-badge {display: inline-block;padding: 0.25em 0.5em;font-size: 75%;font-weight: 700;line-height: 1;color: #fff;text-align: center;white-space: nowrap;vertical-align: baseline;border-radius: 0.25rem;background-color: #007bff;}</style><!-- <script>document.addEventListener('DOMContentLoaded', function() {var sessionBadge = document.querySelector('.session-badge');var sessionLifetimeSeconds = {{ sessionLifetimeSeconds }};var updateInterval = 1000; // Mettez à jour toutes les secondesfunction updateSessionCounter() {var minutes = Math.floor(sessionLifetimeSeconds / 60);var seconds = sessionLifetimeSeconds % 60;sessionBadge.textContent = minutes + 'm ' + seconds + 's';sessionLifetimeSeconds--;}// Mettez à jour le compteur initialementupdateSessionCounter();// Mettez à jour le compteur toutes les secondessetInterval(updateSessionCounter, updateInterval);});</script>--><script>document.addEventListener(\"turbo:load\", function() {// Votre code existant pour le compteur de sessionvar sessionBadge = document.querySelector('.session-badge');var sessionLifetimeSeconds = {{ sessionLifetimeSeconds }};var updateInterval = 1000; // Mettez à jour toutes les secondesfunction updateSessionCounter() {if (sessionLifetimeSeconds > 0) {var hours = Math.floor(sessionLifetimeSeconds / 3600);var minutes = Math.floor((sessionLifetimeSeconds % 3600) / 60);var seconds = sessionLifetimeSeconds % 60;sessionBadge.textContent = hours + 'h ' + minutes + 'm ' + seconds + 's';sessionLifetimeSeconds--;} else {// Arrêtez le compteur et effectuez toute autre action nécessaireclearInterval(intervalId);sessionBadge.textContent = 'Session expirée';}}// Mettez à jour le compteur initialementupdateSessionCounter();// Mettez à jour le compteur toutes les secondesvar intervalId = setInterval(updateSessionCounter, updateInterval);});</script>{% block head_metas %}<meta charset=\"utf-8\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><meta name=\"robots\" content=\"noindex, nofollow, noarchive, nosnippet, noodp, noimageindex, notranslate, nocache\" /><meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\"><meta name=\"generator\" content=\"EasyAdmin\" /><meta name=\"turbo-cache-control\" content=\"no-cache\">{% endblock head_metas %}{% set page_title_block_output %}{% block page_title %}{{ block('content_title') }}{% endblock %}{% endset %}<title>{{ page_title_block_output|striptags|raw }}</title>{% block head_stylesheets %}<link rel=\"stylesheet\" href=\"{{ asset('app.css', ea.assets.defaultAssetPackageName) }}\">{{ encore_entry_link_tags('app') }}{% if is_granted(\"ROLE_CUSTOMER\") %}<link rel=\"stylesheet\" href=\"{{ asset('themes/'~ settings.get.assetFolderName|lower ~ '/admin/admin-customer.css') }}\">{% else %}<link rel=\"stylesheet\" href=\"{{ asset('themes/'~ settings.get.assetFolderName|lower ~ '/admin/admin.css') }}\">{% endif %}{% endblock %}{% block configured_stylesheets %}{{ include('@EasyAdmin/includes/_css_assets.html.twig', { assets: ea.assets.cssAssets ?? [] }, with_context = false) }}{{ include('@EasyAdmin/includes/_encore_link_tags.html.twig', { assets: ea.assets.webpackEncoreAssets ?? [] }, with_context = false) }}{% endblock %}{% block head_favicon %}<link rel=\"shortcut icon\" href=\"{{ asset(ea.dashboardFaviconPath) }}\">{% endblock %}{% block head_javascript %}{{ encore_entry_script_tags('app') }}{% endblock head_javascript %}{% if 'rtl' == ea.i18n.textDirection %}<link rel=\"stylesheet\" href=\"{{ asset('app.rtl.css', ea.assets.defaultAssetPackageName) }}\">{% endif %}{% block configured_head_contents %}{% for htmlContent in ea.assets.headContents ?? [] %}{{ htmlContent|raw }}{% endfor %}{% endblock %}</head>{% block body %}<body {% block body_attr %}{% endblock %}id=\"{% block body_id %}{% endblock %}\"class=\"ea {% block body_class %}{% endblock %} \"data-ea-content-width=\"{{ ea.crud.contentWidth ?? ea.dashboardContentWidth ?? 'normal' }}\"data-ea-sidebar-width=\"{{ ea.crud.sidebarWidth ?? ea.dashboardSidebarWidth ?? 'normal' }}\"data-ea-dark-scheme-is-enabled=\"{{ ea.dashboardHasDarkModeEnabled ? 'true' : 'false' }}\">{% block wrapper_wrapper %}{% block flash_messages %}{{ include(ea.templatePath('flash_messages')) }}{% endblock flash_messages %}{% set user_menu_avatar %}{% if null == ea.userMenu.avatarUrl %}<span class=\"user-avatar\"><span class=\"fa-stack\"><i class=\"user-avatar-icon-background fas fa-square fa-stack-2x\"></i><i class=\"user-avatar-icon-foreground {{ ea.user is not null ? 'fa fa-user' : 'fas fa-user-slash' }} fa-stack-1x fa-inverse\"></i></span></span>{% else %}<img class=\"user-avatar\" src=\"{{ ea.userMenu.avatarUrl }}\" />{% endif %}{% endset %}{% set impersonator_permission = constant('Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\AuthenticatedVoter::IS_IMPERSONATOR') is defined ? 'IS_IMPERSONATOR' : 'ROLE_PREVIOUS_ADMIN' %}{% set user_menu_dropdown %}<ul class=\"dropdown-menu dropdown-menu-end\"><li class=\"dropdown-user-details\"><div>{{ user_menu_avatar }}</div><div><span class=\"user-label\">{{ 'user.logged_in_as'|trans(domain = 'EasyAdminBundle') }}</span><span class=\"user-name\">{{ ea.user is null ? 'user.anonymous'|trans(domain = 'EasyAdminBundle') : ea.userMenu.name }}</span></div></li>{% block user_menu %}{% if ea.userMenu.items|length > 0 %}<li><hr class=\"dropdown-divider\"></li>{% for item in ea.userMenu.items %}<li>{% if item.isMenuSection and not loop.first %}<hr class=\"dropdown-divider\">{% elseif not item.isMenuSection %}<a href=\"{{ item.linkUrl }}\" class=\"dropdown-item user-action {{ item.cssClass }}\"target=\"{{ item.linkTarget }}\" rel=\"{{ item.linkRel }}\"referrerpolicy=\"origin-when-cross-origin\">{% if item.icon is not empty %}<i class=\"fa fa-fw {{ item.icon }}\"></i>{% endif %}<span>{{ item.label|trans }}</span></a>{% endif %}</li>{% endfor %}{% endif %}{% endblock user_menu %}</ul>{% endset %}{% set settings_dropdown %}{% if ea.dashboardLocales or ea.dashboardHasDarkModeEnabled %}<div class=\"dropdown dropdown-settings\"><a class=\"dropdown-settings-button\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\"><i class=\"fas fa-gear\"></i></a><ul class=\"dropdown-menu dropdown-menu-end\">{% if ea.dashboardLocales %}<li><span class=\"dropdown-header dropdown-locales-label\">{{ 'settings.locale'|trans(domain = 'EasyAdminBundle') }}</span></li>{% for localeDto in ea.dashboardLocales %}<li><a href=\"{{ ea_url().set('_locale', localeDto.locale) }}\" class=\"dropdown-item{% if app.request.locale == localeDto.locale %} active{% endif %}\">{% if localeDto.icon %}<i class=\"{{ localeDto.icon }}\"></i>{% endif %}{{ localeDto.name }}</a></li>{% endfor %}{% endif %}{% if ea.dashboardHasDarkModeEnabled %}{% if ea.dashboardLocales %}<div class=\"dropdown-divider\"></div>{% endif %}<li><span class=\"dropdown-header dropdown-appearance-label\">{{ 'settings.appearance.label'|trans(domain = 'EasyAdminBundle') }}</span></li><li><a href=\"#\" class=\"dropdown-item dropdown-appearance-item\" data-ea-color-scheme=\"light\"><i class=\"far fa-sun\"></i> <span>{{ 'settings.appearance.light'|trans(domain = 'EasyAdminBundle') }}</span></a></li><li><a href=\"#\" class=\"dropdown-item dropdown-appearance-item\" data-ea-color-scheme=\"dark\"><i class=\"far fa-moon\"></i> <span>{{ 'settings.appearance.dark'|trans(domain = 'EasyAdminBundle') }}</span></a></li><li><a href=\"#\" class=\"dropdown-item dropdown-appearance-item active\" data-ea-color-scheme=\"auto\"><i class=\"fas fa-desktop\"></i> <span>{{ 'settings.appearance.auto'|trans(domain = 'EasyAdminBundle') }}</span></a></li>{% endif %}</ul></div>{% endif %}{% endset %}<div class=\"wrapper\">{% block wrapper %}<div class=\"responsive-header\">{% block responsive_header %}<button id=\"navigation-toggler\" type=\"button\" aria-label=\"Toggle navigation\"><i class=\"fa fa-fw fa-bars\"></i></button><div id=\"responsive-header-logo\" class=\"text-truncate ms-auto\">{% block responsive_header_logo %}<a class=\"responsive-logo\" title=\"{{ ea.dashboardTitle|striptags }}\" href=\"{{ path(ea.dashboardRouteName) }}\">{{ ea.dashboardTitle|raw }}</a>{% endblock responsive_header_logo %}</div><div class=\"dropdown user-menu-wrapper {{ is_granted(impersonator_permission) ? 'user-is-impersonated' }} ms-auto\"><a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">{# to make the site design consistent, always display the user avatar in responsive headerand hide the user name (because there's no space left) regardless of the user config #}{% if ea.userMenu.avatarDisplayed %}{{ user_menu_avatar }}{% else %}<i class=\"user-avatar fa fa-fw {{ ea.user is not null ? 'fa-user' : 'fa-user-times' }}\"></i>{% endif %}</a>{{ user_menu_dropdown }}</div>{{ settings_dropdown }}{% endblock responsive_header %}</div><div class=\"sidebar-wrapper\" ><aside class=\"sidebar\" >{% block sidebar %}<header class=\"main-header\" >{% block header %}<nav class=\"navbar\" role=\"navigation\" >{% block header_navbar %}<div id=\"header-logo\">{% block header_logo %}<a class=\"logo\" title=\"{{ ea.dashboardTitle|striptags }}\" href=\"{{ path(ea.dashboardRouteName) }}\"><span class=\"logo-custom\">{{ ea.dashboardTitle|raw }}</span><span class=\"logo-compact\"><i class=\"fas fa-home\"></i></span></a>{% endblock header_logo %}</div>{% endblock header_navbar %}</nav>{% endblock header %}</header>{% block main_menu_wrapper %}{{ include(ea.templatePath('main_menu')) }}{% endblock main_menu_wrapper %}{% endblock sidebar %}<div id=\"sidebar-resizer-handler\" class=\"resizer-handler resizer-handler-left\"></div></aside></div><section class=\"main-content\" >{% set has_search = ea.crud is not null and ea.crud.isSearchEnabled %}<aside class=\"content-top {{ has_search ? 'ea-search-enabled' : 'ea-search-disabled' }}\">{% block content_top_header %}<div class=\"content-search\">{% if has_search %}{% block search %}<form class=\"form-action-search\" method=\"get\">{% block search_form %}{% block search_form_filters %}{% for field, array in ea.search.appliedFilters %}{% for key, value in array %}{# This code re-applies your filters on searches, an iterable check is needed in cases we have more than one object for a filter #}{% if value is iterable %}{% for index, iterValue in value %}{# This sub-level iterable check is needed in cases we have more complex filters like the DateTimeFilter cf. issue #5038 #}{% if iterValue is iterable %}{% for subIndex, subIterValue in iterValue %}<input type=\"hidden\" name=\"filters[{{ field }}][{{ key }}][{{ index }}][{{ subIndex }}]\" value=\"{{ subIterValue }}\">{% endfor %}{% else %}<input type=\"hidden\" name=\"filters[{{ field }}][{{ key }}][{{ index }}]\" value=\"{{ iterValue }}\">{% endif %}{% endfor %}{% else %}<input type=\"hidden\" name=\"filters[{{ field }}][{{ key }}]\" value=\"{{ value }}\">{% endif %}{% endfor %}{% endfor %}{% endblock %}<input type=\"hidden\" name=\"crudAction\" value=\"index\"><input type=\"hidden\" name=\"crudControllerFqcn\" value=\"{{ ea.request.query.get('crudControllerFqcn') }}\"><input type=\"hidden\" name=\"menuIndex\" value=\"{{ ea.request.query.get('menuIndex') }}\"><input type=\"hidden\" name=\"submenuIndex\" value=\"{{ ea.request.query.get('submenuIndex') }}\"><input type=\"hidden\" name=\"page\" value=\"1\"><div class=\"form-group\"><div class=\"form-widget\"><i class=\"fas fa-search content-search-icon\"></i><label class=\"content-search-label\" data-value=\"{{ app.request.get('query') }}\"><input class=\"form-control {{ app.request.get('query') is null ? 'is-blank' }}\" type=\"search\" name=\"query\" value=\"{{ app.request.get('query') ?? '' }}\" placeholder=\"{{ t('action.search', ea.i18n.translationParameters, 'EasyAdminBundle')|trans }}\" spellcheck=\"false\" autocorrect=\"off\" onInput=\"this.parentNode.dataset.value=this.value\"{% if ea.crud.currentAction == 'index' and ea.crud.autofocusSearch == true %} autofocus=\"autofocus\"{% endif %}></label>{% if app.request.get('query') %}<a href=\"{{ ea_url().unset('query') }}\" class=\"content-search-reset\"><i class=\"fas fa-fw fa-times\"></i></a>{% endif %}</div></div>{% endblock %}</form>{% endblock search %}{% endif %}</div>{% if is_granted(\"ROLE_AGENT\") %}<div class=\"navbar-custom-menu p-1\" >{% set urlSessionHistory = ea_url().setRoute(\"toggleSession\") %}{% if settings.session %}{% if settings.session.endAt != null %}<a href=\"{{urlSessionHistory}}\" class=\"btn bg-green-dark text-white\"><i class=\"fa-solid fa-power-off\"></i>Commencer ma session</a>{% else %}<a href=\"{{urlSessionHistory}}\" class=\"btn bg-pink-dark text-white\"><i class=\"fa-solid fa-power-off\"></i>Fermer ma session <small style=\"font-size:9px;\">(Commencé á {{settings.session.startAt|date(\"H:i:s\")}})</small></a>{% endif %}{% else %}<a href=\"{{urlSessionHistory}}\" class=\"btn bg-green-dark text-white\"><i class=\"fa-solid fa-power-off\"></i>Commencer ma session</a>{% endif %}</a></div>{% endif %}<div class=\"navbar-custom-menu p-1\" style=\"position:relative;\"><div style=\"position:absolute;bottom:0;left:18px;z-index:9;opacity:0.8;\"><span class=\"badge badge-primary\" >1</span></div><small style=\"color: rgb(78, 48, 158);\">La durée de la session restante : </small><span class=\"session-badge\">0h 0m 0s</span><div class=\"dropdown user-menu-wrapper {{ is_granted(impersonator_permission) ? 'user-is-impersonated' }}\"><a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\"><span class=\"user-avatar\"><span class=\"fa-stack\"><i class=\"user-avatar-icon-background fas fa-square fa-stack-2x\"></i><i class=\"user-avatar-icon-foreground fa fa-bell fa-stack-1x fa-inverse\"></i></span></span><span class=\"user-name\">Notifications</span></a><ul class=\"dropdown-menu dropdown-menu-end\"><li class=\"dropdown-user-details\">Nouveau adhérent : Ayman Bantala</li></ul></div></div><div class=\"navbar-custom-menu\">{% block header_custom_menu %}<div class=\"dropdown user-menu-wrapper {{ is_granted(impersonator_permission) ? 'user-is-impersonated' }}\"><a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">{{ user_menu_avatar }}{% if ea.userMenu.isNameDisplayed %}<span class=\"user-name\">{{ ea.userMenu.name }}</span>{% endif %}</a>{{ user_menu_dropdown }}</div>{% endblock header_custom_menu %}</div>{{ settings_dropdown }}{% endblock content_top_header %}</aside><div class=\"content-wrapper \">{% block content %}<article class=\"content\">{% block content_header_wrapper %}{% set has_help_message = (ea.crud.helpMessage ?? '') is not empty %}<section class=\"content-header\">{% block content_header %}<div class=\"content-header-title\"><h1 class=\"title\">{% block content_title %}{% endblock %}{% block content_help %}{% if has_help_message %}<a tabindex=\"0\" class=\"content-header-help\" data-bs-toggle=\"popover\" data-bs-custom-class=\"ea-content-help-popover\" data-bs-animation=\"true\" data-bs-html=\"true\" data-bs-placement=\"bottom\" data-bs-trigger=\"focus\" data-bs-content=\"{{ ea.crud.helpMessage|trans|e('html_attr') }}\"><i class=\"far fa-question-circle\"></i></a>{% endif %}{% endblock %}</h1></div>{% block page_actions_wrapper %}<div class=\"page-actions\">{% block page_actions %}{% endblock %}</div>{% endblock %}{% endblock content_header %}</section>{% endblock content_header_wrapper %}<section id=\"main\" class=\"content-body animate__animated animate__fadeIn\">{% block main %}{% endblock %}</section>{% block content_footer_wrapper %}{% set content_footer = block('content_footer') is defined ? block('content_footer') : '' %}{% if content_footer is not empty %}<section class=\"content-footer\">{{ content_footer }}</section>{% endif %}{% endblock %}</article>{% endblock content %}<div id=\"content-resizer-handler\" class=\"resizer-handler resizer-handler-right\"></div></div></section>{% endblock wrapper %}</div>{% endblock wrapper_wrapper %}{% block body_javascript %}<script>var notificationSound = new Audio('flexy/sounds/notification_sound.mp3');document.addEventListener(\"turbo:load\",function(){{% if settings.get.isMercureEnabled %}const eventSource = new EventSource(\"{{ mercure('https://hello.com/books/1')|escape('js') }}\");eventSource.onmessage = event => {// Will be called every time an update is published by the servervar data = JSON.parse(event.data);if(data.status == \"success\"){if(data.entity == \"VisitCustomer\"){//notificationSound.loop = true;notificationSound.play();const flashMessages = document.getElementById('flash-messages');/*\$(\"#flash-messages\").append('<div class=\"alert alert-success alert-dismissible fade show\" role=\"alert\"><button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button>Nouvelle commande a été crée</div>');*/{% set urlOrders = ea_url().setController('App\\\\Flexy\\\\POSBundle\\\\Controller\\\\OrderCrudController').setAction('index') %}Turbo.visit(\"{{urlOrders|escape('js')}}\");}if(data.status == \"success\"){if(data.entity == \"Order\"){//notificationSound.loop = true;notificationSound.play();const flashMessages = document.getElementById('flash-messages');/*\$(\"#flash-messages\").append('<div class=\"alert alert-success alert-dismissible fade show\" role=\"alert\"><button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button>Nouvelle commande a été crée</div>');*/{% set urlOrders = ea_url().setController('App\\\\Flexy\\\\POSBundle\\\\Controller\\\\OrderCrudController').setAction('index') %}Turbo.visit(\"{{urlOrders|escape('js')}}\");}//alert(data.status);}console.log(JSON.parse(event.data));}{% endif %}});document.addEventListener(\"turbo:click\",function(){notificationSound.pause();notificationSound.currentTime = 0;});</script>{% endblock body_javascript %}{% block configured_body_contents %}{% for htmlContent in ea.assets.bodyContents ?? [] %}{{ htmlContent|raw }}{% endfor %}{% endblock %}</body>{% endblock body %}</html>", "@EasyAdmin/layout.html.twig", "/home/lasalleerp/public_html/templates/bundles/EasyAdminBundle/layout.html.twig");}}