"use client";
import { j as e } from "../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import { RewardsDepositedTable as I, defaultI18n as v } from "../RewardsDepositedTable/index.mjs";
import l from "../Sticker/index.mjs";
import { ContainerInteractive as y } from "../ContainerInteractive/index.mjs";
import s from "./RewardDeposit.module.scss.mjs";
import T from "../../../node_modules/.pnpm/@tabler_icons-react@3.34.0_react@19.1.0/node_modules/@tabler/icons-react/dist/esm/icons/IconExclamationCircle.mjs";
const w = {
  pendingDeposit: "Pending Deposit",
  depositedLabel: "Deposited",
  ...v
};
function S({
  title: r,
  state: o,
  i18n: t = w,
  message: a,
  warning: n,
  DepositComponent: c,
  ActionComponent: d,
  playerReach: p,
  network: m,
  tokenContractAddress: f,
  rewardType: x,
  tokenName: j,
  amountPerPlayer: u,
  totalClaimables: D,
  marketplaceUrl: g,
  extraFields: N,
  ...h
}) {
  let i;
  o === "NOT_DEPOSITED" ? i = /* @__PURE__ */ e.jsx(
    l,
    {
      styleType: "warning",
      variant: "filled",
      className: s.pendingDepositLabel,
      children: t.pendingDeposit
    }
  ) : i = /* @__PURE__ */ e.jsx(
    l,
    {
      styleType: "success",
      variant: "filled",
      className: s.successDepositLabel,
      children: t.depositedLabel
    }
  );
  const b = {
    playerReach: p,
    network: m,
    tokenContractAddress: f,
    rewardType: x,
    tokenName: j,
    amountPerPlayer: u,
    totalClaimables: D,
    marketplaceUrl: g,
    extraFields: N,
    i18n: t
  };
  return /* @__PURE__ */ e.jsxs(
    y,
    {
      title: r,
      tag: i,
      classNames: { root: s.root, title: s.title },
      ...h,
      children: [
        c,
        a && /* @__PURE__ */ e.jsx("div", { className: s.messageContainer, children: /* @__PURE__ */ e.jsx("span", { className: s.message, children: a }) }),
        /* @__PURE__ */ e.jsx(I, { ...b }),
        n && /* @__PURE__ */ e.jsxs("div", { className: s.warningContainer, children: [
          /* @__PURE__ */ e.jsx(T, { size: 20 }),
          /* @__PURE__ */ e.jsx("span", { className: s.warningMessage, children: n })
        ] }),
        d
      ]
    }
  );
}
export {
  S as RewardDeposit,
  S as default,
  w as defaultI18n
};
//# sourceMappingURL=index.mjs.map
