var/cache/dev/twig/ef/ef57afc75110b28b68c91caf44d59497.php line 316

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