import { EMPTY_OBJECT as i } from "../../../../../../@base-ui_utils@0.2.4_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/utils/esm/empty.js";
function u(a, n, l, o) {
  let e = !1, t = !1;
  const r = o ?? i;
  return {
    reason: a,
    event: n ?? new Event("base-ui"),
    cancel() {
      e = !0;
    },
    allowPropagation() {
      t = !0;
    },
    get isCanceled() {
      return e;
    },
    get isPropagationAllowed() {
      return t;
    },
    trigger: l,
    ...r
  };
}
export {
  u as createChangeEventDetails
};
