import { jsx as e, jsxs as t } from "react/jsx-runtime";
//#region lib/ui/Image.tsx
var n = ({ alt: n = "", lazyLoad: r = !0, sizes: i, sources: a, ...o }) => {
	let s = r ? "lazy" : "eager", c = r ? "async" : "auto", l = /* @__PURE__ */ e("img", {
		...o,
		alt: n,
		decoding: c,
		draggable: "false",
		loading: s
	});
	return a?.length ? /* @__PURE__ */ t("picture", { children: [a.map((t, n) => /* @__PURE__ */ e("source", {
		sizes: i,
		...t
	}, n)), l] }) : l;
};
//#endregion
export { n as Image };

//# sourceMappingURL=Image.js.map