"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NewClusterPage = void 0;
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const react_core_1 = require("@patternfly/react-core");
const common_1 = require("../../../common");
const ClusterBreadcrumbs_1 = tslib_1.__importDefault(require("./ClusterBreadcrumbs"));
const ClusterDefaultConfigurationContext_1 = require("../clusterConfiguration/ClusterDefaultConfigurationContext");
const NewClusterWizard_1 = tslib_1.__importDefault(require("../clusterWizard/NewClusterWizard"));
const ClusterWizardContextProvider_1 = tslib_1.__importDefault(require("../clusterWizard/ClusterWizardContextProvider"));
const SentryErrorMonitorContextProvider_1 = require("../SentryErrorMonitorContextProvider");
const ClusterLoading_1 = tslib_1.__importDefault(require("./ClusterLoading"));
const ClusterPageErrors_1 = require("./ClusterPageErrors");
const featureSupportLevels_1 = require("../featureSupportLevels");
const AssistedInstallerHeader_1 = require("./AssistedInstallerHeader");
const ModalDialogsContext_1 = require("../hosts/ModalDialogsContext");
const OpenShiftVersionsContext_1 = require("../clusterWizard/OpenShiftVersionsContext");
const NewClusterPage = () => {
    return (react_1.default.createElement(common_1.AlertsContextProvider, null,
        react_1.default.createElement(SentryErrorMonitorContextProvider_1.SentryErrorMonitorContextProvider, null,
            react_1.default.createElement(ModalDialogsContext_1.ModalDialogsContextProvider, null,
                react_1.default.createElement(ClusterDefaultConfigurationContext_1.ClusterDefaultConfigurationProvider, { loadingUI: react_1.default.createElement(ClusterLoading_1.default, null), errorUI: react_1.default.createElement(ClusterPageErrors_1.ClusterUiError, null) },
                    react_1.default.createElement(OpenShiftVersionsContext_1.OpenShiftVersionsContextProvider, null,
                        react_1.default.createElement(featureSupportLevels_1.NewFeatureSupportLevelProvider, { loadingUi: react_1.default.createElement(ClusterLoading_1.default, null) },
                            react_1.default.createElement(ClusterBreadcrumbs_1.default, { clusterName: "New cluster" }),
                            react_1.default.createElement(react_core_1.PageSection, { hasBodyWrapper: false, isFilled: true },
                                react_1.default.createElement(AssistedInstallerHeader_1.AssistedInstallerHeader, null)),
                            react_1.default.createElement(react_core_1.PageSection, { hasBodyWrapper: false, isFilled: true },
                                react_1.default.createElement(ClusterWizardContextProvider_1.default, null,
                                    react_1.default.createElement(NewClusterWizard_1.default, null))))))))));
};
exports.NewClusterPage = NewClusterPage;
//# sourceMappingURL=NewClusterPage.js.map