var/cache/dev/twig/bf/bf5c6619e930c1965b5da1c0f5087e5bc72da2c8554eeaa6257082a68ee6a383.php line 323

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. /* layout.html.twig */
  14. class __TwigTemplate_be06eee84f5e070e2b023cd889e534e42b4fffd243fec06e69721f5ded3d9e92 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_stylesheets' => [$this'block_head_stylesheets'],
  25.             'beforeScriptTag' => [$this'block_beforeScriptTag'],
  26.             'head_stylesheets_footer' => [$this'block_head_stylesheets_footer'],
  27.             'headerSticky' => [$this'block_headerSticky'],
  28.             'content' => [$this'block_content'],
  29.             'headscripts' => [$this'block_headscripts'],
  30.             'inlinescripts' => [$this'block_inlinescripts'],
  31.             'snippetscripts' => [$this'block_snippetscripts'],
  32.         ];
  33.         $this->deferred $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  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""layout.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""layout.html.twig"));
  42.         // line 1
  43.         echo "
  44. <!DOCTYPE html>
  45. <html dir=\"ltr\" lang=\"";
  46.         // line 3
  47.         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.'3$this->source); })()), "request", [], "any"falsefalsefalse3), "locale", [], "any"falsefalsefalse3), "html"nulltrue);
  48.         echo "\">
  49. <head>
  50.     ";
  51.         // line 6
  52.         $this->loadTemplate("head/metas.html.twig""layout.html.twig"6)->display($context);
  53.         // line 7
  54.         echo "
  55.     ";
  56.         // line 8
  57.         if (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide") == false)) {
  58.             // line 9
  59.             echo "        ";
  60.             $this->loadTemplate("head/cookiebot-head.html.twig""layout.html.twig"9)->display($context);
  61.             // line 10
  62.             echo "    ";
  63.         }
  64.         // line 11
  65.         echo "
  66.     ";
  67.         // line 19
  68.         echo "    ";
  69.         ob_start();
  70.         // line 20
  71.         echo "        ";
  72.         // line 21
  73.         echo "        ";
  74.         // line 22
  75.         echo "
  76.         ";
  77.         // line 23
  78.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/onload.min.css")], "method"falsefalsefalse23);
  79.         // line 24
  80.         echo "        ";
  81.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/uikit/uikit.3.5.7.min.css")], "method"falsefalsefalse24);
  82.         // line 25
  83.         echo "        ";
  84.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/jquery-ui/jquery-ui.1.13.2.min.css")], "method"falsefalsefalse25);
  85.         // line 26
  86.         echo "        ";
  87.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/application.min.css")], "method"falsefalsefalse26);
  88.         // line 27
  89.         echo "        ";
  90.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/exkglobal.min.css")], "method"falsefalsefalse27);
  91.         // line 28
  92.         echo "        ";
  93.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/css/coming_soon.min.css")], "method"falsefalsefalse28);
  94.         // line 29
  95.         echo "        ";
  96.         // line 30
  97.         echo "        ";
  98.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/framework/dropify/css/dropify.min.css")], "method"falsefalsefalse30);
  99.         // line 31
  100.         echo "        ";
  101.         // line 32
  102.         echo "
  103.         ";
  104.         // line 33
  105.         if (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide") == true)) {
  106.             // line 34
  107.             echo "            ";
  108.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> "https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css"], "method"falsefalsefalse34);
  109.             // line 35
  110.             echo "        ";
  111.         }
  112.         // line 36
  113.         echo "
  114.         ";
  115.         // line 38
  116.         echo "        ";
  117.         // line 39
  118.         echo "
  119.         ";
  120.         // line 41
  121.         echo "        
  122.         
  123.         ";
  124.         // line 43
  125.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/uikit/uikit.3.5.7.min.js")], "method"falsefalsefalse43);
  126.         // line 44
  127.         echo "        ";
  128.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/jquery/jquery.3.5.1.min.js")], "method"falsefalsefalse44);
  129.         // line 45
  130.         echo "        ";
  131.         // line 46
  132.         echo "        ";
  133.         if ($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("minify-css-js")) {
  134.             // line 47
  135.             echo "            ";
  136.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/vue/prod-3.2.31/vue.global.min.js")], "method"falsefalsefalse47);
  137.             // line 48
  138.             echo "            ";
  139.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/minified/moment.min.js")], "method"falsefalsefalse48);
  140.             // line 49
  141.             echo "            ";
  142.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/minified/apik.min.js")], "method"falsefalsefalse49);
  143.             // line 50
  144.             echo "            ";
  145.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/minified/apik-main.min.js")], "method"falsefalsefalse50);
  146.             // line 51
  147.             echo "        ";
  148.         } else {
  149.             // line 52
  150.             echo "            ";
  151.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/vue/dev-3.2.31/vue.global.min.js")], "method"falsefalsefalse52);
  152.             // line 53
  153.             echo "            ";
  154.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/moment.js")], "method"falsefalsefalse53);
  155.             // line 54
  156.             echo "            ";
  157.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/apik.js")], "method"falsefalsefalse54);
  158.             // line 55
  159.             echo "            ";
  160.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/apik-main.js")], "method"falsefalsefalse55);
  161.             // line 56
  162.             echo "        ";
  163.         }
  164.         // line 57
  165.         echo "
  166.         ";
  167.         // line 58
  168.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/js/moment-timezone.min.js")], "method"falsefalsefalse58);
  169.         // line 59
  170.         echo "
  171.         ";
  172.         // line 60
  173.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/framework/dropify/js/dropify.min.js")], "method"falsefalsefalse60);
  174.         // line 61
  175.         echo "        ";
  176.         // line 62
  177.         echo "
  178.         ";
  179.         // line 63
  180.         if (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide") == true)) {
  181.             // line 64
  182.             echo "            ";
  183.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> "https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js"], "method"falsefalsefalse64);
  184.             // line 65
  185.             echo "        ";
  186.         }
  187.         // line 66
  188.         echo "        
  189.         
  190.         ";
  191.         // line 69
  192.         echo "        <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  193.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  194.         ";
  195.         // line 71
  196.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap"], "method"falsefalsefalse71);
  197.         // line 72
  198.         echo "
  199.     ";
  200.         $___internal_parse_1_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  201.         // line 19
  202.         echo twig_spaceless($___internal_parse_1_);
  203.         // line 75
  204.         echo "
  205.     ";
  206.         // line 77
  207.         echo "
  208.     ";
  209.         // line 78
  210.         $this->displayBlock('head_stylesheets'$context$blocks);
  211.         // line 81
  212.         echo "        
  213.     ";
  214.         // line 82
  215.         if ($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("activateAnalytics")) {
  216.             // line 83
  217.             echo "        ";
  218.             $this->displayBlock('beforeScriptTag'$context$blocks);
  219.             // line 85
  220.             echo "    ";
  221.         }
  222.         // line 86
  223.         echo "
  224.     ";
  225.         // line 88
  226.         echo "
  227.     ";
  228.         // line 89
  229.         $this->displayBlock('head_stylesheets_footer'$context$blocks);
  230.         // line 92
  231.         echo "
  232.     ";
  233.         // line 93
  234.         if (( !array_key_exists("document"$context) ||  !(isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'93$this->source); })()))) {
  235.             // line 94
  236.             echo "        ";
  237.             $context["document"] = Pimcore\Model\Document::getById(1);
  238.             // line 95
  239.             echo "    ";
  240.         }
  241.         // line 96
  242.         echo "
  243.     ";
  244.         // line 98
  245.         echo "    
  246.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/favicon/apple-touch-icon.png\">
  247.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
  248.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
  249.     <link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
  250.     <link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  251.     <link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
  252.     <meta name=\"msapplication-TileColor\" content=\"#da532c\">
  253.     <meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
  254.     <meta name=\"theme-color\" content=\"#e9e9e9\">
  255.     ";
  256.         // line 110
  257.         echo "
  258.     ";
  259.         // line 112
  260.         echo "    ";
  261.         // line 113
  262.         echo "
  263.     <script>
  264.         function mobileAndTabletCheck() {
  265.             let check = false;
  266.             (function(a){if(/(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\-(n|u)|c55\\/|capi|ccwa|cdm\\-|cell|chtm|cldc|cmd\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\-|_)|g1 u|g560|gene|gf\\-5|g\\-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd\\-(m|p|t)|hei\\-|hi(pt|ta)|hp( i|ip)|hs\\-c|ht(c(\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\-(20|go|ma)|i230|iac( |\\-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc\\-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|\\-[a-w])|libw|lynx|m1\\-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\-2|po(ck|rt|se)|prox|psio|pt\\-g|qa\\-a|qc(07|12|21|32|60|\\-[2-7]|i\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\-|oo|p\\-)|sdk\\/|se(c(\\-|0|1)|47|mc|nd|ri)|sgh\\-|shar|sie(\\-|m)|sk\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\-|v\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\-|tdg\\-|tel(i|m)|tim\\-|t\\-mo|to(pl|sh)|ts(70|m\\-|m3|m5)|tx\\-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\\-|your|zeto|zte\\-/i.test(a.substr(0,4))) check = true;})(navigator.userAgent||navigator.vendor||window.opera);
  267.             if(check) {
  268.                 document.getElementsByTagName('html')[0].classList.add('is-mobile');
  269.             }
  270.         };
  271.         mobileAndTabletCheck();
  272.     </script>
  273. </head>
  274. <body class=\"";
  275.         // line 127
  276.         echo ((twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'127$this->source); })()), "property", [=> "themeDark"], "method"falsefalsefalse127)) ? ("uk-light") : ("uk-dark"));
  277.         echo " ";
  278.         echo (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'127$this->source); })())) ? ("apk-cms-pimcore") : (""));
  279.         echo "\" >
  280.    
  281. ";
  282.         // line 131
  283.         if (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Your website name") == "Your website name")) {
  284.             // line 132
  285.             echo "    ";
  286.             echo "<p class=\"uk-alert-danger\" uk-alert>Attention, n'oubliez pas de traduire 'Your website name' et les autres chaines de traduction via Tools > Translations > Shared Translation.</p>";
  287.             echo "
  288. ";
  289.         }
  290.         // line 134
  291.         if ( !twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'134$this->source); })()), "hasProperty", [=> "politiqueDeConfidentialite"], "method"falsefalsefalse134)) {
  292.             // line 135
  293.             echo "    ";
  294.             echo "<p class=\"uk-alert-danger\" uk-alert>Attention, n'oubliez pas de créer la propriété 'politiqueDeConfidentialite' (type Document) à la racine du site et de la faire pointer vers la page Politique de confidentialité (pour le bandeau des cookies).</p>";
  295.             echo "
  296. ";
  297.         }
  298.         // line 137
  299.         echo "
  300. ";
  301.         // line 141
  302.         echo "
  303. ";
  304.         // line 142
  305.         if (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("showBannerCta") == true)) {
  306.             // line 143
  307.             echo "    ";
  308.             if ($this->env->getFunction('pimcore_inc')->getCallable()((("/" 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.'143$this->source); })()), "request", [], "any"falsefalsefalse143), "locale", [], "any"falsefalsefalse143)) . "/Snippets/cta-banner"))) {
  309.                 // line 144
  310.                 echo "        ";
  311.                 echo $this->env->getFunction('pimcore_inc')->getCallable()((("/" 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.'144$this->source); })()), "request", [], "any"falsefalsefalse144), "locale", [], "any"falsefalsefalse144)) . "/Snippets/cta-banner"));
  312.                 echo "
  313.     ";
  314.             }
  315.         }
  316.         // line 147
  317.         echo "
  318. ";
  319.         // line 150
  320.         if (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.'150$this->source); })()), "user", [], "any"falsefalsefalse150)) {
  321.             // line 151
  322.             echo "    ";
  323.             $this->loadTemplate("includes/header.html.twig""layout.html.twig"151)->display(twig_array_merge($context, ["userLogged" => 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.'151$this->source); })()), "user", [], "any"falsefalsefalse151)]));
  324.             echo "    
  325. ";
  326.         } else {
  327.             // line 153
  328.             echo "    ";
  329.             $this->loadTemplate("includes/header.html.twig""layout.html.twig"153)->display(twig_array_merge($context, ["userLogged" => null]));
  330.         }
  331.         // line 155
  332.         echo "
  333. ";
  334.         // line 156
  335.         $this->displayBlock('headerSticky'$context$blocks);
  336.         // line 159
  337.         echo "
  338. ";
  339.         // line 166
  340.         echo "
  341. ";
  342.         // line 167
  343.         $this->displayBlock('content'$context$blocks);
  344.         // line 168
  345.         echo "
  346. ";
  347.         // line 171
  348.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'171$this->source); })())) {
  349.             // line 172
  350.             echo "    ";
  351.             if ($this->env->getFunction('pimcore_inc')->getCallable()((("/" 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.'172$this->source); })()), "request", [], "any"falsefalsefalse172), "locale", [], "any"falsefalsefalse172)) . "/Snippets/footer"))) {
  352.                 // line 173
  353.                 echo "        ";
  354.                 echo $this->env->getFunction('pimcore_inc')->getCallable()((("/" 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.'173$this->source); })()), "request", [], "any"falsefalsefalse173), "locale", [], "any"falsefalsefalse173)) . "/Snippets/footer"));
  355.                 echo "
  356.     ";
  357.             } else {
  358.                 // line 175
  359.                 echo "        ";
  360.                 echo "<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>";
  361.                 echo "
  362.     ";
  363.             }
  364.         }
  365.         // line 178
  366.         echo "
  367. ";
  368.         // line 179
  369.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'179$this->source); })())) {
  370.             // line 180
  371.             echo "<div id=\"apk-backtotop\">
  372.     <a class=\"uk-text-uppercase uk-flex uk-flex-bottom\" href=\"#\" uk-scroll aria-disabled=\"true\">
  373.         ";
  374.             // line 182
  375.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Up"), "html"nulltrue);
  376.             echo "
  377.         <img uk-svg width=\"40\" height=\"45\" src=\"/static/img/pictos/arrow-top.svg\" alt=\"up\">
  378.     </a>
  379. </div>
  380. ";
  381.         }
  382.         // line 187
  383.         echo "
  384. ";
  385.         // line 189
  386.         $this->displayBlock('headscripts'$context$blocks);
  387.         // line 192
  388.         echo "
  389. ";
  390.         // line 193
  391.         $this->displayBlock('inlinescripts'$context$blocks);
  392.         // line 196
  393.         echo "
  394. ";
  395.         // line 197
  396.         $this->displayBlock('snippetscripts'$context$blocks);
  397.         // line 200
  398.         echo "
  399. ";
  400.         // line 202
  401.         if (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide") == true)) {
  402.             // line 203
  403.             echo "    <script>
  404.         window.addEventListener(\"load\", function () {
  405.             window.cookieconsent.initialise({
  406.                 \"palette\": {
  407.                     \"popup\": {
  408.                         \"text\": \"#ffffff\",
  409.                         \"background\": \"#000000\",
  410.                     },
  411.                     \"button\": {
  412.                         \"text\": \"#ffffff\",
  413.                         \"background\": \"#FA6401\",
  414.                     }
  415.                 },
  416.                 \"content\": {
  417.                     \"message\": \"";
  418.             // line 217
  419.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Nous utilisons des cookies et d'autres technologies pour assurer à tous les utilisateurs de ce site internet la meilleure expérience possible."), "html"nulltrue);
  420.             echo " ";
  421.             echo "En accédant à ce site, vous acceptez notre politique de cookies.";
  422.             echo "\",
  423.                     \"dismiss\": \"";
  424.             // line 218
  425.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("J'accepte"), "html"nulltrue);
  426.             echo "\",
  427.                     \"link\": \"";
  428.             // line 219
  429.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("En savoir plus"), "html"nulltrue);
  430.             echo "\",
  431.                     \"href\": \"";
  432.             // line 220
  433.             if (twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'220$this->source); })()), "getProperty", [=> "politiqueDeConfidentialite"], "method"falsefalsefalse220)) {
  434.                 echo " ";
  435.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'220$this->source); })()), "getProperty", [=> "politiqueDeConfidentialite"], "method"falsefalsefalse220), "html"nulltrue);
  436.                 echo " ";
  437.             }
  438.             echo "\"
  439.                 }
  440.             })
  441.         });
  442.     </script>
  443. ";
  444.         }
  445.         // line 226
  446.         echo "
  447. </body>
  448. </html>";
  449.         $this->deferred->resolve($this$context$blocks);
  450.         
  451.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  452.         
  453.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  454.     }
  455.     public function block_head_stylesheets($context, array $blocks = [])
  456.     {
  457.         $this->deferred->defer($this'head_stylesheets');
  458.     }
  459.     // line 78
  460.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  461.     {
  462.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  463.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  464.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  465.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  466.         // line 79
  467.         echo "        ";
  468.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  469.         echo "
  470.     ";
  471.         
  472.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  473.         
  474.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  475.         $this->deferred->resolve($this$context$blocks);
  476.     }
  477.     // line 83
  478.     public function block_beforeScriptTag($context, array $blocks = [])
  479.     {
  480.         $macros $this->macros;
  481.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  482.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""beforeScriptTag"));
  483.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  484.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""beforeScriptTag"));
  485.         // line 84
  486.         echo "        ";
  487.         
  488.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  489.         
  490.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  491.     }
  492.     // line 89
  493.     public function block_head_stylesheets_footer($context, array $blocks = [])
  494.     {
  495.         $macros $this->macros;
  496.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  497.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets_footer"));
  498.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  499.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets_footer"));
  500.         // line 90
  501.         echo "        
  502.     ";
  503.         
  504.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  505.         
  506.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  507.     }
  508.     // line 156
  509.     public function block_headerSticky($context, array $blocks = [])
  510.     {
  511.         $macros $this->macros;
  512.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  513.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerSticky"));
  514.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  515.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headerSticky"));
  516.         // line 157
  517.         echo "
  518. ";
  519.         
  520.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  521.         
  522.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  523.     }
  524.     // line 167
  525.     public function block_content($context, array $blocks = [])
  526.     {
  527.         $macros $this->macros;
  528.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  529.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  530.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  531.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  532.         
  533.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  534.         
  535.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  536.     }
  537.     // line 189
  538.     public function block_headscripts($context, array $blocks = [])
  539.     {
  540.         $macros $this->macros;
  541.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  542.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  543.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  544.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  545.         // line 190
  546.         echo "    ";
  547.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  548.         echo "
  549. ";
  550.         
  551.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  552.         
  553.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  554.     }
  555.     // line 193
  556.     public function block_inlinescripts($context, array $blocks = [])
  557.     {
  558.         $macros $this->macros;
  559.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  560.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  561.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  562.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  563.         // line 194
  564.         echo "
  565. ";
  566.         
  567.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  568.         
  569.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  570.     }
  571.     // line 197
  572.     public function block_snippetscripts($context, array $blocks = [])
  573.     {
  574.         $macros $this->macros;
  575.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  576.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""snippetscripts"));
  577.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  578.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""snippetscripts"));
  579.         // line 198
  580.         echo "
  581. ";
  582.         
  583.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  584.         
  585.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  586.     }
  587.     public function getTemplateName()
  588.     {
  589.         return "layout.html.twig";
  590.     }
  591.     public function isTraitable()
  592.     {
  593.         return false;
  594.     }
  595.     public function getDebugInfo()
  596.     {
  597.         return array (  640 => 198,  630 => 197,  619 => 194,  609 => 193,  596 => 190,  586 => 189,  568 => 167,  557 => 157,  547 => 156,  536 => 90,  526 => 89,  516 => 84,  506 => 83,  492 => 79,  483 => 78,  465 => 226,  452 => 220,  448 => 219,  444 => 218,  438 => 217,  422 => 203,  420 => 202,  416 => 200,  414 => 197,  411 => 196,  409 => 193,  406 => 192,  404 => 189,  401 => 187,  393 => 182,  389 => 180,  387 => 179,  384 => 178,  377 => 175,  371 => 173,  368 => 172,  366 => 171,  362 => 168,  360 => 167,  357 => 166,  353 => 159,  351 => 156,  348 => 155,  344 => 153,  338 => 151,  336 => 150,  332 => 147,  325 => 144,  322 => 143,  320 => 142,  317 => 141,  312 => 137,  306 => 135,  304 => 134,  298 => 132,  296 => 131,  289 => 127,  273 => 113,  271 => 112,  268 => 110,  256 => 98,  253 => 96,  250 => 95,  247 => 94,  245 => 93,  242 => 92,  240 => 89,  237 => 88,  234 => 86,  231 => 85,  228 => 83,  226 => 82,  223 => 81,  221 => 78,  218 => 77,  215 => 75,  213 => 19,  208 => 72,  206 => 71,  202 => 69,  198 => 66,  195 => 65,  192 => 64,  190 => 63,  187 => 62,  185 => 61,  183 => 60,  180 => 59,  178 => 58,  175 => 57,  172 => 56,  169 => 55,  166 => 54,  163 => 53,  160 => 52,  157 => 51,  154 => 50,  151 => 49,  148 => 48,  145 => 47,  142 => 46,  140 => 45,  137 => 44,  135 => 43,  131 => 41,  128 => 39,  126 => 38,  123 => 36,  120 => 35,  117 => 34,  115 => 33,  112 => 32,  110 => 31,  107 => 30,  105 => 29,  102 => 28,  99 => 27,  96 => 26,  93 => 25,  90 => 24,  88 => 23,  85 => 22,  83 => 21,  81 => 20,  78 => 19,  75 => 11,  72 => 10,  69 => 9,  67 => 8,  64 => 7,  62 => 6,  56 => 3,  52 => 1,);
  598.     }
  599.     public function getSourceContext()
  600.     {
  601.         return new Source("
  602. <!DOCTYPE html>
  603. <html dir=\"ltr\" lang=\"{{ app.request.locale }}\">
  604. <head>
  605.     {% include \"head/metas.html.twig\" %}
  606.     {% if pimcore_website_config('cookiebotHide') == false %}
  607.         {% include \"head/cookiebot-head.html.twig\" %}
  608.     {% endif %}
  609.     {# 
  610.     Enregistre la liste des fichiers CSS et JS
  611.     
  612.     Attention:
  613.     Veillez à mettre à jour les adresses ci-dessous en remplacant la version par la dernière version disponible (jQuery,
  614.     Uikit, FontAwesome,...), et ce pour tous les fichiers layout[...].html.twig !
  615.     #}
  616.     {% apply spaceless %}
  617.         {# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
  618.         {# we use the view helper to have cache buster functionality #}
  619.         {% do pimcore_head_link().appendStylesheet(asset('/static/css/onload.min.css')) %}
  620.         {% do pimcore_head_link().appendStylesheet(asset('/static/css/uikit/uikit.3.5.7.min.css')) %}
  621.         {% do pimcore_head_link().appendStylesheet(asset('/static/css/jquery-ui/jquery-ui.1.13.2.min.css')) %}
  622.         {% do pimcore_head_link().appendStylesheet(asset('/static/css/application.min.css')) %}
  623.         {% do pimcore_head_link().appendStylesheet(asset('/static/css/exkglobal.min.css')) %}
  624.         {% do pimcore_head_link().appendStylesheet(asset('/static/css/coming_soon.min.css')) %}
  625.         {#% do pimcore_head_link().appendStylesheet(asset('/static/js/country-flag/country-flag.css')) %#}
  626.         {% do pimcore_head_link().appendStylesheet(asset('/static/framework/dropify/css/dropify.min.css')) %}
  627.         {#% do pimcore_head_link().appendStylesheet('https://use.typekit.net/cdw7sie.css') %#}
  628.         {% if pimcore_website_config('cookiebotHide') == true %}
  629.             {% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css') %}
  630.         {% endif %}
  631.         {#<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css\"/>#}
  632.         {#% do pimcore_head_link().appendStylesheet(asset('/static/css/custom.css')) %#}
  633.         {# Adobe Font #}
  634.         
  635.         
  636.         {% do pimcore_head_script().appendFile(asset('/static/js/uikit/uikit.3.5.7.min.js')) %}
  637.         {% do pimcore_head_script().appendFile(asset('/static/js/jquery/jquery.3.5.1.min.js')) %}
  638.         {# condition pour le vue js dev et prod #}
  639.         {% if pimcore_website_config('minify-css-js') %}
  640.             {% do pimcore_head_script().appendFile(asset('/static/js/vue/prod-3.2.31/vue.global.min.js')) %}
  641.             {% do pimcore_head_script().appendFile(asset('/static/js/minified/moment.min.js')) %}
  642.             {% do pimcore_head_script().appendFile(asset('/static/js/minified/apik.min.js')) %}
  643.             {% do pimcore_head_script().appendFile(asset('/static/js/minified/apik-main.min.js')) %}
  644.         {% else %}
  645.             {% do pimcore_head_script().appendFile(asset('/static/js/vue/dev-3.2.31/vue.global.min.js')) %}
  646.             {% do pimcore_head_script().appendFile(asset('/static/js/moment.js')) %}
  647.             {% do pimcore_head_script().appendFile(asset('/static/js/apik.js')) %}
  648.             {% do pimcore_head_script().appendFile(asset('/static/js/apik-main.js')) %}
  649.         {% endif %}
  650.         {% do pimcore_head_script().appendFile(asset('/static/js/moment-timezone.min.js')) %}
  651.         {% do pimcore_head_script().appendFile(asset('/static/framework/dropify/js/dropify.min.js')) %}
  652.         {#% do pimcore_head_script().appendFile(asset('/static/js/country-flag/country-flag.js')) %#}
  653.         {% if pimcore_website_config('cookiebotHide') == true %}
  654.             {% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js') %}
  655.         {% endif %}
  656.         
  657.         
  658.         {# GOOGLE FONTS #}
  659.         <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  660.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  661.         {% do pimcore_head_link().appendStylesheet('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap') %}
  662.     {% endapply %}
  663.     {# Affiche les styles CSS personnalisés pour toutes les pages #}
  664.     {% block head_stylesheets deferred %}
  665.         {{ pimcore_head_link() }}
  666.     {% endblock %}
  667.         
  668.     {% if pimcore_website_config('activateAnalytics') %}
  669.         {% block beforeScriptTag %}
  670.         {% endblock %}
  671.     {% endif %}
  672.     {# Affiche les styles CSS personnalisés propres au footer #}
  673.     {% block head_stylesheets_footer %}
  674.         
  675.     {% endblock %}
  676.     {% if not document is defined or not document %}
  677.         {% set document = pimcore_document(1) %}
  678.     {% endif %}
  679.     {# Favicons (utilisez RealFaviconGenerator) #}
  680.     
  681.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/static/img/favicon/apple-touch-icon.png\">
  682.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
  683.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
  684.     <link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
  685.     <link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  686.     <link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
  687.     <meta name=\"msapplication-TileColor\" content=\"#da532c\">
  688.     <meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
  689.     <meta name=\"theme-color\" content=\"#e9e9e9\">
  690.     {#<link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.1.0/css/all.css\"
  691.           integrity=\"sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt\" crossorigin=\"anonymous\">#}
  692.     {#% include \"head/hotjar.html.twig\" %#}
  693.     {#% include \"head/meta-pixel.html.twig\" %#}
  694.     <script>
  695.         function mobileAndTabletCheck() {
  696.             let check = false;
  697.             (function(a){if(/(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\-(n|u)|c55\\/|capi|ccwa|cdm\\-|cell|chtm|cldc|cmd\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\-|_)|g1 u|g560|gene|gf\\-5|g\\-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd\\-(m|p|t)|hei\\-|hi(pt|ta)|hp( i|ip)|hs\\-c|ht(c(\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\-(20|go|ma)|i230|iac( |\\-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc\\-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|\\-[a-w])|libw|lynx|m1\\-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\-2|po(ck|rt|se)|prox|psio|pt\\-g|qa\\-a|qc(07|12|21|32|60|\\-[2-7]|i\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\-|oo|p\\-)|sdk\\/|se(c(\\-|0|1)|47|mc|nd|ri)|sgh\\-|shar|sie(\\-|m)|sk\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\-|v\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\-|tdg\\-|tel(i|m)|tim\\-|t\\-mo|to(pl|sh)|ts(70|m\\-|m3|m5)|tx\\-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\\-|your|zeto|zte\\-/i.test(a.substr(0,4))) check = true;})(navigator.userAgent||navigator.vendor||window.opera);
  698.             if(check) {
  699.                 document.getElementsByTagName('html')[0].classList.add('is-mobile');
  700.             }
  701.         };
  702.         mobileAndTabletCheck();
  703.     </script>
  704. </head>
  705. <body class=\"{{ document.property('themeDark') ? 'uk-light' : 'uk-dark' }} {{ editmode ? 'apk-cms-pimcore' : ''}}\" >
  706.    
  707. {# Vérifie si \"Your website name\" a bien été traduit. Si non, on affiche un message d'erreur #}
  708. {# Attention, il ne faut pas renommer le nom du site ici... Il faut le renommer dans les Shared Translations! #}
  709. {% if \"Your website name\"|trans == \"Your website name\" %}
  710.     {{ '<p class=\"uk-alert-danger\" uk-alert>Attention, n\\'oubliez pas de traduire \\'Your website name\\' et les autres chaines de traduction via Tools > Translations > Shared Translation.</p>' }}
  711. {% endif %}
  712. {% if not document.hasProperty('politiqueDeConfidentialite') %}
  713.     {{ '<p class=\"uk-alert-danger\" uk-alert>Attention, n\\'oubliez pas de créer la propriété \\'politiqueDeConfidentialite\\' (type Document) à la racine du site et de la faire pointer vers la page Politique de confidentialité (pour le bandeau des cookies).</p>' }}
  714. {% endif %}
  715. {# Affiche la bannière CTA #}
  716. {% if pimcore_website_config('showBannerCta') == true %}
  717.     {% if pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/cta-banner\") %}
  718.         {{ pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/cta-banner\") }}
  719.     {% endif %}
  720. {% endif %}
  721. {# Affiche le  header #}
  722. {% if app.user %}
  723.     {% include \"includes/header.html.twig\" with {'userLogged' : app.user} %}    
  724. {% else %}
  725.     {% include \"includes/header.html.twig\" with {'userLogged' : null} %}
  726. {% endif %}
  727. {% block headerSticky %}
  728. {% endblock %}
  729. {#% set cache = pimcore_cache(\"header_cache\") %}
  730. {% if not cache.start() %}
  731.     {% include \"includes/header.html.twig\" %}
  732.     {% do cache.end() %}
  733. {% endif %#}
  734. {% block content %}{% endblock %}
  735. {# Affiche le bottom-fixed-info #}
  736. {% if not editmode %}
  737.     {% if pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/footer\") %}
  738.         {{ pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/footer\") }}
  739.     {% else %}
  740.         {{ '<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>' }}
  741.     {% endif %}
  742. {% endif %}
  743. {% if not editmode %}
  744. <div id=\"apk-backtotop\">
  745.     <a class=\"uk-text-uppercase uk-flex uk-flex-bottom\" href=\"#\" uk-scroll aria-disabled=\"true\">
  746.         {{ \"Up\"|trans }}
  747.         <img uk-svg width=\"40\" height=\"45\" src=\"/static/img/pictos/arrow-top.svg\" alt=\"up\">
  748.     </a>
  749. </div>
  750. {% endif %}
  751. {# output scripts added before #}
  752. {% block headscripts %}
  753.     {{ pimcore_head_script() }}
  754. {% endblock %}
  755. {% block inlinescripts  %}
  756. {% endblock %}
  757. {% block snippetscripts  %}
  758. {% endblock %}
  759. {% if pimcore_website_config('cookiebotHide') == true %}
  760.     <script>
  761.         window.addEventListener(\"load\", function () {
  762.             window.cookieconsent.initialise({
  763.                 \"palette\": {
  764.                     \"popup\": {
  765.                         \"text\": \"#ffffff\",
  766.                         \"background\": \"#000000\",
  767.                     },
  768.                     \"button\": {
  769.                         \"text\": \"#ffffff\",
  770.                         \"background\": \"#FA6401\",
  771.                     }
  772.                 },
  773.                 \"content\": {
  774.                     \"message\": \"{{ 'Nous utilisons des cookies et d\\'autres technologies pour assurer à tous les utilisateurs de ce site internet la meilleure expérience possible.' |trans }} {{ 'En accédant à ce site, vous acceptez notre politique de cookies.'}}\",
  775.                     \"dismiss\": \"{{ 'J\\'accepte' |trans }}\",
  776.                     \"link\": \"{{ 'En savoir plus' |trans }}\",
  777.                     \"href\": \"{% if document.getProperty('politiqueDeConfidentialite') %} {{ document.getProperty('politiqueDeConfidentialite') }} {% endif %}\"
  778.                 }
  779.             })
  780.         });
  781.     </script>
  782. {% endif %}
  783. </body>
  784. </html>""layout.html.twig""/data/sites/web/plugthejackcom/subsites/ptj.apik-pp.be/templates/layout.html.twig");
  785.     }
  786. }