var/cache/dev/twig/40/404f07e2f5cf28b242e221cc689b1cd3.php line 43

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* dashboard/layout.html.twig */
  16. class __TwigTemplate_0764dc00eb1cb1b7627ae3b2e9b01e07 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.             'title' => [$this'block_title'],
  30.             'stylesheets' => [$this'block_stylesheets'],
  31.             'head' => [$this'block_head'],
  32.             'body' => [$this'block_body'],
  33.             'javascripts' => [$this'block_javascripts'],
  34.         ];
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = []): iterable
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""dashboard/layout.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""dashboard/layout.html.twig"));
  43.         // line 1
  44.         yield "<!DOCTYPE html>
  45. <html lang=\"fr-FR\">
  46. <head>
  47.     ";
  48.         // line 4
  49.         if ((array_key_exists("site_mode"$context) && ((isset($context["site_mode"]) || array_key_exists("site_mode"$context) ? $context["site_mode"] : (function () { throw new RuntimeError('Variable "site_mode" does not exist.'4$this->source); })()) == "prod"))) {
  50.             // line 5
  51.             yield "        <!-- Matomo Tag Manager -->
  52.         <script>
  53.             var _mtm = window._mtm = window._mtm || [];
  54.             _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
  55.             var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  56.             g.async=true; g.src='https://cdn.matomo.cloud/lesbonsprofs.matomo.cloud/container_mCYLJzEF.js'; s.parentNode.insertBefore(g,s);
  57.         </script>
  58.         <!-- End Matomo Tag Manager -->
  59.         <!-- Google tag (gtag.js) -->
  60.         <!-- Google Tag Manager -->
  61.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  62.                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  63.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  64.                 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  65.             })(window,document,'script','dataLayer','GTM-P6WW2D7');</script>
  66.         <!-- End Google Tag Manager -->
  67.         <!-- End Google Tag Manager -->
  68.     ";
  69.         }
  70.         // line 24
  71.         yield "    <meta charset=\"UTF-8\">
  72.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  73.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/commun/favicon/apple-touch-icon.png\">
  74.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/commun/favicon/favicon-32x32.png\">
  75.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/commun/favicon/favicon-16x16.png\">
  76.     <link rel=\"manifest\" href=\"/static/img/commun/favicon/site.webmanifest\">
  77.     <link rel=\"mask-icon\" href=\"/static/img/commun/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  78.     <meta name=\"msapplication-TileColor\" content=\"#ffffff\">
  79.     <meta name=\"theme-color\" content=\"#ffffff\">
  80.     <title>";
  81.         // line 33
  82.         yield from $this->unwrap()->yieldBlock('title'$context$blocks);
  83.         yield "</title>
  84.     ";
  85.         // line 36
  86.         yield "    ";
  87.         yield from $this->unwrap()->yieldBlock('stylesheets'$context$blocks);
  88.         // line 39
  89.         yield "    ";
  90.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("dashboard");
  91.         yield "
  92. ";
  93.         // line 40
  94.         yield from $this->unwrap()->yieldBlock('head'$context$blocks);
  95.         // line 42
  96.         yield "</head>
  97. <body>
  98. ";
  99.         // line 44
  100.         if ((array_key_exists("site_mode"$context) && ((isset($context["site_mode"]) || array_key_exists("site_mode"$context) ? $context["site_mode"] : (function () { throw new RuntimeError('Variable "site_mode" does not exist.'44$this->source); })()) == "prod"))) {
  101.             // line 45
  102.             yield "    <!-- Google Tag Manager (noscript) -->
  103.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-P6WW2D7\"
  104.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  105.     <!-- End Google Tag Manager (noscript) -->
  106. ";
  107.         }
  108.         // line 50
  109.         yield from $this->unwrap()->yieldBlock('body'$context$blocks);
  110.         // line 51
  111.         yield from $this->unwrap()->yieldBlock('javascripts'$context$blocks);
  112.         // line 53
  113.         yield "</body>
  114. </html>
  115. ";
  116.         
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  118.         
  119.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  120.         yield from [];
  121.     }
  122.     // line 33
  123.     /**
  124.      * @return iterable<null|scalar|\Stringable>
  125.      */
  126.     public function block_title(array $context, array $blocks = []): iterable
  127.     {
  128.         $macros $this->macros;
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  132.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  133.         yield "Welcome!";
  134.         
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  136.         
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  138.         yield from [];
  139.     }
  140.     // line 36
  141.     /**
  142.      * @return iterable<null|scalar|\Stringable>
  143.      */
  144.     public function block_stylesheets(array $context, array $blocks = []): iterable
  145.     {
  146.         $macros $this->macros;
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  148.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  151.         // line 37
  152.         yield "        ";
  153.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("dashboard");
  154.         yield "
  155.     ";
  156.         
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  158.         
  159.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  160.         yield from [];
  161.     }
  162.     // line 40
  163.     /**
  164.      * @return iterable<null|scalar|\Stringable>
  165.      */
  166.     public function block_head(array $context, array $blocks = []): iterable
  167.     {
  168.         $macros $this->macros;
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  171.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  172.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  173.         // line 41
  174.         yield "    ";
  175.         
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  177.         
  178.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  179.         yield from [];
  180.     }
  181.     // line 50
  182.     /**
  183.      * @return iterable<null|scalar|\Stringable>
  184.      */
  185.     public function block_body(array $context, array $blocks = []): iterable
  186.     {
  187.         $macros $this->macros;
  188.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  189.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  190.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  191.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  192.         
  193.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  194.         
  195.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  196.         yield from [];
  197.     }
  198.     // line 51
  199.     /**
  200.      * @return iterable<null|scalar|\Stringable>
  201.      */
  202.     public function block_javascripts(array $context, array $blocks = []): iterable
  203.     {
  204.         $macros $this->macros;
  205.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  206.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  207.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  208.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  209.         
  210.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  211.         
  212.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  213.         yield from [];
  214.     }
  215.     /**
  216.      * @codeCoverageIgnore
  217.      */
  218.     public function getTemplateName(): string
  219.     {
  220.         return "dashboard/layout.html.twig";
  221.     }
  222.     /**
  223.      * @codeCoverageIgnore
  224.      */
  225.     public function isTraitable(): bool
  226.     {
  227.         return false;
  228.     }
  229.     /**
  230.      * @codeCoverageIgnore
  231.      */
  232.     public function getDebugInfo(): array
  233.     {
  234.         return array (  232 => 51,  210 => 50,  199 => 41,  186 => 40,  172 => 37,  159 => 36,  136 => 33,  123 => 53,  121 => 51,  119 => 50,  112 => 45,  110 => 44,  106 => 42,  104 => 40,  99 => 39,  96 => 36,  92 => 33,  81 => 24,  60 => 5,  58 => 4,  53 => 1,);
  235.     }
  236.     public function getSourceContext(): Source
  237.     {
  238.         return new Source("<!DOCTYPE html>
  239. <html lang=\"fr-FR\">
  240. <head>
  241.     {% if site_mode is defined and site_mode == 'prod' %}
  242.         <!-- Matomo Tag Manager -->
  243.         <script>
  244.             var _mtm = window._mtm = window._mtm || [];
  245.             _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
  246.             var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  247.             g.async=true; g.src='https://cdn.matomo.cloud/lesbonsprofs.matomo.cloud/container_mCYLJzEF.js'; s.parentNode.insertBefore(g,s);
  248.         </script>
  249.         <!-- End Matomo Tag Manager -->
  250.         <!-- Google tag (gtag.js) -->
  251.         <!-- Google Tag Manager -->
  252.         <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  253.                     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  254.                 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  255.                 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  256.             })(window,document,'script','dataLayer','GTM-P6WW2D7');</script>
  257.         <!-- End Google Tag Manager -->
  258.         <!-- End Google Tag Manager -->
  259.     {% endif %}
  260.     <meta charset=\"UTF-8\">
  261.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  262.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/commun/favicon/apple-touch-icon.png\">
  263.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/commun/favicon/favicon-32x32.png\">
  264.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/commun/favicon/favicon-16x16.png\">
  265.     <link rel=\"manifest\" href=\"/static/img/commun/favicon/site.webmanifest\">
  266.     <link rel=\"mask-icon\" href=\"/static/img/commun/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  267.     <meta name=\"msapplication-TileColor\" content=\"#ffffff\">
  268.     <meta name=\"theme-color\" content=\"#ffffff\">
  269.     <title>{% block title %}Welcome!{% endblock %}</title>
  270.     {# Run `composer require symfony/webpack-encore-bundle`
  271.            and uncomment the following Encore helpers to start using Symfony UX #}
  272.     {% block stylesheets %}
  273.         {{ encore_entry_link_tags('dashboard') }}
  274.     {% endblock %}
  275.     {{ encore_entry_script_tags('dashboard') }}
  276. {% block head %}
  277.     {% endblock %}
  278. </head>
  279. <body>
  280. {% if site_mode is defined and site_mode == 'prod' %}
  281.     <!-- Google Tag Manager (noscript) -->
  282.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-P6WW2D7\"
  283.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  284.     <!-- End Google Tag Manager (noscript) -->
  285. {% endif %}
  286. {% block body %}{% endblock %}
  287. {% block javascripts %}
  288. {% endblock %}
  289. </body>
  290. </html>
  291. ""dashboard/layout.html.twig""/var/www/dashboard/templates/dashboard/layout.html.twig");
  292.     }
  293. }