var/cache/dev/twig/64/641fffe682c62dfefdd24ab94eda0daf.php line 442

  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @EasyAdmin/layout.html.twig */
  14. class __TwigTemplate_1f8fc6d3752118f4c39e27e51aedb9a6 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'head_metas' => [$this'block_head_metas'],
  25.             'page_title' => [$this'block_page_title'],
  26.             'head_stylesheets' => [$this'block_head_stylesheets'],
  27.             'configured_stylesheets' => [$this'block_configured_stylesheets'],
  28.             'head_favicon' => [$this'block_head_favicon'],
  29.             'head_javascript' => [$this'block_head_javascript'],
  30.             'configured_head_contents' => [$this'block_configured_head_contents'],
  31.             'body' => [$this'block_body'],
  32.             'body_attr' => [$this'block_body_attr'],
  33.             'body_id' => [$this'block_body_id'],
  34.             'body_class' => [$this'block_body_class'],
  35.             'wrapper_wrapper' => [$this'block_wrapper_wrapper'],
  36.             'flash_messages' => [$this'block_flash_messages'],
  37.             'user_menu' => [$this'block_user_menu'],
  38.             'wrapper' => [$this'block_wrapper'],
  39.             'responsive_header' => [$this'block_responsive_header'],
  40.             'responsive_header_logo' => [$this'block_responsive_header_logo'],
  41.             'sidebar' => [$this'block_sidebar'],
  42.             'header' => [$this'block_header'],
  43.             'header_navbar' => [$this'block_header_navbar'],
  44.             'header_logo' => [$this'block_header_logo'],
  45.             'main_menu_wrapper' => [$this'block_main_menu_wrapper'],
  46.             'content_top_header' => [$this'block_content_top_header'],
  47.             'search' => [$this'block_search'],
  48.             'search_form' => [$this'block_search_form'],
  49.             'search_form_filters' => [$this'block_search_form_filters'],
  50.             'header_custom_menu' => [$this'block_header_custom_menu'],
  51.             'content' => [$this'block_content'],
  52.             'content_header_wrapper' => [$this'block_content_header_wrapper'],
  53.             'content_header' => [$this'block_content_header'],
  54.             'content_title' => [$this'block_content_title'],
  55.             'content_help' => [$this'block_content_help'],
  56.             'page_actions_wrapper' => [$this'block_page_actions_wrapper'],
  57.             'page_actions' => [$this'block_page_actions'],
  58.             'main' => [$this'block_main'],
  59.             'content_footer_wrapper' => [$this'block_content_footer_wrapper'],
  60.             'body_javascript' => [$this'block_body_javascript'],
  61.             'configured_body_contents' => [$this'block_configured_body_contents'],
  62.         ];
  63.     }
  64.     protected function doDisplay(array $context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EasyAdmin/layout.html.twig"));
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EasyAdmin/layout.html.twig"));
  71.         // line 2
  72.         $context["__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c"] = twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse2), "translationDomain", [], "any"falsefalsefalse2);
  73.         // line 3
  74.         echo "
  75. <!DOCTYPE html >
  76. <html lang=\"";
  77.         // line 5
  78.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse5), "htmlLocale", [], "any"falsefalsefalse5), "html"nulltrue);
  79.         echo "\" dir=\"";
  80.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse5), "textDirection", [], "any"falsefalsefalse5), "html"nulltrue);
  81.         echo "\"   >
  82. <head>
  83.      ";
  84.         // line 7
  85.         $context["sessionLifetimeSeconds"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse7), "getMetadataBag", [], "method"falsefalsefalse7), "getLifetime", [], "method"falsefalsefalse7);
  86.         // line 8
  87.         echo "    <style>
  88.         .session-badge {
  89.             display: inline-block;
  90.             padding: 0.25em 0.5em;
  91.             font-size: 75%;
  92.             font-weight: 700;
  93.             line-height: 1;
  94.             color: #fff;
  95.             text-align: center;
  96.             white-space: nowrap;
  97.             vertical-align: baseline;
  98.             border-radius: 0.25rem;
  99.             background-color: #007bff;
  100.         }
  101.     </style>
  102.    <!-- <script>
  103.         document.addEventListener('DOMContentLoaded', function() {
  104.             var sessionBadge = document.querySelector('.session-badge');
  105.             var sessionLifetimeSeconds = ";
  106.         // line 26
  107.         echo 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"nulltrue);
  108.         echo ";
  109.             var updateInterval = 1000; // Mettez à jour toutes les secondes
  110.             function updateSessionCounter() {
  111.                 var minutes = Math.floor(sessionLifetimeSeconds / 60);
  112.                 var seconds = sessionLifetimeSeconds % 60;
  113.                 sessionBadge.textContent = minutes + 'm ' + seconds + 's';
  114.                 sessionLifetimeSeconds--;
  115.             }
  116.             // Mettez à jour le compteur initialement
  117.             updateSessionCounter();
  118.             // Mettez à jour le compteur toutes les secondes
  119.             setInterval(updateSessionCounter, updateInterval);
  120.         });
  121.     </script>-->
  122.      <script>
  123.         document.addEventListener(\"turbo:load\", function() {
  124.     // Votre code existant pour le compteur de session
  125.     var sessionBadge = document.querySelector('.session-badge');
  126.     var sessionLifetimeSeconds = ";
  127.         // line 47
  128.         echo 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"nulltrue);
  129.         echo ";
  130.     var updateInterval = 1000; // Mettez à jour toutes les secondes
  131.     function updateSessionCounter() {
  132.         if (sessionLifetimeSeconds > 0) {
  133.             var hours = Math.floor(sessionLifetimeSeconds / 3600);
  134.             var minutes = Math.floor((sessionLifetimeSeconds % 3600) / 60);
  135.             var seconds = sessionLifetimeSeconds % 60;
  136.             sessionBadge.textContent = hours + 'h ' + minutes + 'm ' + seconds + 's';
  137.             sessionLifetimeSeconds--;
  138.         } else {
  139.             // Arrêtez le compteur et effectuez toute autre action nécessaire
  140.             clearInterval(intervalId);
  141.             sessionBadge.textContent = 'Session expirée';
  142.         }
  143.     }
  144.     // Mettez à jour le compteur initialement
  145.     updateSessionCounter();
  146.     // Mettez à jour le compteur toutes les secondes
  147.     var intervalId = setInterval(updateSessionCounter, updateInterval);
  148. });
  149.  </script>
  150.     ";
  151.         // line 72
  152.         $this->displayBlock('head_metas'$context$blocks);
  153.         // line 82
  154.         echo "
  155.     ";
  156.         // line 83
  157.         ob_start();
  158.         $this->displayBlock('page_title'$context$blocks);
  159.         $context["page_title_block_output"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  160.         // line 84
  161.         echo "    <title>";
  162.         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); })()));
  163.         echo "</title>
  164.     ";
  165.         // line 86
  166.         $this->displayBlock('head_stylesheets'$context$blocks);
  167.         // line 100
  168.         echo "
  169.     ";
  170.         // line 101
  171.         $this->displayBlock('configured_stylesheets'$context$blocks);
  172.         // line 105
  173.         echo "
  174.     ";
  175.         // line 106
  176.         $this->displayBlock('head_favicon'$context$blocks);
  177.         // line 109
  178.         echo "
  179.     ";
  180.         // line 110
  181.         $this->displayBlock('head_javascript'$context$blocks);
  182.         // line 117
  183.         echo "
  184.     
  185.     ";
  186.         // line 120
  187.         if (("rtl" == twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse120), "textDirection", [], "any"falsefalsefalse120))) {
  188.             // line 121
  189.             echo "        <link rel=\"stylesheet\" href=\"";
  190.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("app.rtl.css"twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse121), "defaultAssetPackageName", [], "any"falsefalsefalse121)), "html"nulltrue);
  191.             echo "\">
  192.     ";
  193.         }
  194.         // line 123
  195.         echo "
  196.     ";
  197.         // line 124
  198.         $this->displayBlock('configured_head_contents'$context$blocks);
  199.         // line 129
  200.         echo "</head>
  201. ";
  202.         // line 131
  203.         $this->displayBlock('body'$context$blocks);
  204.         // line 581
  205.         echo "</html>
  206. ";
  207.         
  208.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  209.         
  210.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  211.     }
  212.     // line 72
  213.     public function block_head_metas($context, array $blocks = [])
  214.     {
  215.         $macros $this->macros;
  216.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  217.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_metas"));
  218.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  219.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_metas"));
  220.         // line 73
  221.         echo "        <meta charset=\"utf-8\">
  222.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  223.         <meta name=\"robots\" content=\"noindex, nofollow, noarchive, nosnippet, noodp, noimageindex, notranslate, nocache\" />
  224.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  225.         <meta name=\"generator\" content=\"EasyAdmin\" />
  226.         <meta name=\"turbo-cache-control\" content=\"no-cache\">
  227.         
  228.         
  229.     ";
  230.         
  231.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  232.         
  233.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  234.     }
  235.     // line 83
  236.     public function block_page_title($context, array $blocks = [])
  237.     {
  238.         $macros $this->macros;
  239.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  240.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  241.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  242.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_title"));
  243.         $this->displayBlock("content_title"$context$blocks);
  244.         
  245.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  246.         
  247.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  248.     }
  249.     // line 86
  250.     public function block_head_stylesheets($context, array $blocks = [])
  251.     {
  252.         $macros $this->macros;
  253.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  254.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  255.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  256.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  257.         // line 87
  258.         echo "        <link rel=\"stylesheet\" href=\"";
  259.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("app.css"twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse87), "defaultAssetPackageName", [], "any"falsefalsefalse87)), "html"nulltrue);
  260.         echo "\">
  261.        
  262.             ";
  263.         // line 89
  264.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  265.         echo "
  266.          
  267.             
  268.         
  269.         ";
  270.         // line 93
  271.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_CUSTOMER")) {
  272.             // line 94
  273.             echo "            <link rel=\"stylesheet\" href=\"";
  274.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("themes/" twig_lower_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse94), "assetFolderName", [], "any"falsefalsefalse94))) . "/admin/admin-customer.css")), "html"nulltrue);
  275.             echo "\">
  276.         ";
  277.         } else {
  278.             // line 96
  279.             echo "            <link rel=\"stylesheet\" href=\"";
  280.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((("themes/" twig_lower_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse96), "assetFolderName", [], "any"falsefalsefalse96))) . "/admin/admin.css")), "html"nulltrue);
  281.             echo "\">
  282.         ";
  283.         }
  284.         // line 98
  285.         echo "   
  286.     ";
  287.         
  288.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  289.         
  290.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  291.     }
  292.     // line 101
  293.     public function block_configured_stylesheets($context, array $blocks = [])
  294.     {
  295.         $macros $this->macros;
  296.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  297.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_stylesheets"));
  298.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  299.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_stylesheets"));
  300.         // line 102
  301.         echo "        ";
  302.         echo twig_include($this->env$context"@EasyAdmin/includes/_css_assets.html.twig", ["assets" => (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "assets", [], "any"falsetruefalse102), "cssAssets", [], "any"truetruefalse102) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "assets", [], "any"falsetruefalse102), "cssAssets", [], "any"falsefalsefalse102)))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "assets", [], "any"falsetruefalse102), "cssAssets", [], "any"falsefalsefalse102)) : ([]))], false);
  303.         echo "
  304.         ";
  305.         // line 103
  306.         echo twig_include($this->env$context"@EasyAdmin/includes/_encore_link_tags.html.twig", ["assets" => (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "assets", [], "any"falsetruefalse103), "webpackEncoreAssets", [], "any"truetruefalse103) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "assets", [], "any"falsetruefalse103), "webpackEncoreAssets", [], "any"falsefalsefalse103)))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "assets", [], "any"falsetruefalse103), "webpackEncoreAssets", [], "any"falsefalsefalse103)) : ([]))], false);
  307.         echo "
  308.     ";
  309.         
  310.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  311.         
  312.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  313.     }
  314.     // line 106
  315.     public function block_head_favicon($context, array $blocks = [])
  316.     {
  317.         $macros $this->macros;
  318.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  319.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_favicon"));
  320.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  321.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_favicon"));
  322.         // line 107
  323.         echo "        <link rel=\"shortcut icon\" href=\"";
  324.         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"falsefalsefalse107)), "html"nulltrue);
  325.         echo "\">
  326.     ";
  327.         
  328.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  329.         
  330.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  331.     }
  332.     // line 110
  333.     public function block_head_javascript($context, array $blocks = [])
  334.     {
  335.         $macros $this->macros;
  336.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  337.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_javascript"));
  338.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  339.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_javascript"));
  340.         // line 111
  341.         echo "    
  342.         
  343.         ";
  344.         // line 113
  345.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  346.         echo "
  347.   
  348.     ";
  349.         
  350.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  351.         
  352.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  353.     }
  354.     // line 124
  355.     public function block_configured_head_contents($context, array $blocks = [])
  356.     {
  357.         $macros $this->macros;
  358.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  359.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_head_contents"));
  360.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  361.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_head_contents"));
  362.         // line 125
  363.         echo "        ";
  364.         $context['_parent'] = $context;
  365.         $context['_seq'] = twig_ensure_traversable((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "assets", [], "any"falsetruefalse125), "headContents", [], "any"truetruefalse125) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "assets", [], "any"falsetruefalse125), "headContents", [], "any"falsefalsefalse125)))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "assets", [], "any"falsetruefalse125), "headContents", [], "any"falsefalsefalse125)) : ([])));
  366.         foreach ($context['_seq'] as $context["_key"] => $context["htmlContent"]) {
  367.             // line 126
  368.             echo "            ";
  369.             echo $context["htmlContent"];
  370.             echo "
  371.         ";
  372.         }
  373.         $_parent $context['_parent'];
  374.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['htmlContent'], $context['_parent'], $context['loop']);
  375.         $context array_intersect_key($context$_parent) + $_parent;
  376.         // line 128
  377.         echo "    ";
  378.         
  379.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  380.         
  381.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  382.     }
  383.     // line 131
  384.     public function block_body($context, array $blocks = [])
  385.     {
  386.         $macros $this->macros;
  387.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  388.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  389.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  390.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  391.         // line 132
  392.         echo "    <body ";
  393.         $this->displayBlock('body_attr'$context$blocks);
  394.         // line 133
  395.         echo "        id=\"";
  396.         $this->displayBlock('body_id'$context$blocks);
  397.         echo "\"
  398.         class=\"ea ";
  399.         // line 134
  400.         $this->displayBlock('body_class'$context$blocks);
  401.         echo " \"
  402.         data-ea-content-width=\"";
  403.         // line 135
  404.         echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "crud", [], "any"falsetruefalse135), "contentWidth", [], "any"truetruefalse135) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "crud", [], "any"falsetruefalse135), "contentWidth", [], "any"falsefalsefalse135)))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "crud", [], "any"falsetruefalse135), "contentWidth", [], "any"falsefalsefalse135)) : ((((twig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "dashboardContentWidth", [], "any"truetruefalse135) &&  !(null === twig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "dashboardContentWidth", [], "any"falsefalsefalse135)))) ? (twig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "dashboardContentWidth", [], "any"falsefalsefalse135)) : ("normal")))), "html"nulltrue);
  405.         echo "\"
  406.         data-ea-sidebar-width=\"";
  407.         // line 136
  408.         echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "crud", [], "any"falsetruefalse136), "sidebarWidth", [], "any"truetruefalse136) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "crud", [], "any"falsetruefalse136), "sidebarWidth", [], "any"falsefalsefalse136)))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "crud", [], "any"falsetruefalse136), "sidebarWidth", [], "any"falsefalsefalse136)) : ((((twig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "dashboardSidebarWidth", [], "any"truetruefalse136) &&  !(null === twig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "dashboardSidebarWidth", [], "any"falsefalsefalse136)))) ? (twig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "dashboardSidebarWidth", [], "any"falsefalsefalse136)) : ("normal")))), "html"nulltrue);
  409.         echo "\"
  410.         data-ea-dark-scheme-is-enabled=\"";
  411.         // line 137
  412.         echo ((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"falsefalsefalse137)) ? ("true") : ("false"));
  413.         echo "\"
  414.     >
  415.     ";
  416.         // line 141
  417.         $this->displayBlock('wrapper_wrapper'$context$blocks);
  418.         // line 503
  419.         echo "
  420.     ";
  421.         // line 504
  422.         $this->displayBlock('body_javascript'$context$blocks);
  423.         // line 573
  424.         echo "
  425.     ";
  426.         // line 574
  427.         $this->displayBlock('configured_body_contents'$context$blocks);
  428.         // line 579
  429.         echo "    </body>
  430. ";
  431.         
  432.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  433.         
  434.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  435.     }
  436.     // line 132
  437.     public function block_body_attr($context, array $blocks = [])
  438.     {
  439.         $macros $this->macros;
  440.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  441.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_attr"));
  442.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  443.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_attr"));
  444.         
  445.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  446.         
  447.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  448.     }
  449.     // line 133
  450.     public function block_body_id($context, array $blocks = [])
  451.     {
  452.         $macros $this->macros;
  453.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  454.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_id"));
  455.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  456.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_id"));
  457.         
  458.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  459.         
  460.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  461.     }
  462.     // line 134
  463.     public function block_body_class($context, array $blocks = [])
  464.     {
  465.         $macros $this->macros;
  466.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  467.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_class"));
  468.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  469.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_class"));
  470.         
  471.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  472.         
  473.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  474.     }
  475.     // line 141
  476.     public function block_wrapper_wrapper($context, array $blocks = [])
  477.     {
  478.         $macros $this->macros;
  479.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  480.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""wrapper_wrapper"));
  481.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  482.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""wrapper_wrapper"));
  483.         // line 142
  484.         echo "        ";
  485.         $this->displayBlock('flash_messages'$context$blocks);
  486.         // line 145
  487.         echo "
  488.         ";
  489.         // line 146
  490.         ob_start();
  491.         // line 147
  492.         echo "            ";
  493.         if ((null == twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse147), "avatarUrl", [], "any"falsefalsefalse147))) {
  494.             // line 148
  495.             echo "                <span class=\"user-avatar\">
  496.                     <span class=\"fa-stack\">
  497.                         <i class=\"user-avatar-icon-background fas fa-square fa-stack-2x\"></i>
  498.                         <i class=\"user-avatar-icon-foreground ";
  499.             // line 151
  500.             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.'151$this->source); })()), "user", [], "any"falsefalsefalse151))) ? ("fa fa-user") : ("fas fa-user-slash"));
  501.             echo " fa-stack-1x fa-inverse\"></i>
  502.                     </span>
  503.                 </span>
  504.             ";
  505.         } else {
  506.             // line 155
  507.             echo "                <img class=\"user-avatar\" src=\"";
  508.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse155), "avatarUrl", [], "any"falsefalsefalse155), "html"nulltrue);
  509.             echo "\" />
  510.             ";
  511.         }
  512.         // line 157
  513.         echo "        ";
  514.         $context["user_menu_avatar"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  515.         // line 158
  516.         echo "
  517.         ";
  518.         // line 159
  519.         $context["impersonator_permission"] = ((twig_constant_is_defined("Symfony\\Component\\Security\\Core\\Authorization\\Voter\\AuthenticatedVoter::IS_IMPERSONATOR")) ? ("IS_IMPERSONATOR") : ("ROLE_PREVIOUS_ADMIN"));
  520.         // line 160
  521.         echo "
  522.         ";
  523.         // line 161
  524.         ob_start();
  525.         // line 162
  526.         echo "            <ul class=\"dropdown-menu dropdown-menu-end\">
  527.                 <li class=\"dropdown-user-details\">
  528.                     <div>";
  529.         // line 164
  530.         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.'164$this->source); })()), "html"nulltrue);
  531.         echo "</div>
  532.                     <div>
  533.                         <span class=\"user-label\">";
  534.         // line 166
  535.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.logged_in_as", array(), "EasyAdminBundle"), "html"nulltrue);
  536.         echo "</span>
  537.                         <span class=\"user-name\">";
  538.         // line 167
  539.         echo 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"falsefalsefalse167))) ? ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.anonymous", array(), "EasyAdminBundle")) : (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse167), "name", [], "any"falsefalsefalse167))), "html"nulltrue);
  540.         echo "</span>
  541.                     </div>
  542.                 </li>
  543.                 ";
  544.         // line 171
  545.         $this->displayBlock('user_menu'$context$blocks);
  546.         // line 190
  547.         echo "            </ul>
  548.         ";
  549.         $context["user_menu_dropdown"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  550.         // line 192
  551.         echo "
  552.         ";
  553.         // line 193
  554.         ob_start();
  555.         // line 194
  556.         echo "            ";
  557.         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"falsefalsefalse194) || 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"falsefalsefalse194))) {
  558.             // line 195
  559.             echo "                <div class=\"dropdown dropdown-settings\">
  560.                     <a class=\"dropdown-settings-button\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">
  561.                         <i class=\"fas fa-gear\"></i>
  562.                     </a>
  563.                     <ul class=\"dropdown-menu dropdown-menu-end\">
  564.                         ";
  565.             // line 201
  566.             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.'201$this->source); })()), "dashboardLocales", [], "any"falsefalsefalse201)) {
  567.                 // line 202
  568.                 echo "                            <li>
  569.                                 <span class=\"dropdown-header dropdown-locales-label\">";
  570.                 // line 203
  571.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("settings.locale", array(), "EasyAdminBundle"), "html"nulltrue);
  572.                 echo "</span>
  573.                             </li>
  574.                             ";
  575.                 // line 206
  576.                 $context['_parent'] = $context;
  577.                 $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"falsefalsefalse206));
  578.                 foreach ($context['_seq'] as $context["_key"] => $context["localeDto"]) {
  579.                     // line 207
  580.                     echo "                                <li>
  581.                                     <a href=\"";
  582.                     // line 208
  583.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "set", [=> "_locale"=> twig_get_attribute($this->env$this->source$context["localeDto"], "locale", [], "any"falsefalsefalse208)], "method"falsefalsefalse208), "html"nulltrue);
  584.                     echo "\" class=\"dropdown-item";
  585.                     if ((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse208), "locale", [], "any"falsefalsefalse208) == twig_get_attribute($this->env$this->source$context["localeDto"], "locale", [], "any"falsefalsefalse208))) {
  586.                         echo " active";
  587.                     }
  588.                     echo "\">
  589.                                         ";
  590.                     // line 209
  591.                     if (twig_get_attribute($this->env$this->source$context["localeDto"], "icon", [], "any"falsefalsefalse209)) {
  592.                         // line 210
  593.                         echo "                                            <i class=\"";
  594.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["localeDto"], "icon", [], "any"falsefalsefalse210), "html"nulltrue);
  595.                         echo "\"></i>
  596.                                         ";
  597.                     }
  598.                     // line 212
  599.                     echo "                                        ";
  600.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["localeDto"], "name", [], "any"falsefalsefalse212), "html"nulltrue);
  601.                     echo "
  602.                                     </a>
  603.                                 </li>
  604.                             ";
  605.                 }
  606.                 $_parent $context['_parent'];
  607.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['localeDto'], $context['_parent'], $context['loop']);
  608.                 $context array_intersect_key($context$_parent) + $_parent;
  609.                 // line 216
  610.                 echo "                        ";
  611.             }
  612.             // line 217
  613.             echo "
  614.                         ";
  615.             // line 218
  616.             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.'218$this->source); })()), "dashboardHasDarkModeEnabled", [], "any"falsefalsefalse218)) {
  617.                 // line 219
  618.                 echo "                            ";
  619.                 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"falsefalsefalse219)) {
  620.                     // line 220
  621.                     echo "                                <div class=\"dropdown-divider\"></div>
  622.                             ";
  623.                 }
  624.                 // line 222
  625.                 echo "
  626.                             <li>
  627.                                 <span class=\"dropdown-header dropdown-appearance-label\">";
  628.                 // line 224
  629.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("settings.appearance.label", array(), "EasyAdminBundle"), "html"nulltrue);
  630.                 echo "</span>
  631.                             </li>
  632.                             <li>
  633.                                 <a href=\"#\" class=\"dropdown-item dropdown-appearance-item\" data-ea-color-scheme=\"light\">
  634.                                     <i class=\"far fa-sun\"></i> <span>";
  635.                 // line 228
  636.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("settings.appearance.light", array(), "EasyAdminBundle"), "html"nulltrue);
  637.                 echo "</span>
  638.                                 </a>
  639.                             </li>
  640.                             <li>
  641.                                 <a href=\"#\" class=\"dropdown-item dropdown-appearance-item\" data-ea-color-scheme=\"dark\">
  642.                                     <i class=\"far fa-moon\"></i> <span>";
  643.                 // line 233
  644.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("settings.appearance.dark", array(), "EasyAdminBundle"), "html"nulltrue);
  645.                 echo "</span>
  646.                                 </a>
  647.                             </li>
  648.                             <li>
  649.                                 <a href=\"#\" class=\"dropdown-item dropdown-appearance-item active\" data-ea-color-scheme=\"auto\">
  650.                                     <i class=\"fas fa-desktop\"></i> <span>";
  651.                 // line 238
  652.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("settings.appearance.auto", array(), "EasyAdminBundle"), "html"nulltrue);
  653.                 echo "</span>
  654.                                 </a>
  655.                             </li>
  656.                         ";
  657.             }
  658.             // line 242
  659.             echo "                    </ul>
  660.                 </div>
  661.             ";
  662.         }
  663.         // line 245
  664.         echo "        ";
  665.         $context["settings_dropdown"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  666.         // line 246
  667.         echo "
  668.         <div class=\"wrapper\">
  669.             ";
  670.         // line 248
  671.         $this->displayBlock('wrapper'$context$blocks);
  672.         // line 501
  673.         echo "        </div>
  674.     ";
  675.         
  676.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  677.         
  678.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  679.     }
  680.     // line 142
  681.     public function block_flash_messages($context, array $blocks = [])
  682.     {
  683.         $macros $this->macros;
  684.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  685.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""flash_messages"));
  686.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  687.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""flash_messages"));
  688.         // line 143
  689.         echo "            ";
  690.         echo twig_include($this->env$contexttwig_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", [=> "flash_messages"], "method"falsefalsefalse143));
  691.         echo "
  692.         ";
  693.         
  694.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  695.         
  696.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  697.     }
  698.     // line 171
  699.     public function block_user_menu($context, array $blocks = [])
  700.     {
  701.         $macros $this->macros;
  702.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  703.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""user_menu"));
  704.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  705.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""user_menu"));
  706.         // line 172
  707.         echo "                    ";
  708.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse172), "items", [], "any"falsefalsefalse172)) > 0)) {
  709.             // line 173
  710.             echo "                        <li><hr class=\"dropdown-divider\"></li>
  711.                         ";
  712.             // line 174
  713.             $context['_parent'] = $context;
  714.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse174), "items", [], "any"falsefalsefalse174));
  715.             $context['loop'] = [
  716.               'parent' => $context['_parent'],
  717.               'index0' => 0,
  718.               'index'  => 1,
  719.               'first'  => true,
  720.             ];
  721.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  722.                 $length count($context['_seq']);
  723.                 $context['loop']['revindex0'] = $length 1;
  724.                 $context['loop']['revindex'] = $length;
  725.                 $context['loop']['length'] = $length;
  726.                 $context['loop']['last'] = === $length;
  727.             }
  728.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  729.                 // line 175
  730.                 echo "                            <li>
  731.                                 ";
  732.                 // line 176
  733.                 if ((twig_get_attribute($this->env$this->source$context["item"], "isMenuSection", [], "any"falsefalsefalse176) &&  !twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse176))) {
  734.                     // line 177
  735.                     echo "                                    <hr class=\"dropdown-divider\">
  736.                                 ";
  737.                 } elseif ( !twig_get_attribute($this->env$this->source,                 // line 178
  738. $context["item"], "isMenuSection", [], "any"falsefalsefalse178)) {
  739.                     // line 179
  740.                     echo "                                    <a href=\"";
  741.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "linkUrl", [], "any"falsefalsefalse179), "html"nulltrue);
  742.                     echo "\" class=\"dropdown-item user-action ";
  743.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "cssClass", [], "any"falsefalsefalse179), "html"nulltrue);
  744.                     echo "\"
  745.                                        target=\"";
  746.                     // line 180
  747.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "linkTarget", [], "any"falsefalsefalse180), "html"nulltrue);
  748.                     echo "\" rel=\"";
  749.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "linkRel", [], "any"falsefalsefalse180), "html"nulltrue);
  750.                     echo "\"
  751.                                        referrerpolicy=\"origin-when-cross-origin\">
  752.                                         ";
  753.                     // line 182
  754.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["item"], "icon", [], "any"falsefalsefalse182))) {
  755.                         echo "<i class=\"fa fa-fw ";
  756.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "icon", [], "any"falsefalsefalse182), "html"nulltrue);
  757.                         echo "\"></i>";
  758.                     }
  759.                     // line 183
  760.                     echo "                                        <span>";
  761.                     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"falsefalsefalse183), [],                     // line 2
  762. (isset($context["__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c"]) || array_key_exists("__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c"$context) ? $context["__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c"] : (function () { throw new RuntimeError('Variable "__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c" does not exist.'2$this->source); })())), "html"nulltrue);
  763.                     // line 183
  764.                     echo "</span>
  765.                                     </a>
  766.                                 ";
  767.                 }
  768.                 // line 186
  769.                 echo "                            </li>
  770.                         ";
  771.                 ++$context['loop']['index0'];
  772.                 ++$context['loop']['index'];
  773.                 $context['loop']['first'] = false;
  774.                 if (isset($context['loop']['length'])) {
  775.                     --$context['loop']['revindex0'];
  776.                     --$context['loop']['revindex'];
  777.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  778.                 }
  779.             }
  780.             $_parent $context['_parent'];
  781.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  782.             $context array_intersect_key($context$_parent) + $_parent;
  783.             // line 188
  784.             echo "                    ";
  785.         }
  786.         // line 189
  787.         echo "                ";
  788.         
  789.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  790.         
  791.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  792.     }
  793.     // line 248
  794.     public function block_wrapper($context, array $blocks = [])
  795.     {
  796.         $macros $this->macros;
  797.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  798.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""wrapper"));
  799.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  800.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""wrapper"));
  801.         // line 249
  802.         echo "                <div class=\"responsive-header\">
  803.                     ";
  804.         // line 250
  805.         $this->displayBlock('responsive_header'$context$blocks);
  806.         // line 279
  807.         echo "                </div>
  808.                 <div class=\"sidebar-wrapper\"  >
  809.                     <aside class=\"sidebar\" >
  810.                         ";
  811.         // line 283
  812.         $this->displayBlock('sidebar'$context$blocks);
  813.         // line 305
  814.         echo "
  815.                         <div id=\"sidebar-resizer-handler\" class=\"resizer-handler resizer-handler-left\"></div>
  816.                     </aside>
  817.                 </div>
  818.                 <section class=\"main-content\" >
  819.                     ";
  820.         // line 311
  821.         $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"falsefalsefalse311)) && twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse311), "isSearchEnabled", [], "any"falsefalsefalse311));
  822.         // line 312
  823.         echo "                    <aside class=\"content-top ";
  824.         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"));
  825.         echo "\">
  826.                         ";
  827.         // line 313
  828.         $this->displayBlock('content_top_header'$context$blocks);
  829.         // line 452
  830.         echo "                    </aside>
  831.                     <div class=\"content-wrapper \">
  832.                         ";
  833.         // line 455
  834.         $this->displayBlock('content'$context$blocks);
  835.         // line 496
  836.         echo "
  837.                         <div id=\"content-resizer-handler\" class=\"resizer-handler resizer-handler-right\"></div>
  838.                     </div>
  839.                 </section>
  840.             ";
  841.         
  842.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  843.         
  844.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  845.     }
  846.     // line 250
  847.     public function block_responsive_header($context, array $blocks = [])
  848.     {
  849.         $macros $this->macros;
  850.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  851.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""responsive_header"));
  852.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  853.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""responsive_header"));
  854.         // line 251
  855.         echo "                        <button id=\"navigation-toggler\" type=\"button\" aria-label=\"Toggle navigation\">
  856.                             <i class=\"fa fa-fw fa-bars\"></i>
  857.                         </button>
  858.                         <div id=\"responsive-header-logo\" class=\"text-truncate ms-auto\">
  859.                             ";
  860.         // line 256
  861.         $this->displayBlock('responsive_header_logo'$context$blocks);
  862.         // line 261
  863.         echo "                        </div>
  864.                         <div class=\"dropdown user-menu-wrapper ";
  865.         // line 263
  866.         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.'263$this->source); })()))) ? ("user-is-impersonated") : (""));
  867.         echo " ms-auto\">
  868.                             <a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">
  869.                                 ";
  870.         // line 267
  871.         echo "                                ";
  872.         if (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse267), "avatarDisplayed", [], "any"falsefalsefalse267)) {
  873.             // line 268
  874.             echo "                                    ";
  875.             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"nulltrue);
  876.             echo "
  877.                                 ";
  878.         } else {
  879.             // line 270
  880.             echo "                                    <i class=\"user-avatar fa fa-fw ";
  881.             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"falsefalsefalse270))) ? ("fa-user") : ("fa-user-times"));
  882.             echo "\"></i>
  883.                                 ";
  884.         }
  885.         // line 272
  886.         echo "                            </a>
  887.                             ";
  888.         // line 274
  889.         echo 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"nulltrue);
  890.         echo "
  891.                         </div>
  892.                         ";
  893.         // line 277
  894.         echo 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"nulltrue);
  895.         echo "
  896.                     ";
  897.         
  898.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  899.         
  900.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  901.     }
  902.     // line 256
  903.     public function block_responsive_header_logo($context, array $blocks = [])
  904.     {
  905.         $macros $this->macros;
  906.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  907.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""responsive_header_logo"));
  908.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  909.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""responsive_header_logo"));
  910.         // line 257
  911.         echo "                                <a class=\"responsive-logo\" title=\"";
  912.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse257)), "html"nulltrue);
  913.         echo "\" href=\"";
  914.         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"falsefalsefalse257));
  915.         echo "\">
  916.                                     ";
  917.         // line 258
  918.         echo 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"falsefalsefalse258);
  919.         echo "
  920.                                 </a>
  921.                             ";
  922.         
  923.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  924.         
  925.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  926.     }
  927.     // line 283
  928.     public function block_sidebar($context, array $blocks = [])
  929.     {
  930.         $macros $this->macros;
  931.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  932.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  933.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  934.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  935.         // line 284
  936.         echo "                            <header class=\"main-header\" >
  937.                                 ";
  938.         // line 285
  939.         $this->displayBlock('header'$context$blocks);
  940.         // line 299
  941.         echo "                            </header>
  942.                             ";
  943.         // line 301
  944.         $this->displayBlock('main_menu_wrapper'$context$blocks);
  945.         // line 304
  946.         echo "                        ";
  947.         
  948.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  949.         
  950.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  951.     }
  952.     // line 285
  953.     public function block_header($context, array $blocks = [])
  954.     {
  955.         $macros $this->macros;
  956.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  957.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  958.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  959.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  960.         // line 286
  961.         echo "                                <nav class=\"navbar\" role=\"navigation\" >
  962.                                     ";
  963.         // line 287
  964.         $this->displayBlock('header_navbar'$context$blocks);
  965.         // line 297
  966.         echo "                                </nav>
  967.                                 ";
  968.         
  969.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  970.         
  971.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  972.     }
  973.     // line 287
  974.     public function block_header_navbar($context, array $blocks = [])
  975.     {
  976.         $macros $this->macros;
  977.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  978.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_navbar"));
  979.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  980.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_navbar"));
  981.         // line 288
  982.         echo "                                        <div id=\"header-logo\">
  983.                                             ";
  984.         // line 289
  985.         $this->displayBlock('header_logo'$context$blocks);
  986.         // line 295
  987.         echo "                                        </div>
  988.                                     ";
  989.         
  990.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  991.         
  992.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  993.     }
  994.     // line 289
  995.     public function block_header_logo($context, array $blocks = [])
  996.     {
  997.         $macros $this->macros;
  998.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  999.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_logo"));
  1000.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1001.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_logo"));
  1002.         // line 290
  1003.         echo "                                                <a class=\"logo\" title=\"";
  1004.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse290)), "html"nulltrue);
  1005.         echo "\" href=\"";
  1006.         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"falsefalsefalse290));
  1007.         echo "\">
  1008.                                                     <span class=\"logo-custom\">";
  1009.         // line 291
  1010.         echo 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"falsefalsefalse291);
  1011.         echo "</span>
  1012.                                                     <span class=\"logo-compact\"><i class=\"fas fa-home\"></i></span>
  1013.                                                 </a>
  1014.                                             ";
  1015.         
  1016.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1017.         
  1018.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1019.     }
  1020.     // line 301
  1021.     public function block_main_menu_wrapper($context, array $blocks = [])
  1022.     {
  1023.         $macros $this->macros;
  1024.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1025.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_menu_wrapper"));
  1026.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1027.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_menu_wrapper"));
  1028.         // line 302
  1029.         echo "                                ";
  1030.         echo twig_include($this->env$contexttwig_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", [=> "main_menu"], "method"falsefalsefalse302));
  1031.         echo "
  1032.                             ";
  1033.         
  1034.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1035.         
  1036.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1037.     }
  1038.     // line 313
  1039.     public function block_content_top_header($context, array $blocks = [])
  1040.     {
  1041.         $macros $this->macros;
  1042.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1043.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_top_header"));
  1044.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1045.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_top_header"));
  1046.         // line 314
  1047.         echo "                            <div class=\"content-search\">
  1048.                                 ";
  1049.         // line 315
  1050.         if ((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); })())) {
  1051.             // line 316
  1052.             echo "                                    ";
  1053.             $this->displayBlock('search'$context$blocks);
  1054.             // line 366
  1055.             echo "                                ";
  1056.         }
  1057.         // line 367
  1058.         echo "                            </div>
  1059.                             ";
  1060.         // line 370
  1061.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_AGENT")) {
  1062.             // line 371
  1063.             echo "                            <div class=\"navbar-custom-menu p-1\" >
  1064.                                    
  1065.                                     ";
  1066.             // line 373
  1067.             $context["urlSessionHistory"] = twig_get_attribute($this->env$this->source$this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "setRoute", [=> "toggleSession"], "method"falsefalsefalse373);
  1068.             // line 374
  1069.             echo "                                    ";
  1070.             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"falsefalsefalse374)) {
  1071.                 // line 375
  1072.                 echo "                                        ";
  1073.                 if ((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse375), "endAt", [], "any"falsefalsefalse375) != null)) {
  1074.                     // line 376
  1075.                     echo "                                            <a href=\"";
  1076.                     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"nulltrue);
  1077.                     echo "\" class=\"btn bg-green-dark text-white\">
  1078.                                             <i class=\"fa-solid fa-power-off\"></i>
  1079.                                                 Commencer ma session
  1080.                                             </a>
  1081.                                         ";
  1082.                 } else {
  1083.                     // line 381
  1084.                     echo "
  1085.                                             <a href=\"";
  1086.                     // line 382
  1087.                     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.'382$this->source); })()), "html"nulltrue);
  1088.                     echo "\" class=\"btn bg-pink-dark text-white\">
  1089.                                             <i class=\"fa-solid fa-power-off\"></i>
  1090.                                                 Fermer ma session <small style=\"font-size:9px;\">(Commencé á ";
  1091.                     // line 384
  1092.                     echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse384), "startAt", [], "any"falsefalsefalse384), "H:i:s"), "html"nulltrue);
  1093.                     echo ")</small>
  1094.                                             </a>
  1095.                                         ";
  1096.                 }
  1097.                 // line 387
  1098.                 echo "                                    
  1099.                                     ";
  1100.             } else {
  1101.                 // line 389
  1102.                 echo "                                    <a href=\"";
  1103.                 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"nulltrue);
  1104.                 echo "\" class=\"btn bg-green-dark text-white\">
  1105.                                             <i class=\"fa-solid fa-power-off\"></i>
  1106.                                                 Commencer ma session
  1107.                                             </a>
  1108.                                     ";
  1109.             }
  1110.             // line 395
  1111.             echo "                                    
  1112.                                     </a>
  1113.                                 
  1114.                             </div>
  1115.                             ";
  1116.         }
  1117.         // line 400
  1118.         echo "                            <div class=\"navbar-custom-menu p-1\" style=\"position:relative;\">
  1119.                                     <div style=\"position:absolute;bottom:0;left:18px;z-index:9;opacity:0.8;\">
  1120.                                         <span class=\"badge badge-primary\" >1</span>
  1121.                                     </div>
  1122.                                     
  1123.                                   <small style=\"color: rgb(78, 48, 158);\">La durée de la session restante : </small><span class=\"session-badge\">0h 0m 0s</span>
  1124.                                 
  1125.                                     <div class=\"dropdown user-menu-wrapper ";
  1126.         // line 408
  1127.         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.'408$this->source); })()))) ? ("user-is-impersonated") : (""));
  1128.         echo "\">
  1129.                                         <a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">
  1130.                                           <span class=\"user-avatar\">
  1131.                                                 <span class=\"fa-stack\">
  1132.                                                     <i class=\"user-avatar-icon-background fas fa-square fa-stack-2x\"></i>
  1133.                                                     <i class=\"user-avatar-icon-foreground fa fa-bell fa-stack-1x fa-inverse\"></i>
  1134.                                                 </span>
  1135.                                             </span>
  1136.                                             
  1137.                                                 <span class=\"user-name\">Notifications</span>
  1138.                                             
  1139.                                         </a>
  1140.                                         <ul class=\"dropdown-menu dropdown-menu-end\">
  1141.                                                     <li class=\"dropdown-user-details\">
  1142.                                                         Nouveau adhérent : Ayman Bantala
  1143.                                                     </li>
  1144.                                                             
  1145.                                         </ul>
  1146.                                     </div>
  1147.                                 
  1148.                             </div>
  1149.                             <div class=\"navbar-custom-menu\">
  1150.                             
  1151.                                 ";
  1152.         // line 436
  1153.         $this->displayBlock('header_custom_menu'$context$blocks);
  1154.         // line 448
  1155.         echo "                            </div>
  1156.                             ";
  1157.         // line 450
  1158.         echo 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"nulltrue);
  1159.         echo "
  1160.                         ";
  1161.         
  1162.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1163.         
  1164.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1165.     }
  1166.     // line 316
  1167.     public function block_search($context, array $blocks = [])
  1168.     {
  1169.         $macros $this->macros;
  1170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""search"));
  1172.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1173.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""search"));
  1174.         // line 317
  1175.         echo "
  1176.                                         <form   class=\"form-action-search\" method=\"get\">
  1177.                                             ";
  1178.         // line 319
  1179.         $this->displayBlock('search_form'$context$blocks);
  1180.         // line 364
  1181.         echo "                                        </form>
  1182.                                     ";
  1183.         
  1184.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1185.         
  1186.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1187.     }
  1188.     // line 319
  1189.     public function block_search_form($context, array $blocks = [])
  1190.     {
  1191.         $macros $this->macros;
  1192.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1193.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""search_form"));
  1194.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1195.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""search_form"));
  1196.         // line 320
  1197.         echo "                                                ";
  1198.         $this->displayBlock('search_form_filters'$context$blocks);
  1199.         // line 341
  1200.         echo "
  1201.                                                 <input type=\"hidden\" name=\"crudAction\" value=\"index\">
  1202.                                                 <input type=\"hidden\" name=\"crudControllerFqcn\" value=\"";
  1203.         // line 343
  1204.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse343), "query", [], "any"falsefalsefalse343), "get", [=> "crudControllerFqcn"], "method"falsefalsefalse343), "html"nulltrue);
  1205.         echo "\">
  1206.                                                 <input type=\"hidden\" name=\"menuIndex\" value=\"";
  1207.         // line 344
  1208.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse344), "query", [], "any"falsefalsefalse344), "get", [=> "menuIndex"], "method"falsefalsefalse344), "html"nulltrue);
  1209.         echo "\">
  1210.                                                 <input type=\"hidden\" name=\"submenuIndex\" value=\"";
  1211.         // line 345
  1212.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse345), "query", [], "any"falsefalsefalse345), "get", [=> "submenuIndex"], "method"falsefalsefalse345), "html"nulltrue);
  1213.         echo "\">
  1214.                                                 <input type=\"hidden\" name=\"page\" value=\"1\">
  1215.                                                 <div class=\"form-group\">
  1216.                                                     <div class=\"form-widget\">
  1217.                                                         <i class=\"fas fa-search content-search-icon\"></i>
  1218.                                                         <label class=\"content-search-label\" data-value=\"";
  1219.         // line 352
  1220.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse352), "get", [=> "query"], "method"falsefalsefalse352), "html"nulltrue);
  1221.         echo "\">
  1222.                                                             <input class=\"form-control ";
  1223.         // line 353
  1224.         echo (((null === twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse353), "get", [=> "query"], "method"falsefalsefalse353))) ? ("is-blank") : (""));
  1225.         echo "\" type=\"search\" name=\"query\" value=\"";
  1226.         (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse353), "get", [=> "query"], "method"truetruefalse353) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse353), "get", [=> "query"], "method"falsefalsefalse353)))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsetruefalse353), "get", [=> "query"], "method"falsefalsefalse353), "html"nulltrue))) : (print ("")));
  1227.         echo "\" placeholder=\"";
  1228.         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->sourcetwig_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"falsefalsefalse353), "translationParameters", [], "any"falsefalsefalse353), "EasyAdminBundle"), [],         // line 2
  1229. (isset($context["__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c"]) || array_key_exists("__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c"$context) ? $context["__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c"] : (function () { throw new RuntimeError('Variable "__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c" does not exist.'2$this->source); })())), "html"nulltrue);
  1230.         // line 353
  1231.         echo "\" spellcheck=\"false\" autocorrect=\"off\" onInput=\"this.parentNode.dataset.value=this.value\"";
  1232.         if (((twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse353), "currentAction", [], "any"falsefalsefalse353) == "index") && (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse353), "autofocusSearch", [], "any"falsefalsefalse353) == true))) {
  1233.             echo " autofocus=\"autofocus\"";
  1234.         }
  1235.         echo ">
  1236.                                                         </label>
  1237.                                                         ";
  1238.         // line 356
  1239.         if (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse356), "get", [=> "query"], "method"falsefalsefalse356)) {
  1240.             // line 357
  1241.             echo "                                                            <a href=\"";
  1242.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "unset", [=> "query"], "method"falsefalsefalse357), "html"nulltrue);
  1243.             echo "\" class=\"content-search-reset\">
  1244.                                                                 <i class=\"fas fa-fw fa-times\"></i>
  1245.                                                             </a>
  1246.                                                         ";
  1247.         }
  1248.         // line 361
  1249.         echo "                                                    </div>
  1250.                                                 </div>
  1251.                                             ";
  1252.         
  1253.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1254.         
  1255.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1256.     }
  1257.     // line 320
  1258.     public function block_search_form_filters($context, array $blocks = [])
  1259.     {
  1260.         $macros $this->macros;
  1261.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1262.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""search_form_filters"));
  1263.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1264.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""search_form_filters"));
  1265.         // line 321
  1266.         echo "                                                    ";
  1267.         $context['_parent'] = $context;
  1268.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse321), "appliedFilters", [], "any"falsefalsefalse321));
  1269.         foreach ($context['_seq'] as $context["field"] => $context["array"]) {
  1270.             // line 322
  1271.             echo "                                                        ";
  1272.             $context['_parent'] = $context;
  1273.             $context['_seq'] = twig_ensure_traversable($context["array"]);
  1274.             foreach ($context['_seq'] as $context["key"] => $context["value"]) {
  1275.                 // line 323
  1276.                 echo "                                                            ";
  1277.                 // line 324
  1278.                 echo "                                                            ";
  1279.                 if (twig_test_iterable($context["value"])) {
  1280.                     // line 325
  1281.                     echo "                                                                ";
  1282.                     $context['_parent'] = $context;
  1283.                     $context['_seq'] = twig_ensure_traversable($context["value"]);
  1284.                     foreach ($context['_seq'] as $context["index"] => $context["iterValue"]) {
  1285.                         // line 326
  1286.                         echo "                                                                    ";
  1287.                         // line 327
  1288.                         echo "                                                                    ";
  1289.                         if (twig_test_iterable($context["iterValue"])) {
  1290.                             // line 328
  1291.                             echo "                                                                        ";
  1292.                             $context['_parent'] = $context;
  1293.                             $context['_seq'] = twig_ensure_traversable($context["iterValue"]);
  1294.                             foreach ($context['_seq'] as $context["subIndex"] => $context["subIterValue"]) {
  1295.                                 // line 329
  1296.                                 echo "                                                                            <input type=\"hidden\" name=\"filters[";
  1297.                                 echo twig_escape_filter($this->env$context["field"], "html"nulltrue);
  1298.                                 echo "][";
  1299.                                 echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  1300.                                 echo "][";
  1301.                                 echo twig_escape_filter($this->env$context["index"], "html"nulltrue);
  1302.                                 echo "][";
  1303.                                 echo twig_escape_filter($this->env$context["subIndex"], "html"nulltrue);
  1304.                                 echo "]\" value=\"";
  1305.                                 echo twig_escape_filter($this->env$context["subIterValue"], "html"nulltrue);
  1306.                                 echo "\">
  1307.                                                                         ";
  1308.                             }
  1309.                             $_parent $context['_parent'];
  1310.                             unset($context['_seq'], $context['_iterated'], $context['subIndex'], $context['subIterValue'], $context['_parent'], $context['loop']);
  1311.                             $context array_intersect_key($context$_parent) + $_parent;
  1312.                             // line 331
  1313.                             echo "                                                                    ";
  1314.                         } else {
  1315.                             // line 332
  1316.                             echo "                                                                        <input type=\"hidden\" name=\"filters[";
  1317.                             echo twig_escape_filter($this->env$context["field"], "html"nulltrue);
  1318.                             echo "][";
  1319.                             echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  1320.                             echo "][";
  1321.                             echo twig_escape_filter($this->env$context["index"], "html"nulltrue);
  1322.                             echo "]\" value=\"";
  1323.                             echo twig_escape_filter($this->env$context["iterValue"], "html"nulltrue);
  1324.                             echo "\">
  1325.                                                                     ";
  1326.                         }
  1327.                         // line 334
  1328.                         echo "                                                                ";
  1329.                     }
  1330.                     $_parent $context['_parent'];
  1331.                     unset($context['_seq'], $context['_iterated'], $context['index'], $context['iterValue'], $context['_parent'], $context['loop']);
  1332.                     $context array_intersect_key($context$_parent) + $_parent;
  1333.                     // line 335
  1334.                     echo "                                                            ";
  1335.                 } else {
  1336.                     // line 336
  1337.                     echo "                                                                <input type=\"hidden\" name=\"filters[";
  1338.                     echo twig_escape_filter($this->env$context["field"], "html"nulltrue);
  1339.                     echo "][";
  1340.                     echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  1341.                     echo "]\" value=\"";
  1342.                     echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  1343.                     echo "\">
  1344.                                                             ";
  1345.                 }
  1346.                 // line 338
  1347.                 echo "                                                        ";
  1348.             }
  1349.             $_parent $context['_parent'];
  1350.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
  1351.             $context array_intersect_key($context$_parent) + $_parent;
  1352.             // line 339
  1353.             echo "                                                    ";
  1354.         }
  1355.         $_parent $context['_parent'];
  1356.         unset($context['_seq'], $context['_iterated'], $context['field'], $context['array'], $context['_parent'], $context['loop']);
  1357.         $context array_intersect_key($context$_parent) + $_parent;
  1358.         // line 340
  1359.         echo "                                                ";
  1360.         
  1361.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1362.         
  1363.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1364.     }
  1365.     // line 436
  1366.     public function block_header_custom_menu($context, array $blocks = [])
  1367.     {
  1368.         $macros $this->macros;
  1369.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1370.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_custom_menu"));
  1371.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1372.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header_custom_menu"));
  1373.         // line 437
  1374.         echo "                                    <div class=\"dropdown user-menu-wrapper ";
  1375.         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") : (""));
  1376.         echo "\">
  1377.                                         <a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">
  1378.                                             ";
  1379.         // line 439
  1380.         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.'439$this->source); })()), "html"nulltrue);
  1381.         echo "
  1382.                                             ";
  1383.         // line 440
  1384.         if (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse440), "isNameDisplayed", [], "any"falsefalsefalse440)) {
  1385.             // line 441
  1386.             echo "                                                <span class=\"user-name\">";
  1387.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse441), "name", [], "any"falsefalsefalse441), "html"nulltrue);
  1388.             echo "</span>
  1389.                                             ";
  1390.         }
  1391.         // line 443
  1392.         echo "                                        </a>
  1393.                                         ";
  1394.         // line 445
  1395.         echo 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"nulltrue);
  1396.         echo "
  1397.                                     </div>
  1398.                                 ";
  1399.         
  1400.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1401.         
  1402.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1403.     }
  1404.     // line 455
  1405.     public function block_content($context, array $blocks = [])
  1406.     {
  1407.         $macros $this->macros;
  1408.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1409.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  1410.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1411.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  1412.         // line 456
  1413.         echo "                            <article class=\"content\">
  1414.                                 ";
  1415.         // line 457
  1416.         $this->displayBlock('content_header_wrapper'$context$blocks);
  1417.         // line 481
  1418.         echo "
  1419.                                 <section id=\"main\" class=\"content-body  animate__animated animate__fadeIn\">
  1420.                                     ";
  1421.         // line 483
  1422.         $this->displayBlock('main'$context$blocks);
  1423.         // line 484
  1424.         echo "                                </section>
  1425.                                 ";
  1426.         // line 486
  1427.         $this->displayBlock('content_footer_wrapper'$context$blocks);
  1428.         // line 494
  1429.         echo "                            </article>
  1430.                         ";
  1431.         
  1432.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1433.         
  1434.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1435.     }
  1436.     // line 457
  1437.     public function block_content_header_wrapper($context, array $blocks = [])
  1438.     {
  1439.         $macros $this->macros;
  1440.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1441.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_header_wrapper"));
  1442.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1443.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_header_wrapper"));
  1444.         // line 458
  1445.         echo "                                    ";
  1446.         $context["has_help_message"] =  !twig_test_empty((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "crud", [], "any"falsetruefalse458), "helpMessage", [], "any"truetruefalse458) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "crud", [], "any"falsetruefalse458), "helpMessage", [], "any"falsefalsefalse458)))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "crud", [], "any"falsetruefalse458), "helpMessage", [], "any"falsefalsefalse458)) : ("")));
  1447.         // line 459
  1448.         echo "                                    <section class=\"content-header\">
  1449.                                         ";
  1450.         // line 460
  1451.         $this->displayBlock('content_header'$context$blocks);
  1452.         // line 479
  1453.         echo "                                    </section>
  1454.                                 ";
  1455.         
  1456.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1457.         
  1458.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1459.     }
  1460.     // line 460
  1461.     public function block_content_header($context, array $blocks = [])
  1462.     {
  1463.         $macros $this->macros;
  1464.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1465.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_header"));
  1466.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1467.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_header"));
  1468.         // line 461
  1469.         echo "                                            <div class=\"content-header-title\">
  1470.                                                 <h1 class=\"title\">
  1471.                                                     ";
  1472.         // line 463
  1473.         $this->displayBlock('content_title'$context$blocks);
  1474.         // line 464
  1475.         echo "
  1476.                                                     ";
  1477.         // line 465
  1478.         $this->displayBlock('content_help'$context$blocks);
  1479.         // line 472
  1480.         echo "                                                </h1>
  1481.                                             </div>
  1482.                                             ";
  1483.         // line 475
  1484.         $this->displayBlock('page_actions_wrapper'$context$blocks);
  1485.         // line 478
  1486.         echo "                                        ";
  1487.         
  1488.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1489.         
  1490.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1491.     }
  1492.     // line 463
  1493.     public function block_content_title($context, array $blocks = [])
  1494.     {
  1495.         $macros $this->macros;
  1496.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1497.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_title"));
  1498.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1499.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_title"));
  1500.         
  1501.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1502.         
  1503.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1504.     }
  1505.     // line 465
  1506.     public function block_content_help($context, array $blocks = [])
  1507.     {
  1508.         $macros $this->macros;
  1509.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1510.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_help"));
  1511.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1512.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_help"));
  1513.         // line 466
  1514.         echo "                                                        ";
  1515.         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); })())) {
  1516.             // line 467
  1517.             echo "                                                            <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=\"";
  1518.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse467), "helpMessage", [], "any"falsefalsefalse467), [],             // line 2
  1519. (isset($context["__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c"]) || array_key_exists("__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c"$context) ? $context["__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c"] : (function () { throw new RuntimeError('Variable "__internal_297df8ac6123c0f3e614dbea213532878e0338d2c0445f4e70286e6f2fa8e30c" does not exist.'2$this->source); })())), "html_attr");
  1520.             // line 467
  1521.             echo "\">
  1522.                                                                 <i class=\"far fa-question-circle\"></i>
  1523.                                                             </a>
  1524.                                                         ";
  1525.         }
  1526.         // line 471
  1527.         echo "                                                    ";
  1528.         
  1529.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1530.         
  1531.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1532.     }
  1533.     // line 475
  1534.     public function block_page_actions_wrapper($context, array $blocks = [])
  1535.     {
  1536.         $macros $this->macros;
  1537.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1538.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_actions_wrapper"));
  1539.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1540.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_actions_wrapper"));
  1541.         // line 476
  1542.         echo "                                                <div class=\"page-actions\">";
  1543.         $this->displayBlock('page_actions'$context$blocks);
  1544.         echo "</div>
  1545.                                             ";
  1546.         
  1547.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1548.         
  1549.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1550.     }
  1551.     public function block_page_actions($context, array $blocks = [])
  1552.     {
  1553.         $macros $this->macros;
  1554.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1555.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_actions"));
  1556.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1557.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_actions"));
  1558.         
  1559.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1560.         
  1561.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1562.     }
  1563.     // line 483
  1564.     public function block_main($context, array $blocks = [])
  1565.     {
  1566.         $macros $this->macros;
  1567.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1568.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  1569.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1570.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  1571.         
  1572.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1573.         
  1574.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1575.     }
  1576.     // line 486
  1577.     public function block_content_footer_wrapper($context, array $blocks = [])
  1578.     {
  1579.         $macros $this->macros;
  1580.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1581.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_footer_wrapper"));
  1582.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1583.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_footer_wrapper"));
  1584.         // line 487
  1585.         echo "                                    ";
  1586.         $context["content_footer"] = ((        $this->hasBlock("content_footer"$context$blocks)) ? (        $this->renderBlock("content_footer"$context$blocks)) : (""));
  1587.         // line 488
  1588.         echo "                                    ";
  1589.         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); })()))) {
  1590.             // line 489
  1591.             echo "                                        <section class=\"content-footer\">
  1592.                                             ";
  1593.             // line 490
  1594.             echo 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"nulltrue);
  1595.             echo "
  1596.                                         </section>
  1597.                                     ";
  1598.         }
  1599.         // line 493
  1600.         echo "                                ";
  1601.         
  1602.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1603.         
  1604.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1605.     }
  1606.     // line 504
  1607.     public function block_body_javascript($context, array $blocks = [])
  1608.     {
  1609.         $macros $this->macros;
  1610.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1611.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_javascript"));
  1612.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1613.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body_javascript"));
  1614.         // line 505
  1615.         echo "    
  1616.     
  1617.         <script>
  1618.             var notificationSound = new Audio('flexy/sounds/notification_sound.mp3');
  1619.             document.addEventListener(\"turbo:load\",function(){
  1620.             
  1621.             
  1622.             
  1623.             ";
  1624.         // line 516
  1625.         if (twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse516), "isMercureEnabled", [], "any"falsefalsefalse516)) {
  1626.             // line 517
  1627.             echo "            
  1628.             const eventSource = new EventSource(\"";
  1629.             // line 518
  1630.             echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->extensions['Symfony\Component\Mercure\Twig\MercureExtension']->mercure("https://hello.com/books/1"), "js"), "html"nulltrue);
  1631.             echo "\");
  1632.             eventSource.onmessage = event => {
  1633.                 // Will be called every time an update is published by the server
  1634.                 var data = JSON.parse(event.data);
  1635.                 if(data.status == \"success\"){
  1636.                     if(data.entity == \"VisitCustomer\"){
  1637.                         //notificationSound.loop = true;
  1638.                         notificationSound.play();
  1639.                         
  1640.                         const flashMessages = document.getElementById('flash-messages');
  1641.                         
  1642.                         /*\$(\"#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>');*/
  1643.                        
  1644.                         ";
  1645.             // line 532
  1646.             $context["urlOrders"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "setController", [=> "App\\Flexy\\POSBundle\\Controller\\OrderCrudController"], "method"falsefalsefalse532), "setAction", [=> "index"], "method"falsefalsefalse533);
  1647.             // line 535
  1648.             echo "                        Turbo.visit(\"";
  1649.             echo twig_escape_filter($this->envtwig_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"nulltrue);
  1650.             echo "\");
  1651.                     }
  1652.                 if(data.status == \"success\"){
  1653.                     if(data.entity == \"Order\"){
  1654.                         //notificationSound.loop = true;
  1655.                         notificationSound.play();
  1656.                         
  1657.                         const flashMessages = document.getElementById('flash-messages');
  1658.                         
  1659.                         /*\$(\"#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>');*/
  1660.                        
  1661.                         ";
  1662.             // line 549
  1663.             $context["urlOrders"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "setController", [=> "App\\Flexy\\POSBundle\\Controller\\OrderCrudController"], "method"falsefalsefalse549), "setAction", [=> "index"], "method"falsefalsefalse550);
  1664.             // line 552
  1665.             echo "                        Turbo.visit(\"";
  1666.             echo twig_escape_filter($this->envtwig_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"nulltrue);
  1667.             echo "\");
  1668.                     }
  1669.                     //alert(data.status);
  1670.                     
  1671.                 }
  1672.                 console.log(JSON.parse(event.data));
  1673.                 
  1674.             }
  1675.             ";
  1676.         }
  1677.         // line 563
  1678.         echo "            });
  1679.             document.addEventListener(\"turbo:click\",function(){
  1680.                 
  1681.                 notificationSound.pause();
  1682.                 notificationSound.currentTime = 0;
  1683.             });
  1684.             </script>
  1685.         
  1686.     ";
  1687.         
  1688.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1689.         
  1690.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1691.     }
  1692.     // line 574
  1693.     public function block_configured_body_contents($context, array $blocks = [])
  1694.     {
  1695.         $macros $this->macros;
  1696.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1697.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_body_contents"));
  1698.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1699.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""configured_body_contents"));
  1700.         // line 575
  1701.         echo "        ";
  1702.         $context['_parent'] = $context;
  1703.         $context['_seq'] = twig_ensure_traversable((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "assets", [], "any"falsetruefalse575), "bodyContents", [], "any"truetruefalse575) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "assets", [], "any"falsetruefalse575), "bodyContents", [], "any"falsefalsefalse575)))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["ea"] ?? null), "assets", [], "any"falsetruefalse575), "bodyContents", [], "any"falsefalsefalse575)) : ([])));
  1704.         foreach ($context['_seq'] as $context["_key"] => $context["htmlContent"]) {
  1705.             // line 576
  1706.             echo "            ";
  1707.             echo $context["htmlContent"];
  1708.             echo "
  1709.         ";
  1710.         }
  1711.         $_parent $context['_parent'];
  1712.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['htmlContent'], $context['_parent'], $context['loop']);
  1713.         $context array_intersect_key($context$_parent) + $_parent;
  1714.         // line 578
  1715.         echo "    ";
  1716.         
  1717.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1718.         
  1719.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1720.     }
  1721.     public function getTemplateName()
  1722.     {
  1723.         return "@EasyAdmin/layout.html.twig";
  1724.     }
  1725.     public function isTraitable()
  1726.     {
  1727.         return false;
  1728.     }
  1729.     public function getDebugInfo()
  1730.     {
  1731.         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,);
  1732.     }
  1733.     public function getSourceContext()
  1734.     {
  1735.         return new Source("{# @var ea \\EasyCorp\\Bundle\\EasyAdminBundle\\Context\\AdminContext #}
  1736. {% trans_default_domain ea.i18n.translationDomain %}
  1737. <!DOCTYPE html >
  1738. <html lang=\"{{ ea.i18n.htmlLocale }}\" dir=\"{{ ea.i18n.textDirection }}\"   >
  1739. <head>
  1740.      {% set sessionLifetimeSeconds = app.session.getMetadataBag().getLifetime() %}
  1741.     <style>
  1742.         .session-badge {
  1743.             display: inline-block;
  1744.             padding: 0.25em 0.5em;
  1745.             font-size: 75%;
  1746.             font-weight: 700;
  1747.             line-height: 1;
  1748.             color: #fff;
  1749.             text-align: center;
  1750.             white-space: nowrap;
  1751.             vertical-align: baseline;
  1752.             border-radius: 0.25rem;
  1753.             background-color: #007bff;
  1754.         }
  1755.     </style>
  1756.    <!-- <script>
  1757.         document.addEventListener('DOMContentLoaded', function() {
  1758.             var sessionBadge = document.querySelector('.session-badge');
  1759.             var sessionLifetimeSeconds = {{ sessionLifetimeSeconds }};
  1760.             var updateInterval = 1000; // Mettez à jour toutes les secondes
  1761.             function updateSessionCounter() {
  1762.                 var minutes = Math.floor(sessionLifetimeSeconds / 60);
  1763.                 var seconds = sessionLifetimeSeconds % 60;
  1764.                 sessionBadge.textContent = minutes + 'm ' + seconds + 's';
  1765.                 sessionLifetimeSeconds--;
  1766.             }
  1767.             // Mettez à jour le compteur initialement
  1768.             updateSessionCounter();
  1769.             // Mettez à jour le compteur toutes les secondes
  1770.             setInterval(updateSessionCounter, updateInterval);
  1771.         });
  1772.     </script>-->
  1773.      <script>
  1774.         document.addEventListener(\"turbo:load\", function() {
  1775.     // Votre code existant pour le compteur de session
  1776.     var sessionBadge = document.querySelector('.session-badge');
  1777.     var sessionLifetimeSeconds = {{ sessionLifetimeSeconds }};
  1778.     var updateInterval = 1000; // Mettez à jour toutes les secondes
  1779.     function updateSessionCounter() {
  1780.         if (sessionLifetimeSeconds > 0) {
  1781.             var hours = Math.floor(sessionLifetimeSeconds / 3600);
  1782.             var minutes = Math.floor((sessionLifetimeSeconds % 3600) / 60);
  1783.             var seconds = sessionLifetimeSeconds % 60;
  1784.             sessionBadge.textContent = hours + 'h ' + minutes + 'm ' + seconds + 's';
  1785.             sessionLifetimeSeconds--;
  1786.         } else {
  1787.             // Arrêtez le compteur et effectuez toute autre action nécessaire
  1788.             clearInterval(intervalId);
  1789.             sessionBadge.textContent = 'Session expirée';
  1790.         }
  1791.     }
  1792.     // Mettez à jour le compteur initialement
  1793.     updateSessionCounter();
  1794.     // Mettez à jour le compteur toutes les secondes
  1795.     var intervalId = setInterval(updateSessionCounter, updateInterval);
  1796. });
  1797.  </script>
  1798.     {% block head_metas %}
  1799.         <meta charset=\"utf-8\">
  1800.         <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  1801.         <meta name=\"robots\" content=\"noindex, nofollow, noarchive, nosnippet, noodp, noimageindex, notranslate, nocache\" />
  1802.         <meta content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" name=\"viewport\">
  1803.         <meta name=\"generator\" content=\"EasyAdmin\" />
  1804.         <meta name=\"turbo-cache-control\" content=\"no-cache\">
  1805.         
  1806.         
  1807.     {% endblock head_metas %}
  1808.     {% set page_title_block_output %}{% block page_title %}{{ block('content_title') }}{% endblock %}{% endset %}
  1809.     <title>{{ page_title_block_output|striptags|raw }}</title>
  1810.     {% block head_stylesheets %}
  1811.         <link rel=\"stylesheet\" href=\"{{ asset('app.css', ea.assets.defaultAssetPackageName) }}\">
  1812.        
  1813.             {{ encore_entry_link_tags('app') }}
  1814.          
  1815.             
  1816.         
  1817.         {% if is_granted(\"ROLE_CUSTOMER\") %}
  1818.             <link rel=\"stylesheet\" href=\"{{ asset('themes/'~ settings.get.assetFolderName|lower ~ '/admin/admin-customer.css') }}\">
  1819.         {% else %}
  1820.             <link rel=\"stylesheet\" href=\"{{ asset('themes/'~ settings.get.assetFolderName|lower ~ '/admin/admin.css') }}\">
  1821.         {% endif %}
  1822.    
  1823.     {% endblock %}
  1824.     {% block configured_stylesheets %}
  1825.         {{ include('@EasyAdmin/includes/_css_assets.html.twig', { assets: ea.assets.cssAssets ?? [] }, with_context = false) }}
  1826.         {{ include('@EasyAdmin/includes/_encore_link_tags.html.twig', { assets: ea.assets.webpackEncoreAssets ?? [] }, with_context = false) }}
  1827.     {% endblock %}
  1828.     {% block head_favicon %}
  1829.         <link rel=\"shortcut icon\" href=\"{{ asset(ea.dashboardFaviconPath) }}\">
  1830.     {% endblock %}
  1831.     {% block head_javascript %}
  1832.     
  1833.         
  1834.         {{ encore_entry_script_tags('app') }}
  1835.   
  1836.     {% endblock head_javascript %}
  1837.     
  1838.     {% if 'rtl' == ea.i18n.textDirection %}
  1839.         <link rel=\"stylesheet\" href=\"{{ asset('app.rtl.css', ea.assets.defaultAssetPackageName) }}\">
  1840.     {% endif %}
  1841.     {% block configured_head_contents %}
  1842.         {% for htmlContent in ea.assets.headContents ?? [] %}
  1843.             {{ htmlContent|raw }}
  1844.         {% endfor %}
  1845.     {% endblock %}
  1846. </head>
  1847. {% block body %}
  1848.     <body {% block body_attr %}{% endblock %}
  1849.         id=\"{% block body_id %}{% endblock %}\"
  1850.         class=\"ea {% block body_class %}{% endblock %} \"
  1851.         data-ea-content-width=\"{{ ea.crud.contentWidth ?? ea.dashboardContentWidth ?? 'normal' }}\"
  1852.         data-ea-sidebar-width=\"{{ ea.crud.sidebarWidth ?? ea.dashboardSidebarWidth ?? 'normal' }}\"
  1853.         data-ea-dark-scheme-is-enabled=\"{{ ea.dashboardHasDarkModeEnabled ? 'true' : 'false' }}\"
  1854.     >
  1855.     {% block wrapper_wrapper %}
  1856.         {% block flash_messages %}
  1857.             {{ include(ea.templatePath('flash_messages')) }}
  1858.         {% endblock flash_messages %}
  1859.         {% set user_menu_avatar %}
  1860.             {% if null == ea.userMenu.avatarUrl %}
  1861.                 <span class=\"user-avatar\">
  1862.                     <span class=\"fa-stack\">
  1863.                         <i class=\"user-avatar-icon-background fas fa-square fa-stack-2x\"></i>
  1864.                         <i class=\"user-avatar-icon-foreground {{ ea.user is not null ? 'fa fa-user' : 'fas fa-user-slash' }} fa-stack-1x fa-inverse\"></i>
  1865.                     </span>
  1866.                 </span>
  1867.             {% else %}
  1868.                 <img class=\"user-avatar\" src=\"{{ ea.userMenu.avatarUrl }}\" />
  1869.             {% endif %}
  1870.         {% endset %}
  1871.         {% set impersonator_permission = constant('Symfony\\\\Component\\\\Security\\\\Core\\\\Authorization\\\\Voter\\\\AuthenticatedVoter::IS_IMPERSONATOR') is defined ? 'IS_IMPERSONATOR' : 'ROLE_PREVIOUS_ADMIN' %}
  1872.         {% set user_menu_dropdown %}
  1873.             <ul class=\"dropdown-menu dropdown-menu-end\">
  1874.                 <li class=\"dropdown-user-details\">
  1875.                     <div>{{ user_menu_avatar }}</div>
  1876.                     <div>
  1877.                         <span class=\"user-label\">{{ 'user.logged_in_as'|trans(domain = 'EasyAdminBundle') }}</span>
  1878.                         <span class=\"user-name\">{{ ea.user is null ? 'user.anonymous'|trans(domain = 'EasyAdminBundle') : ea.userMenu.name }}</span>
  1879.                     </div>
  1880.                 </li>
  1881.                 {% block user_menu %}
  1882.                     {% if ea.userMenu.items|length > 0 %}
  1883.                         <li><hr class=\"dropdown-divider\"></li>
  1884.                         {% for item in ea.userMenu.items %}
  1885.                             <li>
  1886.                                 {% if item.isMenuSection and not loop.first %}
  1887.                                     <hr class=\"dropdown-divider\">
  1888.                                 {% elseif not item.isMenuSection %}
  1889.                                     <a href=\"{{ item.linkUrl }}\" class=\"dropdown-item user-action {{ item.cssClass }}\"
  1890.                                        target=\"{{ item.linkTarget }}\" rel=\"{{ item.linkRel }}\"
  1891.                                        referrerpolicy=\"origin-when-cross-origin\">
  1892.                                         {% if item.icon is not empty %}<i class=\"fa fa-fw {{ item.icon }}\"></i>{% endif %}
  1893.                                         <span>{{ item.label|trans }}</span>
  1894.                                     </a>
  1895.                                 {% endif %}
  1896.                             </li>
  1897.                         {% endfor %}
  1898.                     {% endif %}
  1899.                 {% endblock user_menu %}
  1900.             </ul>
  1901.         {% endset %}
  1902.         {% set settings_dropdown %}
  1903.             {% if ea.dashboardLocales or ea.dashboardHasDarkModeEnabled %}
  1904.                 <div class=\"dropdown dropdown-settings\">
  1905.                     <a class=\"dropdown-settings-button\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">
  1906.                         <i class=\"fas fa-gear\"></i>
  1907.                     </a>
  1908.                     <ul class=\"dropdown-menu dropdown-menu-end\">
  1909.                         {% if ea.dashboardLocales %}
  1910.                             <li>
  1911.                                 <span class=\"dropdown-header dropdown-locales-label\">{{ 'settings.locale'|trans(domain = 'EasyAdminBundle') }}</span>
  1912.                             </li>
  1913.                             {% for localeDto in ea.dashboardLocales %}
  1914.                                 <li>
  1915.                                     <a href=\"{{ ea_url().set('_locale', localeDto.locale) }}\" class=\"dropdown-item{% if app.request.locale == localeDto.locale %} active{% endif %}\">
  1916.                                         {% if localeDto.icon %}
  1917.                                             <i class=\"{{ localeDto.icon }}\"></i>
  1918.                                         {% endif %}
  1919.                                         {{ localeDto.name }}
  1920.                                     </a>
  1921.                                 </li>
  1922.                             {% endfor %}
  1923.                         {% endif %}
  1924.                         {% if ea.dashboardHasDarkModeEnabled %}
  1925.                             {% if ea.dashboardLocales %}
  1926.                                 <div class=\"dropdown-divider\"></div>
  1927.                             {% endif %}
  1928.                             <li>
  1929.                                 <span class=\"dropdown-header dropdown-appearance-label\">{{ 'settings.appearance.label'|trans(domain = 'EasyAdminBundle') }}</span>
  1930.                             </li>
  1931.                             <li>
  1932.                                 <a href=\"#\" class=\"dropdown-item dropdown-appearance-item\" data-ea-color-scheme=\"light\">
  1933.                                     <i class=\"far fa-sun\"></i> <span>{{ 'settings.appearance.light'|trans(domain = 'EasyAdminBundle') }}</span>
  1934.                                 </a>
  1935.                             </li>
  1936.                             <li>
  1937.                                 <a href=\"#\" class=\"dropdown-item dropdown-appearance-item\" data-ea-color-scheme=\"dark\">
  1938.                                     <i class=\"far fa-moon\"></i> <span>{{ 'settings.appearance.dark'|trans(domain = 'EasyAdminBundle') }}</span>
  1939.                                 </a>
  1940.                             </li>
  1941.                             <li>
  1942.                                 <a href=\"#\" class=\"dropdown-item dropdown-appearance-item active\" data-ea-color-scheme=\"auto\">
  1943.                                     <i class=\"fas fa-desktop\"></i> <span>{{ 'settings.appearance.auto'|trans(domain = 'EasyAdminBundle') }}</span>
  1944.                                 </a>
  1945.                             </li>
  1946.                         {% endif %}
  1947.                     </ul>
  1948.                 </div>
  1949.             {% endif %}
  1950.         {% endset %}
  1951.         <div class=\"wrapper\">
  1952.             {% block wrapper %}
  1953.                 <div class=\"responsive-header\">
  1954.                     {% block responsive_header %}
  1955.                         <button id=\"navigation-toggler\" type=\"button\" aria-label=\"Toggle navigation\">
  1956.                             <i class=\"fa fa-fw fa-bars\"></i>
  1957.                         </button>
  1958.                         <div id=\"responsive-header-logo\" class=\"text-truncate ms-auto\">
  1959.                             {% block responsive_header_logo %}
  1960.                                 <a class=\"responsive-logo\" title=\"{{ ea.dashboardTitle|striptags }}\" href=\"{{ path(ea.dashboardRouteName) }}\">
  1961.                                     {{ ea.dashboardTitle|raw }}
  1962.                                 </a>
  1963.                             {% endblock responsive_header_logo %}
  1964.                         </div>
  1965.                         <div class=\"dropdown user-menu-wrapper {{ is_granted(impersonator_permission) ? 'user-is-impersonated' }} ms-auto\">
  1966.                             <a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">
  1967.                                 {# to make the site design consistent, always display the user avatar in responsive header
  1968.                                    and hide the user name (because there's no space left) regardless of the user config #}
  1969.                                 {% if ea.userMenu.avatarDisplayed %}
  1970.                                     {{ user_menu_avatar }}
  1971.                                 {% else %}
  1972.                                     <i class=\"user-avatar fa fa-fw {{ ea.user is not null ? 'fa-user' : 'fa-user-times' }}\"></i>
  1973.                                 {% endif %}
  1974.                             </a>
  1975.                             {{ user_menu_dropdown }}
  1976.                         </div>
  1977.                         {{ settings_dropdown }}
  1978.                     {% endblock responsive_header %}
  1979.                 </div>
  1980.                 <div class=\"sidebar-wrapper\"  >
  1981.                     <aside class=\"sidebar\" >
  1982.                         {% block sidebar %}
  1983.                             <header class=\"main-header\" >
  1984.                                 {% block header %}
  1985.                                 <nav class=\"navbar\" role=\"navigation\" >
  1986.                                     {% block header_navbar %}
  1987.                                         <div id=\"header-logo\">
  1988.                                             {% block header_logo %}
  1989.                                                 <a class=\"logo\" title=\"{{ ea.dashboardTitle|striptags }}\" href=\"{{ path(ea.dashboardRouteName) }}\">
  1990.                                                     <span class=\"logo-custom\">{{ ea.dashboardTitle|raw }}</span>
  1991.                                                     <span class=\"logo-compact\"><i class=\"fas fa-home\"></i></span>
  1992.                                                 </a>
  1993.                                             {% endblock header_logo %}
  1994.                                         </div>
  1995.                                     {% endblock header_navbar %}
  1996.                                 </nav>
  1997.                                 {% endblock header %}
  1998.                             </header>
  1999.                             {% block main_menu_wrapper %}
  2000.                                 {{ include(ea.templatePath('main_menu')) }}
  2001.                             {% endblock main_menu_wrapper %}
  2002.                         {% endblock sidebar %}
  2003.                         <div id=\"sidebar-resizer-handler\" class=\"resizer-handler resizer-handler-left\"></div>
  2004.                     </aside>
  2005.                 </div>
  2006.                 <section class=\"main-content\" >
  2007.                     {% set has_search = ea.crud is not null and ea.crud.isSearchEnabled %}
  2008.                     <aside class=\"content-top {{ has_search ? 'ea-search-enabled' : 'ea-search-disabled' }}\">
  2009.                         {% block content_top_header %}
  2010.                             <div class=\"content-search\">
  2011.                                 {% if has_search %}
  2012.                                     {% block search %}
  2013.                                         <form   class=\"form-action-search\" method=\"get\">
  2014.                                             {% block search_form %}
  2015.                                                 {% block search_form_filters %}
  2016.                                                     {% for field, array in ea.search.appliedFilters %}
  2017.                                                         {% for key, value in array %}
  2018.                                                             {# This code re-applies your filters on searches, an iterable check is needed in cases we have more than one object for a filter #}
  2019.                                                             {% if value is iterable %}
  2020.                                                                 {% for index, iterValue in value %}
  2021.                                                                     {# This sub-level iterable check is needed in cases we have more complex filters like the DateTimeFilter cf. issue #5038 #}
  2022.                                                                     {% if iterValue is iterable %}
  2023.                                                                         {% for subIndex, subIterValue in iterValue %}
  2024.                                                                             <input type=\"hidden\" name=\"filters[{{ field }}][{{ key }}][{{ index }}][{{ subIndex }}]\" value=\"{{ subIterValue }}\">
  2025.                                                                         {% endfor %}
  2026.                                                                     {% else %}
  2027.                                                                         <input type=\"hidden\" name=\"filters[{{ field }}][{{ key }}][{{ index }}]\" value=\"{{ iterValue }}\">
  2028.                                                                     {% endif %}
  2029.                                                                 {% endfor %}
  2030.                                                             {% else %}
  2031.                                                                 <input type=\"hidden\" name=\"filters[{{ field }}][{{ key }}]\" value=\"{{ value }}\">
  2032.                                                             {% endif %}
  2033.                                                         {% endfor %}
  2034.                                                     {% endfor %}
  2035.                                                 {% endblock %}
  2036.                                                 <input type=\"hidden\" name=\"crudAction\" value=\"index\">
  2037.                                                 <input type=\"hidden\" name=\"crudControllerFqcn\" value=\"{{ ea.request.query.get('crudControllerFqcn') }}\">
  2038.                                                 <input type=\"hidden\" name=\"menuIndex\" value=\"{{ ea.request.query.get('menuIndex') }}\">
  2039.                                                 <input type=\"hidden\" name=\"submenuIndex\" value=\"{{ ea.request.query.get('submenuIndex') }}\">
  2040.                                                 <input type=\"hidden\" name=\"page\" value=\"1\">
  2041.                                                 <div class=\"form-group\">
  2042.                                                     <div class=\"form-widget\">
  2043.                                                         <i class=\"fas fa-search content-search-icon\"></i>
  2044.                                                         <label class=\"content-search-label\" data-value=\"{{ app.request.get('query') }}\">
  2045.                                                             <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 %}>
  2046.                                                         </label>
  2047.                                                         {% if app.request.get('query') %}
  2048.                                                             <a href=\"{{ ea_url().unset('query') }}\" class=\"content-search-reset\">
  2049.                                                                 <i class=\"fas fa-fw fa-times\"></i>
  2050.                                                             </a>
  2051.                                                         {% endif %}
  2052.                                                     </div>
  2053.                                                 </div>
  2054.                                             {% endblock %}
  2055.                                         </form>
  2056.                                     {% endblock search %}
  2057.                                 {% endif %}
  2058.                             </div>
  2059.                             {% if is_granted(\"ROLE_AGENT\") %}
  2060.                             <div class=\"navbar-custom-menu p-1\" >
  2061.                                    
  2062.                                     {% set urlSessionHistory = ea_url().setRoute(\"toggleSession\") %}
  2063.                                     {% if settings.session %}
  2064.                                         {% if settings.session.endAt != null %}
  2065.                                             <a href=\"{{urlSessionHistory}}\" class=\"btn bg-green-dark text-white\">
  2066.                                             <i class=\"fa-solid fa-power-off\"></i>
  2067.                                                 Commencer ma session
  2068.                                             </a>
  2069.                                         {% else %}
  2070.                                             <a href=\"{{urlSessionHistory}}\" class=\"btn bg-pink-dark text-white\">
  2071.                                             <i class=\"fa-solid fa-power-off\"></i>
  2072.                                                 Fermer ma session <small style=\"font-size:9px;\">(Commencé á {{settings.session.startAt|date(\"H:i:s\")}})</small>
  2073.                                             </a>
  2074.                                         {% endif %}
  2075.                                     
  2076.                                     {% else %}
  2077.                                     <a href=\"{{urlSessionHistory}}\" class=\"btn bg-green-dark text-white\">
  2078.                                             <i class=\"fa-solid fa-power-off\"></i>
  2079.                                                 Commencer ma session
  2080.                                             </a>
  2081.                                     {% endif %}
  2082.                                     
  2083.                                     </a>
  2084.                                 
  2085.                             </div>
  2086.                             {% endif %}
  2087.                             <div class=\"navbar-custom-menu p-1\" style=\"position:relative;\">
  2088.                                     <div style=\"position:absolute;bottom:0;left:18px;z-index:9;opacity:0.8;\">
  2089.                                         <span class=\"badge badge-primary\" >1</span>
  2090.                                     </div>
  2091.                                     
  2092.                                   <small style=\"color: rgb(78, 48, 158);\">La durée de la session restante : </small><span class=\"session-badge\">0h 0m 0s</span>
  2093.                                 
  2094.                                     <div class=\"dropdown user-menu-wrapper {{ is_granted(impersonator_permission) ? 'user-is-impersonated' }}\">
  2095.                                         <a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">
  2096.                                           <span class=\"user-avatar\">
  2097.                                                 <span class=\"fa-stack\">
  2098.                                                     <i class=\"user-avatar-icon-background fas fa-square fa-stack-2x\"></i>
  2099.                                                     <i class=\"user-avatar-icon-foreground fa fa-bell fa-stack-1x fa-inverse\"></i>
  2100.                                                 </span>
  2101.                                             </span>
  2102.                                             
  2103.                                                 <span class=\"user-name\">Notifications</span>
  2104.                                             
  2105.                                         </a>
  2106.                                         <ul class=\"dropdown-menu dropdown-menu-end\">
  2107.                                                     <li class=\"dropdown-user-details\">
  2108.                                                         Nouveau adhérent : Ayman Bantala
  2109.                                                     </li>
  2110.                                                             
  2111.                                         </ul>
  2112.                                     </div>
  2113.                                 
  2114.                             </div>
  2115.                             <div class=\"navbar-custom-menu\">
  2116.                             
  2117.                                 {% block header_custom_menu %}
  2118.                                     <div class=\"dropdown user-menu-wrapper {{ is_granted(impersonator_permission) ? 'user-is-impersonated' }}\">
  2119.                                         <a class=\"user-details\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-offset=\"0,5\" aria-expanded=\"false\">
  2120.                                             {{ user_menu_avatar }}
  2121.                                             {% if ea.userMenu.isNameDisplayed %}
  2122.                                                 <span class=\"user-name\">{{ ea.userMenu.name }}</span>
  2123.                                             {% endif %}
  2124.                                         </a>
  2125.                                         {{ user_menu_dropdown }}
  2126.                                     </div>
  2127.                                 {% endblock header_custom_menu %}
  2128.                             </div>
  2129.                             {{ settings_dropdown }}
  2130.                         {% endblock content_top_header %}
  2131.                     </aside>
  2132.                     <div class=\"content-wrapper \">
  2133.                         {% block content %}
  2134.                             <article class=\"content\">
  2135.                                 {% block content_header_wrapper %}
  2136.                                     {% set has_help_message = (ea.crud.helpMessage ?? '') is not empty %}
  2137.                                     <section class=\"content-header\">
  2138.                                         {% block content_header %}
  2139.                                             <div class=\"content-header-title\">
  2140.                                                 <h1 class=\"title\">
  2141.                                                     {% block content_title %}{% endblock %}
  2142.                                                     {% block content_help %}
  2143.                                                         {% if has_help_message %}
  2144.                                                             <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') }}\">
  2145.                                                                 <i class=\"far fa-question-circle\"></i>
  2146.                                                             </a>
  2147.                                                         {% endif %}
  2148.                                                     {% endblock %}
  2149.                                                 </h1>
  2150.                                             </div>
  2151.                                             {% block page_actions_wrapper %}
  2152.                                                 <div class=\"page-actions\">{% block page_actions %}{% endblock %}</div>
  2153.                                             {% endblock %}
  2154.                                         {% endblock content_header %}
  2155.                                     </section>
  2156.                                 {% endblock content_header_wrapper %}
  2157.                                 <section id=\"main\" class=\"content-body  animate__animated animate__fadeIn\">
  2158.                                     {% block main %}{% endblock %}
  2159.                                 </section>
  2160.                                 {% block content_footer_wrapper %}
  2161.                                     {% set content_footer = block('content_footer') is defined ? block('content_footer') : '' %}
  2162.                                     {% if content_footer is not empty %}
  2163.                                         <section class=\"content-footer\">
  2164.                                             {{ content_footer }}
  2165.                                         </section>
  2166.                                     {% endif %}
  2167.                                 {% endblock %}
  2168.                             </article>
  2169.                         {% endblock content %}
  2170.                         <div id=\"content-resizer-handler\" class=\"resizer-handler resizer-handler-right\"></div>
  2171.                     </div>
  2172.                 </section>
  2173.             {% endblock wrapper %}
  2174.         </div>
  2175.     {% endblock wrapper_wrapper %}
  2176.     {% block body_javascript %}
  2177.     
  2178.     
  2179.         <script>
  2180.             var notificationSound = new Audio('flexy/sounds/notification_sound.mp3');
  2181.             document.addEventListener(\"turbo:load\",function(){
  2182.             
  2183.             
  2184.             
  2185.             {% if settings.get.isMercureEnabled %}
  2186.             
  2187.             const eventSource = new EventSource(\"{{ mercure('https://hello.com/books/1')|escape('js') }}\");
  2188.             eventSource.onmessage = event => {
  2189.                 // Will be called every time an update is published by the server
  2190.                 var data = JSON.parse(event.data);
  2191.                 if(data.status == \"success\"){
  2192.                     if(data.entity == \"VisitCustomer\"){
  2193.                         //notificationSound.loop = true;
  2194.                         notificationSound.play();
  2195.                         
  2196.                         const flashMessages = document.getElementById('flash-messages');
  2197.                         
  2198.                         /*\$(\"#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>');*/
  2199.                        
  2200.                         {% set urlOrders = ea_url()
  2201.                                 .setController('App\\\\Flexy\\\\POSBundle\\\\Controller\\\\OrderCrudController')
  2202.                                 .setAction('index') %}
  2203.                         Turbo.visit(\"{{urlOrders|escape('js')}}\");
  2204.                     }
  2205.                 if(data.status == \"success\"){
  2206.                     if(data.entity == \"Order\"){
  2207.                         //notificationSound.loop = true;
  2208.                         notificationSound.play();
  2209.                         
  2210.                         const flashMessages = document.getElementById('flash-messages');
  2211.                         
  2212.                         /*\$(\"#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>');*/
  2213.                        
  2214.                         {% set urlOrders = ea_url()
  2215.                                 .setController('App\\\\Flexy\\\\POSBundle\\\\Controller\\\\OrderCrudController')
  2216.                                 .setAction('index') %}
  2217.                         Turbo.visit(\"{{urlOrders|escape('js')}}\");
  2218.                     }
  2219.                     //alert(data.status);
  2220.                     
  2221.                 }
  2222.                 console.log(JSON.parse(event.data));
  2223.                 
  2224.             }
  2225.             {% endif %}
  2226.             });
  2227.             document.addEventListener(\"turbo:click\",function(){
  2228.                 
  2229.                 notificationSound.pause();
  2230.                 notificationSound.currentTime = 0;
  2231.             });
  2232.             </script>
  2233.         
  2234.     {% endblock body_javascript %}
  2235.     {% block configured_body_contents %}
  2236.         {% for htmlContent in ea.assets.bodyContents ?? [] %}
  2237.             {{ htmlContent|raw }}
  2238.         {% endfor %}
  2239.     {% endblock %}
  2240.     </body>
  2241. {% endblock body %}
  2242. </html>
  2243. ""@EasyAdmin/layout.html.twig""/home/lasalleerp/public_html/templates/bundles/EasyAdminBundle/layout.html.twig");
  2244.     }
  2245. }