var/cache/dev/twig/e8/e8e4eedb6745e309f3d65f0579904655.php line 398

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_ec4ff12cf327f4a21b02a148f7956106 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"=> null=> null=> ["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"=> null=> null=> ["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.6.3.slim.min.js"=> null=> null=> ["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"=> null=> null=> ["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"=> null=> null=> ["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 ($this->env->getTest('instanceof')->getCallable()((isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'41$this->source); })()), "\\Pimcore\\Model\\Document\\Page")) {
  146.             // line 42
  147.             echo "                ";
  148.             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.'42$this->source); })()), "getTitle", [], "method"falsefalsetrue42))) {
  149.                 // line 43
  150.                 echo "                    ";
  151.                 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.'43$this->source); })()), "getTitle", [], "method"falsefalsetrue43)], "method"falsefalsetrue43);
  152.                 // line 44
  153.                 echo "                ";
  154.             }
  155.             // line 45
  156.             echo "
  157.                 ";
  158.             // line 46
  159.             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.'46$this->source); })()), "getDescription", [], "method"falsefalsetrue46))) {
  160.                 // line 47
  161.                 echo "                    ";
  162.                 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.'47$this->source); })()), "getDescription", [], "method"falsefalsetrue47)], "method"falsefalsetrue47);
  163.                 // line 48
  164.                 echo "                ";
  165.             }
  166.             // line 49
  167.             echo "
  168.                 ";
  169.             // line 50
  170.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "append", [=> "Pimcore Demo"], "method"falsefalsetrue50);
  171.             // line 51
  172.             echo "                ";
  173.             twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [=> " : "], "method"falsefalsetrue51);
  174.             // line 52
  175.             echo "            ";
  176.         }
  177.         // line 53
  178.         echo "
  179.             ";
  180.         // line 54
  181.         $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.'54$this->source); })()));
  182.         // line 55
  183.         echo "        ";
  184.         $___internal_parse_2_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  185.         // line 8
  186.         echo twig_spaceless($___internal_parse_2_);
  187.         // line 56
  188.         echo "
  189.         ";
  190.         // line 58
  191.         echo "        ";
  192.         $this->displayBlock('layout_head_meta'$context$blocks);
  193.         // line 67
  194.         echo "
  195.         ";
  196.         // line 68
  197.         $this->displayBlock('head_stylesheets'$context$blocks);
  198.         // line 71
  199.         echo "
  200.     </head>
  201.     <body>
  202.         ";
  203.         // line 75
  204.         echo "        ";
  205.         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.'75$this->source); })()))) {
  206.             // line 76
  207.             echo "            ";
  208.             $context["document"] = Pimcore\Model\Document::getById(1);
  209.             // line 77
  210.             echo "        ";
  211.         }
  212.         // line 78
  213.         echo "
  214.         <nav class=\"navbar navbar-expand-md navbar-dark sticky-top py-1 site-header ";
  215.         // line 79
  216.         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.'79$this->source); })()), "getProperty", [=> "header_color"], "method"falsefalsetrue79), 79$this->source), "html"nulltrue);
  217.         echo "\">
  218.             ";
  219.         // line 82
  220.         echo "            ";
  221.         $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.'82$this->source); })()), "getProperty", [=> "navigation_root"], "method"falsefalsetrue82);
  222.         // line 83
  223.         echo "
  224.             ";
  225.         // line 84
  226.         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.'84$this->source); })()), "\\Pimcore\\Model\\Document")) {
  227.             // line 85
  228.             echo "                ";
  229.             $context["navStartNode"] = Pimcore\Model\Document::getById(1);
  230.             // line 86
  231.             echo "            ";
  232.         }
  233.         // line 87
  234.         echo "
  235.             ";
  236.         // line 88
  237.         $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.'88$this->source); })()), 88$this->source), $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));
  238.         // line 89
  239.         echo "            <div class=\"container\">
  240.                 ";
  241.         // line 91
  242.         echo "                <a class=\"py-2 mb-2\" href=\"";
  243.         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.'91$this->source); })()), 91$this->source), "html"nulltrue);
  244.         echo "\">
  245.                     <img id=\"logo\" src=\"";
  246.         // line 92
  247.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static/images/logo.svg"), "html"nulltrue);
  248.         echo "\" alt=\"Classic Cars - Pimcore Demo\">
  249.                 </a>
  250.                 ";
  251.         // line 95
  252.         echo "                <button class=\"navbar-toggler collapsed\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  253.                     <span class=\"navbar-toggler-icon\"></span>
  254.                 </button>
  255.                 ";
  256.         // line 100
  257.         echo "                <div class=\"navbar-collapse collapse\" id=\"navbarCollapse\">
  258.                     ";
  259.         // line 102
  260.         echo "
  261.                     ";
  262.         // line 104
  263.         echo $this->env->getFunction('pimcore_render_nav')->getCallable()($this->sandbox->ensureToStringAllowed(        // line 105
  264. (isset($context["mainNavigation"]) || array_key_exists("mainNavigation"$context) ? $context["mainNavigation"] : (function () { throw new RuntimeError('Variable "mainNavigation" does not exist.'105$this->source); })()), 105$this->source), "menu""renderMenu", ["maxDepth" => 2"ulClass" => [=> "navbar-nav menu-links ml-4 m-auto"=> "dropdown dropdown-menu""default" => "dropdown-menu dropdown-submenu"]]);
  265.         // line 113
  266.         echo "
  267.                     ";
  268.         // line 117
  269.         echo "                    ";
  270.         echo twig_include($this->env$context"includes/navigation-icons.html.twig");
  271.         echo "
  272.                 </div>
  273.             </div>
  274.         </nav>
  275.         <header></header>
  276.         <main role=\"main\">
  277.             ";
  278.         // line 124
  279.         $context['_parent'] = $context;
  280.         $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.'124$this->source); })()), "flashes", [], "any"falsefalsetrue124));
  281.         foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
  282.             // line 125
  283.             echo "                ";
  284.             $context['_parent'] = $context;
  285.             $context['_seq'] = twig_ensure_traversable($context["messages"]);
  286.             foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
  287.                 // line 126
  288.                 echo "                    <div class=\"alert alert-";
  289.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["label"], 126$this->source), "html"nulltrue);
  290.                 echo " alert-dismissable\">
  291.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  292.                         ";
  293.                 // line 128
  294.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["message"], 128$this->source), "html"nulltrue);
  295.                 echo "
  296.                     </div>
  297.                 ";
  298.             }
  299.             $_parent $context['_parent'];
  300.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
  301.             $context array_intersect_key($context$_parent) + $_parent;
  302.             // line 131
  303.             echo "            ";
  304.         }
  305.         $_parent $context['_parent'];
  306.         unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
  307.         $context array_intersect_key($context$_parent) + $_parent;
  308.         // line 132
  309.         echo "
  310.             ";
  311.         // line 134
  312.         if ((isset($context["isPortal"]) || array_key_exists("isPortal"$context) ? $context["isPortal"] : (function () { throw new RuntimeError('Variable "isPortal" does not exist.'134$this->source); })())) {
  313.             // line 135
  314.             echo "                ";
  315.             $this->displayBlock("content"$context$blocks);
  316.             echo "
  317.             ";
  318.         } else {
  319.             // line 137
  320.             echo "                <div id=\"content\" class=\"container\">
  321.                     <div class=\"row\">
  322.                         ";
  323.             // line 139
  324.             $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.'139$this->source); })()), "getProperty", [=> "left_nav_show"], "method"falsefalsetrue139);
  325.             // line 140
  326.             echo "                        ";
  327.             $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.'140$this->source); })())) : (true));
  328.             // line 141
  329.             echo "                        ";
  330.             $context["mainColClass"] = (((isset($context["leftNavShow"]) || array_key_exists("leftNavShow"$context) ? $context["leftNavShow"] : (function () { throw new RuntimeError('Variable "leftNavShow" does not exist.'141$this->source); })())) ? ("col-md-9 pt-3 pt-md-5 order-last") : ("col-md-12 pt-3 pt-md-5"));
  331.             // line 142
  332.             echo "
  333.                         <div class=\"";
  334.             // line 143
  335.             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.'143$this->source); })()), 143$this->source), "html"nulltrue);
  336.             echo "\">
  337.                             ";
  338.             // line 144
  339.             if ((isset($context["showBreadcrumbs"]) || array_key_exists("showBreadcrumbs"$context) ? $context["showBreadcrumbs"] : (function () { throw new RuntimeError('Variable "showBreadcrumbs" does not exist.'144$this->source); })())) {
  340.                 // line 145
  341.                 echo "                                ";
  342.                 $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.'145$this->source); })()), "getProperty", [=> "navigation_root"], "method"falsefalsetrue145);
  343.                 // line 146
  344.                 echo "                                ";
  345.                 if (twig_test_empty((isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'146$this->source); })()))) {
  346.                     // line 147
  347.                     echo "                                    ";
  348.                     $context["mainNavStartNode"] = Pimcore\Model\Document::getById(1);
  349.                     // line 148
  350.                     echo "                                ";
  351.                 }
  352.                 // line 149
  353.                 echo "
  354.                                 ";
  355.                 // line 150
  356.                 $context["breadbrumbs"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" =>                 // line 151
  357. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'151$this->source); })()), "root" =>                 // line 152
  358. (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'152$this->source); })())]);
  359.                 // line 154
  360.                 echo "                                ";
  361.                 $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.'154$this->source); })()));
  362.                 // line 155
  363.                 echo "                                ";
  364.                 twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_nav_renderer')->getCallable()("breadcrumbs"), "setMinDepth", [=> null], "method"falsefalsetrue155);
  365.                 // line 156
  366.                 echo "
  367.                                 <div class=\"breadcrumb-header\">
  368.                                     <a href=\"/\">";
  369.                 // line 158
  370.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Home"), "html"nulltrue);
  371.                 echo "</a> &gt;
  372.                                     ";
  373.                 // line 159
  374.                 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.'159$this->source); })()), 159$this->source), "breadcrumbs");
  375.                 echo "
  376.                                 </div>
  377.                             ";
  378.             }
  379.             // line 162
  380.             echo "                            ";
  381.             $this->displayBlock("content"$context$blocks);
  382.             echo "
  383.                         </div>
  384.                         ";
  385.             // line 165
  386.             if ((isset($context["leftNavShow"]) || array_key_exists("leftNavShow"$context) ? $context["leftNavShow"] : (function () { throw new RuntimeError('Variable "leftNavShow" does not exist.'165$this->source); })())) {
  387.                 // line 166
  388.                 echo "                            <div class=\"col-md-3 pt-3 pt-md-5 order-first sidebar\">
  389.                                 <div class=\"sticky\">
  390.                                     <div class=\"bs-sidebar hidden-print affix-top\" role=\"complementary\">
  391.                                         ";
  392.                 // line 169
  393.                 $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.'169$this->source); })()), "getProperty", [=> "left_nav_start_node"], "method"falsefalsetrue169);
  394.                 // line 170
  395.                 echo "                                        ";
  396.                 if (twig_test_empty((isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'170$this->source); })()))) {
  397.                     // line 171
  398.                     echo "                                            ";
  399.                     $context["leftStartNode"] = (isset($context["mainNavStartNode"]) || array_key_exists("mainNavStartNode"$context) ? $context["mainNavStartNode"] : (function () { throw new RuntimeError('Variable "mainNavStartNode" does not exist.'171$this->source); })());
  400.                     // line 172
  401.                     echo "                                        ";
  402.                 }
  403.                 // line 173
  404.                 echo "
  405.                                         ";
  406.                 // line 174
  407.                 $context["leftNav"] = $this->env->getFunction('pimcore_build_nav')->getCallable()(["active" =>                 // line 175
  408. (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'175$this->source); })()), "root" =>                 // line 176
  409. (isset($context["leftStartNode"]) || array_key_exists("leftStartNode"$context) ? $context["leftStartNode"] : (function () { throw new RuntimeError('Variable "leftStartNode" does not exist.'176$this->source); })())]);
  410.                 // line 178
  411.                 echo "
  412.                                         <h5>";
  413.                 // line 179
  414.                 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.'179$this->source); })()), "getProperty", [=> "navigation_name"], "method"falsefalsetrue179), 179$this->source), "html"nulltrue);
  415.                 echo "</h5>
  416.                                         ";
  417.                 // line 181
  418.                 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.'181$this->source); })()), 181$this->source), "menu""renderMenu", ["ulClass" => "nav bs-sidenav""expandSiblingNodesOfActiveBranch" => true]);
  419.                 // line 184
  420.                 echo "
  421.                                     </div>
  422.                                     ";
  423.                 // line 186
  424.                 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.'186$this->source); })()), "getProperty", [=> "sidebar"], "method"falsefalsetrue186), 186$this->source));
  425.                 echo "
  426.                                 </div>
  427.                             </div>
  428.                         ";
  429.             }
  430.             // line 190
  431.             echo "                    </div>
  432.                 </div>
  433.             ";
  434.         }
  435.         // line 193
  436.         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\">
  437.                 <span class=\"fa fa-arrow-up\"></span>
  438.             </a>
  439.         </main>
  440.         ";
  441.         // line 200
  442.         echo "        ";
  443.         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.'200$this->source); })()), "getProperty", [=> "footer"], "method"falsefalsetrue200), 200$this->source));
  444.         echo "
  445.         ";
  446.         // line 203
  447.         echo "        ";
  448.         $this->displayBlock('headscripts'$context$blocks);
  449.         // line 206
  450.         echo "
  451.         ";
  452.         // line 208
  453.         $this->displayBlock('inlinescripts'$context$blocks);
  454.         // line 211
  455.         echo "    </body>
  456. </html>
  457. ";
  458.         
  459.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  460.         
  461.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  462.         $this->deferred->resolve($this$context$blocks);
  463.     }
  464.     public function block_layout_head_meta($context, array $blocks = [])
  465.     {
  466.         $this->deferred->defer($this'layout_head_meta');
  467.     }
  468.     // line 58
  469.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  470.     {
  471.         $macros $this->macros;
  472.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  473.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  474.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  475.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout_head_meta"));
  476.         // line 59
  477.         echo "            ";
  478.         echo $this->env->getFunction('pimcore_head_title')->getCallable()();
  479.         echo "
  480.             ";
  481.         // line 60
  482.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  483.         echo "
  484.             ";
  485.         // line 62
  486.         if (twig_get_attribute($this->env$this->source$this->env->getFunction('pimcore_placeholder')->getCallable()("canonical"), "count", [], "method"falsefalsetrue62)) {
  487.             // line 63
  488.             echo "                <link rel=\"canonical\" href=\"";
  489.             echo $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical");
  490.             echo "\"/>
  491.             ";
  492.         }
  493.         // line 65
  494.         echo "
  495.         ";
  496.         
  497.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  498.         
  499.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  500.         $this->deferred->resolve($this$context$blocks);
  501.     }
  502.     public function block_head_stylesheets($context, array $blocks = [])
  503.     {
  504.         $this->deferred->defer($this'head_stylesheets');
  505.     }
  506.     // line 68
  507.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  508.     {
  509.         $macros $this->macros;
  510.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  511.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  512.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  513.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head_stylesheets"));
  514.         // line 69
  515.         echo "            ";
  516.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  517.         echo "
  518.         ";
  519.         
  520.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  521.         
  522.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  523.         $this->deferred->resolve($this$context$blocks);
  524.     }
  525.     public function block_headscripts($context, array $blocks = [])
  526.     {
  527.         $this->deferred->defer($this'headscripts');
  528.     }
  529.     // line 203
  530.     public function block_headscripts_deferred($context, array $blocks = [])
  531.     {
  532.         $macros $this->macros;
  533.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  534.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  535.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  536.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""headscripts"));
  537.         // line 204
  538.         echo "            ";
  539.         echo $this->env->getFunction('pimcore_head_script')->getCallable()();
  540.         echo "
  541.         ";
  542.         
  543.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  544.         
  545.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  546.         $this->deferred->resolve($this$context$blocks);
  547.     }
  548.     public function block_inlinescripts($context, array $blocks = [])
  549.     {
  550.         $this->deferred->defer($this'inlinescripts');
  551.     }
  552.     // line 208
  553.     public function block_inlinescripts_deferred($context, array $blocks = [])
  554.     {
  555.         $macros $this->macros;
  556.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  557.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  558.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  559.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""inlinescripts"));
  560.         // line 209
  561.         echo "            ";
  562.         echo $this->env->getFunction('pimcore_inline_script')->getCallable()();
  563.         echo "
  564.         ";
  565.         
  566.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  567.         
  568.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  569.         $this->deferred->resolve($this$context$blocks);
  570.     }
  571.     public function getTemplateName()
  572.     {
  573.         return "layouts/layout.html.twig";
  574.     }
  575.     public function isTraitable()
  576.     {
  577.         return false;
  578.     }
  579.     public function getDebugInfo()
  580.     {
  581.         return array (  609 => 209,  599 => 208,  580 => 204,  570 => 203,  551 => 69,  541 => 68,  524 => 65,  518 => 63,  516 => 62,  511 => 60,  506 => 59,  496 => 58,  478 => 211,  476 => 208,  472 => 206,  469 => 203,  463 => 200,  455 => 193,  450 => 190,  443 => 186,  439 => 184,  437 => 181,  432 => 179,  429 => 178,  427 => 176,  426 => 175,  425 => 174,  422 => 173,  419 => 172,  416 => 171,  413 => 170,  411 => 169,  406 => 166,  404 => 165,  397 => 162,  391 => 159,  387 => 158,  383 => 156,  380 => 155,  377 => 154,  375 => 152,  374 => 151,  373 => 150,  370 => 149,  367 => 148,  364 => 147,  361 => 146,  358 => 145,  356 => 144,  352 => 143,  349 => 142,  346 => 141,  343 => 140,  341 => 139,  337 => 137,  331 => 135,  329 => 134,  325 => 132,  319 => 131,  310 => 128,  304 => 126,  299 => 125,  295 => 124,  284 => 117,  279 => 113,  277 => 105,  276 => 104,  272 => 102,  269 => 100,  263 => 95,  258 => 92,  253 => 91,  250 => 89,  248 => 88,  245 => 87,  242 => 86,  239 => 85,  237 => 84,  234 => 83,  231 => 82,  226 => 79,  223 => 78,  220 => 77,  217 => 76,  214 => 75,  209 => 71,  207 => 68,  204 => 67,  201 => 58,  198 => 56,  196 => 8,  193 => 55,  191 => 54,  188 => 53,  185 => 52,  182 => 51,  180 => 50,  177 => 49,  174 => 48,  171 => 47,  169 => 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.6.3.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 is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Page') %}
  622.                 {% if document.getTitle() is not empty %}
  623.                     {% do pimcore_head_title().set(document.getTitle()) %}
  624.                 {% endif %}
  625.                 {% if document.getDescription() is not empty %}
  626.                     {% do pimcore_head_meta().setDescription(document.getDescription()) %}
  627.                 {% endif %}
  628.                 {% do pimcore_head_title().append('Pimcore Demo') %}
  629.                 {% do pimcore_head_title().setSeparator(' : ') %}
  630.             {% endif %}
  631.             {% set isPortal = ((isPortal is defined) and isPortal) %}
  632.         {% endapply %}
  633.         {# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
  634.         {% block layout_head_meta deferred %}
  635.             {{ pimcore_head_title() }}
  636.             {{ pimcore_head_meta() }}
  637.             {% if pimcore_placeholder('canonical').count() %}
  638.                 <link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/>
  639.             {% endif %}
  640.         {% endblock %}
  641.         {% block head_stylesheets deferred %}
  642.             {{ pimcore_head_link() }}
  643.         {% endblock %}
  644.     </head>
  645.     <body>
  646.         {# get root node if there is no document defined (for pages which are routed directly through static route) #}
  647.         {% if not document is defined or not document %}
  648.             {% set document = pimcore_document(1) %}
  649.         {% endif %}
  650.         <nav class=\"navbar navbar-expand-md navbar-dark sticky-top py-1 site-header {{ document.getProperty('header_color') }}\">
  651.             {# get the document which should be used to start in navigation | default home #}
  652.             {% set navStartNode = document.getProperty('navigation_root') %}
  653.             {% if not navStartNode is instanceof('\\\\Pimcore\\\\Model\\\\Document') %}
  654.                 {% set navStartNode = pimcore_document(1) %}
  655.             {% endif %}
  656.             {% set mainNavigation =  app_navigation_data_links(document, navStartNode) %}
  657.             <div class=\"container\">
  658.                 {#Logo Image#}
  659.                 <a class=\"py-2 mb-2\" href=\"{{ navStartNode }}\">
  660.                     <img id=\"logo\" src=\"{{ asset('/static/images/logo.svg') }}\" alt=\"Classic Cars - Pimcore Demo\">
  661.                 </a>
  662.                 {#responsive burger menu icon#}
  663.                 <button class=\"navbar-toggler collapsed\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarCollapse\" aria-controls=\"navbarCollapse\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  664.                     <span class=\"navbar-toggler-icon\"></span>
  665.                 </button>
  666.                 {#main header#}
  667.                 <div class=\"navbar-collapse collapse\" id=\"navbarCollapse\">
  668.                     {#header - generate pimcore navigation #}
  669.                     {{
  670.                         pimcore_render_nav(mainNavigation, 'menu', 'renderMenu', {
  671.                             maxDepth: 2,
  672.                             ulClass: {
  673.                                 0: 'navbar-nav menu-links ml-4 m-auto',
  674.                                 1: 'dropdown dropdown-menu',
  675.                                 'default': 'dropdown-menu dropdown-submenu'
  676.                             }
  677.                         })
  678.                     }}
  679.                     {#header - navigation icons#}
  680.                     {{ include('includes/navigation-icons.html.twig') }}
  681.                 </div>
  682.             </div>
  683.         </nav>
  684.         <header></header>
  685.         <main role=\"main\">
  686.             {% for label, messages in app.flashes %}
  687.                 {% for message in messages %}
  688.                     <div class=\"alert alert-{{ label }} alert-dismissable\">
  689.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">×</button>
  690.                         {{ message }}
  691.                     </div>
  692.                 {% endfor %}
  693.             {% endfor %}
  694.             {% if isPortal %}
  695.                 {{ block('content') }}
  696.             {% else %}
  697.                 <div id=\"content\" class=\"container\">
  698.                     <div class=\"row\">
  699.                         {% set leftNavShow = document.getProperty('left_nav_show') %}
  700.                         {% set showBreadcrumbs = (hideBreadcrumbs is defined) ? not hideBreadcrumbs : true %}
  701.                         {% set mainColClass = leftNavShow ? 'col-md-9 pt-3 pt-md-5 order-last' : 'col-md-12 pt-3 pt-md-5' %}
  702.                         <div class=\"{{ mainColClass }}\">
  703.                             {% if showBreadcrumbs %}
  704.                                 {% set mainNavStartNode = document.getProperty('navigation_root') %}
  705.                                 {% if mainNavStartNode is empty %}
  706.                                     {% set mainNavStartNode = pimcore_document(1) %}
  707.                                 {% endif %}
  708.                                 {% set breadbrumbs = pimcore_build_nav({
  709.                                     active: document,
  710.                                     root: mainNavStartNode
  711.                                 }) %}
  712.                                 {% do app_navigation_enrich_breadcrumbs(breadbrumbs) %}
  713.                                 {% do pimcore_nav_renderer('breadcrumbs').setMinDepth(null) %}
  714.                                 <div class=\"breadcrumb-header\">
  715.                                     <a href=\"/\">{{ \"Home\"|trans }}</a> &gt;
  716.                                     {{ pimcore_render_nav(breadbrumbs, 'breadcrumbs') }}
  717.                                 </div>
  718.                             {% endif %}
  719.                             {{ block('content') }}
  720.                         </div>
  721.                         {% if leftNavShow %}
  722.                             <div class=\"col-md-3 pt-3 pt-md-5 order-first sidebar\">
  723.                                 <div class=\"sticky\">
  724.                                     <div class=\"bs-sidebar hidden-print affix-top\" role=\"complementary\">
  725.                                         {% set leftStartNode = document.getProperty('left_nav_start_node') %}
  726.                                         {% if leftStartNode is empty %}
  727.                                             {% set leftStartNode = mainNavStartNode %}
  728.                                         {% endif %}
  729.                                         {% set leftNav = pimcore_build_nav({
  730.                                             active: document,
  731.                                             root: leftStartNode
  732.                                         }) %}
  733.                                         <h5>{{ leftStartNode.getProperty('navigation_name') }}</h5>
  734.                                         {{ pimcore_render_nav(leftNav, 'menu', 'renderMenu', {
  735.                                             ulClass: 'nav bs-sidenav',
  736.                                             expandSiblingNodesOfActiveBranch: true,
  737.                                         }) }}
  738.                                     </div>
  739.                                     {{ pimcore_inc(document.getProperty('sidebar')) }}
  740.                                 </div>
  741.                             </div>
  742.                         {% endif %}
  743.                     </div>
  744.                 </div>
  745.             {% endif %}
  746.             <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\">
  747.                 <span class=\"fa fa-arrow-up\"></span>
  748.             </a>
  749.         </main>
  750.         {# include a document-snippet - in this case the footer document #}
  751.         {{ pimcore_inc(document.getProperty('footer')) }}
  752.         {# output scripts added before #}
  753.         {% block headscripts deferred %}
  754.             {{ pimcore_head_script() }}
  755.         {% endblock %}
  756.         {% block inlinescripts deferred %}
  757.             {{ pimcore_inline_script() }}
  758.         {% endblock %}
  759.     </body>
  760. </html>
  761. ""layouts/layout.html.twig""/var/www/www-data/data/www/pimcore.dev2.nowmedia.ru/templates/layouts/layout.html.twig");
  762.     }
  763.     
  764.     public function checkSecurity()
  765.     {
  766.         static $tags = array("apply" => 8"do" => 11"if" => 18"set" => 33"block" => 58"for" => 124);
  767.         static $filters = array("escape" => 2"spaceless" => 8"trans" => 158);
  768.         static $functions = array("pimcore_head_link" => 11"asset" => 14"pimcore_head_script" => 21"pimcore_document" => 33"pimcore_head_title" => 43"pimcore_head_meta" => 47"app_navigation_data_links" => 88"pimcore_render_nav" => 105"include" => 117"pimcore_build_nav" => 150"app_navigation_enrich_breadcrumbs" => 154"pimcore_nav_renderer" => 155"pimcore_inc" => 186"pimcore_placeholder" => 62"pimcore_inline_script" => 209);
  769.         try {
  770.             $this->sandbox->checkSecurity(
  771.                 ['apply''do''if''set''block''for'],
  772.                 ['escape''spaceless''trans'],
  773.                 ['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']
  774.             );
  775.         } catch (SecurityError $e) {
  776.             $e->setSourceContext($this->source);
  777.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  778.                 $e->setTemplateLine($tags[$e->getTagName()]);
  779.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  780.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  781.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  782.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  783.             }
  784.             throw $e;
  785.         }
  786.     }
  787.     private $deferred;
  788. }