import { c } from "react-compiler-runtime";
import React from "react";
import { makeStyles } from "@material-ui/core";
import Tabs$1 from "@material-ui/core/Tabs";
//#region src/UI/navigation/tabs/defaultTabs/FluentSimpleTabs.jsx
const useStyles = makeStyles((theme) => ({ indicator: {
	backgroundColor: theme.palette.secondary.main,
	top: (props) => props.block ? 0 : 45,
	height: (props) => props.block && 100,
	zIndex: (props) => props.block && -1
} }));
const FluentSimpleTabs = (props) => {
	const $ = c(15);
	let ariaLabel;
	let children;
	let onChange;
	let otherProps;
	let value;
	if ($[0] !== props) {
		({value, onChange, children, ariaLabel, ...otherProps} = props);
		$[0] = props;
		$[1] = ariaLabel;
		$[2] = children;
		$[3] = onChange;
		$[4] = otherProps;
		$[5] = value;
	} else {
		ariaLabel = $[1];
		children = $[2];
		onChange = $[3];
		otherProps = $[4];
		value = $[5];
	}
	const classes = useStyles(props);
	let t0;
	if ($[6] !== classes.indicator) {
		t0 = { indicator: classes.indicator };
		$[6] = classes.indicator;
		$[7] = t0;
	} else t0 = $[7];
	let t1;
	if ($[8] !== ariaLabel || $[9] !== children || $[10] !== onChange || $[11] !== otherProps || $[12] !== t0 || $[13] !== value) {
		t1 = /* @__PURE__ */ React.createElement(Tabs$1, {
			value,
			onChange,
			"aria-label": ariaLabel,
			...otherProps,
			classes: t0
		}, children);
		$[8] = ariaLabel;
		$[9] = children;
		$[10] = onChange;
		$[11] = otherProps;
		$[12] = t0;
		$[13] = value;
		$[14] = t1;
	} else t1 = $[14];
	return t1;
};
//#endregion
export { FluentSimpleTabs };

//# sourceMappingURL=FluentSimpleTabs.mjs.map