const require_runtime = require("../../../../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_materials = require("@pisell/materials");
require("./index.less");
//#region src/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.tsx
const Amount = _pisell_materials.PisellText.Amount;
const WalletPassTextMode = ({ cardData, selectedWalletIds }) => {
	return /* @__PURE__ */ react.default.createElement("div", { className: "wallet-pass-text-mode" }, cardData && cardData.length > 0 ? cardData.filter((card) => selectedWalletIds.includes(card.id)).map((card) => /* @__PURE__ */ react.default.createElement("div", {
		key: card.id,
		className: "wallet-pass-text-item selected"
	}, /* @__PURE__ */ react.default.createElement("span", { className: "wallet-pass-text-name" }, card.name), /* @__PURE__ */ react.default.createElement("span", { className: "wallet-pass-text-amount" }, "-", /* @__PURE__ */ react.default.createElement(Amount, {
		value: card.redeem,
		showCurrencySymbol: true
	})))) : /* @__PURE__ */ react.default.createElement("div", { className: "wallet-pass-text-empty" }));
};
//#endregion
exports.default = WalletPassTextMode;
