const require_chunk = require("./chunk-9hOWP6kD.cjs");
let react = require("react");
react = require_chunk.__toESM(react);
let react_jsx_runtime = require("react/jsx-runtime");
//#region ../widgets/src/contexts/RepUserContext.tsx
const RepUserContext = (0, react.createContext)(null);
function RepUserProvider({ user, children }) {
	const value = (0, react.useMemo)(() => user, [user]);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RepUserContext.Provider, {
		value,
		children
	});
}
function useRepUser() {
	return (0, react.useContext)(RepUserContext);
}
//#endregion
Object.defineProperty(exports, "RepUserProvider", {
	enumerable: true,
	get: function() {
		return RepUserProvider;
	}
});
Object.defineProperty(exports, "useRepUser", {
	enumerable: true,
	get: function() {
		return useRepUser;
	}
});

//# sourceMappingURL=RepUserContext-BAByOdBZ.cjs.map