var/cache/dev/twig/f6/f67a5b5f62ea5b122b7730a8aaee047ddccb9c0282bf98e04a0e5538cfb83d42.php line 444

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