\u{73}cript nonce="%sveltekit.nonce%">(function setInitialClassState() { const elemHtmlClasses = document.documentElement.classList; const condLocalStorageUserPrefs = localStorage.getItem("modeUserPrefers") === "false"; const condLocalStorageUserPrefsExists = !("modeUserPrefers" in localStorage); const condMatchMedia = window.matchMedia("(prefers-color-scheme: dark)").matches; if (condLocalStorageUserPrefs || condLocalStorageUserPrefsExists && condMatchMedia) { elemHtmlClasses.add("dark"); } else { elemHtmlClasses.remove("dark"); } })();