/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-b67433b | Cube Dev Team */
import { Cube } from "./Cube.js";
import { SpinsContainer } from "./SpinsContainer.js";
import { tasty } from "@tenphi/tasty";
import { memo } from "react";
import { jsx, jsxs } from "react/jsx-runtime";

//#region src/components/status/Spin/InternalSpinner.tsx
const SpinsBox = tasty({ styles: {
	position: "relative",
	blockSize: "100%"
} });
const InternalSpinner = memo(function InternalSpinner(props) {
	const { size } = props;
	return /* @__PURE__ */ jsx(SpinsContainer, {
		ownSize: CUBE_SIZE_MAP[size],
		children: /* @__PURE__ */ jsxs(SpinsBox, { children: [
			/* @__PURE__ */ jsx(Cube, { $position: "top" }),
			/* @__PURE__ */ jsx(Cube, { $position: "right" }),
			/* @__PURE__ */ jsx(Cube, { $position: "bottom" })
		] })
	}, size);
});
const CUBE_SIZE_MAP = {
	small: 24,
	default: 32,
	large: 48
};

//#endregion
export { InternalSpinner };
//# sourceMappingURL=InternalSpinner.js.map