"use client";
import { useQueries as e } from "./hooks/useQueries.js";
import { createContext as t, useContext as n } from "react";
import { jsx as r } from "react/jsx-runtime";
//#region lib/ui/contexts/devices/Device.tsx
var i = t(null), a = ({ children: t, device: n, direction: a = "ltr" }) => {
	let o = e({
		device: n,
		direction: a
	});
	return /* @__PURE__ */ r(i.Provider, {
		value: o,
		children: t
	});
};
function o(e) {
	let t = n(i);
	if (t === null) throw Error("useDevice(string) should be used in DeviceContext.Provider");
	return t[e];
}
//#endregion
export { a as DeviceProvider, o as useDevice };

//# sourceMappingURL=Device.js.map