async function readNormalizedEmailFromJsonRequest(req) {
  try {
    const body = await req.clone().json();
    if (!body || typeof body !== "object" || !("email" in body)) return void 0;
    const email = body.email;
    if (typeof email !== "string") return void 0;
    const normalized = email.trim().toLowerCase();
    return normalized || void 0;
  } catch {
    return void 0;
  }
}
export {
  readNormalizedEmailFromJsonRequest
};
//# sourceMappingURL=rateLimitIdentifier.js.map
