console.log("夜间模式开启")):(document.body.classList.remove("night"),document.cookie="night=0;path=/",console.log("夜间模式关闭"));else{var e=document.cookie.replace(/(?:(?:^|.*;\s*)night\s*=\s*([^;]*).*$)|^.*$/,"$1")||"0";e=="0"?document.body.classList.remove("night"):e=="1"&&document.body.classList.add("night")}})(),$("#search-bg").css("background-image","url(/assets/images/background.jpg)");function switchNightMode(){var e=document.cookie.replace(/(?:(?:^|.*;\s*)night\s*=\s*([^;]*).*$)|^.*$/