import FluentStatNumber from "./FluentStatNumber.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
import { makeStyles } from "@material-ui/core";
//#region src/UI/widgets/FluentComponents/molecules/FluentSecondaryStatNumber.jsx
const useStyles = makeStyles((theme) => ({
	displayRow: {
		display: "flex",
		flexDirection: "row"
	},
	divider: {
		height: theme.spacing(6),
		marginTop: theme.spacing(6.5),
		marginLeft: theme.spacing(1)
	}
}));
const FluentSecondaryStatNumber = (props) => {
	const $ = c(10);
	const classes = useStyles();
	const { secondaryStat, secondaryLabel, trend } = props;
	let t0;
	if ($[0] !== secondaryLabel || $[1] !== secondaryStat || $[2] !== trend) {
		t0 = /* @__PURE__ */ React.createElement(FluentStatNumber, {
			small: true,
			trend,
			label: secondaryLabel,
			number: secondaryStat
		});
		$[0] = secondaryLabel;
		$[1] = secondaryStat;
		$[2] = trend;
		$[3] = t0;
	} else t0 = $[3];
	let t1;
	if ($[4] !== classes.smallDisplay || $[5] !== t0) {
		t1 = /* @__PURE__ */ React.createElement("div", { className: classes.smallDisplay }, t0);
		$[4] = classes.smallDisplay;
		$[5] = t0;
		$[6] = t1;
	} else t1 = $[6];
	let t2;
	if ($[7] !== classes.displayRow || $[8] !== t1) {
		t2 = /* @__PURE__ */ React.createElement("div", { className: classes.displayRow }, t1);
		$[7] = classes.displayRow;
		$[8] = t1;
		$[9] = t2;
	} else t2 = $[9];
	return t2;
};
//#endregion
export { FluentSecondaryStatNumber as default };

//# sourceMappingURL=FluentSecondaryStatNumber.mjs.map