pt type="text/javascript">
      const themeMode = "auto";
      (window.localStorage && localStorage.getItem("theme")
        ? localStorage.getItem("theme") === "dark"
        : themeMode === "auto"
        ? window.matchMedia("(prefers-color-scheme: dark)").matches
        : themeMode === "dark") && document.body.setAttribute("theme", "dark");
    </script>
    <div id="mask"></div>
    <div class="wrapper">
      <th:block th:replace="~{modules/head/header}" />
      <main class="main">
        <div cla