!function(){"use strict";if("querySelector"in document&&"addEventListener"in window){var e=document.body,n=function(n,t){if(n.preventDefault(),n.stopPropagation(),!t)var t=this;var o=t.closest("li"),l=t.closest("nav").querySelectorAll("ul.toggled-on");if(l&&!t.closest("ul").classList.contains("toggled-on")&&!t.closest("li").classList.contains("sfHover"))for(var c=0;c a");if(e.classList.contains("dropdown-click-menu-item"))for(l=0;l a").length;l++)"#"==document.querySelectorAll(".main-nav .menu-item-has-children > a")[l].getAttribute("href")&&document.querySelectorAll(".main-nav .menu-item-has-children > a")[l].classList.add("menu-item-dropdown-click");for(var o=document.querySelectorAll(".main-nav .menu-item-has-children > a .dropdown-menu-toggle"),l=0;l a.menu-item-dropdown-click").length;l++)document.querySelectorAll(".main-nav .menu-item-has-children > a.menu-item-dropdown-click")[l].addEventListener("click",n,!1)}var c=function(){if(document.querySelector("nav ul .toggled-on"))for(var e=document.querySelectorAll("nav ul .toggled-on"),n=0;n