import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// (C) 2021-2025 GoodData Corporation
import { FormattedMessage } from "react-intl";
import { LoadingSpinner } from "@gooddata/sdk-ui-kit";
import { useTheme } from "@gooddata/sdk-ui-theme-provider";
export function ThemedLoadingEqualizer() {
    const theme = useTheme();
    return (_jsx("div", { className: "gd-loading-equalizer-wrap", children: _jsxs("div", { className: "gd-loading-equalizer gd-loading-equalizer-fade", children: [
                _jsx(LoadingSpinner, { className: "large gd-loading-equalizer-spinner", color: theme?.palette?.complementary?.c9 }), _jsx(FormattedMessage, { id: "loading" })
            ] }) }));
}
