"use client";
'use strict';

const jsxRuntime = require('react/jsx-runtime');
const React = require('react');
const pageBuilderSkeleton = require('../loading/page-builder-skeleton.cjs');
const reactErrorBoundary = require('react-error-boundary');
const defaultError = require('../shared/default-error.cjs');

const PageBuilderPageInternal = React.lazy(
  () => import('./page-builder-page.internal.cjs').then((m) => ({
    default: m.PageBuilderPage
  }))
);
function PageBuilderPage({ id }) {
  return /* @__PURE__ */ jsxRuntime.jsx(reactErrorBoundary.ErrorBoundary, { FallbackComponent: defaultError.DefaultError, children: /* @__PURE__ */ jsxRuntime.jsx(React.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(pageBuilderSkeleton.PageBuilderSkeleton, {}), children: /* @__PURE__ */ jsxRuntime.jsx(PageBuilderPageInternal, { id }) }) });
}

exports.PageBuilderPage = PageBuilderPage;
