var/cache/dev/twig/e2/e29fea0bea3657f2feedff5f1b12140b.php line 40

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_ef9f4c6bf10d094d4664ecbe6eabc4dc 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.             'layout_head_meta' => [$this, 'block_layout_head_meta'],
  25.             'head_stylesheets' => [$this, 'block_head_stylesheets'],
  26.             'stylesheets' => [$this, 'block_stylesheets'],
  27.             'javascripts' => [$this, 'block_javascripts'],
  28.         ];
  29.         $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
  30.         $this->checkSecurity();
  31.         $this->deferred = $this->env->getExtension('Twig\DeferredExtension\DeferredExtension');
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros = $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layout.html.twig"));
  40.         // line 1
  41.         echo "<!DOCTYPE html>
  42. <html lang=\"";
  43.         // line 2
  44.         echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, true, 2), "locale", [], "any", false, false, true, 2), 2, $this->source), "html", null, true);
  45.         echo "\">
  46. <head>
  47.     <meta charset=\"UTF-8\">
  48.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />
  49.     <!-- Google Tag Manager -->
  50.     <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  51.     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  52.     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  53.     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  54.     })(window,document,'script','dataLayer','GTM-5F738HV');</script>
  55.     <!-- End Google Tag Manager -->
  56.     ";
  57.         // line 15
  58.         ob_start();
  59.         // line 16
  60.         echo "        ";
  61.         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.', 16, $this->source); })()))) {
  62.             // line 17
  63.             echo "            ";
  64.             $context["document"] = Pimcore\Model\Document::getById(1);
  65.             // line 18
  66.             echo "        ";
  67.         }
  68.         // line 19
  69.         echo "
  70.         ";
  71.         // line 20
  72.         if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 20, $this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
  73.             // line 21
  74.             echo "            ";
  75.             // line 22
  76.             echo "            ";
  77.             $context["document"] = 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.', 22, $this->source); })()), "getObject", [], "method", false, false, true, 22);
  78.             // line 23
  79.             echo "        ";
  80.         }
  81.         // line 24
  82.         echo "
  83.         ";
  84.         // line 25
  85.         if ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 25, $this->source); })()), "\\Pimcore\\Model\\Document\\Page")) {
  86.             // line 26
  87.             echo "            ";
  88.             if ( !twig_test_empty(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.', 26, $this->source); })()), "getTitle", [], "method", false, false, true, 26))) {
  89.                 // line 27
  90.                 echo "                ";
  91.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "set", [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.', 27, $this->source); })()), "getTitle", [], "method", false, false, true, 27)], "method", false, false, true, 27);
  92.                 // line 28
  93.                 echo "            ";
  94.             }
  95.             // line 29
  96.             echo "
  97.             ";
  98.             // line 30
  99.             if ( !twig_test_empty(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.', 30, $this->source); })()), "getDescription", [], "method", false, false, true, 30))) {
  100.                 // line 31
  101.                 echo "                ";
  102.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "setDescription", [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.', 31, $this->source); })()), "getDescription", [], "method", false, false, true, 31)], "method", false, false, true, 31);
  103.                 // line 32
  104.                 echo "            ";
  105.             }
  106.             // line 33
  107.             echo "
  108.             ";
  109.             // line 34
  110.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "append", [" Devlieger Filip"], "method", false, false, true, 34);
  111.             // line 35
  112.             echo "            ";
  113.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [" | "], "method", false, false, true, 35);
  114.             // line 36
  115.             echo "        ";
  116.         }
  117.         // line 37
  118.         echo "    ";
  119.         $___internal_parse_0_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
  120.         // line 15
  121.         echo twig_spaceless($___internal_parse_0_);
  122.         // line 38
  123.         echo "
  124.     ";
  125.         // line 39
  126.         $this->displayBlock('layout_head_meta', $context, $blocks);
  127.         // line 59
  128.         echo "
  129.     ";
  130.         // line 60
  131.         $this->displayBlock('head_stylesheets', $context, $blocks);
  132.         // line 64
  133.         echo "
  134.     ";
  135.         // line 65
  136.         $___internal_parse_1_ = ('' === $tmp = "    <style type=\"text/css\">
  137.         .overlay, .ntr-cookies.hidden { opacity: 0; pointer-events: none; }
  138.     </style>
  139.     ") ? '' : new Markup($tmp, $this->env->getCharset());
  140.         echo twig_spaceless($___internal_parse_1_);
  141.         // line 70
  142.         echo "
  143.     ";
  144.         // line 71
  145.         $this->displayBlock('stylesheets', $context, $blocks);
  146.         // line 75
  147.         echo "    
  148.     ";
  149.         // line 77
  150.         ob_start();
  151.         // line 78
  152.         echo "    ";
  153.         echo $this->extensions['Pentatrion\ViteBundle\Twig\EntryFilesTwigExtension']->renderViteScriptTags("priority-js");
  154.         echo "
  155.     ";
  156.         $___internal_parse_2_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
  157.         // line 77
  158.         echo twig_spaceless($___internal_parse_2_);
  159.         // line 80
  160.         echo "</head>
  161. <body>
  162.     <!-- Google Tag Manager (noscript) -->
  163.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5F738HV\"
  164.     height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  165.     <!-- End Google Tag Manager (noscript) -->
  166.     <div id=\"site\">
  167.         ";
  168.         // line 88
  169.         $this->loadTemplate("includes/header.html.twig", "layout.html.twig", 88)->display($context);
  170.         // line 89
  171.         echo "
  172.         ";
  173.         // line 90
  174.         $this->displayBlock("content", $context, $blocks);
  175.         echo "
  176.         ";
  177.         // line 92
  178.         $this->loadTemplate("includes/footer.html.twig", "layout.html.twig", 92)->display($context);
  179.         // line 93
  180.         echo "        ";
  181.         $this->loadTemplate("includes/ntriga-cookies.html.twig", "layout.html.twig", 93)->display($context);
  182.         // line 94
  183.         echo "
  184.         <ranking-info-modal></ranking-info-modal>
  185.     </div>
  186.     ";
  187.         // line 101
  188.         echo "    ";
  189.         if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 101, $this->source); })())) {
  190.             // line 102
  191.             echo "        ";
  192.             $context["popup"] = $this->extensions['App\Twig\Extension\GeneralExtension']->getPopupSnippet($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 102, $this->source); })()), "request", [], "any", false, false, true, 102), "locale", [], "any", false, false, true, 102), 102, $this->source));
  193.             // line 103
  194.             echo "        ";
  195.             if ((isset($context["popup"]) || array_key_exists("popup", $context) ? $context["popup"] : (function () { throw new RuntimeError('Variable "popup" does not exist.', 103, $this->source); })())) {
  196.                 // line 104
  197.                 echo "            <div class=\"modal fade\" id=\"site-popup\" data-popup-key=\"";
  198.                 echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["popup"]) || array_key_exists("popup", $context) ? $context["popup"] : (function () { throw new RuntimeError('Variable "popup" does not exist.', 104, $this->source); })()), "modificationDate", [], "any", false, false, true, 104), 104, $this->source), "html", null, true);
  199.                 echo "\" tabindex=\"-1\" aria-hidden=\"true\">
  200.                 <div class=\"modal-dialog modal-dialog-centered modal-dialog-scrollable modal-lg\">
  201.                     <div class=\"modal-content\">
  202.                         <div class=\"modal-header\">
  203.                             ";
  204.                 // line 108
  205.                 $context["popupTitle"] = twig_get_attribute($this->env, $this->source, (isset($context["popup"]) || array_key_exists("popup", $context) ? $context["popup"] : (function () { throw new RuntimeError('Variable "popup" does not exist.', 108, $this->source); })()), "getEditable", ["popupTitle"], "method", false, false, true, 108);
  206.                 // line 109
  207.                 echo "                            ";
  208.                 if (( !(null === (isset($context["popupTitle"]) || array_key_exists("popupTitle", $context) ? $context["popupTitle"] : (function () { throw new RuntimeError('Variable "popupTitle" does not exist.', 109, $this->source); })())) && twig_get_attribute($this->env, $this->source, (isset($context["popupTitle"]) || array_key_exists("popupTitle", $context) ? $context["popupTitle"] : (function () { throw new RuntimeError('Variable "popupTitle" does not exist.', 109, $this->source); })()), "getData", [], "method", false, false, true, 109))) {
  209.                     // line 110
  210.                     echo "                                <h2 class=\"modal-title\">";
  211.                     echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["popupTitle"]) || array_key_exists("popupTitle", $context) ? $context["popupTitle"] : (function () { throw new RuntimeError('Variable "popupTitle" does not exist.', 110, $this->source); })()), "getData", [], "method", false, false, true, 110), 110, $this->source), "html", null, true);
  212.                     echo "</h2>
  213.                             ";
  214.                 }
  215.                 // line 112
  216.                 echo "                            <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Sluiten\"></button>
  217.                         </div>
  218.                         <div class=\"modal-body\">
  219.                             ";
  220.                 // line 115
  221.                 echo $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["popup"]) || array_key_exists("popup", $context) ? $context["popup"] : (function () { throw new RuntimeError('Variable "popup" does not exist.', 115, $this->source); })()), 115, $this->source));
  222.                 echo "
  223.                         </div>
  224.                     </div>
  225.                 </div>
  226.             </div>
  227.         ";
  228.             }
  229.             // line 121
  230.             echo "    ";
  231.         }
  232.         // line 122
  233.         echo "
  234.     <script>
  235.         window.loginPath = \"";
  236.         // line 124
  237.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account-login");
  238.         echo "\";
  239.     </script>
  240.     ";
  241.         // line 127
  242.         $this->displayBlock('javascripts', $context, $blocks);
  243.         // line 132
  244.         echo "
  245.     ";
  246.         // line 140
  247.         echo "</body>
  248. </html>";
  249.         
  250.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  251.         
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  253.         $this->deferred->resolve($this, $context, $blocks);
  254.     }
  255.     public function block_layout_head_meta($context, array $blocks = [])
  256.     {
  257.         $this->deferred->defer($this, 'layout_head_meta');
  258.     }
  259.     // line 39
  260.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  261.     {
  262.         $macros = $this->macros;
  263.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  264.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
  265.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  266.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
  267.         // line 40
  268.         echo "        ";
  269.         echo $this->env->getFunction('pimcore_head_title')->getCallable()();
  270.         echo "
  271.         ";
  272.         // line 41
  273.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  274.         echo "
  275.         ";
  276.         // line 43
  277.         if ((isset($context["robots_noindex"]) || array_key_exists("robots_noindex", $context) ? $context["robots_noindex"] : (function () { throw new RuntimeError('Variable "robots_noindex" does not exist.', 43, $this->source); })())) {
  278.             // line 44
  279.             echo "            <meta name=\"robots\" content=\"noindex, nofollow\">
  280.         ";
  281.         }
  282.         // line 46
  283.         echo "
  284.         ";
  285.         // line 47
  286.         if (twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical"), "count", [], "method", false, false, true, 47)) {
  287.             // line 48
  288.             echo "            <link rel=\"canonical\" href=\"";
  289.             echo $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical");
  290.             echo "\"/>
  291.         ";
  292.         }
  293.         // line 50
  294.         echo "        
  295.         <link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"/apple-touch-icon.png\">
  296.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">
  297.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">
  298.         <link rel=\"manifest\" href=\"/site.webmanifest\">
  299.         <link rel=\"mask-icon\" href=\"/safari-pinned-tab.svg\" color=\"#00bdff\">
  300.         <meta name=\"msapplication-TileColor\" content=\"#ffffff\">
  301.         <meta name=\"theme-color\" content=\"#ffffff\">
  302.     ";
  303.         
  304.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  305.         
  306.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  307.         $this->deferred->resolve($this, $context, $blocks);
  308.     }
  309.     public function block_head_stylesheets($context, array $blocks = [])
  310.     {
  311.         $this->deferred->defer($this, 'head_stylesheets');
  312.     }
  313.     // line 60
  314.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  315.     {
  316.         $macros = $this->macros;
  317.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  318.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
  319.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  320.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
  321.         // line 61
  322.         echo "        ";
  323.         twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", ["https://use.typekit.net/jxe3bib.css"], "method", false, false, true, 61);
  324.         // line 62
  325.         echo "        ";
  326.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  327.         echo "
  328.     ";
  329.         
  330.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  331.         
  332.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  333.         $this->deferred->resolve($this, $context, $blocks);
  334.     }
  335.     // line 71
  336.     public function block_stylesheets($context, array $blocks = [])
  337.     {
  338.         $macros = $this->macros;
  339.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  340.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  341.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  342.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  343.         // line 72
  344.         echo "        ";
  345.         echo $this->extensions['Pentatrion\ViteBundle\Twig\EntryFilesTwigExtension']->renderViteLinkTags("app-css");
  346.         echo "
  347.         ";
  348.         // line 73
  349.         echo $this->extensions['Pentatrion\ViteBundle\Twig\EntryFilesTwigExtension']->renderViteLinkTags("app-js");
  350.         echo "
  351.     ";
  352.         
  353.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  354.         
  355.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  356.     }
  357.     // line 127
  358.     public function block_javascripts($context, array $blocks = [])
  359.     {
  360.         $macros = $this->macros;
  361.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  362.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  363.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  364.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  365.         // line 128
  366.         echo "        ";
  367.         if ( !(isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 128, $this->source); })())) {
  368.             // line 129
  369.             echo "        ";
  370.             echo $this->extensions['Pentatrion\ViteBundle\Twig\EntryFilesTwigExtension']->renderViteScriptTags("app-js");
  371.             echo "
  372.         ";
  373.         }
  374.         // line 131
  375.         echo "    ";
  376.         
  377.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  378.         
  379.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  380.     }
  381.     public function getTemplateName()
  382.     {
  383.         return "layout.html.twig";
  384.     }
  385.     public function isTraitable()
  386.     {
  387.         return false;
  388.     }
  389.     public function getDebugInfo()
  390.     {
  391.         return array (  414 => 131,  408 => 129,  405 => 128,  395 => 127,  383 => 73,  378 => 72,  368 => 71,  354 => 62,  351 => 61,  341 => 60,  317 => 50,  311 => 48,  309 => 47,  306 => 46,  302 => 44,  300 => 43,  295 => 41,  290 => 40,  280 => 39,  263 => 140,  260 => 132,  258 => 127,  252 => 124,  248 => 122,  245 => 121,  236 => 115,  231 => 112,  225 => 110,  222 => 109,  220 => 108,  212 => 104,  209 => 103,  206 => 102,  203 => 101,  197 => 94,  194 => 93,  192 => 92,  187 => 90,  184 => 89,  182 => 88,  172 => 80,  170 => 77,  164 => 78,  162 => 77,  158 => 75,  156 => 71,  153 => 70,  147 => 65,  144 => 64,  142 => 60,  139 => 59,  137 => 39,  134 => 38,  132 => 15,  129 => 37,  126 => 36,  123 => 35,  121 => 34,  118 => 33,  115 => 32,  112 => 31,  110 => 30,  107 => 29,  104 => 28,  101 => 27,  98 => 26,  96 => 25,  93 => 24,  90 => 23,  87 => 22,  85 => 21,  83 => 20,  80 => 19,  77 => 18,  74 => 17,  71 => 16,  69 => 15,  53 => 2,  50 => 1,);
  392.     }
  393.     public function getSourceContext()
  394.     {
  395.         return new Source("<!DOCTYPE html>
  396. <html lang=\"{{ app.request.locale }}\">
  397. <head>
  398.     <meta charset=\"UTF-8\">
  399.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />
  400.     <!-- Google Tag Manager -->
  401.     <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  402.     new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  403.     j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  404.     'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  405.     })(window,document,'script','dataLayer','GTM-5F738HV');</script>
  406.     <!-- End Google Tag Manager -->
  407.     {% apply spaceless %}
  408.         {% if not document is defined or not document %}
  409.             {% set document = pimcore_document(1) %}
  410.         {% endif %}
  411.         {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
  412.             {# @var document \\Pimcore\\Model\\Document\\Link #}
  413.             {% set document = document.getObject() %}
  414.         {% endif %}
  415.         {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
  416.             {% if document.getTitle() is not empty %}
  417.                 {% do pimcore_head_title().set(document.getTitle()) %}
  418.             {% endif %}
  419.             {% if document.getDescription() is not empty %}
  420.                 {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  421.             {% endif %}
  422.             {% do pimcore_head_title().append(' Devlieger Filip') %}
  423.             {% do pimcore_head_title().setSeparator(' | ') %}
  424.         {% endif %}
  425.     {% endapply %}
  426.     {% block layout_head_meta deferred %}
  427.         {{ pimcore_head_title() }}
  428.         {{ pimcore_head_meta() }}
  429.         {% if robots_noindex %}
  430.             <meta name=\"robots\" content=\"noindex, nofollow\">
  431.         {% endif %}
  432.         {% if pimcore_placeholder('canonical').count() %}
  433.             <link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/>
  434.         {% endif %}
  435.         
  436.         <link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"/apple-touch-icon.png\">
  437.         <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/favicon-32x32.png\">
  438.         <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/favicon-16x16.png\">
  439.         <link rel=\"manifest\" href=\"/site.webmanifest\">
  440.         <link rel=\"mask-icon\" href=\"/safari-pinned-tab.svg\" color=\"#00bdff\">
  441.         <meta name=\"msapplication-TileColor\" content=\"#ffffff\">
  442.         <meta name=\"theme-color\" content=\"#ffffff\">
  443.     {% endblock %}
  444.     {% block head_stylesheets deferred %}
  445.         {% do pimcore_head_link().appendStylesheet('https://use.typekit.net/jxe3bib.css') %}
  446.         {{ pimcore_head_link() }}
  447.     {% endblock %}
  448.     {% apply spaceless %}
  449.     <style type=\"text/css\">
  450.         .overlay, .ntr-cookies.hidden { opacity: 0; pointer-events: none; }
  451.     </style>
  452.     {% endapply %}
  453.     {% block stylesheets %}
  454.         {{ vite_entry_link_tags('app-css') }}
  455.         {{ vite_entry_link_tags('app-js') }}
  456.     {% endblock %}
  457.     
  458.     {% apply spaceless %}
  459.     {{ vite_entry_script_tags('priority-js') }}
  460.     {% endapply %}
  461. </head>
  462. <body>
  463.     <!-- Google Tag Manager (noscript) -->
  464.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5F738HV\"
  465.     height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  466.     <!-- End Google Tag Manager (noscript) -->
  467.     <div id=\"site\">
  468.         {% include 'includes/header.html.twig' %}
  469.         {{ block('content') }}
  470.         {% include 'includes/footer.html.twig' %}
  471.         {% include 'includes/ntriga-cookies.html.twig' %}
  472.         <ranking-info-modal></ranking-info-modal>
  473.     </div>
  474.     {# Site pop-up: content managed in the /{locale}/snippets/popup snippet.
  475.        Shown on every page while that snippet is published. Kept OUTSIDE #site so
  476.        Vue (mounted on #site) never compiles the editor-managed content. #}
  477.     {% if not editmode %}
  478.         {% set popup = app_get_popup_snippet(app.request.locale) %}
  479.         {% if popup %}
  480.             <div class=\"modal fade\" id=\"site-popup\" data-popup-key=\"{{ popup.modificationDate }}\" tabindex=\"-1\" aria-hidden=\"true\">
  481.                 <div class=\"modal-dialog modal-dialog-centered modal-dialog-scrollable modal-lg\">
  482.                     <div class=\"modal-content\">
  483.                         <div class=\"modal-header\">
  484.                             {% set popupTitle = popup.getEditable('popupTitle') %}
  485.                             {% if popupTitle is not null and popupTitle.getData() %}
  486.                                 <h2 class=\"modal-title\">{{ popupTitle.getData() }}</h2>
  487.                             {% endif %}
  488.                             <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Sluiten\"></button>
  489.                         </div>
  490.                         <div class=\"modal-body\">
  491.                             {{ pimcore_inc(popup) }}
  492.                         </div>
  493.                     </div>
  494.                 </div>
  495.             </div>
  496.         {% endif %}
  497.     {% endif %}
  498.     <script>
  499.         window.loginPath = \"{{ path('account-login') }}\";
  500.     </script>
  501.     {% block javascripts %}
  502.         {% if not editmode %}
  503.         {{ vite_entry_script_tags('app-js') }}
  504.         {% endif %}
  505.     {% endblock %}
  506.     {#
  507.     {% do pimcore_inline_script().appendFile('/bundles/ntrigafront/assets/frontbundle.umd.js') %}
  508.     {% block inlinescripts deferred %}
  509.         {{ pimcore_inline_script() }}
  510.     {% endblock %}
  511.     #}
  512. </body>
  513. </html>", "layout.html.twig", "/data/sites/web/devliegerfilipbe/subsites/dev.devliegerfilip.dspdev.be/templates/layout.html.twig");
  514.     }
  515.     
  516.     public function checkSecurity()
  517.     {
  518.         static $tags = array("apply" => 15, "if" => 16, "set" => 17, "do" => 27, "block" => 39, "include" => 88);
  519.         static $filters = array("escape" => 2, "spaceless" => 15);
  520.         static $functions = array("pimcore_document" => 17, "pimcore_head_title" => 27, "pimcore_head_meta" => 31, "vite_entry_script_tags" => 78, "app_get_popup_snippet" => 102, "pimcore_inc" => 115, "path" => 124, "pimcore_placeholder" => 47, "pimcore_head_link" => 61, "vite_entry_link_tags" => 72);
  521.         try {
  522.             $this->sandbox->checkSecurity(
  523.                 ['apply', 'if', 'set', 'do', 'block', 'include'],
  524.                 ['escape', 'spaceless'],
  525.                 ['pimcore_document', 'pimcore_head_title', 'pimcore_head_meta', 'vite_entry_script_tags', 'app_get_popup_snippet', 'pimcore_inc', 'path', 'pimcore_placeholder', 'pimcore_head_link', 'vite_entry_link_tags']
  526.             );
  527.         } catch (SecurityError $e) {
  528.             $e->setSourceContext($this->source);
  529.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  530.                 $e->setTemplateLine($tags[$e->getTagName()]);
  531.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  532.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  533.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  534.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  535.             }
  536.             throw $e;
  537.         }
  538.     }
  539.     private $deferred;
  540. }