import { h as e } from "./chunk.BlbRoQQ3.js";
import { b as t } from "./jsx-runtime.DF4K5VCp.js";
import { Suspense as n, lazy as r } from "react";
var i = /* @__PURE__ */ e(t());
const a = r(() => import("./TextEditor.Bg40aXiS.js"));
function o(e) {
	if (e.editable) return /* @__PURE__ */ (0, i.jsx)(n, { children: /* @__PURE__ */ (0, i.jsx)(a, {
		...e,
		content: e.content,
		inline: !0
	}) });
	let t = e.as || "div";
	return /* @__PURE__ */ (0, i.jsx)(t, {
		className: e.className,
		dangerouslySetInnerHTML: { __html: e.content }
	});
}
export { o as b };

//# sourceMappingURL=TextContent.B1cB93wj.js.map