var/cache/dev/twig/c8/c8c9b44dd5ffd4cc58a78afbda0ea63e.php line 574

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. /* layout/includes/navegation/desktop.html.twig */
  14. class __TwigTemplate_c7af060569d2f7f971c082bf2a322d66 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.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout/includes/navegation/desktop.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layout/includes/navegation/desktop.html.twig"));
  35.         // line 1
  36.         echo "<style>
  37.     @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
  38.     ";
  39.         // line 4
  40.         if ((((isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'4$this->source); })()) == "/es/empresa") || ((isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'4$this->source); })()) == "/en/about-us"))) {
  41.             // line 5
  42.             echo "        ";
  43.             $context["isAboutUs"] = true;
  44.             // line 6
  45.             echo "    ";
  46.         } else {
  47.             // line 7
  48.             echo "        ";
  49.             $context["isAboutUs"] = false;
  50.             // line 8
  51.             echo "    ";
  52.         }
  53.         // line 9
  54.         echo "
  55.     /* Base styles */
  56.     .menu-outer {
  57.         background-color: #fff;
  58.     }
  59.     #siteNav.medium {
  60.         font-family: 'Montserrat', sans-serif;
  61.         display: flex;
  62.         align-items: center;
  63.         flex-wrap: nowrap;
  64.         list-style-type: none;
  65.         padding-left: 0;
  66.         flex-grow: 1;
  67.         justify-content: space-between;
  68.         width: 100%;
  69.         gap: 5px;
  70.     }
  71.     #siteNav.medium > li a {
  72.         font-size: 16px;
  73.         padding: 8px 15px;
  74.         font-weight: 600;
  75.         ";
  76.         // line 32
  77.         if ((isset($context["is_authenticated"]) || array_key_exists("is_authenticated"$context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.'32$this->source); })())) {
  78.             // line 33
  79.             echo "        color: #6c757d;
  80.         ";
  81.         } else {
  82.             // line 35
  83.             echo "        color: #000000;
  84.         ";
  85.         }
  86.         // line 37
  87.         echo "        position: relative;
  88.         display: inline-block;
  89.         overflow: hidden;
  90.         text-transform: capitalize;
  91.         border-radius: 4px;
  92.         transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  93.         text-decoration: none;
  94.     }
  95.     #siteNav.medium > li > a {
  96.         margin-left: 0;
  97.     }
  98.     #siteNav.medium > li {
  99.         margin-right: 5px;
  100.     }
  101.     #siteNav.medium > li:last-child {
  102.         margin-right: 0;
  103.     }
  104.     /* Hover line effect */
  105.     #siteNav.medium > li a::after {
  106.         content: '';
  107.         position: absolute;
  108.         bottom: 0;
  109.         left: 50%;
  110.         width: 0;
  111.         height: 2px;
  112.         ";
  113.         // line 66
  114.         if ((isset($context["is_authenticated"]) || array_key_exists("is_authenticated"$context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.'66$this->source); })())) {
  115.             // line 67
  116.             echo "        background-color: #6c757d;
  117.         ";
  118.         } else {
  119.             // line 69
  120.             echo "        background-color: #333;
  121.         ";
  122.         }
  123.         // line 71
  124.         echo "        transition: width 0.3s ease-out, transform 0.3s ease-out;
  125.         transform: translateX(-50%);
  126.         transform-origin: center;
  127.     }
  128.     #siteNav.medium > li a:hover::after {
  129.         width: 100%;
  130.         transform: translateX(-50%) scaleX(1);
  131.     }
  132.     #siteNav.medium > li .dropdown-item {
  133.         ";
  134.         // line 82
  135.         if ((isset($context["is_authenticated"]) || array_key_exists("is_authenticated"$context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.'82$this->source); })())) {
  136.             // line 83
  137.             echo "        color: #6c757d;
  138.         ";
  139.         } else {
  140.             // line 85
  141.             echo "        color: #333;
  142.         ";
  143.         }
  144.         // line 87
  145.         echo "        font-family: 'Montserrat', sans-serif;
  146.     }
  147.     #siteNav.medium > li .dropdown-item:hover {
  148.         background-color: #0d6efd;
  149.         color: #fff;
  150.         font-weight: 600;
  151.     }
  152.     /* Active link */
  153.     #siteNav.medium > li.active-link > a {
  154.         ";
  155.         // line 98
  156.         if ((isset($context["is_authenticated"]) || array_key_exists("is_authenticated"$context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.'98$this->source); })())) {
  157.             // line 99
  158.             echo "        color: #6c757d !important;
  159.         ";
  160.         } else {
  161.             // line 101
  162.             echo "        color: #333 !important;
  163.         ";
  164.         }
  165.         // line 103
  166.         echo "        font-weight: 700;
  167.         background-color: transparent !important;
  168.     }
  169.     #siteNav.medium > li.active-link > a::after {
  170.         width: 100%;
  171.         transform: translateX(-50%) scaleX(1);
  172.         ";
  173.         // line 110
  174.         if ((isset($context["is_authenticated"]) || array_key_exists("is_authenticated"$context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.'110$this->source); })())) {
  175.             // line 111
  176.             echo "        background-color: #6c757d;
  177.         ";
  178.         } else {
  179.             // line 113
  180.             echo "        background-color: #333;
  181.         ";
  182.         }
  183.         // line 115
  184.         echo "    }
  185.     #siteNav.medium > li a:hover {
  186.         ";
  187.         // line 118
  188.         if ((isset($context["is_authenticated"]) || array_key_exists("is_authenticated"$context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.'118$this->source); })())) {
  189.             // line 119
  190.             echo "        color: #6c757d !important;
  191.         ";
  192.         } else {
  193.             // line 121
  194.             echo "        color: #000000 !important;
  195.         ";
  196.         }
  197.         // line 123
  198.         echo "        background-color: transparent !important;
  199.     }
  200.     #siteNav.medium > li.lvl1.parent.megamenu .megamenu a:hover{
  201.         color: inherit !important;
  202.     }
  203.     #siteNav.medium > li a:hover::after {
  204.         ";
  205.         // line 131
  206.         if ((isset($context["is_authenticated"]) || array_key_exists("is_authenticated"$context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.'131$this->source); })())) {
  207.             // line 132
  208.             echo "        background-color: #6c757d;
  209.         ";
  210.         } else {
  211.             // line 134
  212.             echo "        background-color: #333;
  213.         ";
  214.         }
  215.         // line 136
  216.         echo "    }
  217.     /* Professional area button */
  218.     .login-nav-item a.site-nav {
  219.         background: linear-gradient(to bottom right, #91D6F3, #3F91F3);
  220.         color: #fff !important;
  221.         padding: 10px 25px !important;
  222.         border-radius: 50px !important;
  223.         text-transform: capitalize !important;
  224.         font-weight: 700 !important;
  225.         box-shadow: 0 3px 5px rgba(0, 0, 0, 0.6);
  226.         transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  227.         border: none;
  228.         white-space: nowrap !important;
  229.         min-width: max-content !important;
  230.     }
  231.     /* Technical area button */
  232.     #siteNav.medium > li a[href*=\"technicalArea\"],
  233.     #siteNav.medium > li a[href*=\"technical-area\"] {
  234.         white-space: nowrap !important;
  235.         min-width: max-content !important;
  236.     }
  237.     .login-nav-item a.site-nav:hover {
  238.         background: linear-gradient(to bottom right, #3F91F3, #91D6F3);
  239.         box-shadow: 0 5px 7px rgba(0, 0, 0, 0.2);
  240.     }
  241.     .login-nav-item a.site-nav i {
  242.         color: #fff !important;
  243.     }
  244.     /* Professional area header styling - cart and user icons */
  245.     .header-cart .site-header__cart i {
  246.         color: #6c757d !important;
  247.     }
  248.     .header-cart .site-header__cart:hover i {
  249.         color: #6c757d !important;
  250.     }
  251.     .header-cart .site-cart-count {
  252.         background-color: #6c757d !important;
  253.         color: #fff !important;
  254.         transition: background-color 0.2s ease-in-out;
  255.     }
  256.     .header-cart .site-header__cart:hover .site-cart-count {
  257.         background-color: #6c757d !important;
  258.     }
  259.     ";
  260.         // line 188
  261.         if ((isset($context["is_authenticated"]) || array_key_exists("is_authenticated"$context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.'188$this->source); })())) {
  262.             // line 189
  263.             echo "    .user-link.iconset .icon.an-user {
  264.         color: #6c757d !important;
  265.     }
  266.     .user-link.iconset:hover .icon.an-user {
  267.         color: #6c757d !important;
  268.     }
  269.     .user-link.iconset .icon {
  270.         color: #6c757d !important;
  271.     }
  272.     .user-link.iconset:hover .icon {
  273.         color: #6c757d !important;
  274.     }
  275.     .d-flex.align-items-center .user-link.iconset .icon {
  276.         color: #6c757d !important;
  277.     }
  278.     .d-flex.align-items-center .user-link.iconset:hover .icon {
  279.         color: #6c757d !important;
  280.     }
  281.     i.icon.an-user.d-block {
  282.         color: #6c757d !important;
  283.     }
  284.     .user-link.iconset i.icon.an-user.d-block {
  285.         color: #6c757d !important;
  286.     }
  287.     .user-link.iconset:hover i.icon.an-user.d-block {
  288.         color: #6c757d !important;
  289.     }
  290.     ";
  291.         }
  292.         // line 225
  293.         echo "
  294.     /* User manual link styling */
  295.     ";
  296.         // line 227
  297.         if ((isset($context["is_authenticated"]) || array_key_exists("is_authenticated"$context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.'227$this->source); })())) {
  298.             // line 228
  299.             echo "    .user-manual-link.iconset {
  300.         font-family: 'Montserrat', sans-serif;
  301.     }
  302.     .user-manual-link.iconset span {
  303.         color: #6c757d !important;
  304.         font-weight: 600;
  305.         font-size: 11px;
  306.         text-transform: capitalize;
  307.         transition: color 0.2s ease-in-out;
  308.         cursor: pointer;
  309.     }
  310.     .user-manual-link.iconset:hover span {
  311.         color: #6c757d !important;
  312.     }
  313.     ";
  314.         }
  315.         // line 245
  316.         echo "    
  317.     /* Logo sizing */
  318.     #siteNav.medium > li:first-child a img,
  319.     .navbar-logo {
  320.         min-width: 45px !important;
  321.         width: 60px !important;
  322.     }
  323.     /* Hover de logo, megamenu, empresa y idioma */
  324.     .logo-nav-item .logo-link::after {
  325.         display: none;
  326.     }
  327.     .logo-nav-item .logo-link:hover::after {
  328.         display: none;
  329.     }
  330.     #siteNav.medium > li.logo-nav-item a::after {
  331.         display: none;
  332.     }
  333.     #siteNav.medium > li.logo-nav-item a:hover::after {
  334.         display: none;
  335.     }
  336.     .lvl1.parent.megamenu * a::after,
  337.     .lvl1.parent.megamenu * a:hover::after 
  338.     {
  339.         display: none;
  340.         color: initial;
  341.         background-color: initial;
  342.     }
  343.     #siteNav .menu-brand-logo a {
  344.         transition: background-color 0.3s ease-in-out;
  345.         background-color: transparent;
  346.     }
  347.     #siteNav .menu-brand-logo a:hover {
  348.         background-color: #f0f0f0 !important;
  349.     }
  350.     #siteNav.medium .menu-brand-logo a:hover {
  351.         background-color: #f0f0f0 !important;
  352.     }
  353.     #siteNav.medium > li.lvl1.parent.dropdown ul.dropdown a::after,
  354.     #siteNav.medium > li.lvl1.parent.dropdown ul.dropdown a:hover::after {
  355.         display: none;
  356.     }
  357.     .lang-image {
  358.         min-width: 25px !important;
  359.         width: 30px !important;
  360.         object-fit: contain;
  361.     }
  362.     #siteNav.medium > li.lang-image-li a:hover::after {
  363.         display: none;
  364.     }
  365.     /* Search animation */
  366.     @keyframes shake {
  367.         0%, 100% { transform: translateX(0); }
  368.         10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  369.         20%, 40%, 60%, 80% { transform: translateX(5px); }
  370.     }
  371.     .shake {
  372.         animation: shake 0.5s;
  373.     }
  374.     #search-box::placeholder {
  375.         color: #FF0000;
  376.     }
  377.     #siteNav.medium .d-flex.align-items-center .iconset {
  378.         display: flex;
  379.         align-items: center;
  380.         height: auto;
  381.         padding: 8px 15px;
  382.         margin: 0;
  383.     }
  384.     /* Responsive breakpoints */
  385.     @media only screen and (min-width: 1800px) {
  386.         #siteNav.medium > li a {
  387.             padding: 10px 20px;
  388.             font-size: 17px;
  389.         }
  390.     }
  391.     @media only screen and (min-width: 1740px) and (max-width: 1640px) {
  392.         #siteNav.medium {
  393.             gap: 10px;
  394.         }
  395.         
  396.         #siteNav.medium > li a {
  397.             padding: 8px 15px;
  398.             font-size: 16px;
  399.         }
  400.         
  401.         #siteNav.medium > li {
  402.             flex: 0 1 auto;
  403.         }
  404.         
  405.         #siteNav.medium > li:not(:first-child):not(.lang-image-li):not(.user-menu):not(.login-nav-item):not(.minicart-nav-item) {
  406.             flex: 1 1 auto;
  407.             max-width: 180px;
  408.         }
  409.     }
  410.     @media only screen and (max-width: 1690px) {
  411.         #siteNav.medium > li a {
  412.             padding: 8px 10px;
  413.             font-size: 15px;
  414.         }
  415.     }
  416.     @media only screen and (max-width: 1500px) {
  417.         #siteNav.medium > li a {
  418.             padding: 8px 10px;
  419.             font-size: 15px;
  420.         }
  421.     }
  422.     @media only screen and (max-width: 1300px) {
  423.         #siteNav.medium > li a {
  424.             padding: 8px 10px;
  425.             font-size: 14px;
  426.         }
  427.     }
  428.     @media (max-width: 1090px) {
  429.         #siteNav.medium > li a {
  430.             padding: 8px 5px;
  431.             font-size: 14px;
  432.         }
  433.         .login-nav-item a.site-nav .text {
  434.             display: inline !important;
  435.             white-space: nowrap !important;
  436.         }
  437.         .login-nav-item a.site-nav i {
  438.             display: none !important;
  439.         }
  440.         
  441.         #siteNav.medium > li a[href*=\"technicalArea\"],
  442.         #siteNav.medium > li a[href*=\"technical-area\"] {
  443.             white-space: nowrap !important;
  444.             min-width: max-content !important;
  445.         }
  446.     }
  447.     @media (min-width: 1240px) {
  448.         .login-nav-item a.site-nav .text.d-none.d-xl-inline {
  449.             display: inline !important;
  450.         }
  451.         .login-nav-item a.site-nav i.d-block.d-xl-none {
  452.             display: none !important;
  453.         }
  454.     }
  455.     @media (max-width: 1239px) {
  456.         .login-nav-item a.site-nav .text.d-none.d-xl-inline {
  457.             display: none !important;
  458.         }
  459.         .login-nav-item a.site-nav i.d-block.d-xl-none {
  460.             display: block !important;
  461.         }
  462.     }
  463.     @media (min-width: 991px) {
  464.         .header.header-space-mobile {
  465.             padding-bottom: 15px;
  466.         }
  467.     }
  468.     @media (max-width: 991px) {
  469.         .header.header-space-mobile {
  470.             padding: 15px 0;
  471.         }
  472.     }
  473. </style>
  474. <div class=\"menu-outer d-none d-lg-block pb-1 mt-1\">
  475. \t<div class=\"container-fluid\">
  476. \t\t<div class=\"row\">
  477. \t\t\t<div class=\"col-1 col-sm-1 col-md-1 col-lg-12 align-self-center d-menu-col\">
  478. \t\t\t\t<nav class=\"grid__item position-relative\" id=\"AccessibleNav\" >
  479.                     ";
  480.         // line 434
  481.         echo "\t\t\t\t\t<ul id=\"siteNav\" class=\"site-nav medium center hidearrow align-items-center\">
  482.                         <li class=\"lvl1 logo-nav-item\"> ";
  483.         // line 436
  484.         echo "                            <a href=\"";
  485.         (((isset($context["isRoot"]) || array_key_exists("isRoot"$context) ? $context["isRoot"] : (function () { throw new RuntimeError('Variable "isRoot" does not exist.'436$this->source); })())) ? (print ("#sticky-header")) : (print (twig_escape_filter($this->env, ((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'436$this->source); })()) . "/"), "html"nulltrue))));
  486.         echo "\" class=\"m-0 p-0 py-2 logo-link\">
  487.                                 <img src=\"";
  488.         // line 437
  489.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/static2/images/midnight/assets/logo-bsn.png"), "html"nulltrue);
  490.         echo "\" class=\"rounded-circle navbar-logo\" style=\"width: 35px; vertical-align: middle;\">
  491.                             </a>
  492.                         </li>
  493.                         ";
  494.         // line 441
  495.         echo "                        <li class=\"lvl1 parent megamenu\">
  496.                             <a href=\"";
  497.         // line 442
  498.         echo twig_escape_filter($this->env, ("/" . (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'442$this->source); })()), "request", [], "any"falsefalsetrue442), "locale", [], "any"falsefalsetrue442) == "en")) ? ("en/products/default_m1") : ("es/productos/default_m1"))), "html"nulltrue);
  499.         echo "\">";
  500.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.navbar-desktop.products_translations"), "html"nulltrue);
  501.         echo "
  502.                                 <i class=\"an an-angle-down-l\"></i>
  503.                             </a>
  504.                             ";
  505.         // line 445
  506.         echo $this->env->getFunction('pimcore_inc')->getCallable()($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["document"]) || array_key_exists("document"$context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.'445$this->source); })()), "getProperty", ["categories-navbar"], "method"falsefalsetrue445), 445$this->source), [], false);
  507.         echo "
  508.                         </li>
  509.                         ";
  510.         // line 448
  511.         echo "                        ";
  512.         // line 449
  513.         echo "                        <li class=\"lvl1 parent dropdown\">
  514.                             <a href=\"";
  515.         // line 450
  516.         (((isset($context["isRoot"]) || array_key_exists("isRoot"$context) ? $context["isRoot"] : (function () { throw new RuntimeError('Variable "isRoot" does not exist.'450$this->source); })())) ? (print ("#featured-services")) : (print (twig_escape_filter($this->env, ((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'450$this->source); })()) . "#featured-services"), "html"nulltrue))));
  517.         echo "\">";
  518.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.footer.information.professional-area_translations"), "html"nulltrue);
  519.         echo "
  520.                                 <i class=\"an an-angle-down-l\"></i>
  521.                             </a>
  522.                                 <ul class=\"dropdown\">
  523.                                     <li><a href=\"";
  524.         // line 454
  525.         (((isset($context["isAboutUs"]) || array_key_exists("isAboutUs"$context) ? $context["isAboutUs"] : (function () { throw new RuntimeError('Variable "isAboutUs" does not exist.'454$this->source); })())) ? (print ("#company")) : (print (twig_escape_filter($this->env, (((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'454$this->source); })()) . "/") . (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'454$this->source); })()), "request", [], "any"falsefalsetrue454), "locale", [], "any"falsefalsetrue454) == "en")) ? ("about-us") : ("empresa"))), "html"nulltrue))));
  526.         echo "\" class=\"site-nav\">";
  527.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home.about-us_title_translations"), "html"nulltrue);
  528.         echo "</a></li>
  529.                                     <li><a href=\"";
  530.         // line 455
  531.         (((isset($context["isAboutUs"]) || array_key_exists("isAboutUs"$context) ? $context["isAboutUs"] : (function () { throw new RuntimeError('Variable "isAboutUs" does not exist.'455$this->source); })())) ? (print ("#technicalAdvice")) : (print (twig_escape_filter($this->env, (((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'455$this->source); })()) . "/") . (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'455$this->source); })()), "request", [], "any"falsefalsetrue455), "locale", [], "any"falsefalsetrue455) == "en")) ? ("about-us#technicalAdvice") : ("empresa#technicalAdvice"))), "html"nulltrue))));
  532.         echo "\" class=\"site-nav\">";
  533.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home.about-us-cards.technical_advice_translations"), "html"nulltrue);
  534.         echo "</a></li>
  535.                                     <li><a href=\"";
  536.         // line 456
  537.         (((isset($context["isAboutUs"]) || array_key_exists("isAboutUs"$context) ? $context["isAboutUs"] : (function () { throw new RuntimeError('Variable "isAboutUs" does not exist.'456$this->source); })())) ? (print ("#customService")) : (print (twig_escape_filter($this->env, (((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'456$this->source); })()) . "/") . (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'456$this->source); })()), "request", [], "any"falsefalsetrue456), "locale", [], "any"falsefalsetrue456) == "en")) ? ("about-us#customService") : ("empresa#customService"))), "html"nulltrue))));
  538.         echo "\" class=\"site-nav\">";
  539.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home.about-us-cards.custom_service_translations"), "html"nulltrue);
  540.         echo "</a></li>
  541.                                     <li><a href=\"";
  542.         // line 457
  543.         (((isset($context["isAboutUs"]) || array_key_exists("isAboutUs"$context) ? $context["isAboutUs"] : (function () { throw new RuntimeError('Variable "isAboutUs" does not exist.'457$this->source); })())) ? (print ("#stockLogistic")) : (print (twig_escape_filter($this->env, (((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'457$this->source); })()) . "/") . (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'457$this->source); })()), "request", [], "any"falsefalsetrue457), "locale", [], "any"falsefalsetrue457) == "en")) ? ("about-us#stockLogistic") : ("empresa#stockLogistic"))), "html"nulltrue))));
  544.         echo "\" class=\"site-nav\">";
  545.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home.about-us-cards.stock_and_logistics_translations"), "html"nulltrue);
  546.         echo "</a></li>
  547.                                     <li><a href=\"";
  548.         // line 458
  549.         (((isset($context["isAboutUs"]) || array_key_exists("isAboutUs"$context) ? $context["isAboutUs"] : (function () { throw new RuntimeError('Variable "isAboutUs" does not exist.'458$this->source); })())) ? (print ("#stockLogistic")) : (print (twig_escape_filter($this->env, (((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'458$this->source); })()) . "/") . (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'458$this->source); })()), "request", [], "any"falsefalsetrue458), "locale", [], "any"falsefalsetrue458) == "en")) ? ("about-us#stockLogistic") : ("empresa#stockLogistic"))), "html"nulltrue))));
  550.         echo "\" class=\"site-nav\">";
  551.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home.about-us-cards.training_translations"), "html"nulltrue);
  552.         echo "</a></li>
  553.                                 </ul>
  554.                         </li>
  555.                         ";
  556.         // line 462
  557.         echo "                        <li class=\"lvl1 parent dropdown\">
  558.                             <a href=\"";
  559.         // line 463
  560.         (((isset($context["isRoot"]) || array_key_exists("isRoot"$context) ? $context["isRoot"] : (function () { throw new RuntimeError('Variable "isRoot" does not exist.'463$this->source); })())) ? (print ("#technicalArea")) : (print (twig_escape_filter($this->env, ((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'463$this->source); })()) . "#technicalArea"), "html"nulltrue))));
  561.         echo "\">";
  562.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Layout.Navegation.Technical-Area_translations"), "html"nulltrue);
  563.         echo "
  564.                                 <i class=\"an an-angle-down-l\"></i>
  565.                             </a>
  566.                             ";
  567.         // line 466
  568.         if ((((isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'466$this->source); })()) != "/") && ((isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'466$this->source); })()) != "/en"))) {
  569.             // line 467
  570.             echo "                                <ul class=\"dropdown\">
  571.                                     <li><a href=\"";
  572.             // line 468
  573.             echo twig_escape_filter($this->env, ("/" . (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'468$this->source); })()), "request", [], "any"falsefalsetrue468), "locale", [], "any"falsefalsetrue468) == "en")) ? ("en/technical-area/painting-schemes") : ("es/area-tecnica/esquemas-de-pintado"))), "html"nulltrue);
  574.             echo "\" class=\"site-nav\">";
  575.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Esquemas de pintado"), "html"nulltrue);
  576.             echo "</a></li>
  577.                                     <li><a href=\"#\" class=\"site-nav\" id=\"search-link\">";
  578.             // line 469
  579.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Fichas técnicas y de seguridad"), "html"nulltrue);
  580.             echo "</a></li>
  581.                                     <li><a href=\"";
  582.             // line 470
  583.             echo twig_escape_filter($this->env, ("/" . (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'470$this->source); })()), "request", [], "any"falsefalsetrue470), "locale", [], "any"falsefalsetrue470) == "en")) ? ("en/technical-area/calculate-square-meters") : ("es/area-tecnica/calcular-metros-cuadrados"))), "html"nulltrue);
  584.             echo "\" class=\"site-nav\">";
  585.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Calcular metros cuadrados"), "html"nulltrue);
  586.             echo "</a></li>
  587.                                     <li><a href=\"";
  588.             // line 471
  589.             echo twig_escape_filter($this->env, ("/" . (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'471$this->source); })()), "request", [], "any"falsefalsetrue471), "locale", [], "any"falsefalsetrue471) == "en")) ? ("en/technical-area/how-much-paint-do-I-need") : ("es/area-tecnica/cuanta-pintura-necesito"))), "html"nulltrue);
  590.             echo "\" class=\"site-nav\">";
  591.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cuánta pintura necesito?"), "html"nulltrue);
  592.             echo "</a></li>
  593.                                 </ul>
  594.                             ";
  595.         }
  596.         // line 474
  597.         echo "                        </li>
  598.                         ";
  599.         // line 476
  600.         echo "                        <li class=\"lvl1 parent dropdown\">
  601.                             <a href=\"";
  602.         // line 477
  603.         (((isset($context["isRoot"]) || array_key_exists("isRoot"$context) ? $context["isRoot"] : (function () { throw new RuntimeError('Variable "isRoot" does not exist.'477$this->source); })())) ? (print ("#catalog")) : (print (twig_escape_filter($this->env, ((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'477$this->source); })()) . "#catalog"), "html"nulltrue))));
  604.         echo "\">";
  605.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lbl_Catálogo"), "html"nulltrue);
  606.         echo "
  607.                                 <i class=\"an an-angle-down-l\"></i>
  608.                             </a>
  609.                         </li>
  610.                         ";
  611.         // line 481
  612.         if ( !(isset($context["is_authenticated"]) || array_key_exists("is_authenticated"$context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.'481$this->source); })())) {
  613.             // line 482
  614.             echo "                            <li class=\"lvl1 parent dropdown\">
  615.                                 <a href=\"";
  616.             // line 483
  617.             (((isset($context["isRoot"]) || array_key_exists("isRoot"$context) ? $context["isRoot"] : (function () { throw new RuntimeError('Variable "isRoot" does not exist.'483$this->source); })())) ? (print ("#collaborators")) : (print (twig_escape_filter($this->env, ((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'483$this->source); })()) . "#collaborators"), "html"nulltrue))));
  618.             echo "\">";
  619.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.navegation.collaborators_translations"), "html"nulltrue);
  620.             echo "<i class=\"an an-angle-down-l\"></i></a>
  621.                                 ";
  622.             // line 484
  623.             if ((((isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'484$this->source); })()) != "/") && ((isset($context["currentPath"]) || array_key_exists("currentPath"$context) ? $context["currentPath"] : (function () { throw new RuntimeError('Variable "currentPath" does not exist.'484$this->source); })()) != "/en"))) {
  624.                 // line 485
  625.                 echo "                                    <ul class=\"dropdown\">
  626.                                         <li>
  627.                                             <a href=\"";
  628.                 // line 487
  629.                 echo twig_escape_filter($this->env, ("/" . (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'487$this->source); })()), "request", [], "any"falsefalsetrue487), "locale", [], "any"falsefalsetrue487) == "en")) ? ("en/point-of-sale") : ("es/puntos-de-venta"))), "html"nulltrue);
  630.                 echo "\" class=\"site-nav\">";
  631.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home.collaborators.points-of-sale_translations"), "html"nulltrue);
  632.                 echo "</a>
  633.                                         </li>
  634.                                         <li>
  635.                                             <a href=\"";
  636.                 // line 490
  637.                 echo twig_escape_filter($this->env, ("/" . (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'490$this->source); })()), "request", [], "any"falsefalsetrue490), "locale", [], "any"falsefalsetrue490) == "en")) ? ("en/industry-professionals") : ("es/profesionales-del-sector"))), "html"nulltrue);
  638.                 echo "\" class=\"site-nav\">";
  639.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("home.collaborators.industry-professionals_translations"), "html"nulltrue);
  640.                 echo "</a>
  641.                                         </li>
  642.                                     </ul>
  643.                                 ";
  644.             }
  645.             // line 494
  646.             echo "                            </li>
  647.                         ";
  648.         } else {
  649.             // line 496
  650.             echo "
  651.                             ";
  652.             // line 498
  653.             echo "                            ";
  654.             $context["ratesEnRoute"] = "rates-view-translated-en";
  655.             // line 499
  656.             echo "                            ";
  657.             $context["ratesEsRoute"] = "rates-view-translated-es";
  658.             // line 500
  659.             echo "
  660.                             ";
  661.             // line 502
  662.             echo "                            ";
  663.             if (((isset($context["currentLocale"]) || array_key_exists("currentLocale"$context) ? $context["currentLocale"] : (function () { throw new RuntimeError('Variable "currentLocale" does not exist.'502$this->source); })()) == "en")) {
  664.                 // line 503
  665.                 echo "                                ";
  666.                 $context["ratesRoute"] = (isset($context["ratesEnRoute"]) || array_key_exists("ratesEnRoute"$context) ? $context["ratesEnRoute"] : (function () { throw new RuntimeError('Variable "ratesEnRoute" does not exist.'503$this->source); })());
  667.                 // line 504
  668.                 echo "                            ";
  669.             } else {
  670.                 // line 505
  671.                 echo "                                ";
  672.                 $context["ratesRoute"] = (isset($context["ratesEsRoute"]) || array_key_exists("ratesEsRoute"$context) ? $context["ratesEsRoute"] : (function () { throw new RuntimeError('Variable "ratesEsRoute" does not exist.'505$this->source); })());
  673.                 // line 506
  674.                 echo "                            ";
  675.             }
  676.             // line 507
  677.             echo "                            <li class=\"lvl1 parent dropdown\">
  678.                                 <a href=\"";
  679.             // line 508
  680.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath($this->sandbox->ensureToStringAllowed((isset($context["ratesRoute"]) || array_key_exists("ratesRoute"$context) ? $context["ratesRoute"] : (function () { throw new RuntimeError('Variable "ratesRoute" does not exist.'508$this->source); })()), 508$this->source));
  681.             echo "\">";
  682.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lbl_Tarifa"), "html"nulltrue);
  683.             echo "<i class=\"an an-angle-down-l\"></i></a>
  684.                             </li>
  685.                         ";
  686.         }
  687.         // line 511
  688.         echo "                        ";
  689.         // line 514
  690.         echo "                        <li class=\"lvl1 parent dropdown\">
  691.                             <a href=\"";
  692.         // line 515
  693.         (((isset($context["isRoot"]) || array_key_exists("isRoot"$context) ? $context["isRoot"] : (function () { throw new RuntimeError('Variable "isRoot" does not exist.'515$this->source); })())) ? (print ("#team")) : (print (twig_escape_filter($this->env, ((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'515$this->source); })()) . "#team"), "html"nulltrue))));
  694.         echo "\">";
  695.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.navbar-desktop.team_translations"), "html"nulltrue);
  696.         echo "<i class=\"an an-angle-down-l\"></i></a>
  697.                         </li>
  698.                         <li class=\"lvl1 parent dropdown\">
  699.                             <a href=\"";
  700.         // line 518
  701.         (((isset($context["isRoot"]) || array_key_exists("isRoot"$context) ? $context["isRoot"] : (function () { throw new RuntimeError('Variable "isRoot" does not exist.'518$this->source); })())) ? (print ("#contact")) : (print (twig_escape_filter($this->env, ((isset($context["navStartNode"]) || array_key_exists("navStartNode"$context) ? $context["navStartNode"] : (function () { throw new RuntimeError('Variable "navStartNode" does not exist.'518$this->source); })()) . "#contact"), "html"nulltrue))));
  702.         echo "\" class=\"site-nav\">
  703.                                 ";
  704.         // line 519
  705.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("BotonContacto"), "html"nulltrue);
  706.         echo "<i class=\"an an-angle-down-l\"></i>
  707.                             </a>
  708.                         </li>
  709.                         ";
  710.         // line 523
  711.         echo "                        ";
  712.         $context["documentName"] = (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'523$this->source); })()), "request", [], "any"falsefalsetrue523), "locale", [], "any"falsefalsetrue523) == "en")) ? ("/recent-events") : ("/eventos-recientes"));
  713.         // line 524
  714.         echo "                        ";
  715.         $context["eventDocument"] = Pimcore\Model\Document::getByPath((("/" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'524$this->source); })()), "request", [], "any"falsefalsetrue524), "locale", [], "any"falsefalsetrue524), 524$this->source)) . $this->sandbox->ensureToStringAllowed((isset($context["documentName"]) || array_key_exists("documentName"$context) ? $context["documentName"] : (function () { throw new RuntimeError('Variable "documentName" does not exist.'524$this->source); })()), 524$this->source)));
  716.         // line 525
  717.         echo "                        ";
  718.         $context["eventBlock"] = twig_get_attribute($this->env$this->source, (isset($context["eventDocument"]) || array_key_exists("eventDocument"$context) ? $context["eventDocument"] : (function () { throw new RuntimeError('Variable "eventDocument" does not exist.'525$this->source); })()), "getEditable", ["eventBlock"], "method"falsefalsetrue525);
  719.         // line 526
  720.         echo "                        ";
  721.         if (( !(null === (isset($context["eventBlock"]) || array_key_exists("eventBlock"$context) ? $context["eventBlock"] : (function () { throw new RuntimeError('Variable "eventBlock" does not exist.'526$this->source); })())) &&  !twig_get_attribute($this->env$this->source, (isset($context["eventBlock"]) || array_key_exists("eventBlock"$context) ? $context["eventBlock"] : (function () { throw new RuntimeError('Variable "eventBlock" does not exist.'526$this->source); })()), "isEmpty", [], "method"falsefalsetrue526))) {
  722.             // line 527
  723.             echo "                            <li class=\"lvl1 parent dropdown\">
  724.                                 ";
  725.             // line 528
  726.             $context["eventsPath"] = (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'528$this->source); })()), "request", [], "any"falsefalsetrue528), "locale", [], "any"falsefalsetrue528) == "en")) ? ("/en/recent-events") : ("/es/eventos-recientes"));
  727.             // line 529
  728.             echo "                                <a href=\"";
  729.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["eventsPath"]) || array_key_exists("eventsPath"$context) ? $context["eventsPath"] : (function () { throw new RuntimeError('Variable "eventsPath" does not exist.'529$this->source); })()), 529$this->source), "html"nulltrue);
  730.             echo "\" class=\"site-nav\">
  731.                                     ";
  732.             // line 530
  733.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Events"), "html"nulltrue);
  734.             echo "<i class=\"an an-angle-down-l\"></i>
  735.                                 </a>
  736.                             </li>
  737.                         ";
  738.         }
  739.         // line 534
  740.         echo "
  741.                         <div class=\"d-flex align-items-center\">
  742.                             ";
  743.         // line 536
  744.         if ((isset($context["is_authenticated"]) || array_key_exists("is_authenticated"$context) ? $context["is_authenticated"] : (function () { throw new RuntimeError('Variable "is_authenticated" does not exist.'536$this->source); })())) {
  745.             // line 537
  746.             echo "                                <div class=\"user-link iconset\">
  747.                                     <i class=\"icon an an-user d-block\"></i>
  748.                                     <span class=\"text d-none d-lg-flex\"></span>
  749.                                 </div>
  750.                                 ";
  751.             // line 541
  752.             echo twig_include($this->env$context"layout/includes/user-links.html.twig");
  753.             echo "
  754.                                 ";
  755.             // line 542
  756.             echo $this->env->getFunction('pimcore_inc')->getCallable()((("/" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'542$this->source); })()), "request", [], "any"falsefalsetrue542), "locale", [], "any"falsefalsetrue542), 542$this->source)) . "/includes/navbar-top"), [], false);
  757.             echo "
  758.                             ";
  759.         } else {
  760.             // line 544
  761.             echo "                                <li class=\"lvl1 login-nav-item\">
  762.                                     <a href=\"";
  763.             // line 545
  764.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath($this->sandbox->ensureToStringAllowed((isset($context["loginRoute"]) || array_key_exists("loginRoute"$context) ? $context["loginRoute"] : (function () { throw new RuntimeError('Variable "loginRoute" does not exist.'545$this->source); })()), 545$this->source));
  765.             echo "\" class=\"site-nav\">
  766.                                         <i class=\"icon an an-sign-in-al d-block d-xl-none\"></i>
  767.                                         <span class=\"text d-none d-xl-inline\">";
  768.             // line 547
  769.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("layout.navbar-desktop.professional-area_translations"), "html"nulltrue);
  770.             echo "</span>
  771.                                     </a>
  772.                                 </li>
  773.                             ";
  774.         }
  775.         // line 551
  776.         echo "
  777.                             <li class=\"lvl1 lang-image-li iconset\" >
  778.                                 ";
  779.         // line 553
  780.         $context["currentLanguage"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'553$this->source); })()), "request", [], "any"falsefalsetrue553), "locale", [], "any"falsefalsetrue553);
  781.         // line 554
  782.         echo "                                ";
  783.         if (((isset($context["currentLanguage"]) || array_key_exists("currentLanguage"$context) ? $context["currentLanguage"] : (function () { throw new RuntimeError('Variable "currentLanguage" does not exist.'554$this->source); })()) == "es")) {
  784.             // line 555
  785.             echo "                                <a href=\"";
  786.             echo twig_escape_filter($this->env, (Pimcore\Model\Document::getById(1) . "en"), "html"nulltrue);
  787.             echo "\">
  788.                                     <img class=\"lang-image\" src=\"";
  789.             // line 556
  790.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons8-great-britain-48.png"), "html"nulltrue);
  791.             echo "\" alt=\"English\"/>
  792.                                 </a>
  793.                                 <span class=\"tooltip-label\">English</span>
  794.                                 ";
  795.         } elseif ((        // line 559
  796. (isset($context["currentLanguage"]) || array_key_exists("currentLanguage"$context) ? $context["currentLanguage"] : (function () { throw new RuntimeError('Variable "currentLanguage" does not exist.'559$this->source); })()) == "en")) {
  797.             // line 560
  798.             echo "                                <a href=\"";
  799.             echo twig_escape_filter($this->env, (Pimcore\Model\Document::getById(1) . "es"), "html"nulltrue);
  800.             echo "\">
  801.                                     <img class=\"lang-image\" src=\"";
  802.             // line 561
  803.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons8-spain-48.png"), "html"nulltrue);
  804.             echo "\" alt=\"Español\"/>
  805.                                 </a>
  806.                                 <span class=\"tooltip-label\">Español</span>
  807.                                 ";
  808.         }
  809.         // line 565
  810.         echo "                            </li>
  811.                         </div>
  812. \t\t\t\t\t</ul>
  813. \t\t\t\t</nav>
  814. \t\t\t</div>
  815. \t\t</div>
  816. \t</div>
  817. </div>
  818. <script>
  819.     document.addEventListener(\"DOMContentLoaded\", function() {
  820.         var searchLink = document.getElementById(\"search-link\");
  821.         var searchBox = document.getElementById(\"search-box\");
  822.         var lang = document.documentElement.lang;
  823.         var placeholderText = lang === \"en\" ? \"What product do you want technical information for?\" : \"¿De qué producto quiere su ficha técnica?\";
  824.         var placeholderInterval;
  825.         var placeholderTextIndex = 0;
  826.         var isTyping = false;
  827.         function typePlaceholderText(element, text, interval) {
  828.             placeholderTextIndex = 0;
  829.             clearInterval(placeholderInterval);
  830.             isTyping = true;
  831.             placeholderInterval = setInterval(function() {
  832.                 element.setAttribute(\"placeholder\", text.slice(0, placeholderTextIndex));
  833.                 element.style.color = \"red\";
  834.                 placeholderTextIndex++;
  835.                 if (placeholderTextIndex > text.length) {
  836.                     clearInterval(placeholderInterval);
  837.                     isTyping = false;
  838.                 }
  839.             }, interval);
  840.         }
  841.         function shakeSearchBox() {
  842.             if (isTyping) {
  843.                 clearInterval(placeholderInterval);
  844.                 isTyping = false;
  845.                 searchBox.style.color = \"black\";
  846.             }
  847.             searchBox.value = \"\";
  848.             searchBox.removeAttribute(\"placeholder\");
  849.             searchBox.focus();
  850.             searchBox.classList.add(\"shake\");
  851.             setTimeout(function() {
  852.                 searchBox.classList.remove(\"shake\");
  853.                 typePlaceholderText(searchBox, placeholderText, 100);
  854.             }, 600);
  855.             searchBox.focus();
  856.         }
  857.         searchLink.addEventListener(\"click\", function(event) {
  858.             event.preventDefault();
  859.             shakeSearchBox();
  860.         });
  861.         searchBox.addEventListener(\"input\", function() {
  862.             if (searchBox.getAttribute(\"placeholder\") === placeholderText) {
  863.                 searchBox.value = \"\";
  864.                 searchBox.removeAttribute(\"placeholder\");
  865.             }
  866.             if (searchBox.value.length > 0) {
  867.                 searchBox.style.setProperty(\"color\", \"#000000\", \"important\");
  868.             } else if (!isTyping) {
  869.                 searchBox.style.setProperty(\"color\", \"#FF0000\", \"important\");
  870.             }
  871.         });
  872.         searchBox.addEventListener(\"keydown\", function() {
  873.             if (isTyping) {
  874.                 clearInterval(placeholderInterval);
  875.                 isTyping = false;
  876.                 searchBox.removeAttribute(\"style\");
  877.             }
  878.         });
  879.     });
  880. </script>
  881. ";
  882.         
  883.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  884.         
  885.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  886.     }
  887.     /**
  888.      * @codeCoverageIgnore
  889.      */
  890.     public function getTemplateName()
  891.     {
  892.         return "layout/includes/navegation/desktop.html.twig";
  893.     }
  894.     /**
  895.      * @codeCoverageIgnore
  896.      */
  897.     public function isTraitable()
  898.     {
  899.         return false;
  900.     }
  901.     /**
  902.      * @codeCoverageIgnore
  903.      */
  904.     public function getDebugInfo()
  905.     {
  906.         return array (  878 => 565,  871 => 561,  866 => 560,  864 => 559,  858 => 556,  853 => 555,  850 => 554,  848 => 553,  844 => 551,  837 => 547,  832 => 545,  829 => 544,  824 => 542,  820 => 541,  814 => 537,  812 => 536,  808 => 534,  801 => 530,  796 => 529,  794 => 528,  791 => 527,  788 => 526,  785 => 525,  782 => 524,  779 => 523,  773 => 519,  769 => 518,  761 => 515,  758 => 514,  756 => 511,  748 => 508,  745 => 507,  742 => 506,  739 => 505,  736 => 504,  733 => 503,  730 => 502,  727 => 500,  724 => 499,  721 => 498,  718 => 496,  714 => 494,  705 => 490,  697 => 487,  693 => 485,  691 => 484,  685 => 483,  682 => 482,  680 => 481,  671 => 477,  668 => 476,  665 => 474,  657 => 471,  651 => 470,  647 => 469,  641 => 468,  638 => 467,  636 => 466,  628 => 463,  625 => 462,  617 => 458,  611 => 457,  605 => 456,  599 => 455,  593 => 454,  584 => 450,  581 => 449,  579 => 448,  574 => 445,  566 => 442,  563 => 441,  557 => 437,  552 => 436,  549 => 434,  359 => 245,  340 => 228,  338 => 227,  334 => 225,  296 => 189,  294 => 188,  240 => 136,  236 => 134,  232 => 132,  230 => 131,  220 => 123,  216 => 121,  212 => 119,  210 => 118,  205 => 115,  201 => 113,  197 => 111,  195 => 110,  186 => 103,  182 => 101,  178 => 99,  176 => 98,  163 => 87,  159 => 85,  155 => 83,  153 => 82,  140 => 71,  136 => 69,  132 => 67,  130 => 66,  99 => 37,  95 => 35,  91 => 33,  89 => 32,  64 => 9,  61 => 8,  58 => 7,  55 => 6,  52 => 5,  50 => 4,  45 => 1,);
  907.     }
  908.     public function getSourceContext()
  909.     {
  910.         return new Source("<style>
  911.     @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
  912.     {% if currentPath == '/es/empresa' or currentPath == '/en/about-us'%}
  913.         {% set isAboutUs = true%}
  914.     {% else %}
  915.         {% set isAboutUs = false %}
  916.     {% endif %}
  917.     /* Base styles */
  918.     .menu-outer {
  919.         background-color: #fff;
  920.     }
  921.     #siteNav.medium {
  922.         font-family: 'Montserrat', sans-serif;
  923.         display: flex;
  924.         align-items: center;
  925.         flex-wrap: nowrap;
  926.         list-style-type: none;
  927.         padding-left: 0;
  928.         flex-grow: 1;
  929.         justify-content: space-between;
  930.         width: 100%;
  931.         gap: 5px;
  932.     }
  933.     #siteNav.medium > li a {
  934.         font-size: 16px;
  935.         padding: 8px 15px;
  936.         font-weight: 600;
  937.         {% if is_authenticated %}
  938.         color: #6c757d;
  939.         {% else %}
  940.         color: #000000;
  941.         {% endif %}
  942.         position: relative;
  943.         display: inline-block;
  944.         overflow: hidden;
  945.         text-transform: capitalize;
  946.         border-radius: 4px;
  947.         transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  948.         text-decoration: none;
  949.     }
  950.     #siteNav.medium > li > a {
  951.         margin-left: 0;
  952.     }
  953.     #siteNav.medium > li {
  954.         margin-right: 5px;
  955.     }
  956.     #siteNav.medium > li:last-child {
  957.         margin-right: 0;
  958.     }
  959.     /* Hover line effect */
  960.     #siteNav.medium > li a::after {
  961.         content: '';
  962.         position: absolute;
  963.         bottom: 0;
  964.         left: 50%;
  965.         width: 0;
  966.         height: 2px;
  967.         {% if is_authenticated %}
  968.         background-color: #6c757d;
  969.         {% else %}
  970.         background-color: #333;
  971.         {% endif %}
  972.         transition: width 0.3s ease-out, transform 0.3s ease-out;
  973.         transform: translateX(-50%);
  974.         transform-origin: center;
  975.     }
  976.     #siteNav.medium > li a:hover::after {
  977.         width: 100%;
  978.         transform: translateX(-50%) scaleX(1);
  979.     }
  980.     #siteNav.medium > li .dropdown-item {
  981.         {% if is_authenticated %}
  982.         color: #6c757d;
  983.         {% else %}
  984.         color: #333;
  985.         {% endif %}
  986.         font-family: 'Montserrat', sans-serif;
  987.     }
  988.     #siteNav.medium > li .dropdown-item:hover {
  989.         background-color: #0d6efd;
  990.         color: #fff;
  991.         font-weight: 600;
  992.     }
  993.     /* Active link */
  994.     #siteNav.medium > li.active-link > a {
  995.         {% if is_authenticated %}
  996.         color: #6c757d !important;
  997.         {% else %}
  998.         color: #333 !important;
  999.         {% endif %}
  1000.         font-weight: 700;
  1001.         background-color: transparent !important;
  1002.     }
  1003.     #siteNav.medium > li.active-link > a::after {
  1004.         width: 100%;
  1005.         transform: translateX(-50%) scaleX(1);
  1006.         {% if is_authenticated %}
  1007.         background-color: #6c757d;
  1008.         {% else %}
  1009.         background-color: #333;
  1010.         {% endif %}
  1011.     }
  1012.     #siteNav.medium > li a:hover {
  1013.         {% if is_authenticated %}
  1014.         color: #6c757d !important;
  1015.         {% else %}
  1016.         color: #000000 !important;
  1017.         {% endif %}
  1018.         background-color: transparent !important;
  1019.     }
  1020.     #siteNav.medium > li.lvl1.parent.megamenu .megamenu a:hover{
  1021.         color: inherit !important;
  1022.     }
  1023.     #siteNav.medium > li a:hover::after {
  1024.         {% if is_authenticated %}
  1025.         background-color: #6c757d;
  1026.         {% else %}
  1027.         background-color: #333;
  1028.         {% endif %}
  1029.     }
  1030.     /* Professional area button */
  1031.     .login-nav-item a.site-nav {
  1032.         background: linear-gradient(to bottom right, #91D6F3, #3F91F3);
  1033.         color: #fff !important;
  1034.         padding: 10px 25px !important;
  1035.         border-radius: 50px !important;
  1036.         text-transform: capitalize !important;
  1037.         font-weight: 700 !important;
  1038.         box-shadow: 0 3px 5px rgba(0, 0, 0, 0.6);
  1039.         transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  1040.         border: none;
  1041.         white-space: nowrap !important;
  1042.         min-width: max-content !important;
  1043.     }
  1044.     /* Technical area button */
  1045.     #siteNav.medium > li a[href*=\"technicalArea\"],
  1046.     #siteNav.medium > li a[href*=\"technical-area\"] {
  1047.         white-space: nowrap !important;
  1048.         min-width: max-content !important;
  1049.     }
  1050.     .login-nav-item a.site-nav:hover {
  1051.         background: linear-gradient(to bottom right, #3F91F3, #91D6F3);
  1052.         box-shadow: 0 5px 7px rgba(0, 0, 0, 0.2);
  1053.     }
  1054.     .login-nav-item a.site-nav i {
  1055.         color: #fff !important;
  1056.     }
  1057.     /* Professional area header styling - cart and user icons */
  1058.     .header-cart .site-header__cart i {
  1059.         color: #6c757d !important;
  1060.     }
  1061.     .header-cart .site-header__cart:hover i {
  1062.         color: #6c757d !important;
  1063.     }
  1064.     .header-cart .site-cart-count {
  1065.         background-color: #6c757d !important;
  1066.         color: #fff !important;
  1067.         transition: background-color 0.2s ease-in-out;
  1068.     }
  1069.     .header-cart .site-header__cart:hover .site-cart-count {
  1070.         background-color: #6c757d !important;
  1071.     }
  1072.     {% if is_authenticated %}
  1073.     .user-link.iconset .icon.an-user {
  1074.         color: #6c757d !important;
  1075.     }
  1076.     .user-link.iconset:hover .icon.an-user {
  1077.         color: #6c757d !important;
  1078.     }
  1079.     .user-link.iconset .icon {
  1080.         color: #6c757d !important;
  1081.     }
  1082.     .user-link.iconset:hover .icon {
  1083.         color: #6c757d !important;
  1084.     }
  1085.     .d-flex.align-items-center .user-link.iconset .icon {
  1086.         color: #6c757d !important;
  1087.     }
  1088.     .d-flex.align-items-center .user-link.iconset:hover .icon {
  1089.         color: #6c757d !important;
  1090.     }
  1091.     i.icon.an-user.d-block {
  1092.         color: #6c757d !important;
  1093.     }
  1094.     .user-link.iconset i.icon.an-user.d-block {
  1095.         color: #6c757d !important;
  1096.     }
  1097.     .user-link.iconset:hover i.icon.an-user.d-block {
  1098.         color: #6c757d !important;
  1099.     }
  1100.     {% endif %}
  1101.     /* User manual link styling */
  1102.     {% if is_authenticated %}
  1103.     .user-manual-link.iconset {
  1104.         font-family: 'Montserrat', sans-serif;
  1105.     }
  1106.     .user-manual-link.iconset span {
  1107.         color: #6c757d !important;
  1108.         font-weight: 600;
  1109.         font-size: 11px;
  1110.         text-transform: capitalize;
  1111.         transition: color 0.2s ease-in-out;
  1112.         cursor: pointer;
  1113.     }
  1114.     .user-manual-link.iconset:hover span {
  1115.         color: #6c757d !important;
  1116.     }
  1117.     {% endif %}
  1118.     
  1119.     /* Logo sizing */
  1120.     #siteNav.medium > li:first-child a img,
  1121.     .navbar-logo {
  1122.         min-width: 45px !important;
  1123.         width: 60px !important;
  1124.     }
  1125.     /* Hover de logo, megamenu, empresa y idioma */
  1126.     .logo-nav-item .logo-link::after {
  1127.         display: none;
  1128.     }
  1129.     .logo-nav-item .logo-link:hover::after {
  1130.         display: none;
  1131.     }
  1132.     #siteNav.medium > li.logo-nav-item a::after {
  1133.         display: none;
  1134.     }
  1135.     #siteNav.medium > li.logo-nav-item a:hover::after {
  1136.         display: none;
  1137.     }
  1138.     .lvl1.parent.megamenu * a::after,
  1139.     .lvl1.parent.megamenu * a:hover::after 
  1140.     {
  1141.         display: none;
  1142.         color: initial;
  1143.         background-color: initial;
  1144.     }
  1145.     #siteNav .menu-brand-logo a {
  1146.         transition: background-color 0.3s ease-in-out;
  1147.         background-color: transparent;
  1148.     }
  1149.     #siteNav .menu-brand-logo a:hover {
  1150.         background-color: #f0f0f0 !important;
  1151.     }
  1152.     #siteNav.medium .menu-brand-logo a:hover {
  1153.         background-color: #f0f0f0 !important;
  1154.     }
  1155.     #siteNav.medium > li.lvl1.parent.dropdown ul.dropdown a::after,
  1156.     #siteNav.medium > li.lvl1.parent.dropdown ul.dropdown a:hover::after {
  1157.         display: none;
  1158.     }
  1159.     .lang-image {
  1160.         min-width: 25px !important;
  1161.         width: 30px !important;
  1162.         object-fit: contain;
  1163.     }
  1164.     #siteNav.medium > li.lang-image-li a:hover::after {
  1165.         display: none;
  1166.     }
  1167.     /* Search animation */
  1168.     @keyframes shake {
  1169.         0%, 100% { transform: translateX(0); }
  1170.         10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  1171.         20%, 40%, 60%, 80% { transform: translateX(5px); }
  1172.     }
  1173.     .shake {
  1174.         animation: shake 0.5s;
  1175.     }
  1176.     #search-box::placeholder {
  1177.         color: #FF0000;
  1178.     }
  1179.     #siteNav.medium .d-flex.align-items-center .iconset {
  1180.         display: flex;
  1181.         align-items: center;
  1182.         height: auto;
  1183.         padding: 8px 15px;
  1184.         margin: 0;
  1185.     }
  1186.     /* Responsive breakpoints */
  1187.     @media only screen and (min-width: 1800px) {
  1188.         #siteNav.medium > li a {
  1189.             padding: 10px 20px;
  1190.             font-size: 17px;
  1191.         }
  1192.     }
  1193.     @media only screen and (min-width: 1740px) and (max-width: 1640px) {
  1194.         #siteNav.medium {
  1195.             gap: 10px;
  1196.         }
  1197.         
  1198.         #siteNav.medium > li a {
  1199.             padding: 8px 15px;
  1200.             font-size: 16px;
  1201.         }
  1202.         
  1203.         #siteNav.medium > li {
  1204.             flex: 0 1 auto;
  1205.         }
  1206.         
  1207.         #siteNav.medium > li:not(:first-child):not(.lang-image-li):not(.user-menu):not(.login-nav-item):not(.minicart-nav-item) {
  1208.             flex: 1 1 auto;
  1209.             max-width: 180px;
  1210.         }
  1211.     }
  1212.     @media only screen and (max-width: 1690px) {
  1213.         #siteNav.medium > li a {
  1214.             padding: 8px 10px;
  1215.             font-size: 15px;
  1216.         }
  1217.     }
  1218.     @media only screen and (max-width: 1500px) {
  1219.         #siteNav.medium > li a {
  1220.             padding: 8px 10px;
  1221.             font-size: 15px;
  1222.         }
  1223.     }
  1224.     @media only screen and (max-width: 1300px) {
  1225.         #siteNav.medium > li a {
  1226.             padding: 8px 10px;
  1227.             font-size: 14px;
  1228.         }
  1229.     }
  1230.     @media (max-width: 1090px) {
  1231.         #siteNav.medium > li a {
  1232.             padding: 8px 5px;
  1233.             font-size: 14px;
  1234.         }
  1235.         .login-nav-item a.site-nav .text {
  1236.             display: inline !important;
  1237.             white-space: nowrap !important;
  1238.         }
  1239.         .login-nav-item a.site-nav i {
  1240.             display: none !important;
  1241.         }
  1242.         
  1243.         #siteNav.medium > li a[href*=\"technicalArea\"],
  1244.         #siteNav.medium > li a[href*=\"technical-area\"] {
  1245.             white-space: nowrap !important;
  1246.             min-width: max-content !important;
  1247.         }
  1248.     }
  1249.     @media (min-width: 1240px) {
  1250.         .login-nav-item a.site-nav .text.d-none.d-xl-inline {
  1251.             display: inline !important;
  1252.         }
  1253.         .login-nav-item a.site-nav i.d-block.d-xl-none {
  1254.             display: none !important;
  1255.         }
  1256.     }
  1257.     @media (max-width: 1239px) {
  1258.         .login-nav-item a.site-nav .text.d-none.d-xl-inline {
  1259.             display: none !important;
  1260.         }
  1261.         .login-nav-item a.site-nav i.d-block.d-xl-none {
  1262.             display: block !important;
  1263.         }
  1264.     }
  1265.     @media (min-width: 991px) {
  1266.         .header.header-space-mobile {
  1267.             padding-bottom: 15px;
  1268.         }
  1269.     }
  1270.     @media (max-width: 991px) {
  1271.         .header.header-space-mobile {
  1272.             padding: 15px 0;
  1273.         }
  1274.     }
  1275. </style>
  1276. <div class=\"menu-outer d-none d-lg-block pb-1 mt-1\">
  1277. \t<div class=\"container-fluid\">
  1278. \t\t<div class=\"row\">
  1279. \t\t\t<div class=\"col-1 col-sm-1 col-md-1 col-lg-12 align-self-center d-menu-col\">
  1280. \t\t\t\t<nav class=\"grid__item position-relative\" id=\"AccessibleNav\" >
  1281.                     {# LOGO MOVED INSIDE UL #}
  1282. \t\t\t\t\t<ul id=\"siteNav\" class=\"site-nav medium center hidearrow align-items-center\">
  1283.                         <li class=\"lvl1 logo-nav-item\"> {# LOGO ADDED AS LI #}
  1284.                             <a href=\"{{ isRoot ? '#sticky-header' : navStartNode~'/' }}\" class=\"m-0 p-0 py-2 logo-link\">
  1285.                                 <img src=\"{{ asset('/static2/images/midnight/assets/logo-bsn.png') }}\" class=\"rounded-circle navbar-logo\" style=\"width: 35px; vertical-align: middle;\">
  1286.                             </a>
  1287.                         </li>
  1288.                         {#  PRODUCTS #}
  1289.                         <li class=\"lvl1 parent megamenu\">
  1290.                             <a href=\"{{ '/' ~ (app.request.locale == 'en' ? 'en/products/default_m1' : 'es/productos/default_m1') }}\">{{ 'layout.navbar-desktop.products_translations'|trans }}
  1291.                                 <i class=\"an an-angle-down-l\"></i>
  1292.                             </a>
  1293.                             {{ pimcore_inc(document.getProperty('categories-navbar'), {}, false) }}
  1294.                         </li>
  1295.                         {#  HOME #}
  1296.                         {# ABOUT US #}
  1297.                         <li class=\"lvl1 parent dropdown\">
  1298.                             <a href=\"{{ isRoot ? '#featured-services' : navStartNode~'#featured-services' }}\">{{ 'layout.footer.information.professional-area_translations' | trans }}
  1299.                                 <i class=\"an an-angle-down-l\"></i>
  1300.                             </a>
  1301.                                 <ul class=\"dropdown\">
  1302.                                     <li><a href=\"{{ isAboutUs ? '#company' : navStartNode~'/'~ (app.request.locale == 'en' ? 'about-us' : 'empresa') }}\" class=\"site-nav\">{{ 'home.about-us_title_translations' | trans}}</a></li>
  1303.                                     <li><a href=\"{{ isAboutUs ? '#technicalAdvice' : navStartNode~'/'~ (app.request.locale == 'en' ? 'about-us#technicalAdvice' : 'empresa#technicalAdvice') }}\" class=\"site-nav\">{{ 'home.about-us-cards.technical_advice_translations' | trans }}</a></li>
  1304.                                     <li><a href=\"{{ isAboutUs ? '#customService' : navStartNode~'/'~ (app.request.locale == 'en' ? 'about-us#customService' : 'empresa#customService') }}\" class=\"site-nav\">{{ 'home.about-us-cards.custom_service_translations' | trans }}</a></li>
  1305.                                     <li><a href=\"{{ isAboutUs ? '#stockLogistic' : navStartNode~'/'~ (app.request.locale == 'en' ? 'about-us#stockLogistic' : 'empresa#stockLogistic') }}\" class=\"site-nav\">{{ 'home.about-us-cards.stock_and_logistics_translations' | trans }}</a></li>
  1306.                                     <li><a href=\"{{ isAboutUs ? '#stockLogistic' : navStartNode~'/'~ (app.request.locale == 'en' ? 'about-us#stockLogistic' : 'empresa#stockLogistic') }}\" class=\"site-nav\">{{ 'home.about-us-cards.training_translations'| trans }}</a></li>
  1307.                                 </ul>
  1308.                         </li>
  1309.                         {# Technical Area #}
  1310.                         <li class=\"lvl1 parent dropdown\">
  1311.                             <a href=\"{{ isRoot ? '#technicalArea' : navStartNode~'#technicalArea' }}\">{{ 'Layout.Navegation.Technical-Area_translations' | trans }}
  1312.                                 <i class=\"an an-angle-down-l\"></i>
  1313.                             </a>
  1314.                             {% if  currentPath != '/' and currentPath != '/en' %}
  1315.                                 <ul class=\"dropdown\">
  1316.                                     <li><a href=\"{{ '/' ~ (app.request.locale == 'en' ? 'en/technical-area/painting-schemes' : 'es/area-tecnica/esquemas-de-pintado') }}\" class=\"site-nav\">{{ \"Esquemas de pintado\" | trans }}</a></li>
  1317.                                     <li><a href=\"#\" class=\"site-nav\" id=\"search-link\">{{ \"Fichas técnicas y de seguridad\" | trans }}</a></li>
  1318.                                     <li><a href=\"{{ '/' ~ (app.request.locale == 'en' ? 'en/technical-area/calculate-square-meters' : 'es/area-tecnica/calcular-metros-cuadrados') }}\" class=\"site-nav\">{{ \"Calcular metros cuadrados\" | trans }}</a></li>
  1319.                                     <li><a href=\"{{ '/' ~ (app.request.locale == 'en' ? 'en/technical-area/how-much-paint-do-I-need' : 'es/area-tecnica/cuanta-pintura-necesito') }}\" class=\"site-nav\">{{ \"Cuánta pintura necesito?\" | trans }}</a></li>
  1320.                                 </ul>
  1321.                             {% endif %}
  1322.                         </li>
  1323.                         {# Catalog Area #}
  1324.                         <li class=\"lvl1 parent dropdown\">
  1325.                             <a href=\"{{ isRoot ? '#catalog' : navStartNode~'#catalog' }}\">{{ 'lbl_Catálogo' | trans }}
  1326.                                 <i class=\"an an-angle-down-l\"></i>
  1327.                             </a>
  1328.                         </li>
  1329.                         {% if not is_authenticated %}
  1330.                             <li class=\"lvl1 parent dropdown\">
  1331.                                 <a href=\"{{ isRoot ? '#collaborators' : navStartNode~'#collaborators' }}\">{{ \"layout.navegation.collaborators_translations\" | trans}}<i class=\"an an-angle-down-l\"></i></a>
  1332.                                 {% if  currentPath != '/' and currentPath != '/en' %}
  1333.                                     <ul class=\"dropdown\">
  1334.                                         <li>
  1335.                                             <a href=\"{{ '/' ~ (app.request.locale == 'en' ? 'en/point-of-sale' : 'es/puntos-de-venta') }}\" class=\"site-nav\">{{ 'home.collaborators.points-of-sale_translations' | trans}}</a>
  1336.                                         </li>
  1337.                                         <li>
  1338.                                             <a href=\"{{ '/' ~ (app.request.locale == 'en' ? 'en/industry-professionals' : 'es/profesionales-del-sector') }}\" class=\"site-nav\">{{ 'home.collaborators.industry-professionals_translations' | trans}}</a>
  1339.                                         </li>
  1340.                                     </ul>
  1341.                                 {% endif %}
  1342.                             </li>
  1343.                         {% else %}
  1344.                             {# Define las rutas para ambos idiomas #}
  1345.                             {% set ratesEnRoute = 'rates-view-translated-en' %}
  1346.                             {% set ratesEsRoute = 'rates-view-translated-es' %}
  1347.                             {# Asigna las rutas según el idioma actual #}
  1348.                             {% if currentLocale == 'en' %}
  1349.                                 {% set ratesRoute = ratesEnRoute %}
  1350.                             {% else %}
  1351.                                 {% set ratesRoute = ratesEsRoute %}
  1352.                             {% endif %}
  1353.                             <li class=\"lvl1 parent dropdown\">
  1354.                                 <a href=\"{{path(ratesRoute)}}\">{{ 'lbl_Tarifa' | trans }}<i class=\"an an-angle-down-l\"></i></a>
  1355.                             </li>
  1356.                         {% endif %}
  1357.                         {# <li class=\"lvl1 parent dropdown\">
  1358.                             <a href=\"{{ isRoot ? '#news' : navStartNode~'#news' }}\">{{ 'layout.navbar-desktop.new-arrivals_translations' | trans }}<i class=\"an an-angle-down-l\"></i></a>
  1359.                         </li> #}
  1360.                         <li class=\"lvl1 parent dropdown\">
  1361.                             <a href=\"{{ isRoot ? '#team' : navStartNode~'#team' }}\">{{ 'layout.navbar-desktop.team_translations' | trans }}<i class=\"an an-angle-down-l\"></i></a>
  1362.                         </li>
  1363.                         <li class=\"lvl1 parent dropdown\">
  1364.                             <a href=\"{{ isRoot ? '#contact' : navStartNode~'#contact' }}\" class=\"site-nav\">
  1365.                                 {{ 'BotonContacto' | trans }}<i class=\"an an-angle-down-l\"></i>
  1366.                             </a>
  1367.                         </li>
  1368.                         {# Gets the events document dinamically with his path to get the data from the editables in it#}
  1369.                         {% set documentName = app.request.locale == 'en' ? '/recent-events' : '/eventos-recientes' %}
  1370.                         {% set eventDocument = pimcore_document_by_path('/' ~ app.request.locale ~ documentName) %}
  1371.                         {% set eventBlock = eventDocument.getEditable('eventBlock') %}
  1372.                         {% if eventBlock is not null and not eventBlock.isEmpty() %}
  1373.                             <li class=\"lvl1 parent dropdown\">
  1374.                                 {% set eventsPath = app.request.locale == 'en' ? '/en/recent-events' : '/es/eventos-recientes' %}
  1375.                                 <a href=\"{{ eventsPath }}\" class=\"site-nav\">
  1376.                                     {{ 'Events' | trans }}<i class=\"an an-angle-down-l\"></i>
  1377.                                 </a>
  1378.                             </li>
  1379.                         {% endif %}
  1380.                         <div class=\"d-flex align-items-center\">
  1381.                             {% if is_authenticated %}
  1382.                                 <div class=\"user-link iconset\">
  1383.                                     <i class=\"icon an an-user d-block\"></i>
  1384.                                     <span class=\"text d-none d-lg-flex\"></span>
  1385.                                 </div>
  1386.                                 {{ include(\"layout/includes/user-links.html.twig\") }}
  1387.                                 {{ pimcore_inc('/' ~ app.request.locale ~ '/includes/navbar-top',{},false) }}
  1388.                             {% else %}
  1389.                                 <li class=\"lvl1 login-nav-item\">
  1390.                                     <a href=\"{{ path(loginRoute) }}\" class=\"site-nav\">
  1391.                                         <i class=\"icon an an-sign-in-al d-block d-xl-none\"></i>
  1392.                                         <span class=\"text d-none d-xl-inline\">{{ 'layout.navbar-desktop.professional-area_translations' | trans }}</span>
  1393.                                     </a>
  1394.                                 </li>
  1395.                             {% endif %}
  1396.                             <li class=\"lvl1 lang-image-li iconset\" >
  1397.                                 {% set currentLanguage = app.request.locale %}
  1398.                                 {% if currentLanguage == 'es' %}
  1399.                                 <a href=\"{{ pimcore_document(1) ~ 'en'}}\">
  1400.                                     <img class=\"lang-image\" src=\"{{ asset('assets/images/icons8-great-britain-48.png') }}\" alt=\"English\"/>
  1401.                                 </a>
  1402.                                 <span class=\"tooltip-label\">English</span>
  1403.                                 {% elseif currentLanguage == 'en' %}
  1404.                                 <a href=\"{{ pimcore_document(1) ~ 'es'}}\">
  1405.                                     <img class=\"lang-image\" src=\"{{ asset('assets/images/icons8-spain-48.png') }}\" alt=\"Español\"/>
  1406.                                 </a>
  1407.                                 <span class=\"tooltip-label\">Español</span>
  1408.                                 {% endif %}
  1409.                             </li>
  1410.                         </div>
  1411. \t\t\t\t\t</ul>
  1412. \t\t\t\t</nav>
  1413. \t\t\t</div>
  1414. \t\t</div>
  1415. \t</div>
  1416. </div>
  1417. <script>
  1418.     document.addEventListener(\"DOMContentLoaded\", function() {
  1419.         var searchLink = document.getElementById(\"search-link\");
  1420.         var searchBox = document.getElementById(\"search-box\");
  1421.         var lang = document.documentElement.lang;
  1422.         var placeholderText = lang === \"en\" ? \"What product do you want technical information for?\" : \"¿De qué producto quiere su ficha técnica?\";
  1423.         var placeholderInterval;
  1424.         var placeholderTextIndex = 0;
  1425.         var isTyping = false;
  1426.         function typePlaceholderText(element, text, interval) {
  1427.             placeholderTextIndex = 0;
  1428.             clearInterval(placeholderInterval);
  1429.             isTyping = true;
  1430.             placeholderInterval = setInterval(function() {
  1431.                 element.setAttribute(\"placeholder\", text.slice(0, placeholderTextIndex));
  1432.                 element.style.color = \"red\";
  1433.                 placeholderTextIndex++;
  1434.                 if (placeholderTextIndex > text.length) {
  1435.                     clearInterval(placeholderInterval);
  1436.                     isTyping = false;
  1437.                 }
  1438.             }, interval);
  1439.         }
  1440.         function shakeSearchBox() {
  1441.             if (isTyping) {
  1442.                 clearInterval(placeholderInterval);
  1443.                 isTyping = false;
  1444.                 searchBox.style.color = \"black\";
  1445.             }
  1446.             searchBox.value = \"\";
  1447.             searchBox.removeAttribute(\"placeholder\");
  1448.             searchBox.focus();
  1449.             searchBox.classList.add(\"shake\");
  1450.             setTimeout(function() {
  1451.                 searchBox.classList.remove(\"shake\");
  1452.                 typePlaceholderText(searchBox, placeholderText, 100);
  1453.             }, 600);
  1454.             searchBox.focus();
  1455.         }
  1456.         searchLink.addEventListener(\"click\", function(event) {
  1457.             event.preventDefault();
  1458.             shakeSearchBox();
  1459.         });
  1460.         searchBox.addEventListener(\"input\", function() {
  1461.             if (searchBox.getAttribute(\"placeholder\") === placeholderText) {
  1462.                 searchBox.value = \"\";
  1463.                 searchBox.removeAttribute(\"placeholder\");
  1464.             }
  1465.             if (searchBox.value.length > 0) {
  1466.                 searchBox.style.setProperty(\"color\", \"#000000\", \"important\");
  1467.             } else if (!isTyping) {
  1468.                 searchBox.style.setProperty(\"color\", \"#FF0000\", \"important\");
  1469.             }
  1470.         });
  1471.         searchBox.addEventListener(\"keydown\", function() {
  1472.             if (isTyping) {
  1473.                 clearInterval(placeholderInterval);
  1474.                 isTyping = false;
  1475.                 searchBox.removeAttribute(\"style\");
  1476.             }
  1477.         });
  1478.     });
  1479. </script>
  1480. ""layout/includes/navegation/desktop.html.twig""/var/www/html/templates/layout/includes/navegation/desktop.html.twig");
  1481.     }
  1482.     
  1483.     public function checkSecurity()
  1484.     {
  1485.         static $tags = array("if" => 4"set" => 5);
  1486.         static $filters = array("escape" => 436"trans" => 442);
  1487.         static $functions = array("asset" => 437"pimcore_inc" => 445"path" => 508"pimcore_document_by_path" => 524"include" => 541"pimcore_document" => 555);
  1488.         try {
  1489.             $this->sandbox->checkSecurity(
  1490.                 ['if''set'],
  1491.                 ['escape''trans'],
  1492.                 ['asset''pimcore_inc''path''pimcore_document_by_path''include''pimcore_document']
  1493.             );
  1494.         } catch (SecurityError $e) {
  1495.             $e->setSourceContext($this->source);
  1496.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1497.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1498.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1499.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1500.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1501.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1502.             }
  1503.             throw $e;
  1504.         }
  1505.     }
  1506. }