import { jsxs as m, Fragment as i, jsx as a } from "react/jsx-runtime";
import { a as n } from "./index.CfQlFjZU.js";
import { n as o } from "./index.B0wX8xO7.js";
import { s as r } from "./selectTemplatePage.module.CN8m5vGx.js";
function c({
  title: t,
  subtitle: e
}) {
  return {
    title: t,
    subtitle: e,
    titleClassName: r.templateHeaderTitle,
    subtitleClassName: r.templateHeaderSubtitle
  };
}
function p({
  title: t,
  subtitle: e,
  titleClassName: l,
  subtitleClassName: s
}) {
  return /* @__PURE__ */ m(i, { children: [
    /* @__PURE__ */ a("h1", { className: l, children: t }),
    /* @__PURE__ */ a(
      o,
      {
        value: e,
        then: /* @__PURE__ */ a("h2", { className: s, children: e })
      }
    )
  ] });
}
const H = n(p, c);
export {
  H as S
};
