import { jsx as t } from "react/jsx-runtime";
import { a as c } from "./index.CfQlFjZU.js";
import { S as o } from "./shared.EdGf6tcG.js";
import "react";
import { a as m } from "./Button.CpTwUWVr.js";
import { a as s, M as r } from "./modal.BZAvb1Nx.js";
const p = ({
  onSubmit: a,
  onCancel: e,
  isVisible: n
}) => ({
  onSubmit: a,
  onCancel: e,
  isVisible: n,
  heading: "Schedule campaign?",
  body: "Once you schedule your campaign, you’ll no longer be able to make any changes. If you need to update it, you’ll have to cancel this campaign and create a new one."
}), u = ({
  onSubmit: a,
  onCancel: e,
  isVisible: n,
  heading: i,
  body: l
}) => /* @__PURE__ */ t(
  s,
  {
    type: r.BASIC,
    dismissible: !1,
    heading: i,
    body: l,
    buttons: [
      {
        label: "Schedule",
        semantic: o.PRIMARY,
        type: m.SUBMIT,
        onClick: () => a()
      },
      {
        label: "Cancel",
        semantic: o.SECONDARY,
        onClick: () => e()
      }
    ],
    isOpen: n
  }
), b = c(
  u,
  p
);
export {
  b as S
};
