import { jsx as o } from "react/jsx-runtime";
import { b as p } from "./use-section-style.CihCUEtb.js";
import { as as c } from "./chunk-3RDGTRSB.DySNCMmQ.js";
import "@sinclair/typebox";
import { T as i } from "./TextContent.Bq7vg7V3.js";
import { _ as s } from "./twind.D7be0E5m.js";
import { u as f } from "./use-color-preset.BrT8DcA1.js";
import { B as l } from "./BrickRoot.C1PanknS.js";
function j({ brick: t, editable: e }) {
  const { props: r } = t, m = p(t), a = Object.values(m), n = f(t);
  return /* @__PURE__ */ o(l, { manifest: c, className: s("flex", a, n.main), children: /* @__PURE__ */ o(
    i,
    {
      propPath: "content",
      className: s("text-pretty grow"),
      brickId: t.id,
      content: r.content,
      editable: e
    }
  ) });
}
export {
  j as default
};
//# sourceMappingURL=text.CthtexbG.js.map
