var/cache/dev/twig/24/2469b32071d33ccaa472bfd68d4b8b73.php line 236

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_8ea0f51449938e9c41a319bead3a2f24 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.             'head_stylesheets_footer' => [$this'block_head_stylesheets_footer'],
  26.             'content' => [$this'block_content'],
  27.             'headscripts' => [$this'block_headscripts'],
  28.             'inlinescripts' => [$this'block_inlinescripts'],
  29.             'snippetscripts' => [$this'block_snippetscripts'],
  30.         ];
  31.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  32.         $this->checkSecurity();
  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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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->env$this->sandbox->ensureToStringAllowed(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.'3$this->source); })()), "request", [], "any"falsefalsetrue3), "locale", [], "any"falsefalsetrue3), 3$this->source), "html"nulltrue);
  48.         echo "\">
  49. <head>
  50.     
  51.     ";
  52.         // line 7
  53.         $this->loadTemplate("head/metas.html.twig""layout.html.twig"7)->display($context);
  54.         // line 8
  55.         echo "
  56.     ";
  57.         // line 9
  58.         if (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide") == false)) {
  59.             // line 10
  60.             echo "        ";
  61.             $this->loadTemplate("head/cookiebot-head.html.twig""layout.html.twig"10)->display($context);
  62.             // line 11
  63.             echo "    ";
  64.         }
  65.         // line 12
  66.         echo "
  67.     ";
  68.         // line 20
  69.         echo "    ";
  70.         ob_start();
  71.         // line 21
  72.         echo "        ";
  73.         // line 22
  74.         echo "        ";
  75.         // line 23
  76.         echo "        
  77.         ";
  78.         // line 24
  79.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> "https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/css/uikit.min.css"], "method"falsefalsetrue24);
  80.         // line 25
  81.         echo "
  82.         ";
  83.         // line 26
  84.         if (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide") == true)) {
  85.             // line 27
  86.             echo "            ";
  87.             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"falsefalsetrue27);
  88.             // line 28
  89.             echo "        ";
  90.         }
  91.         // line 29
  92.         echo "
  93.         ";
  94.         // line 30
  95.         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/noUiSlider/nouislider.min.css")], "method"falsefalsetrue30);
  96.         // line 31
  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/css/application.min.css")], "method"falsefalsetrue31);
  99.         // line 32
  100.         echo "        ";
  101.         // line 33
  102.         echo "
  103.         ";
  104.         // line 35
  105.         echo "        ";
  106.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [=> "https://use.typekit.net/adn7fjm.css"], "method"falsefalsetrue35);
  107.         // line 36
  108.         echo "
  109.         ";
  110.         // line 38
  111.         echo "        <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  112.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  113.         <link href=\"https://fonts.googleapis.com/css2?family=Geologica:wght@100;200;300;400;500;600;700;800;900&display=swap\" rel=\"stylesheet\">
  114.         ";
  115.         // line 42
  116.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> "https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/js/uikit.min.js"], "method"falsefalsetrue42);
  117.         // line 43
  118.         echo "        ";
  119.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [=> "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"], "method"falsefalsetrue43);
  120.         // line 44
  121.         echo "
  122.         ";
  123.         // line 45
  124.         if (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide") == true)) {
  125.             // line 46
  126.             echo "            ";
  127.             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"falsefalsetrue46);
  128.             // line 47
  129.             echo "        ";
  130.         }
  131.         // line 48
  132.         echo "
  133.         ";
  134.         // line 49
  135.         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/noUiSlider/nouislider.min.js")], "method"falsefalsetrue49);
  136.         // line 50
  137.         echo "        ";
  138.         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/noUiSlider/wNumb.min.js")], "method"falsefalsetrue50);
  139.         // line 51
  140.         echo "        ";
  141.         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"falsefalsetrue51);
  142.         // line 52
  143.         echo "        ";
  144.         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/main.js")], "method"falsefalsetrue52);
  145.         // line 53
  146.         echo "    ";
  147.         $___internal_parse_1_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  148.         // line 20
  149.         echo twig_spaceless($___internal_parse_1_);
  150.         // line 54
  151.         echo "
  152.     ";
  153.         // line 56
  154.         echo "
  155.     ";
  156.         // line 57
  157.         $this->displayBlock('head_stylesheets'$context$blocks);
  158.         // line 60
  159.         echo "
  160.     ";
  161.         // line 62
  162.         echo "
  163.     ";
  164.         // line 63
  165.         $this->displayBlock('head_stylesheets_footer'$context$blocks);
  166.         // line 66
  167.         echo "
  168.     ";
  169.         // line 67
  170.         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.'67$this->source); })()))) {
  171.             // line 68
  172.             echo "        ";
  173.             $context["document"] = Pimcore\Model\Document::getById(1);
  174.             // line 69
  175.             echo "    ";
  176.         }
  177.         // line 70
  178.         echo "
  179.     ";
  180.         // line 72
  181.         echo "    
  182.     <link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"/static/img/favicon/apple-touch-icon.png\">
  183.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
  184.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
  185.     <link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
  186.     <link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  187.     <link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
  188.     <meta name=\"msapplication-TileColor\" content=\"#ffffff\">
  189.     <meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
  190.     <meta name=\"theme-color\" content=\"#ffffff\">
  191. </head>
  192. <body class=\"";
  193.         // line 85
  194.         echo (((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'85$this->source); })())) ? ("apk-cms-pimcore") : (""));
  195.         echo "\">
  196. ";
  197.         // line 89
  198.         if (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Your website name") == "Your website name")) {
  199.             // line 90
  200.             echo "    ";
  201.             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>";
  202.             echo "
  203. ";
  204.         }
  205.         // line 92
  206.         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.'92$this->source); })()), "hasProperty", [=> "politiqueDeConfidentialite"], "method"falsefalsetrue92)) {
  207.             // line 93
  208.             echo "    ";
  209.             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>";
  210.             echo "
  211. ";
  212.         }
  213.         // line 95
  214.         echo "
  215. ";
  216.         // line 97
  217.         $this->loadTemplate("includes/header.html.twig""layout.html.twig"97)->display($context);
  218.         // line 98
  219.         echo "
  220. ";
  221.         // line 99
  222.         $this->displayBlock('content'$context$blocks);
  223.         // line 100
  224.         echo "
  225. ";
  226.         // line 102
  227.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'102$this->source); })())) {
  228.             // line 103
  229.             echo "    ";
  230.             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.'103$this->source); })()), "request", [], "any"falsefalsetrue103), "locale", [], "any"falsefalsetrue103)) . "/Snippets/footer"))) {
  231.                 // line 104
  232.                 echo "        ";
  233.                 echo $this->env->getFunction('pimcore_inc')->getCallable()((("/" $this->sandbox->ensureToStringAllowed(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.'104$this->source); })()), "request", [], "any"falsefalsetrue104), "locale", [], "any"falsefalsetrue104), 104$this->source)) . "/Snippets/footer"));
  234.                 echo "
  235.     ";
  236.             } else {
  237.                 // line 106
  238.                 echo "        ";
  239.                 echo "<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>";
  240.                 echo "
  241.     ";
  242.             }
  243.         }
  244.         // line 109
  245.         echo "
  246. ";
  247.         // line 111
  248.         $this->displayBlock('headscripts'$context$blocks);
  249.         // line 114
  250.         echo "
  251. ";
  252.         // line 116
  253.         $this->displayBlock('inlinescripts'$context$blocks);
  254.         // line 119
  255.         echo "
  256. ";
  257.         // line 121
  258.         $this->displayBlock('snippetscripts'$context$blocks);
  259.         // line 124
  260.         echo "
  261. ";
  262.         // line 125
  263.         if (($this->extensions['Pimcore\Twig\Extension\WebsiteConfigExtension']->getWebsiteConfig("cookiebotHide") == true)) {
  264.             // line 126
  265.             echo "    <script>
  266.     window.addEventListener(\"load\", function () {
  267.         window.cookieconsent.initialise({
  268.             \"palette\": {
  269.                 \"popup\": {
  270.                     \"text\": \"#ffffff\",
  271.                     \"background\": \"#F2510C\",
  272.                 },
  273.                 \"button\": {
  274.                     \"text\": \"#F2510C\",
  275.                     \"background\": \"#ffffff\",
  276.                 }
  277.             },
  278.             \"content\": {
  279.                 \"message\": \"";
  280.             // line 140
  281.             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);
  282.             echo " ";
  283.             echo "En accédant à ce site, vous acceptez notre politique de cookies.";
  284.             echo "\",
  285.                 \"dismiss\": \"";
  286.             // line 141
  287.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("J'accepte"), "html"nulltrue);
  288.             echo "\",
  289.                 \"link\": \"";
  290.             // line 142
  291.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("En savoir plus"), "html"nulltrue);
  292.             echo "\",
  293.                 \"href\": \"";
  294.             // line 143
  295.             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.'143$this->source); })()), "getProperty", [=> "politiqueDeConfidentialite"], "method"falsefalsetrue143)) {
  296.                 echo " ";
  297.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'143$this->source); })()), "getProperty", [=> "politiqueDeConfidentialite"], "method"falsefalsetrue143), 143$this->source), "html"nulltrue);
  298.                 echo " ";
  299.             }
  300.             echo "\"
  301.             }
  302.         })
  303.     });
  304.     </script>
  305. ";
  306.         }
  307.         // line 149
  308.         echo "
  309. </body>
  310. </html>";
  311.         
  312.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  313.         
  314.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  315.         $this->deferred->resolve($this$context$blocks);
  316.     }
  317.     public function block_head_stylesheets($context, array $blocks = [])
  318.     {
  319.         $this->deferred->defer($this'head_stylesheets');
  320.     }
  321.     // line 57
  322.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  323.     {
  324.         $macros $this->macros;
  325.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  326.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  327.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  328.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  329.         // line 58
  330.         echo "        ";
  331.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  332.         echo "
  333.     ";
  334.         
  335.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  336.         
  337.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  338.         $this->deferred->resolve($this$context$blocks);
  339.     }
  340.     public function block_head_stylesheets_footer($context, array $blocks = [])
  341.     {
  342.         $this->deferred->defer($this'head_stylesheets_footer');
  343.     }
  344.     // line 63
  345.     public function block_head_stylesheets_footer_deferred($context, array $blocks = [])
  346.     {
  347.         $macros $this->macros;
  348.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  349.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets_footer"));
  350.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  351.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets_footer"));
  352.         // line 64
  353.         echo "        
  354.     ";
  355.         
  356.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  357.         
  358.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  359.         $this->deferred->resolve($this$context$blocks);
  360.     }
  361.     // line 99
  362.     public function block_content($context, array $blocks = [])
  363.     {
  364.         $macros $this->macros;
  365.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  366.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  367.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  368.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  369.         
  370.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  371.         
  372.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  373.     }
  374.     // line 111
  375.     public function block_headscripts($context, array $blocks = [])
  376.     {
  377.         $macros $this->macros;
  378.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  379.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  380.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  381.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  382.         // line 112
  383.         echo "    ";
  384.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  385.         echo "
  386. ";
  387.         
  388.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  389.         
  390.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  391.     }
  392.     // line 116
  393.     public function block_inlinescripts($context, array $blocks = [])
  394.     {
  395.         $macros $this->macros;
  396.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  397.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  398.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  399.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  400.         // line 117
  401.         echo "
  402. ";
  403.         
  404.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  405.         
  406.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  407.     }
  408.     // line 121
  409.     public function block_snippetscripts($context, array $blocks = [])
  410.     {
  411.         $macros $this->macros;
  412.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  413.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""snippetscripts"));
  414.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  415.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""snippetscripts"));
  416.         // line 122
  417.         echo "
  418. ";
  419.         
  420.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  421.         
  422.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  423.     }
  424.     public function getTemplateName()
  425.     {
  426.         return "layout.html.twig";
  427.     }
  428.     public function isTraitable()
  429.     {
  430.         return false;
  431.     }
  432.     public function getDebugInfo()
  433.     {
  434.         return array (  465 => 122,  455 => 121,  444 => 117,  434 => 116,  421 => 112,  411 => 111,  393 => 99,  381 => 64,  371 => 63,  352 => 58,  342 => 57,  324 => 149,  311 => 143,  307 => 142,  303 => 141,  297 => 140,  281 => 126,  279 => 125,  276 => 124,  274 => 121,  270 => 119,  268 => 116,  264 => 114,  262 => 111,  259 => 109,  252 => 106,  246 => 104,  243 => 103,  241 => 102,  238 => 100,  236 => 99,  233 => 98,  231 => 97,  228 => 95,  222 => 93,  220 => 92,  214 => 90,  212 => 89,  207 => 85,  192 => 72,  189 => 70,  186 => 69,  183 => 68,  181 => 67,  178 => 66,  176 => 63,  173 => 62,  170 => 60,  168 => 57,  165 => 56,  162 => 54,  160 => 20,  157 => 53,  154 => 52,  151 => 51,  148 => 50,  146 => 49,  143 => 48,  140 => 47,  137 => 46,  135 => 45,  132 => 44,  129 => 43,  127 => 42,  121 => 38,  118 => 36,  115 => 35,  112 => 33,  110 => 32,  107 => 31,  105 => 30,  102 => 29,  99 => 28,  96 => 27,  94 => 26,  91 => 25,  89 => 24,  86 => 23,  84 => 22,  82 => 21,  79 => 20,  76 => 12,  73 => 11,  70 => 10,  68 => 9,  65 => 8,  63 => 7,  56 => 3,  52 => 1,);
  435.     }
  436.     public function getSourceContext()
  437.     {
  438.         return new Source("
  439. <!DOCTYPE html>
  440. <html dir=\"ltr\" lang=\"{{ app.request.locale }}\">
  441. <head>
  442.     
  443.     {% include \"head/metas.html.twig\" %}
  444.     {% if pimcore_website_config('cookiebotHide') == false %}
  445.         {% include \"head/cookiebot-head.html.twig\" %}
  446.     {% endif %}
  447.     {# 
  448.     Enregistre la liste des fichiers CSS et JS
  449.     
  450.     Attention:
  451.     Veillez à mettre à jour les adresses ci-dessous en remplacant la version par la dernière version disponible (jQuery,
  452.     Uikit, FontAwesome,...), et ce pour tous les fichiers layout[...].html.twig !
  453.     #}
  454.     {% apply spaceless %}
  455.         {# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
  456.         {# we use the view helper to have cache buster functionality #}
  457.         
  458.         {% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/css/uikit.min.css') %}
  459.         {% if pimcore_website_config('cookiebotHide') == true %}
  460.             {% do pimcore_head_link().appendStylesheet('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css') %}
  461.         {% endif %}
  462.         {% do pimcore_head_link().appendStylesheet(asset('/static/framework/noUiSlider/nouislider.min.css')) %}
  463.         {% do pimcore_head_link().appendStylesheet(asset('/static/css/application.min.css')) %}
  464.         {#% do pimcore_head_link().appendStylesheet(asset('/static/css/custom.css')) %#}
  465.         {# Adobe Font #}
  466.         {% do pimcore_head_link().appendStylesheet('https://use.typekit.net/adn7fjm.css') %}
  467.         {# Google Font #}
  468.         <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  469.         <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  470.         <link href=\"https://fonts.googleapis.com/css2?family=Geologica:wght@100;200;300;400;500;600;700;800;900&display=swap\" rel=\"stylesheet\">
  471.         {% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/uikit/3.5.7/js/uikit.min.js') %}
  472.         {% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js') %}
  473.         {% if pimcore_website_config('cookiebotHide') == true %}
  474.             {% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js') %}
  475.         {% endif %}
  476.         {% do pimcore_head_script().appendFile(asset('/static/framework/noUiSlider/nouislider.min.js')) %}
  477.         {% do pimcore_head_script().appendFile(asset('/static/framework/noUiSlider/wNumb.min.js')) %}
  478.         {% do pimcore_head_script().appendFile(asset('/static/js/apik.js')) %}
  479.         {% do pimcore_head_script().appendFile(asset('/static/js/main.js')) %}
  480.     {% endapply %}
  481.     {# Affiche les styles CSS personnalisés pour toutes les pages #}
  482.     {% block head_stylesheets deferred %}
  483.         {{ pimcore_head_link() }}
  484.     {% endblock %}
  485.     {# Affiche les styles CSS personnalisés propres au footer #}
  486.     {% block head_stylesheets_footer deferred %}
  487.         
  488.     {% endblock %}
  489.     {% if not document is defined or not document %}
  490.         {% set document = pimcore_document(1) %}
  491.     {% endif %}
  492.     {# Favicons (utilisez RealFaviconGenerator) #}
  493.     
  494.     <link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"/static/img/favicon/apple-touch-icon.png\">
  495.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/static/img/favicon/favicon-32x32.png\">
  496.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/static/img/favicon/favicon-16x16.png\">
  497.     <link rel=\"manifest\" href=\"/static/img/favicon/site.webmanifest\">
  498.     <link rel=\"mask-icon\" href=\"/static/img/favicon/safari-pinned-tab.svg\" color=\"#5bbad5\">
  499.     <link rel=\"shortcut icon\" href=\"/static/img/favicon/favicon.ico\">
  500.     <meta name=\"msapplication-TileColor\" content=\"#ffffff\">
  501.     <meta name=\"msapplication-config\" content=\"/static/img/favicon/browserconfig.xml\">
  502.     <meta name=\"theme-color\" content=\"#ffffff\">
  503. </head>
  504. <body class=\"{{ editmode ? \"apk-cms-pimcore\" : \"\" }}\">
  505. {# Vérifie si \"Your website name\" a bien été traduit. Si non, on affiche un message d'erreur #}
  506. {# Attention, il ne faut pas renommer le nom du site ici... Il faut le renommer dans les Shared Translations! #}
  507. {% if \"Your website name\"|trans == \"Your website name\" %}
  508.     {{ '<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>' }}
  509. {% endif %}
  510. {% if not document.hasProperty('politiqueDeConfidentialite') %}
  511.     {{ '<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>' }}
  512. {% endif %}
  513. {# Affiche le  header #}
  514. {% include \"includes/header.html.twig\" %}
  515. {% block content %}{% endblock %}
  516. {# Affiche le footer #}
  517. {% if not editmode %}
  518.     {% if pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/footer\") %}
  519.         {{ pimcore_inc(\"/\" ~ app.request.locale ~ \"/Snippets/footer\") }}
  520.     {% else %}
  521.         {{ '<p class=\"uk-alert-danger\" uk-alert>Vous avez oublié de mettre votre footer dans un snippet</p>' }}
  522.     {% endif %}
  523. {% endif %}
  524. {# output scripts added before #}
  525. {% block headscripts %}
  526.     {{ pimcore_head_script() }}
  527. {% endblock %}
  528. {% block inlinescripts  %}
  529. {% endblock %}
  530. {% block snippetscripts  %}
  531. {% endblock %}
  532. {% if pimcore_website_config('cookiebotHide') == true %}
  533.     <script>
  534.     window.addEventListener(\"load\", function () {
  535.         window.cookieconsent.initialise({
  536.             \"palette\": {
  537.                 \"popup\": {
  538.                     \"text\": \"#ffffff\",
  539.                     \"background\": \"#F2510C\",
  540.                 },
  541.                 \"button\": {
  542.                     \"text\": \"#F2510C\",
  543.                     \"background\": \"#ffffff\",
  544.                 }
  545.             },
  546.             \"content\": {
  547.                 \"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.'}}\",
  548.                 \"dismiss\": \"{{ 'J\\'accepte' |trans }}\",
  549.                 \"link\": \"{{ 'En savoir plus' |trans }}\",
  550.                 \"href\": \"{% if document.getProperty('politiqueDeConfidentialite') %} {{ document.getProperty('politiqueDeConfidentialite') }} {% endif %}\"
  551.             }
  552.         })
  553.     });
  554.     </script>
  555. {% endif %}
  556. </body>
  557. </html>""layout.html.twig""/var/www/youinvestify.apik-pp.be/www/templates/layout.html.twig");
  558.     }
  559.     
  560.     public function checkSecurity()
  561.     {
  562.         static $tags = array("include" => 7"if" => 9"apply" => 20"do" => 24"block" => 57"set" => 68);
  563.         static $filters = array("escape" => 3"spaceless" => 20"trans" => 89);
  564.         static $functions = array("pimcore_website_config" => 9"pimcore_head_link" => 24"asset" => 30"pimcore_head_script" => 42"pimcore_document" => 68"pimcore_inc" => 103);
  565.         try {
  566.             $this->sandbox->checkSecurity(
  567.                 ['include''if''apply''do''block''set'],
  568.                 ['escape''spaceless''trans'],
  569.                 ['pimcore_website_config''pimcore_head_link''asset''pimcore_head_script''pimcore_document''pimcore_inc']
  570.             );
  571.         } catch (SecurityError $e) {
  572.             $e->setSourceContext($this->source);
  573.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  574.                 $e->setTemplateLine($tags[$e->getTagName()]);
  575.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  576.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  577.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  578.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  579.             }
  580.             throw $e;
  581.         }
  582.     }
  583.     private $deferred;
  584. }