import { j as t } from "./_virtual/jsx-runtime.js";
import { usePageStyle as r } from "./packages/components/src/shared/hooks/use-page-style.js";
import n from "./packages/components/src/shared/components/Section.js";
import { useSections as d, useSiteAttributes as m, usePageAttributes as u } from "./use-page-data.js";
function b() {
  const o = r(), i = d(), s = m(), e = u();
  return /* @__PURE__ */ t.jsxs("div", { className: o, children: [
    i.map((a) => /* @__PURE__ */ t.jsx(n, { section: a }, a.id)),
    s.bodyTags && // biome-ignore lint/security/noDangerouslySetInnerHtml: Enable raw HTML
    /* @__PURE__ */ t.jsx("div", { dangerouslySetInnerHTML: { __html: s.bodyTags } }),
    e.additionalTags?.bodyTags && // biome-ignore lint/security/noDangerouslySetInnerHtml: Enable raw HTML
    /* @__PURE__ */ t.jsx("div", { dangerouslySetInnerHTML: { __html: e.additionalTags.bodyTags } })
  ] });
}
export {
  b as default
};
//# sourceMappingURL=Page.js.map
