import { jsx as u } from "../../../external/.pnpm/preact@10.28.2/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js";
import { ErrorMessageDisplay as i } from "../ErrorMessageDisplay/ErrorMessageDisplay.js";
import { getErrorMessage as m } from "../../utils/getErrorMessage.js";
const l = ({
  error: t,
  errorMessage: r,
  onContactSupport: e
}) => {
  const {
    title: o,
    message: a,
    refreshComponent: s,
    translationValues: n,
    onContactSupport: p
  } = m(t, r, e);
  return /* @__PURE__ */ u(
    i,
    {
      withHeaderOffset: !0,
      title: o,
      message: a,
      translationValues: n,
      withImage: !0,
      centered: !0,
      refreshComponent: s,
      onContactSupport: p
    }
  );
};
export {
  l as default
};
