import { classes } from "../../../min-dom/dist/index.esm.mjs";
var CURSOR_CLS_PATTERN = /^djs-cursor-.*$/;
function set(mode) {
  var classes$1 = classes(document.body);
  classes$1.removeMatching(CURSOR_CLS_PATTERN);
  if (mode) {
    classes$1.add("djs-cursor-" + mode);
  }
}
function unset() {
  set(null);
}
export {
  set,
  unset
};
