import { createContext, useContext, useMemo } from "react";
import { jsx } from "react/jsx-runtime";
//#region ../widgets/src/contexts/RepUserContext.tsx
const RepUserContext = createContext(null);
function RepUserProvider({ user, children }) {
	const value = useMemo(() => user, [user]);
	return /* @__PURE__ */ jsx(RepUserContext.Provider, {
		value,
		children
	});
}
function useRepUser() {
	return useContext(RepUserContext);
}
//#endregion
export { useRepUser as n, RepUserProvider as t };

//# sourceMappingURL=RepUserContext-BTjMBEMg.mjs.map