const require_runtime = require("../../../../../../../_virtual/_rolldown/runtime.js");
const require_status = require("../../../../../status.js");
let dayjs = require("dayjs");
dayjs = require_runtime.__toESM(dayjs);
let dayjs_plugin_isSameOrBefore = require("dayjs/plugin/isSameOrBefore");
dayjs_plugin_isSameOrBefore = require_runtime.__toESM(dayjs_plugin_isSameOrBefore);
require("./index.less");
//#region src/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.tsx
dayjs.default.extend(dayjs_plugin_isSameOrBefore.default);
const Status = (props) => {
	const { type = "call_to_book", style } = props;
	return /* @__PURE__ */ React.createElement("div", {
		className: "event-calendar-status",
		style
	}, require_status.statusList.map((i) => {
		return /* @__PURE__ */ React.createElement("div", {
			className: "item",
			key: i.status
		}, /* @__PURE__ */ React.createElement("div", {
			style: {
				height: i.status == 0 ? "20px" : "4px",
				background: i.color
			},
			className: "item-icon"
		}), /* @__PURE__ */ React.createElement("span", { className: "item-text" }, i.status === 2 ? require_status.statusMessage(type) : i.text));
	}));
};
//#endregion
exports.default = Status;
