var/cache/dev/twig/6e/6e471bfe7c3d757a9527f2da6f98c436a994121adf5ac0afd78d5430f3341c1a.php line 52

Open in your IDE?
  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. /* base.html.twig */
  14. class __TwigTemplate_342018957cfcca7f023e28788a7eff663c0824a0c4f505cb11cfab5985b304ec 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.             'html_lang' => [$this, 'block_html_lang'],
  25.             'metaTags' => [$this, 'block_metaTags'],
  26.             'stylesheets' => [$this, 'block_stylesheets'],
  27.             'body_tag' => [$this, 'block_body_tag'],
  28.             'flash' => [$this, 'block_flash'],
  29.             'navbar' => [$this, 'block_navbar'],
  30.             'body' => [$this, 'block_body'],
  31.             'footer' => [$this, 'block_footer'],
  32.             'javascripts' => [$this, 'block_javascripts'],
  33.         ];
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros = $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
  42.         // line 1
  43.         $context["page"] = $this->extensions['App\Service\AppService']->getPage(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "attributes", [], "any", false, false, false, 1), "get", [0 => "_controller"], "method", false, false, false, 1));
  44.         // line 2
  45.         echo "<!DOCTYPE html>
  46. <html lang=\"";
  47.         // line 3
  48.         $this->displayBlock('html_lang', $context, $blocks);
  49.         echo "\">
  50.     <head>
  51.         <!-- Google Tag Manager -->
  52.         <script>
  53.             (function (w, d, s, l, i) {
  54.                 w[l] = w[l] || [];
  55.                 w[l].push({
  56.                     'gtm.start':
  57.                             new Date().getTime(), event: 'gtm.js'
  58.                 });
  59.                 var f = d.getElementsByTagName(s)[0],
  60.                         j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';
  61.                 j.async = true;
  62.                 j.src =
  63.                         'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
  64.                 f.parentNode.insertBefore(j, f);
  65.             })(window, document, 'script', 'dataLayer', 'GTM-TVSNTXH');
  66.         </script>
  67.         <!-- End Google Tag Manager -->
  68.         <meta charset=\"UTF-8\">
  69.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0,minimum-scale=1\">
  70.         <link rel=\"icon\"
  71.               href=\"";
  72.         // line 26
  73.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favicon.png"), "html", null, true);
  74.         echo "\">
  75.         ";
  76.         // line 27
  77.         $this->displayBlock('metaTags', $context, $blocks);
  78.         // line 33
  79.         echo "        <meta name=\"theme-color\" content=\"#95D3EC\">
  80.         ";
  81.         // line 34
  82.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("app");
  83.         echo "
  84.         ";
  85.         // line 35
  86.         $this->displayBlock('stylesheets', $context, $blocks);
  87.         // line 37
  88.         echo "        <link rel=\"stylesheet\" href=\"";
  89.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/openlayers/ol.css"), "html", null, true);
  90.         echo "\">
  91.         <script type=\"text/javascript\" src=\"";
  92.         // line 38
  93.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/openlayers/ol.js"), "html", null, true);
  94.         echo "\"></script>
  95.         <link rel=\"stylesheet\" href=\"";
  96.         // line 39
  97.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/aos/aos.css"), "html", null, true);
  98.         echo "\">
  99.         ";
  100.         // line 41
  101.         echo "        ";
  102.         // line 42
  103.         echo "        ";
  104.         // line 43
  105.         echo "        ";
  106.         // line 44
  107.         echo "
  108.         ";
  109.         // line 46
  110.         echo "        ";
  111.         // line 47
  112.         echo "        ";
  113.         // line 48
  114.         echo "
  115.         ";
  116.         // line 50
  117.         echo "
  118.         ";
  119.         // line 52
  120.         echo "        ";
  121.         // line 53
  122.         echo "    </head>
  123.     <body data-navbar-search-url=\"";
  124.         // line 54
  125.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_navbar_search");
  126.         echo "\" ";
  127.         $this->displayBlock('body_tag', $context, $blocks);
  128.         echo ">
  129.         <!-- Google Tag Manager (noscript) -->
  130.         <noscript>
  131.         <iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TVSNTXH\"
  132.                 height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  133.         </noscript>
  134.         <!-- End Google Tag Manager (noscript) -->
  135.         <div class=\"wrapper\">
  136.             <div class=\"background-burger position-fixed t-0 b-0 z-0 zi-9\"></div>
  137.             ";
  138.         // line 65
  139.         $this->displayBlock('flash', $context, $blocks);
  140.         // line 93
  141.         echo "            ";
  142.         $this->displayBlock('navbar', $context, $blocks);
  143.         // line 178
  144.         echo "
  145.         ";
  146.         // line 179
  147.         $this->displayBlock('body', $context, $blocks);
  148.         // line 180
  149.         echo "        ";
  150.         $this->displayBlock('footer', $context, $blocks);
  151.         // line 183
  152.         echo "        <div class=\"position-fixed zi-9999 b-20 r-20 scrollToTopDiv wi-50 d-flex align-items-center justify-content-center  bgc-9DC771 c-white br-8\">
  153.             <i class=\"fa fa-arrow-up pointer scrollToTop fw-600 fs-15 wi-50 d-flex align-items-center justify-content-center he-50\"></i>
  154.         </div>
  155.     </div>
  156.     ";
  157.         // line 187
  158.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app");
  159.         echo "
  160.     <script type=\"text/javascript\" src=\"";
  161.         // line 188
  162.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/aos/aos.js"), "html", null, true);
  163.         echo "\"></script>
  164.     <script>
  165.         AOS.init({
  166.             once: true,
  167.         });
  168.     </script>
  169.     <script type=\"text/javascript\" src=\"";
  170.         // line 194
  171.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/libs/cookieconsent/cookie-consent.js"), "html", null, true);
  172.         echo "\"></script>
  173.     <script type=\"text/javascript\">
  174.         document.addEventListener('DOMContentLoaded', function () {
  175.             cookieconsent.run({
  176.                 \"notice_banner_type\": \"simple\",
  177.                 \"consent_type\": \"implied\",
  178.                 \"palette\": \"light\",
  179.                 \"language\": \"";
  180.         // line 201
  181.         echo (((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 201, $this->source); })()), "request", [], "any", false, false, false, 201), "locale", [], "any", false, false, false, 201), "fr"))) ? ("fr") : ("en"));
  182.         echo "\",
  183.                 \"website_name\": \"";
  184.         // line 202
  185.         echo twig_escape_filter($this->env, (isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 202, $this->source); })()), "html", null, true);
  186.         echo "\",
  187.                 \"change_preferences_selector\": \"#changePreferences\"
  188.             });
  189.         });
  190.     </script>
  191.     ";
  192.         // line 208
  193.         echo "    <script src=\"https://www.recaptcha.net/recaptcha/api.js?hl=";
  194.         (((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 208, $this->source); })()), "request", [], "any", false, false, false, 208), "locale", [], "any", false, false, false, 208), "zh"))) ? (print ("zh-CN")) : (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 208, $this->source); })()), "request", [], "any", false, false, false, 208), "locale", [], "any", false, false, false, 208), "html", null, true))));
  195.         echo "\" async defer></script>
  196.     ";
  197.         // line 209
  198.         $this->displayBlock('javascripts', $context, $blocks);
  199.         // line 211
  200.         echo "</body>
  201. </html>
  202. ";
  203.         
  204.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  205.         
  206.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  207.     }
  208.     // line 3
  209.     public function block_html_lang($context, array $blocks = [])
  210.     {
  211.         $macros = $this->macros;
  212.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  213.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "html_lang"));
  214.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  215.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "html_lang"));
  216.         (((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3), "zh"))) ? (print ("zh-CN")) : (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "locale", [], "any", false, false, false, 3), "html", null, true))));
  217.         
  218.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  219.         
  220.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  221.     }
  222.     // line 27
  223.     public function block_metaTags($context, array $blocks = [])
  224.     {
  225.         $macros = $this->macros;
  226.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  227.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaTags"));
  228.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  229.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaTags"));
  230.         // line 28
  231.         echo "            <meta name=\"description\" content=\"";
  232.         echo twig_escape_filter($this->env, (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 28, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 28, $this->source); })()), "metaDescription", [], "any", false, false, false, 28)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 28, $this->source); })()))), "html", null, true);
  233.         echo "\">
  234.             <title>";
  235.         // line 29
  236.         echo twig_escape_filter($this->env, (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 29, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 29, $this->source); })()), "metaTitle", [], "any", false, false, false, 29)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 29, $this->source); })()))), "html", null, true);
  237.         echo "</title>
  238.             <meta property=\"og:title\" content=\"";
  239.         // line 30
  240.         echo twig_escape_filter($this->env, (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 30, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 30, $this->source); })()), "metaTitle", [], "any", false, false, false, 30)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 30, $this->source); })()))), "html", null, true);
  241.         echo "\">
  242.             <meta property=\"og:description\" content=\"";
  243.         // line 31
  244.         echo twig_escape_filter($this->env, (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 31, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 31, $this->source); })()), "metaDescription", [], "any", false, false, false, 31)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 31, $this->source); })()))), "html", null, true);
  245.         echo "\">
  246.         ";
  247.         
  248.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  249.         
  250.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  251.     }
  252.     // line 35
  253.     public function block_stylesheets($context, array $blocks = [])
  254.     {
  255.         $macros = $this->macros;
  256.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  257.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  258.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  259.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  260.         // line 36
  261.         echo "        ";
  262.         
  263.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  264.         
  265.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  266.     }
  267.     // line 54
  268.     public function block_body_tag($context, array $blocks = [])
  269.     {
  270.         $macros = $this->macros;
  271.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  272.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_tag"));
  273.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  274.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_tag"));
  275.         
  276.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  277.         
  278.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  279.     }
  280.     // line 65
  281.     public function block_flash($context, array $blocks = [])
  282.     {
  283.         $macros = $this->macros;
  284.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  285.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "flash"));
  286.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  287.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "flash"));
  288.         // line 66
  289.         echo "                ";
  290.         $context['_parent'] = $context;
  291.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 66, $this->source); })()), "flashes", [], "any", false, false, false, 66));
  292.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  293.             // line 67
  294.             echo "                    ";
  295.             $context['_parent'] = $context;
  296.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  297.             foreach ($context['_seq'] as $context["key"] => $context["message"]) {
  298.                 // line 68
  299.                 echo "                        <div class=\"modal fade mat-200\" id=\"flashMessageModal\" tabindex=\"-1\" role=\"dialog\"
  300.                              aria-labelledby=\"flashMessageModalLabel\" aria-hidden=\"true\">
  301.                             <div class=\"modal-dialog\" role=\"document\">
  302.                                 <div class=\"modal-content\">
  303.                                     <div class=\"modal-body\">
  304.                                         <div class=\"text-right\">
  305.                                             <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  306.                                                 <span aria-hidden=\"true\">&times;</span>
  307.                                             </button>
  308.                                         </div>
  309.                                         <div>
  310.                                             ";
  311.                 // line 79
  312.                 if ((0 === twig_compare($context["label"], "success"))) {
  313.                     // line 80
  314.                     echo "                                                <i class=\"fa fa-check text-success\"></i>
  315.                                             ";
  316.                 } else {
  317.                     // line 82
  318.                     echo "                                                <i class=\"fa fa-warning text-danger\"></i>
  319.                                             ";
  320.                 }
  321.                 // line 84
  322.                 echo "                                            ";
  323.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["message"]), "html", null, true);
  324.                 echo "
  325.                                         </div>
  326.                                     </div>
  327.                                 </div>
  328.                             </div>
  329.                         </div>
  330.                     ";
  331.             }
  332.             $_parent = $context['_parent'];
  333.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['message'], $context['_parent'], $context['loop']);
  334.             $context = array_intersect_key($context, $_parent) + $_parent;
  335.             // line 91
  336.             echo "                ";
  337.         }
  338.         $_parent = $context['_parent'];
  339.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  340.         $context = array_intersect_key($context, $_parent) + $_parent;
  341.         // line 92
  342.         echo "            ";
  343.         
  344.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  345.         
  346.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  347.     }
  348.     // line 93
  349.     public function block_navbar($context, array $blocks = [])
  350.     {
  351.         $macros = $this->macros;
  352.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  353.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  354.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  355.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
  356.         // line 94
  357.         echo "                <header>
  358.                     <div class=\"fixed-top zi-9999 he-47 bgc-95D3EC c-black pay-8 d-flex align-items-center\">
  359.                         <div class=\"container container-top\">
  360.                             <div class=\"d-flex align-items-center justify-content-between fs-14 fw-300\">
  361.                                 <h1 class=\" c-white fs-12 fw-500 col may-0\">
  362.                                     ";
  363.         // line 99
  364.         $context["h1"] = ((array_key_exists("h1", $context)) ? (_twig_default_filter((isset($context["h1"]) || array_key_exists("h1", $context) ? $context["h1"] : (function () { throw new RuntimeError('Variable "h1" does not exist.', 99, $this->source); })()), null)) : (null));
  365.         // line 100
  366.         echo "                                    ";
  367.         echo twig_escape_filter($this->env, (($context["h1"]) ?? ((((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 100, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 100, $this->source); })()), "title", [], "any", false, false, false, 100)) : ((isset($context["siteTitle"]) || array_key_exists("siteTitle", $context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.', 100, $this->source); })()))))), "html", null, true);
  368.         echo "
  369.                                 </h1>
  370.                                 <div class=\"col-auto text-right d-flex\">
  371.                                     <div class=\"d-flex align-items-center languages\">
  372.                                         ";
  373.         // line 104
  374.         if ((1 === twig_compare(twig_length_filter($this->env, (isset($context["managedLocales"]) || array_key_exists("managedLocales", $context) ? $context["managedLocales"] : (function () { throw new RuntimeError('Variable "managedLocales" does not exist.', 104, $this->source); })())), 1))) {
  375.             // line 105
  376.             echo "                                            ";
  377.             // line 106
  378.             echo "                                            ";
  379.             $context["localeNames"] = ["en" => "English", "zh" => "中文", "fr" => "Français"];
  380.             // line 107
  381.             echo "                                            <div class=\"nav-item max-7 d-flex align-items-center \">
  382.                                                 <i class=\"fas fa-globe  color-9DE3FF position-relative t-0 mar-6\" aria-hidden=\"true\"></i>
  383.                                                 <div class=\"fs-13\">
  384.                                                     <select aria-label=\"Language / 语言\" onChange=\"window.location.href = this.value\">
  385.                                                         ";
  386.             // line 111
  387.             $context['_parent'] = $context;
  388.             $context['_seq'] = twig_ensure_traversable((isset($context["managedLocales"]) || array_key_exists("managedLocales", $context) ? $context["managedLocales"] : (function () { throw new RuntimeError('Variable "managedLocales" does not exist.', 111, $this->source); })()));
  389.             foreach ($context['_seq'] as $context["key"] => $context["managedLocale"]) {
  390.                 // line 112
  391.                 echo "                                                            <option ";
  392.                 echo (((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 112, $this->source); })()), "request", [], "any", false, false, false, 112), "locale", [], "any", false, false, false, 112), $context["managedLocale"]))) ? ("selected") : (""));
  393.                 echo " lang=\"";
  394.                 (((0 === twig_compare($context["managedLocale"], "zh"))) ? (print ("zh-CN")) : (print (twig_escape_filter($this->env, $context["managedLocale"], "html", null, true))));
  395.                 echo "\"
  396.                                                                     value=\"";
  397.                 // line 113
  398.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_change_language", ["locale" => $context["managedLocale"], "redirectUrl" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 113, $this->source); })()), "request", [], "any", false, false, false, 113), "uri", [], "any", false, false, false, 113)]), "html", null, true);
  399.                 echo "\">
  400.                                                                 ";
  401.                 // line 114
  402.                 echo twig_escape_filter($this->env, (((twig_get_attribute($this->env, $this->source, ($context["localeNames"] ?? null), $context["managedLocale"], [], "array", true, true, false, 114) &&  !(null === twig_get_attribute($this->env, $this->source, ($context["localeNames"] ?? null), $context["managedLocale"], [], "array", false, false, false, 114)))) ? (twig_get_attribute($this->env, $this->source, ($context["localeNames"] ?? null), $context["managedLocale"], [], "array", false, false, false, 114)) : (twig_upper_filter($this->env, $context["managedLocale"]))), "html", null, true);
  403.                 echo "
  404.                                                             </option>
  405.                                                         ";
  406.             }
  407.             $_parent = $context['_parent'];
  408.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['managedLocale'], $context['_parent'], $context['loop']);
  409.             $context = array_intersect_key($context, $_parent) + $_parent;
  410.             // line 117
  411.             echo "                                                    </select>
  412.                                                 </div>
  413.                                             </div>
  414.                                         ";
  415.         }
  416.         // line 121
  417.         echo "                                    </div>
  418.                                     <div class=\" d-flex rs-top\">
  419.                                         <a target=\"_blank\"
  420.                                            href=\"https://www.linkedin.com/company/viewpoint-behavior-technology/\"
  421.                                            class=\"d-flex   br-30 justify-content-center align-items-center c-white\">
  422.                                             <i class=\"fa-brands fa-linkedin-in\"></i>
  423.                                         </a>
  424.                                         <a target=\"_blank\" href=\"https://twitter.com/ViewpointBehav\"
  425.                                            class=\"d-flex max-18  justify-content-center align-items-center c-white\">
  426.                                             <i class=\"fa-brands fa-twitter\"></i>
  427.                                         </a>
  428.                                         <a target=\"_blank\"
  429.                                            href=\"https://www.youtube.com/@viewpointbehaviortechnolog5139\"
  430.                                            class=\"d-flex   br-30 justify-content-center align-items-center c-white\">
  431.                                             <i class=\"fa-brands fa-youtube\"></i>
  432.                                         </a>
  433.                                     </div>
  434.                                 </div>
  435.                             </div>
  436.                         </div>
  437.                     </div>
  438.                     <div class=\"d-none d-lg-block\">
  439.                         ";
  440.         // line 143
  441.         $this->loadTemplate("commons/navbar.html.twig", "base.html.twig", 143)->display($context);
  442.         // line 144
  443.         echo "                    </div>
  444.                     <div class=\"d-block d-lg-none\">
  445.                         ";
  446.         // line 146
  447.         $this->loadTemplate("commons/navbarMobile.html.twig", "base.html.twig", 146)->display($context);
  448.         // line 147
  449.         echo "                    </div>
  450.                 </header>
  451.                 ";
  452.         // line 177
  453.         echo "            ";
  454.         
  455.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  456.         
  457.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  458.     }
  459.     // line 179
  460.     public function block_body($context, array $blocks = [])
  461.     {
  462.         $macros = $this->macros;
  463.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  464.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  465.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  466.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  467.         
  468.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  469.         
  470.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  471.     }
  472.     // line 180
  473.     public function block_footer($context, array $blocks = [])
  474.     {
  475.         $macros = $this->macros;
  476.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  477.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  478.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  479.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
  480.         // line 181
  481.         echo "            ";
  482.         $this->loadTemplate("front/footer.html.twig", "base.html.twig", 181)->display($context);
  483.         // line 182
  484.         echo "        ";
  485.         
  486.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  487.         
  488.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  489.     }
  490.     // line 209
  491.     public function block_javascripts($context, array $blocks = [])
  492.     {
  493.         $macros = $this->macros;
  494.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  495.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  496.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  497.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  498.         // line 210
  499.         echo "    ";
  500.         
  501.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  502.         
  503.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  504.     }
  505.     public function getTemplateName()
  506.     {
  507.         return "base.html.twig";
  508.     }
  509.     public function isTraitable()
  510.     {
  511.         return false;
  512.     }
  513.     public function getDebugInfo()
  514.     {
  515.         return array (  556 => 210,  546 => 209,  536 => 182,  533 => 181,  523 => 180,  505 => 179,  495 => 177,  491 => 147,  489 => 146,  485 => 144,  483 => 143,  459 => 121,  453 => 117,  444 => 114,  440 => 113,  433 => 112,  429 => 111,  423 => 107,  420 => 106,  418 => 105,  416 => 104,  408 => 100,  406 => 99,  399 => 94,  389 => 93,  379 => 92,  373 => 91,  359 => 84,  355 => 82,  351 => 80,  349 => 79,  336 => 68,  331 => 67,  326 => 66,  316 => 65,  298 => 54,  288 => 36,  278 => 35,  266 => 31,  262 => 30,  258 => 29,  253 => 28,  243 => 27,  224 => 3,  212 => 211,  210 => 209,  205 => 208,  197 => 202,  193 => 201,  183 => 194,  174 => 188,  170 => 187,  164 => 183,  161 => 180,  159 => 179,  156 => 178,  153 => 93,  151 => 65,  135 => 54,  132 => 53,  130 => 52,  127 => 50,  124 => 48,  122 => 47,  120 => 46,  117 => 44,  115 => 43,  113 => 42,  111 => 41,  107 => 39,  103 => 38,  98 => 37,  96 => 35,  92 => 34,  89 => 33,  87 => 27,  83 => 26,  57 => 3,  54 => 2,  52 => 1,);
  516.     }
  517.     public function getSourceContext()
  518.     {
  519.         return new Source("{% set page = getPage(app.request.attributes.get(\"_controller\")) %}
  520. <!DOCTYPE html>
  521. <html lang=\"{% block html_lang %}{{ app.request.locale == 'zh' ? 'zh-CN' : app.request.locale }}{% endblock %}\">
  522.     <head>
  523.         <!-- Google Tag Manager -->
  524.         <script>
  525.             (function (w, d, s, l, i) {
  526.                 w[l] = w[l] || [];
  527.                 w[l].push({
  528.                     'gtm.start':
  529.                             new Date().getTime(), event: 'gtm.js'
  530.                 });
  531.                 var f = d.getElementsByTagName(s)[0],
  532.                         j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';
  533.                 j.async = true;
  534.                 j.src =
  535.                         'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
  536.                 f.parentNode.insertBefore(j, f);
  537.             })(window, document, 'script', 'dataLayer', 'GTM-TVSNTXH');
  538.         </script>
  539.         <!-- End Google Tag Manager -->
  540.         <meta charset=\"UTF-8\">
  541.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0,minimum-scale=1\">
  542.         <link rel=\"icon\"
  543.               href=\"{{ asset('assets/img/favicon.png') }}\">
  544.         {% block metaTags %}
  545.             <meta name=\"description\" content=\"{{ page ? page.metaDescription : siteTitle }}\">
  546.             <title>{{ page ? page.metaTitle : siteTitle }}</title>
  547.             <meta property=\"og:title\" content=\"{{ page ? page.metaTitle : siteTitle }}\">
  548.             <meta property=\"og:description\" content=\"{{ page ? page.metaDescription : siteTitle }}\">
  549.         {% endblock %}
  550.         <meta name=\"theme-color\" content=\"#95D3EC\">
  551.         {{ encore_entry_link_tags('app') }}
  552.         {% block stylesheets %}
  553.         {% endblock %}
  554.         <link rel=\"stylesheet\" href=\"{{ asset('assets/libs/openlayers/ol.css') }}\">
  555.         <script type=\"text/javascript\" src=\"{{ asset('assets/libs/openlayers/ol.js') }}\"></script>
  556.         <link rel=\"stylesheet\" href=\"{{ asset('assets/libs/aos/aos.css') }}\">
  557.         {#        <!-- Google tag (gtag.js) --> #}
  558.         {#        <script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-148514144-1\"></script> #}
  559.         {#        <script> #}
  560.         {#            window.dataLayer = window.dataLayer || []; #}
  561.         {#            function gtag() { #}
  562.         {#                dataLayer.push(arguments); #}
  563.         {#            } #}
  564.         {#            gtag('js', new Date()); #}
  565.         {#            gtag('config', 'UA-148514144-1'); #}
  566.         {#        </script> #}
  567.     </head>
  568.     <body data-navbar-search-url=\"{{ path('front_navbar_search') }}\" {% block body_tag %}{% endblock %}>
  569.         <!-- Google Tag Manager (noscript) -->
  570.         <noscript>
  571.         <iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TVSNTXH\"
  572.                 height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  573.         </noscript>
  574.         <!-- End Google Tag Manager (noscript) -->
  575.         <div class=\"wrapper\">
  576.             <div class=\"background-burger position-fixed t-0 b-0 z-0 zi-9\"></div>
  577.             {% block flash %}
  578.                 {% for label, messages in app.flashes %}
  579.                     {% for key, message in messages %}
  580.                         <div class=\"modal fade mat-200\" id=\"flashMessageModal\" tabindex=\"-1\" role=\"dialog\"
  581.                              aria-labelledby=\"flashMessageModalLabel\" aria-hidden=\"true\">
  582.                             <div class=\"modal-dialog\" role=\"document\">
  583.                                 <div class=\"modal-content\">
  584.                                     <div class=\"modal-body\">
  585.                                         <div class=\"text-right\">
  586.                                             <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">
  587.                                                 <span aria-hidden=\"true\">&times;</span>
  588.                                             </button>
  589.                                         </div>
  590.                                         <div>
  591.                                             {% if label == \"success\" %}
  592.                                                 <i class=\"fa fa-check text-success\"></i>
  593.                                             {% else %}
  594.                                                 <i class=\"fa fa-warning text-danger\"></i>
  595.                                             {% endif %}
  596.                                             {{ message|trans }}
  597.                                         </div>
  598.                                     </div>
  599.                                 </div>
  600.                             </div>
  601.                         </div>
  602.                     {% endfor %}
  603.                 {% endfor %}
  604.             {% endblock %}
  605.             {% block navbar %}
  606.                 <header>
  607.                     <div class=\"fixed-top zi-9999 he-47 bgc-95D3EC c-black pay-8 d-flex align-items-center\">
  608.                         <div class=\"container container-top\">
  609.                             <div class=\"d-flex align-items-center justify-content-between fs-14 fw-300\">
  610.                                 <h1 class=\" c-white fs-12 fw-500 col may-0\">
  611.                                     {% set h1 = h1|default(null) %}
  612.                                     {{ h1 ?? (page ? page.title : siteTitle) }}
  613.                                 </h1>
  614.                                 <div class=\"col-auto text-right d-flex\">
  615.                                     <div class=\"d-flex align-items-center languages\">
  616.                                         {% if managedLocales|length > 1 %}
  617.                                             {# Chaque langue est affichée dans sa propre langue (« English », « 中文 ») pour rester identifiable quelle que soit la langue courante #}
  618.                                             {% set localeNames = {'en': 'English', 'zh': '中文', 'fr': 'Français'} %}
  619.                                             <div class=\"nav-item max-7 d-flex align-items-center \">
  620.                                                 <i class=\"fas fa-globe  color-9DE3FF position-relative t-0 mar-6\" aria-hidden=\"true\"></i>
  621.                                                 <div class=\"fs-13\">
  622.                                                     <select aria-label=\"Language / 语言\" onChange=\"window.location.href = this.value\">
  623.                                                         {% for key, managedLocale in managedLocales %}
  624.                                                             <option {{ app.request.locale == managedLocale ? 'selected' }} lang=\"{{ managedLocale == 'zh' ? 'zh-CN' : managedLocale }}\"
  625.                                                                     value=\"{{ path('front_change_language', {'locale':managedLocale, \"redirectUrl\":app.request.uri}) }}\">
  626.                                                                 {{ localeNames[managedLocale] ?? managedLocale|upper }}
  627.                                                             </option>
  628.                                                         {% endfor %}
  629.                                                     </select>
  630.                                                 </div>
  631.                                             </div>
  632.                                         {% endif %}
  633.                                     </div>
  634.                                     <div class=\" d-flex rs-top\">
  635.                                         <a target=\"_blank\"
  636.                                            href=\"https://www.linkedin.com/company/viewpoint-behavior-technology/\"
  637.                                            class=\"d-flex   br-30 justify-content-center align-items-center c-white\">
  638.                                             <i class=\"fa-brands fa-linkedin-in\"></i>
  639.                                         </a>
  640.                                         <a target=\"_blank\" href=\"https://twitter.com/ViewpointBehav\"
  641.                                            class=\"d-flex max-18  justify-content-center align-items-center c-white\">
  642.                                             <i class=\"fa-brands fa-twitter\"></i>
  643.                                         </a>
  644.                                         <a target=\"_blank\"
  645.                                            href=\"https://www.youtube.com/@viewpointbehaviortechnolog5139\"
  646.                                            class=\"d-flex   br-30 justify-content-center align-items-center c-white\">
  647.                                             <i class=\"fa-brands fa-youtube\"></i>
  648.                                         </a>
  649.                                     </div>
  650.                                 </div>
  651.                             </div>
  652.                         </div>
  653.                     </div>
  654.                     <div class=\"d-none d-lg-block\">
  655.                         {% include \"commons/navbar.html.twig\" %}
  656.                     </div>
  657.                     <div class=\"d-block d-lg-none\">
  658.                         {% include \"commons/navbarMobile.html.twig\" %}
  659.                     </div>
  660.                 </header>
  661.                 {#        {% for key, category in getCategories() %}
  662.                             <div>
  663.                                 <a href=\"{{ path('front_products', {\"catSlug\":category.slug}) }}\">
  664.                                     {{ category.title }}
  665.                                 </a>
  666.                             </div>
  667.                             {% for key, subCategory in getSubCategories(category) %}
  668.                                 <div>
  669.                                     <a href=\"{{ path('front_products', {\"catSlug\":(subCategory.category ? subCategory.category.slug : 0),'subCatSlug':subCategory.slug}) }}\">
  670.                                         {{ subCategory.title }}
  671.                                     </a>
  672.                                 </div>
  673.                                 {% for key, product in getProducts(subCategory) %}
  674.                                     <div>
  675.                                         <a href=\"{{ getProductUrl(product, subCategory) }}\">
  676.                                             {{ product.title }}
  677.                                         </a>
  678.                                     </div>
  679.                                 {% endfor %}
  680.                             {% endfor %}
  681.                         {% endfor %}
  682.                         {% for key, category in getCategories() %}
  683.                             <div>
  684.                                 <a href=\"{{ path('front_publications', {'slug':category.slug}) }}\">
  685.                                     {{ category.title }}
  686.                                 </a>
  687.                             </div>
  688.                         {% endfor %} #}
  689.             {% endblock %}
  690.         {% block body %}{% endblock %}
  691.         {% block footer %}
  692.             {% include \"front/footer.html.twig\" %}
  693.         {% endblock %}
  694.         <div class=\"position-fixed zi-9999 b-20 r-20 scrollToTopDiv wi-50 d-flex align-items-center justify-content-center  bgc-9DC771 c-white br-8\">
  695.             <i class=\"fa fa-arrow-up pointer scrollToTop fw-600 fs-15 wi-50 d-flex align-items-center justify-content-center he-50\"></i>
  696.         </div>
  697.     </div>
  698.     {{ encore_entry_script_tags('app') }}
  699.     <script type=\"text/javascript\" src=\"{{ asset('assets/libs/aos/aos.js') }}\"></script>
  700.     <script>
  701.         AOS.init({
  702.             once: true,
  703.         });
  704.     </script>
  705.     <script type=\"text/javascript\" src=\"{{ asset('assets/libs/cookieconsent/cookie-consent.js') }}\"></script>
  706.     <script type=\"text/javascript\">
  707.         document.addEventListener('DOMContentLoaded', function () {
  708.             cookieconsent.run({
  709.                 \"notice_banner_type\": \"simple\",
  710.                 \"consent_type\": \"implied\",
  711.                 \"palette\": \"light\",
  712.                 \"language\": \"{{ app.request.locale == 'fr' ? 'fr' : 'en' }}\",
  713.                 \"website_name\": \"{{ siteTitle }}\",
  714.                 \"change_preferences_selector\": \"#changePreferences\"
  715.             });
  716.         });
  717.     </script>
  718.     {# www.recaptcha.net : domaine officiel de reCAPTCHA accessible depuis la Chine continentale (www.google.com y est bloqué) #}
  719.     <script src=\"https://www.recaptcha.net/recaptcha/api.js?hl={{ app.request.locale == 'zh' ? 'zh-CN' : app.request.locale }}\" async defer></script>
  720.     {% block javascripts %}
  721.     {% endblock %}
  722. </body>
  723. </html>
  724. ", "base.html.twig", "/home/hlcdisb-gcesarine/www/viewpoint_dev/templates/base.html.twig");
  725.     }
  726. }