var/cache/dev/twig/d7/d7e5160c53d7fad18d7dd1b17c063a06.php line 401

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. /* @Global/layouts/home-layout.html.twig */
  14. class __TwigTemplate_825206e2e214fb5d9a23d31feb696a2d 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.         ];
  27.         $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  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", "@Global/layouts/home-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", "@Global/layouts/home-layout.html.twig"));
  38.         // line 1
  39.         echo "<!DOCTYPE html>
  40. <html lang=\"en\">
  41. <head>
  42.     ";
  43.         // line 6
  44.         echo "    ";
  45.         $context["CDN_URL"] = "https://d2577j2dd5wuk.cloudfront.net";
  46.         // line 7
  47.         echo "    ";
  48.         $context["siteBaseUrl"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "request", [], "any", false, false, true, 7), "getSchemeAndHttpHost", [], "method", false, false, true, 7);
  49.         // line 8
  50.         echo "    ";
  51.         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.', 8, $this->source); })()))) {
  52.             // line 9
  53.             echo "        ";
  54.             $context["document"] = Pimcore\Model\Document::getById(1);
  55.             // line 10
  56.             echo "    ";
  57.         }
  58.         // line 11
  59.         echo "
  60.     ";
  61.         // line 12
  62.         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.', 12, $this->source); })()), "\\Pimcore\\Model\\Document\\Link")) {
  63.             // line 13
  64.             echo "        ";
  65.             // line 14
  66.             echo "        ";
  67.             $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.', 14, $this->source); })()), "getObject", [], "method", false, false, true, 14);
  68.             // line 15
  69.             echo "    ";
  70.         }
  71.         // line 16
  72.         echo "    ";
  73.         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.', 16, $this->source); })()), "getTitle", [], "method", false, false, true, 16))) {
  74.             // line 17
  75.             echo "        ";
  76.             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.', 17, $this->source); })()), "getTitle", [], "method", false, false, true, 17)], "method", false, false, true, 17);
  77.             // line 18
  78.             echo "    ";
  79.         }
  80.         // line 19
  81.         echo "
  82.     ";
  83.         // line 20
  84.         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.', 20, $this->source); })()), "getDescription", [], "method", false, false, true, 20))) {
  85.             // line 21
  86.             echo "        ";
  87.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_meta')->getCallable()(), "appendName", ["description", 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.', 21, $this->source); })()), "getDescription", [], "method", false, false, true, 21)], "method", false, false, true, 21);
  88.             // line 22
  89.             echo "    ";
  90.         }
  91.         // line 23
  92.         echo "    ";
  93.         twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "append", ["NuFind"], "method", false, false, true, 23);
  94.         // line 24
  95.         echo "    ";
  96.         twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_title')->getCallable()(), "setSeparator", [" | "], "method", false, false, true, 24);
  97.         // line 25
  98.         echo "    ";
  99.         $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.', 25, $this->source); })()));
  100.         // line 26
  101.         echo "    ";
  102.         // line 27
  103.         echo "    ";
  104.         $this->displayBlock('layout_head_meta', $context, $blocks);
  105.         // line 35
  106.         echo "    <meta charset=\"UTF-8\">
  107.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  108.     <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">
  109.     <meta name=\"theme-color\" content=\"#fff\">
  110.     <meta name=\"msapplication-TileColor\" content=\"#da532c\">
  111.     <meta name=\"google-site-verification\" content=\"bjVTynmWfYEeEhLpJnmA2nTJ7wnuwPy2mcJrRQEAIcc\" />
  112.     <!-- START Global site tag (gtag.js) - Google Analytics 
  113.     <script async src=\"https://www.googletagmanager.com/gtag/js?id=G-K9C40MC8FB\"></script>
  114.     <script>
  115.     window.dataLayer = window.dataLayer || [];
  116.     function gtag(){dataLayer.push(arguments);}
  117.     gtag('js', new Date());
  118.     gtag('config', 'G-K9C40MC8FB');
  119.     </script>
  120.      END Global site tag (gtag.js) - Google Analytics -->
  121.     ";
  122.         // line 53
  123.         ob_start();
  124.         // line 54
  125.         echo "<!-- favicon -->
  126.         ";
  127.         // line 59
  128.         echo "        <link rel=\"icon\" href=\"https://d2fzew76uxzkhe.cloudfront.net/assets/NuFind Website/Favicon/NF Favicon.svg\" type=\"image/x-icon\">
  129.         <!-- stylesheets -->
  130.             <link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/css/select2.min.css\" rel=\"stylesheet\" />
  131.             <link href=\"https://unpkg.com/aos@2.3.1/dist/aos.css\" rel=\"stylesheet\">
  132.             <link href=\"https://fonts.googleapis.com/css2?family=Halant:wght@300;400;500;600;700&display=swap\" rel=\"stylesheet\">
  133.             <link href=\"https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap\" rel=\"stylesheet\">
  134.             <link href=\"https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&display=swap\" rel=\"stylesheet\">
  135.             <link href=\"https://fonts.googleapis.com/css2?family=Amiko:wght@400;600;700&display=swap\" rel=\"stylesheet\">
  136.             <link href=\"https://fonts.googleapis.com/css2?family=BioRhyme:wght@200;300;400;700;800&display=swap\" rel=\"stylesheet\">
  137.             <link href=\"https://fonts.googleapis.com/css2?family=Belleza&display=swap\" rel=\"stylesheet\">
  138.             <link href=\"https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@200;300;400;500;600;700&display=swap\" rel=\"stylesheet\">
  139.         ";
  140.         // line 70
  141.         if (array_key_exists("pageName", $context)) {
  142.             // line 71
  143.             echo "            ";
  144.             if (((isset($context["pageName"]) || array_key_exists("pageName", $context) ? $context["pageName"] : (function () { throw new RuntimeError('Variable "pageName" does not exist.', 71, $this->source); })()) == "prodListing")) {
  145.                 // line 72
  146.                 echo "                ";
  147.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 72, $this->source); })()) . "/assets/css/bootstrap.min.css")), "screen"], "method", false, false, true, 72);
  148.                 // line 73
  149.                 echo "                ";
  150.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 73, $this->source); })()) . "/assets/css/owl.carousel.min.css")), "screen"], "method", false, false, true, 73);
  151.                 // line 74
  152.                 echo "                ";
  153.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 74, $this->source); })()) . "/assets/css/aos.css")), "screen"], "method", false, false, true, 74);
  154.                 // line 75
  155.                 echo "                ";
  156.                 // line 76
  157.                 echo "                ";
  158.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/global/css/style.min.css")], "method", false, false, true, 76);
  159.                 // line 77
  160.                 echo "                ";
  161.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/global/css/responsive.min.css"), "screen"], "method", false, false, true, 77);
  162.                 // line 78
  163.                 echo "                ";
  164.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 78, $this->source); })()) . "/assets/css/slick.min.css")), "screen"], "method", false, false, true, 78);
  165.                 // line 79
  166.                 echo "            ";
  167.             } else {
  168.                 // line 80
  169.                 echo "                ";
  170.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 80, $this->source); })()) . "/assets/css/bootstrap.min.css")), "screen"], "method", false, false, true, 80);
  171.                 // line 81
  172.                 echo "                ";
  173.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 81, $this->source); })()) . "/assets/css/font-awesome.min.css")), "screen"], "method", false, false, true, 81);
  174.                 // line 82
  175.                 echo "                ";
  176.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 82, $this->source); })()) . "/assets/css/owl.carousel.min.css")), "screen"], "method", false, false, true, 82);
  177.                 // line 83
  178.                 echo "                ";
  179.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 83, $this->source); })()) . "/assets/css/lightbox.css")), "screen"], "method", false, false, true, 83);
  180.                 // line 84
  181.                 echo "                ";
  182.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 84, $this->source); })()) . "/assets/css/select2.min.css")), "screen"], "method", false, false, true, 84);
  183.                 // line 85
  184.                 echo "                ";
  185.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 85, $this->source); })()) . "/assets/css/aos.css")), "screen"], "method", false, false, true, 85);
  186.                 // line 86
  187.                 echo "                ";
  188.                 // line 87
  189.                 echo "                ";
  190.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/global/css/style.min.css")], "method", false, false, true, 87);
  191.                 // line 88
  192.                 echo "                ";
  193.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/global/css/responsive.min.css"), "screen"], "method", false, false, true, 88);
  194.                 // line 89
  195.                 echo "                ";
  196.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 89, $this->source); })()) . "/assets/css/slick.min.css")), "screen"], "method", false, false, true, 89);
  197.                 // line 90
  198.                 echo "                ";
  199.                 twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 90, $this->source); })()) . "/assets/css/country/intlTelInput.css")), "screen"], "method", false, false, true, 90);
  200.                 // line 91
  201.                 echo "            ";
  202.             }
  203.             // line 92
  204.             echo "        ";
  205.         } else {
  206.             // line 93
  207.             echo "            ";
  208.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 93, $this->source); })()) . "/assets/css/bootstrap.min.css")), "screen"], "method", false, false, true, 93);
  209.             // line 94
  210.             echo "            ";
  211.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 94, $this->source); })()) . "/assets/css/font-awesome.min.css")), "screen"], "method", false, false, true, 94);
  212.             // line 95
  213.             echo "            ";
  214.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 95, $this->source); })()) . "/assets/css/owl.carousel.min.css")), "screen"], "method", false, false, true, 95);
  215.             // line 96
  216.             echo "            ";
  217.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 96, $this->source); })()) . "/assets/css/lightbox.css")), "screen"], "method", false, false, true, 96);
  218.             // line 97
  219.             echo "            ";
  220.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 97, $this->source); })()) . "/assets/css/select2.min.css")), "screen"], "method", false, false, true, 97);
  221.             // line 98
  222.             echo "            ";
  223.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 98, $this->source); })()) . "/assets/css/aos.css")), "screen"], "method", false, false, true, 98);
  224.             // line 99
  225.             echo "            ";
  226.             // line 100
  227.             echo "            ";
  228.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/global/css/style.min.css")], "method", false, false, true, 100);
  229.             // line 101
  230.             echo "            ";
  231.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/global/css/responsive.min.css"), "screen"], "method", false, false, true, 101);
  232.             // line 102
  233.             echo "            ";
  234.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 102, $this->source); })()) . "/assets/css/slick.min.css")), "screen"], "method", false, false, true, 102);
  235.             // line 103
  236.             echo "            ";
  237.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 103, $this->source); })()) . "/assets/css/country/intlTelInput.css")), "screen"], "method", false, false, true, 103);
  238.             // line 104
  239.             echo "        ";
  240.         }
  241.         // line 105
  242.         echo "        ";
  243.         twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 105, $this->source); })()) . "/assets/css/icofont.min.css")), "screen"], "method", false, false, true, 105);
  244.         $___internal_parse_12_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
  245.         // line 53
  246.         echo twig_spaceless($___internal_parse_12_);
  247.         // line 109
  248.         echo "    ";
  249.         $context["IE"] = $this->extensions['WebsiteBundle\Twig\Extension\WebsiteDocument']->isIe();
  250.         // line 110
  251.         echo "    ";
  252.         if ((isset($context["IE"]) || array_key_exists("IE", $context) ? $context["IE"] : (function () { throw new RuntimeError('Variable "IE" does not exist.', 110, $this->source); })())) {
  253.             // line 111
  254.             echo "        ";
  255.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 111, $this->source); })()) . "/assets/css/bootstrap-ie9.min.css")), "screen"], "method", false, false, true, 111);
  256.             // line 112
  257.             echo "        ";
  258.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 112, $this->source); })()) . "/assets/css/ie.css")), "screen"], "method", false, false, true, 112);
  259.             // line 113
  260.             echo "    ";
  261.         }
  262.         // line 114
  263.         echo "    ";
  264.         if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 114, $this->source); })())) {
  265.             // line 115
  266.             echo "        ";
  267.             twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_head_link')->getCallable()(), "appendStylesheet", [$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(((isset($context["CDN_URL"]) || array_key_exists("CDN_URL", $context) ? $context["CDN_URL"] : (function () { throw new RuntimeError('Variable "CDN_URL" does not exist.', 115, $this->source); })()) . "/assets/css/editmode.css"))], "method", false, false, true, 115);
  268.             // line 116
  269.             echo "    ";
  270.         }
  271.         // line 117
  272.         echo "
  273.     ";
  274.         // line 118
  275.         $this->displayBlock('head_stylesheets', $context, $blocks);
  276.         // line 121
  277.         echo "</head>
  278.     ";
  279.         // line 122
  280.         $context["loginClass"] = (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) ? ("loggedin") : ("not-loggedin"));
  281.         // line 123
  282.         echo "     ";
  283.         if (twig_in_filter("marketingreport", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 123, $this->source); })()), "request", [], "any", false, false, true, 123), "pathinfo", [], "any", false, false, true, 123))) {
  284.             // line 124
  285.             echo "        <body class='home-new home-singlepage download-report ";
  286.             (((array_key_exists("loginClass", $context) &&  !(null === (isset($context["loginClass"]) || array_key_exists("loginClass", $context) ? $context["loginClass"] : (function () { throw new RuntimeError('Variable "loginClass" does not exist.', 124, $this->source); })())))) ? (print (twig_escape_filter($this->env, (isset($context["loginClass"]) || array_key_exists("loginClass", $context) ? $context["loginClass"] : (function () { throw new RuntimeError('Variable "loginClass" does not exist.', 124, $this->source); })()), "html", null, true))) : (print ("")));
  287.             echo "'>
  288.     ";
  289.         } else {
  290.             // line 126
  291.             echo "        <body class='home-new home-singlepage ";
  292.             (((array_key_exists("loginClass", $context) &&  !(null === (isset($context["loginClass"]) || array_key_exists("loginClass", $context) ? $context["loginClass"] : (function () { throw new RuntimeError('Variable "loginClass" does not exist.', 126, $this->source); })())))) ? (print (twig_escape_filter($this->env, (isset($context["loginClass"]) || array_key_exists("loginClass", $context) ? $context["loginClass"] : (function () { throw new RuntimeError('Variable "loginClass" does not exist.', 126, $this->source); })()), "html", null, true))) : (print ("")));
  293.             echo "'>
  294.     ";
  295.         }
  296.         // line 128
  297.         echo "
  298.     ";
  299.         // line 129
  300.         if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 129, $this->source); })())) {
  301.             // line 130
  302.             echo "
  303.         ";
  304.             // line 131
  305.             if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 131, $this->source); })()), "request", [], "any", false, false, true, 131), "pathinfo", [], "any", false, false, true, 131) == "/NuFind")) {
  306.                 // line 132
  307.                 echo "            ";
  308.                 echo twig_include($this->env, $context, "@Global/layouts/header-no-auth.html.twig");
  309.                 echo "
  310.         ";
  311.             } else {
  312.                 // line 134
  313.                 echo "
  314.             ";
  315.                 // line 135
  316.                 echo twig_include($this->env, $context, "@Global/layouts/header.html.twig");
  317.                 echo "
  318.         ";
  319.             }
  320.             // line 137
  321.             echo "
  322.     ";
  323.         } else {
  324.             // line 140
  325.             echo "
  326.         ";
  327.             // line 141
  328.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  329.                 // line 142
  330.                 echo "
  331.             ";
  332.                 // line 143
  333.                 echo twig_include($this->env, $context, "@Global/layouts/header.html.twig");
  334.                 echo "
  335.         ";
  336.             } else {
  337.                 // line 145
  338.                 echo "
  339.             ";
  340.                 // line 146
  341.                 echo twig_include($this->env, $context, "@Global/layouts/header-no-auth.html.twig");
  342.                 echo "
  343.         ";
  344.             }
  345.             // line 148
  346.             echo "
  347.     ";
  348.         }
  349.         // line 150
  350.         echo "
  351.     ";
  352.         // line 151
  353.         if ((((((((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "request", [], "any", false, false, true, 151), "pathinfo", [], "any", false, false, true, 151) == "/") || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "request", [], "any", false, false, true, 151), "pathinfo", [], "any", false, false, true, 151) == "/preProd")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "request", [], "any", false, false, true, 151), "pathinfo", [], "any", false, false, true, 151) == "/overview")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "request", [], "any", false, false, true, 151), "pathinfo", [], "any", false, false, true, 151) == "/home")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "request", [], "any", false, false, true, 151), "pathinfo", [], "any", false, false, true, 151) == "/account/login")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "request", [], "any", false, false, true, 151), "pathinfo", [], "any", false, false, true, 151) == "/wishlist")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "request", [], "any", false, false, true, 151), "pathinfo", [], "any", false, false, true, 151) == "/repository/briefs")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "request", [], "any", false, false, true, 151), "pathinfo", [], "any", false, false, true, 151) == "/repository/cart")) || twig_in_filter("salescampaign", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "request", [], "any", false, false, true, 151), "pathinfo", [], "any", false, false, true, 151)))) {
  354.             // line 152
  355.             echo "        ";
  356.             // line 153
  357.             echo "    ";
  358.         } else {
  359.             // line 154
  360.             echo "        <main>
  361.     ";
  362.         }
  363.         // line 156
  364.         echo "
  365.         ";
  366.         // line 157
  367.         $this->displayBlock("content", $context, $blocks);
  368.         echo "
  369.     ";
  370.         // line 159
  371.         if ((((((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 159, $this->source); })()), "request", [], "any", false, false, true, 159), "pathinfo", [], "any", false, false, true, 159) == "/") || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 159, $this->source); })()), "request", [], "any", false, false, true, 159), "pathinfo", [], "any", false, false, true, 159) == "/preProd")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 159, $this->source); })()), "request", [], "any", false, false, true, 159), "pathinfo", [], "any", false, false, true, 159) == "/overview")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 159, $this->source); })()), "request", [], "any", false, false, true, 159), "pathinfo", [], "any", false, false, true, 159) == "/home")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 159, $this->source); })()), "request", [], "any", false, false, true, 159), "pathinfo", [], "any", false, false, true, 159) == "/account/login")) || (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 159, $this->source); })()), "request", [], "any", false, false, true, 159), "pathinfo", [], "any", false, false, true, 159) == "/wishlist")) || twig_in_filter("salescampaign", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 159, $this->source); })()), "request", [], "any", false, false, true, 159), "pathinfo", [], "any", false, false, true, 159)))) {
  372.             // line 160
  373.             echo "        ";
  374.             // line 161
  375.             echo "    ";
  376.         } else {
  377.             // line 162
  378.             echo "        </main>
  379.     ";
  380.         }
  381.         // line 164
  382.         echo "
  383.      <!-- The Modal Large -->
  384.     ";
  385.         // line 166
  386.         echo twig_include($this->env, $context, "@Global/layouts/popup.html.twig");
  387.         echo "
  388.     ";
  389.         // line 168
  390.         echo "    ";
  391.         echo $this->env->getFunction('pimcore_inc')->getCallable()($this->extensions['WebsiteBundle\Twig\Extension\WebsiteDocument']->getDocumentByPath("/NuFind/Include/footer"));
  392.         echo "
  393.     ";
  394.         // line 174
  395.         echo "    ";
  396.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  397.             // line 175
  398.             echo "        ";
  399.             echo twig_include($this->env, $context, "@Global/layouts/scripts.html.twig");
  400.             echo "
  401.     ";
  402.         } else {
  403.             // line 177
  404.             echo "        ";
  405.             echo twig_include($this->env, $context, "@Global/layouts/scripts-no-auth.html.twig");
  406.             echo "
  407.     ";
  408.         }
  409.         // line 179
  410.         echo "
  411.     <script>
  412. \t\t\$(\".navbar-toggler\").click(function(){
  413. \t\t\t\$(\"#sidebar-mobile\").toggleClass(\"active\");
  414. \t\t});
  415. \t\t
  416. \t\t\$(\"#sidebar-mobile .toggle\").click(function(){
  417. \t\t\t\$(\"#sidebar-mobile\").toggleClass(\"active\");
  418. \t\t});
  419. \t\t
  420. \t\t\$('#search-input').on('click', function() {
  421. \t\t\t\$('.search-div').toggleClass('active');
  422. \t\t});
  423.         \$(document).ready(function(e) {
  424.             \$('li .accordion').find('.btn-link').click(function() {
  425.                 //Expand or collapse this panel
  426.                 \$(this).toggleClass('active');
  427.             });
  428.         });
  429. \t</script>
  430. </body>
  431. </html>
  432. ";
  433.         
  434.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  435.         
  436.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  437.         $this->deferred->resolve($this, $context, $blocks);
  438.     }
  439.     public function block_layout_head_meta($context, array $blocks = [])
  440.     {
  441.         $this->deferred->defer($this, 'layout_head_meta');
  442.     }
  443.     // line 27
  444.     public function block_layout_head_meta_deferred($context, array $blocks = [])
  445.     {
  446.         $macros = $this->macros;
  447.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  448.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
  449.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  450.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "layout_head_meta"));
  451.         // line 28
  452.         echo "    ";
  453.         echo $this->env->getFunction('pimcore_head_title')->getCallable()();
  454.         echo "
  455.     ";
  456.         // line 29
  457.         echo $this->env->getFunction('pimcore_head_meta')->getCallable()();
  458.         echo "
  459.     ";
  460.         // line 31
  461.         if (twig_get_attribute($this->env, $this->source, $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical"), "count", [], "method", false, false, true, 31)) {
  462.             // line 32
  463.             echo "        <link rel=\"canonical\" href=\"";
  464.             echo $this->env->getFunction('pimcore_placeholder')->getCallable()("canonical");
  465.             echo "\"/>
  466.     ";
  467.         }
  468.         // line 34
  469.         echo "    ";
  470.         
  471.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  472.         
  473.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  474.         $this->deferred->resolve($this, $context, $blocks);
  475.     }
  476.     public function block_head_stylesheets($context, array $blocks = [])
  477.     {
  478.         $this->deferred->defer($this, 'head_stylesheets');
  479.     }
  480.     // line 118
  481.     public function block_head_stylesheets_deferred($context, array $blocks = [])
  482.     {
  483.         $macros = $this->macros;
  484.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  485.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
  486.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  487.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_stylesheets"));
  488.         // line 119
  489.         echo "    ";
  490.         echo $this->env->getFunction('pimcore_head_link')->getCallable()();
  491.         echo "
  492.     ";
  493.         
  494.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  495.         
  496.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  497.         $this->deferred->resolve($this, $context, $blocks);
  498.     }
  499.     /**
  500.      * @codeCoverageIgnore
  501.      */
  502.     public function getTemplateName()
  503.     {
  504.         return "@Global/layouts/home-layout.html.twig";
  505.     }
  506.     /**
  507.      * @codeCoverageIgnore
  508.      */
  509.     public function isTraitable()
  510.     {
  511.         return false;
  512.     }
  513.     /**
  514.      * @codeCoverageIgnore
  515.      */
  516.     public function getDebugInfo()
  517.     {
  518.         return array (  519 => 119,  509 => 118,  493 => 34,  487 => 32,  485 => 31,  480 => 29,  475 => 28,  465 => 27,  425 => 179,  419 => 177,  413 => 175,  410 => 174,  405 => 168,  401 => 166,  397 => 164,  393 => 162,  390 => 161,  388 => 160,  386 => 159,  381 => 157,  378 => 156,  374 => 154,  371 => 153,  369 => 152,  367 => 151,  364 => 150,  360 => 148,  355 => 146,  352 => 145,  347 => 143,  344 => 142,  342 => 141,  339 => 140,  334 => 137,  329 => 135,  326 => 134,  320 => 132,  318 => 131,  315 => 130,  313 => 129,  310 => 128,  304 => 126,  298 => 124,  295 => 123,  293 => 122,  290 => 121,  288 => 118,  285 => 117,  282 => 116,  279 => 115,  276 => 114,  273 => 113,  270 => 112,  267 => 111,  264 => 110,  261 => 109,  259 => 53,  255 => 105,  252 => 104,  249 => 103,  246 => 102,  243 => 101,  240 => 100,  238 => 99,  235 => 98,  232 => 97,  229 => 96,  226 => 95,  223 => 94,  220 => 93,  217 => 92,  214 => 91,  211 => 90,  208 => 89,  205 => 88,  202 => 87,  200 => 86,  197 => 85,  194 => 84,  191 => 83,  188 => 82,  185 => 81,  182 => 80,  179 => 79,  176 => 78,  173 => 77,  170 => 76,  168 => 75,  165 => 74,  162 => 73,  159 => 72,  156 => 71,  154 => 70,  141 => 59,  138 => 54,  136 => 53,  116 => 35,  113 => 27,  111 => 26,  108 => 25,  105 => 24,  102 => 23,  99 => 22,  96 => 21,  94 => 20,  91 => 19,  88 => 18,  85 => 17,  82 => 16,  79 => 15,  76 => 14,  74 => 13,  72 => 12,  69 => 11,  66 => 10,  63 => 9,  60 => 8,  57 => 7,  54 => 6,  48 => 1,);
  519.     }
  520.     public function getSourceContext()
  521.     {
  522.         return new Source("<!DOCTYPE html>
  523. <html lang=\"en\">
  524. <head>
  525.     {# {% set CDN_URL = app_CDN_url() %} #}
  526.     {% set CDN_URL = 'https://d2577j2dd5wuk.cloudfront.net' %}
  527.     {% set siteBaseUrl = app.request.getSchemeAndHttpHost() %}
  528.     {% if not document is defined or not document %}
  529.         {% set document = pimcore_document(1) %}
  530.     {% endif %}
  531.     {% if document is instanceof('\\\\Pimcore\\\\Model\\\\Document\\\\Link') %}
  532.         {# @var document \\Pimcore\\Model\\Document\\Link #}
  533.         {% set document = document.getObject() %}
  534.     {% endif %}
  535.     {% if document.getTitle() is not empty %}
  536.         {% do pimcore_head_title().set(document.getTitle()) %}
  537.     {% endif %}
  538.     {% if document.getDescription() is not empty %}
  539.         {% do pimcore_head_meta().appendName('description',document.getDescription()) %}
  540.     {% endif %}
  541.     {% do pimcore_head_title().append('NuFind') %}
  542.     {% do pimcore_head_title().setSeparator(' | ') %}
  543.     {% set isPortal = ((isPortal is defined) and isPortal) %}
  544.     {# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
  545.     {% block layout_head_meta deferred %}
  546.     {{ pimcore_head_title() }}
  547.     {{ pimcore_head_meta() }}
  548.     {% if pimcore_placeholder('canonical').count() %}
  549.         <link rel=\"canonical\" href=\"{{ pimcore_placeholder('canonical') }}\"/>
  550.     {% endif %}
  551.     {% endblock %}
  552.     <meta charset=\"UTF-8\">
  553.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  554.     <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">
  555.     <meta name=\"theme-color\" content=\"#fff\">
  556.     <meta name=\"msapplication-TileColor\" content=\"#da532c\">
  557.     <meta name=\"google-site-verification\" content=\"bjVTynmWfYEeEhLpJnmA2nTJ7wnuwPy2mcJrRQEAIcc\" />
  558.     <!-- START Global site tag (gtag.js) - Google Analytics 
  559.     <script async src=\"https://www.googletagmanager.com/gtag/js?id=G-K9C40MC8FB\"></script>
  560.     <script>
  561.     window.dataLayer = window.dataLayer || [];
  562.     function gtag(){dataLayer.push(arguments);}
  563.     gtag('js', new Date());
  564.     gtag('config', 'G-K9C40MC8FB');
  565.     </script>
  566.      END Global site tag (gtag.js) - Google Analytics -->
  567.     {% apply spaceless -%}
  568.         <!-- favicon -->
  569.         {# {% do pimcore_head_link({rel : 'mask-icon', color:'#5bbad5', href: asset('bundles/global/images/favicon/safari-pinned-tab.svg')}, 'PREPEND') %}
  570.         {% do pimcore_head_link({rel : 'icon', type:'image/png',sizes:'16x16', href: asset('bundles/global/images/favicon/favicon-16x16.png')}, 'PREPEND') %}
  571.         {% do pimcore_head_link({rel : 'icon', type:'image/png',sizes:'32x32', href: asset('bundles/global/images/favicon/favicon-32x32.png')}, 'PREPEND') %}
  572.         {% do pimcore_head_link({rel : 'apple-touch-icon', type:'image/png',sizes:'180x180', href: asset('bundles/global/images/favicon/apple-touch-icon.png')}, 'PREPEND') %} #}
  573.         <link rel=\"icon\" href=\"https://d2fzew76uxzkhe.cloudfront.net/assets/NuFind Website/Favicon/NF Favicon.svg\" type=\"image/x-icon\">
  574.         <!-- stylesheets -->
  575.             <link href=\"https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/css/select2.min.css\" rel=\"stylesheet\" />
  576.             <link href=\"https://unpkg.com/aos@2.3.1/dist/aos.css\" rel=\"stylesheet\">
  577.             <link href=\"https://fonts.googleapis.com/css2?family=Halant:wght@300;400;500;600;700&display=swap\" rel=\"stylesheet\">
  578.             <link href=\"https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap\" rel=\"stylesheet\">
  579.             <link href=\"https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&display=swap\" rel=\"stylesheet\">
  580.             <link href=\"https://fonts.googleapis.com/css2?family=Amiko:wght@400;600;700&display=swap\" rel=\"stylesheet\">
  581.             <link href=\"https://fonts.googleapis.com/css2?family=BioRhyme:wght@200;300;400;700;800&display=swap\" rel=\"stylesheet\">
  582.             <link href=\"https://fonts.googleapis.com/css2?family=Belleza&display=swap\" rel=\"stylesheet\">
  583.             <link href=\"https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@200;300;400;500;600;700&display=swap\" rel=\"stylesheet\">
  584.         {% if pageName is defined %}
  585.             {% if pageName == 'prodListing' %}
  586.                 {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/bootstrap.min.css'), 'screen') %}
  587.                 {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/owl.carousel.min.css'), 'screen') %}
  588.                 {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/aos.css'), 'screen') %}
  589.                 {# {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/style.min.css'), 'screen') %} #}
  590.                 {% do pimcore_head_link().appendStylesheet(asset('bundles/global/css/style.min.css')) %}
  591.                 {% do pimcore_head_link().appendStylesheet(asset('bundles/global/css/responsive.min.css'), 'screen') %}
  592.                 {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/slick.min.css'), 'screen') %}
  593.             {% else %}
  594.                 {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/bootstrap.min.css'), 'screen') %}
  595.                 {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/font-awesome.min.css'), 'screen') %}
  596.                 {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/owl.carousel.min.css'), 'screen') %}
  597.                 {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/lightbox.css'), 'screen') %}
  598.                 {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/select2.min.css'), 'screen') %}
  599.                 {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/aos.css'), 'screen') %}
  600.                 {# {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/style.min.css'), 'screen') %} #}
  601.                 {% do pimcore_head_link().appendStylesheet(asset('bundles/global/css/style.min.css')) %}
  602.                 {% do pimcore_head_link().appendStylesheet(asset('bundles/global/css/responsive.min.css'), 'screen') %}
  603.                 {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/slick.min.css'), 'screen') %}
  604.                 {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/country/intlTelInput.css'), 'screen') %}
  605.             {% endif %}
  606.         {% else %}
  607.             {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/bootstrap.min.css'), 'screen') %}
  608.             {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/font-awesome.min.css'), 'screen') %}
  609.             {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/owl.carousel.min.css'), 'screen') %}
  610.             {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/lightbox.css'), 'screen') %}
  611.             {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/select2.min.css'), 'screen') %}
  612.             {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/aos.css'), 'screen') %}
  613.             {# {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/style.min.css'), 'screen') %} #}
  614.             {% do pimcore_head_link().appendStylesheet(asset('bundles/global/css/style.min.css')) %}
  615.             {% do pimcore_head_link().appendStylesheet(asset('bundles/global/css/responsive.min.css'), 'screen') %}
  616.             {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/slick.min.css'), 'screen') %}
  617.             {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/country/intlTelInput.css'), 'screen') %}
  618.         {% endif %}
  619.         {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/icofont.min.css'), 'screen') %}
  620.     {%- endapply %}
  621.     {% set IE = check_IE() %}
  622.     {% if IE  %}
  623.         {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/bootstrap-ie9.min.css'), 'screen') %}
  624.         {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/ie.css'), 'screen') %}
  625.     {% endif %}
  626.     {% if editmode %}
  627.         {% do pimcore_head_link().appendStylesheet(asset(CDN_URL~'/assets/css/editmode.css')) %}
  628.     {% endif %}
  629.     {% block head_stylesheets deferred %}
  630.     {{ pimcore_head_link() }}
  631.     {% endblock %}
  632. </head>
  633.     {% set loginClass = (is_granted('IS_AUTHENTICATED_REMEMBERED')) ? 'loggedin' : 'not-loggedin' %}
  634.      {% if 'marketingreport' in app.request.pathinfo %}
  635.         <body class='home-new home-singlepage download-report {{ loginClass ?? '' }}'>
  636.     {% else %}
  637.         <body class='home-new home-singlepage {{ loginClass ?? '' }}'>
  638.     {% endif %}
  639.     {% if editmode %}
  640.         {% if app.request.pathinfo == '/NuFind' %}
  641.             {{ include('@Global/layouts/header-no-auth.html.twig') }}
  642.         {%  else %}
  643.             {{ include('@Global/layouts/header.html.twig') }}
  644.         {% endif %}
  645.     {%  else %}
  646.         {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  647.             {{ include('@Global/layouts/header.html.twig') }}
  648.         {%  else %}
  649.             {{ include('@Global/layouts/header-no-auth.html.twig') }}
  650.         {% endif %}
  651.     {% endif %}
  652.     {% if app.request.pathinfo == '/' or app.request.pathinfo == '/preProd' or app.request.pathinfo == '/overview' or app.request.pathinfo == '/home' or app.request.pathinfo == '/account/login' or app.request.pathinfo == '/wishlist' or app.request.pathinfo == '/repository/briefs' or app.request.pathinfo == '/repository/cart' or 'salescampaign' in app.request.pathinfo %}
  653.         {# Div     #}
  654.     {%  else %}
  655.         <main>
  656.     {% endif %}
  657.         {{ block('content') }}
  658.     {% if app.request.pathinfo == '/' or app.request.pathinfo == '/preProd' or app.request.pathinfo == '/overview' or app.request.pathinfo == '/home' or app.request.pathinfo == '/account/login' or app.request.pathinfo == '/wishlist' or 'salescampaign' in app.request.pathinfo %}
  659.         {# Div #}
  660.     {%  else %}
  661.         </main>
  662.     {% endif %}
  663.      <!-- The Modal Large -->
  664.     {{ include('@Global/layouts/popup.html.twig') }}
  665.     {# {{ include('@Global/layouts/footer.html.twig') }} #}
  666.     {{ pimcore_inc(pimcore_document_by_path('/NuFind/Include/footer')) }}
  667.     {# <div class=\"bs-loader\">
  668.         <div class=\"bs-loader-inner d-flex justify-content-center align-items-center position-fixed w-100 h-100 text-white\">
  669.             <i class=\"fa fa-spinner fa-spin\"></i>
  670.         </div>
  671.     </div> #}
  672.     {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  673.         {{ include('@Global/layouts/scripts.html.twig') }}
  674.     {%  else %}
  675.         {{ include('@Global/layouts/scripts-no-auth.html.twig') }}
  676.     {% endif %}
  677.     <script>
  678. \t\t\$(\".navbar-toggler\").click(function(){
  679. \t\t\t\$(\"#sidebar-mobile\").toggleClass(\"active\");
  680. \t\t});
  681. \t\t
  682. \t\t\$(\"#sidebar-mobile .toggle\").click(function(){
  683. \t\t\t\$(\"#sidebar-mobile\").toggleClass(\"active\");
  684. \t\t});
  685. \t\t
  686. \t\t\$('#search-input').on('click', function() {
  687. \t\t\t\$('.search-div').toggleClass('active');
  688. \t\t});
  689.         \$(document).ready(function(e) {
  690.             \$('li .accordion').find('.btn-link').click(function() {
  691.                 //Expand or collapse this panel
  692.                 \$(this).toggleClass('active');
  693.             });
  694.         });
  695. \t</script>
  696. </body>
  697. </html>
  698. ", "@Global/layouts/home-layout.html.twig", "/var/www/pimcore/src/GlobalBundle/Resources/views/layouts/home-layout.html.twig");
  699.     }
  700.     
  701.     public function checkSecurity()
  702.     {
  703.         static $tags = array("set" => 6, "if" => 8, "do" => 17, "block" => 27, "apply" => 53);
  704.         static $filters = array("spaceless" => 53, "escape" => 124);
  705.         static $functions = array("pimcore_document" => 9, "pimcore_head_title" => 17, "pimcore_head_meta" => 21, "pimcore_head_link" => 72, "asset" => 72, "check_IE" => 109, "is_granted" => 122, "include" => 132, "pimcore_inc" => 168, "pimcore_document_by_path" => 168, "pimcore_placeholder" => 31);
  706.         try {
  707.             $this->sandbox->checkSecurity(
  708.                 ['set', 'if', 'do', 'block', 'apply'],
  709.                 ['spaceless', 'escape'],
  710.                 ['pimcore_document', 'pimcore_head_title', 'pimcore_head_meta', 'pimcore_head_link', 'asset', 'check_IE', 'is_granted', 'include', 'pimcore_inc', 'pimcore_document_by_path', 'pimcore_placeholder']
  711.             );
  712.         } catch (SecurityError $e) {
  713.             $e->setSourceContext($this->source);
  714.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  715.                 $e->setTemplateLine($tags[$e->getTagName()]);
  716.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  717.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  718.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  719.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  720.             }
  721.             throw $e;
  722.         }
  723.     }
  724.     private $deferred;
  725. }