"use client";
import { j as e } from "../../../../../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import i from "../../../../../Button/index.mjs";
import p from "../../../../../TextInput/index.mjs";
import { DEFAULT_FORM_REWARDS_i18n as c } from "../../index.mjs";
import { TokenIdRow as d } from "./components/TokenIdRow/index.mjs";
import o from "./index.module.scss.mjs";
import x from "../../../../../../../node_modules/.pnpm/@tabler_icons-react@3.34.0_react@19.1.0/node_modules/@tabler/icons-react/dist/esm/icons/IconPlus.mjs";
function T({
  marketplaceUrlInputProps: r,
  tokenIdsInputProps: l = [],
  addTokenId: s,
  i18n: t = c
}) {
  const n = l.map((a, m) => /* @__PURE__ */ e.jsx(d, { i18n: t, ...a }, m));
  return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { children: [
    /* @__PURE__ */ e.jsxs("div", { className: o.tokenIdContainer, children: [
      n,
      /* @__PURE__ */ e.jsx(
        i,
        {
          onClick: s,
          type: "link",
          size: "small",
          leftIcon: /* @__PURE__ */ e.jsx(x, { width: 14, height: 14 }),
          spacing: "xs",
          className: o.addTokenIdButton,
          htmlType: "button",
          children: t.addTokenId
        }
      )
    ] }),
    /* @__PURE__ */ e.jsx(
      p,
      {
        className: o.marketplaceUrlInput,
        label: t.label.marketplaceUrl,
        placeholder: t.placeholder.marketplaceUrl,
        ...r
      }
    )
  ] }) });
}
export {
  T as RewardERC1155
};
//# sourceMappingURL=index.mjs.map
