(function () { try { var theme = localStorage.getItem("ddc-theme"); if (theme === "light" || theme === "dark") { document.documentElement.setAttribute("data-theme", theme); } } catch (error) { return; } })();