"use client";
'use strict';

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

const SubmissionsPage = React.lazy(
  () => import('./submissions-page.internal.cjs').then((m) => ({
    default: m.SubmissionsPage
  }))
);
function SubmissionsPageComponent({ formId }) {
  return /* @__PURE__ */ jsxRuntime.jsx(reactErrorBoundary.ErrorBoundary, { FallbackComponent: defaultError.DefaultError, children: /* @__PURE__ */ jsxRuntime.jsx(React.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(submissionsSkeleton.SubmissionsSkeleton, {}), children: /* @__PURE__ */ jsxRuntime.jsx(SubmissionsPage, { formId }) }) });
}

exports.SubmissionsPageComponent = SubmissionsPageComponent;
