"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ThirdPartyCNIBanner = void 0;
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const hooks_1 = require("../../../hooks");
const react_core_1 = require("@patternfly/react-core");
const config_1 = require("../../../config");
const ui_1 = require("../../ui");
const ThirdPartyCNIBanner = () => {
    const { t } = (0, hooks_1.useTranslation)();
    return (react_1.default.createElement(react_core_1.StackItem, null,
        react_1.default.createElement(react_core_1.Alert, { variant: react_core_1.AlertVariant.warning, isInline: true, title: t('ai:Third-party CNI') },
            react_1.default.createElement(react_core_1.Stack, { hasGutter: true },
                react_1.default.createElement(react_core_1.StackItem, null, t('ai:Third-party CNIs require uploading CNI manifests. Please verify you have the required manifests and that the chosen CNI is compatible with your platform and OpenShift version.')),
                react_1.default.createElement(react_core_1.StackItem, null,
                    react_1.default.createElement(ui_1.ExternalLink, { href: config_1.RED_HAT_CNI_SUPPORT_MATRIX_LINK }, t('ai:Red Hat CNI Support Matrix')))))));
};
exports.ThirdPartyCNIBanner = ThirdPartyCNIBanner;
//# sourceMappingURL=ThirdPartyCNIBanner.js.map