import * as o from "react";
import { b as u } from "./index-DOfn3ixy.mjs";
var s = o[" useId ".trim().toString()] || (() => {
}), i = 0;
function c(t) {
  const [r, a] = o.useState(s());
  return u(() => {
    a((e) => e ?? String(i++));
  }, [t]), t || (r ? `radix-${r}` : "");
}
export {
  c as u
};
//# sourceMappingURL=index-CEQ35j8b.mjs.map
