import { r as e, t } from "./dist-koa_pEtu.js";
import * as n from "react";
import { jsx as r } from "react/jsx-runtime";
import i from "react-dom";
//#region node_modules/@radix-ui/react-portal/dist/index.mjs
var a = "Portal", o = n.forwardRef((a, o) => {
	let { container: s, ...c } = a, [l, u] = n.useState(!1);
	e(() => u(!0), []);
	let d = s || l && globalThis?.document?.body;
	return d ? i.createPortal(/* @__PURE__ */ r(t.div, {
		...c,
		ref: o
	}), d) : null;
});
o.displayName = a;
//#endregion
export { o as t };

//# sourceMappingURL=dist-DGayZ3ok2.js.map