import { jsxDEV } from "react/jsx-dev-runtime";
import { Layout, Box, Heading, Stack, Spacer } from "@contember/ui";
import { memo } from "react";
const MiscPageLayout = memo(({ footerActions, heading, children, ...props }) => /* @__PURE__ */ jsxDEV(Layout, { children: /* @__PURE__ */ jsxDEV("div", { className: "centerCard", children: /* @__PURE__ */ jsxDEV("div", { className: "centerCard-in", children: [
  /* @__PURE__ */ jsxDEV(
    Box,
    {
      gap: "large",
      heading: heading && (typeof heading === "string" ? /* @__PURE__ */ jsxDEV(Heading, { depth: 1, size: "small", children: heading }, void 0, false, {
        fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
        lineNumber: 15,
        columnNumber: 9
      }, globalThis) : heading),
      ...props,
      children: /* @__PURE__ */ jsxDEV(Stack, { direction: "vertical", gap: "large", children }, void 0, false, {
        fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
        lineNumber: 20,
        columnNumber: 6
      }, globalThis)
    },
    void 0,
    false,
    {
      fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
      lineNumber: 12,
      columnNumber: 5
    },
    globalThis
  ),
  footerActions && /* @__PURE__ */ jsxDEV("div", { style: { position: "sticky", bottom: 0 }, children: [
    /* @__PURE__ */ jsxDEV(Spacer, { gap: "large" }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
      lineNumber: 25,
      columnNumber: 6
    }, globalThis),
    /* @__PURE__ */ jsxDEV(Stack, { direction: "horizontal", children: footerActions }, void 0, false, {
      fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
      lineNumber: 26,
      columnNumber: 6
    }, globalThis)
  ] }, void 0, true, {
    fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
    lineNumber: 24,
    columnNumber: 23
  }, globalThis)
] }, void 0, true, {
  fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
  lineNumber: 11,
  columnNumber: 4
}, globalThis) }, void 0, false, {
  fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
  lineNumber: 10,
  columnNumber: 3
}, globalThis) }, void 0, false, {
  fileName: "/__w/interface/interface/packages/admin/src/components/MiscPageLayout.tsx",
  lineNumber: 9,
  columnNumber: 2
}, globalThis));
MiscPageLayout.displayName = "MiscPageLayout";
export {
  MiscPageLayout
};
//# sourceMappingURL=MiscPageLayout.js.map
