import n from "classnames";
const c = /^\s+|\s+(?=\s|$)/g, o = (e, s) => (s ? typeof s == "string" ? s : s?.value ?? "" : "").replace(c, "") || e.replace(c, "") || void 0, p = (e, s, t) => n(o("", t), o(o("", s) || "", e)), C = (e, s = [], t = []) => n([...t, ...s.map((r) => e ? `${e}--${r}` : r)]);
export {
  p as getClassName,
  C as getModifierClasses,
  o as parseClassName
};
