/**
 * Copyright IBM Corp. 2020, 2026
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

const require_runtime = require('../../_virtual/_rolldown/runtime.js');
let react = require("react");
react = require_runtime.__toESM(react);
let prop_types = require("prop-types");
prop_types = require_runtime.__toESM(prop_types);

//#region src/components/EmptyStates/EmptyStateIllustration.deprecated.jsx
/**
* Copyright IBM Corp. 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
const ErrorIllustration = (0, react.lazy)(() => Promise.resolve().then(() => require("./assets/ErrorIllustration.js")));
const NoDataIllustration = (0, react.lazy)(() => Promise.resolve().then(() => require("./assets/NoDataIllustration.js")));
const NoTagsIllustration = (0, react.lazy)(() => Promise.resolve().then(() => require("./assets/NoTagsIllustration.js")));
const NotFoundIllustration = (0, react.lazy)(() => Promise.resolve().then(() => require("./assets/NotFoundIllustration.js")));
const NotificationsIllustration = (0, react.lazy)(() => Promise.resolve().then(() => require("./assets/NotificationsIllustration.js")));
const UnauthorizedIllustration = (0, react.lazy)(() => Promise.resolve().then(() => require("./assets/UnauthorizedIllustration.js")));
const getIllustration = (kind) => {
	switch (kind) {
		case "error": return ErrorIllustration;
		case "noData": return NoDataIllustration;
		case "noTags": return NoTagsIllustration;
		case "notifications": return NotificationsIllustration;
		case "notFound": return NotFoundIllustration;
		case "unauthorized": return UnauthorizedIllustration;
		default: return () => null;
	}
};
const EmptyStateIllustration = ({ kind, ...rest }) => {
	const Illustration = getIllustration(kind);
	return /* @__PURE__ */ react.default.createElement(react.Suspense, null, /* @__PURE__ */ react.default.createElement(Illustration, {
		"aria-hidden": "true",
		...rest
	}));
};
EmptyStateIllustration.propTypes = { kind: prop_types.default.string };

//#endregion
exports.default = EmptyStateIllustration;