import { D as a, E as l, I as p, J as R, j as r, C as E, L as I, S as u, U as N, R as g } from "./index-b203ecbb.js";
import { memo as S } from "react";
const f = (i) => {
  var t;
  const {
    // columnNumber,
    canResizeCanvas: d = !1,
    handleUpdateHeight: s,
    containerPadding: o,
    displayName: n
  } = i, c = a(l), m = a(p), e = a((h) => R(h)[n]), C = ((t = e == null ? void 0 : e.childrenNode) == null ? void 0 : t.length) > 0;
  return c && (!m && !C || !n) ? /* @__PURE__ */ r(
    E,
    {
      handleUpdateHeight: s,
      containerPadding: o
    }
  ) : /* @__PURE__ */ r(
    g,
    {
      displayName: n,
      containerPadding: o ?? `${I}`,
      columnNumber: 1,
      handleUpdateHeight: s,
      canResizeCanvas: !1,
      safeRowNumber: u,
      minHeight: d ? 13 * N : void 0,
      gridContainer: !0
    }
  );
}, A = S(f);
export {
  A as R
};
//# sourceMappingURL=index-a124d83e.js.map
