(()=>{function e(){var e=parseInt(document.getElementById("fcal_server_timestamp").getAttribute("data-timestamp"),10),t=new Date(1e3*e),o=t.getUTCFullYear()+"-"+("0"+(t.getUTCMonth()+1)).slice(-2)+"-"+("0"+t.getUTCDate()).slice(-2)+" "+("0"+(t.getUTCHours()%12||12)).slice(-2)+":"+("0"+t.getUTCMinutes()).slice(-2)+(t.getUTCHours()<12?" am":" pm");document.getElementById("fcal_server_timestamp").textContent="Server Time: "+o,document.getElementById("fcal_server_timestamp").setAttribute("data-timestamp",e+60)}var t;jQuery(document).ready((function(e){jQuery(".update-nag,.notice, #wpbody-content > .updated, #wpbody-content > .error").remove()})),window.toggleMobileMenu=function(){var e=document.getElementById("fcal_mobile_menu_list");null==e||e.style.setProperty("display","flex"===e.style.display?"none":"flex")},window.toggleColorMode=function(){var e=document.getElementById("wpbody-content");if(e){var t=e.classList.contains("dark");e.classList.toggle("dark",!t),document.documentElement.classList.toggle("dark",!t),localStorage.setItem("fcal_color_mode",t?"light":"dark")}},(t=document.getElementById("wpbody-content"))&&("dark"===localStorage.getItem("fcal_color_mode")?(t.classList.add("dark"),document.documentElement.classList.add("dark")):(t.classList.remove("dark"),document.documentElement.classList.remove("dark"))),e(),setInterval(e,6e4)})();