import { Dialog as m, DialogBody as i, DialogFooter as l } from "./accelbyte-widgets235.mjs";
import { t as n } from "./accelbyte-widgets58.mjs";
import e from "react";
import { Trans as o } from "react-i18next";
import "./accelbyte-widgets545.mjs";
const h = ({ unmatchedItems: a, onCloseDialog: r }) => /* @__PURE__ */ e.createElement(m, { title: n("CatalogPurchaseWidget.dialog.purchasingRequirement.title"), isOpen: !0, className: "purchaseRequirementUnmatchListDialog" }, /* @__PURE__ */ e.createElement(i, null, /* @__PURE__ */ e.createElement(o, { i18nKey: "CommonTip.userNotMeetItemPurchaseCondition" }, "To purchase this item, you must first purchase the following item(s):"), /* @__PURE__ */ e.createElement("ul", { className: "item-list" }, a.map(({ title: t }) => /* @__PURE__ */ e.createElement("li", { key: t }, t)))), /* @__PURE__ */ e.createElement(l, { className: "dialogFooter" }, /* @__PURE__ */ e.createElement("button", { onClick: r, className: "btn btnClose uppercase" }, /* @__PURE__ */ e.createElement(o, { i18nKey: "common.close" }, "Close"))));
export {
  h as PurchaseRequirementUnmatchListDialog
};
