import { u as s } from "./useWindowWidth.DvOcOm_a.js";
import { useMemo as o } from "react";
const e = {
  xs: 390,
  sm: 768,
  md: 1024,
  lg: 1440,
  xl: 1920
};
function n() {
  const r = s();
  return o(() => r < e.sm ? "xs" : r < e.md ? "sm" : r < e.lg ? "md" : r < e.xl ? "lg" : "xl", [r]);
}
function a(r) {
  const t = n();
  return e[t] >= e[r];
}
function l(r) {
  const t = n();
  return e[t] <= e[r];
}
export {
  a,
  l as b,
  n as u
};
