import { PowerBIReport } from "./PowerBIReport.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
//#region src/reports/Reports.jsx
const Reports = (props) => {
	const $ = c(3);
	const { match, location } = props;
	const id = match.params?.id;
	location?.state?.params?.ReportDefaultParameters;
	const menuItemReportParams = location?.state?.params?.ReportDefaultParameters;
	let t0;
	if ($[0] !== id || $[1] !== menuItemReportParams) {
		t0 = /* @__PURE__ */ React.createElement(PowerBIReport, {
			id,
			reportParameters: menuItemReportParams
		});
		$[0] = id;
		$[1] = menuItemReportParams;
		$[2] = t0;
	} else t0 = $[2];
	return t0;
};
//#endregion
export { Reports as default };

//# sourceMappingURL=Reports.mjs.map