"use client";
import { s as e } from "./useRenderElement-CmuWsiNa.js";
import * as t from "react";
//#region ../../node_modules/.bun/@base-ui+react@1.5.0+f4ada88178b00e6f/node_modules/@base-ui/react/esm/internals/form-context/FormContext.js
var n = /*#__PURE__*/ t.createContext({
	formRef: { current: { fields: /* @__PURE__ */ new Map() } },
	errors: {},
	clearErrors: e,
	validationMode: "onSubmit",
	submitAttemptedRef: { current: !1 }
});
process.env.NODE_ENV !== "production" && (n.displayName = "FormContext");
function r() {
	return t.useContext(n);
}
//#endregion
export { r as t };
