text: function ulnShowMenu(el){el.classList.add("dropped");setTimeout(function(){el.classList.add("ovfvis")},500)}function ulnHideMenu(el){el.querySelectorAll("li").forEach(ulnHideMenu);el.classList.remove("ovfvis");el.classList.remove("dropped")}function ulnMenuToggle(el){if(isZeroHeight(el)){ulnShowMenu(el)}else{ulnHideMenu(el)}}function ulnAnim(el,efn,efo){el.classList.remove(efo);el.classList.add(efn)}function isHidden(el){var style=window.getComputedStyle(el);return style.visibility==="hidden"||style.display==="none"}function isZeroHeight(el){var ul=el.querySelector("ul");var style=window.getComputedStyle(ul);return style.maxHeight==="0px"}var lis=document.querySelectorAll(".menu:not(.hover) li");lis.forEach(ulnMenu);function ulnMenu(li,i){var ul=li.querySelector("ul");if(ul!=null){var anc=li.querySelector("a");anc.addEventListener("click",function(e){e.preventDefault();ulnMenuToggle(li)})}}var tgls=document.querySelectorAll("[data-toggle]");tgls.forEach(ulnToggle);function ulnToggle(el,i){var tglId=el.getAttribute("data-toggle");var tgls=tglId.split(" ");el.addEventListener("click",function(e){e.preventDefault();for(var i=0;i<tgls.length;i++){var tglEl=document.getElementById(tgls[i]);ulnElementToggle(tglEl)}})}function ulnElementToggle(el){var tglclass=el.getAttribute("data-toggle-class");if(tglclass!=null&&tglclass!=""){if(el.classList.contains(tglclass)){el.classList.remove(tglclass)}else{el.classList.add(tglclass)}}}
  