(() => {
  if (globalThis.MMW_LEGAL_CONSENT_CONFIG) return;

  globalThis.MMW_LEGAL_CONSENT_CONFIG = Object.freeze({
    version: "2026-07-11",
    storageKeys: Object.freeze({
      accepted: "legalConsentAccepted",
      version: "legalConsentVersion",
      acceptedAt: "legalConsentAcceptedAt"
    }),
    agreementPath: "legal/consent-agreement.html",
    requiredMessage: "请先阅读并同意免责声明和用户协议",
    requiredMessageLong: "请先阅读并同意免责声明和用户协议后再使用插件功能。"
  });
})();
