import { SideSheet } from "../surfaces/SideSheet.mjs";
import SupportCaseForm from "./SupportCaseForm.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
//#region src/UI/support/SupportCaseSideSheet.jsx
const SupportCaseSideSheet = (t0) => {
	const $ = c(9);
	const { open, onClose, onSubmit, initialValues, handleCloseSupportCaseSideSheet, loading } = t0;
	let t1;
	if ($[0] !== handleCloseSupportCaseSideSheet || $[1] !== initialValues || $[2] !== loading || $[3] !== onSubmit) {
		t1 = /* @__PURE__ */ React.createElement(SupportCaseForm, {
			onSubmit,
			initialValues,
			handleCloseSupportCaseSideSheet,
			loading
		});
		$[0] = handleCloseSupportCaseSideSheet;
		$[1] = initialValues;
		$[2] = loading;
		$[3] = onSubmit;
		$[4] = t1;
	} else t1 = $[4];
	let t2;
	if ($[5] !== onClose || $[6] !== open || $[7] !== t1) {
		t2 = /* @__PURE__ */ React.createElement(SideSheet, {
			open,
			onClose,
			title: "Submit Support Ticket",
			width: 600
		}, t1);
		$[5] = onClose;
		$[6] = open;
		$[7] = t1;
		$[8] = t2;
	} else t2 = $[8];
	return t2;
};
//#endregion
export { SupportCaseSideSheet, SupportCaseSideSheet as default };

//# sourceMappingURL=SupportCaseSideSheet.mjs.map