@univerjs-pro/mcp-ui 0.10.9 → 0.10.10-experimental.20251010-3f807c5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/config.schema.d.ts +7 -0
- package/lib/types/controllers/mcp-connection-ui.controller.d.ts +4 -2
- package/lib/types/locale/en-US.d.ts +2 -4
- package/lib/types/locale/zh-CN.d.ts +2 -4
- package/lib/types/views/components/mcp-status.d.ts +2 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4d7d(){var _0x523ee8=['univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','Plugin','未连接','配置保存成功','IConfigService','MCP:\x20无效的\x20API\x20密钥','rxjs','removeItem','getOwnPropertyDescriptor','mcpConfig.authorizationDescription','univer-flex\x20univer-flex-wrap\x20univer-gap-2','_uiPartsService','symbol','mcpConfig.saving','enUS','call','mcpStatus.invalidApiKey','mcpConfig.connectionStatus.failed','MCP\x20客户端配置','tag','setConfig','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','toStringTag','univer-min-w-0\x20univer-flex-1','exports','MCP:\x20会话被占用','MCPUIMenuController','concat','univer-text-xs\x20univer-text-gray-500','mcpServerUrl','react','mcpStatus.maxRetriesExceeded','apply','setItem','connectInjector','object','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1em','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','createElement','MCP:\x20超出最大重试次数','_componentManager','_mcpConnectionController','currentColor','pre','UniverIcon','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','function','Copy\x20the\x20JSON\x20configuration\x20below','@univerjs/network','MCP_PLUGIN_CONFIG_KEY','_apiKey$','网络连接错误,请检查您的网络连接','extend','MCP:\x20Max\x20Retries\x20Exceeded','forEach','API\x20密钥无效,请检查密钥是否正确','colorChannel1','useObservable','connectionStatus$','@univerjs/design','\x20-\x20','univer-text-sm\x20univer-font-medium','mcpStatus.clickToConfigure','mask','univer.plus','mcpConfig.validation.apiKeyRequired','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-flex\x20univer-items-start\x20univer-gap-3','_localeService','defIds','1oMgagq','MCP:\x20Session\x20Occupied','将配置添加到您的\x20MCP\x20客户端设置文件中','Disposable','Enable\x20Authentication','univer-flex\x20univer-items-center\x20univer-gap-3','mcpConfig.apiApplyInfo.description','random','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Connecting...','_initStatusComponent','RETRYING','showDeveloperTools','M0\x200H16V16H0z','最大重试次数','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','Tooltip','mcpConfig.connectionError.invalidApiKey','univer-text-red-500','univer-flex\x20univer-items-center\x20univer-gap-2','trim','9036saFRKw','Inject','配置无效','univer-flex\x20univer-gap-3','ILocalStorageService','IMessageService','Enable\x20authentication\x20for\x20secure\x20connections','hover:univer-opacity-80','none','27msFxdP','errorMessage','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','toString','MessageType','MCP\x20重连中...','mcpStatus.disconnected','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','启用身份验证以获得安全连接','0\x200\x2017\x2016','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','registerCommand','Disconnected','text','subscribeConfigValue$','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','UniverMCPPlugin','27599pTqEFx','svg','icon','IMenuManagerService','showConfigPanel','xlink:href','_handleConfigure','LocaleService','API\x20密钥','isValid','sessionId$','ISocketService','MCPStatusDisplay','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpConfig.apiApplyInfo.getStarted','path','mcpConfig.apiApplyInfo.univerAiLabel','mcpConfig.description','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','hasOwnProperty','MCP\x20Connection\x20Failed','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','mcpStatus.unknown','Saving...','url(#off-line-icon_clip0_910_343)','mcpStatus.connecting','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','MCP\x20Client\x20Configuration','displayName','evenodd','连接中...','univer-text-blue-600','_loading$','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','<API_KEY>','Session\x20ID','Univer\x20AI\x20控制台','点击连接\x20MCP','Failed\x20to\x20save\x20configuration','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','NONE','Connected','length','330itwHEI','Configuration\x20Parameters:','getOwnPropertySymbols','Error','getConfig','mcpConfig.connectionStatus.connected','on-line-icon_clip0_910_349','INVALID_API_KEY','MCP\x20已断开','_dialogService','UniverNetwork','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','children','MenuIcon','warn','useDependency','HelpSingle','translate(.97)','univer-flex-1','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','attrs','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','jsx','mcpConfig.connectionError.maxRetriesExceeded','Retrying...','MCP:\x20Network\x20Error','mcpConfig.sessionIdDescription','univer-text-xs\x20univer-text-gray-600','close-small-single','MCP\x20已连接','_handleConfigSave','UniverProMcp','启用身份验证','univer-bg-blue-500','_initConfigSync','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_menuManagerService','配置参数:','几秒钟内获取您的\x20API\x20密钥','MCP\x20Unknown\x20Status','univer-mr-2\x20univer-flex\x20univer-text-xl','_connectionController','HEADER_MENU','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Success','includes','MCPConfigPanel','Click\x20to\x20configure\x20MCP','defineProperty','Univer\x20AI\x20Console','prototype','MCPConfigUIController','重连中...','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','OffLineIcon','82840rryxpN','_initializeMenus','_injector','https://console.univer.ai','univer_session_id:','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','M5.21243\x2012.287L11.8791\x205.62036','_messageService','RibbonStartGroup','mcpConfig.configStep1','univerjs-icon\x20univerjs-icon-','round','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','DISCONNECTED','2743EpWQES','getItem','amd','CloseSmallSingle','assign','超出最大重试次数,请稍后再试','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','span','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcp-ui.config','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','WebSocketService','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','需要\x20API\x20密钥才能连接','5NyjnfD','MCP\x20Configuration','52128LswfHm','univer-text-white','Click\x20to\x20connect\x20MCP','registerComponent','_commandService','mcpStatus.connected','univer-text-yellow-500','indexOf','OTHERS','univer.ai','add','React','CONNECTED','Bearer\x20','merge','MCP\x20状态未知','subscribe','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','Injector','replace','mcpConfig.configInstructions','mcpConfig.apiKeyHint','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-text-gray-500','https://console.univer.plus','url(#$1','error','MCP:\x20API\x20Key\x20Missing','MCPConnectionStatus','close','Enter\x20your\x20API\x20key','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','pluginName','mcpConfig.connectionError.sessionOccupied','What\x20is\x20API\x20Key?','mergeMenu','clipPath','_createConfigPanelComponent','90534wKAhmW','_config$','会话当前被占用,请稍后再试','API\x20密钥不能为空','idSuffix','mcpStatus.sessionOccupied','SESSION_ID_OCCUPIED','_configService','mcpConfig.configSaved','_validateConfig','MCP\x20Retrying...','_config','fill','className','Max\x20Retries','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','_logService','off-line-icon_clip0_910_343','univer-text-sm\x20univer-text-gray-500','FAILED','0\x200\x2017\x2017','MCP\x20Connecting...','M5.21243\x205.62036L11.8791\x2012.287','div','Get\x20your\x20API\x20key\x20in\x20seconds','url(#on-line-icon_clip0_910_349)','0\x200\x2016\x2016','register','带有\x20Bearer\x20前缀的\x20API\x20密钥。','off','配置\x20MCP\x20使用\x20AI\x20操作电子表格','UniverUi','什么是\x20API\x20密钥?','M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','CONNECTING','defs','NETWORK_ERROR','mcpStatus.retrying','_registerComponent','mcpConfig.save','open','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','Button','entries','mcpConfig.apiApplyInfo.title','show','_mcpCoreConfig$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','jsxs','label','get','univer-space-y-2','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','mcpConfig.apiKeyPlaceholder','mcpConfig.validation.invalidConfig','apiKey','_localStorageService','mcp-ui.command.openConfigPanel','mcpConfig.connectionStatus.retrying','connectionError$','将以下配置添加到您的\x20MCP\x20客户端设置中:','disposeWithMe','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCPConnectionController','UniverMCPUIPlugin','http://www.w3.org/2000/svg','useRef','MCPConnectionUIController','string','univer-text-green-500','MAX_RETRIES_EXCEEDED','mcpConfig.title','Configuration\x20Steps:','UniverDesign','Configuration\x20saved\x20successfully','mcpConfig.note1','Save\x20Configuration','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','MCP\x20连接中...','51TNtjpZ','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','CommandType','substring','value','IUIPartsService','API\x20Key','Close','univer-text-gray-400','DependentOn','MCP_UI_PLUGIN','__setCustomHeaders','复制以下\x20JSON\x20配置','API\x20key\x20with\x20Bearer\x20prefix.','MCPConnectionError','424886LWfdwa','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','_loadStoredApiKey','javascript:void(0)','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','_initializeCommands','BehaviorSubject','40398AycfAd','@univerjs-pro/mcp','MCP\x20Disconnected','API\x20key\x20is\x20required\x20to\x20connect','useCallback','ComponentManager','has','white','next','useState','propertyIsEnumerable','ICommandService','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700'];_0x4d7d=function(){return _0x523ee8;};return _0x4d7d();}function _0x5d88(_0x28ce0a,_0x44f64a){var _0x4d7def=_0x4d7d();return _0x5d88=function(_0x5d88c0,_0xe1040e){_0x5d88c0=_0x5d88c0-0x136;var _0x3fef7d=_0x4d7def[_0x5d88c0];return _0x3fef7d;},_0x5d88(_0x28ce0a,_0x44f64a);}(function(_0x531e07,_0x9b4602){var _0x37a5d1=_0x5d88,_0x21ac9c=_0x531e07();while(!![]){try{var _0x42d6f6=parseInt(_0x37a5d1(0x15f))/0x1*(-parseInt(_0x37a5d1(0x2a1))/0x2)+parseInt(_0x37a5d1(0x28b))/0x3*(parseInt(_0x37a5d1(0x213))/0x4)+parseInt(_0x37a5d1(0x211))/0x5*(-parseInt(_0x37a5d1(0x239))/0x6)+parseInt(_0x37a5d1(0x29a))/0x7+parseInt(_0x37a5d1(0x1f4))/0x8*(-parseInt(_0x37a5d1(0x17e))/0x9)+-parseInt(_0x37a5d1(0x1bb))/0xa*(-parseInt(_0x37a5d1(0x190))/0xb)+-parseInt(_0x37a5d1(0x175))/0xc*(parseInt(_0x37a5d1(0x203))/0xd);if(_0x42d6f6===_0x9b4602)break;else _0x21ac9c['push'](_0x21ac9c['shift']());}catch(_0xb5ee9a){_0x21ac9c['push'](_0x21ac9c['shift']());}}}(_0x4d7d,0x2221b),function(_0x309476,_0x18da3b){var _0x21bab2=_0x5d88;typeof exports==_0x21bab2(0x13b)&&typeof module<'u'?_0x18da3b(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x21bab2(0x147)&&define[_0x21bab2(0x205)]?define([_0x21bab2(0x2c6),'@univerjs/core','react/jsx-runtime',_0x21bab2(0x2a2),_0x21bab2(0x154),'@univerjs/ui',_0x21bab2(0x2b4),_0x21bab2(0x136),_0x21bab2(0x149)],_0x18da3b):(_0x309476=typeof globalThis<'u'?globalThis:_0x309476||self,_0x18da3b(_0x309476['UniverProMcpUi']={},_0x309476['UniverCore'],_0x309476[_0x21bab2(0x21e)],_0x309476[_0x21bab2(0x1dc)],_0x309476[_0x21bab2(0x284)],_0x309476[_0x21bab2(0x258)],_0x309476[_0x21bab2(0x2b4)],_0x309476[_0x21bab2(0x21e)],_0x309476[_0x21bab2(0x1c5)]));}(this,function(_0x2198d5,_0x5075bc,_0x22a1a4,_0x484337,_0x2a4e4b,_0x336e40,_0x460564,_0x4ad054,_0x3b22b0){'use strict';var _0x335c16=_0x5d88;var _0x7cf6d3=Object[_0x335c16(0x1ed)],_0x4200b4=(_0x282d6d,_0x2866ab,_0x3d8d95)=>_0x2866ab in _0x282d6d?_0x7cf6d3(_0x282d6d,_0x2866ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d8d95}):_0x282d6d[_0x2866ab]=_0x3d8d95,_0x25559b=(_0x504e95,_0x427d12,_0x2e7f44)=>_0x4200b4(_0x504e95,typeof _0x427d12!=_0x335c16(0x2ba)?_0x427d12+'':_0x427d12,_0x2e7f44),_0x55b7b7=function(){var _0x5f1f90=_0x335c16;return _0x55b7b7=Object['assign']||function(_0x51773c){var _0x2ce1aa=_0x5d88;for(var _0x8bcea,_0x226e7e=0x1,_0x4fd028=arguments[_0x2ce1aa(0x1ba)];_0x226e7e<_0x4fd028;_0x226e7e++){_0x8bcea=arguments[_0x226e7e];for(var _0x5cc641 in _0x8bcea)Object[_0x2ce1aa(0x1ef)]['hasOwnProperty'][_0x2ce1aa(0x2bd)](_0x8bcea,_0x5cc641)&&(_0x51773c[_0x5cc641]=_0x8bcea[_0x5cc641]);}return _0x51773c;},_0x55b7b7[_0x5f1f90(0x138)](this,arguments);},_0x148699=function(_0x570da8,_0x1f294b){var _0x4cd0df=_0x335c16,_0x59a8f0={};for(var _0x490be6 in _0x570da8)Object[_0x4cd0df(0x1ef)][_0x4cd0df(0x1a3)][_0x4cd0df(0x2bd)](_0x570da8,_0x490be6)&&_0x1f294b['indexOf'](_0x490be6)<0x0&&(_0x59a8f0[_0x490be6]=_0x570da8[_0x490be6]);if(_0x570da8!=null&&typeof Object[_0x4cd0df(0x1bd)]==_0x4cd0df(0x147)){for(var _0x1f540e=0x0,_0x490be6=Object['getOwnPropertySymbols'](_0x570da8);_0x1f540e<_0x490be6['length'];_0x1f540e++)_0x1f294b[_0x4cd0df(0x21a)](_0x490be6[_0x1f540e])<0x0&&Object[_0x4cd0df(0x1ef)][_0x4cd0df(0x2ab)]['call'](_0x570da8,_0x490be6[_0x1f540e])&&(_0x59a8f0[_0x490be6[_0x1f540e]]=_0x570da8[_0x490be6[_0x1f540e]]);}return _0x59a8f0;},_0x4ef18d=_0x4ad054['forwardRef'](function(_0x306b24,_0x2664a2){var _0x5453ee=_0x335c16,_0x4e6615=_0x306b24[_0x5453ee(0x192)],_0x3f2661=_0x306b24['id'],_0x388dd8=_0x306b24['className'],_0x4f1508=_0x306b24['extend'],_0x2f1fc7=_0x148699(_0x306b24,[_0x5453ee(0x192),'id',_0x5453ee(0x246),_0x5453ee(0x14d)]),_0x2865f2=_0x5453ee(0x1fe)[_0x5453ee(0x2c9)](_0x3f2661,'\x20')[_0x5453ee(0x2c9)](_0x388dd8||'')[_0x5453ee(0x174)](),_0x2f9b8e=_0x4ad054[_0x5453ee(0x27d)]('_'[_0x5453ee(0x2c9)](_0x53f56e()));return _0x4e4c(_0x4e6615,''[_0x5453ee(0x2c9)](_0x3f2661),{'defIds':_0x4e6615[_0x5453ee(0x15e)],'idSuffix':_0x2f9b8e['current']},_0x55b7b7({'ref':_0x2664a2,'className':_0x2865f2},_0x2f1fc7),_0x4f1508);});function _0x4e4c(_0x38f4bf,_0x2ea062,_0x475959,_0x2f65c1,_0x312c07){var _0x502573=_0x335c16;return _0x4ad054[_0x502573(0x13f)](_0x38f4bf[_0x502573(0x2c1)],_0x55b7b7(_0x55b7b7({'key':_0x2ea062},_0x411649(_0x38f4bf,_0x475959,_0x312c07)),_0x2f65c1),(_0x1ccd22(_0x38f4bf,_0x475959)[_0x502573(0x1c7)]||[])['map'](function(_0x2b5b0d,_0x4908d5){var _0x37f981=_0x502573;return _0x4e4c(_0x2b5b0d,''[_0x37f981(0x2c9)](_0x2ea062,'-')[_0x37f981(0x2c9)](_0x38f4bf[_0x37f981(0x2c1)],'-')['concat'](_0x4908d5),_0x475959,void 0x0,_0x312c07);}));}function _0x411649(_0x1e597d,_0xa5d103,_0x212e30){var _0x2a6009=_0x335c16,_0x2ca43d=_0x55b7b7({},_0x1e597d['attrs']);_0x212e30!=null&&_0x212e30[_0x2a6009(0x151)]&&_0x2ca43d[_0x2a6009(0x245)]===_0x2a6009(0x151)&&(_0x2ca43d[_0x2a6009(0x245)]=_0x212e30['colorChannel1']),_0x1e597d[_0x2a6009(0x2c1)]===_0x2a6009(0x158)&&_0x2ca43d['id']&&(_0x2ca43d['id']=_0x2ca43d['id']+_0xa5d103[_0x2a6009(0x23d)]),Object[_0x2a6009(0x265)](_0x2ca43d)[_0x2a6009(0x14f)](function(_0x11d2a6){var _0x44b282=_0x2a6009,_0x2c1111=_0x11d2a6[0x0],_0x5d5eac=_0x11d2a6[0x1];_0x2c1111===_0x44b282(0x158)&&typeof _0x5d5eac==_0x44b282(0x27f)&&(_0x2ca43d[_0x2c1111]=_0x5d5eac[_0x44b282(0x226)](/url\(#(.*)\)/,_0x44b282(0x22c)[_0x44b282(0x2c9)](_0xa5d103[_0x44b282(0x23d)],')')));});var _0x283764=_0xa5d103[_0x2a6009(0x15e)];return!_0x283764||_0x283764[_0x2a6009(0x1ba)]===0x0||(_0x1e597d[_0x2a6009(0x2c1)]==='use'&&_0x2ca43d[_0x2a6009(0x195)]&&(_0x2ca43d[_0x2a6009(0x195)]=_0x2ca43d[_0x2a6009(0x195)]+_0xa5d103[_0x2a6009(0x23d)]),Object[_0x2a6009(0x265)](_0x2ca43d)[_0x2a6009(0x14f)](function(_0x5aa5b1){var _0x2c2a8c=_0x2a6009,_0x88a268=_0x5aa5b1[0x0],_0x2c7965=_0x5aa5b1[0x1];typeof _0x2c7965==_0x2c2a8c(0x27f)&&(_0x2ca43d[_0x88a268]=_0x2c7965[_0x2c2a8c(0x226)](/url\(#(.*)\)/,_0x2c2a8c(0x22c)['concat'](_0xa5d103[_0x2c2a8c(0x23d)],')')));})),_0x2ca43d;}function _0x1ccd22(_0x5ea90c,_0x458182){var _0x4fb88a=_0x335c16,_0x2dc018,_0x980eac=_0x458182[_0x4fb88a(0x15e)];return!_0x980eac||_0x980eac[_0x4fb88a(0x1ba)]===0x0?_0x5ea90c:_0x5ea90c[_0x4fb88a(0x2c1)]===_0x4fb88a(0x25d)&&(!((_0x2dc018=_0x5ea90c[_0x4fb88a(0x1c7)])===null||_0x2dc018===void 0x0)&&_0x2dc018['length'])?_0x55b7b7(_0x55b7b7({},_0x5ea90c),{'children':_0x5ea90c[_0x4fb88a(0x1c7)]['map'](function(_0x197e39){var _0x34b7ab=_0x4fb88a;return typeof _0x197e39[_0x34b7ab(0x1d0)]['id']==_0x34b7ab(0x27f)&&_0x980eac&&_0x980eac[_0x34b7ab(0x1ea)](_0x197e39['attrs']['id'])?_0x55b7b7(_0x55b7b7({},_0x197e39),{'attrs':_0x55b7b7(_0x55b7b7({},_0x197e39[_0x34b7ab(0x1d0)]),{'id':_0x197e39['attrs']['id']+_0x458182[_0x34b7ab(0x23d)]})}):_0x197e39;})}):_0x5ea90c;}function _0x53f56e(){var _0xde86a1=_0x335c16;return Math[_0xde86a1(0x166)]()[_0xde86a1(0x181)](0x24)[_0xde86a1(0x28e)](0x2,0x8);}_0x4ef18d[_0x335c16(0x1ac)]=_0x335c16(0x145);var _0x28cd8b={'tag':_0x335c16(0x191),'attrs':{'xmlns':_0x335c16(0x27c),'fill':'none','viewBox':_0x335c16(0x253),'width':_0x335c16(0x13d),'height':_0x335c16(0x13d)},'children':[{'tag':_0x335c16(0x19f),'attrs':{'fill':_0x335c16(0x143),'d':_0x335c16(0x224),'fillRule':'evenodd','clipRule':_0x335c16(0x1ad)}}]},_0x529a1f=_0x4ad054['forwardRef'](function(_0x5da253,_0x4c21a0){var _0x3d128a=_0x335c16;return _0x4ad054['createElement'](_0x4ef18d,Object[_0x3d128a(0x207)]({},_0x5da253,{'id':'check-mark-icon','ref':_0x4c21a0,'icon':_0x28cd8b}));});_0x529a1f[_0x335c16(0x1ac)]='CheckMarkIcon';var _0x5cb20d={'tag':_0x335c16(0x191),'attrs':{'xmlns':_0x335c16(0x27c),'fill':_0x335c16(0x17d),'viewBox':_0x335c16(0x24d),'width':_0x335c16(0x13d),'height':'1em'},'children':[{'tag':_0x335c16(0x19f),'attrs':{'stroke':_0x335c16(0x143),'d':_0x335c16(0x24f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}},{'tag':_0x335c16(0x19f),'attrs':{'stroke':_0x335c16(0x143),'d':_0x335c16(0x1fa),'strokeLinecap':_0x335c16(0x1ff),'strokeLinejoin':'round','strokeWidth':1.33}}]},_0x150832=_0x4ad054['forwardRef'](function(_0x7b4092,_0xb26702){var _0xe19294=_0x335c16;return _0x4ad054[_0xe19294(0x13f)](_0x4ef18d,Object['assign']({},_0x7b4092,{'id':_0xe19294(0x1d9),'ref':_0xb26702,'icon':_0x5cb20d}));});_0x150832[_0x335c16(0x1ac)]=_0x335c16(0x206);var _0x17faf5={'tag':_0x335c16(0x191),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x335c16(0x17d),'viewBox':_0x335c16(0x253),'width':_0x335c16(0x13d),'height':_0x335c16(0x13d)},'children':[{'tag':'path','attrs':{'fill':_0x335c16(0x143),'d':_0x335c16(0x25a)}},{'tag':'path','attrs':{'fill':_0x335c16(0x143),'d':_0x335c16(0x201)}},{'tag':_0x335c16(0x19f),'attrs':{'fill':_0x335c16(0x143),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x335c16(0x1ad),'clipRule':_0x335c16(0x1ad)}}]},_0x17e462=_0x4ad054['forwardRef'](function(_0x125662,_0x4937ae){return _0x4ad054['createElement'](_0x4ef18d,Object['assign']({},_0x125662,{'id':'help-single','ref':_0x4937ae,'icon':_0x17faf5}));});_0x17e462[_0x335c16(0x1ac)]=_0x335c16(0x1cb);var _0x56c664={'tag':_0x335c16(0x191),'attrs':{'xmlns':_0x335c16(0x27c),'fill':_0x335c16(0x17d),'viewBox':_0x335c16(0x253),'width':_0x335c16(0x13d),'height':_0x335c16(0x13d)},'children':[{'tag':'g','attrs':{'clipPath':_0x335c16(0x1a8)},'children':[{'tag':'path','attrs':{'stroke':_0x335c16(0x143),'d':_0x335c16(0x16e),'strokeLinecap':_0x335c16(0x1ff),'strokeLinejoin':_0x335c16(0x1ff),'strokeWidth':1.2}}]},{'tag':_0x335c16(0x25d),'attrs':{},'children':[{'tag':_0x335c16(0x237),'attrs':{'id':_0x335c16(0x24a)},'children':[{'tag':_0x335c16(0x19f),'attrs':{'fill':_0x335c16(0x2a8),'d':_0x335c16(0x16c)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x47aba7=_0x4ad054['forwardRef'](function(_0x4de631,_0x582316){var _0x577693=_0x335c16;return _0x4ad054[_0x577693(0x13f)](_0x4ef18d,Object[_0x577693(0x207)]({},_0x4de631,{'id':'off-line-icon','ref':_0x582316,'icon':_0x56c664}));});_0x47aba7[_0x335c16(0x1ac)]=_0x335c16(0x1f3);var _0x5ad955={'tag':_0x335c16(0x191),'attrs':{'xmlns':_0x335c16(0x27c),'fill':_0x335c16(0x17d),'viewBox':_0x335c16(0x187),'width':_0x335c16(0x13d),'height':_0x335c16(0x13d)},'children':[{'tag':'g','attrs':{'clipPath':_0x335c16(0x252)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x335c16(0x1ff),'strokeLinejoin':_0x335c16(0x1ff),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x335c16(0x237),'attrs':{'id':_0x335c16(0x1c1)},'children':[{'tag':_0x335c16(0x19f),'attrs':{'fill':_0x335c16(0x2a8),'d':_0x335c16(0x16c),'transform':_0x335c16(0x1cc)}}]}]}],'defIds':[_0x335c16(0x1c1)]},_0x224759=_0x4ad054['forwardRef'](function(_0x8344ef,_0x7ed10b){var _0x3e1826=_0x335c16;return _0x4ad054[_0x3e1826(0x13f)](_0x4ef18d,Object[_0x3e1826(0x207)]({},_0x8344ef,{'id':'on-line-icon','ref':_0x7ed10b,'icon':_0x5ad955}));});_0x224759[_0x335c16(0x1ac)]='OnLineIcon';function _0x3f5bca(_0x17c8fd){var _0x22c403=_0x335c16,_0x1a13eb,_0x56efb9;const {mcpCoreConfig:_0x4a13c5,onSave:_0x8710ea,loading:_0x46a4a7=!0x1,config:_0x15ecaf,connectionStatus$:_0x56e0d1,connectionError$:_0x486cb4,currentApiKey$:_0x29bf7a,currentSessionId$:_0x2a1702}=_0x17c8fd,_0x3f92d4=_0x336e40[_0x22c403(0x1ca)](_0x5075bc[_0x22c403(0x197)]),_0x33c4be=_0x336e40[_0x22c403(0x152)](_0x56e0d1,_0x484337[_0x22c403(0x22f)][_0x22c403(0x202)]),_0x328988=_0x336e40[_0x22c403(0x152)](_0x486cb4,_0x484337[_0x22c403(0x299)][_0x22c403(0x1b8)]),_0x2c3751=_0x336e40[_0x22c403(0x152)](_0x2a1702,''),_0x1fc43f=_0x336e40['useObservable'](_0x29bf7a,''),[_0x15ea6e,_0x1028a2]=_0x4ad054[_0x22c403(0x2aa)](_0x1fc43f||''),_0x2835e3=!0x0,_0xe1bd17=_0x15ecaf[_0x22c403(0x16b)]&&_0x4a13c5[_0x22c403(0x2cb)]&&(_0x4a13c5[_0x22c403(0x2cb)]['includes'](_0x22c403(0x159))||_0x4a13c5['mcpServerUrl'][_0x22c403(0x1ea)](_0x22c403(0x21c))),_0x1f35b2=(_0x1a13eb=_0x4a13c5['mcpServerUrl'])==null?void 0x0:_0x1a13eb[_0x22c403(0x1ea)](_0x22c403(0x159)),_0x2ceae4=(_0x56efb9=_0x4a13c5['mcpServerUrl'])==null?void 0x0:_0x56efb9[_0x22c403(0x1ea)](_0x22c403(0x21c)),_0x102aca=_0x1f35b2?_0x22c403(0x22b):_0x22c403(0x1f7),_0x140451=_0x15ecaf[_0x22c403(0x16b)]&&(_0x1f35b2||_0x2ceae4),[_0x10b1ff,_0x1d5838]=_0x4ad054['useState'](!_0x15ea6e[_0x22c403(0x174)]()),_0x1cbdb0=(_0x2a8cac,_0x4e8af2)=>{var _0x3f0585=_0x22c403;if(_0x4e8af2===_0x484337[_0x3f0585(0x299)][_0x3f0585(0x1c2)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x2a8cac){case _0x484337[_0x3f0585(0x22f)][_0x3f0585(0x21f)]:return _0x3f0585(0x29e);case _0x484337[_0x3f0585(0x22f)][_0x3f0585(0x25c)]:case _0x484337[_0x3f0585(0x22f)][_0x3f0585(0x16a)]:return _0x3f0585(0x229);case _0x484337[_0x3f0585(0x22f)][_0x3f0585(0x24c)]:return _0x3f0585(0x29b);default:return _0x3f0585(0x15b);}},_0x5546ba=(_0x15ad24,_0x5f21b9)=>{var _0x2606bc=_0x22c403;if(_0x5f21b9===_0x484337['MCPConnectionError'][_0x2606bc(0x1c2)])return'univer-bg-red-500';switch(_0x15ad24){case _0x484337[_0x2606bc(0x22f)][_0x2606bc(0x21f)]:return'univer-bg-green-500';case _0x484337['MCPConnectionStatus'][_0x2606bc(0x25c)]:case _0x484337[_0x2606bc(0x22f)][_0x2606bc(0x16a)]:return _0x2606bc(0x1de);case _0x484337[_0x2606bc(0x22f)][_0x2606bc(0x24c)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x5a9a9d=_0x465d25=>{var _0x2fb6e8=_0x22c403;switch(_0x465d25){case _0x484337[_0x2fb6e8(0x22f)][_0x2fb6e8(0x21f)]:return _0x3f92d4['t'](_0x2fb6e8(0x1c0));case _0x484337[_0x2fb6e8(0x22f)]['CONNECTING']:return _0x3f92d4['t']('mcpConfig.connectionStatus.connecting');case _0x484337['MCPConnectionStatus'][_0x2fb6e8(0x24c)]:return _0x3f92d4['t'](_0x2fb6e8(0x2bf));case _0x484337[_0x2fb6e8(0x22f)][_0x2fb6e8(0x16a)]:return _0x3f92d4['t'](_0x2fb6e8(0x275));default:return _0x3f92d4['t']('mcpConfig.connectionStatus.disconnected');}},_0x415ede=_0x5846e1=>{var _0x3175e5=_0x22c403;switch(_0x5846e1){case _0x484337[_0x3175e5(0x299)]['INVALID_API_KEY']:return _0x3f92d4['t'](_0x3175e5(0x171));case _0x484337[_0x3175e5(0x299)][_0x3175e5(0x23f)]:return _0x3f92d4['t'](_0x3175e5(0x234));case _0x484337[_0x3175e5(0x299)]['NETWORK_ERROR']:return _0x3f92d4['t']('mcpConfig.connectionError.networkError');case _0x484337[_0x3175e5(0x299)][_0x3175e5(0x281)]:return _0x3f92d4['t'](_0x3175e5(0x1d4));default:return'';}},_0x3e2ec7=_0x4ad054[_0x22c403(0x2a5)](()=>{var _0x13aa3d=_0x22c403;const _0x1a16aa={..._0x4a13c5,'apiKey':_0x15ea6e[_0x13aa3d(0x174)](),'enableAuth':_0x2835e3};_0x8710ea(_0x1a16aa);},[_0x4a13c5,_0x15ea6e,_0x2835e3,_0x8710ea]),_0xfb8426=_0x15ea6e[_0x22c403(0x174)]()[_0x22c403(0x1ba)]>0x0;return _0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x2c3),'children':[_0x22a1a4['jsx'](_0x22c403(0x250),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x164),'children':[_0x22a1a4['jsx']('div',{'className':_0x22c403(0x188),'children':_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':_0x22c403(0x214),'children':'⚙'})}),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'children':_0x22a1a4[_0x22c403(0x1d3)]('p',{'className':_0x22c403(0x24b),'children':_0x3f92d4['t'](_0x22c403(0x1a1))})})]})}),_0x22a1a4['jsxs']('div',{'className':_0x22c403(0x263),'children':[_0x22a1a4['jsx'](_0x22c403(0x250),{'className':_0x22c403(0x269)+_0x1cbdb0(_0x33c4be,_0x328988)+_0x22c403(0x20d),'children':_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x173),'children':[_0x22a1a4[_0x22c403(0x1d3)]('div',{'className':_0x22c403(0x20b)+_0x5546ba(_0x33c4be,_0x328988)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':_0x22c403(0x156),'children':_0x5a9a9d(_0x33c4be)})]})}),_0x328988!==_0x484337['MCPConnectionError'][_0x22c403(0x1b8)]&&(_0x33c4be===_0x484337[_0x22c403(0x22f)][_0x22c403(0x24c)]||_0x328988===_0x484337[_0x22c403(0x299)][_0x22c403(0x1c2)])&&_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':_0x22c403(0x1f2),'children':_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x22a1a4[_0x22c403(0x1d3)]('span',{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x22a1a4[_0x22c403(0x1d3)]('p',{'className':_0x22c403(0x209),'children':_0x415ede(_0x328988)})]})})]}),_0x22a1a4['jsx'](_0x22c403(0x250),{'className':_0x22c403(0x1d2),'children':_0x22a1a4['jsxs'](_0x22c403(0x250),{'className':'univer-space-y-5','children':[_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x26e),'children':[_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x26c),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'children':'🔑'}),'\x20',_0x3f92d4['t']('mcpConfig.apiKey'),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':_0x22c403(0x172),'children':'*'}),_0xe1bd17&&_0x22a1a4[_0x22c403(0x1d3)]('a',{'href':_0x22c403(0x29d),'onClick':()=>_0x1d5838(!0x0),'className':_0x22c403(0x1a2),'title':_0x3f92d4['t'](_0x22c403(0x266)),'children':_0x22a1a4[_0x22c403(0x1d3)](_0x17e462,{})})]}),_0x22a1a4[_0x22c403(0x1d3)](_0x2a4e4b['Input'],{'type':_0x22c403(0x18b),'placeholder':_0x3f92d4['t'](_0x22c403(0x270)),'value':_0x15ea6e,'onChange':_0x1028a2,'disabled':_0x46a4a7,'autoComplete':_0x22c403(0x256)}),_0x22a1a4[_0x22c403(0x1d3)]('p',{'className':_0x22c403(0x2ca),'children':_0x3f92d4['t'](_0x22c403(0x228))})]}),_0xe1bd17&&_0x10b1ff&&_0x22a1a4['jsxs']('div',{'className':_0x22c403(0x232),'children':[_0x22a1a4['jsx']('a',{'href':_0x22c403(0x29d),'onClick':()=>_0x1d5838(!0x1),'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','title':_0x22c403(0x292),'children':_0x22a1a4[_0x22c403(0x1d3)](_0x150832,{})}),_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':'univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x22a1a4['jsx'](_0x22c403(0x20a),{'className':_0x22c403(0x1af),'children':'🚀'})}),_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x1cd),'children':[_0x22a1a4[_0x22c403(0x1d3)]('h4',{'className':_0x22c403(0x185),'children':_0x3f92d4['t']('mcpConfig.apiApplyInfo.title')}),_0x22a1a4['jsx']('p',{'className':_0x22c403(0x1cf),'children':_0x3f92d4['t'](_0x22c403(0x165))}),_0x22a1a4[_0x22c403(0x1d3)]('div',{'className':_0x22c403(0x2b8),'children':_0x140451&&_0x22a1a4[_0x22c403(0x26b)]('a',{'href':_0x102aca,'target':'_blank','rel':'noopener\x20noreferrer','className':_0x22c403(0x248),'children':[_0x22a1a4[_0x22c403(0x1d3)]('span',{'children':'🤖'}),_0x3f92d4['t'](_0x22c403(0x1a0)),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':_0x22c403(0x293),'children':'↗'})]})}),_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x3f92d4['t'](_0x22c403(0x19e))]})]})]})]}),_0x15ecaf[_0x22c403(0x16b)]&&_0x22a1a4['jsxs'](_0x22c403(0x250),{'className':_0x22c403(0x28c),'children':[_0x22a1a4[_0x22c403(0x26b)]('h4',{'className':_0x22c403(0x1b7),'children':[_0x22a1a4[_0x22c403(0x1d3)]('span',{'children':'🔗'}),'\x20',_0x3f92d4['t']('mcpConfig.connectionInfo')]}),_0x22a1a4['jsxs'](_0x22c403(0x250),{'className':'univer-space-y-4','children':[_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':'univer-space-y-3','children':[_0x22a1a4['jsx']('p',{'className':_0x22c403(0x1d8),'children':_0x3f92d4['t'](_0x22c403(0x227))}),_0x22a1a4['jsxs'](_0x22c403(0x250),{'className':_0x22c403(0x26e),'children':[_0x22a1a4[_0x22c403(0x1d3)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x3f92d4['t']('mcpConfig.configStepTitle')}),_0x22a1a4['jsxs'](_0x22c403(0x250),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x173),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':_0x22c403(0x289),'children':'1'}),_0x3f92d4['t'](_0x22c403(0x1fd))]}),_0x22a1a4[_0x22c403(0x26b)]('div',{'className':_0x22c403(0x173),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':_0x22c403(0x289),'children':'2'}),_0x3f92d4['t']('mcpConfig.configStep2')]}),_0x22a1a4['jsxs']('div',{'className':_0x22c403(0x173),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x3f92d4['t']('mcpConfig.configStep3')]})]})]})]}),_0x22a1a4[_0x22c403(0x26b)]('div',{'className':'univer-space-y-2','children':[_0x22a1a4['jsx'](_0x22c403(0x250),{'className':_0x22c403(0x1f9),'children':_0x22c403(0x212)}),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':_0x22c403(0x146),'children':_0x22a1a4['jsx'](_0x22c403(0x144),{'className':_0x22c403(0x288),'children':_0x22c403(0x1b1)+_0x2c3751+_0x22c403(0x18d)+(_0x15ea6e||_0x22c403(0x1b2))+_0x22c403(0x16f)})})]}),_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':'univer-space-y-3','children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':_0x22c403(0x1f9),'children':_0x3f92d4['t']('mcpConfig.configParameters')}),_0x22a1a4['jsxs'](_0x22c403(0x250),{'className':_0x22c403(0x26e),'children':[_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x15c),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x22a1a4['jsxs']('div',{'className':_0x22c403(0x2c5),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':_0x22c403(0x2ae),'children':_0x22c403(0x1f8)}),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x3f92d4['t'](_0x22c403(0x1d7))})]})]}),_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x15c),'children':[_0x22a1a4[_0x22c403(0x1d3)]('div',{'className':_0x22c403(0x1aa)}),_0x22a1a4[_0x22c403(0x26b)]('div',{'className':_0x22c403(0x2c5),'children':[_0x22a1a4[_0x22c403(0x1d3)]('div',{'className':_0x22c403(0x2ae),'children':'Authorization:'}),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x3f92d4['t'](_0x22c403(0x2b7))})]})]})]})]})]})]}),_0x22a1a4[_0x22c403(0x1d3)](_0x2a4e4b[_0x22c403(0x264)],{'onClick':_0x3e2ec7,'disabled':!_0xfb8426||_0x46a4a7,'className':_0x22c403(0x180),'children':_0x46a4a7?_0x22a1a4[_0x22c403(0x26b)]('span',{'className':_0x22c403(0x173),'children':[_0x22a1a4[_0x22c403(0x1d3)]('span',{'children':'⟲'}),_0x3f92d4['t'](_0x22c403(0x2bb))]}):_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x20a),{'className':_0x22c403(0x173),'children':[_0x22a1a4['jsx'](_0x529a1f,{}),_0x3f92d4['t'](_0x22c403(0x261))]})}),_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':_0x22c403(0x1ce),'children':_0x22a1a4[_0x22c403(0x26b)]('div',{'className':_0x22c403(0x178),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x20a),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x22a1a4[_0x22c403(0x26b)](_0x22c403(0x250),{'className':_0x22c403(0x2ad),'children':[_0x22a1a4[_0x22c403(0x1d3)](_0x22c403(0x250),{'className':'univer-font-medium','children':'Configuration\x20Notes:'}),_0x22a1a4[_0x22c403(0x26b)]('div',{'children':['•',_0x3f92d4['t'](_0x22c403(0x286))]}),_0x22a1a4['jsxs'](_0x22c403(0x250),{'children':['•',_0x3f92d4['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x4f7db8=_0x335c16(0x20c),_0x4fa5a8={'showDeveloperTools':!0x1};var _0x2421b1=Object[_0x335c16(0x2b6)],_0xd9dba1=(_0x2b6e67,_0x27843c,_0x1fd3eb,_0x4de4a4)=>{var _0x564169=_0x335c16;for(var _0x46641f=_0x4de4a4>0x1?void 0x0:_0x4de4a4?_0x2421b1(_0x27843c,_0x1fd3eb):_0x27843c,_0x108aea=_0x2b6e67[_0x564169(0x1ba)]-0x1,_0x46a689;_0x108aea>=0x0;_0x108aea--)(_0x46a689=_0x2b6e67[_0x108aea])&&(_0x46641f=_0x46a689(_0x46641f)||_0x46641f);return _0x46641f;},_0x36786c=(_0x309cb7,_0x4e5f88)=>(_0x24180f,_0x5c3115)=>_0x4e5f88(_0x24180f,_0x5c3115,_0x309cb7);const _0x51991c='mcp.apiKey',_0x36be66='mcp-config-dialog';_0x2198d5[_0x335c16(0x1f0)]=class extends _0x5075bc[_0x335c16(0x162)]{constructor(_0x4c93fa,_0x46b0f0,_0x40ba89,_0x545313,_0x8a951b,_0x17a383,_0x591047,_0x2bcae4,_0x40ba66,_0x3d4892){var _0x1904d0=_0x335c16;super(),_0x25559b(this,_0x1904d0(0x1b0),new _0x460564[(_0x1904d0(0x2a0))](!0x1)),_0x25559b(this,'_mcpCoreConfig$',new _0x460564['BehaviorSubject']({})),_0x25559b(this,_0x1904d0(0x23a),new _0x460564['BehaviorSubject']({})),_0x25559b(this,_0x1904d0(0x14b),new _0x460564['BehaviorSubject']('')),_0x25559b(this,'_handleConfigSave',async _0x40448d=>{var _0x40046c=_0x1904d0,_0x3b5402,_0x440e5c;this['_loading$']['next'](!0x0);try{const _0x50ad21=await this[_0x40046c(0x242)](_0x40448d);if(!_0x50ad21[_0x40046c(0x199)]){this[_0x40046c(0x1fb)][_0x40046c(0x267)]({'type':_0x2a4e4b['MessageType']['Error'],'content':_0x50ad21[_0x40046c(0x17f)]||this[_0x40046c(0x15d)]['t'](_0x40046c(0x271))});return;}_0x40448d[_0x40046c(0x272)]?await this[_0x40046c(0x273)][_0x40046c(0x139)](_0x51991c,_0x40448d['apiKey'][_0x40046c(0x174)]()):await this[_0x40046c(0x273)][_0x40046c(0x2b5)](_0x51991c),this[_0x40046c(0x14b)][_0x40046c(0x2a9)](((_0x3b5402=_0x40448d[_0x40046c(0x272)])==null?void 0x0:_0x3b5402['trim']())||''),this[_0x40046c(0x142)]['__setCustomHeaders']({'Authorization':_0x40046c(0x220)+((_0x440e5c=_0x40448d[_0x40046c(0x272)])==null?void 0x0:_0x440e5c['trim']())}),this[_0x40046c(0x1fb)][_0x40046c(0x267)]({'type':_0x2a4e4b[_0x40046c(0x182)][_0x40046c(0x1e9)],'content':this[_0x40046c(0x15d)]['t'](_0x40046c(0x241))}),setTimeout(()=>{var _0x390a08=_0x40046c;this[_0x390a08(0x1c4)][_0x390a08(0x230)](_0x36be66);},0x320);}catch(_0x483bfe){this[_0x40046c(0x249)][_0x40046c(0x22d)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x483bfe),this['_messageService']['show']({'type':_0x2a4e4b[_0x40046c(0x182)][_0x40046c(0x1be)],'content':this['_localeService']['t']('mcpConfig.configError')});}finally{this[_0x40046c(0x1b0)][_0x40046c(0x2a9)](!0x1);}}),(this[_0x1904d0(0x1f6)]=_0x4c93fa,this['_uiPartsService']=_0x46b0f0,this[_0x1904d0(0x240)]=_0x40ba89,this[_0x1904d0(0x273)]=_0x545313,this['_dialogService']=_0x8a951b,this[_0x1904d0(0x1fb)]=_0x17a383,this[_0x1904d0(0x141)]=_0x591047,this[_0x1904d0(0x15d)]=_0x2bcae4,this[_0x1904d0(0x249)]=_0x40ba66,this[_0x1904d0(0x142)]=_0x3d4892,this[_0x1904d0(0x1df)](),this[_0x1904d0(0x29c)](),this[_0x1904d0(0x260)]());}['showConfigPanel'](){var _0x727207=_0x335c16;this[_0x727207(0x1c4)][_0x727207(0x262)]({'id':_0x36be66,'title':{'title':this[_0x727207(0x15d)]['t'](_0x727207(0x282))},'children':{'label':_0x727207(0x1eb)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0xe4ae1=_0x727207;this[_0xe4ae1(0x1c4)]['close'](_0x36be66);}});}['getCurrentConfig'](){var _0x298362=_0x335c16;return this[_0x298362(0x268)]['value'];}[_0x335c16(0x260)](){var _0x2a8cc1=_0x335c16;this[_0x2a8cc1(0x278)](this[_0x2a8cc1(0x141)][_0x2a8cc1(0x254)]('MCPConfigPanel',this[_0x2a8cc1(0x238)]()));}[_0x335c16(0x238)](){var _0x29c6e4=_0x335c16;return _0x336e40['connectInjector'](()=>{var _0x33eb1d=_0x5d88,_0x1bb04a,_0x53895b,_0x42d5d8;return _0x22a1a4[_0x33eb1d(0x1d3)](_0x3f5bca,{'config':this[_0x33eb1d(0x23a)][_0x33eb1d(0x28f)],'mcpCoreConfig':this[_0x33eb1d(0x268)][_0x33eb1d(0x28f)],'currentApiKey$':this[_0x33eb1d(0x14b)],'onSave':this[_0x33eb1d(0x1db)],'loading':this[_0x33eb1d(0x1b0)][_0x33eb1d(0x28f)],'connectionStatus$':(_0x1bb04a=this[_0x33eb1d(0x142)])==null?void 0x0:_0x1bb04a[_0x33eb1d(0x153)],'connectionError$':(_0x53895b=this['_mcpConnectionController'])==null?void 0x0:_0x53895b[_0x33eb1d(0x276)],'currentSessionId$':(_0x42d5d8=this[_0x33eb1d(0x142)])==null?void 0x0:_0x42d5d8[_0x33eb1d(0x19a)]});},this[_0x29c6e4(0x1f6)]);}['_initConfigSync'](){var _0x30da6c=_0x335c16;this[_0x30da6c(0x278)](this[_0x30da6c(0x240)][_0x30da6c(0x18c)](_0x484337[_0x30da6c(0x14a)])[_0x30da6c(0x223)](_0x47f742=>{this['_mcpCoreConfig$']['next'](_0x47f742||{});}));const _0x19a601=this['_configService'][_0x30da6c(0x1bf)](_0x484337[_0x30da6c(0x14a)]);this[_0x30da6c(0x268)][_0x30da6c(0x2a9)](_0x19a601||{}),this[_0x30da6c(0x278)](this['_configService']['subscribeConfigValue$'](_0x4f7db8)[_0x30da6c(0x223)](_0x3e2f1b=>{var _0x494935=_0x30da6c;this[_0x494935(0x23a)]['next'](_0x3e2f1b||{});}));const _0x2e0f3c=this['_configService'][_0x30da6c(0x1bf)](_0x4f7db8);this[_0x30da6c(0x23a)]['next'](_0x2e0f3c||{});}async['_loadStoredApiKey'](){var _0x58a77b=_0x335c16;const _0x1d1fea=await this[_0x58a77b(0x273)][_0x58a77b(0x204)](_0x51991c);_0x1d1fea&&(this['_mcpConnectionController'][_0x58a77b(0x296)]({'Authorization':_0x58a77b(0x220)+_0x1d1fea}),this[_0x58a77b(0x14b)][_0x58a77b(0x2a9)](_0x1d1fea));}async[_0x335c16(0x242)](_0x324f2c){var _0x5810ea=_0x335c16;if(!_0x324f2c[_0x5810ea(0x272)]||_0x324f2c[_0x5810ea(0x272)][_0x5810ea(0x174)]()[_0x5810ea(0x1ba)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5810ea(0x15d)]['t'](_0x5810ea(0x15a))};if(_0x324f2c[_0x5810ea(0x272)][_0x5810ea(0x174)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x5810ea(0x15d)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x16389e=await this[_0x5810ea(0x1f6)]['get'](_0x484337[_0x5810ea(0x27a)])['validateApiKey'](_0x324f2c[_0x5810ea(0x272)]['trim']());return _0x16389e['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x16389e[_0x5810ea(0x22d)]||this[_0x5810ea(0x15d)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x160505){return console[_0x5810ea(0x1c9)](_0x5810ea(0x13e),_0x160505),{'isValid':!0x0};}}},_0x2198d5[_0x335c16(0x1f0)]=_0xd9dba1([_0x36786c(0x0,_0x5075bc['Inject'](_0x5075bc[_0x335c16(0x225)])),_0x36786c(0x1,_0x336e40[_0x335c16(0x290)]),_0x36786c(0x2,_0x5075bc[_0x335c16(0x2b2)]),_0x36786c(0x3,_0x5075bc['ILocalStorageService']),_0x36786c(0x4,_0x336e40['IDialogService']),_0x36786c(0x5,_0x336e40[_0x335c16(0x17a)]),_0x36786c(0x6,_0x5075bc['Inject'](_0x336e40[_0x335c16(0x2a6)])),_0x36786c(0x7,_0x5075bc[_0x335c16(0x176)](_0x5075bc[_0x335c16(0x197)])),_0x36786c(0x8,_0x5075bc['ILogService']),_0x36786c(0x9,_0x5075bc[_0x335c16(0x176)](_0x484337[_0x335c16(0x27a)]))],_0x2198d5[_0x335c16(0x1f0)]);const _0x58ace9={'id':_0x335c16(0x274),'type':_0x5075bc[_0x335c16(0x28d)]['COMMAND'],'handler':async(_0x2aac66,_0x56ef70)=>(_0x2aac66['get'](_0x2198d5['MCPConfigUIController'])[_0x335c16(0x194)](),!0x0)};function _0x18b668(_0x1857ad,_0x2c294f){var _0x5ac39a=_0x335c16;switch(_0x1857ad){case _0x484337[_0x5ac39a(0x22f)]['DISCONNECTED']:return _0x5ac39a(0x184);case _0x484337['MCPConnectionStatus'][_0x5ac39a(0x25c)]:return _0x5ac39a(0x1a9);case _0x484337['MCPConnectionStatus'][_0x5ac39a(0x21f)]:return _0x5ac39a(0x218);case _0x484337['MCPConnectionStatus']['FAILED']:switch(_0x2c294f){case _0x484337[_0x5ac39a(0x299)][_0x5ac39a(0x1c2)]:return _0x5ac39a(0x2be);case _0x484337[_0x5ac39a(0x299)]['SESSION_ID_OCCUPIED']:return _0x5ac39a(0x23e);case _0x484337[_0x5ac39a(0x299)][_0x5ac39a(0x25e)]:return'mcpStatus.networkError';case _0x484337['MCPConnectionError'][_0x5ac39a(0x281)]:return _0x5ac39a(0x137);default:return'mcpStatus.failed';}case _0x484337[_0x5ac39a(0x22f)][_0x5ac39a(0x16a)]:return _0x5ac39a(0x25f);default:return _0x5ac39a(0x1a6);}}function _0x1cc4e5(_0x47e4ef,_0x28b0d7,_0xeea419){var _0x3ef93a=_0x335c16;const _0x36822a=_0x18b668(_0x47e4ef,_0x28b0d7),_0x8837b6=_0xeea419['t'](_0x36822a);return _0x47e4ef===_0x484337[_0x3ef93a(0x22f)][_0x3ef93a(0x202)]&&_0x28b0d7===_0x484337['MCPConnectionError'][_0x3ef93a(0x1c2)]?_0x8837b6+_0x3ef93a(0x155)+_0xeea419['t'](_0x3ef93a(0x157)):_0x47e4ef===_0x484337[_0x3ef93a(0x22f)][_0x3ef93a(0x21f)]?''+_0x8837b6:_0x47e4ef===_0x484337[_0x3ef93a(0x22f)][_0x3ef93a(0x202)]||_0x47e4ef===_0x484337[_0x3ef93a(0x22f)][_0x3ef93a(0x24c)]?_0x8837b6+_0x3ef93a(0x155)+_0xeea419['t']('mcpStatus.clickToConnect'):_0x8837b6;}function _0x38bfb0(_0x458f88){var _0x4f639e=_0x335c16;switch(_0x458f88){case _0x484337[_0x4f639e(0x22f)]['CONNECTED']:return _0x4f639e(0x280);case _0x484337[_0x4f639e(0x22f)][_0x4f639e(0x25c)]:case _0x484337[_0x4f639e(0x22f)][_0x4f639e(0x16a)]:return _0x4f639e(0x219);case _0x484337[_0x4f639e(0x22f)]['FAILED']:case _0x484337[_0x4f639e(0x22f)][_0x4f639e(0x202)]:return'univer-text-red-500';default:return _0x4f639e(0x22a);}}function _0x3ea204(_0x5f312d){var _0x35d975=_0x335c16;const {status$:_0x4f9ed3,error$:_0x510d10,onConfigure:_0x9668e}=_0x5f312d,_0x49a22a=_0x336e40[_0x35d975(0x152)](_0x4f9ed3,_0x484337[_0x35d975(0x22f)]['DISCONNECTED']),_0x51f44c=_0x336e40[_0x35d975(0x152)](_0x510d10,_0x484337[_0x35d975(0x299)][_0x35d975(0x1b8)]),_0x40a597=_0x336e40[_0x35d975(0x1ca)](_0x5075bc['LocaleService']),_0x35221a=_0x49a22a===_0x484337[_0x35d975(0x22f)][_0x35d975(0x21f)],_0x5e012f=_0x49a22a===_0x484337[_0x35d975(0x22f)][_0x35d975(0x25c)]||_0x49a22a===_0x484337[_0x35d975(0x22f)][_0x35d975(0x16a)],_0x4a2522=_0x40a597['t'](_0x18b668(_0x49a22a,_0x51f44c)),_0x43d646=_0x1cc4e5(_0x49a22a,_0x51f44c,_0x40a597),_0x4824a0=_0x38bfb0(_0x49a22a),_0x25d087=_0x35221a?_0x22a1a4['jsx'](_0x224759,{}):_0x22a1a4['jsx'](_0x47aba7,{}),_0x2a0de2=_0x4ad054[_0x35d975(0x2a5)](()=>{_0x9668e&&_0x9668e();},[_0x35221a,_0x5e012f,_0x9668e]);function _0x454e16(){var _0x43de12=_0x35d975;return _0x22a1a4[_0x43de12(0x26b)](_0x43de12(0x250),{'className':_0x2a4e4b['clsx']('univer-flex\x20univer-cursor-pointer\x20univer-items-center',_0x9668e&&_0x43de12(0x17c)),'onClick':_0x9668e?_0x2a0de2:void 0x0,'children':[_0x22a1a4[_0x43de12(0x1d3)](_0x43de12(0x250),{'className':_0x2a4e4b['clsx'](_0x43de12(0x1e5),_0x4824a0),'children':_0x25d087}),_0x22a1a4['jsx'](_0x43de12(0x250),{'className':_0x43de12(0x167),'children':_0x4a2522})]});}return _0x22a1a4['jsx'](_0x2a4e4b[_0x35d975(0x170)],{'title':_0x43d646,'placement':'bottom','children':_0x454e16()});}var _0x374b9e=Object[_0x335c16(0x2b6)],_0x3abb3d=(_0x40b41a,_0x1cdf28,_0xfd3fe7,_0x3ebb7a)=>{for(var _0x5d6755=_0x3ebb7a>0x1?void 0x0:_0x3ebb7a?_0x374b9e(_0x1cdf28,_0xfd3fe7):_0x1cdf28,_0x1a6482=_0x40b41a['length']-0x1,_0x3e7a47;_0x1a6482>=0x0;_0x1a6482--)(_0x3e7a47=_0x40b41a[_0x1a6482])&&(_0x5d6755=_0x3e7a47(_0x5d6755)||_0x5d6755);return _0x5d6755;},_0x4c4b33=(_0x3e3121,_0x35a268)=>(_0x30fb25,_0x18722e)=>_0x35a268(_0x30fb25,_0x18722e,_0x3e3121);_0x2198d5['MCPConnectionUIController']=class extends _0x5075bc[_0x335c16(0x162)]{constructor(_0x4d341f,_0x54167b,_0x2a3eb5){var _0x3aa997=_0x335c16;super(),this['_injector']=_0x4d341f,this['_connectionController']=_0x54167b,this['_uiPartsService']=_0x2a3eb5,this[_0x3aa997(0x1e6)]['enableAutoConnect']=!0x1,this['_initStatusComponent']();}[_0x335c16(0x169)](){var _0x2167a1=_0x335c16;this[_0x2167a1(0x278)](this[_0x2167a1(0x2b9)][_0x2167a1(0x216)](_0x336e40['BuiltInUIPart'][_0x2167a1(0x1e7)],()=>_0x336e40[_0x2167a1(0x13a)](_0x238783({'status$':this[_0x2167a1(0x1e6)]['connectionStatus$'],'error$':this[_0x2167a1(0x1e6)][_0x2167a1(0x276)],'onConfigure':()=>this[_0x2167a1(0x196)]()}),this['_injector'])));}[_0x335c16(0x196)](){var _0x2c8087=_0x335c16;this['_injector'][_0x2c8087(0x26d)](_0x2198d5[_0x2c8087(0x1f0)])[_0x2c8087(0x194)]();}},_0x2198d5[_0x335c16(0x27e)]=_0x3abb3d([_0x4c4b33(0x0,_0x5075bc['Inject'](_0x5075bc[_0x335c16(0x225)])),_0x4c4b33(0x1,_0x5075bc[_0x335c16(0x176)](_0x484337['MCPConnectionController'])),_0x4c4b33(0x2,_0x336e40[_0x335c16(0x290)])],_0x2198d5[_0x335c16(0x27e)]);function _0x238783(_0x3693ca){const {status$:_0x28b713,error$:_0x1a4634,onConfigure:_0x236137}=_0x3693ca;return function(){return _0x22a1a4['jsx'](_0x3ea204,{'status$':_0x28b713,'error$':_0x1a4634,'onConfigure':_0x236137});};}function _0x1dcea3(_0x307b5f){var _0x49dbd1=_0x335c16;return{'id':_0x58ace9['id'],'type':_0x336e40['MenuItemType']['BUTTON'],'icon':_0x49dbd1(0x1c8),'title':_0x49dbd1(0x282),'tooltip':'mcpConfig.title'};}const _0x1da2d4={[_0x336e40[_0x335c16(0x1fc)][_0x335c16(0x21b)]]:{[_0x58ace9['id']]:{'order':0xa,'menuItemFactory':_0x1dcea3}}};var _0x55b18c=Object[_0x335c16(0x2b6)],_0x17cbbb=(_0x3d9ade,_0x216f78,_0x7f69bd,_0x3c415b)=>{var _0x2b4044=_0x335c16;for(var _0x3d5c1e=_0x3c415b>0x1?void 0x0:_0x3c415b?_0x55b18c(_0x216f78,_0x7f69bd):_0x216f78,_0x4d875a=_0x3d9ade[_0x2b4044(0x1ba)]-0x1,_0x46554e;_0x4d875a>=0x0;_0x4d875a--)(_0x46554e=_0x3d9ade[_0x4d875a])&&(_0x3d5c1e=_0x46554e(_0x3d5c1e)||_0x3d5c1e);return _0x3d5c1e;},_0x4f989e=(_0x3b7b46,_0x4c098c)=>(_0x95d78e,_0x406fc0)=>_0x4c098c(_0x95d78e,_0x406fc0,_0x3b7b46);_0x2198d5['MCPUIMenuController']=class extends _0x5075bc[_0x335c16(0x162)]{constructor(_0xa538fb,_0x2f26c9){var _0x128254=_0x335c16;super(),this[_0x128254(0x217)]=_0xa538fb,this[_0x128254(0x1e1)]=_0x2f26c9,this[_0x128254(0x29f)](),this['_initializeMenus']();}[_0x335c16(0x29f)](){var _0x45062d=_0x335c16;[_0x58ace9][_0x45062d(0x14f)](_0x35cc55=>{var _0x12f281=_0x45062d;this[_0x12f281(0x278)](this[_0x12f281(0x217)][_0x12f281(0x189)](_0x35cc55));});}[_0x335c16(0x1f5)](){var _0x211e87=_0x335c16;this[_0x211e87(0x1e1)][_0x211e87(0x236)](_0x1da2d4);}},_0x2198d5[_0x335c16(0x2c8)]=_0x17cbbb([_0x4f989e(0x0,_0x5075bc[_0x335c16(0x2ac)]),_0x4f989e(0x1,_0x336e40[_0x335c16(0x193)])],_0x2198d5[_0x335c16(0x2c8)]);const _0x4c906d={'mcpStatus':{'disconnected':_0x335c16(0x2a3),'connecting':_0x335c16(0x24e),'connected':'MCP\x20Connected','failed':_0x335c16(0x1a4),'retrying':_0x335c16(0x243),'unknown':_0x335c16(0x1e4),'missingApiKey':_0x335c16(0x22e),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x335c16(0x160),'networkError':_0x335c16(0x1d6),'maxRetriesExceeded':_0x335c16(0x14e),'clickToConnect':_0x335c16(0x215),'clickToConfigure':_0x335c16(0x1ec)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x335c16(0x291),'apiKeyPlaceholder':_0x335c16(0x231),'apiKeyHint':_0x335c16(0x19d),'enableAuth':_0x335c16(0x163),'enableAuthHint':_0x335c16(0x17b),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x335c16(0x1ab),'configInstructions':_0x335c16(0x1e0),'configStepTitle':_0x335c16(0x283),'configStep1':_0x335c16(0x148),'configStep2':_0x335c16(0x1c6),'configStep3':_0x335c16(0x1d1),'sessionId':_0x335c16(0x1b3),'sessionIdDescription':_0x335c16(0x1e8),'authorizationDescription':_0x335c16(0x298),'configParameters':_0x335c16(0x1bc),'maxRetries':_0x335c16(0x247),'save':_0x335c16(0x287),'saving':_0x335c16(0x1a7),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x335c16(0x20f),'configSaved':_0x335c16(0x285),'configError':_0x335c16(0x1b6),'apiApplyInfo':{'title':_0x335c16(0x235),'description':_0x335c16(0x26f),'univerAiLabel':_0x335c16(0x1ee),'getStarted':_0x335c16(0x251)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x335c16(0x13c),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x335c16(0x25b)},'connectionStatus':{'disconnected':_0x335c16(0x18a),'connecting':_0x335c16(0x168),'connected':_0x335c16(0x1b9),'failed':'Connection\x20Failed','retrying':_0x335c16(0x1d5)},'connectionError':{'missingApiKey':_0x335c16(0x2a4),'invalidApiKey':_0x335c16(0x26a),'sessionOccupied':_0x335c16(0x1a5),'networkError':_0x335c16(0x279),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x37d638={'mcpStatus':{'disconnected':_0x335c16(0x1c3),'connecting':_0x335c16(0x28a),'connected':_0x335c16(0x1da),'failed':'MCP\x20连接失败','retrying':_0x335c16(0x183),'unknown':_0x335c16(0x222),'missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':_0x335c16(0x2b3),'sessionOccupied':_0x335c16(0x2c7),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x335c16(0x140),'clickToConnect':_0x335c16(0x1b5),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':'MCP\x20配置','description':_0x335c16(0x257),'apiKey':_0x335c16(0x198),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x335c16(0x1dd),'enableAuthHint':_0x335c16(0x186),'connectionInfo':_0x335c16(0x2c0),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x335c16(0x277),'configStepTitle':'配置步骤:','configStep1':_0x335c16(0x297),'configStep2':_0x335c16(0x161),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':'会话ID','sessionIdDescription':_0x335c16(0x200),'authorizationDescription':_0x335c16(0x255),'configParameters':_0x335c16(0x1e2),'maxRetries':_0x335c16(0x16d),'save':'保存配置','saving':'保存中...','note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x335c16(0x2b1),'configError':'配置保存失败','apiApplyInfo':{'title':_0x335c16(0x259),'description':_0x335c16(0x18e),'univerAiLabel':_0x335c16(0x1b4),'getStarted':_0x335c16(0x1e3)},'validation':{'apiKeyRequired':_0x335c16(0x23c),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x335c16(0x177),'invalidApiKey':_0x335c16(0x150)},'connectionStatus':{'disconnected':_0x335c16(0x2b0),'connecting':_0x335c16(0x1ae),'connected':'已连接','failed':'连接失败','retrying':_0x335c16(0x1f1)},'connectionError':{'missingApiKey':_0x335c16(0x210),'invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':_0x335c16(0x23b),'networkError':_0x335c16(0x14c),'maxRetriesExceeded':_0x335c16(0x208)}}};var _0x5939c4=Object[_0x335c16(0x1ed)],_0x5a8337=Object[_0x335c16(0x2b6)],_0xf8e642=(_0xd4aa85,_0x25ceff,_0x1712a0)=>_0x25ceff in _0xd4aa85?_0x5939c4(_0xd4aa85,_0x25ceff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1712a0}):_0xd4aa85[_0x25ceff]=_0x1712a0,_0xb95b1=(_0x594de5,_0x4d1721,_0x2fd91e,_0x20bbdc)=>{for(var _0x27394f=_0x20bbdc>0x1?void 0x0:_0x20bbdc?_0x5a8337(_0x4d1721,_0x2fd91e):_0x4d1721,_0x2f51fd=_0x594de5['length']-0x1,_0x2a7220;_0x2f51fd>=0x0;_0x2f51fd--)(_0x2a7220=_0x594de5[_0x2f51fd])&&(_0x27394f=_0x2a7220(_0x27394f)||_0x27394f);return _0x27394f;},_0x32700b=(_0x24780a,_0x452948)=>(_0x11ae03,_0x5130b2)=>_0x452948(_0x11ae03,_0x5130b2,_0x24780a),_0x179086=(_0x5e84e0,_0x1ec3f8,_0x2f4cd9)=>_0xf8e642(_0x5e84e0,_0x1ec3f8+'',_0x2f4cd9);_0x2198d5[_0x335c16(0x27b)]=class extends _0x5075bc[_0x335c16(0x2af)]{constructor(_0xf2f3d0=_0x4fa5a8,_0x3b9f83,_0x3653e8,_0x143db1,_0x3d6ef3,_0x342c8a){var _0x35151d=_0x335c16;super(),this[_0x35151d(0x244)]=_0xf2f3d0,this['_injector']=_0x3b9f83,this['_configService']=_0x3653e8,this[_0x35151d(0x2b9)]=_0x143db1,this[_0x35151d(0x273)]=_0x3d6ef3,this[_0x35151d(0x15d)]=_0x342c8a;const {..._0x9996ee}=_0x5075bc[_0x35151d(0x221)]({},_0x4fa5a8,this[_0x35151d(0x244)]);this[_0x35151d(0x240)][_0x35151d(0x2c2)](_0x4f7db8,_0x9996ee);}async['onStarting'](){var _0x59b8a9=_0x335c16;const _0x22f155=[[_0x2198d5[_0x59b8a9(0x27e)]],[_0x2198d5['MCPConfigUIController']],[_0x2198d5['MCPUIMenuController']]];this['_injector'][_0x59b8a9(0x2a7)](_0x3b22b0[_0x59b8a9(0x19b)])||_0x22f155['push']([_0x3b22b0[_0x59b8a9(0x19b)],{'useClass':_0x3b22b0[_0x59b8a9(0x20e)]}]),_0x22f155[_0x59b8a9(0x14f)](_0x47d6d3=>this['_injector'][_0x59b8a9(0x21d)](_0x47d6d3)),this[_0x59b8a9(0x1f6)][_0x59b8a9(0x26d)](_0x2198d5[_0x59b8a9(0x27e)]),this[_0x59b8a9(0x1f6)]['get'](_0x2198d5['MCPConfigUIController']),this[_0x59b8a9(0x1f6)][_0x59b8a9(0x26d)](_0x2198d5[_0x59b8a9(0x2c8)]);}},_0x179086(_0x2198d5[_0x335c16(0x27b)],_0x335c16(0x233),_0x335c16(0x295)),_0x2198d5['UniverMCPUIPlugin']=_0xb95b1([_0x5075bc[_0x335c16(0x294)](_0x484337[_0x335c16(0x18f)]),_0x32700b(0x1,_0x5075bc['Inject'](_0x5075bc[_0x335c16(0x225)])),_0x32700b(0x2,_0x5075bc[_0x335c16(0x2b2)]),_0x32700b(0x3,_0x336e40[_0x335c16(0x290)]),_0x32700b(0x4,_0x5075bc[_0x335c16(0x179)]),_0x32700b(0x5,_0x5075bc['Inject'](_0x5075bc[_0x335c16(0x197)]))],_0x2198d5[_0x335c16(0x27b)]),_0x2198d5[_0x335c16(0x1eb)]=_0x3f5bca,_0x2198d5[_0x335c16(0x19c)]=_0x3ea204,_0x2198d5['OpenMCPConfigPanelCommand']=_0x58ace9,_0x2198d5[_0x335c16(0x2bc)]=_0x4c906d,_0x2198d5['zhCN']=_0x37d638,Object[_0x335c16(0x1ed)](_0x2198d5,Symbol[_0x335c16(0x2c4)],{'value':'Module'});}));
|
|
1
|
+
function _0x5b2f(_0x345406,_0x3e606b){var _0x1c2756=_0x1c27();return _0x5b2f=function(_0x5b2f2c,_0x59ef85){_0x5b2f2c=_0x5b2f2c-0xbf;var _0xa3c97c=_0x1c2756[_0x5b2f2c];return _0xa3c97c;},_0x5b2f(_0x345406,_0x3e606b);}(function(_0x4eed96,_0x5d6d23){var _0x339163=_0x5b2f,_0x31c1c9=_0x4eed96();while(!![]){try{var _0x39db30=-parseInt(_0x339163(0x1ab))/0x1+-parseInt(_0x339163(0x20e))/0x2*(-parseInt(_0x339163(0xe6))/0x3)+parseInt(_0x339163(0x157))/0x4+-parseInt(_0x339163(0x1ee))/0x5+parseInt(_0x339163(0x25f))/0x6+parseInt(_0x339163(0x24e))/0x7+-parseInt(_0x339163(0x161))/0x8*(parseInt(_0x339163(0x206))/0x9);if(_0x39db30===_0x5d6d23)break;else _0x31c1c9['push'](_0x31c1c9['shift']());}catch(_0x2818f6){_0x31c1c9['push'](_0x31c1c9['shift']());}}}(_0x1c27,0xa890c),function(_0x5ca9f6,_0x280d99){var _0x5e12a5=_0x5b2f;typeof exports==_0x5e12a5(0x221)&&typeof module<'u'?_0x280d99(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x5e12a5(0x1a9)&&define[_0x5e12a5(0x18a)]?define([_0x5e12a5(0xd8),_0x5e12a5(0x129),'react/jsx-runtime',_0x5e12a5(0x103),'@univerjs/design',_0x5e12a5(0xe5),'rxjs',_0x5e12a5(0x259),_0x5e12a5(0x1d2)],_0x280d99):(_0x5ca9f6=typeof globalThis<'u'?globalThis:_0x5ca9f6||self,_0x280d99(_0x5ca9f6[_0x5e12a5(0x223)]={},_0x5ca9f6[_0x5e12a5(0x195)],_0x5ca9f6[_0x5e12a5(0xf4)],_0x5ca9f6[_0x5e12a5(0x192)],_0x5ca9f6['UniverDesign'],_0x5ca9f6[_0x5e12a5(0x1f9)],_0x5ca9f6[_0x5e12a5(0x222)],_0x5ca9f6['React'],_0x5ca9f6[_0x5e12a5(0x242)]));}(this,function(_0x45e178,_0x4cb4a4,_0x226867,_0x1eacb9,_0x4e433a,_0x21b9b0,_0x8d71fc,_0x36c1e8,_0x7852fe){'use strict';var _0x38a625=_0x5b2f;var _0x4355c5=Object['defineProperty'],_0x307f6d=(_0x5c5e12,_0x18946d,_0x9229b9)=>_0x18946d in _0x5c5e12?_0x4355c5(_0x5c5e12,_0x18946d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9229b9}):_0x5c5e12[_0x18946d]=_0x9229b9,_0x34d0b9=(_0x190b34,_0x253ae4,_0x15d5c2)=>_0x307f6d(_0x190b34,typeof _0x253ae4!=_0x38a625(0x167)?_0x253ae4+'':_0x253ae4,_0x15d5c2),_0x5cfeef=function(){var _0x505b35=_0x38a625;return _0x5cfeef=Object['assign']||function(_0x1ba0b5){var _0x4575b0=_0x5b2f;for(var _0x449c94,_0x385d0b=0x1,_0x25cc62=arguments[_0x4575b0(0x1b5)];_0x385d0b<_0x25cc62;_0x385d0b++){_0x449c94=arguments[_0x385d0b];for(var _0x37dc88 in _0x449c94)Object['prototype']['hasOwnProperty'][_0x4575b0(0x1db)](_0x449c94,_0x37dc88)&&(_0x1ba0b5[_0x37dc88]=_0x449c94[_0x37dc88]);}return _0x1ba0b5;},_0x5cfeef[_0x505b35(0x177)](this,arguments);},_0x30cb81=function(_0x140631,_0x173172){var _0x58a4c6=_0x38a625,_0x578a2d={};for(var _0x2810d4 in _0x140631)Object[_0x58a4c6(0xd6)][_0x58a4c6(0x253)][_0x58a4c6(0x1db)](_0x140631,_0x2810d4)&&_0x173172[_0x58a4c6(0x199)](_0x2810d4)<0x0&&(_0x578a2d[_0x2810d4]=_0x140631[_0x2810d4]);if(_0x140631!=null&&typeof Object[_0x58a4c6(0x265)]==_0x58a4c6(0x1a9)){for(var _0x231daa=0x0,_0x2810d4=Object[_0x58a4c6(0x265)](_0x140631);_0x231daa<_0x2810d4['length'];_0x231daa++)_0x173172[_0x58a4c6(0x199)](_0x2810d4[_0x231daa])<0x0&&Object[_0x58a4c6(0xd6)][_0x58a4c6(0x144)][_0x58a4c6(0x1db)](_0x140631,_0x2810d4[_0x231daa])&&(_0x578a2d[_0x2810d4[_0x231daa]]=_0x140631[_0x2810d4[_0x231daa]]);}return _0x578a2d;},_0x9ee375=_0x36c1e8[_0x38a625(0xec)](function(_0xc112fe,_0x201f0a){var _0x11c56a=_0x38a625,_0x1e8b5c=_0xc112fe[_0x11c56a(0xcd)],_0x2b1204=_0xc112fe['id'],_0x20e33f=_0xc112fe[_0x11c56a(0xd2)],_0x858296=_0xc112fe[_0x11c56a(0x187)],_0x1fd378=_0x30cb81(_0xc112fe,[_0x11c56a(0xcd),'id','className',_0x11c56a(0x187)]),_0xf31575=_0x11c56a(0x1f3)['concat'](_0x2b1204,'\x20')[_0x11c56a(0x207)](_0x20e33f||'')['trim'](),_0xe546f2=_0x36c1e8[_0x11c56a(0xc3)]('_'[_0x11c56a(0x207)](_0x5ea4e1()));return _0xc66305(_0x1e8b5c,''['concat'](_0x2b1204),{'defIds':_0x1e8b5c[_0x11c56a(0x172)],'idSuffix':_0xe546f2[_0x11c56a(0x1f4)]},_0x5cfeef({'ref':_0x201f0a,'className':_0xf31575},_0x1fd378),_0x858296);});function _0xc66305(_0x55d722,_0x69ab10,_0x20036a,_0x4b79ad,_0x141517){var _0x27bb91=_0x38a625;return _0x36c1e8[_0x27bb91(0xf8)](_0x55d722[_0x27bb91(0x160)],_0x5cfeef(_0x5cfeef({'key':_0x69ab10},_0x26b903(_0x55d722,_0x20036a,_0x141517)),_0x4b79ad),(_0x3069a8(_0x55d722,_0x20036a)[_0x27bb91(0x255)]||[])[_0x27bb91(0x26d)](function(_0x285e60,_0x41c9ec){var _0x2d49dd=_0x27bb91;return _0xc66305(_0x285e60,''[_0x2d49dd(0x207)](_0x69ab10,'-')['concat'](_0x55d722['tag'],'-')[_0x2d49dd(0x207)](_0x41c9ec),_0x20036a,void 0x0,_0x141517);}));}function _0x26b903(_0xc8db50,_0x46dac0,_0x235f73){var _0x7f8758=_0x38a625,_0x44479e=_0x5cfeef({},_0xc8db50[_0x7f8758(0xc5)]);_0x235f73!=null&&_0x235f73[_0x7f8758(0x149)]&&_0x44479e['fill']===_0x7f8758(0x149)&&(_0x44479e[_0x7f8758(0x170)]=_0x235f73[_0x7f8758(0x149)]),_0xc8db50[_0x7f8758(0x160)]===_0x7f8758(0x23c)&&_0x44479e['id']&&(_0x44479e['id']=_0x44479e['id']+_0x46dac0[_0x7f8758(0x162)]),Object['entries'](_0x44479e)[_0x7f8758(0x24c)](function(_0x47249a){var _0x3f898c=_0x7f8758,_0x241f1a=_0x47249a[0x0],_0x469753=_0x47249a[0x1];_0x241f1a==='mask'&&typeof _0x469753=='string'&&(_0x44479e[_0x241f1a]=_0x469753[_0x3f898c(0x1a1)](/url\(#(.*)\)/,_0x3f898c(0x22b)[_0x3f898c(0x207)](_0x46dac0[_0x3f898c(0x162)],')')));});var _0x8d341a=_0x46dac0[_0x7f8758(0x172)];return!_0x8d341a||_0x8d341a[_0x7f8758(0x1b5)]===0x0||(_0xc8db50[_0x7f8758(0x160)]===_0x7f8758(0x191)&&_0x44479e['xlink:href']&&(_0x44479e[_0x7f8758(0x257)]=_0x44479e[_0x7f8758(0x257)]+_0x46dac0[_0x7f8758(0x162)]),Object[_0x7f8758(0x1f8)](_0x44479e)[_0x7f8758(0x24c)](function(_0x1d7a5d){var _0x110185=_0x7f8758,_0x1e8541=_0x1d7a5d[0x0],_0x274006=_0x1d7a5d[0x1];typeof _0x274006==_0x110185(0x254)&&(_0x44479e[_0x1e8541]=_0x274006[_0x110185(0x1a1)](/url\(#(.*)\)/,_0x110185(0x22b)[_0x110185(0x207)](_0x46dac0[_0x110185(0x162)],')')));})),_0x44479e;}function _0x3069a8(_0x4aada5,_0x3b42bf){var _0xc8c2ee=_0x38a625,_0x1fc378,_0x4ba5ce=_0x3b42bf[_0xc8c2ee(0x172)];return!_0x4ba5ce||_0x4ba5ce[_0xc8c2ee(0x1b5)]===0x0?_0x4aada5:_0x4aada5[_0xc8c2ee(0x160)]===_0xc8c2ee(0x1ac)&&(!((_0x1fc378=_0x4aada5['children'])===null||_0x1fc378===void 0x0)&&_0x1fc378['length'])?_0x5cfeef(_0x5cfeef({},_0x4aada5),{'children':_0x4aada5[_0xc8c2ee(0x255)][_0xc8c2ee(0x26d)](function(_0x3f622a){var _0x511fde=_0xc8c2ee;return typeof _0x3f622a[_0x511fde(0xc5)]['id']==_0x511fde(0x254)&&_0x4ba5ce&&_0x4ba5ce[_0x511fde(0xe9)](_0x3f622a[_0x511fde(0xc5)]['id'])?_0x5cfeef(_0x5cfeef({},_0x3f622a),{'attrs':_0x5cfeef(_0x5cfeef({},_0x3f622a[_0x511fde(0xc5)]),{'id':_0x3f622a[_0x511fde(0xc5)]['id']+_0x3b42bf['idSuffix']})}):_0x3f622a;})}):_0x4aada5;}function _0x5ea4e1(){var _0x3087f0=_0x38a625;return Math[_0x3087f0(0x153)]()[_0x3087f0(0x138)](0x24)[_0x3087f0(0x1ec)](0x2,0x8);}_0x9ee375['displayName']='UniverIcon';var _0x1d8e2e={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x38a625(0xce),'viewBox':_0x38a625(0x26c),'width':'1em','height':_0x38a625(0x128)},'children':[{'tag':_0x38a625(0x12f),'attrs':{'fill':'currentColor','d':_0x38a625(0x1e0),'fillRule':_0x38a625(0x10c),'clipRule':'evenodd'}}]},_0x3938c0=_0x36c1e8['forwardRef'](function(_0xf6bc30,_0x3429e5){var _0x58f356=_0x38a625;return _0x36c1e8[_0x58f356(0xf8)](_0x9ee375,Object[_0x58f356(0x121)]({},_0xf6bc30,{'id':_0x58f356(0x200),'ref':_0x3429e5,'icon':_0x1d8e2e}));});_0x3938c0[_0x38a625(0x262)]=_0x38a625(0x1cb);var _0x161a83={'tag':_0x38a625(0x1fb),'attrs':{'xmlns':_0x38a625(0x22c),'fill':'none','viewBox':_0x38a625(0x24d),'width':_0x38a625(0x128),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x38a625(0x13d),'d':_0x38a625(0x12e),'strokeLinecap':'round','strokeLinejoin':_0x38a625(0x218),'strokeWidth':1.33}},{'tag':_0x38a625(0x12f),'attrs':{'stroke':_0x38a625(0x13d),'d':_0x38a625(0x17b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}}]},_0x3d84fc=_0x36c1e8['forwardRef'](function(_0x1e3729,_0x5c3b91){var _0x4a7537=_0x38a625;return _0x36c1e8['createElement'](_0x9ee375,Object[_0x4a7537(0x121)]({},_0x1e3729,{'id':_0x4a7537(0x166),'ref':_0x5c3b91,'icon':_0x161a83}));});_0x3d84fc[_0x38a625(0x262)]='CloseSmallSingle';var _0x1bb5a3={'tag':_0x38a625(0x1fb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x38a625(0x26c),'width':_0x38a625(0x128),'height':'1em'},'children':[{'tag':_0x38a625(0x12f),'attrs':{'fill':_0x38a625(0x13d),'d':_0x38a625(0x1fd)}},{'tag':'path','attrs':{'fill':_0x38a625(0x13d),'d':_0x38a625(0x210)}},{'tag':'path','attrs':{'fill':'currentColor','d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x38a625(0x10c),'clipRule':_0x38a625(0x10c)}}]},_0x3dbfcf=_0x36c1e8[_0x38a625(0xec)](function(_0x5b32ba,_0x3b816c){var _0x55d617=_0x38a625;return _0x36c1e8[_0x55d617(0xf8)](_0x9ee375,Object[_0x55d617(0x121)]({},_0x5b32ba,{'id':_0x55d617(0x264),'ref':_0x3b816c,'icon':_0x1bb5a3}));});_0x3dbfcf[_0x38a625(0x262)]=_0x38a625(0x25b);var _0x17c646={'tag':_0x38a625(0x1fb),'attrs':{'xmlns':_0x38a625(0x22c),'fill':_0x38a625(0xce),'viewBox':_0x38a625(0x26c),'width':_0x38a625(0x128),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x38a625(0x126)},'children':[{'tag':_0x38a625(0x12f),'attrs':{'stroke':_0x38a625(0x13d),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x38a625(0x218),'strokeLinejoin':_0x38a625(0x218),'strokeWidth':1.2}}]},{'tag':_0x38a625(0x1ac),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x38a625(0xe0)},'children':[{'tag':_0x38a625(0x12f),'attrs':{'fill':_0x38a625(0xc8),'d':_0x38a625(0x240)}}]}]}],'defIds':[_0x38a625(0xe0)]},_0x55fcff=_0x36c1e8[_0x38a625(0xec)](function(_0x1853c8,_0xc6ca8c){var _0x5721fb=_0x38a625;return _0x36c1e8[_0x5721fb(0xf8)](_0x9ee375,Object[_0x5721fb(0x121)]({},_0x1853c8,{'id':_0x5721fb(0xc0),'ref':_0xc6ca8c,'icon':_0x17c646}));});_0x55fcff[_0x38a625(0x262)]=_0x38a625(0x140);var _0x5958ea={'tag':_0x38a625(0x1fb),'attrs':{'xmlns':_0x38a625(0x22c),'fill':'none','viewBox':_0x38a625(0xf1),'width':_0x38a625(0x128),'height':_0x38a625(0x128)},'children':[{'tag':'g','attrs':{'clipPath':_0x38a625(0x109)},'children':[{'tag':'path','attrs':{'stroke':_0x38a625(0x13d),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x38a625(0x218),'strokeLinejoin':_0x38a625(0x218),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x38a625(0x1f1),'attrs':{'id':_0x38a625(0x1c2)},'children':[{'tag':_0x38a625(0x12f),'attrs':{'fill':'white','d':_0x38a625(0x240),'transform':_0x38a625(0x1d0)}}]}]}],'defIds':[_0x38a625(0x1c2)]},_0x1bd988=_0x36c1e8[_0x38a625(0xec)](function(_0x35bf57,_0x5a8942){var _0x32df29=_0x38a625;return _0x36c1e8[_0x32df29(0xf8)](_0x9ee375,Object['assign']({},_0x35bf57,{'id':_0x32df29(0x11a),'ref':_0x5a8942,'icon':_0x5958ea}));});_0x1bd988[_0x38a625(0x262)]=_0x38a625(0x22f);function _0x5205be(_0x4d3fd5){var _0x1f3c76=_0x38a625,_0x2116ed,_0x155abb;const {mcpCoreConfig:_0x477faa,onSave:_0x5b72f7,loading:_0x901473=!0x1,config:_0x53b207,connectionStatus$:_0x308daf,connectionError$:_0x29fce6,currentApiKey$:_0x17cf6e,currentSessionId$:_0x50be1f}=_0x4d3fd5,_0x300c62=_0x21b9b0[_0x1f3c76(0x11c)](_0x4cb4a4[_0x1f3c76(0xda)]),_0x575654=_0x21b9b0[_0x1f3c76(0x25e)](_0x308daf,_0x1eacb9['MCPConnectionStatus'][_0x1f3c76(0x173)]),_0x80314f=_0x21b9b0['useObservable'](_0x29fce6,_0x1eacb9[_0x1f3c76(0x1cc)][_0x1f3c76(0x1da)]),_0x1ea430=_0x21b9b0[_0x1f3c76(0x25e)](_0x50be1f,''),_0x43c8ae=_0x21b9b0[_0x1f3c76(0x25e)](_0x17cf6e,''),[_0x13b41e,_0x4296d9]=_0x36c1e8['useState'](_0x43c8ae||''),_0x375dc5=!0x0,_0x5dd385=_0x53b207[_0x1f3c76(0x23e)]&&_0x477faa[_0x1f3c76(0x1e2)]&&(_0x477faa[_0x1f3c76(0x1e2)][_0x1f3c76(0xe9)](_0x1f3c76(0x1e7))||_0x477faa[_0x1f3c76(0x1e2)]['includes']('univer.ai')),_0x2426f5=(_0x2116ed=_0x477faa['mcpServerUrl'])==null?void 0x0:_0x2116ed['includes'](_0x1f3c76(0x1e7)),_0x14cb34=(_0x155abb=_0x477faa[_0x1f3c76(0x1e2)])==null?void 0x0:_0x155abb['includes'](_0x1f3c76(0x13e)),_0x28a5f2=_0x2426f5?'https://console.univer.plus':_0x1f3c76(0x148),_0x11bd93=_0x53b207[_0x1f3c76(0x23e)]&&(_0x2426f5||_0x14cb34),[_0x3fc4b6,_0x7f4eee]=_0x36c1e8['useState'](!_0x13b41e[_0x1f3c76(0x236)]()),_0x1d48a9=(_0x555396,_0x18714f)=>{var _0x22368e=_0x1f3c76;if(_0x18714f===_0x1eacb9['MCPConnectionError']['UNAUTHORIZED'])return _0x22368e(0xf9);switch(_0x555396){case _0x1eacb9[_0x22368e(0x241)][_0x22368e(0x180)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x1eacb9['MCPConnectionStatus'][_0x22368e(0x1f6)]:case _0x1eacb9[_0x22368e(0x241)][_0x22368e(0x134)]:return _0x22368e(0xfd);case _0x1eacb9[_0x22368e(0x241)][_0x22368e(0x1cd)]:return _0x22368e(0xf9);default:return _0x22368e(0x1d9);}},_0x4a3b61=(_0x258633,_0x2fb006)=>{var _0x381931=_0x1f3c76;if(_0x2fb006===_0x1eacb9[_0x381931(0x1cc)][_0x381931(0x214)])return _0x381931(0x105);switch(_0x258633){case _0x1eacb9[_0x381931(0x241)]['CONNECTED']:return _0x381931(0xf7);case _0x1eacb9[_0x381931(0x241)][_0x381931(0x1f6)]:case _0x1eacb9['MCPConnectionStatus'][_0x381931(0x134)]:return _0x381931(0x131);case _0x1eacb9['MCPConnectionStatus'][_0x381931(0x1cd)]:return _0x381931(0x105);default:return'univer-bg-gray-500';}},_0x2d447b=_0x3dde20=>{var _0x3a9b19=_0x1f3c76;switch(_0x3dde20){case _0x1eacb9[_0x3a9b19(0x241)][_0x3a9b19(0x180)]:return _0x300c62['t'](_0x3a9b19(0x1d8));case _0x1eacb9[_0x3a9b19(0x241)][_0x3a9b19(0x1f6)]:return _0x300c62['t'](_0x3a9b19(0x141));case _0x1eacb9[_0x3a9b19(0x241)]['FAILED']:return _0x300c62['t'](_0x3a9b19(0x14d));case _0x1eacb9['MCPConnectionStatus']['RETRYING']:return _0x300c62['t']('mcpConfig.connectionStatus.retrying');default:return _0x300c62['t'](_0x3a9b19(0x1e1));}},_0x798563=_0x2d0248=>{var _0xd6f14=_0x1f3c76;switch(_0x2d0248){case _0x1eacb9[_0xd6f14(0x1cc)][_0xd6f14(0x214)]:return _0x300c62['t'](_0xd6f14(0x244));case _0x1eacb9[_0xd6f14(0x1cc)][_0xd6f14(0x1df)]:return _0x300c62['t']('mcpConfig.connectionError.sessionOccupied');case _0x1eacb9['MCPConnectionError'][_0xd6f14(0xdc)]:return _0x300c62['t']('mcpConfig.connectionError.networkError');case _0x1eacb9[_0xd6f14(0x1cc)][_0xd6f14(0x101)]:return _0x300c62['t'](_0xd6f14(0x21c));default:return'';}},_0x402fae=_0x36c1e8['useCallback'](()=>{var _0x35c77f=_0x1f3c76;const _0x1f1f12={..._0x477faa,'apiKey':_0x13b41e[_0x35c77f(0x236)](),'enableAuth':_0x375dc5};_0x5b72f7(_0x1f1f12);},[_0x477faa,_0x13b41e,_0x375dc5,_0x5b72f7]),_0x5419fa=_0x13b41e[_0x1f3c76(0x236)]()[_0x1f3c76(0x1b5)]>0x0;return _0x226867['jsxs'](_0x1f3c76(0x235),{'className':_0x1f3c76(0x23b),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x23a),'children':_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x15e),'children':[_0x226867[_0x1f3c76(0x15a)]('div',{'className':_0x1f3c76(0x18d),'children':_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x23d),'children':'⚙'})}),_0x226867[_0x1f3c76(0x15a)]('div',{'children':_0x226867[_0x1f3c76(0x15a)]('p',{'className':_0x1f3c76(0x19f),'children':_0x300c62['t'](_0x1f3c76(0x20a))})})]})}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1a4),'children':[_0x226867['jsx'](_0x1f3c76(0x235),{'className':_0x1f3c76(0x17f)+_0x1d48a9(_0x575654,_0x80314f)+_0x1f3c76(0x1ae),'children':_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x15c)+_0x4a3b61(_0x575654,_0x80314f)+_0x1f3c76(0x19c)}),_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x10e),'children':_0x2d447b(_0x575654)})]})}),_0x80314f!==_0x1eacb9['MCPConnectionError'][_0x1f3c76(0x1da)]&&(_0x575654===_0x1eacb9[_0x1f3c76(0x241)][_0x1f3c76(0x1cd)]||_0x80314f===_0x1eacb9[_0x1f3c76(0x1cc)][_0x1f3c76(0x214)])&&_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xe8),'children':_0x226867['jsxs'](_0x1f3c76(0x235),{'className':_0x1f3c76(0x219),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x21e),'children':'⚠️'}),_0x226867[_0x1f3c76(0x15a)]('p',{'className':_0x1f3c76(0x154),'children':_0x798563(_0x80314f)})]})})]}),_0x226867[_0x1f3c76(0x15a)]('div',{'className':_0x1f3c76(0x1e5),'children':_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x19e),'children':[_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xf3),'children':[_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x16d),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x226867[_0x1f3c76(0x15a)]('span',{'children':'🔑'}),'\x20',_0x300c62['t'](_0x1f3c76(0x204)),_0x226867['jsx'](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x1ad),'children':'*'}),_0x5dd385&&_0x226867[_0x1f3c76(0x15a)]('a',{'href':'javascript:void(0)','onClick':()=>_0x7f4eee(!0x0),'className':_0x1f3c76(0xf2),'title':_0x300c62['t'](_0x1f3c76(0xc4)),'children':_0x226867[_0x1f3c76(0x15a)](_0x3dbfcf,{})})]}),_0x226867[_0x1f3c76(0x15a)](_0x4e433a[_0x1f3c76(0xd7)],{'type':_0x1f3c76(0x1c5),'placeholder':_0x300c62['t'](_0x1f3c76(0x1fc)),'value':_0x13b41e,'onChange':_0x4296d9,'disabled':_0x901473,'autoComplete':'off'}),_0x226867[_0x1f3c76(0x15a)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x300c62['t'](_0x1f3c76(0x215))})]}),_0x5dd385&&_0x3fc4b6&&_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x258),'children':[_0x226867[_0x1f3c76(0x15a)]('a',{'href':'javascript:void(0)','onClick':()=>_0x7f4eee(!0x1),'className':_0x1f3c76(0x107),'title':_0x1f3c76(0x18c),'children':_0x226867[_0x1f3c76(0x15a)](_0x3d84fc,{})}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x106),'children':[_0x226867['jsx']('div',{'className':_0x1f3c76(0x102),'children':_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x10f),'children':'🚀'})}),_0x226867[_0x1f3c76(0x1bb)]('div',{'className':_0x1f3c76(0x100),'children':[_0x226867[_0x1f3c76(0x15a)]('h4',{'className':_0x1f3c76(0xdd),'children':_0x300c62['t'](_0x1f3c76(0xc4))}),_0x226867[_0x1f3c76(0x15a)]('p',{'className':_0x1f3c76(0x212),'children':_0x300c62['t'](_0x1f3c76(0x122))}),_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x233),'children':_0x11bd93&&_0x226867[_0x1f3c76(0x1bb)]('a',{'href':_0x28a5f2,'target':_0x1f3c76(0xde),'rel':_0x1f3c76(0x1a2),'className':_0x1f3c76(0xed),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'children':'🤖'}),_0x300c62['t'](_0x1f3c76(0x171)),_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x142),'children':'↗'})]})}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x186),'children':['✨','\x20',_0x300c62['t'](_0x1f3c76(0x208))]})]})]})]}),_0x53b207[_0x1f3c76(0x23e)]&&_0x226867['jsxs']('div',{'className':_0x1f3c76(0x12d),'children':[_0x226867[_0x1f3c76(0x1bb)]('h4',{'className':_0x1f3c76(0x268),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'children':'🔗'}),'\x20',_0x300c62['t'](_0x1f3c76(0x1af))]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x117),'children':[_0x226867[_0x1f3c76(0x1bb)]('div',{'className':_0x1f3c76(0x267),'children':[_0x226867['jsx']('p',{'className':_0x1f3c76(0x224),'children':_0x300c62['t'](_0x1f3c76(0x135))}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xf3),'children':[_0x226867[_0x1f3c76(0x15a)]('div',{'className':_0x1f3c76(0x1e9),'children':_0x300c62['t'](_0x1f3c76(0x1a6))}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x152),'children':[_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x26a),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x15f),'children':'1'}),_0x300c62['t'](_0x1f3c76(0x130))]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x26a),'children':[_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x15f),'children':'2'}),_0x300c62['t'](_0x1f3c76(0xd3))]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x26a),'children':[_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x15f),'children':'3'}),_0x300c62['t'](_0x1f3c76(0x234))]})]})]})]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':'univer-space-y-2','children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1e9),'children':_0x1f3c76(0x1b6)}),_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xc7),'children':_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x12c),{'className':_0x1f3c76(0xe4),'children':_0x1f3c76(0xfb)+_0x1ea430+'\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20'+(_0x13b41e||_0x1f3c76(0x14b))+_0x1f3c76(0x1be)})})]}),_0x226867[_0x1f3c76(0x1bb)]('div',{'className':'univer-space-y-3','children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x300c62['t']('mcpConfig.configParameters')}),_0x226867['jsxs'](_0x1f3c76(0x235),{'className':_0x1f3c76(0xf3),'children':[_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x226867['jsx'](_0x1f3c76(0x235),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x226867[_0x1f3c76(0x1bb)]('div',{'className':_0x1f3c76(0x1f7),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1b7),'children':_0x1f3c76(0x216)}),_0x226867[_0x1f3c76(0x15a)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x300c62['t'](_0x1f3c76(0x266))})]})]}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x11f),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x164)}),_0x226867['jsxs'](_0x1f3c76(0x235),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1b7),'children':_0x1f3c76(0x202)}),_0x226867[_0x1f3c76(0x15a)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x300c62['t'](_0x1f3c76(0x17d))})]})]})]})]})]})]}),_0x226867[_0x1f3c76(0x15a)](_0x4e433a['Button'],{'onClick':_0x402fae,'disabled':!_0x5419fa||_0x901473,'className':_0x1f3c76(0x12a),'children':_0x901473?_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x1dc),{'className':_0x1f3c76(0x26a),'children':[_0x226867[_0x1f3c76(0x15a)]('span',{'children':'⟲'}),_0x300c62['t']('mcpConfig.saving')]}):_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x1dc),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x226867['jsx'](_0x3938c0,{}),_0x300c62['t'](_0x1f3c76(0x205))]})}),_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x263),'children':_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x1a3),'children':[_0x226867[_0x1f3c76(0x15a)]('span',{'className':_0x1f3c76(0x19b),'children':'💡'}),_0x226867[_0x1f3c76(0x1bb)](_0x1f3c76(0x235),{'className':_0x1f3c76(0xe3),'children':[_0x226867[_0x1f3c76(0x15a)](_0x1f3c76(0x235),{'className':_0x1f3c76(0x261),'children':_0x1f3c76(0x136)}),_0x226867['jsxs']('div',{'children':['•',_0x300c62['t']('mcpConfig.note1')]}),_0x226867['jsxs'](_0x1f3c76(0x235),{'children':['•',_0x300c62['t'](_0x1f3c76(0xfc))]})]})]})})]})})]});}const _0x42f80b='mcp-ui.config',_0x4256f2={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x48bc8e=Object[_0x38a625(0x231)],_0x3bb9d7=(_0x497ab8,_0x5335ba,_0x4306c3,_0x3b72b0)=>{var _0x4b89f8=_0x38a625;for(var _0x40183d=_0x3b72b0>0x1?void 0x0:_0x3b72b0?_0x48bc8e(_0x5335ba,_0x4306c3):_0x5335ba,_0x4137cd=_0x497ab8[_0x4b89f8(0x1b5)]-0x1,_0x183aab;_0x4137cd>=0x0;_0x4137cd--)(_0x183aab=_0x497ab8[_0x4137cd])&&(_0x40183d=_0x183aab(_0x40183d)||_0x40183d);return _0x40183d;},_0x577fde=(_0x5f421b,_0x47b709)=>(_0xf8cc09,_0x2a4218)=>_0x47b709(_0xf8cc09,_0x2a4218,_0x5f421b);const _0x6b63b7='mcp.apiKey',_0x1b4840=_0x38a625(0xf5);_0x45e178[_0x38a625(0x104)]=class extends _0x4cb4a4['Disposable']{constructor(_0x413af2,_0x11afc4,_0x4cfbb5,_0x286ff1,_0x519059,_0x188804,_0x46f1a6,_0x3234ed,_0x2d1119,_0x16b7e3){var _0x3cb960=_0x38a625;super(),_0x34d0b9(this,_0x3cb960(0x1c4),new _0x8d71fc[(_0x3cb960(0x248))](!0x1)),_0x34d0b9(this,_0x3cb960(0xc1),new _0x8d71fc[(_0x3cb960(0x248))]({})),_0x34d0b9(this,_0x3cb960(0x26b),new _0x8d71fc['BehaviorSubject']({})),_0x34d0b9(this,_0x3cb960(0x14c),new _0x8d71fc[(_0x3cb960(0x248))]('')),_0x34d0b9(this,_0x3cb960(0x18e),async _0x32fff2=>{var _0x3f3adc=_0x3cb960,_0x2e0ea8,_0xa5b822;this[_0x3f3adc(0x1c4)][_0x3f3adc(0x20d)](!0x0);try{const _0x1737ac=await this[_0x3f3adc(0x15b)](_0x32fff2);if(!_0x1737ac[_0x3f3adc(0x217)]){this[_0x3f3adc(0x197)][_0x3f3adc(0x133)]({'type':_0x4e433a['MessageType'][_0x3f3adc(0x1ba)],'content':_0x1737ac[_0x3f3adc(0xef)]||this[_0x3f3adc(0x1b9)]['t'](_0x3f3adc(0x125))});return;}_0x32fff2[_0x3f3adc(0x1b3)]?await this[_0x3f3adc(0x178)][_0x3f3adc(0x1c7)](_0x6b63b7,_0x32fff2[_0x3f3adc(0x1b3)][_0x3f3adc(0x236)]()):await this['_localStorageService'][_0x3f3adc(0x13b)](_0x6b63b7),this[_0x3f3adc(0x14c)][_0x3f3adc(0x20d)](((_0x2e0ea8=_0x32fff2[_0x3f3adc(0x1b3)])==null?void 0x0:_0x2e0ea8[_0x3f3adc(0x236)]())||''),this[_0x3f3adc(0x1e4)][_0x3f3adc(0x25a)]({'Authorization':_0x3f3adc(0x108)+((_0xa5b822=_0x32fff2[_0x3f3adc(0x1b3)])==null?void 0x0:_0xa5b822[_0x3f3adc(0x236)]())}),this[_0x3f3adc(0x197)][_0x3f3adc(0x133)]({'type':_0x4e433a['MessageType'][_0x3f3adc(0x1d5)],'content':this[_0x3f3adc(0x1b9)]['t'](_0x3f3adc(0x114))}),setTimeout(()=>{var _0x5cfd67=_0x3f3adc;this[_0x5cfd67(0x25c)][_0x5cfd67(0x155)](_0x1b4840);},0x320);}catch(_0x476d00){this[_0x3f3adc(0x13f)][_0x3f3adc(0x1f0)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x476d00),this['_messageService'][_0x3f3adc(0x133)]({'type':_0x4e433a[_0x3f3adc(0x13a)][_0x3f3adc(0x1ba)],'content':this['_localeService']['t'](_0x3f3adc(0x1ff))});}finally{this['_loading$'][_0x3f3adc(0x20d)](!0x1);}}),(this[_0x3cb960(0x213)]=_0x413af2,this['_uiPartsService']=_0x11afc4,this[_0x3cb960(0x225)]=_0x4cfbb5,this[_0x3cb960(0x178)]=_0x286ff1,this['_dialogService']=_0x519059,this['_messageService']=_0x188804,this[_0x3cb960(0x175)]=_0x46f1a6,this['_localeService']=_0x3234ed,this['_logService']=_0x2d1119,this[_0x3cb960(0x1e4)]=_0x16b7e3,this[_0x3cb960(0x21d)](),this['_loadStoredApiKey'](),this['_registerComponent']());}['showConfigPanel'](){var _0x3edd24=_0x38a625;const _0x2246ef=this[_0x3edd24(0x225)][_0x3edd24(0xdb)](_0x42f80b);_0x2246ef!=null&&_0x2246ef['showDeveloperTools']&&this['_dialogService'][_0x3edd24(0x16f)]({'id':_0x1b4840,'title':{'title':this['_localeService']['t'](_0x3edd24(0x17e))},'children':{'label':_0x3edd24(0x137)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0xb2c092=_0x3edd24;this['_dialogService'][_0xb2c092(0x155)](_0x1b4840);}});}[_0x38a625(0x249)](){return this['_mcpCoreConfig$']['value'];}[_0x38a625(0xd1)](){var _0x335044=_0x38a625;this['disposeWithMe'](this[_0x335044(0x175)][_0x335044(0x251)](_0x335044(0x137),this[_0x335044(0x1de)]()));}[_0x38a625(0x1de)](){var _0x5165ce=_0x38a625;return _0x21b9b0['connectInjector'](()=>{var _0x52658f=_0x5b2f,_0x5e7593,_0x41c52f,_0x4b417e;return _0x226867['jsx'](_0x5205be,{'config':this[_0x52658f(0x26b)]['value'],'mcpCoreConfig':this[_0x52658f(0xc1)][_0x52658f(0x1b0)],'currentApiKey$':this[_0x52658f(0x14c)],'onSave':this[_0x52658f(0x18e)],'loading':this[_0x52658f(0x1c4)]['value'],'connectionStatus$':(_0x5e7593=this[_0x52658f(0x1e4)])==null?void 0x0:_0x5e7593[_0x52658f(0x1fe)],'connectionError$':(_0x41c52f=this[_0x52658f(0x1e4)])==null?void 0x0:_0x41c52f['connectionError$'],'currentSessionId$':(_0x4b417e=this[_0x52658f(0x1e4)])==null?void 0x0:_0x4b417e[_0x52658f(0x132)]});},this[_0x5165ce(0x213)]);}[_0x38a625(0x21d)](){var _0x50f31e=_0x38a625;this[_0x50f31e(0x113)](this['_configService'][_0x50f31e(0x21b)](_0x1eacb9['MCP_PLUGIN_CONFIG_KEY'])[_0x50f31e(0xeb)](_0x48cf5b=>{var _0x5dbd15=_0x50f31e;this[_0x5dbd15(0xc1)][_0x5dbd15(0x20d)](_0x48cf5b||{});}));const _0x563e77=this['_configService'][_0x50f31e(0xdb)](_0x1eacb9[_0x50f31e(0x11d)]);this[_0x50f31e(0xc1)][_0x50f31e(0x20d)](_0x563e77||{}),this[_0x50f31e(0x113)](this['_configService']['subscribeConfigValue$'](_0x42f80b)[_0x50f31e(0xeb)](_0x33c723=>{var _0x348795=_0x50f31e;this[_0x348795(0x26b)][_0x348795(0x20d)](_0x33c723||{});}));const _0x4a3e1a=this[_0x50f31e(0x225)][_0x50f31e(0xdb)](_0x42f80b);this[_0x50f31e(0x26b)][_0x50f31e(0x20d)](_0x4a3e1a||{});}async[_0x38a625(0x237)](){var _0x3e6f17=_0x38a625;const _0x49ea9a=this[_0x3e6f17(0x225)]['getConfig'](_0x42f80b);if(!(_0x49ea9a!=null&&_0x49ea9a[_0x3e6f17(0x23e)]))return;const _0x274c2e=await this[_0x3e6f17(0x178)][_0x3e6f17(0x198)](_0x6b63b7);_0x274c2e&&(this['_mcpConnectionController'][_0x3e6f17(0x25a)]({'Authorization':_0x3e6f17(0x108)+_0x274c2e}),this[_0x3e6f17(0x14c)][_0x3e6f17(0x20d)](_0x274c2e));}async['_validateConfig'](_0x28334b){var _0x5a209c=_0x38a625;if(!_0x28334b[_0x5a209c(0x1b3)]||_0x28334b[_0x5a209c(0x1b3)]['trim']()[_0x5a209c(0x1b5)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5a209c(0x1b9)]['t'](_0x5a209c(0x1fa))};if(_0x28334b[_0x5a209c(0x1b3)][_0x5a209c(0x236)]()[_0x5a209c(0x1b5)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x5a209c(0x1b9)]['t'](_0x5a209c(0x18f))};try{const _0x16866e=await this['_injector'][_0x5a209c(0x1ea)](_0x1eacb9['MCPConnectionController'])['validateApiKey'](_0x28334b[_0x5a209c(0x1b3)][_0x5a209c(0x236)]());return _0x16866e['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x16866e[_0x5a209c(0x1f0)]||this['_localeService']['t'](_0x5a209c(0x25d))};}catch(_0x5dfff7){return console['warn'](_0x5a209c(0x229),_0x5dfff7),{'isValid':!0x0};}}},_0x45e178[_0x38a625(0x104)]=_0x3bb9d7([_0x577fde(0x0,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4['Injector'])),_0x577fde(0x1,_0x21b9b0['IUIPartsService']),_0x577fde(0x2,_0x4cb4a4[_0x38a625(0x269)]),_0x577fde(0x3,_0x4cb4a4[_0x38a625(0x181)]),_0x577fde(0x4,_0x21b9b0['IDialogService']),_0x577fde(0x5,_0x21b9b0['IMessageService']),_0x577fde(0x6,_0x4cb4a4[_0x38a625(0x1c1)](_0x21b9b0['ComponentManager'])),_0x577fde(0x7,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4[_0x38a625(0xda)])),_0x577fde(0x8,_0x4cb4a4['ILogService']),_0x577fde(0x9,_0x4cb4a4[_0x38a625(0x1c1)](_0x1eacb9[_0x38a625(0x185)]))],_0x45e178[_0x38a625(0x104)]);const _0x2aa0a2={'id':'mcp-ui.command.openConfigPanel','type':_0x4cb4a4['CommandType']['COMMAND'],'handler':async(_0x4e74c6,_0x4ebe7e)=>(_0x4e74c6[_0x38a625(0x1ea)](_0x45e178[_0x38a625(0x104)])[_0x38a625(0x1ce)](),!0x0)};function _0x55e652(_0x5726d6,_0x4c7365){var _0x2b438a=_0x38a625;switch(_0x5726d6){case _0x1eacb9[_0x2b438a(0x241)]['DISCONNECTED']:return _0x2b438a(0x1b8);case _0x1eacb9[_0x2b438a(0x241)]['CONNECTING']:return _0x2b438a(0x1d1);case _0x1eacb9['MCPConnectionStatus'][_0x2b438a(0x180)]:return'mcpStatus.connected';case _0x1eacb9['MCPConnectionStatus']['FAILED']:switch(_0x4c7365){case _0x1eacb9[_0x2b438a(0x1cc)][_0x2b438a(0x214)]:return _0x2b438a(0x179);case _0x1eacb9[_0x2b438a(0x1cc)][_0x2b438a(0x1df)]:return _0x2b438a(0xff);case _0x1eacb9[_0x2b438a(0x1cc)][_0x2b438a(0xdc)]:return _0x2b438a(0x1b1);case _0x1eacb9[_0x2b438a(0x1cc)]['MAX_RETRIES_EXCEEDED']:return _0x2b438a(0x1c3);default:return _0x2b438a(0x232);}case _0x1eacb9['MCPConnectionStatus']['RETRYING']:return'mcpStatus.retrying';default:return'mcpStatus.unknown';}}function _0x29f079(_0xd51e1b,_0x135979,_0x6a8ed1,_0x1062b7=!0x0){var _0x10e83d=_0x38a625;const _0x25131a=_0x55e652(_0xd51e1b,_0x135979),_0xbdeb91=_0x6a8ed1['t'](_0x25131a);return _0x1062b7?_0xd51e1b===_0x1eacb9['MCPConnectionStatus'][_0x10e83d(0x173)]&&_0x135979===_0x1eacb9['MCPConnectionError'][_0x10e83d(0x214)]?_0xbdeb91+'\x20-\x20'+_0x6a8ed1['t'](_0x10e83d(0x16a)):_0xd51e1b===_0x1eacb9[_0x10e83d(0x241)][_0x10e83d(0x180)]?''+_0xbdeb91:_0xd51e1b===_0x1eacb9[_0x10e83d(0x241)]['DISCONNECTED']||_0xd51e1b===_0x1eacb9['MCPConnectionStatus'][_0x10e83d(0x1cd)]?_0xbdeb91+_0x10e83d(0x10a)+_0x6a8ed1['t'](_0x10e83d(0xdf)):_0xbdeb91:_0xbdeb91;}function _0x17f942(_0x47b9e6){var _0x26a8cf=_0x38a625;switch(_0x47b9e6){case _0x1eacb9[_0x26a8cf(0x241)][_0x26a8cf(0x180)]:return _0x26a8cf(0x22d);case _0x1eacb9[_0x26a8cf(0x241)][_0x26a8cf(0x1f6)]:case _0x1eacb9[_0x26a8cf(0x241)]['RETRYING']:return _0x26a8cf(0x1bd);case _0x1eacb9[_0x26a8cf(0x241)][_0x26a8cf(0x1cd)]:case _0x1eacb9[_0x26a8cf(0x241)]['DISCONNECTED']:return _0x26a8cf(0x1ad);default:return _0x26a8cf(0x174);}}function _0x42e9f6(_0x5d27e2){var _0x2dc76c=_0x38a625;const {status$:_0x2abbd6,error$:_0xd9c8fe,onConfigure:_0x18143e,showClickable:_0x73b654=!0x0}=_0x5d27e2,_0x2aaeae=_0x21b9b0[_0x2dc76c(0x25e)](_0x2abbd6,_0x1eacb9[_0x2dc76c(0x241)][_0x2dc76c(0x173)]),_0x14fa2c=_0x21b9b0[_0x2dc76c(0x25e)](_0xd9c8fe,_0x1eacb9[_0x2dc76c(0x1cc)][_0x2dc76c(0x1da)]),_0x1997ae=_0x21b9b0[_0x2dc76c(0x11c)](_0x4cb4a4[_0x2dc76c(0xda)]),_0x30a29f=_0x2aaeae===_0x1eacb9['MCPConnectionStatus'][_0x2dc76c(0x180)];_0x2aaeae===_0x1eacb9[_0x2dc76c(0x241)][_0x2dc76c(0x1f6)]||_0x1eacb9[_0x2dc76c(0x241)][_0x2dc76c(0x134)];const _0x12429e=_0x1997ae['t'](_0x55e652(_0x2aaeae,_0x14fa2c)),_0x550196=_0x29f079(_0x2aaeae,_0x14fa2c,_0x1997ae,_0x73b654),_0x535327=_0x17f942(_0x2aaeae),_0x5dbccb=_0x30a29f?_0x226867[_0x2dc76c(0x15a)](_0x1bd988,{}):_0x226867[_0x2dc76c(0x15a)](_0x55fcff,{}),_0x1a4fe0=_0x36c1e8[_0x2dc76c(0xd9)](()=>{_0x73b654&&_0x18143e&&_0x18143e();},[_0x73b654,_0x18143e]);function _0x5dcc64(){var _0x33bd12=_0x2dc76c;return _0x226867['jsxs']('div',{'className':_0x4e433a['clsx'](_0x33bd12(0x1eb),_0x73b654&&_0x18143e&&'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'),'onClick':_0x73b654&&_0x18143e?_0x1a4fe0:void 0x0,'children':[_0x226867[_0x33bd12(0x15a)](_0x33bd12(0x235),{'className':_0x4e433a[_0x33bd12(0x1c6)](_0x33bd12(0x165),_0x535327),'children':_0x5dbccb}),_0x226867[_0x33bd12(0x15a)]('div',{'className':_0x33bd12(0x227),'children':_0x12429e})]});}return _0x226867[_0x2dc76c(0x15a)](_0x4e433a[_0x2dc76c(0x188)],{'title':_0x550196,'placement':'bottom','children':_0x5dcc64()});}var _0x4acf06=Object[_0x38a625(0x231)],_0x1b7d52=(_0x115377,_0x24d60b,_0x311a9e,_0x498301)=>{var _0x1ea85d=_0x38a625;for(var _0x48fa11=_0x498301>0x1?void 0x0:_0x498301?_0x4acf06(_0x24d60b,_0x311a9e):_0x24d60b,_0x11265b=_0x115377[_0x1ea85d(0x1b5)]-0x1,_0x5ad9b3;_0x11265b>=0x0;_0x11265b--)(_0x5ad9b3=_0x115377[_0x11265b])&&(_0x48fa11=_0x5ad9b3(_0x48fa11)||_0x48fa11);return _0x48fa11;},_0x55d2f8=(_0x593682,_0x498b25)=>(_0x92e8cc,_0x5794b3)=>_0x498b25(_0x92e8cc,_0x5794b3,_0x593682);_0x45e178[_0x38a625(0x124)]=class extends _0x4cb4a4[_0x38a625(0x1c0)]{constructor(_0x529700,_0x3097e4,_0x513704,_0x4ba921){var _0xa9a274=_0x38a625;super(),this[_0xa9a274(0x213)]=_0x529700,this['_connectionController']=_0x3097e4,this[_0xa9a274(0x17a)]=_0x513704,this['_configService']=_0x4ba921,this['_initAutoConnect'](),this['_initStatusComponent']();}[_0x38a625(0xfa)](){var _0x37361e=_0x38a625;const _0x218914=this[_0x37361e(0x225)][_0x37361e(0xdb)](_0x42f80b);_0x218914!=null&&_0x218914['showDeveloperTools']&&(this['_connectionController'][_0x37361e(0x226)]=!0x1);}[_0x38a625(0x19a)](){var _0x56beb7=_0x38a625;const _0x2f9e1a=this[_0x56beb7(0x225)][_0x56beb7(0xdb)](_0x42f80b);(_0x2f9e1a==null?void 0x0:_0x2f9e1a[_0x56beb7(0x169)])!==!0x1&&this[_0x56beb7(0x113)](this['_uiPartsService'][_0x56beb7(0x163)](_0x21b9b0[_0x56beb7(0x1ef)][_0x56beb7(0x20f)],()=>{var _0x580798=_0x56beb7,_0x5f0107;return _0x21b9b0[_0x580798(0xd0)](_0x448723({'status$':this['_connectionController'][_0x580798(0x1fe)],'error$':this[_0x580798(0x1b2)][_0x580798(0x159)],'onConfigure':()=>this[_0x580798(0xc6)](),'showClickable':(_0x5f0107=_0x2f9e1a==null?void 0x0:_0x2f9e1a[_0x580798(0x23e)])!=null?_0x5f0107:!0x1}),this[_0x580798(0x213)]);}));}['_handleConfigure'](){var _0x5aec69=_0x38a625;this[_0x5aec69(0x213)]['get'](_0x45e178[_0x5aec69(0x104)])[_0x5aec69(0x1ce)]();}},_0x45e178[_0x38a625(0x124)]=_0x1b7d52([_0x55d2f8(0x0,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4['Injector'])),_0x55d2f8(0x1,_0x4cb4a4['Inject'](_0x1eacb9['MCPConnectionController'])),_0x55d2f8(0x2,_0x21b9b0[_0x38a625(0x14a)]),_0x55d2f8(0x3,_0x4cb4a4[_0x38a625(0x269)])],_0x45e178['MCPConnectionUIController']);function _0x448723(_0x4aa9ee){const {status$:_0x33e0ce,error$:_0x2e2611,onConfigure:_0x4f8bb2,showClickable:_0x5d49bb}=_0x4aa9ee;return function(){var _0x1373e3=_0x5b2f;return _0x226867[_0x1373e3(0x15a)](_0x42e9f6,{'status$':_0x33e0ce,'error$':_0x2e2611,'onConfigure':_0x4f8bb2,'showClickable':_0x5d49bb});};}function _0x451ef7(_0x3bd6d6){var _0x2c62a1=_0x38a625;return{'id':_0x2aa0a2['id'],'type':_0x21b9b0['MenuItemType'][_0x2c62a1(0x111)],'icon':_0x2c62a1(0x1a7),'title':_0x2c62a1(0x17e),'tooltip':_0x2c62a1(0x17e)};}const _0x11be19={[_0x21b9b0[_0x38a625(0xc2)][_0x38a625(0x196)]]:{[_0x2aa0a2['id']]:{'order':0xa,'menuItemFactory':_0x451ef7}}};var _0x3b93c4=Object[_0x38a625(0x231)],_0x5ba923=(_0x182cc6,_0x450be9,_0x472e68,_0x2f448b)=>{for(var _0x144f0d=_0x2f448b>0x1?void 0x0:_0x2f448b?_0x3b93c4(_0x450be9,_0x472e68):_0x450be9,_0x256048=_0x182cc6['length']-0x1,_0x399b4b;_0x256048>=0x0;_0x256048--)(_0x399b4b=_0x182cc6[_0x256048])&&(_0x144f0d=_0x399b4b(_0x144f0d)||_0x144f0d);return _0x144f0d;},_0x551bee=(_0x2a97d8,_0x54e78f)=>(_0x2b832c,_0x30512c)=>_0x54e78f(_0x2b832c,_0x30512c,_0x2a97d8);_0x45e178[_0x38a625(0x1bf)]=class extends _0x4cb4a4[_0x38a625(0x1c0)]{constructor(_0x43b324,_0x36e94c){var _0xe39892=_0x38a625;super(),this['_commandService']=_0x43b324,this['_menuManagerService']=_0x36e94c,this[_0xe39892(0x115)](),this[_0xe39892(0x22e)]();}[_0x38a625(0x115)](){[_0x2aa0a2]['forEach'](_0x2d0d9a=>{var _0x52a07e=_0x5b2f;this[_0x52a07e(0x113)](this[_0x52a07e(0x14e)]['registerCommand'](_0x2d0d9a));});}['_initializeMenus'](){var _0x450bb5=_0x38a625;this[_0x450bb5(0x1d3)][_0x450bb5(0xe1)](_0x11be19);}},_0x45e178[_0x38a625(0x1bf)]=_0x5ba923([_0x551bee(0x0,_0x4cb4a4[_0x38a625(0x182)]),_0x551bee(0x1,_0x21b9b0['IMenuManagerService'])],_0x45e178[_0x38a625(0x1bf)]);const _0x29e172={'mcpStatus':{'disconnected':_0x38a625(0x209),'connecting':'MCP\x20Connecting...','connected':_0x38a625(0xcc),'failed':_0x38a625(0x238),'retrying':_0x38a625(0x220),'unknown':_0x38a625(0x168),'unauthorized':_0x38a625(0x1d4),'sessionOccupied':_0x38a625(0x1a0),'networkError':_0x38a625(0x143),'maxRetriesExceeded':_0x38a625(0xea),'clickToConnect':_0x38a625(0x17c),'clickToConfigure':_0x38a625(0x14f)},'mcpConfig':{'title':_0x38a625(0x1b6),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x38a625(0x16e),'apiKeyPlaceholder':_0x38a625(0x1a8),'apiKeyHint':_0x38a625(0x10b),'enableAuth':_0x38a625(0x10d),'enableAuthHint':_0x38a625(0x21f),'connectionInfo':_0x38a625(0x250),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x38a625(0x112),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x38a625(0x20b),'configStep3':_0x38a625(0x120),'sessionId':'Session\x20ID','sessionIdDescription':_0x38a625(0x22a),'authorizationDescription':_0x38a625(0x1bc),'configParameters':_0x38a625(0x150),'maxRetries':_0x38a625(0xf0),'save':_0x38a625(0x193),'saving':_0x38a625(0x183),'note1':_0x38a625(0x116),'note2':_0x38a625(0x1c9),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x38a625(0x15d),'apiApplyInfo':{'title':_0x38a625(0x1c8),'description':_0x38a625(0x1e3),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x38a625(0x147)},'validation':{'apiKeyRequired':_0x38a625(0x24b),'apiKeyTooShort':_0x38a625(0x145),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x38a625(0x127)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x38a625(0x1d7),'connected':'Connected','failed':_0x38a625(0xbf),'retrying':_0x38a625(0x245)},'connectionError':{'unauthorized':_0x38a625(0xd5),'sessionOccupied':_0x38a625(0x1d6),'networkError':_0x38a625(0x1e6),'maxRetriesExceeded':_0x38a625(0x12b)}}},_0xdea3b={'mcpStatus':{'disconnected':_0x38a625(0x24a),'connecting':_0x38a625(0x1ca),'connected':'MCP\x20已连接','failed':_0x38a625(0xc9),'retrying':_0x38a625(0x110),'unknown':_0x38a625(0x243),'unauthorized':_0x38a625(0x18b),'sessionOccupied':_0x38a625(0x176),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x38a625(0x158)},'mcpConfig':{'title':'MCP\x20配置','description':_0x38a625(0x203),'apiKey':_0x38a625(0x1aa),'apiKeyPlaceholder':_0x38a625(0x24f),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x38a625(0x20c),'enableAuthHint':_0x38a625(0x189),'connectionInfo':_0x38a625(0xe2),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x38a625(0x139),'configStepTitle':_0x38a625(0x16c),'configStep1':_0x38a625(0x23f),'configStep2':_0x38a625(0xcb),'configStep3':_0x38a625(0xfe),'sessionId':_0x38a625(0x228),'sessionIdDescription':_0x38a625(0x118),'authorizationDescription':_0x38a625(0x156),'configParameters':_0x38a625(0x16b),'maxRetries':_0x38a625(0x184),'save':'保存配置','saving':_0x38a625(0x11e),'note1':_0x38a625(0x252),'note2':_0x38a625(0x211),'configSaved':_0x38a625(0x13c),'configError':_0x38a625(0x11b),'apiApplyInfo':{'title':_0x38a625(0xd4),'description':_0x38a625(0x246),'univerAiLabel':_0x38a625(0xcf),'getStarted':_0x38a625(0x256)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x38a625(0xca),'invalidConfig':'配置无效','invalidApiKey':_0x38a625(0x194)},'connectionStatus':{'disconnected':_0x38a625(0xee),'connecting':_0x38a625(0x190),'connected':'已连接','failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x38a625(0x21a),'sessionOccupied':_0x38a625(0x201),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x38a625(0xe7)}}};var _0x4c2620=Object[_0x38a625(0x1dd)],_0x6d5ae7=Object[_0x38a625(0x231)],_0x5ebbfe=(_0x1e342e,_0xeb55f9,_0x2fda1f)=>_0xeb55f9 in _0x1e342e?_0x4c2620(_0x1e342e,_0xeb55f9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2fda1f}):_0x1e342e[_0xeb55f9]=_0x2fda1f,_0xd891ca=(_0x52f1d0,_0xcf1906,_0x570924,_0x2ae7e6)=>{for(var _0x491652=_0x2ae7e6>0x1?void 0x0:_0x2ae7e6?_0x6d5ae7(_0xcf1906,_0x570924):_0xcf1906,_0x55b055=_0x52f1d0['length']-0x1,_0x3b23c4;_0x55b055>=0x0;_0x55b055--)(_0x3b23c4=_0x52f1d0[_0x55b055])&&(_0x491652=_0x3b23c4(_0x491652)||_0x491652);return _0x491652;},_0x5de93d=(_0x361ae3,_0x44f440)=>(_0x6634d0,_0x11ed02)=>_0x44f440(_0x6634d0,_0x11ed02,_0x361ae3),_0x3c13d6=(_0x584b8c,_0x164fc5,_0x53f9f0)=>_0x5ebbfe(_0x584b8c,_0x164fc5+'',_0x53f9f0);_0x45e178[_0x38a625(0x146)]=class extends _0x4cb4a4[_0x38a625(0x247)]{constructor(_0x484beb=_0x4256f2,_0x13f652,_0x387670,_0x12b70c,_0x45b198,_0x1e70b0){var _0x4ce078=_0x38a625;super(),this[_0x4ce078(0x123)]=_0x484beb,this[_0x4ce078(0x213)]=_0x13f652,this[_0x4ce078(0x225)]=_0x387670,this[_0x4ce078(0x17a)]=_0x12b70c,this[_0x4ce078(0x178)]=_0x45b198,this[_0x4ce078(0x1b9)]=_0x1e70b0;const {..._0x5740bc}=_0x4cb4a4[_0x4ce078(0x1ed)]({},_0x4256f2,this[_0x4ce078(0x123)]);this[_0x4ce078(0x225)][_0x4ce078(0x1cf)](_0x42f80b,_0x5740bc);}async['onStarting'](){var _0x395140=_0x38a625;const _0x20d651=[[_0x45e178['MCPConnectionUIController']],[_0x45e178[_0x395140(0x104)]],[_0x45e178[_0x395140(0x1bf)]]];this[_0x395140(0x213)][_0x395140(0x260)](_0x7852fe['ISocketService'])||_0x20d651['push']([_0x7852fe[_0x395140(0x239)],{'useClass':_0x7852fe[_0x395140(0x151)]}]),_0x20d651[_0x395140(0x24c)](_0x431a85=>this[_0x395140(0x213)][_0x395140(0x1b4)](_0x431a85)),this[_0x395140(0x213)][_0x395140(0x1ea)](_0x45e178[_0x395140(0x124)]),this[_0x395140(0x213)][_0x395140(0x1ea)](_0x45e178[_0x395140(0x104)]),this['_injector'][_0x395140(0x1ea)](_0x45e178['MCPUIMenuController']);}},_0x3c13d6(_0x45e178[_0x38a625(0x146)],_0x38a625(0x1a5),_0x38a625(0x119)),_0x45e178[_0x38a625(0x146)]=_0xd891ca([_0x4cb4a4['DependentOn'](_0x1eacb9[_0x38a625(0xf6)]),_0x5de93d(0x1,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4['Injector'])),_0x5de93d(0x2,_0x4cb4a4[_0x38a625(0x269)]),_0x5de93d(0x3,_0x21b9b0['IUIPartsService']),_0x5de93d(0x4,_0x4cb4a4[_0x38a625(0x181)]),_0x5de93d(0x5,_0x4cb4a4[_0x38a625(0x1c1)](_0x4cb4a4[_0x38a625(0xda)]))],_0x45e178[_0x38a625(0x146)]),_0x45e178[_0x38a625(0x137)]=_0x5205be,_0x45e178[_0x38a625(0x1f2)]=_0x42e9f6,_0x45e178[_0x38a625(0x1f5)]=_0x2aa0a2,_0x45e178[_0x38a625(0x230)]=_0x29e172,_0x45e178[_0x38a625(0x1e8)]=_0xdea3b,Object[_0x38a625(0x1dd)](_0x45e178,Symbol['toStringTag'],{'value':_0x38a625(0x19d)});}));function _0x1c27(){var _0x5c8194=['配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.apiKey','mcpConfig.save','18UazHuE','concat','mcpConfig.apiApplyInfo.getStarted','MCP\x20Disconnected','mcpConfig.description','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','启用身份验证','next','907128BPlJSF','HEADER_MENU','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','您的\x20API\x20密钥安全存储在本地存储中','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','_injector','UNAUTHORIZED','mcpConfig.apiKeyHint','univer_session_id:','isValid','round','univer-flex\x20univer-items-start\x20univer-gap-2','权限验证失败,请检查您的\x20API\x20密钥','subscribeConfigValue$','mcpConfig.connectionError.maxRetriesExceeded','_initConfigSync','univer-flex-shrink-0\x20univer-text-red-500','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','object','rxjs','UniverProMcpUi','univer-text-xs\x20univer-text-gray-600','_configService','enableAutoConnect','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','会话ID','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','url(#$1','http://www.w3.org/2000/svg','univer-text-green-500','_initializeMenus','OnLineIcon','enUS','getOwnPropertyDescriptor','mcpStatus.failed','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpConfig.configStep3','div','trim','_loadStoredApiKey','MCP\x20Connection\x20Failed','ISocketService','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mask','univer-text-white','showDeveloperTools','复制以下\x20JSON\x20配置','M0\x200H16V16H0z','MCPConnectionStatus','UniverNetwork','MCP\x20状态未知','mcpConfig.connectionError.unauthorized','Retrying...','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Plugin','BehaviorSubject','getCurrentConfig','MCP\x20已断开','API\x20key\x20is\x20required','forEach','0\x200\x2017\x2017','8599213HQgDKj','请输入您的\x20API\x20密钥','MCP\x20Client\x20Configuration','register','配置更改将立即生效','hasOwnProperty','string','children','几秒钟内获取您的\x20API\x20密钥','xlink:href','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','react','__setCustomHeaders','HelpSingle','_dialogService','mcpConfig.validation.invalidApiKey','useObservable','994512kIWGTQ','has','univer-font-medium','displayName','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','help-single','getOwnPropertySymbols','mcpConfig.sessionIdDescription','univer-space-y-3','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','IConfigService','univer-flex\x20univer-items-center\x20univer-gap-2','_config$','0\x200\x2016\x2016','map','Connection\x20Failed','off-line-icon','_mcpCoreConfig$','RibbonStartGroup','useRef','mcpConfig.apiApplyInfo.title','attrs','_handleConfigure','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','white','MCP\x20连接失败','API\x20密钥长度至少需要\x2010\x20位','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20Connected','icon','none','Univer\x20AI\x20控制台','connectInjector','_registerComponent','className','mcpConfig.configStep2','什么是\x20API\x20密钥?','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','prototype','Input','exports','useCallback','LocaleService','getConfig','NETWORK_ERROR','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_blank','mcpStatus.clickToConnect','off-line-icon_clip0_910_343','mergeMenu','MCP\x20客户端配置','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','@univerjs/ui','3eyLvhc','超出最大重试次数,请稍后再试','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','includes','MCP:\x20Max\x20Retries\x20Exceeded','subscribe','forwardRef','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','未连接','errorMessage','Max\x20Retries','0\x200\x2017\x2016','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-space-y-2','React','mcp-config-dialog','UniverMCPPlugin','univer-bg-green-500','createElement','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','_initAutoConnect','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','mcpConfig.note2','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','重启您的\x20MCP\x20客户端以使配置生效','mcpStatus.sessionOccupied','univer-flex-1','MAX_RETRIES_EXCEEDED','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','@univerjs-pro/mcp','MCPConfigUIController','univer-bg-red-500','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','Bearer\x20','url(#on-line-icon_clip0_910_349)','\x20-\x20','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','evenodd','Enable\x20Authentication','univer-text-sm\x20univer-font-medium','univer-text-blue-600','MCP\x20重连中...','BUTTON','Configuration\x20Steps:','disposeWithMe','mcpConfig.configSaved','_initializeCommands','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-space-y-4','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP_UI_PLUGIN','on-line-icon','配置保存失败','useDependency','MCP_PLUGIN_CONFIG_KEY','保存中...','univer-flex\x20univer-items-start\x20univer-gap-3','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','assign','mcpConfig.apiApplyInfo.description','_config','MCPConnectionUIController','mcpConfig.validation.invalidConfig','url(#off-line-icon_clip0_910_343)','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1em','@univerjs/core','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','pre','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','M5.21243\x205.62036L11.8791\x2012.287','path','mcpConfig.configStep1','univer-bg-blue-500','sessionId$','show','RETRYING','mcpConfig.configInstructions','Configuration\x20Notes:','MCPConfigPanel','toString','将以下配置添加到您的\x20MCP\x20客户端设置中:','MessageType','removeItem','配置保存成功','currentColor','univer.ai','_logService','OffLineIcon','mcpConfig.connectionStatus.connecting','univer-text-gray-400','MCP:\x20Network\x20Error','propertyIsEnumerable','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','UniverMCPUIPlugin','Get\x20your\x20API\x20key\x20in\x20seconds','https://console.univer.ai','colorChannel1','IUIPartsService','<API_KEY>','_apiKey$','mcpConfig.connectionStatus.failed','_commandService','Click\x20to\x20configure\x20MCP','Configuration\x20Parameters:','WebSocketService','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','random','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','close','带有\x20Bearer\x20前缀的\x20API\x20密钥。','3282880xaOYwh','点击配置\x20MCP','connectionError$','jsx','_validateConfig','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Failed\x20to\x20save\x20configuration','univer-flex\x20univer-items-center\x20univer-gap-3','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','tag','4493344IULfVN','idSuffix','registerComponent','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-mr-2\x20univer-flex\x20univer-text-xl','close-small-single','symbol','MCP\x20Unknown\x20Status','showStatus','mcpStatus.clickToConfigure','配置参数:','配置步骤:','label','API\x20Key','open','fill','mcpConfig.apiApplyInfo.univerAiLabel','defIds','DISCONNECTED','univer-text-gray-500','_componentManager','MCP:\x20会话\x20ID\x20已被占用','apply','_localStorageService','mcpStatus.unauthorized','_uiPartsService','M5.21243\x2012.287L11.8791\x205.62036','Click\x20to\x20connect\x20MCP','mcpConfig.authorizationDescription','mcpConfig.title','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','CONNECTED','ILocalStorageService','ICommandService','Saving...','最大重试次数','MCPConnectionController','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','extend','Tooltip','启用身份验证以获得安全连接','amd','MCP:\x20未授权','Close','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','_handleConfigSave','mcpConfig.validation.apiKeyTooShort','连接中...','use','UniverProMcp','Save\x20Configuration','API\x20密钥无效,请检查密钥是否正确','UniverCore','OTHERS','_messageService','getItem','indexOf','_initStatusComponent','univer-flex-shrink-0\x20univer-text-blue-500','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Module','univer-space-y-5','univer-text-sm\x20univer-text-gray-500','MCP:\x20Session\x20ID\x20Occupied','replace','noopener\x20noreferrer','univer-flex\x20univer-gap-3','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','pluginName','mcpConfig.configStepTitle','MenuIcon','Enter\x20your\x20API\x20key','function','API\x20密钥','66373QnnQzv','defs','univer-text-red-500','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpConfig.connectionInfo','value','mcpStatus.networkError','_connectionController','apiKey','add','length','MCP\x20Configuration','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpStatus.disconnected','_localeService','Error','jsxs','API\x20key\x20with\x20Bearer\x20prefix.','univer-text-yellow-500','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','MCPUIMenuController','Disposable','Inject','on-line-icon_clip0_910_349','mcpStatus.maxRetriesExceeded','_loading$','text','clsx','setItem','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20连接中...','CheckMarkIcon','MCPConnectionError','FAILED','showConfigPanel','setConfig','translate(.97)','mcpStatus.connecting','@univerjs/network','_menuManagerService','MCP:\x20Unauthorized','Success','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connecting...','mcpConfig.connectionStatus.connected','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','NONE','call','span','defineProperty','_createConfigPanelComponent','SESSION_ID_OCCUPIED','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','mcpConfig.connectionStatus.disconnected','mcpServerUrl','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','_mcpConnectionController','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer.plus','zhCN','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','get','univer-flex\x20univer-items-center','substring','merge','3941710fmCgqR','BuiltInUIPart','error','clipPath','MCPStatusDisplay','univerjs-icon\x20univerjs-icon-','current','OpenMCPConfigPanelCommand','CONNECTING','univer-min-w-0\x20univer-flex-1','entries','UniverUi','mcpConfig.validation.apiKeyRequired','svg','mcpConfig.apiKeyPlaceholder','M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z','connectionStatus$','mcpConfig.configError','check-mark-icon','会话\x20ID\x20已被占用,请稍后再试','Authorization:'];_0x1c27=function(){return _0x5c8194;};return _0x1c27();}
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x12ac(){var _0x58a2e9=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Unknown\x20Status','MCP:\x20Unauthorized','Configuration\x20Parameters:','12OESCWr','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','303810QHQSLn','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connection\x20Failed','MCP\x20Connection\x20Failed','Enable\x20Authentication','Invalid\x20configuration','MCP\x20Client\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Steps:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','4025718mOvsrp','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','Copy\x20the\x20JSON\x20configuration\x20below','exports','Retrying...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','1385724cecJSb','Enter\x20your\x20API\x20key','5403780fyjEPs','Connecting...','Failed\x20to\x20save\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Save\x20Configuration','MCP\x20Connected','object','5004048zoMezS','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20saved\x20successfully','Connected','API\x20Key','41678mNMZhm','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Configuration','Session\x20ID','UniverProMcpUiCaES','25342191FiNGLZ','1576NJoDDC','function','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Max\x20Retries','MCP\x20Disconnected'];_0x12ac=function(){return _0x58a2e9;};return _0x12ac();}function _0x3561(_0x5db251,_0x4062d6){var _0x12ac48=_0x12ac();return _0x3561=function(_0x3561b9,_0x43dc65){_0x3561b9=_0x3561b9-0x1d5;var _0xff46e0=_0x12ac48[_0x3561b9];return _0xff46e0;},_0x3561(_0x5db251,_0x4062d6);}(function(_0x8d87a8,_0x3bbf60){var _0x1b2eaa=_0x3561,_0x2cc330=_0x8d87a8();while(!![]){try{var _0x2c8313=parseInt(_0x1b2eaa(0x208))/0x1+-parseInt(_0x1b2eaa(0x1f3))/0x2*(parseInt(_0x1b2eaa(0x1ed))/0x3)+parseInt(_0x1b2eaa(0x1d8))/0x4+parseInt(_0x1b2eaa(0x20a))/0x5+-parseInt(_0x1b2eaa(0x1fe))/0x6+-parseInt(_0x1b2eaa(0x1de))/0x7*(-parseInt(_0x1b2eaa(0x1e4))/0x8)+-parseInt(_0x1b2eaa(0x1e3))/0x9;if(_0x2c8313===_0x3bbf60)break;else _0x2cc330['push'](_0x2cc330['shift']());}catch(_0x8124dd){_0x2cc330['push'](_0x2cc330['shift']());}}}(_0x12ac,0xc259a),function(_0x190e67,_0x3d2662){var _0x4614ca=_0x3561;typeof exports==_0x4614ca(0x1d7)&&typeof module<'u'?module[_0x4614ca(0x205)]=_0x3d2662():typeof define==_0x4614ca(0x1e5)&&define['amd']?define(_0x3d2662):(_0x190e67=typeof globalThis<'u'?globalThis:_0x190e67||self,_0x190e67[_0x4614ca(0x1e2)]=_0x3d2662());}(this,function(){'use strict';var _0x4a918c=_0x3561;return{'mcpStatus':{'disconnected':_0x4a918c(0x1e8),'connecting':_0x4a918c(0x200),'connected':_0x4a918c(0x1d6),'failed':_0x4a918c(0x1f6),'retrying':_0x4a918c(0x202),'unknown':_0x4a918c(0x1ea),'unauthorized':_0x4a918c(0x1eb),'sessionOccupied':_0x4a918c(0x1df),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4a918c(0x1ff)},'mcpConfig':{'title':_0x4a918c(0x1e0),'description':_0x4a918c(0x1e9),'apiKey':_0x4a918c(0x1dd),'apiKeyPlaceholder':_0x4a918c(0x209),'apiKeyHint':_0x4a918c(0x1e6),'enableAuth':_0x4a918c(0x1f7),'enableAuthHint':_0x4a918c(0x1f0),'connectionInfo':_0x4a918c(0x1f9),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4a918c(0x1fc),'configStepTitle':_0x4a918c(0x1fb),'configStep1':_0x4a918c(0x204),'configStep2':_0x4a918c(0x1f1),'configStep3':_0x4a918c(0x1fa),'sessionId':_0x4a918c(0x1e1),'sessionIdDescription':_0x4a918c(0x1f2),'authorizationDescription':_0x4a918c(0x203),'configParameters':_0x4a918c(0x1ec),'maxRetries':_0x4a918c(0x1e7),'save':_0x4a918c(0x1d5),'saving':'Saving...','note1':_0x4a918c(0x1f4),'note2':_0x4a918c(0x1fd),'configSaved':_0x4a918c(0x1db),'configError':_0x4a918c(0x20c),'apiApplyInfo':{'title':_0x4a918c(0x1d9),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4a918c(0x1da)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x4a918c(0x1f8),'invalidApiKey':_0x4a918c(0x20d)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4a918c(0x20b),'connected':_0x4a918c(0x1dc),'failed':_0x4a918c(0x1f5),'retrying':_0x4a918c(0x206)},'connectionError':{'unauthorized':_0x4a918c(0x207),'sessionOccupied':_0x4a918c(0x1ef),'networkError':_0x4a918c(0x1ee),'maxRetriesExceeded':_0x4a918c(0x201)}}};}));
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x35a3(){var _0x12ec25=['API\x20key\x20with\x20Bearer\x20prefix.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','28MANkwz','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','832355CuAxsr','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','117bbHDLc','MCP:\x20Network\x20Error','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Failed\x20to\x20save\x20configuration','Session\x20ID','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','702422LuKzYX','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','36411BTKXFY','Retrying...','Save\x20Configuration','192318fbNhkG','object','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Configuration','Configuration\x20Parameters:','MCP:\x20Session\x20ID\x20Occupied','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Invalid\x20configuration','Click\x20to\x20connect\x20MCP','MCP\x20Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20is\x20required','176312fCeiPG','amd','MCP\x20Connection\x20Failed','Enable\x20Authentication','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Unknown\x20Status','MCP\x20Disconnected','6pAMpnT','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','3327910PYhwRm','API\x20Key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Unauthorized','Connected','MCP\x20Retrying...','Max\x20Retries','MCP\x20Client\x20Configuration','156568gpqJHo','Click\x20to\x20configure\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','exports','Enter\x20your\x20API\x20key','Enable\x20authentication\x20for\x20secure\x20connections'];_0x35a3=function(){return _0x12ec25;};return _0x35a3();}function _0x4ef9(_0x1a388a,_0x5727af){var _0x35a306=_0x35a3();return _0x4ef9=function(_0x4ef97e,_0x3c2c80){_0x4ef97e=_0x4ef97e-0xdd;var _0x52530e=_0x35a306[_0x4ef97e];return _0x52530e;},_0x4ef9(_0x1a388a,_0x5727af);}(function(_0x523a35,_0xfeab36){var _0x388332=_0x4ef9,_0x3e4a94=_0x523a35();while(!![]){try{var _0xfc0acc=-parseInt(_0x388332(0xfd))/0x1+parseInt(_0x388332(0xf1))/0x2+-parseInt(_0x388332(0xee))/0x3*(-parseInt(_0x388332(0x116))/0x4)+-parseInt(_0x388332(0xde))/0x5*(-parseInt(_0x388332(0x104))/0x6)+-parseInt(_0x388332(0xe8))/0x7+-parseInt(_0x388332(0x10e))/0x8*(parseInt(_0x388332(0xe0))/0x9)+parseInt(_0x388332(0x106))/0xa;if(_0xfc0acc===_0xfeab36)break;else _0x3e4a94['push'](_0x3e4a94['shift']());}catch(_0x4501cf){_0x3e4a94['push'](_0x3e4a94['shift']());}}}(_0x35a3,0x24733),function(_0x2fdbc2,_0x4cab32){var _0xcab01c=_0x4ef9;typeof exports==_0xcab01c(0xf2)&&typeof module<'u'?module[_0xcab01c(0x111)]=_0x4cab32():typeof define=='function'&&define[_0xcab01c(0xfe)]?define(_0x4cab32):(_0x2fdbc2=typeof globalThis<'u'?globalThis:_0x2fdbc2||self,_0x2fdbc2['UniverProMcpUiEnUS']=_0x4cab32());}(this,function(){'use strict';var _0x328a78=_0x4ef9;return{'mcpStatus':{'disconnected':_0x328a78(0x103),'connecting':_0x328a78(0xea),'connected':_0x328a78(0xfa),'failed':_0x328a78(0xff),'retrying':_0x328a78(0x10b),'unknown':_0x328a78(0x102),'unauthorized':_0x328a78(0x109),'sessionOccupied':_0x328a78(0xf6),'networkError':_0x328a78(0xe1),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x328a78(0xf9),'clickToConfigure':_0x328a78(0x10f)},'mcpConfig':{'title':_0x328a78(0xf4),'description':_0x328a78(0xf3),'apiKey':_0x328a78(0x107),'apiKeyPlaceholder':_0x328a78(0x112),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x328a78(0x100),'enableAuthHint':_0x328a78(0x113),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x328a78(0x10d),'configInstructions':_0x328a78(0xe3),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x328a78(0x110),'configStep2':_0x328a78(0x108),'configStep3':_0x328a78(0x101),'sessionId':_0x328a78(0xe5),'sessionIdDescription':_0x328a78(0xf7),'authorizationDescription':_0x328a78(0x114),'configParameters':_0x328a78(0xf5),'maxRetries':_0x328a78(0x10c),'save':_0x328a78(0xf0),'saving':_0x328a78(0xe2),'note1':_0x328a78(0xdd),'note2':_0x328a78(0xfb),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x328a78(0xe4),'apiApplyInfo':{'title':_0x328a78(0xec),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x328a78(0xed),'getStarted':_0x328a78(0xeb)},'validation':{'apiKeyRequired':_0x328a78(0xfc),'apiKeyTooShort':_0x328a78(0xe6),'invalidConfig':_0x328a78(0xf8),'invalidApiKey':_0x328a78(0x105)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x328a78(0x10a),'failed':'Connection\x20Failed','retrying':_0x328a78(0xef)},'connectionError':{'unauthorized':_0x328a78(0xe7),'sessionOccupied':_0x328a78(0xe9),'networkError':_0x328a78(0x115),'maxRetriesExceeded':_0x328a78(0xdf)}}};}));
|
package/lib/umd/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x93dc(){var _0x298e50=['Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Max\x20Retries\x20Exceeded','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','7GqrsjV','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','amd','1846792fmfilV','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connecting...','Max\x20Retries','Saving...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Retrying...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','532028xNpmNm','What\x20is\x20API\x20Key?','MCP\x20Configuration','Retrying...','6813URCFUH','MCP\x20Connection\x20Failed','Click\x20to\x20connect\x20MCP','Failed\x20to\x20save\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','1118148KnebST','8780IPeWCm','Configuration\x20Steps:','Enter\x20your\x20API\x20key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','UniverProMcpUiEsES','MCP\x20Connecting...','Connection\x20Failed','object','MCP:\x20Unauthorized','Enable\x20Authentication','MCP:\x20Network\x20Error','MCP\x20Client\x20Configuration','Univer\x20AI\x20Console','Click\x20to\x20configure\x20MCP','196023Euhycd','5Xwlvis','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','1454664QiDuve','MCP\x20Disconnected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Copy\x20the\x20JSON\x20configuration\x20below','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20is\x20required','MCP\x20Unknown\x20Status','function','MCP\x20Connected','Session\x20ID','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','164390aPyBSo'];_0x93dc=function(){return _0x298e50;};return _0x93dc();}function _0x1f78(_0x32fe9e,_0x2528e8){var _0x93dc10=_0x93dc();return _0x1f78=function(_0x1f78fa,_0x33ab3e){_0x1f78fa=_0x1f78fa-0xa3;var _0x27871a=_0x93dc10[_0x1f78fa];return _0x27871a;},_0x1f78(_0x32fe9e,_0x2528e8);}(function(_0x303c6a,_0x173d25){var _0x28318b=_0x1f78,_0x538264=_0x303c6a();while(!![]){try{var _0x24c878=-parseInt(_0x28318b(0xa6))/0x1+parseInt(_0x28318b(0xb5))/0x2+-parseInt(_0x28318b(0xcd))/0x3+-parseInt(_0x28318b(0xad))/0x4+parseInt(_0x28318b(0xce))/0x5*(parseInt(_0x28318b(0xbe))/0x6)+-parseInt(_0x28318b(0xaa))/0x7*(parseInt(_0x28318b(0xd0))/0x8)+-parseInt(_0x28318b(0xb9))/0x9*(-parseInt(_0x28318b(0xbf))/0xa);if(_0x24c878===_0x173d25)break;else _0x538264['push'](_0x538264['shift']());}catch(_0x8204a5){_0x538264['push'](_0x538264['shift']());}}}(_0x93dc,0x3b82c),function(_0x20c1b7,_0x26ea09){var _0x1adc7a=_0x1f78;typeof exports==_0x1adc7a(0xc6)&&typeof module<'u'?module['exports']=_0x26ea09():typeof define==_0x1adc7a(0xd7)&&define[_0x1adc7a(0xac)]?define(_0x26ea09):(_0x20c1b7=typeof globalThis<'u'?globalThis:_0x20c1b7||self,_0x20c1b7[_0x1adc7a(0xc3)]=_0x26ea09());}(this,function(){'use strict';var _0x5c89b7=_0x1f78;return{'mcpStatus':{'disconnected':_0x5c89b7(0xd1),'connecting':_0x5c89b7(0xc4),'connected':_0x5c89b7(0xd8),'failed':_0x5c89b7(0xba),'retrying':_0x5c89b7(0xb3),'unknown':_0x5c89b7(0xd6),'unauthorized':_0x5c89b7(0xc7),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x5c89b7(0xc9),'maxRetriesExceeded':_0x5c89b7(0xa8),'clickToConnect':_0x5c89b7(0xbb),'clickToConfigure':_0x5c89b7(0xcc)},'mcpConfig':{'title':_0x5c89b7(0xb7),'description':_0x5c89b7(0xae),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x5c89b7(0xc1),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x5c89b7(0xc8),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5c89b7(0xca),'mcpClientConfig':_0x5c89b7(0xca),'configInstructions':_0x5c89b7(0xcf),'configStepTitle':_0x5c89b7(0xc0),'configStep1':_0x5c89b7(0xd3),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x5c89b7(0xb2),'sessionId':_0x5c89b7(0xa3),'sessionIdDescription':_0x5c89b7(0xd2),'authorizationDescription':_0x5c89b7(0xbd),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x5c89b7(0xb0),'save':'Save\x20Configuration','saving':_0x5c89b7(0xb1),'note1':_0x5c89b7(0xab),'note2':_0x5c89b7(0xa9),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x5c89b7(0xbc),'apiApplyInfo':{'title':_0x5c89b7(0xb6),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x5c89b7(0xcb),'getStarted':_0x5c89b7(0xa7)},'validation':{'apiKeyRequired':_0x5c89b7(0xd5),'apiKeyTooShort':_0x5c89b7(0xa4),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x5c89b7(0xaf),'connected':'Connected','failed':_0x5c89b7(0xc5),'retrying':_0x5c89b7(0xb8)},'connectionError':{'unauthorized':_0x5c89b7(0xb4),'sessionOccupied':_0x5c89b7(0xd4),'networkError':_0x5c89b7(0xc2),'maxRetriesExceeded':_0x5c89b7(0xa5)}}};}));
|
package/lib/umd/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1f24(_0xd8b29b,_0x42662b){var _0x1308f3=_0x1308();return _0x1f24=function(_0x1f24f6,_0xafa9c2){_0x1f24f6=_0x1f24f6-0x135;var _0x1651db=_0x1308f3[_0x1f24f6];return _0x1651db;},_0x1f24(_0xd8b29b,_0x42662b);}function _0x1308(){var _0x5d3a65=['4549300TerLbN','MCP:\x20Session\x20ID\x20Occupied','Retrying...','Saving...','Configuration\x20saved\x20successfully','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Unknown\x20Status','object','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Network\x20Error','MCP\x20Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','775294BrZClR','UniverProMcpUiFaIR','Enter\x20your\x20API\x20key','Max\x20Retries','30tCWvxN','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20Key','Enable\x20authentication\x20for\x20secure\x20connections','426535bQylen','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','15980922vfSqae','Click\x20to\x20configure\x20MCP','Invalid\x20configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Disconnected','Session\x20ID','Configuration\x20Parameters:','amd','MCP\x20Client\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1909112JDcgcQ','function','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','95412RDPKHv','MCP:\x20Unauthorized','exports','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connection\x20Failed','75970aLBJYX','MCP\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','8hlIbBU','Click\x20to\x20connect\x20MCP','MCP\x20Retrying...','API\x20key\x20is\x20required','What\x20is\x20API\x20Key?','MCP\x20Connected','MCP\x20Connecting...'];_0x1308=function(){return _0x5d3a65;};return _0x1308();}(function(_0x38f030,_0x25a643){var _0x2e3348=_0x1f24,_0x3ace1e=_0x38f030();while(!![]){try{var _0x5297b5=-parseInt(_0x2e3348(0x15d))/0x1+parseInt(_0x2e3348(0x144))/0x2+parseInt(_0x2e3348(0x13e))/0x3+parseInt(_0x2e3348(0x13b))/0x4+-parseInt(_0x2e3348(0x165))/0x5*(parseInt(_0x2e3348(0x161))/0x6)+-parseInt(_0x2e3348(0x14f))/0x7+-parseInt(_0x2e3348(0x148))/0x8*(-parseInt(_0x2e3348(0x167))/0x9);if(_0x5297b5===_0x25a643)break;else _0x3ace1e['push'](_0x3ace1e['shift']());}catch(_0x5194e2){_0x3ace1e['push'](_0x3ace1e['shift']());}}}(_0x1308,0x72fd4),function(_0x2608c2,_0x2fdd2c){var _0x1acd3d=_0x1f24;typeof exports==_0x1acd3d(0x158)&&typeof module<'u'?module[_0x1acd3d(0x140)]=_0x2fdd2c():typeof define==_0x1acd3d(0x13c)&&define[_0x1acd3d(0x138)]?define(_0x2fdd2c):(_0x2608c2=typeof globalThis<'u'?globalThis:_0x2608c2||self,_0x2608c2[_0x1acd3d(0x15e)]=_0x2fdd2c());}(this,function(){'use strict';var _0x116c1f=_0x1f24;return{'mcpStatus':{'disconnected':_0x116c1f(0x15b),'connecting':_0x116c1f(0x14e),'connected':_0x116c1f(0x14d),'failed':'MCP\x20Connection\x20Failed','retrying':_0x116c1f(0x14a),'unknown':_0x116c1f(0x157),'unauthorized':_0x116c1f(0x13f),'sessionOccupied':_0x116c1f(0x150),'networkError':_0x116c1f(0x15a),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x116c1f(0x149),'clickToConfigure':_0x116c1f(0x168)},'mcpConfig':{'title':_0x116c1f(0x145),'description':_0x116c1f(0x162),'apiKey':_0x116c1f(0x163),'apiKeyPlaceholder':_0x116c1f(0x15f),'apiKeyHint':_0x116c1f(0x13d),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x116c1f(0x164),'connectionInfo':_0x116c1f(0x139),'mcpClientConfig':_0x116c1f(0x139),'configInstructions':_0x116c1f(0x146),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x116c1f(0x147),'sessionId':_0x116c1f(0x136),'sessionIdDescription':_0x116c1f(0x13a),'authorizationDescription':_0x116c1f(0x159),'configParameters':_0x116c1f(0x137),'maxRetries':_0x116c1f(0x160),'save':'Save\x20Configuration','saving':_0x116c1f(0x152),'note1':_0x116c1f(0x15c),'note2':_0x116c1f(0x166),'configSaved':_0x116c1f(0x153),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x116c1f(0x14c),'description':_0x116c1f(0x16a),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x116c1f(0x155)},'validation':{'apiKeyRequired':_0x116c1f(0x14b),'apiKeyTooShort':_0x116c1f(0x142),'invalidConfig':_0x116c1f(0x169),'invalidApiKey':_0x116c1f(0x156)},'connectionStatus':{'disconnected':_0x116c1f(0x135),'connecting':'Connecting...','connected':'Connected','failed':_0x116c1f(0x143),'retrying':_0x116c1f(0x151)},'connectionError':{'unauthorized':_0x116c1f(0x154),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x116c1f(0x141),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
|
package/lib/umd/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0xda90(_0x35b3a8,_0x4dac9c){var _0x3269a9=_0x3269();return _0xda90=function(_0xda90eb,_0x4deef4){_0xda90eb=_0xda90eb-0x107;var _0x111779=_0x3269a9[_0xda90eb];return _0x111779;},_0xda90(_0x35b3a8,_0x4dac9c);}(function(_0x4ed146,_0x292206){var _0x257691=_0xda90,_0x589156=_0x4ed146();while(!![]){try{var _0x5c5f81=-parseInt(_0x257691(0x121))/0x1+parseInt(_0x257691(0x107))/0x2*(parseInt(_0x257691(0x11c))/0x3)+parseInt(_0x257691(0x135))/0x4+parseInt(_0x257691(0x13b))/0x5*(parseInt(_0x257691(0x114))/0x6)+-parseInt(_0x257691(0x118))/0x7+parseInt(_0x257691(0x10b))/0x8+parseInt(_0x257691(0x122))/0x9;if(_0x5c5f81===_0x292206)break;else _0x589156['push'](_0x589156['shift']());}catch(_0x56b7eb){_0x589156['push'](_0x589156['shift']());}}}(_0x3269,0x36e0b),function(_0x1cee67,_0x1def82){var _0x5a2a0b=_0xda90;typeof exports==_0x5a2a0b(0x112)&&typeof module<'u'?module[_0x5a2a0b(0x11b)]=_0x1def82():typeof define=='function'&&define[_0x5a2a0b(0x130)]?define(_0x1def82):(_0x1cee67=typeof globalThis<'u'?globalThis:_0x1cee67||self,_0x1cee67[_0x5a2a0b(0x12e)]=_0x1def82());}(this,function(){'use strict';var _0x51c177=_0xda90;return{'mcpStatus':{'disconnected':_0x51c177(0x10d),'connecting':_0x51c177(0x116),'connected':_0x51c177(0x136),'failed':_0x51c177(0x139),'retrying':_0x51c177(0x109),'unknown':_0x51c177(0x11d),'unauthorized':_0x51c177(0x12a),'sessionOccupied':_0x51c177(0x129),'networkError':_0x51c177(0x113),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x51c177(0x12b),'clickToConfigure':_0x51c177(0x138)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x51c177(0x11e),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x51c177(0x137),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x51c177(0x110),'mcpClientConfig':_0x51c177(0x110),'configInstructions':_0x51c177(0x132),'configStepTitle':_0x51c177(0x124),'configStep1':_0x51c177(0x119),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x51c177(0x123),'sessionId':_0x51c177(0x134),'sessionIdDescription':_0x51c177(0x133),'authorizationDescription':_0x51c177(0x13a),'configParameters':_0x51c177(0x127),'maxRetries':_0x51c177(0x12f),'save':_0x51c177(0x115),'saving':_0x51c177(0x10e),'note1':_0x51c177(0x111),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x51c177(0x10c),'configError':_0x51c177(0x12c),'apiApplyInfo':{'title':_0x51c177(0x131),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x51c177(0x11f),'getStarted':_0x51c177(0x128)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x51c177(0x10a),'invalidConfig':_0x51c177(0x117),'invalidApiKey':_0x51c177(0x13d)},'connectionStatus':{'disconnected':_0x51c177(0x13c),'connecting':_0x51c177(0x108),'connected':_0x51c177(0x12d),'failed':_0x51c177(0x11a),'retrying':_0x51c177(0x120)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x51c177(0x126),'networkError':_0x51c177(0x125),'maxRetriesExceeded':_0x51c177(0x10f)}}};}));function _0x3269(){var _0x21a8c0=['Connecting...','MCP\x20Retrying...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1544536tCQTnU','Configuration\x20saved\x20successfully','MCP\x20Disconnected','Saving...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','object','MCP:\x20Network\x20Error','65958vaMOCT','Save\x20Configuration','MCP\x20Connecting...','Invalid\x20configuration','2223179KGiSFV','Copy\x20the\x20JSON\x20configuration\x20below','Connection\x20Failed','exports','411PBpwwf','MCP\x20Unknown\x20Status','API\x20Key','Univer\x20AI\x20Console','Retrying...','281314adRBwY','1325682VSyUFq','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Steps:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Parameters:','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Session\x20ID\x20Occupied','MCP:\x20Unauthorized','Click\x20to\x20connect\x20MCP','Failed\x20to\x20save\x20configuration','Connected','UniverProMcpUiFrFR','Max\x20Retries','amd','What\x20is\x20API\x20Key?','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session\x20ID','675344bcToCi','MCP\x20Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20configure\x20MCP','MCP\x20Connection\x20Failed','API\x20key\x20with\x20Bearer\x20prefix.','115wFZwII','Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','900tECGJc'];_0x3269=function(){return _0x21a8c0;};return _0x3269();}
|