var/cache/dev/twig/70/70e63956ea44db41456d8d66e8ba3a89.php line 390

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. /* layouts/layout.html.twig */
  14. class __TwigTemplate_43aa5e7e6c4aec3e9972bd24dd9626ac 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.             'headscripts' => [$this'block_headscripts'],
  27.             'inlinescripts' => [$this'block_inlinescripts'],
  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""layouts/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""layouts/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->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.'2$this->source); })()), "request", [], "any"falsefalsetrue2), "locale", [], "any"falsefalsetrue2), 2$this->source), "html"nulltrue);
  45.         echo "\">
  46.     <head>
  47.         <!-- Required meta tags -->
  48.         <meta charset=\"utf-8\">
  49.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  50.         ";
  51.         // line 8
  52.         ob_start();
  53.         // line 9
  54.         echo "            ";
  55.         // line 10
  56.         echo "            ";
  57.         // line 11
  58.         echo "            ";
  59.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", ["https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap"], "method"falsefalsetrue11);
  60.         // line 12
  61.         echo "            ";
  62.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", ["https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"nullnull, ["integrity" => "sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T""crossorigin" => "anonymous"]], "method"falsefalsetrue12);
  63.         // line 13
  64.         echo "            ";
  65.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", ["https://use.fontawesome.com/releases/v5.9.0/css/all.css"], "method"falsefalsetrue13);
  66.         // line 14
  67.         echo "            ";
  68.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/magnific/magnific.css"), "screen"], "method"falsefalsetrue14);
  69.         // line 15
  70.         echo "            ";
  71.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/autocompletejs/css/autoComplete.css"), "screen"], "method"falsefalsetrue15);
  72.         // line 16
  73.         echo "            ";
  74.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", ["https://use.fontawesome.com/releases/v5.7.0/css/all.css"nullnull, ["integrity" => "sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ""crossorigin" => "anonymous"]], "method"falsefalsetrue16);
  75.         // line 17
  76.         echo "            ";
  77.         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/global.css")], "method"falsefalsetrue17);
  78.         // line 18
  79.         echo "            ";
  80.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'18$this->source); })())) {
  81.             // line 19
  82.             echo "                ";
  83.             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/editmode.css")], "method"falsefalsetrue19);
  84.             // line 20
  85.             echo "            ";
  86.         }
  87.         // line 21
  88.         echo "            ";
  89.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", ["https://code.jquery.com/jquery-3.3.1.slim.min.js"nullnull, ["integrity" => "sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo""crossorigin" => "anonymous"]], "method"falsefalsetrue21);
  90.         // line 22
  91.         echo "            ";
  92.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", ["https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"nullnull, ["integrity" => "sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1""crossorigin" => "anonymous"]], "method"falsefalsetrue22);
  93.         // line 23
  94.         echo "            ";
  95.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", ["https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"nullnull, ["integrity" => "sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM""crossorigin" => "anonymous"]], "method"falsefalsetrue23);
  96.         // line 24
  97.         echo "            ";
  98.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/magnific/magnific.js")], "method"falsefalsetrue24);
  99.         // line 25
  100.         echo "            ";
  101.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_script')->getCallable()(), "appendFile", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("static/lib/autocompletejs/js/autoComplete.min.js")], "method"falsefalsetrue25);
  102.         // line 26
  103.         echo "            ";
  104.         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/search-autocomplete.js")], "method"falsefalsetrue26);
  105.         // line 27
  106.         echo "            ";
  107.         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"falsefalsetrue27);
  108.         // line 28
  109.         echo "            ";
  110.         if ( !(isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'28$this->source); })())) {
  111.             // line 29
  112.             echo "                    ";
  113.             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/frontend.js")], "method"falsefalsetrue29);
  114.             // line 30
  115.             echo "            ";
  116.         }
  117.         // line 31
  118.         echo "
  119.             ";
  120.         // line 32
  121.         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.'32$this->source); })()))) {
  122.             // line 33
  123.             echo "                ";
  124.             $context["document"] = Pimcore\Model\Document::getById(1);
  125.             // line 34
  126.             echo "            ";
  127.         }
  128.         // line 35
  129.         echo "
  130.             ";
  131.         // line 36
  132.         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.'36$this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
  133.             // line 37
  134.             echo "                ";
  135.             // line 38
  136.             echo "                ";
  137.             $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.'38$this->source); })()), "getObject", [], "method"falsefalsetrue38);
  138.             // line 39
  139.             echo "            ";
  140.         }
  141.         // line 40
  142.         echo "
  143.             ";
  144.         // line 41
  145.         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.'41$this->source); })()), "getTitle", [], "method"falsefalsetrue41))) {
  146.             // line 42
  147.             echo "                ";
  148.             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.'42$this->source); })()), "getTitle", [], "method"falsefalsetrue42)], "method"falsefalsetrue42);
  149.             // line 43
  150.             echo "            ";
  151.         }
  152.         // line 44
  153.         echo "
  154.             ";
  155.         // line 45
  156.         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.'45$this->source); })()), "getDescription", [], "method"falsefalsetrue45))) {
  157.             // line 46
  158.             echo "                ";
  159.             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.'46$this->source); })()), "getDescription", [], "method"falsefalsetrue46)], "method"falsefalsetrue46);
  160.             // line 47
  161.             echo "            ";
  162.         }
  163.         // line 48
  164.         echo "
  165.             ";
  166.         // line 49
  167.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "append", ["Pimcore Demo"], "method"falsefalsetrue49);
  168.         // line 50
  169.         echo "            ";
  170.         twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [" : "], "method"falsefalsetrue50);
  171.         // line 51
  172.         echo "            ";
  173.         $context["isPortal"] = (array_key_exists("isPortal"$context) && (isset($context["isPortal"]) || array_key_exists("isPortal"$context) ? $context["isPortal"] : (function () { throw new RuntimeError('Variable "isPortal" does not exist.'51$this->source); })()));
  174.         // line 52
  175.         echo "        ";
  176.         $___internal_parse_2_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  177.         // line 8
  178.         echo twig_spaceless($___internal_parse_2_);
  179.         // line 53
  180.         echo "
  181.         ";
  182.         // line 55
  183.         echo "        ";
  184.         $this->displayBlock('layout_head_meta'$context$blocks);
  185.         // line 64
  186.         echo "
  187.         ";
  188.         // line 65
  189.         $this->displayBlock('head_stylesheets'$context$blocks);
  190.         // line 68
  191.         echo "
  192.     </head>
  193.     <body>
  194.         ";
  195.         // line 72
  196.         echo "        ";
  197.         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.'72$this->source); })()))) {
  198.             // line 73
  199.             echo "            ";
  200.             $context["document"] = Pimcore\Model\Document::getById(1);
  201.             // line 74
  202.             echo "        ";
  203.         }
  204.         // line 75
  205.         echo "
  206.         <nav class=\"navbar navbar-expand-md navbar-dark sticky-top py-1 site-header ";
  207.         // line 76
  208.         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.'76$this->source); })()), "getProperty", ["header_color"], "method"falsefalsetrue76), 76$this->source), "html"nulltrue);
  209.         echo "\">
  210.             ";
  211.         // line 79
  212.         echo "            ";
  213.         $context["navStartNode"] = 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.'79$this->source); })()), "getProperty", ["navigation_root"], "method"falsefalsetrue79);
  214.         // line 80
  215.         echo "
  216.             ";
  217.         // line 81
  218.         if ( !$this->env->getTest('instanceof')->getCallable()((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'81$this->source); })()), "\\Pimcore\\Model\\Document")) {
  219.             // line 82
  220.             echo "                ";
  221.             $context["navStartNode"] = Pimcore\Model\Document::getById(1);
  222.             // line 83
  223.             echo "            ";
  224.         }
  225.         // line 84
  226.         echo "
  227.             ";
  228.         // line 85
  229.         $context["mainNavigation"] = $this->extensions['App\Twig\Extension\NavigationExtension']->getDataLinks($this->sandbox->ensureToStringAllowed((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'85$this->source); })()), 85$this->source), $this->sandbox->ensureToStringAllowed((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'85$this->source); })()), 85$this->source));
  230.         // line 86
  231.         echo "            <div class=\"container\">
  232.                 ";
  233.         // line 88
  234.         echo "                <a class=\"py-2 mb-2\" href=\"";
  235.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'88$this->source); })()), 88$this->source), "html"nulltrue);
  236.         echo "\">
  237.                     <img id=\"logo\" src=\"";
  238.         // line 89
  239.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/images/logo.svg"), "html"nulltrue);
  240.         echo "\" alt=\"Classic Cars - Pimcore Demo\">
  241.                 </a>
  242.                 ";
  243.         // line 92
  244.         echo "                <button class=\"navbar-toggler collapsed\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  245.                     <span class=\"navbar-toggler-icon\"></span>
  246.                 </button>
  247.                 ";
  248.         // line 97
  249.         echo "                <div class=\"navbar-collapse collapse\" id=\"navbarCollapse\">
  250.                     ";
  251.         // line 99
  252.         echo "
  253.                     ";
  254.         // line 101
  255.         echo $this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed(        // line 102
  256. (isset($context["mainNavigation"]) || array_key_exists("mainNavigation"$context) ? $context["mainNavigation"] : (function () { throw new RuntimeError('Variable "mainNavigation" does not exist.'102$this->source); })()), 102$this->source), "menu""renderMenu", ["maxDepth" => 2"ulClass" => ["navbar-nav menu-links ml-4 m-auto""dropdown dropdown-menu""default" => "dropdown-menu dropdown-submenu"]]);
  257.         // line 110
  258.         echo "
  259.                     ";
  260.         // line 114
  261.         echo "                    ";
  262.         echo twig_include($this->env$context"includes/navigation-icons.html.twig");
  263.         echo "
  264.                 </div>
  265.             </div>
  266.         </nav>
  267.         <header></header>
  268.         <main role=\"main\">
  269.             ";
  270.         // line 121
  271.         $context['_parent'] = $context;
  272.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'121$this->source); })()), "flashes", [], "any"falsefalsetrue121));
  273.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  274.             // line 122
  275.             echo "                ";
  276.             $context['_parent'] = $context;
  277.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  278.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  279.                 // line 123
  280.                 echo "                    <div class=\"alert alert-";
  281.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["label"], 123$this->source), "html"nulltrue);
  282.                 echo " alert-dismissable\">
  283.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  284.                         ";
  285.                 // line 125
  286.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["message"], 125$this->source), "html"nulltrue);
  287.                 echo "
  288.                     </div>
  289.                 ";
  290.             }
  291.             $_parent $context['_parent'];
  292.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  293.             $context array_intersect_key($context$_parent) + $_parent;
  294.             // line 128
  295.             echo "            ";
  296.         }
  297.         $_parent $context['_parent'];
  298.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  299.         $context array_intersect_key($context$_parent) + $_parent;
  300.         // line 129
  301.         echo "
  302.             ";
  303.         // line 131
  304.         if ((isset($context["isPortal"]) || array_key_exists("isPortal"$context) ? $context["isPortal"] : (function () { throw new RuntimeError('Variable "isPortal" does not exist.'131$this->source); })())) {
  305.             // line 132
  306.             echo "                ";
  307.             $this->displayBlock("content"$context$blocks);
  308.             echo "
  309.             ";
  310.         } else {
  311.             // line 134
  312.             echo "                <div id=\"content\" class=\"container\">
  313.                     <div class=\"row\">
  314.                         ";
  315.             // line 136
  316.             $context["leftNavShow"] = 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.'136$this->source); })()), "getProperty", ["left_nav_show"], "method"falsefalsetrue136);
  317.             // line 137
  318.             echo "                        ";
  319.             $context["showBreadcrumbs"] = ((array_key_exists("hideBreadcrumbs"$context)) ? ( !(isset($context["hideBreadcrumbs"]) || array_key_exists("hideBreadcrumbs"$context) ? $context["hideBreadcrumbs"] : (function () { throw new RuntimeError('Variable "hideBreadcrumbs" does not exist.'137$this->source); })())) : (true));
  320.             // line 138
  321.             echo "                        ";
  322.             $context["mainColClass"] = (((isset($context["leftNavShow"]) || array_key_exists("leftNavShow"$context) ? $context["leftNavShow"] : (function () { throw new RuntimeError('Variable "leftNavShow" does not exist.'138$this->source); })())) ? ("col-md-9 pt-3 pt-md-5 order-last") : ("col-md-12 pt-3 pt-md-5"));
  323.             // line 139
  324.             echo "
  325.                         <div class=\"";
  326.             // line 140
  327.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["mainColClass"]) || array_key_exists("mainColClass"$context) ? $context["mainColClass"] : (function () { throw new RuntimeError('Variable "mainColClass" does not exist.'140$this->source); })()), 140$this->source), "html"nulltrue);
  328.             echo "\">
  329.                             ";
  330.             // line 141
  331.             if ((isset($context["showBreadcrumbs"]) || array_key_exists("showBreadcrumbs"$context) ? $context["showBreadcrumbs"] : (function () { throw new RuntimeError('Variable "showBreadcrumbs" does not exist.'141$this->source); })())) {
  332.                 // line 142
  333.                 echo "                                ";
  334.                 $context["mainNavStartNode"] = 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.'142$this->source); })()), "getProperty", ["navigation_root"], "method"falsefalsetrue142);
  335.                 // line 143
  336.                 echo "                                ";
  337.                 if (twig_test_empty((isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'143$this->source); })()))) {
  338.                     // line 144
  339.                     echo "                                    ";
  340.                     $context["mainNavStartNode"] = Pimcore\Model\Document::getById(1);
  341.                     // line 145
  342.                     echo "                                ";
  343.                 }
  344.                 // line 146
  345.                 echo "
  346.                                 ";
  347.                 // line 147
  348.                 $context["breadbrumbs"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" =>                 // line 148
  349. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'148$this->source); })()), "root" =>                 // line 149
  350. (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'149$this->source); })())]);
  351.                 // line 151
  352.                 echo "                                ";
  353.                 $this->extensions['App\Twig\Extension\NavigationExtension']->enrichBreadcrumbs((isset($context["breadbrumbs"]) || array_key_exists("breadbrumbs"$context) ? $context["breadbrumbs"] : (function () { throw new RuntimeError('Variable "breadbrumbs" does not exist.'151$this->source); })()));
  354.                 // line 152
  355.                 echo "                                ";
  356.                 twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_nav_renderer')->getCallable()("breadcrumbs"), "setMinDepth", [null], "method"falsefalsetrue152);
  357.                 // line 153
  358.                 echo "
  359.                                 <div class=\"breadcrumb-header\">
  360.                                     <a href=\"/\">";
  361.                 // line 155
  362.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  363.                 echo "</a> &gt;
  364.                                     ";
  365.                 // line 156
  366.                 echo $this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["breadbrumbs"]) || array_key_exists("breadbrumbs"$context) ? $context["breadbrumbs"] : (function () { throw new RuntimeError('Variable "breadbrumbs" does not exist.'156$this->source); })()), 156$this->source), "breadcrumbs");
  367.                 echo "
  368.                                 </div>
  369.                             ";
  370.             }
  371.             // line 159
  372.             echo "                            ";
  373.             $this->displayBlock("content"$context$blocks);
  374.             echo "
  375.                         </div>
  376.                         ";
  377.             // line 162
  378.             if ((isset($context["leftNavShow"]) || array_key_exists("leftNavShow"$context) ? $context["leftNavShow"] : (function () { throw new RuntimeError('Variable "leftNavShow" does not exist.'162$this->source); })())) {
  379.                 // line 163
  380.                 echo "                            <div class=\"col-md-3 pt-3 pt-md-5 order-first sidebar\">
  381.                                 <div class=\"sticky\">
  382.                                     <div class=\"bs-sidebar hidden-print affix-top\" role=\"complementary\">
  383.                                         ";
  384.                 // line 166
  385.                 $context["leftStartNode"] = 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.'166$this->source); })()), "getProperty", ["left_nav_start_node"], "method"falsefalsetrue166);
  386.                 // line 167
  387.                 echo "                                        ";
  388.                 if (twig_test_empty((isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'167$this->source); })()))) {
  389.                     // line 168
  390.                     echo "                                            ";
  391.                     $context["leftStartNode"] = (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'168$this->source); })());
  392.                     // line 169
  393.                     echo "                                        ";
  394.                 }
  395.                 // line 170
  396.                 echo "
  397.                                         ";
  398.                 // line 171
  399.                 $context["leftNav"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" =>                 // line 172
  400. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'172$this->source); })()), "root" =>                 // line 173
  401. (isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'173$this->source); })())]);
  402.                 // line 175
  403.                 echo "
  404.                                         <h5>";
  405.                 // line 176
  406.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'176$this->source); })()), "getProperty", ["navigation_name"], "method"falsefalsetrue176), 176$this->source), "html"nulltrue);
  407.                 echo "</h5>
  408.                                         ";
  409.                 // line 178
  410.                 echo $this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed((isset($context["leftNav"]) || array_key_exists("leftNav"$context) ? $context["leftNav"] : (function () { throw new RuntimeError('Variable "leftNav" does not exist.'178$this->source); })()), 178$this->source), "menu""renderMenu", ["ulClass" => "nav bs-sidenav""expandSiblingNodesOfActiveBranch" => true]);
  411.                 // line 181
  412.                 echo "
  413.                                     </div>
  414.                                     ";
  415.                 // line 183
  416.                 echo $this->env->getFunction('pimcore_inc')->getCallable()($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.'183$this->source); })()), "getProperty", ["sidebar"], "method"falsefalsetrue183), 183$this->source));
  417.                 echo "
  418.                                 </div>
  419.                             </div>
  420.                         ";
  421.             }
  422.             // line 187
  423.             echo "                    </div>
  424.                 </div>
  425.             ";
  426.         }
  427.         // line 190
  428.         echo "            <a id=\"back-to-top\" href=\"#\" class=\"btn btn-primary btn-lg back-to-top\" role=\"button\" title=\"Click to return on the top\" data-toggle=\"tooltip\" data-placement=\"left\">
  429.                 <span class=\"fa fa-arrow-up\"></span>
  430.             </a>
  431.         </main>
  432.         ";
  433.         // line 197
  434.         echo "        ";
  435.         echo $this->env->getFunction('pimcore_inc')->getCallable()($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.'197$this->source); })()), "getProperty", ["footer"], "method"falsefalsetrue197), 197$this->source));
  436.         echo "
  437.         ";
  438.         // line 200
  439.         echo "        ";
  440.         $this->displayBlock('headscripts'$context$blocks);
  441.         // line 203
  442.         echo "
  443.         ";
  444.         // line 205
  445.         $this->displayBlock('inlinescripts'$context$blocks);
  446.         // line 208
  447.         echo "    </body>
  448. </html>";
  449.         
  450.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  451.         
  452.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  453.         $this->deferred->resolve($this$context$blocks);
  454.     }
  455.     public function block_layout_head_meta($context, array $blocks = [])
  456.     {
  457.         $this->deferred->defer($this'layout_head_meta');
  458.     }
  459.     // line 55
  460.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  461.     {
  462.         $macros $this->macros;
  463.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  464.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  465.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  466.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  467.         // line 56
  468.         echo "            ";
  469.         echo $this->env->getFunction('pimcore_head_title')->getCallable()();
  470.         echo "
  471.             ";
  472.         // line 57
  473.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  474.         echo "
  475.             ";
  476.         // line 59
  477.         if (twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_placeholder')->getCallable()("canonical"), "count", [], "method"falsefalsetrue59)) {
  478.             // line 60
  479.             echo "                <link rel=\"canonical\" href=\"";
  480.             echo $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical");
  481.             echo "\"/>
  482.             ";
  483.         }
  484.         // line 62
  485.         echo "
  486.         ";
  487.         
  488.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  489.         
  490.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  491.         $this->deferred->resolve($this$context$blocks);
  492.     }
  493.     public function block_head_stylesheets($context, array $blocks = [])
  494.     {
  495.         $this->deferred->defer($this'head_stylesheets');
  496.     }
  497.     // line 65
  498.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  499.     {
  500.         $macros $this->macros;
  501.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  502.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  503.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  504.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  505.         // line 66
  506.         echo "            ";
  507.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  508.         echo "
  509.         ";
  510.         
  511.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  512.         
  513.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  514.         $this->deferred->resolve($this$context$blocks);
  515.     }
  516.     public function block_headscripts($context, array $blocks = [])
  517.     {
  518.         $this->deferred->defer($this'headscripts');
  519.     }
  520.     // line 200
  521.     public function block_headscripts_deferred($context, array $blocks = [])
  522.     {
  523.         $macros $this->macros;
  524.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  525.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  526.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  527.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  528.         // line 201
  529.         echo "            ";
  530.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  531.         echo "
  532.         ";
  533.         
  534.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  535.         
  536.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  537.         $this->deferred->resolve($this$context$blocks);
  538.     }
  539.     public function block_inlinescripts($context, array $blocks = [])
  540.     {
  541.         $this->deferred->defer($this'inlinescripts');
  542.     }
  543.     // line 205
  544.     public function block_inlinescripts_deferred($context, array $blocks = [])
  545.     {
  546.         $macros $this->macros;
  547.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  548.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  549.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  550.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  551.         // line 206
  552.         echo "            ";
  553.         echo $this->env->getFunction('pimcore_inline_script')->getCallable()();
  554.         echo "
  555.         ";
  556.         
  557.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  558.         
  559.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  560.         $this->deferred->resolve($this$context$blocks);
  561.     }
  562.     /**
  563.      * @codeCoverageIgnore
  564.      */
  565.     public function getTemplateName()
  566.     {
  567.         return "layouts/layout.html.twig";
  568.     }
  569.     /**
  570.      * @codeCoverageIgnore
  571.      */
  572.     public function isTraitable()
  573.     {
  574.         return false;
  575.     }
  576.     /**
  577.      * @codeCoverageIgnore
  578.      */
  579.     public function getDebugInfo()
  580.     {
  581.         return array (  600 => 206,  590 => 205,  571 => 201,  561 => 200,  542 => 66,  532 => 65,  515 => 62,  509 => 60,  507 => 59,  502 => 57,  497 => 56,  487 => 55,  470 => 208,  468 => 205,  464 => 203,  461 => 200,  455 => 197,  447 => 190,  442 => 187,  435 => 183,  431 => 181,  429 => 178,  424 => 176,  421 => 175,  419 => 173,  418 => 172,  417 => 171,  414 => 170,  411 => 169,  408 => 168,  405 => 167,  403 => 166,  398 => 163,  396 => 162,  389 => 159,  383 => 156,  379 => 155,  375 => 153,  372 => 152,  369 => 151,  367 => 149,  366 => 148,  365 => 147,  362 => 146,  359 => 145,  356 => 144,  353 => 143,  350 => 142,  348 => 141,  344 => 140,  341 => 139,  338 => 138,  335 => 137,  333 => 136,  329 => 134,  323 => 132,  321 => 131,  317 => 129,  311 => 128,  302 => 125,  296 => 123,  291 => 122,  287 => 121,  276 => 114,  271 => 110,  269 => 102,  268 => 101,  264 => 99,  261 => 97,  255 => 92,  250 => 89,  245 => 88,  242 => 86,  240 => 85,  237 => 84,  234 => 83,  231 => 82,  229 => 81,  226 => 80,  223 => 79,  218 => 76,  215 => 75,  212 => 74,  209 => 73,  206 => 72,  201 => 68,  199 => 65,  196 => 64,  193 => 55,  190 => 53,  188 => 8,  185 => 52,  182 => 51,  179 => 50,  177 => 49,  174 => 48,  171 => 47,  168 => 46,  166 => 45,  163 => 44,  160 => 43,  157 => 42,  155 => 41,  152 => 40,  149 => 39,  146 => 38,  144 => 37,  142 => 36,  139 => 35,  136 => 34,  133 => 33,  131 => 32,  128 => 31,  125 => 30,  122 => 29,  119 => 28,  116 => 27,  113 => 26,  110 => 25,  107 => 24,  104 => 23,  101 => 22,  98 => 21,  95 => 20,  92 => 19,  89 => 18,  86 => 17,  83 => 16,  80 => 15,  77 => 14,  74 => 13,  71 => 12,  68 => 11,  66 => 10,  64 => 9,  62 => 8,  53 => 2,  50 => 1,);
  582.     }
  583.     public function getSourceContext()
  584.     {
  585.         return new Source("<!doctype html>
  586. <html lang=\"{{ app.request.locale }}\">
  587.     <head>
  588.         <!-- Required meta tags -->
  589.         <meta charset=\"utf-8\">
  590.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  591.         {% apply spaceless %}
  592.             {# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
  593.             {# we use the view helper to have cache buster functionality #}
  594.             {% do pimcore_head_link().appendStylesheet('https://fonts.googleapis.com/css?family=Hind+Guntur:300,400,500,600,700&display=swap') %}
  595.             {% do pimcore_head_link().appendStylesheet('https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css',null,null,{integrity:\"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T\",crossorigin:\"anonymous\"}) %}
  596.             {% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.9.0/css/all.css') %}
  597.             {% do pimcore_head_link().appendStylesheet(asset('static/lib/magnific/magnific.css'), 'screen') %}
  598.             {% do pimcore_head_link().appendStylesheet(asset('static/lib/autocompletejs/css/autoComplete.css'), 'screen') %}
  599.             {% do pimcore_head_link().appendStylesheet('https://use.fontawesome.com/releases/v5.7.0/css/all.css',null,null,{integrity:'sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ',crossorigin:'anonymous'}) %}
  600.             {% do pimcore_head_link().appendStylesheet(asset('static/css/global.css')) %}
  601.             {% if editmode %}
  602.                 {% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %}
  603.             {% endif %}
  604.             {% do pimcore_head_script().appendFile('https://code.jquery.com/jquery-3.3.1.slim.min.js',null,null,{ integrity:\"sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo\",crossorigin:\"anonymous\"}) %}
  605.             {% do pimcore_head_script().appendFile('https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js',null,null,{ integrity:\"sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1\",crossorigin:\"anonymous\"}) %}
  606.             {% do pimcore_head_script().appendFile('https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js',null,null,{ integrity:\"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM\",crossorigin:\"anonymous\"}) %}
  607.             {% do pimcore_head_script().appendFile(asset('static/lib/magnific/magnific.js')) %}
  608.             {% do pimcore_head_script().appendFile(asset('static/lib/autocompletejs/js/autoComplete.min.js')) %}
  609.             {% do pimcore_head_script().appendFile(asset('static/js/search-autocomplete.js')) %}
  610.             {% do pimcore_head_script().appendFile(asset('static/js/main.js')) %}
  611.             {% if not editmode %}
  612.                     {% do pimcore_head_script().appendFile(asset('static/js/frontend.js')) %}
  613.             {% endif %}
  614.             {% if not document is defined or not document %}
  615.                 {% set document = pimcore_document(1) %}
  616.             {% endif %}
  617.             {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
  618.                 {# @var document \\Pimcore\\Model\\Document\\Link #}
  619.                 {% set document = document.getObject() %}
  620.             {% endif %}
  621.             {% if document.getTitle() is not empty %}
  622.                 {% do pimcore_head_title().set(document.getTitle()) %}
  623.             {% endif %}
  624.             {% if document.getDescription() is not empty %}
  625.                 {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  626.             {% endif %}
  627.             {% do pimcore_head_title().append('Pimcore Demo') %}
  628.             {% do pimcore_head_title().setSeparator(' : ') %}
  629.             {% set isPortal = ((isPortal is defined) and isPortal) %}
  630.         {% endapply %}
  631.         {# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
  632.         {% block layout_head_meta deferred %}
  633.             {{ pimcore_head_title() }}
  634.             {{ pimcore_head_meta() }}
  635.             {% if pimcore_placeholder('canonical').count() %}
  636.                 <link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/>
  637.             {% endif %}
  638.         {% endblock %}
  639.         {% block head_stylesheets deferred %}
  640.             {{ pimcore_head_link() }}
  641.         {% endblock %}
  642.     </head>
  643.     <body>
  644.         {# get root node if there is no document defined (for pages which are routed directly through static route) #}
  645.         {% if not document is defined or not document %}
  646.             {% set document = pimcore_document(1) %}
  647.         {% endif %}
  648.         <nav class=\"navbar navbar-expand-md navbar-dark sticky-top py-1 site-header {{ document.getProperty('header_color') }}\">
  649.             {# get the document which should be used to start in navigation | default home #}
  650.             {% set navStartNode = document.getProperty('navigation_root') %}
  651.             {% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document') %}
  652.                 {% set navStartNode = pimcore_document(1) %}
  653.             {% endif %}
  654.             {% set mainNavigation =  app_navigation_data_links(document, navStartNode) %}
  655.             <div class=\"container\">
  656.                 {#Logo Image#}
  657.                 <a class=\"py-2 mb-2\" href=\"{{ navStartNode }}\">
  658.                     <img id=\"logo\" src=\"{{ asset('/static/images/logo.svg') }}\" alt=\"Classic Cars - Pimcore Demo\">
  659.                 </a>
  660.                 {#responsive burger menu icon#}
  661.                 <button class=\"navbar-toggler collapsed\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  662.                     <span class=\"navbar-toggler-icon\"></span>
  663.                 </button>
  664.                 {#main header#}
  665.                 <div class=\"navbar-collapse collapse\" id=\"navbarCollapse\">
  666.                     {#header - generate pimcore navigation #}
  667.                     {{
  668.                         pimcore_render_nav(mainNavigation, 'menu', 'renderMenu', {
  669.                             maxDepth: 2,
  670.                             ulClass: {
  671.                                 0: 'navbar-nav menu-links ml-4 m-auto',
  672.                                 1: 'dropdown dropdown-menu',
  673.                                 'default': 'dropdown-menu dropdown-submenu'
  674.                             }
  675.                         })
  676.                     }}
  677.                     {#header - navigation icons#}
  678.                     {{ include('includes/navigation-icons.html.twig') }}
  679.                 </div>
  680.             </div>
  681.         </nav>
  682.         <header></header>
  683.         <main role=\"main\">
  684.             {% for label, messages in app.flashes %}
  685.                 {% for message in messages %}
  686.                     <div class=\"alert alert-{{ label }} alert-dismissable\">
  687.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  688.                         {{ message }}
  689.                     </div>
  690.                 {% endfor %}
  691.             {% endfor %}
  692.             {% if isPortal %}
  693.                 {{ block('content') }}
  694.             {% else %}
  695.                 <div id=\"content\" class=\"container\">
  696.                     <div class=\"row\">
  697.                         {% set leftNavShow = document.getProperty('left_nav_show') %}
  698.                         {% set showBreadcrumbs = (hideBreadcrumbs is defined) ? not hideBreadcrumbs : true %}
  699.                         {% set mainColClass = leftNavShow ? 'col-md-9 pt-3 pt-md-5 order-last' : 'col-md-12 pt-3 pt-md-5' %}
  700.                         <div class=\"{{ mainColClass }}\">
  701.                             {% if showBreadcrumbs %}
  702.                                 {% set mainNavStartNode = document.getProperty('navigation_root') %}
  703.                                 {% if mainNavStartNode is empty %}
  704.                                     {% set mainNavStartNode = pimcore_document(1) %}
  705.                                 {% endif %}
  706.                                 {% set breadbrumbs = pimcore_build_nav({
  707.                                     active: document,
  708.                                     root: mainNavStartNode
  709.                                 }) %}
  710.                                 {% do app_navigation_enrich_breadcrumbs(breadbrumbs) %}
  711.                                 {% do pimcore_nav_renderer('breadcrumbs').setMinDepth(null) %}
  712.                                 <div class=\"breadcrumb-header\">
  713.                                     <a href=\"/\">{{ \"Home\"|trans }}</a> &gt;
  714.                                     {{ pimcore_render_nav(breadbrumbs, 'breadcrumbs') }}
  715.                                 </div>
  716.                             {% endif %}
  717.                             {{ block('content') }}
  718.                         </div>
  719.                         {% if leftNavShow %}
  720.                             <div class=\"col-md-3 pt-3 pt-md-5 order-first sidebar\">
  721.                                 <div class=\"sticky\">
  722.                                     <div class=\"bs-sidebar hidden-print affix-top\" role=\"complementary\">
  723.                                         {% set leftStartNode = document.getProperty('left_nav_start_node') %}
  724.                                         {% if leftStartNode is empty %}
  725.                                             {% set leftStartNode = mainNavStartNode %}
  726.                                         {% endif %}
  727.                                         {% set leftNav = pimcore_build_nav({
  728.                                             active: document,
  729.                                             root: leftStartNode
  730.                                         }) %}
  731.                                         <h5>{{ leftStartNode.getProperty('navigation_name') }}</h5>
  732.                                         {{ pimcore_render_nav(leftNav, 'menu', 'renderMenu', {
  733.                                             ulClass: 'nav bs-sidenav',
  734.                                             expandSiblingNodesOfActiveBranch: true,
  735.                                         }) }}
  736.                                     </div>
  737.                                     {{ pimcore_inc(document.getProperty('sidebar')) }}
  738.                                 </div>
  739.                             </div>
  740.                         {% endif %}
  741.                     </div>
  742.                 </div>
  743.             {% endif %}
  744.             <a id=\"back-to-top\" href=\"#\" class=\"btn btn-primary btn-lg back-to-top\" role=\"button\" title=\"Click to return on the top\" data-toggle=\"tooltip\" data-placement=\"left\">
  745.                 <span class=\"fa fa-arrow-up\"></span>
  746.             </a>
  747.         </main>
  748.         {# include a document-snippet - in this case the footer document #}
  749.         {{ pimcore_inc(document.getProperty('footer')) }}
  750.         {# output scripts added before #}
  751.         {% block headscripts deferred %}
  752.             {{ pimcore_head_script() }}
  753.         {% endblock %}
  754.         {% block inlinescripts deferred %}
  755.             {{ pimcore_inline_script() }}
  756.         {% endblock %}
  757.     </body>
  758. </html>""layouts/layout.html.twig""/var/www/html/templates/layouts/layout.html.twig");
  759.     }
  760.     
  761.     public function checkSecurity()
  762.     {
  763.         static $tags = array("apply" => 8"do" => 11"if" => 18"set" => 33"block" => 55"for" => 121);
  764.         static $filters = array("escape" => 2"spaceless" => 8"trans" => 155);
  765.         static $functions = array("pimcore_head_link" => 11"asset" => 14"pimcore_head_script" => 21"pimcore_document" => 33"pimcore_head_title" => 42"pimcore_head_meta" => 46"app_navigation_data_links" => 85"pimcore_render_nav" => 102"include" => 114"pimcore_build_nav" => 147"app_navigation_enrich_breadcrumbs" => 151"pimcore_nav_renderer" => 152"pimcore_inc" => 183"pimcore_placeholder" => 59"pimcore_inline_script" => 206);
  766.         try {
  767.             $this->sandbox->checkSecurity(
  768.                 ['apply''do''if''set''block''for'],
  769.                 ['escape''spaceless''trans'],
  770.                 ['pimcore_head_link''asset''pimcore_head_script''pimcore_document''pimcore_head_title''pimcore_head_meta''app_navigation_data_links''pimcore_render_nav''include''pimcore_build_nav''app_navigation_enrich_breadcrumbs''pimcore_nav_renderer''pimcore_inc''pimcore_placeholder''pimcore_inline_script']
  771.             );
  772.         } catch (SecurityError $e) {
  773.             $e->setSourceContext($this->source);
  774.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  775.                 $e->setTemplateLine($tags[$e->getTagName()]);
  776.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  777.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  778.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  779.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  780.             }
  781.             throw $e;
  782.         }
  783.     }
  784.     private $deferred;
  785. }