import { Button as o } from "./accelbyte-widgets107.mjs";
import { CircleCheckIcon as i } from "./accelbyte-widgets358.mjs";
import { DangerIcon as u } from "./accelbyte-widgets328.mjs";
import e from "react";
class N extends e.Component {
  constructor(t) {
    super(t);
  }
  render() {
    const { isSuccess: t, onClickButton: a, title: r, description: n, buttonText: c, buttonDataQa: l = null, titleDataQa: s = null, isLoading: m } = this.props;
    return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: "flex justify-center" }, t ? /* @__PURE__ */ e.createElement(i, { checked: !0, fill: !0 }) : /* @__PURE__ */ e.createElement(u, { className: "dangerIcon" })), /* @__PURE__ */ e.createElement("div", { className: "mb-4 text-center" }, /* @__PURE__ */ e.createElement("p", { className: "messageTitle my-4", "data-qa-id": s }, r), /* @__PURE__ */ e.createElement("p", { className: "messageDesc" }, n)), /* @__PURE__ */ e.createElement(
      o,
      {
        loadingIndicator: "SPINNER",
        className: "btn btn-primary w-full",
        onClick: a,
        "data-qa-id": l,
        isLoading: m
      },
      c
    ));
  }
}
export {
  N as VerifyUserMessage
};
