import { e as usePHModal, p as useTranslation, j as jsxRuntimeExports, i as closePHModal, y as Trans } from "./index-DEuI3Aoa.js";
import { R as ReadRequiredModal } from "./read-required-modal-CXInGGU1.js";
const CookiesPolicyModal = () => {
  const phModal = usePHModal();
  const open = phModal?.type === "cookiesPolicy";
  const { t } = useTranslation();
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
    ReadRequiredModal,
    {
      open,
      header: t("modals.cookiesPolicy.title"),
      body: /* @__PURE__ */ jsxRuntimeExports.jsx(
        Trans,
        {
          i18nKey: "modals.cookiesPolicy.body",
          components: {
            subtitle: /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "mb-4 text-lg font-bold" }),
            p: /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "mb-2" }),
            list: /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "mb-4 list-disc pl-6" }),
            bullet: /* @__PURE__ */ jsxRuntimeExports.jsx("li", {})
          }
        }
      ),
      bodyProps: { className: "text-left" },
      closeLabel: "Close",
      onContinue: () => closePHModal(),
      overlayProps: { style: { zIndex: 1e4 } }
    }
  );
};
export {
  CookiesPolicyModal
};
//# sourceMappingURL=CookiesPolicyModal-CZU5qY79.js.map
