import { jsx as r } from "../../../../../external/.pnpm/preact@10.28.2/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js";
import i from "../../../../internal/AnchorButton/AnchorButton.js";
import { ButtonVariant as l } from "../../../../internal/Button/types.js";
import { SupportedLocation as n } from "../../../../internal/CapitalHeader/constants.js";
import m from "../../../../internal/Card/Card.js";
import { TypographyVariant as t } from "../../../../internal/Typography/types.js";
import o from "../../../../internal/Typography/Typography.js";
import { SUMMARY_TEXT_EMAIL as a } from "../CapitalOfferSummary/constants.js";
/* empty css                             */
import { Translation as e } from "../../../../internal/Translation/Translation.js";
import { Fragment as f } from "../../../../../external/.pnpm/preact@10.28.2/node_modules/preact/dist/preact.module.js";
import { useConfigContext as p } from "../../../../../core/ConfigContext/preact/context.js";
const x = () => p()?.extraConfig?.legalEntity?.countryCode === n.US ? /* @__PURE__ */ r(m, { filled: !0, noOutline: !0, children: [
  /* @__PURE__ */ r(o, { variant: t.CAPTION, className: "adyen-pe-capital-offer-legal-notice--title", children: /* @__PURE__ */ r(e, { translationKey: "capital.offer.summary.legalNotice.US.title", fills: { break: /* @__PURE__ */ r("br", {}) } }) }),
  /* @__PURE__ */ r("br", {}),
  /* @__PURE__ */ r(o, { variant: t.CAPTION, className: "adyen-pe-capital-offer-legal-notice--description", children: /* @__PURE__ */ r(
    e,
    {
      translationKey: "capital.offer.summary.legalNotice.US.note",
      fills: {
        email: /* @__PURE__ */ r(
          i,
          {
            href: `mailto:${a}`,
            variant: l.TERTIARY,
            className: "adyen-pe-capital-offer-summary__info--email",
            children: a
          }
        ),
        break: /* @__PURE__ */ r(f, { children: [
          /* @__PURE__ */ r("br", {}),
          /* @__PURE__ */ r("br", {})
        ] })
      }
    }
  ) })
] }) : null;
export {
  x as CapitalOfferLegalNotice
};
