const require_runtime = require("../../_virtual/_rolldown/runtime.js");
const require_objectSpread2 = require("../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
const require_usePisellConfig = require("../pisell-config-provider/hooks/usePisellConfig.js");
const require_index = require("./components/index.js");
const require_index$1 = require("./components/functions/index.js");
const require_index$2 = require("./components/Information/index.js");
let react = require("react");
react = require_runtime.__toESM(react);
//#region src/components/pisellModal/index.tsx
const PisellModal = (props) => {
	const { platform, headerDivider = true, footerDivider = true } = props;
	const config = require_usePisellConfig.default();
	const ModalCpt = require_index.platformCpt[platform || config.platform];
	(0, react.useEffect)(() => {
		document.body.id = "body";
	}, []);
	return /* @__PURE__ */ react.default.createElement(ModalCpt, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, props), {}, {
		headerDivider,
		footerDivider
	}));
};
PisellModal.confirm = require_index$1.confirm;
PisellModal.info = require_index$1.info;
PisellModal.error = require_index$1.error;
PisellModal.warn = require_index$1.warn;
PisellModal.warning = require_index$1.warning;
PisellModal.success = require_index$1.success;
PisellModal.Information = require_index$2.default;
//#endregion
exports.default = PisellModal;
