const require_runtime = require("../../_virtual/_rolldown/runtime.js");
const require_objectSpread2 = require("../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
const require_objectWithoutProperties = require("../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js");
let react = require("react");
react = require_runtime.__toESM(react);
let antd = require("antd");
let src_components_image_image_png = require("./image.png");
src_components_image_image_png = require_runtime.__toESM(src_components_image_image_png);
let src_components_image_avatar_png = require("./avatar.png");
src_components_image_avatar_png = require_runtime.__toESM(src_components_image_avatar_png);
let src_components_image_product_png = require("./product.png");
src_components_image_product_png = require_runtime.__toESM(src_components_image_product_png);
//#region src/components/image/index.tsx
const _excluded = ["fallbackType", "fallback"];
const defaultFallbackMap = {
	image: src_components_image_image_png.default,
	avatar: src_components_image_avatar_png.default,
	product: src_components_image_product_png.default
};
const Image = (_ref) => {
	let { fallbackType = "image", fallback } = _ref, restProps = require_objectWithoutProperties._objectWithoutProperties(_ref, _excluded);
	const finalFallback = fallback || defaultFallbackMap[fallbackType];
	return /* @__PURE__ */ react.default.createElement(antd.Image, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, restProps), {}, { fallback: finalFallback }));
};
//#endregion
exports.default = Image;
