import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// (C) 2007-2025 GoodData Corporation
import { FormattedMessage } from "react-intl";
import { Typography } from "@gooddata/sdk-ui-kit";
import { CompactContentError } from "./CompactContentError.js";
import { ErrorContainer } from "./ErrorContainer.js";
export function ExecuteProtectedError({ fullContent }) {
    return (_jsx(ErrorContainer, { children: fullContent ? (_jsxs("div", { className: "info-label-icon gd-icon-warning", children: [
                _jsx(Typography, { tagName: "h2", children: _jsx(FormattedMessage, { id: "visualization.execute_protected_report.headline", tagName: "span" }) }), _jsx(Typography, { tagName: "h2", children: _jsx(FormattedMessage, { id: "visualization.execute_protected_report.text", tagName: "span" }) })
            ] })) : (_jsx(CompactContentError, { className: "gd-icon-warning", headline: "visualization.execute_protected_report.headline", text: "visualization.execute_protected_report.text" })) }));
}
