"use client";
import { jsx } from 'react/jsx-runtime';
import { usePluginOverrides } from '@btst/stack/context';
import { ErrorPlaceholder } from '../shared/error-placeholder.mjs';
import { BLOG_LOCALIZATION } from '../../localization/index.mjs';
import { PageWrapper } from '../shared/page-wrapper.mjs';

function NotFoundPage({ message }) {
  const { localization } = usePluginOverrides("blog", {
    localization: BLOG_LOCALIZATION
  });
  const title = localization.BLOG_PAGE_NOT_FOUND_TITLE;
  const desc = message || localization.BLOG_PAGE_NOT_FOUND_DESCRIPTION;
  return /* @__PURE__ */ jsx(PageWrapper, { testId: "404-page", children: /* @__PURE__ */ jsx(ErrorPlaceholder, { title, message: desc }) });
}

export { NotFoundPage };
