import { r as i } from "./useRenderElement.js";
var c = "none", l = "trigger-press", p = "trigger-hover", g = "trigger-focus", u = "outside-press", d = "item-press", w = "close-press", P = "track-press", b = "input-change", f = "input-clear", m = "input-press", C = "focus-out", E = "escape-key", h = "list-navigation", k = "keyboard", y = "pointer", O = "drag", x = "cancel-open", z = "sibling-open", A = "disabled", D = "imperative-action", T = "window-resize";
function _(e, a, r, s) {
  let t = !1, n = !1;
  const o = s ?? i;
  return {
    reason: e,
    event: a ?? new Event("base-ui"),
    cancel() {
      t = !0;
    },
    allowPropagation() {
      n = !0;
    },
    get isCanceled() {
      return t;
    },
    get isPropagationAllowed() {
      return n;
    },
    trigger: r,
    ...o
  };
}
function B(e, a, r) {
  const s = r ?? i;
  return {
    reason: e,
    event: a ?? new Event("base-ui"),
    ...s
  };
}
export {
  l as C,
  p as S,
  u as _,
  A as a,
  P as b,
  C as c,
  f as d,
  m as f,
  c as g,
  h,
  w as i,
  D as l,
  k as m,
  B as n,
  O as o,
  d as p,
  x as r,
  E as s,
  _ as t,
  b as u,
  y as v,
  T as w,
  g as x,
  z as y
};

//# sourceMappingURL=createBaseUIEventDetails.js.map