const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
let dayjs = require("dayjs");
dayjs = require_runtime.__toESM(dayjs);
let react = require("react");
react = require_runtime.__toESM(react);
let _pisell_utils = require("@pisell/utils");
require("./index.less");
//#region src/components/ecocup/components/CupInfoCard/index.tsx
const CupInfoCard = (props) => {
	const { type, data, isMultipleShop, isMultipleTime } = props;
	return /* @__PURE__ */ react.default.createElement("div", { className: "pisell2-ecocup-cup-info-card" }, /* @__PURE__ */ react.default.createElement("div", null, _pisell_utils.locales.getText(`pisell2.text.ecocup.cup-info-card.title.${type}`)), isMultipleShop ? _pisell_utils.locales.getText("pisell2.text.ecocup.cup-info-card.title.multiple-shop") : /* @__PURE__ */ react.default.createElement("div", null, (data === null || data === void 0 ? void 0 : data.shop) || "-"), isMultipleTime ? _pisell_utils.locales.getText("pisell2.text.ecocup.cup-info-card.title.multiple-time") : /* @__PURE__ */ react.default.createElement("div", null, (data === null || data === void 0 ? void 0 : data.time) ? (0, dayjs.default)(data === null || data === void 0 ? void 0 : data.time).format("HH:mm DD/MM/YYYY") : "-"));
};
//#endregion
exports.default = CupInfoCard;
