tyle.visibility = "";
        } else {
          document.getElementById("logs-panel").style.visibility = "hidden";
          document.getElementById("mask").style.visibility = "hidden";
        }
      });
    });

    // 页面加载完成后定时获取日志
    document.addEventListener('DOMContentLoaded', () => getLogs(true));
  </script>

  <!-- 主题色相关的函数和初始化 -->
  <script src="./static/theme.js"></script>

  <!-- 测试相关 -->
  <script>
    // 模拟测试webhook
    docum