/*
 * ATTENTION: An "eval-source-map" devtool has been used.
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(() => {
var exports = {};
exports.id = "app/page";
exports.ids = ["app/page"];
exports.modules = {

/***/ "./action-async-storage.external":
/*!****************************************************************************!*\
  !*** external "next/dist/client/components/action-async-storage.external" ***!
  \****************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/client/components/action-async-storage.external");

/***/ }),

/***/ "../../client/components/action-async-storage.external":
/*!*******************************************************************************!*\
  !*** external "next/dist/client/components/action-async-storage.external.js" ***!
  \*******************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/client/components/action-async-storage.external.js");

/***/ }),

/***/ "./request-async-storage.external":
/*!*****************************************************************************!*\
  !*** external "next/dist/client/components/request-async-storage.external" ***!
  \*****************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/client/components/request-async-storage.external");

/***/ }),

/***/ "../../client/components/request-async-storage.external":
/*!********************************************************************************!*\
  !*** external "next/dist/client/components/request-async-storage.external.js" ***!
  \********************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/client/components/request-async-storage.external.js");

/***/ }),

/***/ "./static-generation-async-storage.external":
/*!***************************************************************************************!*\
  !*** external "next/dist/client/components/static-generation-async-storage.external" ***!
  \***************************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/client/components/static-generation-async-storage.external");

/***/ }),

/***/ "../../client/components/static-generation-async-storage.external":
/*!******************************************************************************************!*\
  !*** external "next/dist/client/components/static-generation-async-storage.external.js" ***!
  \******************************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/client/components/static-generation-async-storage.external.js");

/***/ }),

/***/ "next/dist/compiled/next-server/app-page.runtime.dev.js":
/*!*************************************************************************!*\
  !*** external "next/dist/compiled/next-server/app-page.runtime.dev.js" ***!
  \*************************************************************************/
/***/ ((module) => {

"use strict";
module.exports = require("next/dist/compiled/next-server/app-page.runtime.dev.js");

/***/ }),

/***/ "(rsc)/./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&appPaths=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&rootDir=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui&isDev=true&tsconfigPath=tsconfig.json&basePath=&assetPrefix=&nextConfigOutput=export&preferredRegion=&middlewareConfig=e30%3D!":
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&appPaths=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&rootDir=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui&isDev=true&tsconfigPath=tsconfig.json&basePath=&assetPrefix=&nextConfigOutput=export&preferredRegion=&middlewareConfig=e30%3D! ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   GlobalError: () => (/* reexport default from dynamic */ next_dist_client_components_error_boundary__WEBPACK_IMPORTED_MODULE_2___default.a),\n/* harmony export */   __next_app__: () => (/* binding */ __next_app__),\n/* harmony export */   originalPathname: () => (/* binding */ originalPathname),\n/* harmony export */   pages: () => (/* binding */ pages),\n/* harmony export */   routeModule: () => (/* binding */ routeModule),\n/* harmony export */   tree: () => (/* binding */ tree)\n/* harmony export */ });\n/* harmony import */ var next_dist_server_future_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! next/dist/server/future/route-modules/app-page/module.compiled */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/module.compiled.js?9d97\");\n/* harmony import */ var next_dist_server_future_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_future_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var next_dist_server_future_route_kind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/dist/server/future/route-kind */ \"(rsc)/./node_modules/next/dist/server/future/route-kind.js\");\n/* harmony import */ var next_dist_client_components_error_boundary__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! next/dist/client/components/error-boundary */ \"(rsc)/./node_modules/next/dist/client/components/error-boundary.js\");\n/* harmony import */ var next_dist_client_components_error_boundary__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_dist_client_components_error_boundary__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! next/dist/server/app-render/entry-base */ \"(rsc)/./node_modules/next/dist/server/app-render/entry-base.js\");\n/* harmony import */ var next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_3__) if([\"default\",\"tree\",\"pages\",\"GlobalError\",\"originalPathname\",\"__next_app__\",\"routeModule\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => next_dist_server_app_render_entry_base__WEBPACK_IMPORTED_MODULE_3__[__WEBPACK_IMPORT_KEY__]\n/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);\n\"TURBOPACK { transition: next-ssr }\";\n\n\n// We inject the tree and pages here so that we can use them in the route\n// module.\nconst tree = {\n        children: [\n        '',\n        {\n        children: ['__PAGE__', {}, {\n          page: [() => Promise.resolve(/*! import() eager */).then(__webpack_require__.bind(__webpack_require__, /*! ./app/page.tsx */ \"(rsc)/./app/page.tsx\")), \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/page.tsx\"],\n          \n        }]\n      },\n        {\n        'layout': [() => Promise.resolve(/*! import() eager */).then(__webpack_require__.bind(__webpack_require__, /*! ./app/layout.tsx */ \"(rsc)/./app/layout.tsx\")), \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\"],\n'not-found': [() => Promise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! next/dist/client/components/not-found-error */ \"(rsc)/./node_modules/next/dist/client/components/not-found-error.js\", 23)), \"next/dist/client/components/not-found-error\"],\n        \n      }\n      ]\n      }.children;\nconst pages = [\"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/page.tsx\"];\n\n\nconst __next_app_require__ = __webpack_require__\nconst __next_app_load_chunk__ = () => Promise.resolve()\nconst originalPathname = \"/page\";\nconst __next_app__ = {\n    require: __next_app_require__,\n    loadChunk: __next_app_load_chunk__\n};\n\n// Create and export the route module that will be consumed.\nconst routeModule = new next_dist_server_future_route_modules_app_page_module_compiled__WEBPACK_IMPORTED_MODULE_0__.AppPageRouteModule({\n    definition: {\n        kind: next_dist_server_future_route_kind__WEBPACK_IMPORTED_MODULE_1__.RouteKind.APP_PAGE,\n        page: \"/page\",\n        pathname: \"/\",\n        // The following aren't used in production.\n        bundlePath: \"\",\n        filename: \"\",\n        appPaths: []\n    },\n    userland: {\n        loaderTree: tree\n    }\n});\n\n//# sourceMappingURL=app-page.js.map//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 4200 characters]\n//# sourceURL=webpack-internal:///(rsc)/./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&appPaths=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&rootDir=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui&isDev=true&tsconfigPath=tsconfig.json&basePath=&assetPrefix=&nextConfigOutput=export&preferredRegion=&middlewareConfig=e30%3D!\n");

/***/ }),

/***/ "(ssr)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp%2Fcomponents%2FThemeToggle.tsx&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp%2Fglobals.css&server=true!":
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp%2Fcomponents%2FThemeToggle.tsx&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp%2Fglobals.css&server=true! ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {

eval("Promise.resolve(/*! import() eager */).then(__webpack_require__.bind(__webpack_require__, /*! ./app/components/ThemeToggle.tsx */ \"(ssr)/./app/components/ThemeToggle.tsx\"))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2J1aWxkL3dlYnBhY2svbG9hZGVycy9uZXh0LWZsaWdodC1jbGllbnQtZW50cnktbG9hZGVyLmpzP21vZHVsZXM9JTJGaG9tZSUyRnRvbnklMkZjaG9ydXMlMkZwcm9qZWN0LXF1ZXVlcyUyRmFjdGl2ZSUyRkJaWlolMkZpbnN0YWxsJTJGY29uZmlnLXVpJTJGYXBwJTJGY29tcG9uZW50cyUyRlRoZW1lVG9nZ2xlLnRzeCZtb2R1bGVzPSUyRmhvbWUlMkZ0b255JTJGY2hvcnVzJTJGcHJvamVjdC1xdWV1ZXMlMkZhY3RpdmUlMkZCWlpaJTJGaW5zdGFsbCUyRmNvbmZpZy11aSUyRmFwcCUyRmdsb2JhbHMuY3NzJnNlcnZlcj10cnVlISIsIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZXMiOlsid2VicGFjazovL2J6enotY29uZmlnLXVpLz9kMTZmIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCgvKiB3ZWJwYWNrTW9kZTogXCJlYWdlclwiICovIFwiL2hvbWUvdG9ueS9jaG9ydXMvcHJvamVjdC1xdWV1ZXMvYWN0aXZlL0JaWlovaW5zdGFsbC9jb25maWctdWkvYXBwL2NvbXBvbmVudHMvVGhlbWVUb2dnbGUudHN4XCIpIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp%2Fcomponents%2FThemeToggle.tsx&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp%2Fglobals.css&server=true!\n");

/***/ }),

/***/ "(ssr)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp%2Fsetup%2Fpage.tsx&server=true!":
/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp%2Fsetup%2Fpage.tsx&server=true! ***!
  \**********************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {

eval("Promise.resolve(/*! import() eager */).then(__webpack_require__.bind(__webpack_require__, /*! ./app/setup/page.tsx */ \"(ssr)/./app/setup/page.tsx\"))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2J1aWxkL3dlYnBhY2svbG9hZGVycy9uZXh0LWZsaWdodC1jbGllbnQtZW50cnktbG9hZGVyLmpzP21vZHVsZXM9JTJGaG9tZSUyRnRvbnklMkZjaG9ydXMlMkZwcm9qZWN0LXF1ZXVlcyUyRmFjdGl2ZSUyRkJaWlolMkZpbnN0YWxsJTJGY29uZmlnLXVpJTJGYXBwJTJGc2V0dXAlMkZwYWdlLnRzeCZzZXJ2ZXI9dHJ1ZSEiLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ienp6LWNvbmZpZy11aS8/ODg5OSJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQoLyogd2VicGFja01vZGU6IFwiZWFnZXJcIiAqLyBcIi9ob21lL3RvbnkvY2hvcnVzL3Byb2plY3QtcXVldWVzL2FjdGl2ZS9CWlpaL2luc3RhbGwvY29uZmlnLXVpL2FwcC9zZXR1cC9wYWdlLnRzeFwiKSJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp%2Fsetup%2Fpage.tsx&server=true!\n");

/***/ }),

/***/ "(ssr)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Fapp-router.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Ferror-boundary.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Flayout-router.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Fnot-found-boundary.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Frender-from-template-context.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Fstatic-generation-searchparams-bailout-provider.js&server=true!":
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Fapp-router.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Ferror-boundary.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Flayout-router.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Fnot-found-boundary.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Frender-from-template-context.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Fstatic-generation-searchparams-bailout-provider.js&server=true! ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {

eval("Promise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./node_modules/next/dist/client/components/app-router.js */ \"(ssr)/./node_modules/next/dist/client/components/app-router.js\", 23));\nPromise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./node_modules/next/dist/client/components/error-boundary.js */ \"(ssr)/./node_modules/next/dist/client/components/error-boundary.js\", 23));\nPromise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./node_modules/next/dist/client/components/layout-router.js */ \"(ssr)/./node_modules/next/dist/client/components/layout-router.js\", 23));\nPromise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./node_modules/next/dist/client/components/not-found-boundary.js */ \"(ssr)/./node_modules/next/dist/client/components/not-found-boundary.js\", 23));\nPromise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./node_modules/next/dist/client/components/render-from-template-context.js */ \"(ssr)/./node_modules/next/dist/client/components/render-from-template-context.js\", 23));\nPromise.resolve(/*! import() eager */).then(__webpack_require__.t.bind(__webpack_require__, /*! ./node_modules/next/dist/client/components/static-generation-searchparams-bailout-provider.js */ \"(ssr)/./node_modules/next/dist/client/components/static-generation-searchparams-bailout-provider.js\", 23))//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2J1aWxkL3dlYnBhY2svbG9hZGVycy9uZXh0LWZsaWdodC1jbGllbnQtZW50cnktbG9hZGVyLmpzP21vZHVsZXM9JTJGaG9tZSUyRnRvbnklMkZjaG9ydXMlMkZwcm9qZWN0LXF1ZXVlcyUyRmFjdGl2ZSUyRkJaWlolMkZpbnN0YWxsJTJGY29uZmlnLXVpJTJGbm9kZV9tb2R1bGVzJTJGbmV4dCUyRmRpc3QlMkZjbGllbnQlMkZjb21wb25lbnRzJTJGYXBwLXJvdXRlci5qcyZtb2R1bGVzPSUyRmhvbWUlMkZ0b255JTJGY2hvcnVzJTJGcHJvamVjdC1xdWV1ZXMlMkZhY3RpdmUlMkZCWlpaJTJGaW5zdGFsbCUyRmNvbmZpZy11aSUyRm5vZGVfbW9kdWxlcyUyRm5leHQlMkZkaXN0JTJGY2xpZW50JTJGY29tcG9uZW50cyUyRmVycm9yLWJvdW5kYXJ5LmpzJm1vZHVsZXM9JTJGaG9tZSUyRnRvbnklMkZjaG9ydXMlMkZwcm9qZWN0LXF1ZXVlcyUyRmFjdGl2ZSUyRkJaWlolMkZpbnN0YWxsJTJGY29uZmlnLXVpJTJGbm9kZV9tb2R1bGVzJTJGbmV4dCUyRmRpc3QlMkZjbGllbnQlMkZjb21wb25lbnRzJTJGbGF5b3V0LXJvdXRlci5qcyZtb2R1bGVzPSUyRmhvbWUlMkZ0b255JTJGY2hvcnVzJTJGcHJvamVjdC1xdWV1ZXMlMkZhY3RpdmUlMkZCWlpaJTJGaW5zdGFsbCUyRmNvbmZpZy11aSUyRm5vZGVfbW9kdWxlcyUyRm5leHQlMkZkaXN0JTJGY2xpZW50JTJGY29tcG9uZW50cyUyRm5vdC1mb3VuZC1ib3VuZGFyeS5qcyZtb2R1bGVzPSUyRmhvbWUlMkZ0b255JTJGY2hvcnVzJTJGcHJvamVjdC1xdWV1ZXMlMkZhY3RpdmUlMkZCWlpaJTJGaW5zdGFsbCUyRmNvbmZpZy11aSUyRm5vZGVfbW9kdWxlcyUyRm5leHQlMkZkaXN0JTJGY2xpZW50JTJGY29tcG9uZW50cyUyRnJlbmRlci1mcm9tLXRlbXBsYXRlLWNvbnRleHQuanMmbW9kdWxlcz0lMkZob21lJTJGdG9ueSUyRmNob3J1cyUyRnByb2plY3QtcXVldWVzJTJGYWN0aXZlJTJGQlpaWiUyRmluc3RhbGwlMkZjb25maWctdWklMkZub2RlX21vZHVsZXMlMkZuZXh0JTJGZGlzdCUyRmNsaWVudCUyRmNvbXBvbmVudHMlMkZzdGF0aWMtZ2VuZXJhdGlvbi1zZWFyY2hwYXJhbXMtYmFpbG91dC1wcm92aWRlci5qcyZzZXJ2ZXI9dHJ1ZSEiLCJtYXBwaW5ncyI6IkFBQUEsa09BQTBKO0FBQzFKLDBPQUE4SjtBQUM5Six3T0FBNko7QUFDN0osa1BBQWtLO0FBQ2xLLHNRQUE0SztBQUM1SyIsInNvdXJjZXMiOlsid2VicGFjazovL2J6enotY29uZmlnLXVpLz83YzBkIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCgvKiB3ZWJwYWNrTW9kZTogXCJlYWdlclwiICovIFwiL2hvbWUvdG9ueS9jaG9ydXMvcHJvamVjdC1xdWV1ZXMvYWN0aXZlL0JaWlovaW5zdGFsbC9jb25maWctdWkvbm9kZV9tb2R1bGVzL25leHQvZGlzdC9jbGllbnQvY29tcG9uZW50cy9hcHAtcm91dGVyLmpzXCIpO1xuaW1wb3J0KC8qIHdlYnBhY2tNb2RlOiBcImVhZ2VyXCIgKi8gXCIvaG9tZS90b255L2Nob3J1cy9wcm9qZWN0LXF1ZXVlcy9hY3RpdmUvQlpaWi9pbnN0YWxsL2NvbmZpZy11aS9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2NsaWVudC9jb21wb25lbnRzL2Vycm9yLWJvdW5kYXJ5LmpzXCIpO1xuaW1wb3J0KC8qIHdlYnBhY2tNb2RlOiBcImVhZ2VyXCIgKi8gXCIvaG9tZS90b255L2Nob3J1cy9wcm9qZWN0LXF1ZXVlcy9hY3RpdmUvQlpaWi9pbnN0YWxsL2NvbmZpZy11aS9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2NsaWVudC9jb21wb25lbnRzL2xheW91dC1yb3V0ZXIuanNcIik7XG5pbXBvcnQoLyogd2VicGFja01vZGU6IFwiZWFnZXJcIiAqLyBcIi9ob21lL3RvbnkvY2hvcnVzL3Byb2plY3QtcXVldWVzL2FjdGl2ZS9CWlpaL2luc3RhbGwvY29uZmlnLXVpL25vZGVfbW9kdWxlcy9uZXh0L2Rpc3QvY2xpZW50L2NvbXBvbmVudHMvbm90LWZvdW5kLWJvdW5kYXJ5LmpzXCIpO1xuaW1wb3J0KC8qIHdlYnBhY2tNb2RlOiBcImVhZ2VyXCIgKi8gXCIvaG9tZS90b255L2Nob3J1cy9wcm9qZWN0LXF1ZXVlcy9hY3RpdmUvQlpaWi9pbnN0YWxsL2NvbmZpZy11aS9ub2RlX21vZHVsZXMvbmV4dC9kaXN0L2NsaWVudC9jb21wb25lbnRzL3JlbmRlci1mcm9tLXRlbXBsYXRlLWNvbnRleHQuanNcIik7XG5pbXBvcnQoLyogd2VicGFja01vZGU6IFwiZWFnZXJcIiAqLyBcIi9ob21lL3RvbnkvY2hvcnVzL3Byb2plY3QtcXVldWVzL2FjdGl2ZS9CWlpaL2luc3RhbGwvY29uZmlnLXVpL25vZGVfbW9kdWxlcy9uZXh0L2Rpc3QvY2xpZW50L2NvbXBvbmVudHMvc3RhdGljLWdlbmVyYXRpb24tc2VhcmNocGFyYW1zLWJhaWxvdXQtcHJvdmlkZXIuanNcIikiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Fapp-router.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Ferror-boundary.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Flayout-router.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Fnot-found-boundary.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Frender-from-template-context.js&modules=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fnode_modules%2Fnext%2Fdist%2Fclient%2Fcomponents%2Fstatic-generation-searchparams-bailout-provider.js&server=true!\n");

/***/ }),

/***/ "(ssr)/./app/components/ThemeToggle.tsx":
/*!****************************************!*\
  !*** ./app/components/ThemeToggle.tsx ***!
  \****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ ThemeToggle)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_MoonIcon_SunIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=MoonIcon,SunIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/SunIcon.js\");\n/* harmony import */ var _barrel_optimize_names_MoonIcon_SunIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=MoonIcon,SunIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/MoonIcon.js\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\nfunction ThemeToggle() {\n    const [isDark, setIsDark] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(true) // Default to dark mode\n    ;\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        // Check for saved theme preference or default to dark\n        const savedTheme = localStorage.getItem(\"chorus-theme\");\n        const prefersDark = !savedTheme || savedTheme === \"dark\";\n        setIsDark(prefersDark);\n        updateTheme(prefersDark);\n    }, []);\n    const updateTheme = (dark)=>{\n        const html = document.documentElement;\n        if (dark) {\n            html.classList.add(\"dark\");\n        } else {\n            html.classList.remove(\"dark\");\n        }\n    };\n    const toggleTheme = ()=>{\n        const newIsDark = !isDark;\n        setIsDark(newIsDark);\n        updateTheme(newIsDark);\n        // Save preference\n        localStorage.setItem(\"chorus-theme\", newIsDark ? \"dark\" : \"light\");\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n        onClick: toggleTheme,\n        className: \"btn-text flex items-center space-x-2 p-2 rounded-md transition-colors duration-200\",\n        \"aria-label\": `Switch to ${isDark ? \"light\" : \"dark\"} theme`,\n        children: isDark ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n            children: [\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_MoonIcon_SunIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                    className: \"h-4 w-4\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/components/ThemeToggle.tsx\",\n                    lineNumber: 44,\n                    columnNumber: 11\n                }, this),\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                    className: \"text-xs\",\n                    children: \"Light\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/components/ThemeToggle.tsx\",\n                    lineNumber: 45,\n                    columnNumber: 11\n                }, this)\n            ]\n        }, void 0, true) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n            children: [\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_MoonIcon_SunIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                    className: \"h-4 w-4\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/components/ThemeToggle.tsx\",\n                    lineNumber: 49,\n                    columnNumber: 11\n                }, this),\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                    className: \"text-xs\",\n                    children: \"Dark\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/components/ThemeToggle.tsx\",\n                    lineNumber: 50,\n                    columnNumber: 11\n                }, this)\n            ]\n        }, void 0, true)\n    }, void 0, false, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/components/ThemeToggle.tsx\",\n        lineNumber: 37,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9hcHAvY29tcG9uZW50cy9UaGVtZVRvZ2dsZS50c3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFFMkM7QUFDb0I7QUFFaEQsU0FBU0k7SUFDdEIsTUFBTSxDQUFDQyxRQUFRQyxVQUFVLEdBQUdOLCtDQUFRQSxDQUFDLE1BQU0sdUJBQXVCOztJQUVsRUMsZ0RBQVNBLENBQUM7UUFDUixzREFBc0Q7UUFDdEQsTUFBTU0sYUFBYUMsYUFBYUMsT0FBTyxDQUFDO1FBQ3hDLE1BQU1DLGNBQWMsQ0FBQ0gsY0FBY0EsZUFBZTtRQUVsREQsVUFBVUk7UUFDVkMsWUFBWUQ7SUFDZCxHQUFHLEVBQUU7SUFFTCxNQUFNQyxjQUFjLENBQUNDO1FBQ25CLE1BQU1DLE9BQU9DLFNBQVNDLGVBQWU7UUFDckMsSUFBSUgsTUFBTTtZQUNSQyxLQUFLRyxTQUFTLENBQUNDLEdBQUcsQ0FBQztRQUNyQixPQUFPO1lBQ0xKLEtBQUtHLFNBQVMsQ0FBQ0UsTUFBTSxDQUFDO1FBQ3hCO0lBQ0Y7SUFFQSxNQUFNQyxjQUFjO1FBQ2xCLE1BQU1DLFlBQVksQ0FBQ2Y7UUFDbkJDLFVBQVVjO1FBQ1ZULFlBQVlTO1FBRVosa0JBQWtCO1FBQ2xCWixhQUFhYSxPQUFPLENBQUMsZ0JBQWdCRCxZQUFZLFNBQVM7SUFDNUQ7SUFFQSxxQkFDRSw4REFBQ0U7UUFDQ0MsU0FBU0o7UUFDVEssV0FBVTtRQUNWQyxjQUFZLENBQUMsVUFBVSxFQUFFcEIsU0FBUyxVQUFVLE9BQU8sTUFBTSxDQUFDO2tCQUV6REEsdUJBQ0M7OzhCQUNFLDhEQUFDSCwwR0FBT0E7b0JBQUNzQixXQUFVOzs7Ozs7OEJBQ25CLDhEQUFDRTtvQkFBS0YsV0FBVTs4QkFBVTs7Ozs7Ozt5Q0FHNUI7OzhCQUNFLDhEQUFDckIsMEdBQVFBO29CQUFDcUIsV0FBVTs7Ozs7OzhCQUNwQiw4REFBQ0U7b0JBQUtGLFdBQVU7OEJBQVU7Ozs7Ozs7Ozs7Ozs7QUFLcEMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ienp6LWNvbmZpZy11aS8uL2FwcC9jb21wb25lbnRzL1RoZW1lVG9nZ2xlLnRzeD81ZjFjIl0sInNvdXJjZXNDb250ZW50IjpbIid1c2UgY2xpZW50J1xuXG5pbXBvcnQgeyB1c2VTdGF0ZSwgdXNlRWZmZWN0IH0gZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBTdW5JY29uLCBNb29uSWNvbiB9IGZyb20gJ0BoZXJvaWNvbnMvcmVhY3QvMjQvb3V0bGluZSdcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gVGhlbWVUb2dnbGUoKSB7XG4gIGNvbnN0IFtpc0RhcmssIHNldElzRGFya10gPSB1c2VTdGF0ZSh0cnVlKSAvLyBEZWZhdWx0IHRvIGRhcmsgbW9kZVxuXG4gIHVzZUVmZmVjdCgoKSA9PiB7XG4gICAgLy8gQ2hlY2sgZm9yIHNhdmVkIHRoZW1lIHByZWZlcmVuY2Ugb3IgZGVmYXVsdCB0byBkYXJrXG4gICAgY29uc3Qgc2F2ZWRUaGVtZSA9IGxvY2FsU3RvcmFnZS5nZXRJdGVtKCdjaG9ydXMtdGhlbWUnKVxuICAgIGNvbnN0IHByZWZlcnNEYXJrID0gIXNhdmVkVGhlbWUgfHwgc2F2ZWRUaGVtZSA9PT0gJ2RhcmsnXG4gICAgXG4gICAgc2V0SXNEYXJrKHByZWZlcnNEYXJrKVxuICAgIHVwZGF0ZVRoZW1lKHByZWZlcnNEYXJrKVxuICB9LCBbXSlcblxuICBjb25zdCB1cGRhdGVUaGVtZSA9IChkYXJrOiBib29sZWFuKSA9PiB7XG4gICAgY29uc3QgaHRtbCA9IGRvY3VtZW50LmRvY3VtZW50RWxlbWVudFxuICAgIGlmIChkYXJrKSB7XG4gICAgICBodG1sLmNsYXNzTGlzdC5hZGQoJ2RhcmsnKVxuICAgIH0gZWxzZSB7XG4gICAgICBodG1sLmNsYXNzTGlzdC5yZW1vdmUoJ2RhcmsnKVxuICAgIH1cbiAgfVxuXG4gIGNvbnN0IHRvZ2dsZVRoZW1lID0gKCkgPT4ge1xuICAgIGNvbnN0IG5ld0lzRGFyayA9ICFpc0RhcmtcbiAgICBzZXRJc0RhcmsobmV3SXNEYXJrKVxuICAgIHVwZGF0ZVRoZW1lKG5ld0lzRGFyaylcbiAgICBcbiAgICAvLyBTYXZlIHByZWZlcmVuY2VcbiAgICBsb2NhbFN0b3JhZ2Uuc2V0SXRlbSgnY2hvcnVzLXRoZW1lJywgbmV3SXNEYXJrID8gJ2RhcmsnIDogJ2xpZ2h0JylcbiAgfVxuXG4gIHJldHVybiAoXG4gICAgPGJ1dHRvblxuICAgICAgb25DbGljaz17dG9nZ2xlVGhlbWV9XG4gICAgICBjbGFzc05hbWU9XCJidG4tdGV4dCBmbGV4IGl0ZW1zLWNlbnRlciBzcGFjZS14LTIgcC0yIHJvdW5kZWQtbWQgdHJhbnNpdGlvbi1jb2xvcnMgZHVyYXRpb24tMjAwXCJcbiAgICAgIGFyaWEtbGFiZWw9e2BTd2l0Y2ggdG8gJHtpc0RhcmsgPyAnbGlnaHQnIDogJ2RhcmsnfSB0aGVtZWB9XG4gICAgPlxuICAgICAge2lzRGFyayA/IChcbiAgICAgICAgPD5cbiAgICAgICAgICA8U3VuSWNvbiBjbGFzc05hbWU9XCJoLTQgdy00XCIgLz5cbiAgICAgICAgICA8c3BhbiBjbGFzc05hbWU9XCJ0ZXh0LXhzXCI+TGlnaHQ8L3NwYW4+XG4gICAgICAgIDwvPlxuICAgICAgKSA6IChcbiAgICAgICAgPD5cbiAgICAgICAgICA8TW9vbkljb24gY2xhc3NOYW1lPVwiaC00IHctNFwiIC8+XG4gICAgICAgICAgPHNwYW4gY2xhc3NOYW1lPVwidGV4dC14c1wiPkRhcms8L3NwYW4+XG4gICAgICAgIDwvPlxuICAgICAgKX1cbiAgICA8L2J1dHRvbj5cbiAgKVxufSJdLCJuYW1lcyI6WyJ1c2VTdGF0ZSIsInVzZUVmZmVjdCIsIlN1bkljb24iLCJNb29uSWNvbiIsIlRoZW1lVG9nZ2xlIiwiaXNEYXJrIiwic2V0SXNEYXJrIiwic2F2ZWRUaGVtZSIsImxvY2FsU3RvcmFnZSIsImdldEl0ZW0iLCJwcmVmZXJzRGFyayIsInVwZGF0ZVRoZW1lIiwiZGFyayIsImh0bWwiLCJkb2N1bWVudCIsImRvY3VtZW50RWxlbWVudCIsImNsYXNzTGlzdCIsImFkZCIsInJlbW92ZSIsInRvZ2dsZVRoZW1lIiwibmV3SXNEYXJrIiwic2V0SXRlbSIsImJ1dHRvbiIsIm9uQ2xpY2siLCJjbGFzc05hbWUiLCJhcmlhLWxhYmVsIiwic3BhbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./app/components/ThemeToggle.tsx\n");

/***/ }),

/***/ "(ssr)/./app/setup/components/AIConfiguration.tsx":
/*!**************************************************!*\
  !*** ./app/setup/components/AIConfiguration.tsx ***!
  \**************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ AIConfiguration)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CpuChipIcon,CurrencyDollarIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,InformationCircleIcon,ServerIcon,SparklesIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CpuChipIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CpuChipIcon,CurrencyDollarIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,InformationCircleIcon,ServerIcon,SparklesIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CpuChipIcon,CurrencyDollarIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,InformationCircleIcon,ServerIcon,SparklesIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ServerIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CpuChipIcon,CurrencyDollarIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,InformationCircleIcon,ServerIcon,SparklesIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ArrowPathIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CpuChipIcon,CurrencyDollarIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,InformationCircleIcon,ServerIcon,SparklesIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CpuChipIcon,CurrencyDollarIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,InformationCircleIcon,ServerIcon,SparklesIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ExclamationTriangleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CpuChipIcon,CurrencyDollarIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,InformationCircleIcon,ServerIcon,SparklesIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/SparklesIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CpuChipIcon,CurrencyDollarIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,InformationCircleIcon,ServerIcon,SparklesIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/EyeSlashIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CpuChipIcon,CurrencyDollarIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,InformationCircleIcon,ServerIcon,SparklesIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/EyeIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CpuChipIcon,CurrencyDollarIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,InformationCircleIcon,ServerIcon,SparklesIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CurrencyDollarIcon.js\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\nfunction AIConfiguration({ systemInfo, configData, onComplete, onBack, isCompleted }) {\n    const [config, setConfig] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({\n        openaiEnabled: false,\n        openaiApiKey: \"\",\n        openaiOrganization: \"\",\n        openaiDefaultModel: \"gpt-4\",\n        dailyCostLimit: 50,\n        monthlyCostLimit: 500,\n        costAlerts: true,\n        localAIEnabled: true,\n        localAIType: \"ollama\",\n        localAIEndpoint: \"http://localhost:11434\",\n        localAIModels: [\n            \"llama2\",\n            \"codellama\"\n        ],\n        gpuAcceleration: false,\n        preferredGPU: \"\",\n        maxGPUMemory: 8,\n        preferredProvider: \"local\",\n        fallbackEnabled: true\n    });\n    const [showApiKey, setShowApiKey] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [validatingOpenAI, setValidatingOpenAI] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [validatingLocal, setValidatingLocal] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [openaiValid, setOpenaiValid] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null);\n    const [localAIValid, setLocalAIValid] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null);\n    // Initialize configuration from existing data\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        if (configData.ai) {\n            setConfig((prev)=>({\n                    ...prev,\n                    ...configData.ai\n                }));\n        }\n        // Auto-detect GPU capabilities\n        if (systemInfo?.gpus?.length > 0) {\n            const hasNVIDIA = systemInfo.gpus.some((gpu)=>gpu.type === \"nvidia\");\n            const hasAMD = systemInfo.gpus.some((gpu)=>gpu.type === \"amd\");\n            if (hasNVIDIA) {\n                setConfig((prev)=>({\n                        ...prev,\n                        gpuAcceleration: true,\n                        localAIType: \"parallama\",\n                        preferredGPU: systemInfo.gpus.find((gpu)=>gpu.type === \"nvidia\")?.name || \"\"\n                    }));\n            } else if (hasAMD) {\n                setConfig((prev)=>({\n                        ...prev,\n                        gpuAcceleration: true,\n                        localAIType: \"ollama\",\n                        preferredGPU: systemInfo.gpus.find((gpu)=>gpu.type === \"amd\")?.name || \"\"\n                    }));\n            }\n        }\n    }, [\n        systemInfo,\n        configData\n    ]);\n    const validateOpenAI = async ()=>{\n        if (!config.openaiApiKey) {\n            setOpenaiValid(false);\n            return;\n        }\n        setValidatingOpenAI(true);\n        try {\n            // This would be a real API validation in production\n            // For now, just simulate validation\n            await new Promise((resolve)=>setTimeout(resolve, 1000));\n            setOpenaiValid(true);\n        } catch (error) {\n            setOpenaiValid(false);\n        } finally{\n            setValidatingOpenAI(false);\n        }\n    };\n    const validateLocalAI = async ()=>{\n        if (!config.localAIEndpoint) {\n            setLocalAIValid(false);\n            return;\n        }\n        setValidatingLocal(true);\n        try {\n            const response = await fetch(`${config.localAIEndpoint}/api/tags`);\n            setLocalAIValid(response.ok);\n        } catch (error) {\n            setLocalAIValid(false);\n        } finally{\n            setValidatingLocal(false);\n        }\n    };\n    const getGPURecommendations = ()=>{\n        if (!systemInfo?.gpus?.length) {\n            return {\n                recommendation: \"No GPU detected. CPU-only processing will be used.\",\n                type: \"info\",\n                details: \"Consider adding a GPU for better AI performance.\"\n            };\n        }\n        const gpus = systemInfo.gpus;\n        const nvidiaGPUs = gpus.filter((gpu)=>gpu.type === \"nvidia\");\n        const amdGPUs = gpus.filter((gpu)=>gpu.type === \"amd\");\n        if (nvidiaGPUs.length > 0) {\n            return {\n                recommendation: \"NVIDIA GPU detected - Parallama recommended for optimal performance\",\n                type: \"success\",\n                details: `${nvidiaGPUs[0].name} with ${nvidiaGPUs[0].memory} VRAM detected. Parallama provides excellent NVIDIA GPU acceleration.`\n            };\n        }\n        if (amdGPUs.length > 0) {\n            return {\n                recommendation: \"AMD GPU detected - Ollama with ROCm support recommended\",\n                type: \"warning\",\n                details: `${amdGPUs[0].name} detected. Ollama provides good AMD GPU support through ROCm.`\n            };\n        }\n        return {\n            recommendation: \"Integrated GPU detected - Limited AI acceleration available\",\n            type: \"warning\",\n            details: \"Integrated GPUs provide limited AI acceleration. Consider a dedicated GPU for better performance.\"\n        };\n    };\n    const getRecommendedModels = ()=>{\n        const memoryGB = systemInfo?.memory_mb ? Math.round(systemInfo.memory_mb / 1024) : 8;\n        if (memoryGB >= 32) {\n            return [\n                \"llama2:70b\",\n                \"codellama:34b\",\n                \"mixtral:8x7b\"\n            ];\n        } else if (memoryGB >= 16) {\n            return [\n                \"llama2:13b\",\n                \"codellama:13b\",\n                \"llama2:7b\"\n            ];\n        } else {\n            return [\n                \"llama2:7b\",\n                \"codellama:7b\",\n                \"phi2\"\n            ];\n        }\n    };\n    const handleSubmit = (e)=>{\n        e.preventDefault();\n        // Validate that at least one AI provider is configured\n        if (!config.openaiEnabled && !config.localAIEnabled) {\n            alert(\"Please enable at least one AI provider (OpenAI or Local AI)\");\n            return;\n        }\n        onComplete({\n            ai: config\n        });\n    };\n    const gpuRecommendation = getGPURecommendations();\n    const recommendedModels = getRecommendedModels();\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"form\", {\n        onSubmit: handleSubmit,\n        className: \"space-y-6\",\n        children: [\n            systemInfo?.gpus && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-gray-50 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4 flex items-center\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 230,\n                                columnNumber: 13\n                            }, this),\n                            \"GPU Configuration\"\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 229,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: `p-4 rounded-lg border mb-4 ${gpuRecommendation.type === \"success\" ? \"bg-green-50 border-green-200\" : gpuRecommendation.type === \"warning\" ? \"bg-yellow-50 border-yellow-200\" : \"bg-blue-50 border-blue-200\"}`,\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex items-start\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                                    className: `h-5 w-5 mt-0.5 mr-2 ${gpuRecommendation.type === \"success\" ? \"text-green-600\" : gpuRecommendation.type === \"warning\" ? \"text-yellow-600\" : \"text-blue-600\"}`\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                    lineNumber: 240,\n                                    columnNumber: 15\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: `font-medium ${gpuRecommendation.type === \"success\" ? \"text-green-800\" : gpuRecommendation.type === \"warning\" ? \"text-yellow-800\" : \"text-blue-800\"}`,\n                                            children: gpuRecommendation.recommendation\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                            lineNumber: 246,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: `text-sm mt-1 ${gpuRecommendation.type === \"success\" ? \"text-green-700\" : gpuRecommendation.type === \"warning\" ? \"text-yellow-700\" : \"text-blue-700\"}`,\n                                            children: gpuRecommendation.details\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                            lineNumber: 253,\n                                            columnNumber: 17\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                    lineNumber: 245,\n                                    columnNumber: 15\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                            lineNumber: 239,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 234,\n                        columnNumber: 11\n                    }, this),\n                    systemInfo.gpus.length > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-3\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"checkbox\",\n                                        id: \"gpuAcceleration\",\n                                        checked: config.gpuAcceleration,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    gpuAcceleration: e.target.checked\n                                                })),\n                                        className: \"h-4 w-4 text-bzzz-primary focus:ring-bzzz-primary border-gray-300 rounded\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 267,\n                                        columnNumber: 17\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        htmlFor: \"gpuAcceleration\",\n                                        className: \"ml-2 text-sm font-medium text-gray-700\",\n                                        children: \"Enable GPU acceleration for AI processing\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 274,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 266,\n                                columnNumber: 15\n                            }, this),\n                            config.gpuAcceleration && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"Preferred GPU\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 281,\n                                        columnNumber: 19\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"select\", {\n                                        value: config.preferredGPU,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    preferredGPU: e.target.value\n                                                })),\n                                        className: \"input-field\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: \"\",\n                                                children: \"Auto-select\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 287,\n                                                columnNumber: 21\n                                            }, this),\n                                            systemInfo.gpus.map((gpu, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                    value: gpu.name,\n                                                    children: [\n                                                        gpu.name,\n                                                        \" (\",\n                                                        gpu.type.toUpperCase(),\n                                                        \") - \",\n                                                        gpu.memory\n                                                    ]\n                                                }, index, true, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                    lineNumber: 289,\n                                                    columnNumber: 23\n                                                }, this))\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 282,\n                                        columnNumber: 19\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 280,\n                                columnNumber: 17\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 265,\n                        columnNumber: 13\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                lineNumber: 228,\n                columnNumber: 9\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center justify-between mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900 flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                        className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 305,\n                                        columnNumber: 13\n                                    }, this),\n                                    \"Local AI (Ollama/Parallama)\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 304,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"checkbox\",\n                                        id: \"localAIEnabled\",\n                                        checked: config.localAIEnabled,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    localAIEnabled: e.target.checked\n                                                })),\n                                        className: \"h-4 w-4 text-bzzz-primary focus:ring-bzzz-primary border-gray-300 rounded\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 309,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        htmlFor: \"localAIEnabled\",\n                                        className: \"ml-2 text-sm font-medium text-gray-700\",\n                                        children: \"Enable Local AI\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 316,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 308,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 303,\n                        columnNumber: 9\n                    }, this),\n                    config.localAIEnabled && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"Local AI Provider\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 325,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"grid grid-cols-1 md:grid-cols-2 gap-4\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: `border-2 rounded-lg p-4 cursor-pointer transition-all ${config.localAIType === \"ollama\" ? \"border-bzzz-primary bg-bzzz-primary bg-opacity-10\" : \"border-gray-200 hover:border-gray-300\"}`,\n                                                onClick: ()=>setConfig((prev)=>({\n                                                            ...prev,\n                                                            localAIType: \"ollama\"\n                                                        })),\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"font-medium text-gray-900\",\n                                                        children: \"Ollama\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                        lineNumber: 335,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"text-sm text-gray-600\",\n                                                        children: \"Open-source, self-hosted AI models\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                        lineNumber: 336,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"text-xs text-gray-500 mt-1\",\n                                                        children: \"Best for: AMD GPUs, CPU-only setups\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                        lineNumber: 337,\n                                                        columnNumber: 19\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 327,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: `border-2 rounded-lg p-4 cursor-pointer transition-all ${config.localAIType === \"parallama\" ? \"border-bzzz-primary bg-bzzz-primary bg-opacity-10\" : \"border-gray-200 hover:border-gray-300\"}`,\n                                                onClick: ()=>setConfig((prev)=>({\n                                                            ...prev,\n                                                            localAIType: \"parallama\"\n                                                        })),\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"font-medium text-gray-900\",\n                                                        children: \"Parallama\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                        lineNumber: 348,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"text-sm text-gray-600\",\n                                                        children: \"Optimized for parallel processing\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                        lineNumber: 349,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"text-xs text-gray-500 mt-1\",\n                                                        children: \"Best for: NVIDIA GPUs, high performance\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                        lineNumber: 350,\n                                                        columnNumber: 19\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 340,\n                                                columnNumber: 17\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 326,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 324,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"API Endpoint\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 356,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex space-x-2\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                type: \"url\",\n                                                value: config.localAIEndpoint,\n                                                onChange: (e)=>setConfig((prev)=>({\n                                                            ...prev,\n                                                            localAIEndpoint: e.target.value\n                                                        })),\n                                                placeholder: \"http://localhost:11434\",\n                                                className: \"input-field flex-1\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 358,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                type: \"button\",\n                                                onClick: validateLocalAI,\n                                                disabled: validatingLocal,\n                                                className: \"btn-outline whitespace-nowrap\",\n                                                children: validatingLocal ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                                    className: \"h-4 w-4 animate-spin\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                    lineNumber: 372,\n                                                    columnNumber: 21\n                                                }, this) : \"Test\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 365,\n                                                columnNumber: 17\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 357,\n                                        columnNumber: 15\n                                    }, this),\n                                    localAIValid === true && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex items-center mt-1 text-green-600 text-sm\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                                className: \"h-4 w-4 mr-1\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 380,\n                                                columnNumber: 19\n                                            }, this),\n                                            \"Connection successful\"\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 379,\n                                        columnNumber: 17\n                                    }, this),\n                                    localAIValid === false && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex items-center mt-1 text-red-600 text-sm\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                                                className: \"h-4 w-4 mr-1\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 386,\n                                                columnNumber: 19\n                                            }, this),\n                                            \"Connection failed\"\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 385,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 355,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"Recommended Models for your system\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 393,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"bg-blue-50 border border-blue-200 rounded-lg p-3\",\n                                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"text-sm text-blue-800\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                                    className: \"font-medium mb-2\",\n                                                    children: [\n                                                        \"Based on your system memory (\",\n                                                        Math.round(systemInfo?.memory_mb / 1024 || 8),\n                                                        \" GB):\"\n                                                    ]\n                                                }, void 0, true, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                    lineNumber: 396,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"flex flex-wrap gap-2\",\n                                                    children: recommendedModels.map((model, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                            className: \"bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs\",\n                                                            children: model\n                                                        }, index, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                            lineNumber: 399,\n                                                            columnNumber: 23\n                                                        }, this))\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                    lineNumber: 397,\n                                                    columnNumber: 19\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                            lineNumber: 395,\n                                            columnNumber: 17\n                                        }, this)\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 394,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 392,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 323,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                lineNumber: 302,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center justify-between mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900 flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n                                        className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 415,\n                                        columnNumber: 13\n                                    }, this),\n                                    \"OpenAI API\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 414,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"checkbox\",\n                                        id: \"openaiEnabled\",\n                                        checked: config.openaiEnabled,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    openaiEnabled: e.target.checked\n                                                })),\n                                        className: \"h-4 w-4 text-bzzz-primary focus:ring-bzzz-primary border-gray-300 rounded\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 419,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        htmlFor: \"openaiEnabled\",\n                                        className: \"ml-2 text-sm font-medium text-gray-700\",\n                                        children: \"Enable OpenAI API\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 426,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 418,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 413,\n                        columnNumber: 9\n                    }, this),\n                    config.openaiEnabled && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"API Key\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 435,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex space-x-2\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"relative flex-1\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: showApiKey ? \"text\" : \"password\",\n                                                        value: config.openaiApiKey,\n                                                        onChange: (e)=>setConfig((prev)=>({\n                                                                    ...prev,\n                                                                    openaiApiKey: e.target.value\n                                                                })),\n                                                        placeholder: \"sk-...\",\n                                                        className: \"input-field pr-10\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                        lineNumber: 438,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                        type: \"button\",\n                                                        onClick: ()=>setShowApiKey(!showApiKey),\n                                                        className: \"absolute inset-y-0 right-0 pr-3 flex items-center\",\n                                                        children: showApiKey ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n                                                            className: \"h-5 w-5 text-gray-400\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                            lineNumber: 451,\n                                                            columnNumber: 23\n                                                        }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n                                                            className: \"h-5 w-5 text-gray-400\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                            lineNumber: 453,\n                                                            columnNumber: 23\n                                                        }, this)\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                        lineNumber: 445,\n                                                        columnNumber: 19\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 437,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                type: \"button\",\n                                                onClick: validateOpenAI,\n                                                disabled: validatingOpenAI || !config.openaiApiKey,\n                                                className: \"btn-outline whitespace-nowrap\",\n                                                children: validatingOpenAI ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                                    className: \"h-4 w-4 animate-spin\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                    lineNumber: 464,\n                                                    columnNumber: 21\n                                                }, this) : \"Validate\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 457,\n                                                columnNumber: 17\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 436,\n                                        columnNumber: 15\n                                    }, this),\n                                    openaiValid === true && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex items-center mt-1 text-green-600 text-sm\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                                className: \"h-4 w-4 mr-1\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 472,\n                                                columnNumber: 19\n                                            }, this),\n                                            \"API key valid\"\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 471,\n                                        columnNumber: 17\n                                    }, this),\n                                    openaiValid === false && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex items-center mt-1 text-red-600 text-sm\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                                                className: \"h-4 w-4 mr-1\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 478,\n                                                columnNumber: 19\n                                            }, this),\n                                            \"Invalid API key\"\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 477,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 434,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"Organization (Optional)\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 485,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"text\",\n                                        value: config.openaiOrganization,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    openaiOrganization: e.target.value\n                                                })),\n                                        placeholder: \"org-...\",\n                                        className: \"input-field\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 486,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 484,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"Default Model\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 496,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"select\", {\n                                        value: config.openaiDefaultModel,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    openaiDefaultModel: e.target.value\n                                                })),\n                                        className: \"input-field\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: \"gpt-4\",\n                                                children: \"GPT-4\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 502,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: \"gpt-4-turbo\",\n                                                children: \"GPT-4 Turbo\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 503,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: \"gpt-3.5-turbo\",\n                                                children: \"GPT-3.5 Turbo\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 504,\n                                                columnNumber: 17\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 497,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 495,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 433,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                lineNumber: 412,\n                columnNumber: 7\n            }, this),\n            config.openaiEnabled && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4 flex items-center\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CpuChipIcon_CurrencyDollarIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_InformationCircleIcon_ServerIcon_SparklesIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 515,\n                                columnNumber: 13\n                            }, this),\n                            \"Cost Management\"\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 514,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"grid grid-cols-1 md:grid-cols-2 gap-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"Daily Cost Limit ($)\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 521,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"number\",\n                                        value: config.dailyCostLimit,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    dailyCostLimit: parseFloat(e.target.value) || 0\n                                                })),\n                                        min: \"0\",\n                                        step: \"0.01\",\n                                        className: \"input-field\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 522,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 520,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"Monthly Cost Limit ($)\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 533,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"number\",\n                                        value: config.monthlyCostLimit,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    monthlyCostLimit: parseFloat(e.target.value) || 0\n                                                })),\n                                        min: \"0\",\n                                        step: \"0.01\",\n                                        className: \"input-field\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 534,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 532,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 519,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"mt-4\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex items-center\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                    type: \"checkbox\",\n                                    id: \"costAlerts\",\n                                    checked: config.costAlerts,\n                                    onChange: (e)=>setConfig((prev)=>({\n                                                ...prev,\n                                                costAlerts: e.target.checked\n                                            })),\n                                    className: \"h-4 w-4 text-bzzz-primary focus:ring-bzzz-primary border-gray-300 rounded\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                    lineNumber: 547,\n                                    columnNumber: 15\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                    htmlFor: \"costAlerts\",\n                                    className: \"ml-2 text-sm font-medium text-gray-700\",\n                                    children: \"Send alerts when approaching cost limits\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                    lineNumber: 554,\n                                    columnNumber: 15\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                            lineNumber: 546,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 545,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                lineNumber: 513,\n                columnNumber: 9\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4\",\n                        children: \"Provider Preference\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 564,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-3\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"Preferred AI Provider\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 568,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"select\", {\n                                        value: config.preferredProvider,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    preferredProvider: e.target.value\n                                                })),\n                                        className: \"input-field\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: \"local\",\n                                                children: \"Local AI Only\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 574,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: \"openai\",\n                                                children: \"OpenAI Only\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 575,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: \"hybrid\",\n                                                children: \"Hybrid (Local first, OpenAI fallback)\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                                lineNumber: 576,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 569,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 567,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"checkbox\",\n                                        id: \"fallbackEnabled\",\n                                        checked: config.fallbackEnabled,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    fallbackEnabled: e.target.checked\n                                                })),\n                                        className: \"h-4 w-4 text-bzzz-primary focus:ring-bzzz-primary border-gray-300 rounded\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 581,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        htmlFor: \"fallbackEnabled\",\n                                        className: \"ml-2 text-sm font-medium text-gray-700\",\n                                        children: \"Enable automatic fallback between providers\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                        lineNumber: 588,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                                lineNumber: 580,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 566,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                lineNumber: 563,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex justify-between pt-6 border-t border-gray-200\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: onBack && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            type: \"button\",\n                            onClick: onBack,\n                            className: \"btn-outline\",\n                            children: \"Back\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                            lineNumber: 599,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 597,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        type: \"submit\",\n                        className: \"btn-primary\",\n                        disabled: !config.openaiEnabled && !config.localAIEnabled,\n                        children: isCompleted ? \"Continue\" : \"Next: Resource Allocation\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                        lineNumber: 605,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n                lineNumber: 596,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/AIConfiguration.tsx\",\n        lineNumber: 225,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 47152 characters]\n//# sourceURL=webpack-internal:///(ssr)/./app/setup/components/AIConfiguration.tsx\n");

/***/ }),

/***/ "(ssr)/./app/setup/components/ClusterFormation.tsx":
/*!***************************************************!*\
  !*** ./app/setup/components/ClusterFormation.tsx ***!
  \***************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ ClusterFormation)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,ComputerDesktopIcon,InformationCircleIcon,KeyIcon,MagnifyingGlassIcon,PlusIcon,ServerStackIcon,UserGroupIcon,WifiIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ServerStackIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,ComputerDesktopIcon,InformationCircleIcon,KeyIcon,MagnifyingGlassIcon,PlusIcon,ServerStackIcon,UserGroupIcon,WifiIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/PlusIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,ComputerDesktopIcon,InformationCircleIcon,KeyIcon,MagnifyingGlassIcon,PlusIcon,ServerStackIcon,UserGroupIcon,WifiIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/UserGroupIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,ComputerDesktopIcon,InformationCircleIcon,KeyIcon,MagnifyingGlassIcon,PlusIcon,ServerStackIcon,UserGroupIcon,WifiIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ArrowPathIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,ComputerDesktopIcon,InformationCircleIcon,KeyIcon,MagnifyingGlassIcon,PlusIcon,ServerStackIcon,UserGroupIcon,WifiIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/KeyIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,ComputerDesktopIcon,InformationCircleIcon,KeyIcon,MagnifyingGlassIcon,PlusIcon,ServerStackIcon,UserGroupIcon,WifiIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,ComputerDesktopIcon,InformationCircleIcon,KeyIcon,MagnifyingGlassIcon,PlusIcon,ServerStackIcon,UserGroupIcon,WifiIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ComputerDesktopIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,ComputerDesktopIcon,InformationCircleIcon,KeyIcon,MagnifyingGlassIcon,PlusIcon,ServerStackIcon,UserGroupIcon,WifiIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/WifiIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,ComputerDesktopIcon,InformationCircleIcon,KeyIcon,MagnifyingGlassIcon,PlusIcon,ServerStackIcon,UserGroupIcon,WifiIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,ComputerDesktopIcon,InformationCircleIcon,KeyIcon,MagnifyingGlassIcon,PlusIcon,ServerStackIcon,UserGroupIcon,WifiIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\nfunction ClusterFormation({ systemInfo, configData, onComplete, onBack, isCompleted }) {\n    const [config, setConfig] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({\n        mode: \"create\",\n        networkId: \"\",\n        clusterName: \"\",\n        nodeRole: \"hybrid\",\n        autoDiscovery: true,\n        encryption: true,\n        redundancy: 2\n    });\n    const [discoveredNodes, setDiscoveredNodes] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)([]);\n    const [scanning, setScanning] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [generatingKey, setGeneratingKey] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [clusterKey, setClusterKey] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    // Initialize configuration\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        if (configData.cluster) {\n            setConfig((prev)=>({\n                    ...prev,\n                    ...configData.cluster\n                }));\n        }\n        // Generate default network ID based on hostname\n        if (!config.networkId && systemInfo?.network?.hostname) {\n            const hostname = systemInfo.network.hostname;\n            const timestamp = Date.now().toString(36).slice(-4);\n            setConfig((prev)=>({\n                    ...prev,\n                    networkId: `bzzz-${hostname}-${timestamp}`,\n                    clusterName: `${hostname} BZZZ Cluster`\n                }));\n        }\n    }, [\n        systemInfo,\n        configData\n    ]);\n    // Auto-discover nodes when joining\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        if (config.mode === \"join\" && config.autoDiscovery) {\n            scanForNodes();\n        }\n    }, [\n        config.mode,\n        config.autoDiscovery\n    ]);\n    const scanForNodes = async ()=>{\n        setScanning(true);\n        try {\n            // This would be a real mDNS/network scan in production\n            // Simulating discovery for demo\n            await new Promise((resolve)=>setTimeout(resolve, 2000));\n            const mockNodes = [\n                {\n                    id: \"node-001\",\n                    hostname: \"ironwood\",\n                    ip: \"192.168.1.72\",\n                    port: 8080,\n                    version: \"2.0.0\",\n                    capabilities: [\n                        \"coordinator\",\n                        \"storage\",\n                        \"compute\"\n                    ],\n                    status: \"online\",\n                    lastSeen: new Date()\n                },\n                {\n                    id: \"node-002\",\n                    hostname: \"walnut\",\n                    ip: \"192.168.1.27\",\n                    port: 8080,\n                    version: \"2.0.0\",\n                    capabilities: [\n                        \"worker\",\n                        \"compute\"\n                    ],\n                    status: \"online\",\n                    lastSeen: new Date()\n                }\n            ];\n            setDiscoveredNodes(mockNodes);\n        } catch (error) {\n            console.error(\"Node discovery failed:\", error);\n        } finally{\n            setScanning(false);\n        }\n    };\n    const generateClusterKey = async ()=>{\n        setGeneratingKey(true);\n        try {\n            // Generate a secure cluster key\n            const key = Array.from(crypto.getRandomValues(new Uint8Array(32))).map((b)=>b.toString(16).padStart(2, \"0\")).join(\"\");\n            setClusterKey(key);\n        } catch (error) {\n            // Fallback key generation\n            const key = Math.random().toString(36).substr(2, 32);\n            setClusterKey(key);\n        } finally{\n            setGeneratingKey(false);\n        }\n    };\n    const getNodeRoleDescription = (role)=>{\n        switch(role){\n            case \"coordinator\":\n                return \"Manages cluster state and coordinates tasks. Requires stable network connection.\";\n            case \"worker\":\n                return \"Executes tasks assigned by coordinators. Can be dynamically added/removed.\";\n            case \"hybrid\":\n                return \"Can act as both coordinator and worker. Recommended for most deployments.\";\n            default:\n                return \"\";\n        }\n    };\n    const getSystemRecommendation = ()=>{\n        const memoryGB = systemInfo?.memory_mb ? Math.round(systemInfo.memory_mb / 1024) : 8;\n        const cpuCores = systemInfo?.cpu_cores || 4;\n        const hasGPU = systemInfo?.gpus?.length > 0;\n        if (memoryGB >= 16 && cpuCores >= 8) {\n            return {\n                role: \"coordinator\",\n                reason: \"High-performance system suitable for cluster coordination\"\n            };\n        } else if (hasGPU) {\n            return {\n                role: \"hybrid\",\n                reason: \"GPU acceleration available - good for both coordination and compute tasks\"\n            };\n        } else {\n            return {\n                role: \"worker\",\n                reason: \"Resource-optimized configuration for task execution\"\n            };\n        }\n    };\n    const handleSubmit = (e)=>{\n        e.preventDefault();\n        const clusterData = {\n            ...config,\n            clusterKey: config.mode === \"create\" ? clusterKey : undefined,\n            systemInfo: {\n                hostname: systemInfo?.network?.hostname,\n                ip: systemInfo?.network?.private_ips?.[0],\n                capabilities: systemInfo?.gpus?.length > 0 ? [\n                    \"compute\",\n                    \"gpu\"\n                ] : [\n                    \"compute\"\n                ]\n            }\n        };\n        onComplete({\n            cluster: clusterData\n        });\n    };\n    const recommendation = getSystemRecommendation();\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"form\", {\n        onSubmit: handleSubmit,\n        className: \"space-y-6\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-gray-50 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4 flex items-center\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 210,\n                                columnNumber: 11\n                            }, this),\n                            \"Cluster Mode\"\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                        lineNumber: 209,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"grid grid-cols-1 md:grid-cols-2 gap-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: `border-2 rounded-lg p-4 cursor-pointer transition-all ${config.mode === \"create\" ? \"border-bzzz-primary bg-bzzz-primary bg-opacity-10\" : \"border-gray-200 hover:border-gray-300\"}`,\n                                onClick: ()=>setConfig((prev)=>({\n                                            ...prev,\n                                            mode: \"create\"\n                                        })),\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex items-center mb-2\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                                                className: \"h-5 w-5 text-bzzz-primary mr-2\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                lineNumber: 224,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"font-medium text-gray-900\",\n                                                children: \"Create New Cluster\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                lineNumber: 225,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                        lineNumber: 223,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-sm text-gray-600\",\n                                        children: \"Start a new BZZZ cluster and become the initial coordinator node.\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                        lineNumber: 227,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 215,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: `border-2 rounded-lg p-4 cursor-pointer transition-all ${config.mode === \"join\" ? \"border-bzzz-primary bg-bzzz-primary bg-opacity-10\" : \"border-gray-200 hover:border-gray-300\"}`,\n                                onClick: ()=>setConfig((prev)=>({\n                                            ...prev,\n                                            mode: \"join\"\n                                        })),\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex items-center mb-2\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                                className: \"h-5 w-5 text-bzzz-primary mr-2\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                lineNumber: 241,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"font-medium text-gray-900\",\n                                                children: \"Join Existing Cluster\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                lineNumber: 242,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                        lineNumber: 240,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-sm text-gray-600\",\n                                        children: \"Connect to an existing BZZZ cluster as a worker or coordinator node.\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                        lineNumber: 244,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 232,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                        lineNumber: 214,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                lineNumber: 208,\n                columnNumber: 7\n            }, this),\n            config.mode === \"create\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"space-y-6\",\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                            className: \"text-lg font-medium text-gray-900 mb-4\",\n                            children: \"New Cluster Configuration\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                            lineNumber: 255,\n                            columnNumber: 13\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"space-y-4\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                            className: \"label\",\n                                            children: \"Cluster Name\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                            lineNumber: 259,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"text\",\n                                            value: config.clusterName,\n                                            onChange: (e)=>setConfig((prev)=>({\n                                                        ...prev,\n                                                        clusterName: e.target.value\n                                                    })),\n                                            placeholder: \"My BZZZ Cluster\",\n                                            className: \"input-field\",\n                                            required: true\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                            lineNumber: 260,\n                                            columnNumber: 17\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 258,\n                                    columnNumber: 15\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                            className: \"label\",\n                                            children: \"Network ID\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                            lineNumber: 271,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"text\",\n                                            value: config.networkId,\n                                            onChange: (e)=>setConfig((prev)=>({\n                                                        ...prev,\n                                                        networkId: e.target.value\n                                                    })),\n                                            placeholder: \"bzzz-cluster-001\",\n                                            className: \"input-field\",\n                                            required: true\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                            lineNumber: 272,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                            className: \"text-sm text-gray-600 mt-1\",\n                                            children: \"Unique identifier for your cluster network\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                            lineNumber: 280,\n                                            columnNumber: 17\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 270,\n                                    columnNumber: 15\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                            className: \"label\",\n                                            children: \"Cluster Security Key\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                            lineNumber: 286,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"flex space-x-2\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                    type: \"text\",\n                                                    value: clusterKey,\n                                                    onChange: (e)=>setClusterKey(e.target.value),\n                                                    placeholder: \"Click generate or enter custom key\",\n                                                    className: \"input-field flex-1\",\n                                                    readOnly: !clusterKey\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                    lineNumber: 288,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                    type: \"button\",\n                                                    onClick: generateClusterKey,\n                                                    disabled: generatingKey,\n                                                    className: \"btn-outline whitespace-nowrap\",\n                                                    children: generatingKey ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                                        className: \"h-4 w-4 animate-spin\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                        lineNumber: 303,\n                                                        columnNumber: 23\n                                                    }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n                                                        children: [\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                                                className: \"h-4 w-4 mr-1\"\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                                lineNumber: 306,\n                                                                columnNumber: 25\n                                                            }, this),\n                                                            \"Generate\"\n                                                        ]\n                                                    }, void 0, true)\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                    lineNumber: 296,\n                                                    columnNumber: 19\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                            lineNumber: 287,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                            className: \"text-sm text-gray-600 mt-1\",\n                                            children: \"This key will be required for other nodes to join your cluster\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                            lineNumber: 312,\n                                            columnNumber: 17\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 285,\n                                    columnNumber: 15\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                            lineNumber: 257,\n                            columnNumber: 13\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                    lineNumber: 254,\n                    columnNumber: 11\n                }, this)\n            }, void 0, false, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                lineNumber: 253,\n                columnNumber: 9\n            }, this),\n            config.mode === \"join\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"space-y-6\",\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex items-center justify-between mb-4\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                    className: \"text-lg font-medium text-gray-900\",\n                                    children: \"Available Clusters\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 326,\n                                    columnNumber: 15\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                    type: \"button\",\n                                    onClick: scanForNodes,\n                                    disabled: scanning,\n                                    className: \"btn-outline text-sm\",\n                                    children: scanning ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                                className: \"h-4 w-4 animate-spin mr-1\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                lineNumber: 335,\n                                                columnNumber: 21\n                                            }, this),\n                                            \"Scanning...\"\n                                        ]\n                                    }, void 0, true) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                                                className: \"h-4 w-4 mr-1\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                lineNumber: 340,\n                                                columnNumber: 21\n                                            }, this),\n                                            \"Scan Network\"\n                                        ]\n                                    }, void 0, true)\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 327,\n                                    columnNumber: 15\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                            lineNumber: 325,\n                            columnNumber: 13\n                        }, this),\n                        discoveredNodes.length > 0 ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"space-y-3\",\n                            children: discoveredNodes.map((node)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: `border rounded-lg p-4 cursor-pointer transition-all ${config.targetNode === node.id ? \"border-bzzz-primary bg-bzzz-primary bg-opacity-10\" : \"border-gray-200 hover:border-gray-300\"}`,\n                                    onClick: ()=>setConfig((prev)=>({\n                                                ...prev,\n                                                targetNode: node.id\n                                            })),\n                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex items-center justify-between\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"flex items-center\",\n                                                        children: [\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n                                                                className: \"h-5 w-5 text-gray-500 mr-2\"\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                                lineNumber: 362,\n                                                                columnNumber: 27\n                                                            }, this),\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                                className: \"font-medium text-gray-900\",\n                                                                children: node.hostname\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                                lineNumber: 363,\n                                                                columnNumber: 27\n                                                            }, this),\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                                className: `ml-2 status-indicator ${node.status === \"online\" ? \"status-online\" : \"status-offline\"}`,\n                                                                children: node.status\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                                lineNumber: 364,\n                                                                columnNumber: 27\n                                                            }, this)\n                                                        ]\n                                                    }, void 0, true, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                        lineNumber: 361,\n                                                        columnNumber: 25\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"text-sm text-gray-600 mt-1\",\n                                                        children: [\n                                                            node.ip,\n                                                            \":\",\n                                                            node.port,\n                                                            \" • Version \",\n                                                            node.version\n                                                        ]\n                                                    }, void 0, true, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                        lineNumber: 370,\n                                                        columnNumber: 25\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"flex flex-wrap gap-1 mt-1\",\n                                                        children: node.capabilities.map((cap, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                                className: \"bg-gray-100 text-gray-700 px-2 py-1 rounded text-xs\",\n                                                                children: cap\n                                                            }, index, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                                lineNumber: 375,\n                                                                columnNumber: 29\n                                                            }, this))\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                        lineNumber: 373,\n                                                        columnNumber: 25\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                lineNumber: 360,\n                                                columnNumber: 23\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n                                                className: \"h-5 w-5 text-bzzz-primary\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                lineNumber: 381,\n                                                columnNumber: 23\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                        lineNumber: 359,\n                                        columnNumber: 21\n                                    }, this)\n                                }, node.id, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 350,\n                                    columnNumber: 19\n                                }, this))\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                            lineNumber: 348,\n                            columnNumber: 15\n                        }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"text-center py-8\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                                    className: \"h-12 w-12 text-gray-400 mx-auto mb-4\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 388,\n                                    columnNumber: 17\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: \"text-gray-600\",\n                                    children: scanning ? \"Scanning for BZZZ clusters...\" : \"No clusters found. Click scan to search for available clusters.\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 389,\n                                    columnNumber: 17\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                            lineNumber: 387,\n                            columnNumber: 15\n                        }, this),\n                        config.targetNode && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"mt-4 pt-4 border-t border-gray-200\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                    className: \"label\",\n                                    children: \"Cluster Join Key\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 397,\n                                    columnNumber: 17\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                    type: \"password\",\n                                    value: config.joinKey || \"\",\n                                    onChange: (e)=>setConfig((prev)=>({\n                                                ...prev,\n                                                joinKey: e.target.value\n                                            })),\n                                    placeholder: \"Enter cluster security key\",\n                                    className: \"input-field\",\n                                    required: true\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 398,\n                                    columnNumber: 17\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: \"text-sm text-gray-600 mt-1\",\n                                    children: \"Enter the security key provided by the cluster administrator\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 406,\n                                    columnNumber: 17\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                            lineNumber: 396,\n                            columnNumber: 15\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                    lineNumber: 324,\n                    columnNumber: 11\n                }, this)\n            }, void 0, false, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                lineNumber: 323,\n                columnNumber: 9\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4\",\n                        children: \"Node Role\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                        lineNumber: 417,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"mb-4 p-4 bg-blue-50 border border-blue-200 rounded-lg\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex items-start\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n                                    className: \"h-5 w-5 text-blue-600 mr-2 mt-0.5\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 422,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"font-medium text-blue-800\",\n                                            children: [\n                                                \"Recommended: \",\n                                                recommendation.role.charAt(0).toUpperCase() + recommendation.role.slice(1)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                            lineNumber: 424,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"text-sm text-blue-700 mt-1\",\n                                            children: recommendation.reason\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                            lineNumber: 427,\n                                            columnNumber: 15\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 423,\n                                    columnNumber: 13\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                            lineNumber: 421,\n                            columnNumber: 11\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                        lineNumber: 420,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-3\",\n                        children: [\n                            \"coordinator\",\n                            \"worker\",\n                            \"hybrid\"\n                        ].map((role)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: `border-2 rounded-lg p-4 cursor-pointer transition-all ${config.nodeRole === role ? \"border-bzzz-primary bg-bzzz-primary bg-opacity-10\" : \"border-gray-200 hover:border-gray-300\"}`,\n                                onClick: ()=>setConfig((prev)=>({\n                                            ...prev,\n                                            nodeRole: role\n                                        })),\n                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"flex items-center\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"radio\",\n                                            name: \"nodeRole\",\n                                            value: role,\n                                            checked: config.nodeRole === role,\n                                            onChange: ()=>setConfig((prev)=>({\n                                                        ...prev,\n                                                        nodeRole: role\n                                                    })),\n                                            className: \"h-4 w-4 text-bzzz-primary focus:ring-bzzz-primary border-gray-300\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                            lineNumber: 446,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"ml-3\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"font-medium text-gray-900 capitalize\",\n                                                    children: role\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                    lineNumber: 455,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"text-sm text-gray-600\",\n                                                    children: getNodeRoleDescription(role)\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                    lineNumber: 456,\n                                                    columnNumber: 19\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                            lineNumber: 454,\n                                            columnNumber: 17\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                    lineNumber: 445,\n                                    columnNumber: 15\n                                }, this)\n                            }, role, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 436,\n                                columnNumber: 13\n                            }, this))\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                        lineNumber: 434,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                lineNumber: 416,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4\",\n                        children: \"Advanced Options\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                        lineNumber: 466,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"checkbox\",\n                                        id: \"autoDiscovery\",\n                                        checked: config.autoDiscovery,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    autoDiscovery: e.target.checked\n                                                })),\n                                        className: \"h-4 w-4 text-bzzz-primary focus:ring-bzzz-primary border-gray-300 rounded\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                        lineNumber: 470,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        htmlFor: \"autoDiscovery\",\n                                        className: \"ml-2 text-sm font-medium text-gray-700\",\n                                        children: \"Enable automatic node discovery (mDNS)\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                        lineNumber: 477,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 469,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"checkbox\",\n                                        id: \"encryption\",\n                                        checked: config.encryption,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    encryption: e.target.checked\n                                                })),\n                                        className: \"h-4 w-4 text-bzzz-primary focus:ring-bzzz-primary border-gray-300 rounded\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                        lineNumber: 483,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        htmlFor: \"encryption\",\n                                        className: \"ml-2 text-sm font-medium text-gray-700\",\n                                        children: \"Enable end-to-end encryption for cluster communication\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                        lineNumber: 490,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 482,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"Redundancy Level\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                        lineNumber: 496,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"select\", {\n                                        value: config.redundancy,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    redundancy: parseInt(e.target.value)\n                                                })),\n                                        className: \"input-field\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: 1,\n                                                children: \"Low (1 replica)\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                lineNumber: 502,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: 2,\n                                                children: \"Medium (2 replicas)\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                lineNumber: 503,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: 3,\n                                                children: \"High (3 replicas)\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                                lineNumber: 504,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                        lineNumber: 497,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"text-sm text-gray-600 mt-1\",\n                                        children: \"Number of replicas for critical cluster data\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                        lineNumber: 506,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 495,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                        lineNumber: 468,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                lineNumber: 465,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-blue-50 border border-blue-200 rounded-lg p-4\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center mb-2\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_ComputerDesktopIcon_InformationCircleIcon_KeyIcon_MagnifyingGlassIcon_PlusIcon_ServerStackIcon_UserGroupIcon_WifiIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n                                className: \"h-5 w-5 text-blue-600 mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 516,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                className: \"text-blue-800 font-medium\",\n                                children: \"Configuration Summary\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 517,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                        lineNumber: 515,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"text-blue-700 text-sm space-y-1\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                children: [\n                                    \"• Mode: \",\n                                    config.mode === \"create\" ? \"Create new cluster\" : \"Join existing cluster\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 520,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                children: [\n                                    \"• Role: \",\n                                    config.nodeRole\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 521,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                children: [\n                                    \"• Hostname: \",\n                                    systemInfo?.network?.hostname || \"Unknown\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 522,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                children: [\n                                    \"• IP Address: \",\n                                    systemInfo?.network?.private_ips?.[0] || \"Unknown\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 523,\n                                columnNumber: 11\n                            }, this),\n                            config.mode === \"create\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                children: [\n                                    \"• Cluster: \",\n                                    config.clusterName\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 524,\n                                columnNumber: 40\n                            }, this),\n                            config.encryption && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                children: \"• Security: Encrypted communication enabled\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                                lineNumber: 525,\n                                columnNumber: 33\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                        lineNumber: 519,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                lineNumber: 514,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex justify-between pt-6 border-t border-gray-200\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: onBack && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            type: \"button\",\n                            onClick: onBack,\n                            className: \"btn-outline\",\n                            children: \"Back\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                            lineNumber: 533,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                        lineNumber: 531,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        type: \"submit\",\n                        disabled: config.mode === \"create\" && (!config.clusterName || !config.networkId || !clusterKey) || config.mode === \"join\" && (!config.targetNode || !config.joinKey),\n                        className: \"btn-primary\",\n                        children: isCompleted ? \"Continue\" : \"Next: Testing & Validation\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                        lineNumber: 539,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n                lineNumber: 530,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ClusterFormation.tsx\",\n        lineNumber: 206,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 42124 characters]\n//# sourceURL=webpack-internal:///(ssr)/./app/setup/components/ClusterFormation.tsx\n");

/***/ }),

/***/ "(ssr)/./app/setup/components/LicenseValidation.tsx":
/*!****************************************************!*\
  !*** ./app/setup/components/LicenseValidation.tsx ***!
  \****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ LicenseValidation)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentTextIcon,ExclamationTriangleIcon,KeyIcon,UserIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/KeyIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentTextIcon,ExclamationTriangleIcon,KeyIcon,UserIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentTextIcon,ExclamationTriangleIcon,KeyIcon,UserIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/UserIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentTextIcon,ExclamationTriangleIcon,KeyIcon,UserIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ExclamationTriangleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentTextIcon,ExclamationTriangleIcon,KeyIcon,UserIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\nfunction LicenseValidation({ systemInfo, configData, onComplete, onBack, isCompleted }) {\n    const [licenseData, setLicenseData] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({\n        email: configData?.license?.email || \"\",\n        licenseKey: configData?.license?.licenseKey || \"\",\n        organizationName: configData?.license?.organizationName || \"\"\n    });\n    const [validating, setValidating] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [validationResult, setValidationResult] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null);\n    const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    // Email validation function\n    const isValidEmail = (email)=>{\n        const emailRegex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\n        return emailRegex.test(email);\n    };\n    // Check if form is ready for validation\n    const canValidate = licenseData.email && isValidEmail(licenseData.email) && licenseData.licenseKey;\n    const validateLicense = async ()=>{\n        if (!licenseData.email || !licenseData.licenseKey) {\n            setError(\"Both email and license key are required\");\n            return;\n        }\n        if (!isValidEmail(licenseData.email)) {\n            setError(\"Please enter a valid email address\");\n            return;\n        }\n        setValidating(true);\n        setError(\"\");\n        setValidationResult(null);\n        try {\n            const response = await fetch(\"/api/setup/license/validate\", {\n                method: \"POST\",\n                headers: {\n                    \"Content-Type\": \"application/json\"\n                },\n                body: JSON.stringify({\n                    email: licenseData.email,\n                    licenseKey: licenseData.licenseKey,\n                    organizationName: licenseData.organizationName\n                })\n            });\n            const result = await response.json();\n            if (response.ok && result.valid) {\n                setValidationResult({\n                    valid: true,\n                    message: result.message || \"License validated successfully\",\n                    details: result.details\n                });\n            } else {\n                setValidationResult({\n                    valid: false,\n                    message: result.message || \"License validation failed\",\n                    details: result.details\n                });\n            }\n        } catch (error) {\n            console.error(\"License validation error:\", error);\n            setValidationResult({\n                valid: false,\n                message: \"Failed to validate license. Please check your connection and try again.\"\n            });\n        } finally{\n            setValidating(false);\n        }\n    };\n    const handleSubmit = (e)=>{\n        e.preventDefault();\n        if (!licenseData.email || !licenseData.licenseKey) {\n            setError(\"Both email and license key are required\");\n            return;\n        }\n        if (!validationResult?.valid) {\n            setError(\"Please validate your license before continuing\");\n            return;\n        }\n        setError(\"\");\n        onComplete({\n            license: {\n                ...licenseData,\n                validatedAt: new Date().toISOString(),\n                validationDetails: validationResult.details\n            }\n        });\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"form\", {\n        onSubmit: handleSubmit,\n        className: \"space-y-8\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"card\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                lineNumber: 142,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900\",\n                                children: \"License Information\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                lineNumber: 143,\n                                columnNumber: 11\n                            }, this),\n                            validationResult?.valid && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                                className: \"h-5 w-5 text-green-500 ml-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                lineNumber: 144,\n                                columnNumber: 39\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                        lineNumber: 141,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                        children: \"Email Address\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                        lineNumber: 149,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"relative\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                                className: \"h-5 w-5 text-gray-400 absolute left-3 top-1/2 transform -translate-y-1/2\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                                lineNumber: 153,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                type: \"email\",\n                                                value: licenseData.email,\n                                                onChange: (e)=>setLicenseData((prev)=>({\n                                                            ...prev,\n                                                            email: e.target.value\n                                                        })),\n                                                placeholder: \"your-email@company.com\",\n                                                className: `w-full pl-10 pr-4 py-3 border rounded-lg focus:ring-bzzz-primary focus:border-bzzz-primary ${licenseData.email && !isValidEmail(licenseData.email) ? \"border-red-300 bg-red-50\" : \"border-gray-300\"}`,\n                                                required: true\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                                lineNumber: 154,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                        lineNumber: 152,\n                                        columnNumber: 13\n                                    }, this),\n                                    licenseData.email && !isValidEmail(licenseData.email) ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"text-sm text-red-600 mt-1\",\n                                        children: \"Please enter a valid email address\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                        lineNumber: 168,\n                                        columnNumber: 15\n                                    }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"text-sm text-gray-500 mt-1\",\n                                        children: \"The email address associated with your CHORUS:agents license\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                        lineNumber: 170,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                lineNumber: 148,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                        children: \"License Key\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                        lineNumber: 177,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"relative\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                                                className: \"h-5 w-5 text-gray-400 absolute left-3 top-1/2 transform -translate-y-1/2\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                                lineNumber: 181,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                type: \"text\",\n                                                value: licenseData.licenseKey,\n                                                onChange: (e)=>setLicenseData((prev)=>({\n                                                            ...prev,\n                                                            licenseKey: e.target.value\n                                                        })),\n                                                placeholder: \"BZZZ-XXXX-XXXX-XXXX-XXXX\",\n                                                className: \"w-full pl-10 pr-4 py-3 border border-gray-300 rounded-lg focus:ring-bzzz-primary focus:border-bzzz-primary font-mono\",\n                                                required: true\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                                lineNumber: 182,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                        lineNumber: 180,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"text-sm text-gray-500 mt-1\",\n                                        children: \"Your unique CHORUS:agents license key (found in your purchase confirmation email)\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                        lineNumber: 191,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                lineNumber: 176,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                        children: \"Organization Name (Optional)\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                        lineNumber: 197,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"text\",\n                                        value: licenseData.organizationName,\n                                        onChange: (e)=>setLicenseData((prev)=>({\n                                                    ...prev,\n                                                    organizationName: e.target.value\n                                                })),\n                                        placeholder: \"Your Company Name\",\n                                        className: \"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-bzzz-primary focus:border-bzzz-primary\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                        lineNumber: 200,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"text-sm text-gray-500 mt-1\",\n                                        children: \"Optional: Organization name for license tracking\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                        lineNumber: 207,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                lineNumber: 196,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                type: \"button\",\n                                onClick: validateLicense,\n                                disabled: validating || !canValidate,\n                                className: `w-full py-3 px-4 rounded-lg font-medium transition-colors ${validating || !canValidate ? \"bg-gray-100 text-gray-400 cursor-not-allowed\" : \"bg-bzzz-primary text-white hover:bg-bzzz-primary-dark\"}`,\n                                children: validating ? \"Validating License...\" : \"Validate License\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                lineNumber: 212,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                        lineNumber: 147,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                lineNumber: 140,\n                columnNumber: 7\n            }, this),\n            validationResult && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: `card ${validationResult.valid ? \"border-green-200 bg-green-50\" : \"border-red-200 bg-red-50\"}`,\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex items-start\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex-shrink-0\",\n                            children: validationResult.valid ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                                className: \"h-6 w-6 text-green-500\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                lineNumber: 233,\n                                columnNumber: 17\n                            }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                className: \"h-6 w-6 text-red-500\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                lineNumber: 235,\n                                columnNumber: 17\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                            lineNumber: 231,\n                            columnNumber: 13\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"ml-3\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                    className: `text-sm font-medium ${validationResult.valid ? \"text-green-800\" : \"text-red-800\"}`,\n                                    children: validationResult.valid ? \"License Valid\" : \"License Invalid\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                    lineNumber: 239,\n                                    columnNumber: 15\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: `text-sm mt-1 ${validationResult.valid ? \"text-green-700\" : \"text-red-700\"}`,\n                                    children: validationResult.message\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                    lineNumber: 242,\n                                    columnNumber: 15\n                                }, this),\n                                validationResult.valid && validationResult.details && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"mt-3 text-sm text-green-700\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"strong\", {\n                                                    children: \"License Type:\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                                    lineNumber: 248,\n                                                    columnNumber: 22\n                                                }, this),\n                                                \" \",\n                                                validationResult.details.licenseType || \"Standard\"\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                            lineNumber: 248,\n                                            columnNumber: 19\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"strong\", {\n                                                    children: \"Max Nodes:\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                                    lineNumber: 249,\n                                                    columnNumber: 22\n                                                }, this),\n                                                \" \",\n                                                validationResult.details.maxNodes || \"Unlimited\"\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                            lineNumber: 249,\n                                            columnNumber: 19\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"strong\", {\n                                                    children: \"Expires:\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                                    lineNumber: 250,\n                                                    columnNumber: 22\n                                                }, this),\n                                                \" \",\n                                                validationResult.details.expiresAt || \"Never\"\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                            lineNumber: 250,\n                                            columnNumber: 19\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                    lineNumber: 247,\n                                    columnNumber: 17\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                            lineNumber: 238,\n                            columnNumber: 13\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                    lineNumber: 230,\n                    columnNumber: 11\n                }, this)\n            }, void 0, false, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                lineNumber: 229,\n                columnNumber: 9\n            }, this),\n            error && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex items-center text-red-600 text-sm\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                        className: \"h-4 w-4 mr-1\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                        lineNumber: 260,\n                        columnNumber: 11\n                    }, this),\n                    error\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                lineNumber: 259,\n                columnNumber: 9\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-blue-50 border border-blue-200 rounded-lg p-4\",\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex items-start\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_KeyIcon_UserIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                            className: \"h-5 w-5 text-blue-500 mt-0.5 mr-2\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                            lineNumber: 268,\n                            columnNumber: 11\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"text-sm\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                    className: \"font-medium text-blue-800 mb-1\",\n                                    children: \"Need a License?\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                    lineNumber: 270,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: \"text-blue-700\",\n                                    children: \"If you don't have a CHORUS:agents license yet, you can:\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                    lineNumber: 271,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"ul\", {\n                                    className: \"text-blue-700 mt-1 space-y-1 ml-4\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: [\n                                                \"• Visit \",\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n                                                    href: \"https://chorus.services/bzzz\",\n                                                    target: \"_blank\",\n                                                    className: \"underline hover:no-underline\",\n                                                    children: \"chorus.services/bzzz\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                                    lineNumber: 275,\n                                                    columnNumber: 27\n                                                }, this),\n                                                \" to purchase a license\"\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                            lineNumber: 275,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: [\n                                                \"• Contact our sales team at \",\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n                                                    href: \"mailto:sales@chorus.services\",\n                                                    className: \"underline hover:no-underline\",\n                                                    children: \"sales@chorus.services\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                                    lineNumber: 276,\n                                                    columnNumber: 47\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                            lineNumber: 276,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: \"• Request a trial license for evaluation purposes\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                            lineNumber: 277,\n                                            columnNumber: 15\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                                    lineNumber: 274,\n                                    columnNumber: 13\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                            lineNumber: 269,\n                            columnNumber: 11\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                    lineNumber: 267,\n                    columnNumber: 9\n                }, this)\n            }, void 0, false, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                lineNumber: 266,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex justify-between pt-6 border-t border-gray-200\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: onBack && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            type: \"button\",\n                            onClick: onBack,\n                            className: \"btn-outline\",\n                            children: \"Back\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                            lineNumber: 286,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                        lineNumber: 284,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        type: \"submit\",\n                        disabled: !validationResult?.valid,\n                        className: `${validationResult?.valid ? \"btn-primary\" : \"btn-disabled\"}`,\n                        children: isCompleted ? \"Continue\" : \"Next: System Detection\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                        lineNumber: 291,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n                lineNumber: 283,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/LicenseValidation.tsx\",\n        lineNumber: 137,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 22748 characters]\n//# sourceURL=webpack-internal:///(ssr)/./app/setup/components/LicenseValidation.tsx\n");

/***/ }),

/***/ "(ssr)/./app/setup/components/NetworkConfiguration.tsx":
/*!*******************************************************!*\
  !*** ./app/setup/components/NetworkConfiguration.tsx ***!
  \*******************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ NetworkConfiguration)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_ExclamationTriangleIcon_GlobeAltIcon_InformationCircleIcon_ServerIcon_ShieldCheckIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=ExclamationTriangleIcon,GlobeAltIcon,InformationCircleIcon,ServerIcon,ShieldCheckIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/GlobeAltIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ExclamationTriangleIcon_GlobeAltIcon_InformationCircleIcon_ServerIcon_ShieldCheckIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=ExclamationTriangleIcon,GlobeAltIcon,InformationCircleIcon,ServerIcon,ShieldCheckIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ServerIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ExclamationTriangleIcon_GlobeAltIcon_InformationCircleIcon_ServerIcon_ShieldCheckIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=ExclamationTriangleIcon,GlobeAltIcon,InformationCircleIcon,ServerIcon,ShieldCheckIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ExclamationTriangleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ExclamationTriangleIcon_GlobeAltIcon_InformationCircleIcon_ServerIcon_ShieldCheckIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=ExclamationTriangleIcon,GlobeAltIcon,InformationCircleIcon,ServerIcon,ShieldCheckIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ShieldCheckIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ExclamationTriangleIcon_GlobeAltIcon_InformationCircleIcon_ServerIcon_ShieldCheckIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=ExclamationTriangleIcon,GlobeAltIcon,InformationCircleIcon,ServerIcon,ShieldCheckIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\nfunction NetworkConfiguration({ systemInfo, configData, onComplete, onBack, isCompleted }) {\n    const [config, setConfig] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({\n        primaryInterface: \"\",\n        primaryIP: \"\",\n        bzzzPort: 8080,\n        mcpPort: 3000,\n        webUIPort: 8080,\n        p2pPort: 7000,\n        autoFirewall: true,\n        allowedIPs: [\n            \"192.168.0.0/16\",\n            \"10.0.0.0/8\",\n            \"172.16.0.0/12\"\n        ],\n        dnsServers: [\n            \"8.8.8.8\",\n            \"8.8.4.4\"\n        ]\n    });\n    const [errors, setErrors] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)([]);\n    const [portConflicts, setPortConflicts] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)([]);\n    // Initialize with system info and existing config\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        if (systemInfo?.network) {\n            setConfig((prev)=>({\n                    ...prev,\n                    primaryInterface: systemInfo.network.interfaces?.[0] || prev.primaryInterface,\n                    primaryIP: systemInfo.network.private_ips?.[0] || prev.primaryIP\n                }));\n        }\n        if (configData.network) {\n            setConfig((prev)=>({\n                    ...prev,\n                    ...configData.network\n                }));\n        }\n    }, [\n        systemInfo,\n        configData\n    ]);\n    // Validate configuration\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        validateConfiguration();\n    }, [\n        config\n    ]);\n    const validateConfiguration = ()=>{\n        const newErrors = [];\n        const conflicts = [];\n        // Check for port conflicts\n        const ports = [\n            config.bzzzPort,\n            config.mcpPort,\n            config.webUIPort,\n            config.p2pPort\n        ];\n        const uniquePorts = new Set(ports);\n        if (uniquePorts.size !== ports.length) {\n            conflicts.push(\"Port numbers must be unique\");\n        }\n        // Check port ranges\n        ports.forEach((port, index)=>{\n            const portNames = [\n                \"BZZZ API\",\n                \"MCP Server\",\n                \"Web UI\",\n                \"P2P Network\"\n            ];\n            if (port < 1024) {\n                newErrors.push(`${portNames[index]} port should be above 1024 to avoid requiring root privileges`);\n            }\n            if (port > 65535) {\n                newErrors.push(`${portNames[index]} port must be below 65536`);\n            }\n        });\n        // Validate IP addresses in allowed IPs\n        config.allowedIPs.forEach((ip)=>{\n            if (ip && !isValidCIDR(ip)) {\n                newErrors.push(`Invalid CIDR notation: ${ip}`);\n            }\n        });\n        // Validate DNS servers\n        config.dnsServers.forEach((dns)=>{\n            if (dns && !isValidIPAddress(dns)) {\n                newErrors.push(`Invalid DNS server IP: ${dns}`);\n            }\n        });\n        setErrors(newErrors);\n        setPortConflicts(conflicts);\n    };\n    const isValidCIDR = (cidr)=>{\n        const regex = /^(\\d{1,3}\\.){3}\\d{1,3}\\/\\d{1,2}$/;\n        return regex.test(cidr);\n    };\n    const isValidIPAddress = (ip)=>{\n        const regex = /^(\\d{1,3}\\.){3}\\d{1,3}$/;\n        if (!regex.test(ip)) return false;\n        return ip.split(\".\").every((part)=>parseInt(part) >= 0 && parseInt(part) <= 255);\n    };\n    const handlePortChange = (field, value)=>{\n        const numValue = parseInt(value) || 0;\n        setConfig((prev)=>({\n                ...prev,\n                [field]: numValue\n            }));\n    };\n    const handleArrayChange = (field, index, value)=>{\n        setConfig((prev)=>({\n                ...prev,\n                [field]: prev[field].map((item, i)=>i === index ? value : item)\n            }));\n    };\n    const addArrayItem = (field)=>{\n        setConfig((prev)=>({\n                ...prev,\n                [field]: [\n                    ...prev[field],\n                    \"\"\n                ]\n            }));\n    };\n    const removeArrayItem = (field, index)=>{\n        setConfig((prev)=>({\n                ...prev,\n                [field]: prev[field].filter((_, i)=>i !== index)\n            }));\n    };\n    const handleSubmit = (e)=>{\n        e.preventDefault();\n        if (errors.length === 0 && portConflicts.length === 0) {\n            onComplete({\n                network: config\n            });\n        }\n    };\n    const isFormValid = errors.length === 0 && portConflicts.length === 0;\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"form\", {\n        onSubmit: handleSubmit,\n        className: \"space-y-6\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-gray-50 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4 flex items-center\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ExclamationTriangleIcon_GlobeAltIcon_InformationCircleIcon_ServerIcon_ShieldCheckIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 174,\n                                columnNumber: 11\n                            }, this),\n                            \"Network Interface\"\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 173,\n                        columnNumber: 9\n                    }, this),\n                    systemInfo?.network?.interfaces && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-3\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                className: \"label\",\n                                children: \"Primary Network Interface\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 180,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"select\", {\n                                value: config.primaryInterface,\n                                onChange: (e)=>setConfig((prev)=>({\n                                            ...prev,\n                                            primaryInterface: e.target.value\n                                        })),\n                                className: \"input-field\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                        value: \"\",\n                                        children: \"Select network interface\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 186,\n                                        columnNumber: 15\n                                    }, this),\n                                    systemInfo.network.interfaces.map((interfaceName, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                            value: interfaceName,\n                                            children: [\n                                                interfaceName,\n                                                \" - \",\n                                                systemInfo.network.private_ips[index] || \"Unknown IP\"\n                                            ]\n                                        }, index, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                            lineNumber: 188,\n                                            columnNumber: 17\n                                        }, this))\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 181,\n                                columnNumber: 13\n                            }, this),\n                            config.primaryInterface && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"text-sm text-gray-600\",\n                                children: [\n                                    \"Primary IP: \",\n                                    systemInfo.network.private_ips?.[systemInfo.network.interfaces.indexOf(config.primaryInterface)] || \"Unknown\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 195,\n                                columnNumber: 15\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 179,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                lineNumber: 172,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4 flex items-center\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ExclamationTriangleIcon_GlobeAltIcon_InformationCircleIcon_ServerIcon_ShieldCheckIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 206,\n                                columnNumber: 11\n                            }, this),\n                            \"Port Configuration\"\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 205,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"grid grid-cols-1 md:grid-cols-2 gap-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"BZZZ API Port\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 212,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"number\",\n                                        value: config.bzzzPort,\n                                        onChange: (e)=>handlePortChange(\"bzzzPort\", e.target.value),\n                                        min: \"1024\",\n                                        max: \"65535\",\n                                        className: \"input-field\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 213,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"text-sm text-gray-600 mt-1\",\n                                        children: \"Main BZZZ HTTP API endpoint\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 221,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 211,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"MCP Server Port\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 225,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"number\",\n                                        value: config.mcpPort,\n                                        onChange: (e)=>handlePortChange(\"mcpPort\", e.target.value),\n                                        min: \"1024\",\n                                        max: \"65535\",\n                                        className: \"input-field\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 226,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"text-sm text-gray-600 mt-1\",\n                                        children: \"Model Context Protocol server\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 234,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 224,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"Web UI Port\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 238,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"number\",\n                                        value: config.webUIPort,\n                                        onChange: (e)=>handlePortChange(\"webUIPort\", e.target.value),\n                                        min: \"1024\",\n                                        max: \"65535\",\n                                        className: \"input-field\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 239,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"text-sm text-gray-600 mt-1\",\n                                        children: \"Web interface port\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 247,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 237,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"P2P Network Port\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 251,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"number\",\n                                        value: config.p2pPort,\n                                        onChange: (e)=>handlePortChange(\"p2pPort\", e.target.value),\n                                        min: \"1024\",\n                                        max: \"65535\",\n                                        className: \"input-field\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 252,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"text-sm text-gray-600 mt-1\",\n                                        children: \"Peer-to-peer communication\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 260,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 250,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 210,\n                        columnNumber: 9\n                    }, this),\n                    portConflicts.length > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"mt-4 p-3 bg-red-50 border border-red-200 rounded-lg\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ExclamationTriangleIcon_GlobeAltIcon_InformationCircleIcon_ServerIcon_ShieldCheckIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                        className: \"h-5 w-5 text-red-600 mr-2\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 267,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                        className: \"text-red-800 font-medium\",\n                                        children: \"Port Conflicts\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 268,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 266,\n                                columnNumber: 13\n                            }, this),\n                            portConflicts.map((conflict, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: \"text-red-700 text-sm mt-1\",\n                                    children: conflict\n                                }, index, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                    lineNumber: 271,\n                                    columnNumber: 15\n                                }, this))\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 265,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                lineNumber: 204,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4 flex items-center\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ExclamationTriangleIcon_GlobeAltIcon_InformationCircleIcon_ServerIcon_ShieldCheckIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 280,\n                                columnNumber: 11\n                            }, this),\n                            \"Security & Access Control\"\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 279,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"checkbox\",\n                                        id: \"autoFirewall\",\n                                        checked: config.autoFirewall,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    autoFirewall: e.target.checked\n                                                })),\n                                        className: \"h-4 w-4 text-bzzz-primary focus:ring-bzzz-primary border-gray-300 rounded\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 286,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        htmlFor: \"autoFirewall\",\n                                        className: \"ml-2 text-sm font-medium text-gray-700\",\n                                        children: \"Automatically configure firewall rules\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 293,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 285,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"label\",\n                                        children: \"Allowed IP Ranges (CIDR)\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 299,\n                                        columnNumber: 13\n                                    }, this),\n                                    config.allowedIPs.map((ip, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"flex items-center space-x-2 mb-2\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                    type: \"text\",\n                                                    value: ip,\n                                                    onChange: (e)=>handleArrayChange(\"allowedIPs\", index, e.target.value),\n                                                    placeholder: \"192.168.1.0/24\",\n                                                    className: \"input-field flex-1\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                                    lineNumber: 302,\n                                                    columnNumber: 17\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                    type: \"button\",\n                                                    onClick: ()=>removeArrayItem(\"allowedIPs\", index),\n                                                    className: \"text-red-600 hover:text-red-800\",\n                                                    children: \"Remove\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                                    lineNumber: 309,\n                                                    columnNumber: 17\n                                                }, this)\n                                            ]\n                                        }, index, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                            lineNumber: 301,\n                                            columnNumber: 15\n                                        }, this)),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                        type: \"button\",\n                                        onClick: ()=>addArrayItem(\"allowedIPs\"),\n                                        className: \"text-bzzz-primary hover:text-bzzz-primary/80 text-sm\",\n                                        children: \"+ Add IP Range\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                        lineNumber: 318,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 298,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 284,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                lineNumber: 278,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4\",\n                        children: \"DNS Configuration\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 331,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                className: \"label\",\n                                children: \"DNS Servers\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 334,\n                                columnNumber: 11\n                            }, this),\n                            config.dnsServers.map((dns, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"flex items-center space-x-2 mb-2\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"text\",\n                                            value: dns,\n                                            onChange: (e)=>handleArrayChange(\"dnsServers\", index, e.target.value),\n                                            placeholder: \"8.8.8.8\",\n                                            className: \"input-field flex-1\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                            lineNumber: 337,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                            type: \"button\",\n                                            onClick: ()=>removeArrayItem(\"dnsServers\", index),\n                                            className: \"text-red-600 hover:text-red-800\",\n                                            children: \"Remove\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                            lineNumber: 344,\n                                            columnNumber: 15\n                                        }, this)\n                                    ]\n                                }, index, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                    lineNumber: 336,\n                                    columnNumber: 13\n                                }, this)),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                type: \"button\",\n                                onClick: ()=>addArrayItem(\"dnsServers\"),\n                                className: \"text-bzzz-primary hover:text-bzzz-primary/80 text-sm\",\n                                children: \"+ Add DNS Server\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 353,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 333,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                lineNumber: 330,\n                columnNumber: 7\n            }, this),\n            errors.length > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-red-50 border border-red-200 rounded-lg p-4\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center mb-2\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ExclamationTriangleIcon_GlobeAltIcon_InformationCircleIcon_ServerIcon_ShieldCheckIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                className: \"h-5 w-5 text-red-600 mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 367,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                className: \"text-red-800 font-medium\",\n                                children: \"Configuration Issues\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 368,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 366,\n                        columnNumber: 11\n                    }, this),\n                    errors.map((error, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                            className: \"text-red-700 text-sm\",\n                            children: error\n                        }, index, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                            lineNumber: 371,\n                            columnNumber: 13\n                        }, this))\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                lineNumber: 365,\n                columnNumber: 9\n            }, this),\n            isFormValid && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-blue-50 border border-blue-200 rounded-lg p-4\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center mb-2\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ExclamationTriangleIcon_GlobeAltIcon_InformationCircleIcon_ServerIcon_ShieldCheckIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                className: \"h-5 w-5 text-blue-600 mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 380,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                className: \"text-blue-800 font-medium\",\n                                children: \"Configuration Summary\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 381,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 379,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"text-blue-700 text-sm space-y-1\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                children: [\n                                    \"• Primary interface: \",\n                                    config.primaryInterface\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 384,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                children: [\n                                    \"• BZZZ API will be available on port \",\n                                    config.bzzzPort\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 385,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                children: [\n                                    \"• MCP server will run on port \",\n                                    config.mcpPort\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 386,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                children: [\n                                    \"• Web UI will be accessible on port \",\n                                    config.webUIPort\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 387,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                children: [\n                                    \"• P2P network will use port \",\n                                    config.p2pPort\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 388,\n                                columnNumber: 13\n                            }, this),\n                            config.autoFirewall && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                children: \"• Firewall rules will be configured automatically\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                                lineNumber: 389,\n                                columnNumber: 37\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 383,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                lineNumber: 378,\n                columnNumber: 9\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex justify-between pt-6 border-t border-gray-200\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: onBack && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            type: \"button\",\n                            onClick: onBack,\n                            className: \"btn-outline\",\n                            children: \"Back\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                            lineNumber: 398,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 396,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        type: \"submit\",\n                        disabled: !isFormValid,\n                        className: \"btn-primary\",\n                        children: isCompleted ? \"Continue\" : \"Next: Security Setup\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                        lineNumber: 404,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n                lineNumber: 395,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/NetworkConfiguration.tsx\",\n        lineNumber: 170,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 30640 characters]\n//# sourceURL=webpack-internal:///(ssr)/./app/setup/components/NetworkConfiguration.tsx\n");

/***/ }),

/***/ "(ssr)/./app/setup/components/RepositoryConfiguration.tsx":
/*!**********************************************************!*\
  !*** ./app/setup/components/RepositoryConfiguration.tsx ***!
  \**********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ RepositoryConfiguration)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CodeBracketIcon,EyeIcon,EyeSlashIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ArrowPathIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CodeBracketIcon,EyeIcon,EyeSlashIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CodeBracketIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CodeBracketIcon,EyeIcon,EyeSlashIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/EyeSlashIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CodeBracketIcon,EyeIcon,EyeSlashIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/EyeIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CodeBracketIcon,EyeIcon,EyeSlashIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CodeBracketIcon,EyeIcon,EyeSlashIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\nfunction RepositoryConfiguration({ systemInfo, configData, onComplete, onBack, isCompleted }) {\n    const [providers, setProviders] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)([]);\n    const [config, setConfig] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({\n        provider: \"\",\n        baseURL: \"\",\n        accessToken: \"\",\n        owner: \"\",\n        repository: \"\"\n    });\n    const [validation, setValidation] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null);\n    const [validating, setValidating] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [showToken, setShowToken] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [loadingProviders, setLoadingProviders] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(true);\n    // Load existing config from configData if available\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        if (configData.repository) {\n            setConfig({\n                ...configData.repository\n            });\n        }\n    }, [\n        configData\n    ]);\n    // Load supported providers\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        loadProviders();\n    }, []);\n    const loadProviders = async ()=>{\n        try {\n            const response = await fetch(\"/api/setup/repository/providers\");\n            if (response.ok) {\n                const result = await response.json();\n                const providerList = result.providers || [];\n                // Map provider names to full provider objects\n                const providersData = providerList.map((name)=>{\n                    switch(name.toLowerCase()){\n                        case \"gitea\":\n                            return {\n                                name: \"gitea\",\n                                displayName: \"Gitea\",\n                                description: \"Self-hosted Git service with issue tracking\",\n                                requiresBaseURL: true,\n                                defaultBaseURL: \"http://gitea.local\"\n                            };\n                        case \"github\":\n                            return {\n                                name: \"github\",\n                                displayName: \"GitHub\",\n                                description: \"Cloud-based Git repository hosting service\",\n                                requiresBaseURL: false,\n                                defaultBaseURL: \"https://api.github.com\"\n                            };\n                        default:\n                            return {\n                                name: name.toLowerCase(),\n                                displayName: name,\n                                description: \"Git repository service\",\n                                requiresBaseURL: true\n                            };\n                    }\n                });\n                setProviders(providersData);\n                // Set default provider if none selected\n                if (!config.provider && providersData.length > 0) {\n                    const defaultProvider = providersData.find((p)=>p.name === \"gitea\") || providersData[0];\n                    handleProviderChange(defaultProvider.name);\n                }\n            }\n        } catch (error) {\n            console.error(\"Failed to load providers:\", error);\n        } finally{\n            setLoadingProviders(false);\n        }\n    };\n    const handleProviderChange = (provider)=>{\n        const providerData = providers.find((p)=>p.name === provider);\n        setConfig((prev)=>({\n                ...prev,\n                provider,\n                baseURL: providerData?.defaultBaseURL || prev.baseURL\n            }));\n        setValidation(null);\n    };\n    const handleInputChange = (field, value)=>{\n        setConfig((prev)=>({\n                ...prev,\n                [field]: value\n            }));\n        setValidation(null);\n    };\n    const validateRepository = async ()=>{\n        if (!config.provider || !config.accessToken || !config.owner || !config.repository) {\n            setValidation({\n                valid: false,\n                error: \"Please fill in all required fields\"\n            });\n            return;\n        }\n        setValidating(true);\n        setValidation(null);\n        try {\n            const response = await fetch(\"/api/setup/repository/validate\", {\n                method: \"POST\",\n                headers: {\n                    \"Content-Type\": \"application/json\"\n                },\n                body: JSON.stringify(config)\n            });\n            const result = await response.json();\n            if (response.ok && result.valid) {\n                setValidation({\n                    valid: true,\n                    message: result.message || \"Repository connection successful\"\n                });\n            } else {\n                setValidation({\n                    valid: false,\n                    error: result.error || \"Validation failed\"\n                });\n            }\n        } catch (error) {\n            setValidation({\n                valid: false,\n                error: \"Network error: Unable to validate repository\"\n            });\n        } finally{\n            setValidating(false);\n        }\n    };\n    const handleSubmit = (e)=>{\n        e.preventDefault();\n        if (validation?.valid) {\n            onComplete({\n                repository: config\n            });\n        } else {\n            validateRepository();\n        }\n    };\n    const selectedProvider = providers.find((p)=>p.name === config.provider);\n    const isFormValid = config.provider && config.accessToken && config.owner && config.repository && (!selectedProvider?.requiresBaseURL || config.baseURL);\n    if (loadingProviders) {\n        return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n            className: \"flex items-center justify-center py-12\",\n            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"text-center\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                        className: \"h-8 w-8 text-bzzz-primary animate-spin mx-auto mb-4\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                        lineNumber: 204,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                        className: \"text-gray-600\",\n                        children: \"Loading repository providers...\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                        lineNumber: 205,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                lineNumber: 203,\n                columnNumber: 9\n            }, this)\n        }, void 0, false, {\n            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n            lineNumber: 202,\n            columnNumber: 7\n        }, this);\n    }\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"form\", {\n        onSubmit: handleSubmit,\n        className: \"space-y-6\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-gray-50 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4 flex items-center\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 216,\n                                columnNumber: 11\n                            }, this),\n                            \"Repository Provider\"\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                        lineNumber: 215,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"grid grid-cols-1 md:grid-cols-2 gap-4\",\n                        children: providers.map((provider)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: `border-2 rounded-lg p-4 cursor-pointer transition-all ${config.provider === provider.name ? \"border-bzzz-primary bg-bzzz-primary bg-opacity-10\" : \"border-gray-200 hover:border-gray-300\"}`,\n                                onClick: ()=>handleProviderChange(provider.name),\n                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"flex items-center\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"radio\",\n                                            name: \"provider\",\n                                            value: provider.name,\n                                            checked: config.provider === provider.name,\n                                            onChange: ()=>handleProviderChange(provider.name),\n                                            className: \"h-4 w-4 text-bzzz-primary focus:ring-bzzz-primary border-gray-300\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                            lineNumber: 232,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"ml-3\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"font-medium text-gray-900\",\n                                                    children: provider.displayName\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                                    lineNumber: 241,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"text-sm text-gray-600\",\n                                                    children: provider.description\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                                    lineNumber: 242,\n                                                    columnNumber: 19\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                            lineNumber: 240,\n                                            columnNumber: 17\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                    lineNumber: 231,\n                                    columnNumber: 15\n                                }, this)\n                            }, provider.name, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 222,\n                                columnNumber: 13\n                            }, this))\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                        lineNumber: 220,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                lineNumber: 214,\n                columnNumber: 7\n            }, this),\n            config.provider && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"space-y-6\",\n                children: [\n                    selectedProvider?.requiresBaseURL && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                className: \"label\",\n                                children: \"Base URL *\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 256,\n                                columnNumber: 15\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                type: \"url\",\n                                value: config.baseURL,\n                                onChange: (e)=>handleInputChange(\"baseURL\", e.target.value),\n                                placeholder: `e.g., ${selectedProvider.defaultBaseURL || \"https://git.example.com\"}`,\n                                className: \"input-field\",\n                                required: true\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 259,\n                                columnNumber: 15\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                className: \"text-sm text-gray-600 mt-1\",\n                                children: [\n                                    \"The base URL for your \",\n                                    selectedProvider.displayName,\n                                    \" instance\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 267,\n                                columnNumber: 15\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                        lineNumber: 255,\n                        columnNumber: 13\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                className: \"label\",\n                                children: \"Access Token *\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 275,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"relative\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: showToken ? \"text\" : \"password\",\n                                        value: config.accessToken,\n                                        onChange: (e)=>handleInputChange(\"accessToken\", e.target.value),\n                                        placeholder: `Your ${selectedProvider?.displayName} access token`,\n                                        className: \"input-field pr-10\",\n                                        required: true\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                        lineNumber: 279,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                        type: \"button\",\n                                        onClick: ()=>setShowToken(!showToken),\n                                        className: \"absolute inset-y-0 right-0 pr-3 flex items-center\",\n                                        children: showToken ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                            className: \"h-5 w-5 text-gray-400\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                            lineNumber: 293,\n                                            columnNumber: 19\n                                        }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                            className: \"h-5 w-5 text-gray-400\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                            lineNumber: 295,\n                                            columnNumber: 19\n                                        }, this)\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                        lineNumber: 287,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 278,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                className: \"text-sm text-gray-600 mt-1\",\n                                children: selectedProvider?.name === \"github\" ? \"Generate a personal access token with repo and admin:repo_hook permissions\" : \"Generate an access token with repository read/write permissions\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 299,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                        lineNumber: 274,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                className: \"label\",\n                                children: \"Owner/Organization *\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 309,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                type: \"text\",\n                                value: config.owner,\n                                onChange: (e)=>handleInputChange(\"owner\", e.target.value),\n                                placeholder: \"username or organization\",\n                                className: \"input-field\",\n                                required: true\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 312,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                className: \"text-sm text-gray-600 mt-1\",\n                                children: \"The username or organization that owns the repository\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 320,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                        lineNumber: 308,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                className: \"label\",\n                                children: \"Repository Name *\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 327,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                type: \"text\",\n                                value: config.repository,\n                                onChange: (e)=>handleInputChange(\"repository\", e.target.value),\n                                placeholder: \"repository-name\",\n                                className: \"input-field\",\n                                required: true\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 330,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                className: \"text-sm text-gray-600 mt-1\",\n                                children: \"The name of the repository for task management\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 338,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                        lineNumber: 326,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                className: \"text-md font-medium text-gray-900 mb-3\",\n                                children: \"Connection Test\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 345,\n                                columnNumber: 13\n                            }, this),\n                            validation && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: `flex items-center p-3 rounded-lg mb-4 ${validation.valid ? \"bg-green-50 border border-green-200\" : \"bg-red-50 border border-red-200\"}`,\n                                children: [\n                                    validation.valid ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                        className: \"h-5 w-5 text-green-600 mr-2\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                        lineNumber: 354,\n                                        columnNumber: 19\n                                    }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                                        className: \"h-5 w-5 text-red-600 mr-2\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                        lineNumber: 356,\n                                        columnNumber: 19\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                        className: `text-sm ${validation.valid ? \"text-green-800\" : \"text-red-800\"}`,\n                                        children: validation.valid ? validation.message : validation.error\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                        lineNumber: 358,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 348,\n                                columnNumber: 15\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                type: \"button\",\n                                onClick: validateRepository,\n                                disabled: !isFormValid || validating,\n                                className: \"btn-outline w-full sm:w-auto\",\n                                children: validating ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CodeBracketIcon_EyeIcon_EyeSlashIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                                            className: \"h-4 w-4 animate-spin mr-2\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                            lineNumber: 374,\n                                            columnNumber: 19\n                                        }, this),\n                                        \"Testing Connection...\"\n                                    ]\n                                }, void 0, true) : \"Test Repository Connection\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 366,\n                                columnNumber: 13\n                            }, this),\n                            !isFormValid && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                className: \"text-sm text-gray-600 mt-2\",\n                                children: \"Please fill in all required fields to test the connection\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                                lineNumber: 383,\n                                columnNumber: 15\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                        lineNumber: 344,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                lineNumber: 252,\n                columnNumber: 9\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex justify-between pt-6 border-t border-gray-200\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: onBack && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            type: \"button\",\n                            onClick: onBack,\n                            className: \"btn-outline\",\n                            children: \"Back\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                            lineNumber: 395,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                        lineNumber: 393,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        type: \"submit\",\n                        disabled: !validation?.valid,\n                        className: \"btn-primary\",\n                        children: validation?.valid ? isCompleted ? \"Continue\" : \"Next: Network Configuration\" : \"Validate & Continue\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                        lineNumber: 401,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n                lineNumber: 392,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/RepositoryConfiguration.tsx\",\n        lineNumber: 212,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 27740 characters]\n//# sourceURL=webpack-internal:///(ssr)/./app/setup/components/RepositoryConfiguration.tsx\n");

/***/ }),

/***/ "(ssr)/./app/setup/components/SecuritySetup.tsx":
/*!************************************************!*\
  !*** ./app/setup/components/SecuritySetup.tsx ***!
  \************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ SecuritySetup)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentDuplicateIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,KeyIcon,LockClosedIcon,ServerIcon,ShieldCheckIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/KeyIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentDuplicateIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,KeyIcon,LockClosedIcon,ServerIcon,ShieldCheckIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentDuplicateIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,KeyIcon,LockClosedIcon,ServerIcon,ShieldCheckIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentDuplicateIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,KeyIcon,LockClosedIcon,ServerIcon,ShieldCheckIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/DocumentDuplicateIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentDuplicateIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,KeyIcon,LockClosedIcon,ServerIcon,ShieldCheckIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/EyeSlashIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentDuplicateIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,KeyIcon,LockClosedIcon,ServerIcon,ShieldCheckIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/EyeIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentDuplicateIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,KeyIcon,LockClosedIcon,ServerIcon,ShieldCheckIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ExclamationTriangleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentDuplicateIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,KeyIcon,LockClosedIcon,ServerIcon,ShieldCheckIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/LockClosedIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentDuplicateIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,KeyIcon,LockClosedIcon,ServerIcon,ShieldCheckIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ShieldCheckIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentDuplicateIcon,ExclamationTriangleIcon,EyeIcon,EyeSlashIcon,KeyIcon,LockClosedIcon,ServerIcon,ShieldCheckIcon,XCircleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ServerIcon.js\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\nfunction SecuritySetup({ systemInfo, configData, onComplete, onBack, isCompleted }) {\n    console.log(\"SecuritySetup: Component rendered with configData:\", configData);\n    const [config, setConfig] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({\n        sshKeyType: \"generate\",\n        sshPublicKey: \"\",\n        sshPrivateKey: \"\",\n        sshUsername: \"ubuntu\",\n        sshPassword: \"\",\n        sshPort: 22,\n        enableTLS: true,\n        tlsCertType: \"self-signed\",\n        tlsCertPath: \"\",\n        tlsKeyPath: \"\",\n        authMethod: \"token\",\n        clusterSecret: \"\",\n        accessPolicy: \"restricted\",\n        enableFirewall: true,\n        allowedPorts: [\n            \"22\",\n            \"8080\",\n            \"8090\",\n            \"9100\",\n            \"3000\"\n        ],\n        trustedIPs: [],\n        ...configData?.security // Load saved security config if exists\n    });\n    const [showPrivateKey, setShowPrivateKey] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [showClusterSecret, setShowClusterSecret] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [showSSHPassword, setShowSSHPassword] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [generating, setGenerating] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [validation, setValidation] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({});\n    const [portsInitialized, setPortsInitialized] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    // Generate cluster secret on mount if not exists\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        if (!config.clusterSecret) {\n            generateClusterSecret();\n        }\n    }, []);\n    // Update firewall ports based on network configuration from previous step\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        console.log(\"SecuritySetup: configData changed\", {\n            hasNetwork: !!configData?.network,\n            portsInitialized,\n            hasSavedSecurity: !!configData?.security?.allowedPorts,\n            networkConfig: configData?.network\n        });\n        // If we have network config and haven't initialized ports yet, AND we don't have saved security config\n        if (configData?.network && !portsInitialized && !configData?.security?.allowedPorts) {\n            const networkConfig = configData.network;\n            const networkPorts = [\n                networkConfig.bzzzPort?.toString(),\n                networkConfig.mcpPort?.toString(),\n                networkConfig.webUIPort?.toString(),\n                networkConfig.p2pPort?.toString()\n            ].filter((port)=>port && port !== \"undefined\");\n            console.log(\"SecuritySetup: Auto-populating ports\", {\n                networkPorts,\n                networkConfig\n            });\n            // Include standard ports plus network configuration ports\n            const standardPorts = [\n                \"22\",\n                \"8090\"\n            ] // SSH and setup interface\n            ;\n            const allPorts = [\n                ...new Set([\n                    ...standardPorts,\n                    ...networkPorts\n                ])\n            ];\n            console.log(\"SecuritySetup: Setting allowed ports to\", allPorts);\n            setConfig((prev)=>({\n                    ...prev,\n                    allowedPorts: allPorts\n                }));\n            setPortsInitialized(true);\n        }\n    }, [\n        configData,\n        portsInitialized\n    ]);\n    const generateClusterSecret = ()=>{\n        const secret = Array.from(crypto.getRandomValues(new Uint8Array(32))).map((b)=>b.toString(16).padStart(2, \"0\")).join(\"\");\n        setConfig((prev)=>({\n                ...prev,\n                clusterSecret: secret\n            }));\n    };\n    const generateSSHKeys = async ()=>{\n        setGenerating(true);\n        try {\n            // In a real implementation, this would call the backend to generate SSH keys\n            // For now, simulate the process\n            await new Promise((resolve)=>setTimeout(resolve, 2000));\n            // Mock generated keys (in real implementation, these would come from backend)\n            const mockPublicKey = `ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC... chorus@${systemInfo?.network?.hostname || \"localhost\"}`;\n            const mockPrivateKey = `-----BEGIN OPENSSH PRIVATE KEY-----\nb3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAFwwAAAAd...\n-----END OPENSSH PRIVATE KEY-----`;\n            setConfig((prev)=>({\n                    ...prev,\n                    sshPublicKey: mockPublicKey,\n                    sshPrivateKey: mockPrivateKey\n                }));\n            setValidation((prev)=>({\n                    ...prev,\n                    sshKeys: true\n                }));\n        } catch (error) {\n            console.error(\"Failed to generate SSH keys:\", error);\n            setValidation((prev)=>({\n                    ...prev,\n                    sshKeys: false\n                }));\n        } finally{\n            setGenerating(false);\n        }\n    };\n    const copyToClipboard = async (text)=>{\n        try {\n            await navigator.clipboard.writeText(text);\n        } catch (error) {\n            console.error(\"Failed to copy to clipboard:\", error);\n        }\n    };\n    const handleSubmit = (e)=>{\n        e.preventDefault();\n        // Validate required fields\n        const newValidation = {};\n        if (config.sshKeyType === \"generate\" && !config.sshPublicKey) {\n            newValidation.sshKeys = false;\n        } else if (config.sshKeyType === \"existing\" && !config.sshPublicKey) {\n            newValidation.sshKeys = false;\n        } else {\n            newValidation.sshKeys = true;\n        }\n        if (config.enableTLS && config.tlsCertType === \"existing\" && (!config.tlsCertPath || !config.tlsKeyPath)) {\n            newValidation.tlsCert = false;\n        } else {\n            newValidation.tlsCert = true;\n        }\n        if (!config.clusterSecret) {\n            newValidation.clusterSecret = false;\n        } else {\n            newValidation.clusterSecret = true;\n        }\n        if (config.sshKeyType === \"manual\" && (!config.sshUsername || !config.sshPassword)) {\n            newValidation.sshCredentials = false;\n        } else {\n            newValidation.sshCredentials = true;\n        }\n        setValidation(newValidation);\n        // Check if all validations pass\n        const isValid = Object.values(newValidation).every((v)=>v);\n        if (isValid) {\n            onComplete({\n                security: config\n            });\n        }\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"form\", {\n        onSubmit: handleSubmit,\n        className: \"space-y-8\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"card\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 209,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900\",\n                                children: \"SSH Key Management\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 210,\n                                columnNumber: 11\n                            }, this),\n                            validation.sshKeys === true && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                                className: \"h-5 w-5 text-green-500 ml-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 211,\n                                columnNumber: 43\n                            }, this),\n                            validation.sshKeys === false && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                className: \"h-5 w-5 text-red-500 ml-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 212,\n                                columnNumber: 44\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                        lineNumber: 208,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                        children: \"SSH Key Type\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 217,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"space-y-2\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                className: \"flex items-center\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: \"radio\",\n                                                        value: \"generate\",\n                                                        checked: config.sshKeyType === \"generate\",\n                                                        onChange: (e)=>setConfig((prev)=>({\n                                                                    ...prev,\n                                                                    sshKeyType: e.target.value\n                                                                })),\n                                                        className: \"mr-2\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 220,\n                                                        columnNumber: 17\n                                                    }, this),\n                                                    \"Generate new SSH key pair\"\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 219,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                className: \"flex items-center\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: \"radio\",\n                                                        value: \"existing\",\n                                                        checked: config.sshKeyType === \"existing\",\n                                                        onChange: (e)=>setConfig((prev)=>({\n                                                                    ...prev,\n                                                                    sshKeyType: e.target.value\n                                                                })),\n                                                        className: \"mr-2\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 230,\n                                                        columnNumber: 17\n                                                    }, this),\n                                                    \"Use existing SSH key\"\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 229,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                className: \"flex items-center\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: \"radio\",\n                                                        value: \"manual\",\n                                                        checked: config.sshKeyType === \"manual\",\n                                                        onChange: (e)=>setConfig((prev)=>({\n                                                                    ...prev,\n                                                                    sshKeyType: e.target.value\n                                                                })),\n                                                        className: \"mr-2\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 240,\n                                                        columnNumber: 17\n                                                    }, this),\n                                                    \"Configure manually with SSH username/password\"\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 239,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 218,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 216,\n                                columnNumber: 11\n                            }, this),\n                            config.sshKeyType === \"generate\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"space-y-4\",\n                                children: !config.sshPublicKey ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                    type: \"button\",\n                                    onClick: generateSSHKeys,\n                                    disabled: generating,\n                                    className: \"btn-primary\",\n                                    children: generating ? \"Generating Keys...\" : \"Generate SSH Key Pair\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                    lineNumber: 255,\n                                    columnNumber: 17\n                                }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"space-y-4\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                    className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                                    children: \"Public Key\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                    lineNumber: 266,\n                                                    columnNumber: 21\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"relative\",\n                                                    children: [\n                                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"textarea\", {\n                                                            value: config.sshPublicKey,\n                                                            readOnly: true,\n                                                            className: \"w-full p-3 border border-gray-300 rounded-lg bg-gray-50 font-mono text-sm\",\n                                                            rows: 3\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                            lineNumber: 268,\n                                                            columnNumber: 23\n                                                        }, this),\n                                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                            type: \"button\",\n                                                            onClick: ()=>copyToClipboard(config.sshPublicKey),\n                                                            className: \"absolute top-2 right-2 p-1 text-gray-500 hover:text-gray-700\",\n                                                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                                                className: \"h-4 w-4\"\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                                lineNumber: 279,\n                                                                columnNumber: 25\n                                                            }, this)\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                            lineNumber: 274,\n                                                            columnNumber: 23\n                                                        }, this)\n                                                    ]\n                                                }, void 0, true, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                    lineNumber: 267,\n                                                    columnNumber: 21\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                            lineNumber: 265,\n                                            columnNumber: 19\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                    className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                                    children: \"Private Key\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                    lineNumber: 285,\n                                                    columnNumber: 21\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"relative\",\n                                                    children: [\n                                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"textarea\", {\n                                                            value: showPrivateKey ? config.sshPrivateKey : \"••••••••••••••••••••••••••••••••\",\n                                                            readOnly: true,\n                                                            className: \"w-full p-3 border border-gray-300 rounded-lg bg-gray-50 font-mono text-sm\",\n                                                            rows: 6\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                            lineNumber: 287,\n                                                            columnNumber: 23\n                                                        }, this),\n                                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                            className: \"absolute top-2 right-2 flex space-x-1\",\n                                                            children: [\n                                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                                    type: \"button\",\n                                                                    onClick: ()=>setShowPrivateKey(!showPrivateKey),\n                                                                    className: \"p-1 text-gray-500 hover:text-gray-700\",\n                                                                    children: showPrivateKey ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                                                        className: \"h-4 w-4\"\n                                                                    }, void 0, false, {\n                                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                                        lineNumber: 299,\n                                                                        columnNumber: 45\n                                                                    }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                                                                        className: \"h-4 w-4\"\n                                                                    }, void 0, false, {\n                                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                                        lineNumber: 299,\n                                                                        columnNumber: 84\n                                                                    }, this)\n                                                                }, void 0, false, {\n                                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                                    lineNumber: 294,\n                                                                    columnNumber: 25\n                                                                }, this),\n                                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                                    type: \"button\",\n                                                                    onClick: ()=>copyToClipboard(config.sshPrivateKey),\n                                                                    className: \"p-1 text-gray-500 hover:text-gray-700\",\n                                                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                                                        className: \"h-4 w-4\"\n                                                                    }, void 0, false, {\n                                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                                        lineNumber: 306,\n                                                                        columnNumber: 27\n                                                                    }, this)\n                                                                }, void 0, false, {\n                                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                                    lineNumber: 301,\n                                                                    columnNumber: 25\n                                                                }, this)\n                                                            ]\n                                                        }, void 0, true, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                            lineNumber: 293,\n                                                            columnNumber: 23\n                                                        }, this)\n                                                    ]\n                                                }, void 0, true, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                    lineNumber: 286,\n                                                    columnNumber: 21\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                                    className: \"text-sm text-yellow-600 mt-1\",\n                                                    children: \"⚠️ Store this private key securely. It cannot be recovered.\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                    lineNumber: 310,\n                                                    columnNumber: 21\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                            lineNumber: 284,\n                                            columnNumber: 19\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                    lineNumber: 264,\n                                    columnNumber: 17\n                                }, this)\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 253,\n                                columnNumber: 13\n                            }, this),\n                            config.sshKeyType === \"existing\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                        children: \"SSH Public Key\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 319,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"textarea\", {\n                                        value: config.sshPublicKey,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    sshPublicKey: e.target.value\n                                                })),\n                                        placeholder: \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC...\",\n                                        className: \"w-full p-3 border border-gray-300 rounded-lg font-mono text-sm\",\n                                        rows: 3\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 320,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 318,\n                                columnNumber: 13\n                            }, this),\n                            config.sshKeyType === \"manual\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"space-y-4\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"bg-yellow-50 border border-yellow-200 rounded-lg p-4\",\n                                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"flex items-start\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"flex-shrink-0\",\n                                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n                                                        className: \"h-5 w-5 text-yellow-600 mt-0.5\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 335,\n                                                        columnNumber: 21\n                                                    }, this)\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                    lineNumber: 334,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"ml-3\",\n                                                    children: [\n                                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                                            className: \"text-sm font-medium text-yellow-800\",\n                                                            children: \"Manual SSH Configuration\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                            lineNumber: 338,\n                                                            columnNumber: 21\n                                                        }, this),\n                                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                                            className: \"text-sm text-yellow-700 mt-1\",\n                                                            children: [\n                                                                \"Provide SSH credentials for cluster machines. SSH keys will be automatically generated and deployed using these credentials.\",\n                                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"strong\", {\n                                                                    children: \" Passwords are only used during setup and are not stored.\"\n                                                                }, void 0, false, {\n                                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                                    lineNumber: 341,\n                                                                    columnNumber: 23\n                                                                }, this)\n                                                            ]\n                                                        }, void 0, true, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                            lineNumber: 339,\n                                                            columnNumber: 21\n                                                        }, this)\n                                                    ]\n                                                }, void 0, true, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                    lineNumber: 337,\n                                                    columnNumber: 19\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                            lineNumber: 333,\n                                            columnNumber: 17\n                                        }, this)\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 332,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"grid grid-cols-1 md:grid-cols-2 gap-4\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                                        children: [\n                                                            \"SSH Username \",\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                                className: \"text-red-500\",\n                                                                children: \"*\"\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                                lineNumber: 350,\n                                                                columnNumber: 34\n                                                            }, this)\n                                                        ]\n                                                    }, void 0, true, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 349,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: \"text\",\n                                                        value: config.sshUsername,\n                                                        onChange: (e)=>setConfig((prev)=>({\n                                                                    ...prev,\n                                                                    sshUsername: e.target.value\n                                                                })),\n                                                        placeholder: \"ubuntu\",\n                                                        className: \"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-bzzz-primary focus:border-bzzz-primary\",\n                                                        required: true\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 352,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                                        className: \"text-sm text-gray-500 mt-1\",\n                                                        children: \"Exact SSH username for cluster machines\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 360,\n                                                        columnNumber: 19\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 348,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                                        children: \"SSH Port\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 366,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: \"number\",\n                                                        value: config.sshPort,\n                                                        onChange: (e)=>setConfig((prev)=>({\n                                                                    ...prev,\n                                                                    sshPort: parseInt(e.target.value) || 22\n                                                                })),\n                                                        min: \"1\",\n                                                        max: \"65535\",\n                                                        className: \"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-bzzz-primary focus:border-bzzz-primary\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 369,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                                        className: \"text-sm text-gray-500 mt-1\",\n                                                        children: \"SSH port number (default: 22)\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 377,\n                                                        columnNumber: 19\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 365,\n                                                columnNumber: 17\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 347,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                                children: [\n                                                    \"SSH Password \",\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                        className: \"text-red-500\",\n                                                        children: \"*\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 385,\n                                                        columnNumber: 32\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 384,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"relative\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: showSSHPassword ? \"text\" : \"password\",\n                                                        value: config.sshPassword,\n                                                        onChange: (e)=>setConfig((prev)=>({\n                                                                    ...prev,\n                                                                    sshPassword: e.target.value\n                                                                })),\n                                                        placeholder: \"Enter SSH password for cluster machines\",\n                                                        className: \"w-full px-3 py-2 pr-10 border border-gray-300 rounded-lg focus:ring-bzzz-primary focus:border-bzzz-primary\",\n                                                        required: true\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 388,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                        type: \"button\",\n                                                        onClick: ()=>setShowSSHPassword(!showSSHPassword),\n                                                        className: \"absolute inset-y-0 right-0 pr-3 flex items-center\",\n                                                        children: showSSHPassword ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                                            className: \"h-4 w-4 text-gray-400\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                            lineNumber: 402,\n                                                            columnNumber: 23\n                                                        }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                                                            className: \"h-4 w-4 text-gray-400\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                            lineNumber: 404,\n                                                            columnNumber: 23\n                                                        }, this)\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 396,\n                                                        columnNumber: 19\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 387,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                                className: \"text-sm text-gray-500 mt-1\",\n                                                children: \"SSH password for the specified username (used only during setup)\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 408,\n                                                columnNumber: 17\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 383,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 331,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                        lineNumber: 215,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                lineNumber: 207,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"card\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 421,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900\",\n                                children: \"TLS/SSL Configuration\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 422,\n                                columnNumber: 11\n                            }, this),\n                            validation.tlsCert === true && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                                className: \"h-5 w-5 text-green-500 ml-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 423,\n                                columnNumber: 43\n                            }, this),\n                            validation.tlsCert === false && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                className: \"h-5 w-5 text-red-500 ml-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 424,\n                                columnNumber: 44\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                        lineNumber: 420,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                className: \"flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"checkbox\",\n                                        checked: config.enableTLS,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    enableTLS: e.target.checked\n                                                })),\n                                        className: \"mr-2\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 429,\n                                        columnNumber: 13\n                                    }, this),\n                                    \"Enable TLS encryption for cluster communication\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 428,\n                                columnNumber: 11\n                            }, this),\n                            config.enableTLS && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"space-y-4 ml-6\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                                children: \"Certificate Type\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 441,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"space-y-2\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                        className: \"flex items-center\",\n                                                        children: [\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                                type: \"radio\",\n                                                                value: \"self-signed\",\n                                                                checked: config.tlsCertType === \"self-signed\",\n                                                                onChange: (e)=>setConfig((prev)=>({\n                                                                            ...prev,\n                                                                            tlsCertType: e.target.value\n                                                                        })),\n                                                                className: \"mr-2\"\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                                lineNumber: 444,\n                                                                columnNumber: 21\n                                                            }, this),\n                                                            \"Generate self-signed certificate\"\n                                                        ]\n                                                    }, void 0, true, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 443,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                        className: \"flex items-center\",\n                                                        children: [\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                                type: \"radio\",\n                                                                value: \"letsencrypt\",\n                                                                checked: config.tlsCertType === \"letsencrypt\",\n                                                                onChange: (e)=>setConfig((prev)=>({\n                                                                            ...prev,\n                                                                            tlsCertType: e.target.value\n                                                                        })),\n                                                                className: \"mr-2\"\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                                lineNumber: 454,\n                                                                columnNumber: 21\n                                                            }, this),\n                                                            \"Use Let's Encrypt (requires domain)\"\n                                                        ]\n                                                    }, void 0, true, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 453,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                        className: \"flex items-center\",\n                                                        children: [\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                                type: \"radio\",\n                                                                value: \"existing\",\n                                                                checked: config.tlsCertType === \"existing\",\n                                                                onChange: (e)=>setConfig((prev)=>({\n                                                                            ...prev,\n                                                                            tlsCertType: e.target.value\n                                                                        })),\n                                                                className: \"mr-2\"\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                                lineNumber: 464,\n                                                                columnNumber: 21\n                                                            }, this),\n                                                            \"Use existing certificate\"\n                                                        ]\n                                                    }, void 0, true, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 463,\n                                                        columnNumber: 19\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 442,\n                                                columnNumber: 17\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 440,\n                                        columnNumber: 15\n                                    }, this),\n                                    config.tlsCertType === \"existing\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"space-y-4\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                                        children: \"Certificate Path\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 479,\n                                                        columnNumber: 21\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: \"text\",\n                                                        value: config.tlsCertPath,\n                                                        onChange: (e)=>setConfig((prev)=>({\n                                                                    ...prev,\n                                                                    tlsCertPath: e.target.value\n                                                                })),\n                                                        placeholder: \"/path/to/certificate.crt\",\n                                                        className: \"w-full p-3 border border-gray-300 rounded-lg\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 480,\n                                                        columnNumber: 21\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 478,\n                                                columnNumber: 19\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                                        children: \"Private Key Path\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 489,\n                                                        columnNumber: 21\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: \"text\",\n                                                        value: config.tlsKeyPath,\n                                                        onChange: (e)=>setConfig((prev)=>({\n                                                                    ...prev,\n                                                                    tlsKeyPath: e.target.value\n                                                                })),\n                                                        placeholder: \"/path/to/private.key\",\n                                                        className: \"w-full p-3 border border-gray-300 rounded-lg\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 490,\n                                                        columnNumber: 21\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 488,\n                                                columnNumber: 19\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 477,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 439,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                        lineNumber: 427,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                lineNumber: 419,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"card\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 508,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900\",\n                                children: \"Authentication Method\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 509,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                        lineNumber: 507,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                        children: \"Authentication Type\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 514,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"space-y-2\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                className: \"flex items-center\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: \"radio\",\n                                                        value: \"token\",\n                                                        checked: config.authMethod === \"token\",\n                                                        onChange: (e)=>setConfig((prev)=>({\n                                                                    ...prev,\n                                                                    authMethod: e.target.value\n                                                                })),\n                                                        className: \"mr-2\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 517,\n                                                        columnNumber: 17\n                                                    }, this),\n                                                    \"API Token-based authentication\"\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 516,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                className: \"flex items-center\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: \"radio\",\n                                                        value: \"certificate\",\n                                                        checked: config.authMethod === \"certificate\",\n                                                        onChange: (e)=>setConfig((prev)=>({\n                                                                    ...prev,\n                                                                    authMethod: e.target.value\n                                                                })),\n                                                        className: \"mr-2\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 527,\n                                                        columnNumber: 17\n                                                    }, this),\n                                                    \"Certificate-based authentication\"\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 526,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                                className: \"flex items-center\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: \"radio\",\n                                                        value: \"hybrid\",\n                                                        checked: config.authMethod === \"hybrid\",\n                                                        onChange: (e)=>setConfig((prev)=>({\n                                                                    ...prev,\n                                                                    authMethod: e.target.value\n                                                                })),\n                                                        className: \"mr-2\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 537,\n                                                        columnNumber: 17\n                                                    }, this),\n                                                    \"Hybrid (Token + Certificate)\"\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 536,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 515,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 513,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                        children: \"Cluster Secret\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 550,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"relative\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                type: showClusterSecret ? \"text\" : \"password\",\n                                                value: config.clusterSecret,\n                                                onChange: (e)=>setConfig((prev)=>({\n                                                            ...prev,\n                                                            clusterSecret: e.target.value\n                                                        })),\n                                                className: \"w-full p-3 border border-gray-300 rounded-lg font-mono\",\n                                                placeholder: \"Cluster authentication secret\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 552,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"absolute right-2 top-1/2 transform -translate-y-1/2 flex space-x-1\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                        type: \"button\",\n                                                        onClick: ()=>setShowClusterSecret(!showClusterSecret),\n                                                        className: \"p-1 text-gray-500 hover:text-gray-700\",\n                                                        children: showClusterSecret ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                                            className: \"h-4 w-4\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                            lineNumber: 565,\n                                                            columnNumber: 40\n                                                        }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                                                            className: \"h-4 w-4\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                            lineNumber: 565,\n                                                            columnNumber: 79\n                                                        }, this)\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 560,\n                                                        columnNumber: 17\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                        type: \"button\",\n                                                        onClick: generateClusterSecret,\n                                                        className: \"p-1 text-gray-500 hover:text-gray-700\",\n                                                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                                                            className: \"h-4 w-4\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                            lineNumber: 572,\n                                                            columnNumber: 19\n                                                        }, this)\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                        lineNumber: 567,\n                                                        columnNumber: 17\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 559,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 551,\n                                        columnNumber: 13\n                                    }, this),\n                                    validation.clusterSecret === false && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"text-sm text-red-600 mt-1\",\n                                        children: \"Cluster secret is required\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 577,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 549,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                        lineNumber: 512,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                lineNumber: 506,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"card\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 586,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900\",\n                                children: \"Access Control\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 587,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                        lineNumber: 585,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                        children: \"Access Policy\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 592,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"select\", {\n                                        value: config.accessPolicy,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    accessPolicy: e.target.value\n                                                })),\n                                        className: \"w-full p-3 border border-gray-300 rounded-lg\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: \"open\",\n                                                children: \"Open (Anyone can join cluster)\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 598,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: \"restricted\",\n                                                children: \"Restricted (Require authentication)\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 599,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"option\", {\n                                                value: \"invite-only\",\n                                                children: \"Invite Only (Manual approval required)\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                lineNumber: 600,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 593,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 591,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                className: \"flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"checkbox\",\n                                        checked: config.enableFirewall,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    enableFirewall: e.target.checked\n                                                })),\n                                        className: \"mr-2\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                        lineNumber: 605,\n                                        columnNumber: 13\n                                    }, this),\n                                    \"Enable firewall configuration\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 604,\n                                columnNumber: 11\n                            }, this),\n                            config.enableFirewall && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"ml-6 space-y-4\",\n                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                            className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                            children: \"Allowed Ports\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                            lineNumber: 617,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"text\",\n                                            value: config.allowedPorts.join(\", \"),\n                                            onChange: (e)=>setConfig((prev)=>({\n                                                        ...prev,\n                                                        allowedPorts: e.target.value.split(\",\").map((p)=>p.trim()).filter((p)=>p)\n                                                    })),\n                                            placeholder: \"22, 8080, 8090, 9100, 3000\",\n                                            className: \"w-full p-3 border border-gray-300 rounded-lg\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                            lineNumber: 618,\n                                            columnNumber: 17\n                                        }, this),\n                                        configData?.network && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                            className: \"text-sm text-green-600 mt-1 flex items-center\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                                                    className: \"h-4 w-4 mr-1\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                                    lineNumber: 630,\n                                                    columnNumber: 21\n                                                }, this),\n                                                \"Ports automatically configured from Network Settings: \",\n                                                [\n                                                    configData.network.bzzzPort,\n                                                    configData.network.mcpPort,\n                                                    configData.network.webUIPort,\n                                                    configData.network.p2pPort\n                                                ].filter((p)=>p).join(\", \")\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                            lineNumber: 629,\n                                            columnNumber: 19\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                            className: \"text-sm text-gray-500 mt-1\",\n                                            children: \"Comma-separated list of ports to allow through the firewall\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                            lineNumber: 639,\n                                            columnNumber: 17\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                    lineNumber: 616,\n                                    columnNumber: 15\n                                }, this)\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                lineNumber: 615,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                        lineNumber: 590,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                lineNumber: 584,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-blue-50 border border-blue-200 rounded-lg p-4\",\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex items-start\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentDuplicateIcon_ExclamationTriangleIcon_EyeIcon_EyeSlashIcon_KeyIcon_LockClosedIcon_ServerIcon_ShieldCheckIcon_XCircleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n                            className: \"h-5 w-5 text-blue-500 mt-0.5 mr-2\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                            lineNumber: 651,\n                            columnNumber: 11\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                    className: \"text-sm font-medium text-blue-800\",\n                                    children: \"Security Summary\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                    lineNumber: 653,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"ul\", {\n                                    className: \"text-sm text-blue-700 mt-1 space-y-1\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: [\n                                                \"• SSH access: \",\n                                                config.sshKeyType === \"generate\" ? \"New key pair will be generated\" : config.sshKeyType === \"existing\" ? \"Using provided key\" : \"Manual configuration\"\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                            lineNumber: 655,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: [\n                                                \"• TLS encryption: \",\n                                                config.enableTLS ? \"Enabled\" : \"Disabled\"\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                            lineNumber: 656,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: [\n                                                \"• Authentication: \",\n                                                config.authMethod\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                            lineNumber: 657,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: [\n                                                \"• Access policy: \",\n                                                config.accessPolicy\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                            lineNumber: 658,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: [\n                                                \"• Firewall: \",\n                                                config.enableFirewall ? \"Enabled\" : \"Disabled\"\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                            lineNumber: 659,\n                                            columnNumber: 15\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                                    lineNumber: 654,\n                                    columnNumber: 13\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                            lineNumber: 652,\n                            columnNumber: 11\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                    lineNumber: 650,\n                    columnNumber: 9\n                }, this)\n            }, void 0, false, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                lineNumber: 649,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex justify-between pt-6 border-t border-gray-200\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: onBack && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            type: \"button\",\n                            onClick: onBack,\n                            className: \"btn-outline\",\n                            children: \"Back\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                            lineNumber: 668,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                        lineNumber: 666,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        type: \"submit\",\n                        disabled: config.sshKeyType === \"generate\" && !config.sshPublicKey,\n                        className: \"btn-primary\",\n                        children: isCompleted ? \"Continue\" : \"Next: AI Integration\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                        lineNumber: 673,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n                lineNumber: 665,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SecuritySetup.tsx\",\n        lineNumber: 204,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 57916 characters]\n//# sourceURL=webpack-internal:///(ssr)/./app/setup/components/SecuritySetup.tsx\n");

/***/ }),

/***/ "(ssr)/./app/setup/components/ServiceDeployment.tsx":
/*!****************************************************!*\
  !*** ./app/setup/components/ServiceDeployment.tsx ***!
  \****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ ServiceDeployment)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CloudArrowDownIcon,Cog6ToothIcon,ComputerDesktopIcon,DocumentTextIcon,ExclamationTriangleIcon,ServerIcon,StopIcon,XCircleIcon,XMarkIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CloudArrowDownIcon,Cog6ToothIcon,ComputerDesktopIcon,DocumentTextIcon,ExclamationTriangleIcon,ServerIcon,StopIcon,XCircleIcon,XMarkIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CloudArrowDownIcon,Cog6ToothIcon,ComputerDesktopIcon,DocumentTextIcon,ExclamationTriangleIcon,ServerIcon,StopIcon,XCircleIcon,XMarkIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ArrowPathIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CloudArrowDownIcon,Cog6ToothIcon,ComputerDesktopIcon,DocumentTextIcon,ExclamationTriangleIcon,ServerIcon,StopIcon,XCircleIcon,XMarkIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/StopIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CloudArrowDownIcon,Cog6ToothIcon,ComputerDesktopIcon,DocumentTextIcon,ExclamationTriangleIcon,ServerIcon,StopIcon,XCircleIcon,XMarkIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ServerIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CloudArrowDownIcon,Cog6ToothIcon,ComputerDesktopIcon,DocumentTextIcon,ExclamationTriangleIcon,ServerIcon,StopIcon,XCircleIcon,XMarkIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ExclamationTriangleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CloudArrowDownIcon,Cog6ToothIcon,ComputerDesktopIcon,DocumentTextIcon,ExclamationTriangleIcon,ServerIcon,StopIcon,XCircleIcon,XMarkIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CloudArrowDownIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CloudArrowDownIcon,Cog6ToothIcon,ComputerDesktopIcon,DocumentTextIcon,ExclamationTriangleIcon,ServerIcon,StopIcon,XCircleIcon,XMarkIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CloudArrowDownIcon,Cog6ToothIcon,ComputerDesktopIcon,DocumentTextIcon,ExclamationTriangleIcon,ServerIcon,StopIcon,XCircleIcon,XMarkIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ComputerDesktopIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CloudArrowDownIcon,Cog6ToothIcon,ComputerDesktopIcon,DocumentTextIcon,ExclamationTriangleIcon,ServerIcon,StopIcon,XCircleIcon,XMarkIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CloudArrowDownIcon,Cog6ToothIcon,ComputerDesktopIcon,DocumentTextIcon,ExclamationTriangleIcon,ServerIcon,StopIcon,XCircleIcon,XMarkIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/Cog6ToothIcon.js\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\nfunction ServiceDeployment({ systemInfo, configData, onComplete, onBack, isCompleted }) {\n    const [machines, setMachines] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)([]);\n    const [isDiscovering, setIsDiscovering] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [discoveryProgress, setDiscoveryProgress] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(0);\n    const [discoveryStatus, setDiscoveryStatus] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    const [showLogs, setShowLogs] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null);\n    const [deploymentLogs, setDeploymentLogs] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({});\n    const [showConsole, setShowConsole] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null);\n    const [consoleLogs, setConsoleLogs] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({});\n    const [config, setConfig] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({\n        deploymentMethod: \"systemd\",\n        autoStart: true,\n        healthCheckInterval: 30,\n        selectedMachines: []\n    });\n    // Initialize with current machine\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        const currentMachine = {\n            id: \"localhost\",\n            hostname: systemInfo?.network?.hostname || \"localhost\",\n            ip: configData?.network?.primaryIP || \"127.0.0.1\",\n            os: systemInfo?.os || \"linux\",\n            osVersion: \"Current Host\",\n            sshStatus: \"connected\",\n            deployStatus: \"running\",\n            selected: true,\n            systemInfo: {\n                cpu: systemInfo?.cpu_cores || 0,\n                memory: Math.round((systemInfo?.memory_mb || 0) / 1024),\n                disk: systemInfo?.storage?.free_space_gb || 0\n            }\n        };\n        setMachines([\n            currentMachine\n        ]);\n        setConfig((prev)=>({\n                ...prev,\n                selectedMachines: [\n                    \"localhost\"\n                ]\n            }));\n    }, [\n        systemInfo,\n        configData\n    ]);\n    const discoverMachines = async ()=>{\n        setIsDiscovering(true);\n        setDiscoveryProgress(0);\n        setDiscoveryStatus(\"Initializing network scan...\");\n        try {\n            // Simulate progress updates during discovery\n            const progressInterval = setInterval(()=>{\n                setDiscoveryProgress((prev)=>{\n                    const newProgress = prev + 10;\n                    if (newProgress <= 30) {\n                        setDiscoveryStatus(\"Scanning network subnet...\");\n                    } else if (newProgress <= 60) {\n                        setDiscoveryStatus(\"Checking SSH accessibility...\");\n                    } else if (newProgress <= 90) {\n                        setDiscoveryStatus(\"Gathering system information...\");\n                    } else {\n                        setDiscoveryStatus(\"Finalizing discovery...\");\n                    }\n                    return Math.min(newProgress, 95);\n                });\n            }, 200);\n            const response = await fetch(\"/api/setup/discover-machines\", {\n                method: \"POST\",\n                headers: {\n                    \"Content-Type\": \"application/json\"\n                },\n                body: JSON.stringify({\n                    subnet: configData?.network?.allowedIPs?.[0] || \"192.168.1.0/24\",\n                    sshKey: configData?.security?.sshPublicKey\n                })\n            });\n            clearInterval(progressInterval);\n            setDiscoveryProgress(100);\n            if (response.ok) {\n                const result = await response.json();\n                setDiscoveryStatus(`Found ${result.machines?.length || 0} machines`);\n                const discoveredMachines = result.machines.map((m)=>({\n                        id: m.ip,\n                        hostname: m.hostname || \"Unknown\",\n                        ip: m.ip,\n                        os: m.os || \"unknown\",\n                        osVersion: m.os_version || \"Unknown\",\n                        sshStatus: \"unknown\",\n                        deployStatus: \"not_deployed\",\n                        selected: false,\n                        lastSeen: new Date().toISOString(),\n                        systemInfo: m.system_info\n                    }));\n                // Merge with existing machines (keep localhost)\n                setMachines((prev)=>{\n                    const localhost = prev.find((m)=>m.id === \"localhost\");\n                    return localhost ? [\n                        localhost,\n                        ...discoveredMachines\n                    ] : discoveredMachines;\n                });\n            } else {\n                setDiscoveryStatus(\"Discovery failed - check network configuration\");\n            }\n        } catch (error) {\n            console.error(\"Discovery failed:\", error);\n            setDiscoveryStatus(\"Discovery error - network unreachable\");\n        } finally{\n            setTimeout(()=>{\n                setIsDiscovering(false);\n                setDiscoveryProgress(0);\n                setDiscoveryStatus(\"\");\n            }, 2000);\n        }\n    };\n    const testSSHConnection = async (machineId)=>{\n        setMachines((prev)=>prev.map((m)=>m.id === machineId ? {\n                    ...m,\n                    sshStatus: \"testing\"\n                } : m));\n        try {\n            const machine = machines.find((m)=>m.id === machineId);\n            const response = await fetch(\"/api/setup/test-ssh\", {\n                method: \"POST\",\n                headers: {\n                    \"Content-Type\": \"application/json\"\n                },\n                body: JSON.stringify({\n                    ip: machine?.ip,\n                    sshKey: configData?.security?.sshPrivateKey,\n                    sshUsername: configData?.security?.sshUsername || \"ubuntu\",\n                    sshPassword: configData?.security?.sshPassword,\n                    sshPort: configData?.security?.sshPort || 22\n                })\n            });\n            const result = await response.json();\n            setMachines((prev)=>prev.map((m)=>m.id === machineId ? {\n                        ...m,\n                        sshStatus: result.success ? \"connected\" : \"failed\",\n                        os: result.os || m.os,\n                        osVersion: result.os_version || m.osVersion,\n                        systemInfo: result.system_info || m.systemInfo\n                    } : m));\n        } catch (error) {\n            setMachines((prev)=>prev.map((m)=>m.id === machineId ? {\n                        ...m,\n                        sshStatus: \"failed\"\n                    } : m));\n        }\n    };\n    const deployToMachine = async (machineId)=>{\n        setMachines((prev)=>prev.map((m)=>m.id === machineId ? {\n                    ...m,\n                    deployStatus: \"installing\",\n                    deployProgress: 0,\n                    deployStep: \"Initializing deployment...\"\n                } : m));\n        const logs = [];\n        const consoleLogs = [\n            `🚀 Starting deployment to ${machines.find((m)=>m.id === machineId)?.hostname} (${machines.find((m)=>m.id === machineId)?.ip})`\n        ];\n        setDeploymentLogs((prev)=>({\n                ...prev,\n                [machineId]: logs\n            }));\n        setConsoleLogs((prev)=>({\n                ...prev,\n                [machineId]: consoleLogs\n            }));\n        // Open console if not already showing\n        if (!showConsole) {\n            setShowConsole(machineId);\n        }\n        // Real-time console logging helper\n        const addConsoleLog = (message)=>{\n            const timestamp = new Date().toLocaleTimeString();\n            const logMessage = `[${timestamp}] ${message}`;\n            setConsoleLogs((prev)=>({\n                    ...prev,\n                    [machineId]: [\n                        ...prev[machineId] || [],\n                        logMessage\n                    ]\n                }));\n        };\n        // Simulate progress updates\n        const progressSteps = [\n            {\n                progress: 10,\n                step: \"Establishing SSH connection...\"\n            },\n            {\n                progress: 30,\n                step: \"Copying BZZZ binary...\"\n            },\n            {\n                progress: 60,\n                step: \"Creating systemd service...\"\n            },\n            {\n                progress: 80,\n                step: \"Starting service...\"\n            },\n            {\n                progress: 100,\n                step: \"Deployment complete!\"\n            }\n        ];\n        const updateProgress = (stepIndex)=>{\n            if (stepIndex < progressSteps.length) {\n                const { progress, step } = progressSteps[stepIndex];\n                setMachines((prev)=>prev.map((m)=>m.id === machineId ? {\n                            ...m,\n                            deployProgress: progress,\n                            deployStep: step\n                        } : m));\n                logs.push(`📦 ${step}`);\n                addConsoleLog(`📦 ${step}`);\n                setDeploymentLogs((prev)=>({\n                        ...prev,\n                        [machineId]: [\n                            ...prev[machineId] || [],\n                            `📦 ${step}`\n                        ]\n                    }));\n            }\n        };\n        try {\n            const machine = machines.find((m)=>m.id === machineId);\n            addConsoleLog(`🚀 Starting deployment to ${machine?.hostname}...`);\n            addConsoleLog(`📡 Sending deployment request to backend API...`);\n            // Set initial progress\n            setMachines((prev)=>prev.map((m)=>m.id === machineId ? {\n                        ...m,\n                        deployProgress: 10,\n                        deployStep: \"Contacting backend API...\"\n                    } : m));\n            const response = await fetch(\"/api/setup/deploy-service\", {\n                method: \"POST\",\n                headers: {\n                    \"Content-Type\": \"application/json\"\n                },\n                body: JSON.stringify({\n                    ip: machine?.ip,\n                    sshKey: configData?.security?.sshPrivateKey,\n                    sshUsername: configData?.security?.sshUsername || \"ubuntu\",\n                    sshPassword: configData?.security?.sshPassword,\n                    sshPort: configData?.security?.sshPort || 22,\n                    config: {\n                        ports: {\n                            api: configData?.network?.bzzzPort || 8080,\n                            mcp: configData?.network?.mcpPort || 3000,\n                            webui: configData?.network?.webUIPort || 8080,\n                            p2p: configData?.network?.p2pPort || 7000\n                        },\n                        security: configData?.security,\n                        autoStart: config.autoStart\n                    }\n                })\n            });\n            const result = await response.json();\n            addConsoleLog(`📨 Received response from backend API`);\n            if (result.success) {\n                setMachines((prev)=>prev.map((m)=>m.id === machineId ? {\n                            ...m,\n                            deployStatus: \"running\",\n                            deployProgress: 100,\n                            deployStep: \"Running\"\n                        } : m));\n                logs.push(\"✅ Deployment completed successfully\");\n                addConsoleLog(\"✅ Deployment completed successfully!\");\n                // Show actual backend steps if provided\n                if (result.steps) {\n                    result.steps.forEach((step)=>{\n                        logs.push(step);\n                        addConsoleLog(`📋 ${step}`);\n                    });\n                }\n                addConsoleLog(`🎉 CHORUS:agents service is now running on ${machine?.hostname}`);\n            } else {\n                setMachines((prev)=>prev.map((m)=>m.id === machineId ? {\n                            ...m,\n                            deployStatus: \"error\",\n                            deployProgress: 0,\n                            deployStep: \"Failed\"\n                        } : m));\n                logs.push(`❌ Deployment failed: ${result.error}`);\n                addConsoleLog(`❌ Deployment failed: ${result.error}`);\n                addConsoleLog(`💡 Note: This was a real backend error, not simulated progress`);\n            }\n        } catch (error) {\n            setMachines((prev)=>prev.map((m)=>m.id === machineId ? {\n                        ...m,\n                        deployStatus: \"error\",\n                        deployProgress: 0,\n                        deployStep: \"Error\"\n                    } : m));\n            logs.push(`❌ Deployment error: ${error}`);\n            addConsoleLog(`❌ Deployment error: ${error}`);\n        }\n        setDeploymentLogs((prev)=>({\n                ...prev,\n                [machineId]: logs\n            }));\n    };\n    const toggleMachineSelection = (machineId)=>{\n        setMachines((prev)=>prev.map((m)=>m.id === machineId ? {\n                    ...m,\n                    selected: !m.selected\n                } : m));\n        setConfig((prev)=>({\n                ...prev,\n                selectedMachines: machines.map((m)=>m.id === machineId ? {\n                        ...m,\n                        selected: !m.selected\n                    } : m).filter((m)=>m.selected).map((m)=>m.id)\n            }));\n    };\n    const deployToSelected = async ()=>{\n        const selectedMachines = machines.filter((m)=>m.selected && m.sshStatus === \"connected\");\n        for (const machine of selectedMachines){\n            if (machine.deployStatus === \"not_deployed\") {\n                await deployToMachine(machine.id);\n            }\n        }\n    };\n    const removeMachine = (machineId)=>{\n        // Don't allow removing localhost\n        if (machineId === \"localhost\") return;\n        setMachines((prev)=>prev.filter((m)=>m.id !== machineId));\n        setConfig((prev)=>({\n                ...prev,\n                selectedMachines: prev.selectedMachines.filter((id)=>id !== machineId)\n            }));\n        // Clean up logs for removed machine\n        setDeploymentLogs((prev)=>{\n            const { [machineId]: removed, ...rest } = prev;\n            return rest;\n        });\n    };\n    const getStatusIcon = (status)=>{\n        switch(status){\n            case \"connected\":\n                return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                    className: \"h-5 w-5 text-green-500\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                    lineNumber: 383,\n                    columnNumber: 32\n                }, this);\n            case \"failed\":\n                return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                    className: \"h-5 w-5 text-red-500\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                    lineNumber: 384,\n                    columnNumber: 29\n                }, this);\n            case \"testing\":\n                return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                    className: \"h-5 w-5 text-blue-500 animate-spin\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                    lineNumber: 385,\n                    columnNumber: 30\n                }, this);\n            case \"running\":\n                return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                    className: \"h-5 w-5 text-green-500\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                    lineNumber: 386,\n                    columnNumber: 30\n                }, this);\n            case \"installing\":\n                return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                    className: \"h-5 w-5 text-blue-500 animate-spin\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                    lineNumber: 387,\n                    columnNumber: 33\n                }, this);\n            case \"error\":\n                return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                    className: \"h-5 w-5 text-red-500\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                    lineNumber: 388,\n                    columnNumber: 28\n                }, this);\n            case \"stopped\":\n                return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                    className: \"h-5 w-5 text-yellow-500\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                    lineNumber: 389,\n                    columnNumber: 30\n                }, this);\n            default:\n                return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                    className: \"h-5 w-5 text-gray-400\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                    lineNumber: 390,\n                    columnNumber: 23\n                }, this);\n        }\n    };\n    const handleSubmit = (e)=>{\n        e.preventDefault();\n        onComplete({\n            deployment: {\n                ...config,\n                machines: machines.filter((m)=>m.selected).map((m)=>({\n                        id: m.id,\n                        ip: m.ip,\n                        hostname: m.hostname,\n                        deployStatus: m.deployStatus\n                    }))\n            }\n        });\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"form\", {\n        onSubmit: handleSubmit,\n        className: \"space-y-6\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-yellow-50 border border-yellow-200 rounded-lg p-4\",\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex items-start\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                            className: \"h-5 w-5 text-yellow-600 mt-0.5 mr-3 flex-shrink-0\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                            lineNumber: 415,\n                            columnNumber: 11\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                    className: \"text-sm font-medium text-yellow-800\",\n                                    children: \"Operating System Support\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                    lineNumber: 417,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: \"text-sm text-yellow-700 mt-1\",\n                                    children: [\n                                        \"CHORUS:agents automated deployment supports \",\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"strong\", {\n                                            children: \"Linux distributions that use systemd by default\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                            lineNumber: 419,\n                                            columnNumber: 59\n                                        }, this),\n                                        \" (Ubuntu 16+, CentOS 7+, Debian 8+, RHEL 7+, etc.). For other operating systems or init systems, you'll need to manually deploy the CHORUS:agents binary and configure services on your cluster.\"\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                    lineNumber: 418,\n                                    columnNumber: 13\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                            lineNumber: 416,\n                            columnNumber: 11\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                    lineNumber: 414,\n                    columnNumber: 9\n                }, this)\n            }, void 0, false, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                lineNumber: 413,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"card\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center justify-between mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900 flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                        className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                        lineNumber: 430,\n                                        columnNumber: 13\n                                    }, this),\n                                    \"Machine Discovery\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 429,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                type: \"button\",\n                                onClick: discoverMachines,\n                                disabled: isDiscovering,\n                                className: \"btn-outline flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                        className: `h-4 w-4 mr-2 ${isDiscovering ? \"animate-spin\" : \"\"}`\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                        lineNumber: 439,\n                                        columnNumber: 13\n                                    }, this),\n                                    isDiscovering ? \"Discovering...\" : \"Discover Machines\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 433,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                        lineNumber: 428,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                        className: \"text-sm text-gray-600 mb-4\",\n                        children: [\n                            \"Scan network subnet: \",\n                            configData?.network?.allowedIPs?.[0] || \"192.168.1.0/24\"\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                        lineNumber: 444,\n                        columnNumber: 9\n                    }, this),\n                    isDiscovering && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center justify-between mb-2\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                        className: \"text-sm font-medium text-gray-700\",\n                                        children: discoveryStatus\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                        lineNumber: 452,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                        className: \"text-sm text-gray-500\",\n                                        children: [\n                                            discoveryProgress,\n                                            \"%\"\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                        lineNumber: 453,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 451,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"w-full bg-gray-200 rounded-full h-2\",\n                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"bg-bzzz-primary h-2 rounded-full transition-all duration-300 ease-out\",\n                                    style: {\n                                        width: `${discoveryProgress}%`\n                                    }\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                    lineNumber: 456,\n                                    columnNumber: 15\n                                }, this)\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 455,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                        lineNumber: 450,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                lineNumber: 427,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"card\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center justify-between mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900\",\n                                children: \"Cluster Machines\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 468,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                type: \"button\",\n                                onClick: deployToSelected,\n                                disabled: machines.filter((m)=>m.selected && m.sshStatus === \"connected\").length === 0,\n                                className: \"btn-primary flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n                                        className: \"h-4 w-4 mr-2\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                        lineNumber: 475,\n                                        columnNumber: 13\n                                    }, this),\n                                    \"Deploy to Selected\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 469,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                        lineNumber: 467,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"overflow-x-auto\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"table\", {\n                            className: \"min-w-full divide-y divide-gray-200\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"thead\", {\n                                    className: \"bg-gray-50\",\n                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"tr\", {\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"th\", {\n                                                className: \"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider\",\n                                                children: \"Select\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                lineNumber: 484,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"th\", {\n                                                className: \"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider\",\n                                                children: \"Machine\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                lineNumber: 487,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"th\", {\n                                                className: \"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider\",\n                                                children: \"Operating System\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                lineNumber: 490,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"th\", {\n                                                className: \"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider\",\n                                                children: \"IP Address\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                lineNumber: 493,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"th\", {\n                                                className: \"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider\",\n                                                children: \"SSH Status\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                lineNumber: 496,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"th\", {\n                                                className: \"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider\",\n                                                children: \"Deploy Status\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                lineNumber: 499,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"th\", {\n                                                className: \"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider\",\n                                                children: \"Actions\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                lineNumber: 502,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"th\", {\n                                                className: \"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider\",\n                                                children: \"Remove\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                lineNumber: 505,\n                                                columnNumber: 17\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                        lineNumber: 483,\n                                        columnNumber: 15\n                                    }, this)\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                    lineNumber: 482,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"tbody\", {\n                                    className: \"bg-white divide-y divide-gray-200\",\n                                    children: machines.map((machine)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"tr\", {\n                                            className: machine.selected ? \"bg-blue-50\" : \"\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"td\", {\n                                                    className: \"px-6 py-4 whitespace-nowrap\",\n                                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                                        type: \"checkbox\",\n                                                        checked: machine.selected,\n                                                        onChange: ()=>toggleMachineSelection(machine.id),\n                                                        className: \"h-4 w-4 text-bzzz-primary focus:ring-bzzz-primary border-gray-300 rounded\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                        lineNumber: 514,\n                                                        columnNumber: 21\n                                                    }, this)\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                    lineNumber: 513,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"td\", {\n                                                    className: \"px-6 py-4 whitespace-nowrap\",\n                                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        children: [\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                                className: \"text-sm font-medium text-gray-900\",\n                                                                children: machine.hostname\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                lineNumber: 523,\n                                                                columnNumber: 23\n                                                            }, this),\n                                                            machine.systemInfo && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                                className: \"text-xs text-gray-500\",\n                                                                children: [\n                                                                    machine.systemInfo.cpu,\n                                                                    \" cores • \",\n                                                                    machine.systemInfo.memory,\n                                                                    \"GB RAM • \",\n                                                                    machine.systemInfo.disk,\n                                                                    \"GB disk\"\n                                                                ]\n                                                            }, void 0, true, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                lineNumber: 525,\n                                                                columnNumber: 25\n                                                            }, this)\n                                                        ]\n                                                    }, void 0, true, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                        lineNumber: 522,\n                                                        columnNumber: 21\n                                                    }, this)\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                    lineNumber: 521,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"td\", {\n                                                    className: \"px-6 py-4 whitespace-nowrap\",\n                                                    children: [\n                                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                            className: \"text-sm text-gray-900\",\n                                                            children: machine.os\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                            lineNumber: 532,\n                                                            columnNumber: 21\n                                                        }, this),\n                                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                            className: \"text-xs text-gray-500\",\n                                                            children: machine.osVersion\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                            lineNumber: 533,\n                                                            columnNumber: 21\n                                                        }, this)\n                                                    ]\n                                                }, void 0, true, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                    lineNumber: 531,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"td\", {\n                                                    className: \"px-6 py-4 whitespace-nowrap text-sm text-gray-900\",\n                                                    children: machine.ip\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                    lineNumber: 535,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"td\", {\n                                                    className: \"px-6 py-4 whitespace-nowrap\",\n                                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"flex items-center\",\n                                                        children: [\n                                                            getStatusIcon(machine.sshStatus),\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                                className: \"ml-2 text-sm text-gray-900 capitalize\",\n                                                                children: machine.sshStatus.replace(\"_\", \" \")\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                lineNumber: 541,\n                                                                columnNumber: 23\n                                                            }, this)\n                                                        ]\n                                                    }, void 0, true, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                        lineNumber: 539,\n                                                        columnNumber: 21\n                                                    }, this)\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                    lineNumber: 538,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"td\", {\n                                                    className: \"px-6 py-4 whitespace-nowrap\",\n                                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"flex items-center\",\n                                                        children: [\n                                                            getStatusIcon(machine.deployStatus),\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                                className: \"ml-2 flex-1\",\n                                                                children: [\n                                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                                        className: \"text-sm text-gray-900 capitalize\",\n                                                                        children: machine.deployStatus.replace(\"_\", \" \")\n                                                                    }, void 0, false, {\n                                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                        lineNumber: 550,\n                                                                        columnNumber: 25\n                                                                    }, this),\n                                                                    machine.deployStatus === \"installing\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                                        className: \"mt-1\",\n                                                                        children: [\n                                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                                                className: \"text-xs text-gray-500 mb-1\",\n                                                                                children: machine.deployStep || \"Deploying...\"\n                                                                            }, void 0, false, {\n                                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                                lineNumber: 555,\n                                                                                columnNumber: 29\n                                                                            }, this),\n                                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                                                className: \"w-full bg-gray-200 rounded-full h-2\",\n                                                                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                                                    className: \"bg-blue-500 h-2 rounded-full transition-all duration-300\",\n                                                                                    style: {\n                                                                                        width: `${machine.deployProgress || 0}%`\n                                                                                    }\n                                                                                }, void 0, false, {\n                                                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                                    lineNumber: 559,\n                                                                                    columnNumber: 31\n                                                                                }, this)\n                                                                            }, void 0, false, {\n                                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                                lineNumber: 558,\n                                                                                columnNumber: 29\n                                                                            }, this),\n                                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                                                className: \"text-xs text-gray-500 mt-1\",\n                                                                                children: [\n                                                                                    machine.deployProgress || 0,\n                                                                                    \"%\"\n                                                                                ]\n                                                                            }, void 0, true, {\n                                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                                lineNumber: 564,\n                                                                                columnNumber: 29\n                                                                            }, this)\n                                                                        ]\n                                                                    }, void 0, true, {\n                                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                        lineNumber: 554,\n                                                                        columnNumber: 27\n                                                                    }, this)\n                                                                ]\n                                                            }, void 0, true, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                lineNumber: 549,\n                                                                columnNumber: 23\n                                                            }, this)\n                                                        ]\n                                                    }, void 0, true, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                        lineNumber: 547,\n                                                        columnNumber: 21\n                                                    }, this)\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                    lineNumber: 546,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"td\", {\n                                                    className: \"px-6 py-4 whitespace-nowrap text-sm font-medium space-x-2\",\n                                                    children: [\n                                                        machine.id !== \"localhost\" && machine.sshStatus !== \"connected\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                            type: \"button\",\n                                                            onClick: ()=>testSSHConnection(machine.id),\n                                                            className: \"text-blue-600 hover:text-blue-900\",\n                                                            disabled: machine.sshStatus === \"testing\",\n                                                            children: \"Test SSH\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                            lineNumber: 574,\n                                                            columnNumber: 23\n                                                        }, this),\n                                                        machine.sshStatus === \"connected\" && machine.deployStatus === \"not_deployed\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                            type: \"button\",\n                                                            onClick: ()=>deployToMachine(machine.id),\n                                                            className: \"text-green-600 hover:text-green-900\",\n                                                            children: \"Install\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                            lineNumber: 585,\n                                                            columnNumber: 23\n                                                        }, this),\n                                                        machine.deployStatus !== \"not_deployed\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {\n                                                            children: [\n                                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                                    type: \"button\",\n                                                                    onClick: ()=>setShowLogs(machine.id),\n                                                                    className: \"text-gray-600 hover:text-gray-900 mr-2\",\n                                                                    title: \"View deployment logs\",\n                                                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n                                                                        className: \"h-4 w-4 inline\"\n                                                                    }, void 0, false, {\n                                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                        lineNumber: 602,\n                                                                        columnNumber: 27\n                                                                    }, this)\n                                                                }, void 0, false, {\n                                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                    lineNumber: 596,\n                                                                    columnNumber: 25\n                                                                }, this),\n                                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                                    type: \"button\",\n                                                                    onClick: ()=>setShowConsole(machine.id),\n                                                                    className: \"text-blue-600 hover:text-blue-900\",\n                                                                    title: \"Open deployment console\",\n                                                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n                                                                        className: \"h-4 w-4 inline\"\n                                                                    }, void 0, false, {\n                                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                        lineNumber: 610,\n                                                                        columnNumber: 27\n                                                                    }, this)\n                                                                }, void 0, false, {\n                                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                                    lineNumber: 604,\n                                                                    columnNumber: 25\n                                                                }, this)\n                                                            ]\n                                                        }, void 0, true)\n                                                    ]\n                                                }, void 0, true, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                    lineNumber: 572,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"td\", {\n                                                    className: \"px-6 py-4 whitespace-nowrap text-sm font-medium\",\n                                                    children: machine.id !== \"localhost\" && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                                        type: \"button\",\n                                                        onClick: ()=>removeMachine(machine.id),\n                                                        className: \"text-red-600 hover:text-red-900 p-1 rounded hover:bg-red-50\",\n                                                        title: \"Remove machine\",\n                                                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_11__[\"default\"], {\n                                                            className: \"h-4 w-4\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                            lineNumber: 623,\n                                                            columnNumber: 25\n                                                        }, this)\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                        lineNumber: 617,\n                                                        columnNumber: 23\n                                                    }, this)\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                    lineNumber: 615,\n                                                    columnNumber: 19\n                                                }, this)\n                                            ]\n                                        }, machine.id, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                            lineNumber: 512,\n                                            columnNumber: 17\n                                        }, this))\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                    lineNumber: 510,\n                                    columnNumber: 13\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                            lineNumber: 481,\n                            columnNumber: 11\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                        lineNumber: 480,\n                        columnNumber: 9\n                    }, this),\n                    machines.length === 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"text-center py-8\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                className: \"h-12 w-12 text-gray-400 mx-auto mb-4\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 635,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                className: \"text-gray-500\",\n                                children: 'No machines discovered yet. Click \"Discover Machines\" to scan your network.'\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 636,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                        lineNumber: 634,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                lineNumber: 466,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"card\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4 flex items-center\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 644,\n                                columnNumber: 11\n                            }, this),\n                            \"Deployment Configuration\"\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                        lineNumber: 643,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"grid grid-cols-1 md:grid-cols-2 gap-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                    className: \"flex items-center\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                            type: \"checkbox\",\n                                            checked: config.autoStart,\n                                            onChange: (e)=>setConfig((prev)=>({\n                                                        ...prev,\n                                                        autoStart: e.target.checked\n                                                    })),\n                                            className: \"mr-2\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                            lineNumber: 651,\n                                            columnNumber: 15\n                                        }, this),\n                                        \"Auto-start services after deployment\"\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                    lineNumber: 650,\n                                    columnNumber: 13\n                                }, this)\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 649,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                                        className: \"block text-sm font-medium text-gray-700 mb-2\",\n                                        children: \"Health Check Interval (seconds)\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                        lineNumber: 662,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                        type: \"number\",\n                                        value: config.healthCheckInterval,\n                                        onChange: (e)=>setConfig((prev)=>({\n                                                    ...prev,\n                                                    healthCheckInterval: parseInt(e.target.value)\n                                                })),\n                                        min: \"10\",\n                                        max: \"300\",\n                                        className: \"input-field\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                        lineNumber: 665,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 661,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                        lineNumber: 648,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                lineNumber: 642,\n                columnNumber: 7\n            }, this),\n            showLogs && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50\",\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"bg-white rounded-lg p-6 max-w-2xl w-full max-h-96 overflow-auto\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex justify-between items-center mb-4\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                    className: \"text-lg font-medium\",\n                                    children: [\n                                        \"Deployment Logs - \",\n                                        machines.find((m)=>m.id === showLogs)?.hostname\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                    lineNumber: 682,\n                                    columnNumber: 15\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                    onClick: ()=>setShowLogs(null),\n                                    className: \"text-gray-400 hover:text-gray-600\",\n                                    children: \"✕\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                    lineNumber: 683,\n                                    columnNumber: 15\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                            lineNumber: 681,\n                            columnNumber: 13\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"bg-gray-900 text-green-400 p-4 rounded font-mono text-sm max-h-64 overflow-y-auto\",\n                            children: deploymentLogs[showLogs]?.map((log, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    children: log\n                                }, index, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                    lineNumber: 689,\n                                    columnNumber: 17\n                                }, this)) || /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: \"No logs available\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 690,\n                                columnNumber: 21\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                            lineNumber: 687,\n                            columnNumber: 13\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                    lineNumber: 680,\n                    columnNumber: 11\n                }, this)\n            }, void 0, false, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                lineNumber: 679,\n                columnNumber: 9\n            }, this),\n            showConsole && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50\",\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"bg-gray-900 rounded-lg overflow-hidden max-w-4xl w-full max-h-[80vh] flex flex-col\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"bg-gray-800 px-4 py-3 flex justify-between items-center border-b border-gray-700\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"flex items-center\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CloudArrowDownIcon_Cog6ToothIcon_ComputerDesktopIcon_DocumentTextIcon_ExclamationTriangleIcon_ServerIcon_StopIcon_XCircleIcon_XMarkIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_10__[\"default\"], {\n                                            className: \"h-5 w-5 text-green-400 mr-2\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                            lineNumber: 702,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                            className: \"text-lg font-medium text-white\",\n                                            children: [\n                                                \"SSH Console - \",\n                                                machines.find((m)=>m.id === showConsole)?.hostname\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                            lineNumber: 703,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                            className: \"ml-2 text-sm text-gray-400\",\n                                            children: [\n                                                \"(\",\n                                                machines.find((m)=>m.id === showConsole)?.ip,\n                                                \")\"\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                            lineNumber: 706,\n                                            columnNumber: 17\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                    lineNumber: 701,\n                                    columnNumber: 15\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"flex items-center space-x-2\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"flex items-center space-x-1\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"w-2 h-2 bg-red-500 rounded-full\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                    lineNumber: 712,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"w-2 h-2 bg-yellow-500 rounded-full\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                    lineNumber: 713,\n                                                    columnNumber: 19\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"w-2 h-2 bg-green-500 rounded-full\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                                    lineNumber: 714,\n                                                    columnNumber: 19\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                            lineNumber: 711,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                            onClick: ()=>setShowConsole(null),\n                                            className: \"text-gray-400 hover:text-white ml-4\",\n                                            children: \"✕\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                            lineNumber: 716,\n                                            columnNumber: 17\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                    lineNumber: 710,\n                                    columnNumber: 15\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                            lineNumber: 700,\n                            columnNumber: 13\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex-1 p-4 font-mono text-sm overflow-y-auto bg-gray-900\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"text-green-400 space-y-1\",\n                                children: [\n                                    consoleLogs[showConsole]?.length > 0 ? consoleLogs[showConsole].map((log, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"whitespace-pre-wrap\",\n                                            children: log\n                                        }, index, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                            lineNumber: 728,\n                                            columnNumber: 21\n                                        }, this)) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-gray-500\",\n                                        children: \"Waiting for deployment to start...\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                        lineNumber: 731,\n                                        columnNumber: 19\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"inline-block w-2 h-4 bg-green-400 animate-pulse\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                        lineNumber: 734,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 725,\n                                columnNumber: 15\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                            lineNumber: 724,\n                            columnNumber: 13\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"bg-gray-800 px-4 py-2 border-t border-gray-700\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"text-xs text-gray-400\",\n                                children: \"\\uD83D\\uDCA1 This console shows real-time deployment progress and SSH operations\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                                lineNumber: 738,\n                                columnNumber: 15\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                            lineNumber: 737,\n                            columnNumber: 13\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                    lineNumber: 699,\n                    columnNumber: 11\n                }, this)\n            }, void 0, false, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                lineNumber: 698,\n                columnNumber: 9\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex justify-between pt-6 border-t border-gray-200\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: onBack && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            type: \"button\",\n                            onClick: onBack,\n                            className: \"btn-outline\",\n                            children: \"Back\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                            lineNumber: 749,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                        lineNumber: 747,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        type: \"submit\",\n                        className: \"btn-primary\",\n                        children: isCompleted ? \"Continue\" : \"Next: Cluster Formation\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                        lineNumber: 754,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n                lineNumber: 746,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/ServiceDeployment.tsx\",\n        lineNumber: 410,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 63648 characters]\n//# sourceURL=webpack-internal:///(ssr)/./app/setup/components/ServiceDeployment.tsx\n");

/***/ }),

/***/ "(ssr)/./app/setup/components/SystemDetection.tsx":
/*!**************************************************!*\
  !*** ./app/setup/components/SystemDetection.tsx ***!
  \**************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ SystemDetection)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CircleStackIcon,CpuChipIcon,ExclamationTriangleIcon,GlobeAltIcon,ServerIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CircleStackIcon,CpuChipIcon,ExclamationTriangleIcon,GlobeAltIcon,ServerIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ExclamationTriangleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CircleStackIcon,CpuChipIcon,ExclamationTriangleIcon,GlobeAltIcon,ServerIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ArrowPathIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CircleStackIcon,CpuChipIcon,ExclamationTriangleIcon,GlobeAltIcon,ServerIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CpuChipIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CircleStackIcon,CpuChipIcon,ExclamationTriangleIcon,GlobeAltIcon,ServerIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CircleStackIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CircleStackIcon,CpuChipIcon,ExclamationTriangleIcon,GlobeAltIcon,ServerIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ServerIcon.js\");\n/* harmony import */ var _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! __barrel_optimize__?names=ArrowPathIcon,CheckCircleIcon,CircleStackIcon,CpuChipIcon,ExclamationTriangleIcon,GlobeAltIcon,ServerIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/GlobeAltIcon.js\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\nfunction SystemDetection({ systemInfo, configData, onComplete, onBack, isCompleted }) {\n    const [loading, setLoading] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(!systemInfo);\n    const [refreshing, setRefreshing] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const [detectedInfo, setDetectedInfo] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(systemInfo);\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        if (!detectedInfo) {\n            refreshSystemInfo();\n        }\n    }, []);\n    const refreshSystemInfo = async ()=>{\n        setRefreshing(true);\n        try {\n            const response = await fetch(\"/api/setup/system\");\n            if (response.ok) {\n                const result = await response.json();\n                setDetectedInfo(result.system_info);\n            }\n        } catch (error) {\n            console.error(\"Failed to detect system info:\", error);\n        } finally{\n            setLoading(false);\n            setRefreshing(false);\n        }\n    };\n    const handleContinue = ()=>{\n        if (detectedInfo) {\n            onComplete({\n                system: detectedInfo,\n                validated: true\n            });\n        }\n    };\n    const getStatusColor = (condition)=>{\n        return condition ? \"text-green-600\" : \"text-red-600\";\n    };\n    const getStatusIcon = (condition)=>{\n        return condition ? _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"] : _barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"];\n    };\n    if (loading) {\n        return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n            className: \"flex items-center justify-center py-12\",\n            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"text-center\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                        className: \"h-8 w-8 text-bzzz-primary animate-spin mx-auto mb-4\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 108,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                        className: \"text-gray-600\",\n                        children: \"Detecting system configuration...\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 109,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                lineNumber: 107,\n                columnNumber: 9\n            }, this)\n        }, void 0, false, {\n            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n            lineNumber: 106,\n            columnNumber: 7\n        }, this);\n    }\n    if (!detectedInfo) {\n        return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n            className: \"text-center py-12\",\n            children: [\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                    className: \"h-12 w-12 text-red-500 mx-auto mb-4\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                    lineNumber: 118,\n                    columnNumber: 9\n                }, this),\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                    className: \"text-lg font-medium text-gray-900 mb-2\",\n                    children: \"System Detection Failed\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                    lineNumber: 119,\n                    columnNumber: 9\n                }, this),\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                    className: \"text-gray-600 mb-4\",\n                    children: \"Unable to detect system configuration. Please try again.\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                    lineNumber: 122,\n                    columnNumber: 9\n                }, this),\n                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                    onClick: refreshSystemInfo,\n                    disabled: refreshing,\n                    className: \"btn-primary\",\n                    children: refreshing ? \"Retrying...\" : \"Retry Detection\"\n                }, void 0, false, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                    lineNumber: 125,\n                    columnNumber: 9\n                }, this)\n            ]\n        }, void 0, true, {\n            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n            lineNumber: 117,\n            columnNumber: 7\n        }, this);\n    }\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"space-y-6\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-gray-50 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center justify-between mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900\",\n                                children: \"System Overview\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 141,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                onClick: refreshSystemInfo,\n                                disabled: refreshing,\n                                className: \"text-bzzz-primary hover:text-bzzz-primary/80 transition-colors\",\n                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                    className: `h-5 w-5 ${refreshing ? \"animate-spin\" : \"\"}`\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                    lineNumber: 147,\n                                    columnNumber: 13\n                                }, this)\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 142,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 140,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"grid grid-cols-1 md:grid-cols-2 gap-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-sm font-medium text-gray-700\",\n                                        children: \"Hostname\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 153,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-lg text-gray-900\",\n                                        children: detectedInfo.network.hostname\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 154,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 152,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-sm font-medium text-gray-700\",\n                                        children: \"Operating System\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 157,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-lg text-gray-900\",\n                                        children: [\n                                            detectedInfo.os,\n                                            \" (\",\n                                            detectedInfo.architecture,\n                                            \")\"\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 158,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 156,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 151,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                lineNumber: 139,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"grid grid-cols-1 md:grid-cols-2 gap-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center mb-4\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n                                        className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 170,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                        className: \"text-lg font-medium text-gray-900\",\n                                        children: \"CPU & Memory\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 171,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 169,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"space-y-3\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"text-sm font-medium text-gray-700\",\n                                                children: \"CPU\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                lineNumber: 176,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"text-gray-900\",\n                                                children: [\n                                                    detectedInfo.cpu_cores,\n                                                    \" cores\"\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                lineNumber: 177,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 175,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"text-sm font-medium text-gray-700\",\n                                                children: \"Memory\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                lineNumber: 182,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"text-gray-900\",\n                                                children: [\n                                                    Math.round(detectedInfo.memory_mb / 1024),\n                                                    \" GB total\"\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                lineNumber: 183,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 181,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 174,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 168,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center mb-4\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n                                        className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 193,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                        className: \"text-lg font-medium text-gray-900\",\n                                        children: \"Storage\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 194,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 192,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"space-y-3\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"text-sm font-medium text-gray-700\",\n                                                children: \"Disk Space\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                lineNumber: 199,\n                                                columnNumber: 15\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"text-gray-900\",\n                                                children: [\n                                                    detectedInfo.storage.total_space_gb,\n                                                    \" GB total, \",\n                                                    \" \",\n                                                    detectedInfo.storage.free_space_gb,\n                                                    \" GB available\"\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                lineNumber: 200,\n                                                columnNumber: 15\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 198,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"w-full bg-gray-200 rounded-full h-2\",\n                                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"bg-bzzz-primary h-2 rounded-full\",\n                                            style: {\n                                                width: `${(detectedInfo.storage.total_space_gb - detectedInfo.storage.free_space_gb) / detectedInfo.storage.total_space_gb * 100}%`\n                                            }\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                            lineNumber: 206,\n                                            columnNumber: 15\n                                        }, this)\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 205,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 197,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 191,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                lineNumber: 166,\n                columnNumber: 7\n            }, this),\n            detectedInfo.gpus && detectedInfo.gpus.length > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 221,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900\",\n                                children: [\n                                    \"GPU Configuration (\",\n                                    detectedInfo.gpus.length,\n                                    \" GPU\",\n                                    detectedInfo.gpus.length !== 1 ? \"s\" : \"\",\n                                    \")\"\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 222,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 220,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"grid grid-cols-1 md:grid-cols-2 gap-4\",\n                        children: detectedInfo.gpus.map((gpu, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"bg-gray-50 rounded-lg p-4\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"font-medium text-gray-900\",\n                                        children: gpu.name\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 230,\n                                        columnNumber: 17\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-sm text-gray-600\",\n                                        children: [\n                                            gpu.type.toUpperCase(),\n                                            \" • \",\n                                            gpu.memory,\n                                            \" • \",\n                                            gpu.driver\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 231,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, index, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 229,\n                                columnNumber: 15\n                            }, this))\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 227,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                lineNumber: 219,\n                columnNumber: 9\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_ArrowPathIcon_CheckCircleIcon_CircleStackIcon_CpuChipIcon_ExclamationTriangleIcon_GlobeAltIcon_ServerIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 243,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900\",\n                                children: \"Network Configuration\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 244,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 242,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-3\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-sm font-medium text-gray-700\",\n                                        children: \"Hostname\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 249,\n                                        columnNumber: 13\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-gray-900\",\n                                        children: detectedInfo.network.hostname\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 250,\n                                        columnNumber: 13\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 248,\n                                columnNumber: 11\n                            }, this),\n                            detectedInfo.network.private_ips && detectedInfo.network.private_ips.length > 0 && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-sm font-medium text-gray-700 mb-2\",\n                                        children: \"Private IP Addresses\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 255,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"space-y-2\",\n                                        children: detectedInfo.network.private_ips.map((ip, index)=>/*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"flex justify-between items-center text-sm\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                        children: ip\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                        lineNumber: 259,\n                                                        columnNumber: 21\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                        className: \"status-indicator status-online\",\n                                                        children: \"active\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                        lineNumber: 260,\n                                                        columnNumber: 21\n                                                    }, this)\n                                                ]\n                                            }, index, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                lineNumber: 258,\n                                                columnNumber: 19\n                                            }, this))\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 256,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 254,\n                                columnNumber: 13\n                            }, this),\n                            detectedInfo.network.public_ip && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-sm font-medium text-gray-700\",\n                                        children: \"Public IP\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 269,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"text-gray-900\",\n                                        children: detectedInfo.network.public_ip\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 270,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 268,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 247,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                lineNumber: 241,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-white border border-gray-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-4\",\n                        children: \"Software Requirements\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 278,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-4\",\n                        children: [\n                            {\n                                name: \"Docker\",\n                                installed: detectedInfo.docker.available,\n                                version: detectedInfo.docker.version,\n                                required: true\n                            },\n                            {\n                                name: \"Docker Compose\",\n                                installed: detectedInfo.docker.compose_available,\n                                version: undefined,\n                                required: false\n                            },\n                            {\n                                name: \"Docker Swarm\",\n                                installed: detectedInfo.docker.swarm_mode,\n                                version: undefined,\n                                required: false\n                            }\n                        ].map((software, index)=>{\n                            const StatusIcon = getStatusIcon(software.installed);\n                            return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center justify-between\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex items-center\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(StatusIcon, {\n                                                className: `h-5 w-5 mr-3 ${getStatusColor(software.installed)}`\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                lineNumber: 305,\n                                                columnNumber: 19\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"font-medium text-gray-900\",\n                                                        children: software.name\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                        lineNumber: 307,\n                                                        columnNumber: 21\n                                                    }, this),\n                                                    software.version && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"text-sm text-gray-600\",\n                                                        children: [\n                                                            \"Version: \",\n                                                            software.version\n                                                        ]\n                                                    }, void 0, true, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                        lineNumber: 309,\n                                                        columnNumber: 23\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                lineNumber: 306,\n                                                columnNumber: 19\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 304,\n                                        columnNumber: 17\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex items-center\",\n                                        children: [\n                                            software.required && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                className: \"text-xs bg-bzzz-primary text-white px-2 py-1 rounded mr-2\",\n                                                children: \"Required\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                lineNumber: 315,\n                                                columnNumber: 21\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                className: `text-sm font-medium ${getStatusColor(software.installed)}`,\n                                                children: software.installed ? \"Installed\" : \"Missing\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                lineNumber: 319,\n                                                columnNumber: 19\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 313,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, index, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 303,\n                                columnNumber: 15\n                            }, this);\n                        })\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 280,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                lineNumber: 277,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"bg-blue-50 border border-blue-200 rounded-lg p-6\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-blue-900 mb-4\",\n                        children: \"System Validation\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 331,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"space-y-2\",\n                        children: [\n                            {\n                                check: \"Minimum memory (2GB required)\",\n                                passed: detectedInfo.memory_mb >= 2048,\n                                warning: detectedInfo.memory_mb < 4096\n                            },\n                            {\n                                check: \"Available disk space (10GB required)\",\n                                passed: detectedInfo.storage.free_space_gb >= 10\n                            },\n                            {\n                                check: \"Docker installed and running\",\n                                passed: detectedInfo.docker.available\n                            }\n                        ].map((validation, index)=>{\n                            const StatusIcon = getStatusIcon(validation.passed);\n                            return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(StatusIcon, {\n                                        className: `h-4 w-4 mr-3 ${validation.passed ? \"text-green-600\" : \"text-red-600\"}`\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 352,\n                                        columnNumber: 17\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                        className: `text-sm ${validation.passed ? \"text-green-800\" : \"text-red-800\"}`,\n                                        children: [\n                                            validation.check,\n                                            validation.warning && validation.passed && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                                className: \"text-yellow-600 ml-2\",\n                                                children: \"(Warning: Recommend 4GB+)\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                                lineNumber: 364,\n                                                columnNumber: 21\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                        lineNumber: 357,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, index, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 351,\n                                columnNumber: 15\n                            }, this);\n                        })\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 333,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                lineNumber: 330,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex justify-between pt-6 border-t border-gray-200\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: onBack && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: onBack,\n                            className: \"btn-outline\",\n                            children: \"Back\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                            lineNumber: 377,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 375,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex space-x-3\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                onClick: refreshSystemInfo,\n                                disabled: refreshing,\n                                className: \"btn-outline\",\n                                children: refreshing ? \"Refreshing...\" : \"Refresh\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 384,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                onClick: handleContinue,\n                                className: \"btn-primary\",\n                                disabled: !detectedInfo.docker.available,\n                                children: isCompleted ? \"Continue\" : \"Next: Repository Setup\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                                lineNumber: 392,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                        lineNumber: 383,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n                lineNumber: 374,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/SystemDetection.tsx\",\n        lineNumber: 137,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 28456 characters]\n//# sourceURL=webpack-internal:///(ssr)/./app/setup/components/SystemDetection.tsx\n");

/***/ }),

/***/ "(ssr)/./app/setup/components/TermsAndConditions.tsx":
/*!*****************************************************!*\
  !*** ./app/setup/components/TermsAndConditions.tsx ***!
  \*****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ TermsAndConditions)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentTextIcon,ExclamationTriangleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/DocumentTextIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentTextIcon,ExclamationTriangleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ExclamationTriangleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,DocumentTextIcon,ExclamationTriangleIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\nfunction TermsAndConditions({ systemInfo, configData, onComplete, onBack, isCompleted }) {\n    const [agreed, setAgreed] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(configData?.terms?.agreed || false);\n    const [error, setError] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(\"\");\n    const handleSubmit = (e)=>{\n        e.preventDefault();\n        if (!agreed) {\n            setError(\"You must agree to the Terms and Conditions to continue\");\n            return;\n        }\n        setError(\"\");\n        onComplete({\n            terms: {\n                agreed: true,\n                timestamp: new Date().toISOString()\n            }\n        });\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"form\", {\n        onSubmit: handleSubmit,\n        className: \"space-y-8\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"card\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"flex items-center mb-4\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n                                className: \"h-6 w-6 text-bzzz-primary mr-2\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                lineNumber: 51,\n                                columnNumber: 11\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                className: \"text-lg font-medium text-gray-900\",\n                                children: \"CHORUS:agents Software License Agreement\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                lineNumber: 52,\n                                columnNumber: 11\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                        lineNumber: 50,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"bg-gray-50 border border-gray-200 rounded-lg p-6 max-h-96 overflow-y-auto\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"prose prose-sm max-w-none text-gray-700\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                    className: \"text-base font-semibold text-gray-900 mb-3\",\n                                    children: \"1. License Grant\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 57,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: \"mb-4\",\n                                    children: 'Subject to the terms and conditions of this Agreement, Chorus Services grants you a non-exclusive, non-transferable license to use CHORUS:agents (the \"Software\") for distributed AI coordination and task management.'\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 58,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                    className: \"text-base font-semibold text-gray-900 mb-3\",\n                                    children: \"2. Permitted Uses\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 63,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"ul\", {\n                                    className: \"list-disc list-inside mb-4 space-y-1\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: \"Install and operate CHORUS:agents on your infrastructure\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                            lineNumber: 65,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: \"Configure cluster nodes for distributed processing\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                            lineNumber: 66,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: \"Integrate with supported AI models and services\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                            lineNumber: 67,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: \"Use for commercial and non-commercial purposes\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                            lineNumber: 68,\n                                            columnNumber: 15\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 64,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                    className: \"text-base font-semibold text-gray-900 mb-3\",\n                                    children: \"3. Restrictions\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 71,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"ul\", {\n                                    className: \"list-disc list-inside mb-4 space-y-1\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: \"You may not redistribute, sublicense, or sell the Software\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                            lineNumber: 73,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: \"You may not reverse engineer or decompile the Software\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                            lineNumber: 74,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: \"You may not use the Software for illegal or harmful purposes\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                            lineNumber: 75,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"li\", {\n                                            children: \"You may not remove or modify proprietary notices\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                            lineNumber: 76,\n                                            columnNumber: 15\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 72,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                    className: \"text-base font-semibold text-gray-900 mb-3\",\n                                    children: \"4. Data Privacy\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 79,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: \"mb-4\",\n                                    children: \"CHORUS:agents processes data locally on your infrastructure. Chorus Services does not collect or store your operational data. Telemetry data may be collected for software improvement purposes.\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 80,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                    className: \"text-base font-semibold text-gray-900 mb-3\",\n                                    children: \"5. Support and Updates\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 85,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: \"mb-4\",\n                                    children: \"Licensed users receive access to software updates, security patches, and community support. Premium support tiers are available separately.\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 86,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                    className: \"text-base font-semibold text-gray-900 mb-3\",\n                                    children: \"6. Disclaimer of Warranty\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 91,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: \"mb-4\",\n                                    children: 'THE SOFTWARE IS PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND. CHORUS SERVICES DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.'\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 92,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                    className: \"text-base font-semibold text-gray-900 mb-3\",\n                                    children: \"7. Limitation of Liability\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 98,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: \"mb-4\",\n                                    children: \"IN NO EVENT SHALL CHORUS SERVICES BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THE SOFTWARE.\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 99,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                    className: \"text-base font-semibold text-gray-900 mb-3\",\n                                    children: \"8. Termination\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 104,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                    className: \"mb-4\",\n                                    children: \"This license is effective until terminated. You may terminate it at any time by uninstalling the Software. Chorus Services may terminate this license if you violate any terms of this Agreement.\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 105,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"bg-blue-50 border-l-4 border-blue-400 p-4 mt-6\",\n                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                                                className: \"h-5 w-5 text-blue-500 mt-0.5 mr-2\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                                lineNumber: 113,\n                                                columnNumber: 17\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"text-sm text-blue-700\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"strong\", {\n                                                            children: \"Contact Information:\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                                            lineNumber: 115,\n                                                            columnNumber: 22\n                                                        }, this)\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                                        lineNumber: 115,\n                                                        columnNumber: 19\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                                        children: [\n                                                            \"Chorus Services\",\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"br\", {}, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                                                lineNumber: 116,\n                                                                columnNumber: 37\n                                                            }, this),\n                                                            \"Email: legal@chorus.services\",\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"br\", {}, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                                                lineNumber: 117,\n                                                                columnNumber: 47\n                                                            }, this),\n                                                            \"Website: https://chorus.services\"\n                                                        ]\n                                                    }, void 0, true, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                                        lineNumber: 116,\n                                                        columnNumber: 19\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                                lineNumber: 114,\n                                                columnNumber: 17\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                        lineNumber: 112,\n                                        columnNumber: 15\n                                    }, this)\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 111,\n                                    columnNumber: 13\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                            lineNumber: 56,\n                            columnNumber: 11\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                        lineNumber: 55,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                lineNumber: 49,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"card\",\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"space-y-4\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"label\", {\n                            className: \"flex items-start\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"input\", {\n                                    type: \"checkbox\",\n                                    checked: agreed,\n                                    onChange: (e)=>setAgreed(e.target.checked),\n                                    className: \"mt-1 mr-3 h-4 w-4 text-bzzz-primary border-gray-300 rounded focus:ring-bzzz-primary\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 130,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"text-sm\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"span\", {\n                                            className: \"font-medium text-gray-900\",\n                                            children: \"I have read and agree to the Terms and Conditions\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                            lineNumber: 137,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                            className: \"text-gray-600 mt-1\",\n                                            children: \"By checking this box, you acknowledge that you have read, understood, and agree to be bound by the terms and conditions outlined above.\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                            lineNumber: 140,\n                                            columnNumber: 15\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 136,\n                                    columnNumber: 13\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                            lineNumber: 129,\n                            columnNumber: 11\n                        }, this),\n                        error && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex items-center text-red-600 text-sm\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n                                    className: \"h-4 w-4 mr-1\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 149,\n                                    columnNumber: 15\n                                }, this),\n                                error\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                            lineNumber: 148,\n                            columnNumber: 13\n                        }, this),\n                        agreed && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex items-center text-green-600 text-sm\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_DocumentTextIcon_ExclamationTriangleIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n                                    className: \"h-4 w-4 mr-1\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                                    lineNumber: 156,\n                                    columnNumber: 15\n                                }, this),\n                                \"Thank you for accepting the terms and conditions\"\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                            lineNumber: 155,\n                            columnNumber: 13\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                    lineNumber: 128,\n                    columnNumber: 9\n                }, this)\n            }, void 0, false, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                lineNumber: 127,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex justify-between pt-6 border-t border-gray-200\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: onBack && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            type: \"button\",\n                            onClick: onBack,\n                            className: \"btn-outline\",\n                            children: \"Back\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                            lineNumber: 166,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                        lineNumber: 164,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        type: \"submit\",\n                        disabled: !agreed,\n                        className: `${agreed ? \"btn-primary\" : \"btn-disabled\"}`,\n                        children: isCompleted ? \"Continue\" : \"Next: License Validation\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                        lineNumber: 171,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n                lineNumber: 163,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TermsAndConditions.tsx\",\n        lineNumber: 46,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 13864 characters]\n//# sourceURL=webpack-internal:///(ssr)/./app/setup/components/TermsAndConditions.tsx\n");

/***/ }),

/***/ "(ssr)/./app/setup/components/TestingValidation.tsx":
/*!****************************************************!*\
  !*** ./app/setup/components/TestingValidation.tsx ***!
  \****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ TestingValidation)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\nfunction TestingValidation({ systemInfo, configData, onComplete, onBack, isCompleted }) {\n    const [testing, setTesting] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);\n    const handleRunTests = async ()=>{\n        setTesting(true);\n        // Simulate testing process\n        await new Promise((resolve)=>setTimeout(resolve, 3000));\n        setTesting(false);\n        onComplete({\n            testing: {\n                passed: true,\n                completedAt: new Date().toISOString()\n            }\n        });\n    };\n    const getClusterDashboardUrl = ()=>{\n        // Get the WebUI port from config, default to 9090\n        const webuiPort = configData?.network?.ports?.webui || 9090;\n        return `http://localhost:${webuiPort}/dashboard`;\n    };\n    const handleGoToDashboard = ()=>{\n        const dashboardUrl = getClusterDashboardUrl();\n        // Clear setup state since we're done\n        localStorage.removeItem(\"bzzz-setup-state\");\n        // Open cluster dashboard in new tab\n        window.open(dashboardUrl, \"_blank\");\n        // Show completion message and suggest closing this tab\n        const shouldClose = window.confirm(\"Setup complete! The cluster dashboard has opened in a new tab.\\n\\n\" + \"You can now close this setup tab. Click OK to close automatically, or Cancel to keep it open.\");\n        if (shouldClose) {\n            window.close();\n        }\n    };\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"space-y-6\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"text-center py-12\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                        className: \"text-lg font-medium text-gray-900 mb-2\",\n                        children: \"Testing & Validation\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                        lineNumber: 64,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                        className: \"text-gray-600\",\n                        children: \"Validate your BZZZ cluster configuration and test all connections.\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                        lineNumber: 67,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"mt-8\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"bg-yellow-50 border border-yellow-200 rounded-lg p-4 text-yellow-800\",\n                            children: \"This component is under development. Testing and validation will be implemented here.\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                            lineNumber: 71,\n                            columnNumber: 11\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                        lineNumber: 70,\n                        columnNumber: 9\n                    }, this),\n                    !isCompleted && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"mt-8\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: handleRunTests,\n                            disabled: testing,\n                            className: \"btn-primary\",\n                            children: testing ? \"Running Tests...\" : \"Run Validation Tests\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                            lineNumber: 78,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                        lineNumber: 77,\n                        columnNumber: 11\n                    }, this),\n                    isCompleted && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"mt-8 bg-green-50 border border-green-200 rounded-lg p-6\",\n                        children: [\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h4\", {\n                                className: \"text-lg font-medium text-green-900 mb-2\",\n                                children: \"\\uD83C\\uDF89 Setup Complete!\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                                lineNumber: 90,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                className: \"text-green-700 mb-4\",\n                                children: \"Your CHORUS:agents cluster has been successfully configured and deployed.\"\n                            }, void 0, false, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                                lineNumber: 93,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"space-y-2 text-sm text-green-600 mb-4\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        children: \"✓ System configuration validated\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                                        lineNumber: 97,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        children: \"✓ Network connectivity tested\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                                        lineNumber: 98,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        children: \"✓ Services deployed to all nodes\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                                        lineNumber: 99,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        children: \"✓ Cluster formation completed\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                                        lineNumber: 100,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                                lineNumber: 96,\n                                columnNumber: 13\n                            }, this),\n                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"bg-blue-50 border border-blue-200 rounded-lg p-4\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"text-sm text-blue-800\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"strong\", {\n                                                children: \"Cluster Dashboard:\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                                                lineNumber: 104,\n                                                columnNumber: 17\n                                            }, this),\n                                            \" \",\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"code\", {\n                                                children: getClusterDashboardUrl()\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                                                lineNumber: 104,\n                                                columnNumber: 53\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                                        lineNumber: 103,\n                                        columnNumber: 15\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                        className: \"text-xs text-blue-600 mt-1\",\n                                        children: \"The setup process will be terminated and you'll be redirected to your operational cluster.\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                                        lineNumber: 106,\n                                        columnNumber: 15\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                                lineNumber: 102,\n                                columnNumber: 13\n                            }, this)\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                        lineNumber: 89,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                lineNumber: 63,\n                columnNumber: 7\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"flex justify-between pt-6 border-t border-gray-200\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        children: onBack && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: onBack,\n                            className: \"btn-outline\",\n                            children: \"Back\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                            lineNumber: 117,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                        lineNumber: 115,\n                        columnNumber: 9\n                    }, this),\n                    isCompleted && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                        onClick: handleGoToDashboard,\n                        className: \"btn-primary\",\n                        children: \"Go to Cluster Dashboard\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                        lineNumber: 124,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n                lineNumber: 114,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/components/TestingValidation.tsx\",\n        lineNumber: 62,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 8696 characters]\n//# sourceURL=webpack-internal:///(ssr)/./app/setup/components/TestingValidation.tsx\n");

/***/ }),

/***/ "(ssr)/./app/setup/page.tsx":
/*!****************************!*\
  !*** ./app/setup/page.tsx ***!
  \****************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ SetupPage)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_ChevronRightIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,ChevronRightIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js\");\n/* harmony import */ var _barrel_optimize_names_CheckCircleIcon_ChevronRightIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! __barrel_optimize__?names=CheckCircleIcon,ChevronRightIcon!=!@heroicons/react/24/outline */ \"(ssr)/./node_modules/@heroicons/react/24/outline/esm/ChevronRightIcon.js\");\n/* harmony import */ var _components_TermsAndConditions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/TermsAndConditions */ \"(ssr)/./app/setup/components/TermsAndConditions.tsx\");\n/* harmony import */ var _components_LicenseValidation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/LicenseValidation */ \"(ssr)/./app/setup/components/LicenseValidation.tsx\");\n/* harmony import */ var _components_SystemDetection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./components/SystemDetection */ \"(ssr)/./app/setup/components/SystemDetection.tsx\");\n/* harmony import */ var _components_RepositoryConfiguration__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./components/RepositoryConfiguration */ \"(ssr)/./app/setup/components/RepositoryConfiguration.tsx\");\n/* harmony import */ var _components_NetworkConfiguration__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./components/NetworkConfiguration */ \"(ssr)/./app/setup/components/NetworkConfiguration.tsx\");\n/* harmony import */ var _components_SecuritySetup__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./components/SecuritySetup */ \"(ssr)/./app/setup/components/SecuritySetup.tsx\");\n/* harmony import */ var _components_AIConfiguration__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./components/AIConfiguration */ \"(ssr)/./app/setup/components/AIConfiguration.tsx\");\n/* harmony import */ var _components_ServiceDeployment__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./components/ServiceDeployment */ \"(ssr)/./app/setup/components/ServiceDeployment.tsx\");\n/* harmony import */ var _components_ClusterFormation__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./components/ClusterFormation */ \"(ssr)/./app/setup/components/ClusterFormation.tsx\");\n/* harmony import */ var _components_TestingValidation__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./components/TestingValidation */ \"(ssr)/./app/setup/components/TestingValidation.tsx\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\n\n\n\n\n\n\n\n\n\n\n\nconst SETUP_STEPS = [\n    {\n        id: \"terms\",\n        title: \"Terms & Conditions\",\n        description: \"Review and accept the software license agreement\",\n        component: _components_TermsAndConditions__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n    },\n    {\n        id: \"license\",\n        title: \"License Validation\",\n        description: \"Validate your CHORUS license key and email\",\n        component: _components_LicenseValidation__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n    },\n    {\n        id: \"detection\",\n        title: \"System Detection\",\n        description: \"Detect hardware and validate installation\",\n        component: _components_SystemDetection__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n    },\n    {\n        id: \"repository\",\n        title: \"Repository Setup\",\n        description: \"Configure Git repository for task management\",\n        component: _components_RepositoryConfiguration__WEBPACK_IMPORTED_MODULE_5__[\"default\"]\n    },\n    {\n        id: \"network\",\n        title: \"Network Configuration\",\n        description: \"Configure network and firewall settings\",\n        component: _components_NetworkConfiguration__WEBPACK_IMPORTED_MODULE_6__[\"default\"]\n    },\n    {\n        id: \"security\",\n        title: \"Security Setup\",\n        description: \"Configure authentication and SSH access\",\n        component: _components_SecuritySetup__WEBPACK_IMPORTED_MODULE_7__[\"default\"]\n    },\n    {\n        id: \"ai\",\n        title: \"AI Integration\",\n        description: \"Configure OpenAI and Ollama/Parallama\",\n        component: _components_AIConfiguration__WEBPACK_IMPORTED_MODULE_8__[\"default\"]\n    },\n    {\n        id: \"deployment\",\n        title: \"Service Deployment\",\n        description: \"Deploy and configure CHORUS agent services\",\n        component: _components_ServiceDeployment__WEBPACK_IMPORTED_MODULE_9__[\"default\"]\n    },\n    {\n        id: \"cluster\",\n        title: \"Cluster Formation\",\n        description: \"Join or create CHORUS agent cluster\",\n        component: _components_ClusterFormation__WEBPACK_IMPORTED_MODULE_10__[\"default\"]\n    },\n    {\n        id: \"testing\",\n        title: \"Testing & Validation\",\n        description: \"Validate configuration and test connectivity\",\n        component: _components_TestingValidation__WEBPACK_IMPORTED_MODULE_11__[\"default\"]\n    }\n];\nfunction SetupPage() {\n    const [currentStep, setCurrentStep] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(0);\n    const [completedSteps, setCompletedSteps] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(new Set());\n    const [configData, setConfigData] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({});\n    const [systemInfo, setSystemInfo] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(null);\n    // Load persisted data and system information on mount\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        loadPersistedData();\n        fetchSystemInfo();\n    }, []);\n    // Save setup state to localStorage whenever it changes\n    (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(()=>{\n        saveSetupState();\n    }, [\n        currentStep,\n        completedSteps,\n        configData\n    ]);\n    const loadPersistedData = ()=>{\n        try {\n            const savedState = localStorage.getItem(\"chorus-setup-state\");\n            if (savedState) {\n                const state = JSON.parse(savedState);\n                setCurrentStep(state.currentStep || 0);\n                setCompletedSteps(new Set(state.completedSteps || []));\n                setConfigData(state.configData || {});\n            }\n        } catch (error) {\n            console.error(\"Failed to load persisted setup data:\", error);\n        }\n    };\n    const saveSetupState = ()=>{\n        try {\n            const state = {\n                currentStep,\n                completedSteps: Array.from(completedSteps),\n                configData,\n                timestamp: new Date().toISOString()\n            };\n            localStorage.setItem(\"chorus-setup-state\", JSON.stringify(state));\n        } catch (error) {\n            console.error(\"Failed to save setup state:\", error);\n        }\n    };\n    const clearPersistedData = ()=>{\n        try {\n            localStorage.removeItem(\"chorus-setup-state\");\n            // Reset state to initial values\n            setCurrentStep(0);\n            setCompletedSteps(new Set());\n            setConfigData({});\n        } catch (error) {\n            console.error(\"Failed to clear persisted data:\", error);\n        }\n    };\n    const fetchSystemInfo = async ()=>{\n        try {\n            const response = await fetch(\"/api/setup/system\");\n            if (response.ok) {\n                const result = await response.json();\n                setSystemInfo(result.system_info);\n            }\n        } catch (error) {\n            console.error(\"Failed to fetch system info:\", error);\n        }\n    };\n    const handleStepComplete = (stepIndex, data)=>{\n        console.log(\"Setup Page: Step complete\", {\n            stepIndex,\n            data,\n            currentConfigData: configData\n        });\n        setCompletedSteps((prev)=>new Set([\n                ...prev,\n                stepIndex\n            ]));\n        setConfigData((prev)=>{\n            const newConfigData = {\n                ...prev,\n                ...data\n            };\n            console.log(\"Setup Page: Updated configData\", {\n                prev,\n                data,\n                newConfigData\n            });\n            return newConfigData;\n        });\n        // Auto-advance to next step\n        if (stepIndex < SETUP_STEPS.length - 1) {\n            setCurrentStep(stepIndex + 1);\n        } else {\n            // Setup is complete, clear persisted data after a delay\n            setTimeout(()=>{\n                clearPersistedData();\n            }, 2000);\n        }\n    };\n    const handleStepBack = ()=>{\n        if (currentStep > 0) {\n            setCurrentStep(currentStep - 1);\n        }\n    };\n    const CurrentStepComponent = SETUP_STEPS[currentStep].component;\n    // Check if we're resuming from saved data\n    const isResuming = currentStep > 0 || completedSteps.size > 0 || Object.keys(configData).length > 0;\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n        className: \"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8\",\n        children: [\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"mb-8\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h1\", {\n                        className: \"heading-hero mb-3\",\n                        children: \"CHORUS Agent Setup\"\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                        lineNumber: 186,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                        className: \"text-body\",\n                        children: [\n                            \"Configure your distributed agent orchestration platform in \",\n                            SETUP_STEPS.length,\n                            \" simple steps.\"\n                        ]\n                    }, void 0, true, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                        lineNumber: 189,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                lineNumber: 185,\n                columnNumber: 7\n            }, this),\n            isResuming && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"mb-8 bg-chorus-secondary bg-opacity-20 border border-chorus-secondary rounded-lg p-6\",\n                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                    className: \"flex items-start justify-between\",\n                    children: [\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"flex items-start\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"flex-shrink-0\",\n                                    children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"svg\", {\n                                        className: \"h-5 w-5 text-chorus-secondary mt-0.5\",\n                                        fill: \"none\",\n                                        viewBox: \"0 0 24 24\",\n                                        stroke: \"currentColor\",\n                                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"path\", {\n                                            strokeLinecap: \"round\",\n                                            strokeLinejoin: \"round\",\n                                            strokeWidth: 2,\n                                            d: \"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                            lineNumber: 201,\n                                            columnNumber: 19\n                                        }, this)\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                        lineNumber: 200,\n                                        columnNumber: 17\n                                    }, this)\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                    lineNumber: 199,\n                                    columnNumber: 15\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"ml-3\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h3\", {\n                                            className: \"text-sm font-medium text-chorus-secondary\",\n                                            children: \"Setup Progress Restored\"\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                            lineNumber: 205,\n                                            columnNumber: 17\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                            className: \"text-small text-gray-300 mt-1\",\n                                            children: [\n                                                \"Your previous setup progress has been restored. You're currently on step \",\n                                                currentStep + 1,\n                                                \" of \",\n                                                SETUP_STEPS.length,\n                                                \".\",\n                                                completedSteps.size > 0 && ` You've completed ${completedSteps.size} step${completedSteps.size !== 1 ? \"s\" : \"\"}.`\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                            lineNumber: 208,\n                                            columnNumber: 17\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                    lineNumber: 204,\n                                    columnNumber: 15\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                            lineNumber: 198,\n                            columnNumber: 13\n                        }, this),\n                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                            onClick: clearPersistedData,\n                            className: \"btn-text\",\n                            children: \"Start Over\"\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                            lineNumber: 214,\n                            columnNumber: 13\n                        }, this)\n                    ]\n                }, void 0, true, {\n                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                    lineNumber: 197,\n                    columnNumber: 11\n                }, this)\n            }, void 0, false, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                lineNumber: 196,\n                columnNumber: 9\n            }, this),\n            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"grid grid-cols-1 lg:grid-cols-4 gap-12\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"lg:col-span-1\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"card sticky top-8\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h2\", {\n                                    className: \"heading-subsection mb-6\",\n                                    children: \"Setup Progress\"\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                    lineNumber: 228,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"nav\", {\n                                    className: \"space-y-2\",\n                                    children: SETUP_STEPS.map((step, index)=>{\n                                        const isCompleted = completedSteps.has(index);\n                                        const isCurrent = index === currentStep;\n                                        const isAccessible = index <= currentStep || completedSteps.has(index);\n                                        return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"button\", {\n                                            onClick: ()=>isAccessible && setCurrentStep(index),\n                                            disabled: !isAccessible,\n                                            className: `w-full text-left progress-step ${isCurrent ? \"progress-step-current\" : isCompleted ? \"progress-step-completed\" : isAccessible ? \"progress-step-accessible\" : \"progress-step-disabled\"}`,\n                                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"flex items-center\",\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"flex-shrink-0 mr-3\",\n                                                        children: isCompleted ? /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_ChevronRightIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n                                                            className: \"h-5 w-5 text-green-400\"\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                                            lineNumber: 255,\n                                                            columnNumber: 27\n                                                        }, this) : /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                            className: `w-5 h-5 rounded-full border-2 flex items-center justify-center text-xs font-medium ${isCurrent ? \"border-chorus-secondary bg-chorus-secondary text-white\" : \"border-gray-600 text-gray-500\"}`,\n                                                            children: index + 1\n                                                        }, void 0, false, {\n                                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                                            lineNumber: 257,\n                                                            columnNumber: 27\n                                                        }, this)\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                                        lineNumber: 253,\n                                                        columnNumber: 23\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                        className: \"flex-1 min-w-0\",\n                                                        children: [\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                                className: \"text-sm font-medium truncate\",\n                                                                children: step.title\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                                                lineNumber: 267,\n                                                                columnNumber: 25\n                                                            }, this),\n                                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                                className: \"text-xs opacity-75 truncate\",\n                                                                children: step.description\n                                                            }, void 0, false, {\n                                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                                                lineNumber: 270,\n                                                                columnNumber: 25\n                                                            }, this)\n                                                        ]\n                                                    }, void 0, true, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                                        lineNumber: 266,\n                                                        columnNumber: 23\n                                                    }, this),\n                                                    isAccessible && !isCompleted && /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_barrel_optimize_names_CheckCircleIcon_ChevronRightIcon_heroicons_react_24_outline__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n                                                        className: \"h-4 w-4 opacity-50\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                                        lineNumber: 275,\n                                                        columnNumber: 25\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                                lineNumber: 252,\n                                                columnNumber: 21\n                                            }, this)\n                                        }, step.id, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                            lineNumber: 238,\n                                            columnNumber: 19\n                                        }, this);\n                                    })\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                    lineNumber: 231,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"mt-8 pt-6 border-t border-gray-800\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"text-small mb-3\",\n                                            children: [\n                                                \"Progress: \",\n                                                completedSteps.size,\n                                                \" of \",\n                                                SETUP_STEPS.length,\n                                                \" steps\"\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                            lineNumber: 284,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"w-full bg-gray-800 rounded-sm h-2\",\n                                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"bg-chorus-secondary h-2 rounded-sm transition-all duration-500\",\n                                                style: {\n                                                    width: `${completedSteps.size / SETUP_STEPS.length * 100}%`\n                                                }\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                                lineNumber: 288,\n                                                columnNumber: 17\n                                            }, this)\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                            lineNumber: 287,\n                                            columnNumber: 15\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                    lineNumber: 283,\n                                    columnNumber: 13\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                            lineNumber: 227,\n                            columnNumber: 11\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                        lineNumber: 226,\n                        columnNumber: 9\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                        className: \"lg:col-span-3\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"card\",\n                            children: [\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                    className: \"mb-8\",\n                                    children: [\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                            className: \"flex items-center justify-between mb-3\",\n                                            children: [\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h2\", {\n                                                    className: \"heading-section\",\n                                                    children: SETUP_STEPS[currentStep].title\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                                    lineNumber: 302,\n                                                    columnNumber: 17\n                                                }, this),\n                                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                    className: \"text-ghost\",\n                                                    children: [\n                                                        \"Step \",\n                                                        currentStep + 1,\n                                                        \" of \",\n                                                        SETUP_STEPS.length\n                                                    ]\n                                                }, void 0, true, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                                    lineNumber: 305,\n                                                    columnNumber: 17\n                                                }, this)\n                                            ]\n                                        }, void 0, true, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                            lineNumber: 301,\n                                            columnNumber: 15\n                                        }, this),\n                                        /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                            className: \"text-body\",\n                                            children: SETUP_STEPS[currentStep].description\n                                        }, void 0, false, {\n                                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                            lineNumber: 309,\n                                            columnNumber: 15\n                                        }, this)\n                                    ]\n                                }, void 0, true, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                    lineNumber: 300,\n                                    columnNumber: 13\n                                }, this),\n                                /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(CurrentStepComponent, {\n                                    systemInfo: systemInfo,\n                                    configData: configData,\n                                    onComplete: (data)=>handleStepComplete(currentStep, data),\n                                    onBack: currentStep > 0 ? handleStepBack : undefined,\n                                    isCompleted: completedSteps.has(currentStep)\n                                }, void 0, false, {\n                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                                    lineNumber: 314,\n                                    columnNumber: 13\n                                }, this)\n                            ]\n                        }, void 0, true, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                            lineNumber: 299,\n                            columnNumber: 11\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                        lineNumber: 298,\n                        columnNumber: 9\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n                lineNumber: 224,\n                columnNumber: 7\n            }, this)\n        ]\n    }, void 0, true, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx\",\n        lineNumber: 184,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 24472 characters]\n//# sourceURL=webpack-internal:///(ssr)/./app/setup/page.tsx\n");

/***/ }),

/***/ "(rsc)/./app/globals.css":
/*!*************************!*\
  !*** ./app/globals.css ***!
  \*************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (\"878fced55f8c\");\nif (false) {}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHJzYykvLi9hcHAvZ2xvYmFscy5jc3MiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLGlFQUFlLGNBQWM7QUFDN0IsSUFBSSxLQUFVLEVBQUUsRUFBdUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ienp6LWNvbmZpZy11aS8uL2FwcC9nbG9iYWxzLmNzcz9kZTVkIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IFwiODc4ZmNlZDU1ZjhjXCJcbmlmIChtb2R1bGUuaG90KSB7IG1vZHVsZS5ob3QuYWNjZXB0KCkgfVxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(rsc)/./app/globals.css\n");

/***/ }),

/***/ "(rsc)/./app/components/ThemeToggle.tsx":
/*!****************************************!*\
  !*** ./app/components/ThemeToggle.tsx ***!
  \****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   $$typeof: () => (/* binding */ $$typeof),
/* harmony export */   __esModule: () => (/* binding */ __esModule),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! next/dist/build/webpack/loaders/next-flight-loader/module-proxy */ "(rsc)/./node_modules/next/dist/build/webpack/loaders/next-flight-loader/module-proxy.js");

const proxy = (0,next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__.createProxy)(String.raw`/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/components/ThemeToggle.tsx`)

// Accessing the __esModule property and exporting $$typeof are required here.
// The __esModule getter forces the proxy target to create the default export
// and the $$typeof value is for rendering logic to determine if the module
// is a client boundary.
const { __esModule, $$typeof } = proxy;
const __default__ = proxy.default;


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__default__);

/***/ }),

/***/ "(rsc)/./app/layout.tsx":
/*!************************!*\
  !*** ./app/layout.tsx ***!
  \************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ RootLayout),\n/* harmony export */   metadata: () => (/* binding */ metadata)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(rsc)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/rsc/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _globals_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./globals.css */ \"(rsc)/./app/globals.css\");\n/* harmony import */ var _components_ThemeToggle__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/ThemeToggle */ \"(rsc)/./app/components/ThemeToggle.tsx\");\n\n\n\nconst metadata = {\n    title: \"CHORUS Agent Configuration\",\n    description: \"Configure your CHORUS distributed agent orchestration platform\",\n    viewport: \"width=device-width, initial-scale=1\"\n};\nfunction RootLayout({ children }) {\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"html\", {\n        lang: \"en\",\n        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"body\", {\n            className: \"bg-gray-50 dark:bg-gray-900 text-gray-900 dark:text-gray-100 min-h-screen transition-colors duration-200\",\n            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                className: \"min-h-screen flex flex-col\",\n                children: [\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"header\", {\n                        className: \"bg-gray-900 dark:bg-black border-b border-gray-200 dark:border-gray-800 transition-colors duration-200\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"max-w-7xl mx-auto px-8 py-6\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex justify-between items-center\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex items-center space-x-4\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"flex-shrink-0\",\n                                                children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"img\", {\n                                                    src: \"/assets/chorus-mobius-on-white.png\",\n                                                    alt: \"CHORUS\",\n                                                    className: \"w-10 h-10\"\n                                                }, void 0, false, {\n                                                    fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                                    lineNumber: 25,\n                                                    columnNumber: 21\n                                                }, this)\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                                lineNumber: 24,\n                                                columnNumber: 19\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                children: [\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"h1\", {\n                                                        className: \"heading-subsection\",\n                                                        children: \"CHORUS Agent Configuration\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                                        lineNumber: 32,\n                                                        columnNumber: 21\n                                                    }, this),\n                                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"p\", {\n                                                        className: \"text-small\",\n                                                        children: \"Distributed Agent Orchestration Platform\"\n                                                    }, void 0, false, {\n                                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                                        lineNumber: 35,\n                                                        columnNumber: 21\n                                                    }, this)\n                                                ]\n                                            }, void 0, true, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                                lineNumber: 31,\n                                                columnNumber: 19\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                        lineNumber: 23,\n                                        columnNumber: 17\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex items-center space-x-6\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                                className: \"status-online\",\n                                                children: \"System Online\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                                lineNumber: 41,\n                                                columnNumber: 19\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_components_ThemeToggle__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {}, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                                lineNumber: 44,\n                                                columnNumber: 19\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                        lineNumber: 40,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                lineNumber: 22,\n                                columnNumber: 15\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                            lineNumber: 21,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                        lineNumber: 20,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"main\", {\n                        className: \"flex-1\",\n                        children: children\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                        lineNumber: 50,\n                        columnNumber: 11\n                    }, this),\n                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"footer\", {\n                        className: \"bg-gray-900 dark:bg-black border-t border-gray-200 dark:border-gray-800 transition-colors duration-200\",\n                        children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                            className: \"max-w-7xl mx-auto px-8 py-6\",\n                            children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                className: \"flex justify-between items-center text-sm text-gray-400\",\n                                children: [\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        children: \"\\xa9 2025 Chorus Services. All rights reserved.\"\n                                    }, void 0, false, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                        lineNumber: 57,\n                                        columnNumber: 17\n                                    }, this),\n                                    /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n                                        className: \"flex space-x-6\",\n                                        children: [\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n                                                href: \"https://docs.chorus.services/agents\",\n                                                target: \"_blank\",\n                                                className: \"btn-text\",\n                                                children: \"Documentation\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                                lineNumber: 61,\n                                                columnNumber: 19\n                                            }, this),\n                                            /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"a\", {\n                                                href: \"https://discord.gg/chorus-services\",\n                                                target: \"_blank\",\n                                                className: \"btn-text\",\n                                                children: \"Support\"\n                                            }, void 0, false, {\n                                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                                lineNumber: 68,\n                                                columnNumber: 19\n                                            }, this)\n                                        ]\n                                    }, void 0, true, {\n                                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                        lineNumber: 60,\n                                        columnNumber: 17\n                                    }, this)\n                                ]\n                            }, void 0, true, {\n                                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                                lineNumber: 56,\n                                columnNumber: 15\n                            }, this)\n                        }, void 0, false, {\n                            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                            lineNumber: 55,\n                            columnNumber: 13\n                        }, this)\n                    }, void 0, false, {\n                        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                        lineNumber: 54,\n                        columnNumber: 11\n                    }, this)\n                ]\n            }, void 0, true, {\n                fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n                lineNumber: 19,\n                columnNumber: 9\n            }, this)\n        }, void 0, false, {\n            fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n            lineNumber: 18,\n            columnNumber: 7\n        }, this)\n    }, void 0, false, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/layout.tsx\",\n        lineNumber: 17,\n        columnNumber: 5\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,[encoded data, 5860 characters]\n//# sourceURL=webpack-internal:///(rsc)/./app/layout.tsx\n");

/***/ }),

/***/ "(rsc)/./app/page.tsx":
/*!**********************!*\
  !*** ./app/page.tsx ***!
  \**********************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (/* binding */ HomePage)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(rsc)/./node_modules/next/dist/server/future/route-modules/app-page/vendored/rsc/react-jsx-dev-runtime.js\");\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _setup_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./setup/page */ \"(rsc)/./app/setup/page.tsx\");\n\n\nfunction HomePage() {\n    // Serve setup page directly at root to avoid redirect loops\n    return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(_setup_page__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {}, void 0, false, {\n        fileName: \"/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/page.tsx\",\n        lineNumber: 5,\n        columnNumber: 10\n    }, this);\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHJzYykvLi9hcHAvcGFnZS50c3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBb0M7QUFFckIsU0FBU0M7SUFDdEIsNERBQTREO0lBQzVELHFCQUFPLDhEQUFDRCxtREFBU0E7Ozs7O0FBQ25CIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vYnp6ei1jb25maWctdWkvLi9hcHAvcGFnZS50c3g/NzYwMyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgU2V0dXBQYWdlIGZyb20gJy4vc2V0dXAvcGFnZSdcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gSG9tZVBhZ2UoKSB7XG4gIC8vIFNlcnZlIHNldHVwIHBhZ2UgZGlyZWN0bHkgYXQgcm9vdCB0byBhdm9pZCByZWRpcmVjdCBsb29wc1xuICByZXR1cm4gPFNldHVwUGFnZSAvPlxufSJdLCJuYW1lcyI6WyJTZXR1cFBhZ2UiLCJIb21lUGFnZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(rsc)/./app/page.tsx\n");

/***/ }),

/***/ "(rsc)/./app/setup/page.tsx":
/*!****************************!*\
  !*** ./app/setup/page.tsx ***!
  \****************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   $$typeof: () => (/* binding */ $$typeof),
/* harmony export */   __esModule: () => (/* binding */ __esModule),
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__)
/* harmony export */ });
/* harmony import */ var next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! next/dist/build/webpack/loaders/next-flight-loader/module-proxy */ "(rsc)/./node_modules/next/dist/build/webpack/loaders/next-flight-loader/module-proxy.js");

const proxy = (0,next_dist_build_webpack_loaders_next_flight_loader_module_proxy__WEBPACK_IMPORTED_MODULE_0__.createProxy)(String.raw`/home/tony/chorus/project-queues/active/BZZZ/install/config-ui/app/setup/page.tsx`)

// Accessing the __esModule property and exporting $$typeof are required here.
// The __esModule getter forces the proxy target to create the default export
// and the $$typeof value is for rendering logic to determine if the module
// is a client boundary.
const { __esModule, $$typeof } = proxy;
const __default__ = proxy.default;


/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__default__);

/***/ })

};
;

// load runtime
var __webpack_require__ = require("../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, ["vendor-chunks/next","vendor-chunks/@heroicons","vendor-chunks/@swc"], () => (__webpack_exec__("(rsc)/./node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fpage&page=%2Fpage&appPaths=%2Fpage&pagePath=private-next-app-dir%2Fpage.tsx&appDir=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui%2Fapp&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&rootDir=%2Fhome%2Ftony%2Fchorus%2Fproject-queues%2Factive%2FBZZZ%2Finstall%2Fconfig-ui&isDev=true&tsconfigPath=tsconfig.json&basePath=&assetPrefix=&nextConfigOutput=export&preferredRegion=&middlewareConfig=e30%3D!")));
module.exports = __webpack_exports__;

})();