@univerjs-pro/mcp-ui 0.10.6-nightly.202509060832 → 0.10.7-nightly.202509090319
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/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 +6 -6
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x43a0(){var _0x400165=['add','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','_dialogService','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','API\x20key\x20is\x20required','CommandType','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_mcpCoreConfig$','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','subscribeConfigValue$','Click\x20to\x20configure\x20MCP','CheckMarkIcon','RETRYING','_config','useCallback','Disposable','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','univer-flex\x20univer-cursor-pointer\x20univer-items-center','IUIPartsService','univer-font-medium','SESSION_ID_OCCUPIED','toString','_menuManagerService','displayName','Inject','_config$','_injector','346285wVAebO','url(#$1','mcpConfig.apiKeyHint','map','Injector','on-line-icon','UniverDesign','mcpStatus.missingApiKey','univer-text-gray-500','_initializeCommands','children','启用身份验证以获得安全连接','网络连接错误,请检查您的网络连接','M0\x200H16V16H0z','mcpConfig.connectionStatus.connecting','启用身份验证','服务器端点','isValid','UniverMCPPlugin','defIds','mcpStatus.connected','_handleConfigSave','BuiltInUIPart','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpStatus.invalidApiKey','超出最大重试次数,请稍后再试','assign','univer-text-sm\x20univer-font-medium','https://console.univer.plus','UniverProMcpUi','mcpConfig.connectionStatus.retrying','Session\x20ID','div','trim','API\x20key\x20is\x20required\x20to\x20connect','DependentOn','INVALID_API_KEY','UniverMCPUIPlugin','includes','_registerComponent','default','UniverProMcp','API\x20密钥无效,请检查密钥是否正确','univer-flex\x20univer-items-start\x20univer-gap-3','0\x200\x2017\x2016','MCP\x20配置','useObservable','CONNECTING','MCP\x20状态未知','API\x20密钥','off-line-icon','What\x20is\x20API\x20Key?','Connecting...','extend','mergeMenu','LocaleService','length','请输入您的\x20API\x20密钥','MCP\x20Configuration','MCPConnectionController','MCP\x20重连中...','CONNECTED','MenuIcon','Connection\x20Information','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_uiPartsService','mcpConfig.connectionError.maxRetriesExceeded','idSuffix','mcpConfig.apiApplyInfo.title','https://console.univer.ai','_messageService','NETWORK_ERROR','MCPConfigPanel','Connected','span','MCP\x20连接失败','MCP:\x20Session\x20Occupied','MCP:\x20Network\x20Error','mcp-ui.config','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','您的\x20API\x20密钥安全存储在本地存储中','univer-flex\x20univer-items-center\x20univer-gap-3','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','4904862tNpXRs','getCurrentConfig','error','show','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','random','_localeService','mcpConfig.saving','502948TQRgyP','mcpConfig.serverEndpoint','rxjs','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','apply','univer-text-yellow-500','getItem','translate(.97)','UniverCore','mask','substring','1em','OpenMCPConfigPanelCommand','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univer-flex\x20univer-items-center\x20univer-gap-2','\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','mcpStatus.clickToConfigure','MCP\x20Connected','连接中...','10OaUGuP','BehaviorSubject','mcpConfig.save','exports','createElement','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Failed\x20to\x20save\x20configuration','sessionId','React','zhCN','mcp-ui.command.openConfigPanel','useDependency','showConfigPanel','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','Univer\x20AI\x20控制台','check-mark-icon','ILogService','forEach','@univerjs-pro/mcp','mcpConfig.apiApplyInfo.getStarted','prototype','className','function','symbol','univerjs-icon\x20univerjs-icon-','mcpStatus.connecting','hover:univer-opacity-80','MCPConnectionStatus','配置保存失败','点击配置\x20MCP','IMenuManagerService','连接信息','validateApiKey','Enter\x20your\x20API\x20key','getOwnPropertySymbols','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','mcpServerUrl','warn','MAX_RETRIES_EXCEEDED','mcp.apiKey','clsx','MISSING_API_KEY','MCP:\x20缺少\x20API\x20密钥','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','propertyIsEnumerable','@univerjs/ui','defineProperty','MCP\x20Disconnected','connectionStatus$','noopener\x20noreferrer','OffLineIcon','DISCONNECTED','univer.ai','text','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','setItem','RibbonStartGroup','IMessageService','会话当前被占用,请稍后再试','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','\x20-\x20','_initStatusComponent','_validateConfig','jsx','24390hKyiEG','Button','clipPath','Get\x20your\x20API\x20key\x20in\x20seconds','几秒钟内获取您的\x20API\x20密钥','removeItem','univer-text-gray-400','配置更改将立即生效','setConfig','Enable\x20Authentication','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','mcpConfig.apiApplyInfo.description','mcpConfig.connectionStatus.failed','none','Max\x20Retries','svg','apiKey','replace','univer-min-w-0\x20univer-flex-1','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','Save\x20Configuration','onStarting','mcpConfig.configError','6872830EBBbKw','round','_localStorageService','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','colorChannel1','ComponentManager','univer.plus','string','getConfig','@univerjs/core','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','点击连接\x20MCP','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','UniverIcon','IDialogService','univer-text-sm\x20univer-text-gray-500','会话ID','defs','mcpConfig.validation.invalidConfig','mcpConfig.connectionError.networkError','MCP\x20Connection\x20Failed','entries','indexOf','Connection\x20Failed','call','javascript:void(0)','MCP_PLUGIN_CONFIG_KEY','mcpConfig.configSaved','close','连接失败','jsxs','attrs','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','next','MCPConnectionError','mcpStatus.failed','9740bDdVCS','API\x20Key','_commandService','0\x200\x2016\x2016','http://www.w3.org/2000/svg','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','M5.21243\x205.62036L11.8791\x2012.287','icon','MCP:\x20Invalid\x20API\x20Key','Input','mcpStatus.maxRetriesExceeded','value','mcp-config-dialog','forwardRef','MCPConfigUIController','IConfigService','_logService','concat','amd','univer-flex\x20univer-gap-3','Error','get','currentColor','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','_componentManager','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','_mcpConnectionController','Server\x20Endpoint','react','MCPConnectionUIController','_loading$','MCP\x20已断开','univer-space-y-3','您的\x20API\x20密钥将在此浏览器中本地存储','NONE','_initializeMenus','mcpConfig.apiKeyPlaceholder','MCPUIMenuController','mcpConfig.connectionError.sessionOccupied','code','disposeWithMe','univer-flex-shrink-0\x20univer-text-blue-500','保存配置','已连接','mcpConfig.apiApplyInfo.univerAiLabel','MCP\x20已连接','object','保存中...','FAILED','MCP\x20连接中...','M5.21243\x2012.287L11.8791\x205.62036','mcpStatus.retrying','mcpConfig.connectionStatus.disconnected','23849zOfqVo','\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','on-line-icon_clip0_910_349','OnLineIcon','ILocalStorageService','Saving...','mcpConfig.connectionError.invalidApiKey','7149504vpgkOD','0\x200\x2017\x2017','mcpConfig.description','MCP:\x20会话被占用','_createConfigPanelComponent','_loadStoredApiKey','配置保存成功','path','useState','univer-flex\x20univer-items-start\x20univer-gap-2','off-line-icon_clip0_910_343','white','react/jsx-runtime','useRef','mcpConfig.connectionError.missingApiKey','Configuration\x20Notes:','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpConfig.connectionInfo','url(#on-line-icon_clip0_910_349)','Click\x20to\x20connect\x20MCP','use','univer-text-blue-600','showDeveloperTools','getOwnPropertyDescriptor','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','evenodd','mcpConfig.connectionStatus.connected','_connectionController','_handleConfigure','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','mcpStatus.unknown','off','_configService','MCP:\x20网络错误','Invalid\x20configuration','HelpSingle','fill','tag','hasOwnProperty','UniverUi','MessageType','mcpConfig.title','univer-text-xs\x20univer-text-gray-500','mcpConfig.validation.apiKeyTooShort','2696RRwtMc','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','xlink:href','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\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\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','subscribe','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','univer-bg-red-500','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','MCP_UI_PLUGIN'];_0x43a0=function(){return _0x400165;};return _0x43a0();}function _0x3617(_0x59910b,_0x197de3){var _0x43a076=_0x43a0();return _0x3617=function(_0x361747,_0x5e55b5){_0x361747=_0x361747-0x1b3;var _0x2a6aed=_0x43a076[_0x361747];return _0x2a6aed;},_0x3617(_0x59910b,_0x197de3);}(function(_0x28778e,_0x1a1ed9){var _0x4e89d3=_0x3617,_0x447e42=_0x28778e();while(!![]){try{var _0x128121=-parseInt(_0x4e89d3(0x215))/0x1*(parseInt(_0x4e89d3(0x283))/0x2)+parseInt(_0x4e89d3(0x268))/0x3+-parseInt(_0x4e89d3(0x270))/0x4+-parseInt(_0x4e89d3(0x2da))/0x5+-parseInt(_0x4e89d3(0x1c3))/0x6+-parseInt(_0x4e89d3(0x1bc))/0x7*(-parseInt(_0x4e89d3(0x1ef))/0x8)+parseInt(_0x4e89d3(0x2c3))/0x9*(parseInt(_0x4e89d3(0x2ff))/0xa);if(_0x128121===_0x1a1ed9)break;else _0x447e42['push'](_0x447e42['shift']());}catch(_0x283ca2){_0x447e42['push'](_0x447e42['shift']());}}}(_0x43a0,0xf3fad),function(_0x239bce,_0xaa184c){var _0x52a96b=_0x3617;typeof exports==_0x52a96b(0x1b5)&&typeof module<'u'?_0xaa184c(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react')):typeof define==_0x52a96b(0x299)&&define[_0x52a96b(0x311)]?define([_0x52a96b(0x286),_0x52a96b(0x2e3),_0x52a96b(0x1cf),_0x52a96b(0x295),'@univerjs/design',_0x52a96b(0x2b0),'rxjs',_0x52a96b(0x31b)],_0xaa184c):(_0x239bce=typeof globalThis<'u'?globalThis:_0x239bce||self,_0xaa184c(_0x239bce[_0x52a96b(0x232)]={},_0x239bce[_0x52a96b(0x278)],_0x239bce[_0x52a96b(0x28b)],_0x239bce[_0x52a96b(0x23e)],_0x239bce[_0x52a96b(0x21b)],_0x239bce[_0x52a96b(0x1ea)],_0x239bce[_0x52a96b(0x272)],_0x239bce[_0x52a96b(0x28b)]));}(this,function(_0x125834,_0x1bfa3e,_0x55c0b4,_0x3fff7d,_0x17d4ca,_0x535569,_0x1a5dc8,_0x213f8){'use strict';var _0x2aab0d=_0x3617;var _0x5236e5=Object[_0x2aab0d(0x2b1)],_0x59cadb=(_0xb59b6a,_0x4a7199,_0x3eb480)=>_0x4a7199 in _0xb59b6a?_0x5236e5(_0xb59b6a,_0x4a7199,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3eb480}):_0xb59b6a[_0x4a7199]=_0x3eb480,_0x53a776=(_0xbe6bd9,_0x24de40,_0x16b552)=>_0x59cadb(_0xbe6bd9,typeof _0x24de40!=_0x2aab0d(0x29a)?_0x24de40+'':_0x24de40,_0x16b552),_0x457b6e=function(){var _0x11dd5b=_0x2aab0d;return _0x457b6e=Object[_0x11dd5b(0x22f)]||function(_0x2567e6){var _0x4862ed=_0x11dd5b;for(var _0x369546,_0x6d1794=0x1,_0x321ef7=arguments[_0x4862ed(0x24d)];_0x6d1794<_0x321ef7;_0x6d1794++){_0x369546=arguments[_0x6d1794];for(var _0x19e2fd in _0x369546)Object['prototype']['hasOwnProperty'][_0x4862ed(0x2f3)](_0x369546,_0x19e2fd)&&(_0x2567e6[_0x19e2fd]=_0x369546[_0x19e2fd]);}return _0x2567e6;},_0x457b6e[_0x11dd5b(0x274)](this,arguments);},_0x1e8985=function(_0x4ad5d1,_0x3e014d){var _0x707dab=_0x2aab0d,_0x495466={};for(var _0x19e53a in _0x4ad5d1)Object['prototype'][_0x707dab(0x1e9)][_0x707dab(0x2f3)](_0x4ad5d1,_0x19e53a)&&_0x3e014d[_0x707dab(0x2f1)](_0x19e53a)<0x0&&(_0x495466[_0x19e53a]=_0x4ad5d1[_0x19e53a]);if(_0x4ad5d1!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x569df8=0x0,_0x19e53a=Object[_0x707dab(0x2a5)](_0x4ad5d1);_0x569df8<_0x19e53a['length'];_0x569df8++)_0x3e014d[_0x707dab(0x2f1)](_0x19e53a[_0x569df8])<0x0&&Object[_0x707dab(0x297)][_0x707dab(0x2af)][_0x707dab(0x2f3)](_0x4ad5d1,_0x19e53a[_0x569df8])&&(_0x495466[_0x19e53a[_0x569df8]]=_0x4ad5d1[_0x19e53a[_0x569df8]]);}return _0x495466;},_0x532af4=_0x213f8[_0x2aab0d(0x30c)](function(_0x4a49d7,_0x2ae599){var _0x126e0c=_0x2aab0d,_0x1f5bbf=_0x4a49d7[_0x126e0c(0x306)],_0x4afbcb=_0x4a49d7['id'],_0x6e5852=_0x4a49d7[_0x126e0c(0x298)],_0x1c0d49=_0x4a49d7[_0x126e0c(0x24a)],_0xff9697=_0x1e8985(_0x4a49d7,[_0x126e0c(0x306),'id',_0x126e0c(0x298),_0x126e0c(0x24a)]),_0x2eb369=_0x126e0c(0x29b)[_0x126e0c(0x310)](_0x4afbcb,'\x20')['concat'](_0x6e5852||'')[_0x126e0c(0x236)](),_0x258ce0=_0x213f8[_0x126e0c(0x1d0)]('_'['concat'](_0x5ceeda()));return _0x1b8930(_0x1f5bbf,''['concat'](_0x4afbcb),{'defIds':_0x1f5bbf[_0x126e0c(0x228)],'idSuffix':_0x258ce0['current']},_0x457b6e({'ref':_0x2ae599,'className':_0x2eb369},_0xff9697),_0x1c0d49);});function _0x1b8930(_0x526659,_0xff151d,_0x583ff7,_0x269f94,_0x5a1897){var _0x261b89=_0x2aab0d;return _0x213f8[_0x261b89(0x287)](_0x526659[_0x261b89(0x1e8)],_0x457b6e(_0x457b6e({'key':_0xff151d},_0x115c9c(_0x526659,_0x583ff7,_0x5a1897)),_0x269f94),(_0x533269(_0x526659,_0x583ff7)[_0x261b89(0x21f)]||[])[_0x261b89(0x218)](function(_0x3e70a0,_0x5bb01a){var _0x5a1190=_0x261b89;return _0x1b8930(_0x3e70a0,''[_0x5a1190(0x310)](_0xff151d,'-')[_0x5a1190(0x310)](_0x526659[_0x5a1190(0x1e8)],'-')['concat'](_0x5bb01a),_0x583ff7,void 0x0,_0x5a1897);}));}function _0x115c9c(_0x1fe5cf,_0x31f7c7,_0x1917b8){var _0x147679=_0x2aab0d,_0x146695=_0x457b6e({},_0x1fe5cf[_0x147679(0x2fa)]);_0x1917b8!=null&&_0x1917b8[_0x147679(0x2de)]&&_0x146695[_0x147679(0x1e7)]===_0x147679(0x2de)&&(_0x146695[_0x147679(0x1e7)]=_0x1917b8[_0x147679(0x2de)]),_0x1fe5cf[_0x147679(0x1e8)]===_0x147679(0x279)&&_0x146695['id']&&(_0x146695['id']=_0x146695['id']+_0x31f7c7[_0x147679(0x258)]),Object[_0x147679(0x2f0)](_0x146695)[_0x147679(0x294)](function(_0x37b933){var _0x530ad0=_0x147679,_0x50c8d5=_0x37b933[0x0],_0x4c6855=_0x37b933[0x1];_0x50c8d5==='mask'&&typeof _0x4c6855==_0x530ad0(0x2e1)&&(_0x146695[_0x50c8d5]=_0x4c6855[_0x530ad0(0x2d4)](/url\(#(.*)\)/,_0x530ad0(0x216)[_0x530ad0(0x310)](_0x31f7c7[_0x530ad0(0x258)],')')));});var _0x1c2812=_0x31f7c7[_0x147679(0x228)];return!_0x1c2812||_0x1c2812[_0x147679(0x24d)]===0x0||(_0x1fe5cf[_0x147679(0x1e8)]===_0x147679(0x1d7)&&_0x146695[_0x147679(0x1f2)]&&(_0x146695['xlink:href']=_0x146695[_0x147679(0x1f2)]+_0x31f7c7[_0x147679(0x258)]),Object[_0x147679(0x2f0)](_0x146695)[_0x147679(0x294)](function(_0x397ef6){var _0x3276cc=_0x147679,_0x4a4a10=_0x397ef6[0x0],_0x35cb00=_0x397ef6[0x1];typeof _0x35cb00=='string'&&(_0x146695[_0x4a4a10]=_0x35cb00['replace'](/url\(#(.*)\)/,_0x3276cc(0x216)[_0x3276cc(0x310)](_0x31f7c7[_0x3276cc(0x258)],')')));})),_0x146695;}function _0x533269(_0x5b0bf7,_0x186527){var _0x26097f=_0x2aab0d,_0x4072c6,_0x29d481=_0x186527[_0x26097f(0x228)];return!_0x29d481||_0x29d481[_0x26097f(0x24d)]===0x0?_0x5b0bf7:_0x5b0bf7['tag']==='defs'&&(!((_0x4072c6=_0x5b0bf7[_0x26097f(0x21f)])===null||_0x4072c6===void 0x0)&&_0x4072c6[_0x26097f(0x24d)])?_0x457b6e(_0x457b6e({},_0x5b0bf7),{'children':_0x5b0bf7['children']['map'](function(_0x406a6c){var _0x3f7d7e=_0x26097f;return typeof _0x406a6c[_0x3f7d7e(0x2fa)]['id']==_0x3f7d7e(0x2e1)&&_0x29d481&&_0x29d481[_0x3f7d7e(0x23b)](_0x406a6c[_0x3f7d7e(0x2fa)]['id'])?_0x457b6e(_0x457b6e({},_0x406a6c),{'attrs':_0x457b6e(_0x457b6e({},_0x406a6c['attrs']),{'id':_0x406a6c[_0x3f7d7e(0x2fa)]['id']+_0x186527[_0x3f7d7e(0x258)]})}):_0x406a6c;})}):_0x5b0bf7;}function _0x5ceeda(){var _0x58540b=_0x2aab0d;return Math[_0x58540b(0x26d)]()[_0x58540b(0x20f)](0x24)[_0x58540b(0x27a)](0x2,0x8);}_0x532af4['displayName']=_0x2aab0d(0x2e8);var _0x554ff1={'tag':_0x2aab0d(0x2d2),'attrs':{'xmlns':_0x2aab0d(0x303),'fill':_0x2aab0d(0x2d0),'viewBox':_0x2aab0d(0x302),'width':'1em','height':'1em'},'children':[{'tag':_0x2aab0d(0x1ca),'attrs':{'fill':_0x2aab0d(0x315),'d':'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','fillRule':'evenodd','clipRule':_0x2aab0d(0x1dc)}}]},_0x5718b3=_0x213f8[_0x2aab0d(0x30c)](function(_0x551177,_0x470fef){var _0x35871=_0x2aab0d;return _0x213f8[_0x35871(0x287)](_0x532af4,Object[_0x35871(0x22f)]({},_0x551177,{'id':_0x35871(0x292),'ref':_0x470fef,'icon':_0x554ff1}));});_0x5718b3[_0x2aab0d(0x211)]=_0x2aab0d(0x205);var _0x1bf9c6={'tag':_0x2aab0d(0x2d2),'attrs':{'xmlns':_0x2aab0d(0x303),'fill':'none','viewBox':_0x2aab0d(0x1c4),'width':_0x2aab0d(0x27b),'height':_0x2aab0d(0x27b)},'children':[{'tag':_0x2aab0d(0x1ca),'attrs':{'stroke':_0x2aab0d(0x315),'d':_0x2aab0d(0x305),'strokeLinecap':_0x2aab0d(0x2db),'strokeLinejoin':_0x2aab0d(0x2db),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':_0x2aab0d(0x315),'d':_0x2aab0d(0x1b9),'strokeLinecap':_0x2aab0d(0x2db),'strokeLinejoin':_0x2aab0d(0x2db),'strokeWidth':1.33}}]},_0x4afcc2=_0x213f8[_0x2aab0d(0x30c)](function(_0x3bf8fb,_0x36112c){var _0xebc6f5=_0x2aab0d;return _0x213f8['createElement'](_0x532af4,Object[_0xebc6f5(0x22f)]({},_0x3bf8fb,{'id':'close-small-single','ref':_0x36112c,'icon':_0x1bf9c6}));});_0x4afcc2[_0x2aab0d(0x211)]='CloseSmallSingle';var _0x252a6f={'tag':_0x2aab0d(0x2d2),'attrs':{'xmlns':_0x2aab0d(0x303),'fill':_0x2aab0d(0x2d0),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x2aab0d(0x27b)},'children':[{'tag':_0x2aab0d(0x1ca),'attrs':{'fill':'currentColor','d':_0x2aab0d(0x2be)}},{'tag':_0x2aab0d(0x1ca),'attrs':{'fill':'currentColor','d':_0x2aab0d(0x2fb)}},{'tag':_0x2aab0d(0x1ca),'attrs':{'fill':'currentColor','d':_0x2aab0d(0x1f6),'fillRule':_0x2aab0d(0x1dc),'clipRule':_0x2aab0d(0x1dc)}}]},_0x399583=_0x213f8[_0x2aab0d(0x30c)](function(_0x173ad9,_0x3cec6c){var _0x3de5a0=_0x2aab0d;return _0x213f8[_0x3de5a0(0x287)](_0x532af4,Object[_0x3de5a0(0x22f)]({},_0x173ad9,{'id':'help-single','ref':_0x3cec6c,'icon':_0x252a6f}));});_0x399583[_0x2aab0d(0x211)]=_0x2aab0d(0x1e6);var _0xf61560={'tag':_0x2aab0d(0x2d2),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2aab0d(0x2d0),'viewBox':_0x2aab0d(0x302),'width':_0x2aab0d(0x27b),'height':_0x2aab0d(0x27b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x2aab0d(0x1ca),'attrs':{'stroke':_0x2aab0d(0x315),'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':'round','strokeLinejoin':_0x2aab0d(0x2db),'strokeWidth':1.2}}]},{'tag':_0x2aab0d(0x2ec),'attrs':{},'children':[{'tag':_0x2aab0d(0x2c5),'attrs':{'id':_0x2aab0d(0x1cd)},'children':[{'tag':_0x2aab0d(0x1ca),'attrs':{'fill':_0x2aab0d(0x1ce),'d':_0x2aab0d(0x222)}}]}]}],'defIds':[_0x2aab0d(0x1cd)]},_0x240ae9=_0x213f8[_0x2aab0d(0x30c)](function(_0x5dc59c,_0x5afc9a){var _0x5201f9=_0x2aab0d;return _0x213f8[_0x5201f9(0x287)](_0x532af4,Object[_0x5201f9(0x22f)]({},_0x5dc59c,{'id':_0x5201f9(0x247),'ref':_0x5afc9a,'icon':_0xf61560}));});_0x240ae9[_0x2aab0d(0x211)]=_0x2aab0d(0x2b5);var _0x43e4d4={'tag':_0x2aab0d(0x2d2),'attrs':{'xmlns':_0x2aab0d(0x303),'fill':_0x2aab0d(0x2d0),'viewBox':_0x2aab0d(0x241),'width':_0x2aab0d(0x27b),'height':_0x2aab0d(0x27b)},'children':[{'tag':'g','attrs':{'clipPath':_0x2aab0d(0x1d5)},'children':[{'tag':_0x2aab0d(0x1ca),'attrs':{'stroke':_0x2aab0d(0x315),'d':_0x2aab0d(0x2cd),'strokeLinecap':_0x2aab0d(0x2db),'strokeLinejoin':_0x2aab0d(0x2db),'strokeWidth':1.2}}]},{'tag':_0x2aab0d(0x2ec),'attrs':{},'children':[{'tag':_0x2aab0d(0x2c5),'attrs':{'id':_0x2aab0d(0x1be)},'children':[{'tag':_0x2aab0d(0x1ca),'attrs':{'fill':_0x2aab0d(0x1ce),'d':_0x2aab0d(0x222),'transform':_0x2aab0d(0x277)}}]}]}],'defIds':[_0x2aab0d(0x1be)]},_0x13b460=_0x213f8['forwardRef'](function(_0x54e4ea,_0x350527){var _0x56336f=_0x2aab0d;return _0x213f8[_0x56336f(0x287)](_0x532af4,Object[_0x56336f(0x22f)]({},_0x54e4ea,{'id':_0x56336f(0x21a),'ref':_0x350527,'icon':_0x43e4d4}));});_0x13b460[_0x2aab0d(0x211)]=_0x2aab0d(0x1bf);function _0xa7685a(_0x8dc3a7){var _0x3aa75a=_0x2aab0d,_0x3ec762,_0x1867e1;const {mcpCoreConfig:_0x197f03,onSave:_0x2ebd00,loading:_0x347f10=!0x1,config:_0x393ca6,connectionStatus$:_0x4f9cfc,connectionError$:_0x25987a}=_0x8dc3a7,_0x25fe61=_0x535569[_0x3aa75a(0x28e)](_0x1bfa3e['LocaleService']),_0x444a27=_0x535569[_0x3aa75a(0x243)](_0x4f9cfc,_0x3fff7d[_0x3aa75a(0x29e)][_0x3aa75a(0x2b6)]),_0x4b327f=_0x535569['useObservable'](_0x25987a,_0x3fff7d['MCPConnectionError']['NONE']),[_0x3f699c,_0x7cdf3e]=_0x213f8[_0x3aa75a(0x1cb)](_0x197f03['apiKey']||''),_0x4f4dc3=!0x0,_0x159fa7=_0x393ca6[_0x3aa75a(0x1d9)]&&_0x197f03['mcpServerUrl']&&(_0x197f03['mcpServerUrl'][_0x3aa75a(0x23b)](_0x3aa75a(0x2e0))||_0x197f03[_0x3aa75a(0x2a7)]['includes'](_0x3aa75a(0x2b7))),_0x7243ca=(_0x3ec762=_0x197f03[_0x3aa75a(0x2a7)])==null?void 0x0:_0x3ec762[_0x3aa75a(0x23b)]('univer.plus'),_0x2b8e33=(_0x1867e1=_0x197f03['mcpServerUrl'])==null?void 0x0:_0x1867e1['includes'](_0x3aa75a(0x2b7)),_0x51ed95=_0x7243ca?_0x3aa75a(0x231):_0x3aa75a(0x25a),_0x2aeda3=_0x393ca6[_0x3aa75a(0x1d9)]&&(_0x7243ca||_0x2b8e33),[_0x32867e,_0x496533]=_0x213f8[_0x3aa75a(0x1cb)](!_0x3f699c['trim']()),_0x1b1006=(_0x1cf6f3,_0x384b5c)=>{var _0x46f4eb=_0x3aa75a;if(_0x384b5c===_0x3fff7d[_0x46f4eb(0x2fd)][_0x46f4eb(0x2ac)]||_0x384b5c===_0x3fff7d['MCPConnectionError'][_0x46f4eb(0x239)])return _0x46f4eb(0x273);switch(_0x1cf6f3){case _0x3fff7d[_0x46f4eb(0x29e)][_0x46f4eb(0x252)]:return _0x46f4eb(0x290);case _0x3fff7d[_0x46f4eb(0x29e)][_0x46f4eb(0x244)]:case _0x3fff7d[_0x46f4eb(0x29e)][_0x46f4eb(0x206)]:return _0x46f4eb(0x288);case _0x3fff7d[_0x46f4eb(0x29e)][_0x46f4eb(0x1b7)]:return _0x46f4eb(0x273);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x552c20=(_0x9cbbed,_0xe4c40d)=>{var _0x33667d=_0x3aa75a;if(_0xe4c40d===_0x3fff7d[_0x33667d(0x2fd)][_0x33667d(0x2ac)]||_0xe4c40d===_0x3fff7d[_0x33667d(0x2fd)]['INVALID_API_KEY'])return'univer-bg-red-500';switch(_0x9cbbed){case _0x3fff7d[_0x33667d(0x29e)][_0x33667d(0x252)]:return'univer-bg-green-500';case _0x3fff7d[_0x33667d(0x29e)][_0x33667d(0x244)]:case _0x3fff7d[_0x33667d(0x29e)]['RETRYING']:return'univer-bg-blue-500';case _0x3fff7d[_0x33667d(0x29e)][_0x33667d(0x1b7)]:return _0x33667d(0x1f7);default:return'univer-bg-gray-500';}},_0x71ea8a=_0x2edb31=>{var _0x57f5cc=_0x3aa75a;switch(_0x2edb31){case _0x3fff7d[_0x57f5cc(0x29e)]['CONNECTED']:return _0x25fe61['t'](_0x57f5cc(0x1dd));case _0x3fff7d['MCPConnectionStatus'][_0x57f5cc(0x244)]:return _0x25fe61['t'](_0x57f5cc(0x223));case _0x3fff7d['MCPConnectionStatus'][_0x57f5cc(0x1b7)]:return _0x25fe61['t'](_0x57f5cc(0x2cf));case _0x3fff7d['MCPConnectionStatus'][_0x57f5cc(0x206)]:return _0x25fe61['t'](_0x57f5cc(0x233));default:return _0x25fe61['t'](_0x57f5cc(0x1bb));}},_0x1593f7=_0x2292c6=>{var _0x447154=_0x3aa75a;switch(_0x2292c6){case _0x3fff7d[_0x447154(0x2fd)][_0x447154(0x2ac)]:return _0x25fe61['t'](_0x447154(0x1d1));case _0x3fff7d['MCPConnectionError'][_0x447154(0x239)]:return _0x25fe61['t'](_0x447154(0x1c2));case _0x3fff7d[_0x447154(0x2fd)][_0x447154(0x20e)]:return _0x25fe61['t'](_0x447154(0x325));case _0x3fff7d[_0x447154(0x2fd)][_0x447154(0x25c)]:return _0x25fe61['t'](_0x447154(0x2ee));case _0x3fff7d['MCPConnectionError'][_0x447154(0x2a9)]:return _0x25fe61['t'](_0x447154(0x257));default:return'';}},_0x2dc8ed=_0x213f8['useCallback'](()=>{var _0x3cb53e=_0x3aa75a;const _0x8ccbb6={..._0x197f03,'apiKey':_0x3f699c[_0x3cb53e(0x236)](),'enableAuth':_0x4f4dc3};_0x2ebd00(_0x8ccbb6);},[_0x197f03,_0x3f699c,_0x4f4dc3,_0x2ebd00]),_0x43a2fc=_0x3f699c[_0x3aa75a(0x236)]()[_0x3aa75a(0x24d)]>0x0;return _0x55c0b4[_0x3aa75a(0x2f9)](_0x3aa75a(0x235),{'className':_0x3aa75a(0x26c),'children':[_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x235),{'className':_0x3aa75a(0x2b9),'children':_0x55c0b4['jsxs'](_0x3aa75a(0x235),{'className':_0x3aa75a(0x266),'children':[_0x55c0b4['jsx'](_0x3aa75a(0x235),{'className':_0x3aa75a(0x20a),'children':_0x55c0b4['jsx'](_0x3aa75a(0x25f),{'className':'univer-text-white','children':'⚙'})}),_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x235),{'children':_0x55c0b4[_0x3aa75a(0x2c2)]('p',{'className':_0x3aa75a(0x2ea),'children':_0x25fe61['t'](_0x3aa75a(0x1c5))})})]})}),_0x55c0b4[_0x3aa75a(0x2f9)]('div',{'className':_0x3aa75a(0x2d6),'children':[_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x235),{'className':_0x3aa75a(0x1f4)+_0x1b1006(_0x444a27,_0x4b327f)+_0x3aa75a(0x2e4),'children':_0x55c0b4['jsxs']('div',{'className':_0x3aa75a(0x27e),'children':[_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x235),{'className':_0x3aa75a(0x1bd)+_0x552c20(_0x444a27,_0x4b327f)+_0x3aa75a(0x27f)}),_0x55c0b4['jsx'](_0x3aa75a(0x25f),{'className':_0x3aa75a(0x230),'children':_0x71ea8a(_0x444a27)})]})}),_0x4b327f!==_0x3fff7d[_0x3aa75a(0x2fd)][_0x3aa75a(0x321)]&&(_0x444a27===_0x3fff7d[_0x3aa75a(0x29e)]['FAILED']||_0x4b327f===_0x3fff7d[_0x3aa75a(0x2fd)][_0x3aa75a(0x2ac)]||_0x4b327f===_0x3fff7d[_0x3aa75a(0x2fd)][_0x3aa75a(0x239)])&&_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x235),{'className':_0x3aa75a(0x1f3),'children':_0x55c0b4['jsxs'](_0x3aa75a(0x235),{'className':_0x3aa75a(0x1cc),'children':[_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x25f),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x55c0b4['jsx']('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x1593f7(_0x4b327f)})]})})]}),_0x55c0b4['jsx'](_0x3aa75a(0x235),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x55c0b4[_0x3aa75a(0x2f9)](_0x3aa75a(0x235),{'className':'univer-space-y-5','children':[_0x55c0b4[_0x3aa75a(0x2f9)](_0x3aa75a(0x235),{'className':'univer-space-y-2','children':[_0x55c0b4[_0x3aa75a(0x2f9)]('label',{'className':_0x3aa75a(0x2e5),'children':[_0x55c0b4['jsx'](_0x3aa75a(0x25f),{'children':'🔑'}),'\x20',_0x25fe61['t']('mcpConfig.apiKey'),_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x25f),{'className':'univer-text-red-500','children':'*'}),_0x159fa7&&_0x55c0b4[_0x3aa75a(0x2c2)]('a',{'href':'javascript:void(0)','onClick':()=>_0x496533(!0x0),'className':_0x3aa75a(0x1e0),'title':_0x25fe61['t'](_0x3aa75a(0x259)),'children':_0x55c0b4[_0x3aa75a(0x2c2)](_0x399583,{})})]}),_0x55c0b4[_0x3aa75a(0x2c2)](_0x17d4ca[_0x3aa75a(0x308)],{'type':_0x3aa75a(0x2b8),'placeholder':_0x25fe61['t'](_0x3aa75a(0x323)),'value':_0x3f699c,'onChange':_0x7cdf3e,'disabled':_0x347f10,'autoComplete':_0x3aa75a(0x1e2)}),_0x55c0b4[_0x3aa75a(0x2c2)]('p',{'className':_0x3aa75a(0x1ed),'children':_0x25fe61['t'](_0x3aa75a(0x217))})]}),_0x159fa7&&_0x32867e&&_0x55c0b4[_0x3aa75a(0x2f9)]('div',{'className':'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','children':[_0x55c0b4[_0x3aa75a(0x2c2)]('a',{'href':_0x3aa75a(0x2f4),'onClick':()=>_0x496533(!0x1),'className':_0x3aa75a(0x316),'title':'Close','children':_0x55c0b4['jsx'](_0x4afcc2,{})}),_0x55c0b4[_0x3aa75a(0x2f9)](_0x3aa75a(0x235),{'className':_0x3aa75a(0x1fd),'children':[_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x235),{'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':_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x25f),{'className':_0x3aa75a(0x1d8),'children':'🚀'})}),_0x55c0b4[_0x3aa75a(0x2f9)]('div',{'className':'univer-flex-1','children':[_0x55c0b4[_0x3aa75a(0x2c2)]('h4',{'className':_0x3aa75a(0x1f0),'children':_0x25fe61['t']('mcpConfig.apiApplyInfo.title')}),_0x55c0b4[_0x3aa75a(0x2c2)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x25fe61['t'](_0x3aa75a(0x2ce))}),_0x55c0b4[_0x3aa75a(0x2c2)]('div',{'className':_0x3aa75a(0x1d3),'children':_0x2aeda3&&_0x55c0b4[_0x3aa75a(0x2f9)]('a',{'href':_0x51ed95,'target':'_blank','rel':_0x3aa75a(0x2b4),'className':_0x3aa75a(0x318),'children':[_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x25f),{'children':'🤖'}),_0x25fe61['t'](_0x3aa75a(0x1b3)),_0x55c0b4['jsx'](_0x3aa75a(0x25f),{'className':_0x3aa75a(0x2c9),'children':'↗'})]})}),_0x55c0b4[_0x3aa75a(0x2f9)](_0x3aa75a(0x235),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x25fe61['t'](_0x3aa75a(0x296))]})]})]})]}),_0x393ca6[_0x3aa75a(0x1d9)]&&_0x55c0b4['jsxs'](_0x3aa75a(0x235),{'className':_0x3aa75a(0x304),'children':[_0x55c0b4[_0x3aa75a(0x2f9)]('h4',{'className':_0x3aa75a(0x264),'children':[_0x55c0b4[_0x3aa75a(0x2c2)]('span',{'children':'🔗'}),'\x20',_0x25fe61['t'](_0x3aa75a(0x1d4))]}),_0x55c0b4[_0x3aa75a(0x2f9)]('div',{'className':_0x3aa75a(0x31f),'children':[_0x55c0b4[_0x3aa75a(0x2f9)](_0x3aa75a(0x235),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x235),{'className':_0x3aa75a(0x1db)}),_0x55c0b4[_0x3aa75a(0x2f9)](_0x3aa75a(0x235),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x235),{'className':_0x3aa75a(0x200),'children':_0x25fe61['t'](_0x3aa75a(0x271))}),_0x55c0b4[_0x3aa75a(0x2c2)]('code',{'className':_0x3aa75a(0x2e7),'children':_0x197f03['mcpServerUrl']})]})]}),_0x55c0b4[_0x3aa75a(0x2f9)](_0x3aa75a(0x235),{'className':_0x3aa75a(0x240),'children':[_0x55c0b4[_0x3aa75a(0x2c2)]('div',{'className':_0x3aa75a(0x1db)}),_0x55c0b4[_0x3aa75a(0x2f9)](_0x3aa75a(0x235),{'className':_0x3aa75a(0x2d5),'children':[_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x235),{'className':_0x3aa75a(0x200),'children':_0x25fe61['t']('mcpConfig.sessionId')}),_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x326),{'className':'univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','children':_0x197f03[_0x3aa75a(0x28a)]||_0x3aa75a(0x23d)})]})]})]})]}),_0x55c0b4[_0x3aa75a(0x2c2)](_0x17d4ca[_0x3aa75a(0x2c4)],{'onClick':_0x2dc8ed,'disabled':!_0x43a2fc||_0x347f10,'className':_0x3aa75a(0x1f8),'children':_0x347f10?_0x55c0b4[_0x3aa75a(0x2f9)](_0x3aa75a(0x25f),{'className':_0x3aa75a(0x27e),'children':[_0x55c0b4[_0x3aa75a(0x2c2)]('span',{'children':'⟲'}),_0x25fe61['t'](_0x3aa75a(0x26f))]}):_0x55c0b4[_0x3aa75a(0x2f9)](_0x3aa75a(0x25f),{'className':_0x3aa75a(0x27e),'children':[_0x55c0b4[_0x3aa75a(0x2c2)](_0x5718b3,{}),_0x25fe61['t'](_0x3aa75a(0x285))]})}),_0x55c0b4[_0x3aa75a(0x2c2)](_0x3aa75a(0x235),{'className':_0x3aa75a(0x22c),'children':_0x55c0b4['jsxs'](_0x3aa75a(0x235),{'className':_0x3aa75a(0x312),'children':[_0x55c0b4['jsx'](_0x3aa75a(0x25f),{'className':_0x3aa75a(0x328),'children':'💡'}),_0x55c0b4[_0x3aa75a(0x2f9)]('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x55c0b4['jsx'](_0x3aa75a(0x235),{'className':_0x3aa75a(0x20d),'children':_0x3aa75a(0x1d2)}),_0x55c0b4[_0x3aa75a(0x2f9)]('div',{'children':['•',_0x25fe61['t']('mcpConfig.note1')]}),_0x55c0b4[_0x3aa75a(0x2f9)](_0x3aa75a(0x235),{'children':['•',_0x25fe61['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x28d3de=_0x2aab0d(0x263),_0x57ec80={'showDeveloperTools':!0x1};var _0x20d460=Object[_0x2aab0d(0x1da)],_0x149f79=(_0xc3621f,_0x2cbb80,_0x4815d6,_0x3f1d63)=>{var _0x1c8bb4=_0x2aab0d;for(var _0x1c31ac=_0x3f1d63>0x1?void 0x0:_0x3f1d63?_0x20d460(_0x2cbb80,_0x4815d6):_0x2cbb80,_0x2a91e2=_0xc3621f[_0x1c8bb4(0x24d)]-0x1,_0x41ebe9;_0x2a91e2>=0x0;_0x2a91e2--)(_0x41ebe9=_0xc3621f[_0x2a91e2])&&(_0x1c31ac=_0x41ebe9(_0x1c31ac)||_0x1c31ac);return _0x1c31ac;},_0x3c0dd0=(_0x2893ee,_0x48119e)=>(_0x3896d3,_0x14d166)=>_0x48119e(_0x3896d3,_0x14d166,_0x2893ee);const _0x9fa679=_0x2aab0d(0x2aa),_0x5beda1=_0x2aab0d(0x30b);_0x125834[_0x2aab0d(0x30d)]=class extends _0x1bfa3e[_0x2aab0d(0x209)]{constructor(_0x1b2dbe,_0x139b69,_0x3ebd04,_0x2818a4,_0x5b21b7,_0x2aa7c6,_0x208177,_0x1b6917,_0x9574d3,_0x17bbc7){var _0x1bdc41=_0x2aab0d;super(),_0x53a776(this,_0x1bdc41(0x31d),new _0x1a5dc8[(_0x1bdc41(0x284))](!0x1)),_0x53a776(this,_0x1bdc41(0x201),new _0x1a5dc8[(_0x1bdc41(0x284))]({})),_0x53a776(this,_0x1bdc41(0x213),new _0x1a5dc8[(_0x1bdc41(0x284))]({})),_0x53a776(this,_0x1bdc41(0x22a),async _0x5c2ca9=>{var _0x444a87=_0x1bdc41;this[_0x444a87(0x31d)]['next'](!0x0);try{const _0x245334=await this[_0x444a87(0x2c1)](_0x5c2ca9);if(!_0x245334['isValid']){this[_0x444a87(0x25b)]['show']({'type':_0x17d4ca[_0x444a87(0x1eb)][_0x444a87(0x313)],'content':_0x245334['errorMessage']||this[_0x444a87(0x26e)]['t'](_0x444a87(0x2ed))});return;}_0x5c2ca9['apiKey']?await this[_0x444a87(0x2dc)][_0x444a87(0x2ba)](_0x9fa679,_0x5c2ca9['apiKey'][_0x444a87(0x236)]()):await this[_0x444a87(0x2dc)][_0x444a87(0x2c8)](_0x9fa679),this[_0x444a87(0x1e3)][_0x444a87(0x2cb)](_0x3fff7d[_0x444a87(0x2f5)],{..._0x5c2ca9,'apiKey':_0x5c2ca9['apiKey'][_0x444a87(0x236)]()}),this[_0x444a87(0x201)][_0x444a87(0x2fc)]({..._0x5c2ca9,'apiKey':_0x5c2ca9['apiKey'][_0x444a87(0x236)]()}),this['_messageService']['show']({'type':_0x17d4ca[_0x444a87(0x1eb)]['Success'],'content':this[_0x444a87(0x26e)]['t'](_0x444a87(0x2f6))}),setTimeout(()=>{var _0x5a0a5d=_0x444a87;this[_0x5a0a5d(0x1fc)][_0x5a0a5d(0x2f7)](_0x5beda1);},0x320);}catch(_0x301dd0){this[_0x444a87(0x30f)][_0x444a87(0x26a)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x301dd0),this[_0x444a87(0x25b)][_0x444a87(0x26b)]({'type':_0x17d4ca[_0x444a87(0x1eb)]['Error'],'content':this['_localeService']['t'](_0x444a87(0x2d9))});}finally{this['_loading$']['next'](!0x1);}}),(this[_0x1bdc41(0x214)]=_0x1b2dbe,this[_0x1bdc41(0x256)]=_0x139b69,this[_0x1bdc41(0x1e3)]=_0x3ebd04,this[_0x1bdc41(0x2dc)]=_0x2818a4,this[_0x1bdc41(0x1fc)]=_0x5b21b7,this[_0x1bdc41(0x25b)]=_0x2aa7c6,this[_0x1bdc41(0x317)]=_0x208177,this[_0x1bdc41(0x26e)]=_0x1b6917,this['_logService']=_0x9574d3,this[_0x1bdc41(0x319)]=_0x17bbc7,this['_initConfigSync'](),this[_0x1bdc41(0x1c8)](),this['_registerComponent']());}['showConfigPanel'](){var _0x53ed6c=_0x2aab0d;this['_dialogService']['open']({'id':_0x5beda1,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':_0x53ed6c(0x25d)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x132580=_0x53ed6c;this[_0x132580(0x1fc)][_0x132580(0x2f7)](_0x5beda1);}});}[_0x2aab0d(0x269)](){var _0x5a7b64=_0x2aab0d;return this[_0x5a7b64(0x201)][_0x5a7b64(0x30a)];}[_0x2aab0d(0x23c)](){var _0x44eab9=_0x2aab0d;this[_0x44eab9(0x327)](this[_0x44eab9(0x317)]['register'](_0x44eab9(0x25d),this[_0x44eab9(0x1c7)]()));}[_0x2aab0d(0x1c7)](){var _0x155418=_0x2aab0d;return _0x535569['connectInjector'](()=>{var _0x3a81e0=_0x3617,_0x2e0429,_0x163a4a;return _0x55c0b4[_0x3a81e0(0x2c2)](_0xa7685a,{'config':this[_0x3a81e0(0x213)][_0x3a81e0(0x30a)],'mcpCoreConfig':this[_0x3a81e0(0x201)]['value'],'onSave':this[_0x3a81e0(0x22a)],'loading':this['_loading$'][_0x3a81e0(0x30a)],'connectionStatus$':(_0x2e0429=this[_0x3a81e0(0x319)])==null?void 0x0:_0x2e0429[_0x3a81e0(0x2b3)],'connectionError$':(_0x163a4a=this['_mcpConnectionController'])==null?void 0x0:_0x163a4a['connectionError$']});},this[_0x155418(0x214)]);}['_initConfigSync'](){var _0x3cf7a7=_0x2aab0d;this[_0x3cf7a7(0x327)](this[_0x3cf7a7(0x1e3)][_0x3cf7a7(0x203)](_0x3fff7d[_0x3cf7a7(0x2f5)])[_0x3cf7a7(0x1f5)](_0x1aa674=>{var _0x541c8e=_0x3cf7a7;this[_0x541c8e(0x201)][_0x541c8e(0x2fc)](_0x1aa674||{});}));const _0x2a6b51=this[_0x3cf7a7(0x1e3)]['getConfig'](_0x3fff7d[_0x3cf7a7(0x2f5)]);this[_0x3cf7a7(0x201)][_0x3cf7a7(0x2fc)](_0x2a6b51||{}),this[_0x3cf7a7(0x327)](this[_0x3cf7a7(0x1e3)]['subscribeConfigValue$'](_0x28d3de)[_0x3cf7a7(0x1f5)](_0x57ca09=>{var _0x18ec97=_0x3cf7a7;this[_0x18ec97(0x213)][_0x18ec97(0x2fc)](_0x57ca09||{});}));const _0x375dfe=this['_configService'][_0x3cf7a7(0x2e2)](_0x28d3de);this[_0x3cf7a7(0x213)][_0x3cf7a7(0x2fc)](_0x375dfe||{});}async['_loadStoredApiKey'](){var _0x22dd1e=_0x2aab0d;const _0xdf95b0=await this[_0x22dd1e(0x2dc)][_0x22dd1e(0x276)](_0x9fa679);if(_0xdf95b0){const _0x165b14={...this[_0x22dd1e(0x201)][_0x22dd1e(0x30a)],'apiKey':_0xdf95b0};this[_0x22dd1e(0x1e3)][_0x22dd1e(0x2cb)](_0x3fff7d['MCP_PLUGIN_CONFIG_KEY'],_0x165b14),this[_0x22dd1e(0x201)][_0x22dd1e(0x2fc)](_0x165b14);}}async[_0x2aab0d(0x2c1)](_0x563ff9){var _0x376c75=_0x2aab0d;if(!_0x563ff9['apiKey']||_0x563ff9[_0x376c75(0x2d3)][_0x376c75(0x236)]()[_0x376c75(0x24d)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x376c75(0x26e)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x563ff9[_0x376c75(0x2d3)][_0x376c75(0x236)]()[_0x376c75(0x24d)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x376c75(0x26e)]['t'](_0x376c75(0x1ee))};try{const _0x45ff31=await this[_0x376c75(0x214)][_0x376c75(0x314)](_0x3fff7d[_0x376c75(0x250)])[_0x376c75(0x2a3)](_0x563ff9[_0x376c75(0x2d3)][_0x376c75(0x236)]());return _0x45ff31[_0x376c75(0x226)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x45ff31[_0x376c75(0x26a)]||this[_0x376c75(0x26e)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x3d9201){return console[_0x376c75(0x2a8)](_0x376c75(0x2a6),_0x3d9201),{'isValid':!0x0};}}},_0x125834[_0x2aab0d(0x30d)]=_0x149f79([_0x3c0dd0(0x0,_0x1bfa3e[_0x2aab0d(0x212)](_0x1bfa3e['Injector'])),_0x3c0dd0(0x1,_0x535569['IUIPartsService']),_0x3c0dd0(0x2,_0x1bfa3e[_0x2aab0d(0x30e)]),_0x3c0dd0(0x3,_0x1bfa3e[_0x2aab0d(0x1c0)]),_0x3c0dd0(0x4,_0x535569[_0x2aab0d(0x2e9)]),_0x3c0dd0(0x5,_0x535569[_0x2aab0d(0x2bc)]),_0x3c0dd0(0x6,_0x1bfa3e['Inject'](_0x535569[_0x2aab0d(0x2df)])),_0x3c0dd0(0x7,_0x1bfa3e['Inject'](_0x1bfa3e[_0x2aab0d(0x24c)])),_0x3c0dd0(0x8,_0x1bfa3e[_0x2aab0d(0x293)]),_0x3c0dd0(0x9,_0x1bfa3e[_0x2aab0d(0x212)](_0x3fff7d['MCPConnectionController']))],_0x125834[_0x2aab0d(0x30d)]);const _0x5e9d11={'id':_0x2aab0d(0x28d),'type':_0x1bfa3e[_0x2aab0d(0x1ff)]['COMMAND'],'handler':async(_0x221815,_0x2f89ad)=>(_0x221815[_0x2aab0d(0x314)](_0x125834[_0x2aab0d(0x30d)])['showConfigPanel'](),!0x0)};function _0x513263(_0x2a2f52,_0x2be7f8){var _0x2adab7=_0x2aab0d;switch(_0x2a2f52){case _0x3fff7d['MCPConnectionStatus'][_0x2adab7(0x2b6)]:return _0x2be7f8===_0x3fff7d[_0x2adab7(0x2fd)][_0x2adab7(0x2ac)]?_0x2adab7(0x21c):'mcpStatus.disconnected';case _0x3fff7d[_0x2adab7(0x29e)]['CONNECTING']:return _0x2adab7(0x29c);case _0x3fff7d[_0x2adab7(0x29e)][_0x2adab7(0x252)]:return _0x2adab7(0x229);case _0x3fff7d[_0x2adab7(0x29e)][_0x2adab7(0x1b7)]:switch(_0x2be7f8){case _0x3fff7d[_0x2adab7(0x2fd)][_0x2adab7(0x239)]:return _0x2adab7(0x22d);case _0x3fff7d[_0x2adab7(0x2fd)][_0x2adab7(0x20e)]:return'mcpStatus.sessionOccupied';case _0x3fff7d[_0x2adab7(0x2fd)][_0x2adab7(0x25c)]:return'mcpStatus.networkError';case _0x3fff7d[_0x2adab7(0x2fd)][_0x2adab7(0x2a9)]:return _0x2adab7(0x309);default:return _0x2adab7(0x2fe);}case _0x3fff7d[_0x2adab7(0x29e)][_0x2adab7(0x206)]:return _0x2adab7(0x1ba);default:return _0x2adab7(0x1e1);}}function _0x17e0b2(_0xf185c6,_0x58f845,_0x208b1c){var _0x5756a4=_0x2aab0d;const _0x1ba2a1=_0x513263(_0xf185c6,_0x58f845),_0x2c5407=_0x208b1c['t'](_0x1ba2a1);return _0xf185c6===_0x3fff7d['MCPConnectionStatus']['DISCONNECTED']&&_0x58f845===_0x3fff7d[_0x5756a4(0x2fd)]['MISSING_API_KEY']?_0x2c5407+_0x5756a4(0x2bf)+_0x208b1c['t'](_0x5756a4(0x280)):_0xf185c6===_0x3fff7d[_0x5756a4(0x29e)][_0x5756a4(0x252)]?''+_0x2c5407:_0xf185c6===_0x3fff7d[_0x5756a4(0x29e)][_0x5756a4(0x2b6)]||_0xf185c6===_0x3fff7d[_0x5756a4(0x29e)][_0x5756a4(0x1b7)]?_0x2c5407+_0x5756a4(0x2bf)+_0x208b1c['t']('mcpStatus.clickToConnect'):_0x2c5407;}function _0x45934(_0x40930a){var _0x2e5838=_0x2aab0d;switch(_0x40930a){case _0x3fff7d[_0x2e5838(0x29e)][_0x2e5838(0x252)]:return'univer-text-green-500';case _0x3fff7d[_0x2e5838(0x29e)][_0x2e5838(0x244)]:case _0x3fff7d['MCPConnectionStatus'][_0x2e5838(0x206)]:return _0x2e5838(0x275);case _0x3fff7d[_0x2e5838(0x29e)]['FAILED']:case _0x3fff7d[_0x2e5838(0x29e)][_0x2e5838(0x2b6)]:return'univer-text-red-500';default:return _0x2e5838(0x21d);}}function _0x41b17e(_0x4a9611){var _0x513fdc=_0x2aab0d;const {status$:_0x1b1596,error$:_0x149d0d,onConfigure:_0x3a6198}=_0x4a9611,_0x3b11d1=_0x535569[_0x513fdc(0x243)](_0x1b1596,_0x3fff7d['MCPConnectionStatus'][_0x513fdc(0x2b6)]),_0x24bd59=_0x535569[_0x513fdc(0x243)](_0x149d0d,_0x3fff7d['MCPConnectionError'][_0x513fdc(0x321)]),_0x2d02ff=_0x535569[_0x513fdc(0x28e)](_0x1bfa3e[_0x513fdc(0x24c)]),_0x542e59=_0x3b11d1===_0x3fff7d['MCPConnectionStatus'][_0x513fdc(0x252)],_0x123508=_0x3b11d1===_0x3fff7d[_0x513fdc(0x29e)][_0x513fdc(0x244)]||_0x3b11d1===_0x3fff7d['MCPConnectionStatus'][_0x513fdc(0x206)],_0x386b2c=_0x2d02ff['t'](_0x513263(_0x3b11d1,_0x24bd59)),_0x1fa2cd=_0x17e0b2(_0x3b11d1,_0x24bd59,_0x2d02ff),_0x15689c=_0x45934(_0x3b11d1),_0x49c143=_0x542e59?_0x55c0b4[_0x513fdc(0x2c2)](_0x13b460,{}):_0x55c0b4[_0x513fdc(0x2c2)](_0x240ae9,{}),_0x3f14df=_0x213f8[_0x513fdc(0x208)](()=>{_0x3a6198&&_0x3a6198();},[_0x542e59,_0x123508,_0x3a6198]);function _0x2708eb(){var _0x187f01=_0x513fdc;return _0x55c0b4[_0x187f01(0x2f9)](_0x187f01(0x235),{'className':_0x17d4ca[_0x187f01(0x2ab)](_0x187f01(0x20b),_0x3a6198&&_0x187f01(0x29d)),'onClick':_0x3a6198?_0x3f14df:void 0x0,'children':[_0x55c0b4[_0x187f01(0x2c2)]('div',{'className':_0x17d4ca[_0x187f01(0x2ab)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x15689c),'children':_0x49c143}),_0x55c0b4[_0x187f01(0x2c2)](_0x187f01(0x235),{'className':_0x187f01(0x255),'children':_0x386b2c})]});}return _0x55c0b4[_0x513fdc(0x2c2)](_0x17d4ca['Tooltip'],{'title':_0x1fa2cd,'placement':'bottom','children':_0x2708eb()});}var _0x515a2a=Object[_0x2aab0d(0x1da)],_0x4846ea=(_0xe29355,_0x1eb29b,_0x4b047c,_0x81c210)=>{var _0x5d51ce=_0x2aab0d;for(var _0x54ff8f=_0x81c210>0x1?void 0x0:_0x81c210?_0x515a2a(_0x1eb29b,_0x4b047c):_0x1eb29b,_0x2866b4=_0xe29355[_0x5d51ce(0x24d)]-0x1,_0x3c8bac;_0x2866b4>=0x0;_0x2866b4--)(_0x3c8bac=_0xe29355[_0x2866b4])&&(_0x54ff8f=_0x3c8bac(_0x54ff8f)||_0x54ff8f);return _0x54ff8f;},_0x1e8559=(_0x564161,_0x44cf4a)=>(_0x45b21a,_0x25776a)=>_0x44cf4a(_0x45b21a,_0x25776a,_0x564161);_0x125834[_0x2aab0d(0x31c)]=class extends _0x1bfa3e[_0x2aab0d(0x209)]{constructor(_0x543625,_0x4afe61,_0x1c268a){var _0x456df0=_0x2aab0d;super(),this[_0x456df0(0x214)]=_0x543625,this['_connectionController']=_0x4afe61,this['_uiPartsService']=_0x1c268a,this['_initStatusComponent']();}[_0x2aab0d(0x2c0)](){var _0x8a6310=_0x2aab0d;this[_0x8a6310(0x327)](this[_0x8a6310(0x256)]['registerComponent'](_0x535569[_0x8a6310(0x22b)]['HEADER_MENU'],()=>_0x535569['connectInjector'](_0x1ec432({'status$':this[_0x8a6310(0x1de)]['connectionStatus$'],'error$':this['_connectionController']['connectionError$'],'onConfigure':()=>this[_0x8a6310(0x1df)]()}),this[_0x8a6310(0x214)])));}[_0x2aab0d(0x1df)](){var _0x242a62=_0x2aab0d;this[_0x242a62(0x214)][_0x242a62(0x314)](_0x125834[_0x242a62(0x30d)])[_0x242a62(0x28f)]();}},_0x125834[_0x2aab0d(0x31c)]=_0x4846ea([_0x1e8559(0x0,_0x1bfa3e['Inject'](_0x1bfa3e['Injector'])),_0x1e8559(0x1,_0x1bfa3e[_0x2aab0d(0x212)](_0x3fff7d[_0x2aab0d(0x250)])),_0x1e8559(0x2,_0x535569[_0x2aab0d(0x20c)])],_0x125834['MCPConnectionUIController']);function _0x1ec432(_0x81682d){const {status$:_0xa88f95,error$:_0x9af06f,onConfigure:_0x3036b6}=_0x81682d;return function(){var _0x39bedf=_0x3617;return _0x55c0b4[_0x39bedf(0x2c2)](_0x41b17e,{'status$':_0xa88f95,'error$':_0x9af06f,'onConfigure':_0x3036b6});};}function _0x28d16b(_0x50c5be){var _0x28e5ea=_0x2aab0d;return{'id':_0x5e9d11['id'],'type':_0x535569['MenuItemType']['BUTTON'],'icon':_0x28e5ea(0x253),'title':_0x28e5ea(0x1ec),'tooltip':_0x28e5ea(0x1ec)};}const _0x2b5583={[_0x535569[_0x2aab0d(0x2bb)]['OTHERS']]:{[_0x5e9d11['id']]:{'order':0xa,'menuItemFactory':_0x28d16b}}};var _0xc8d96b=Object[_0x2aab0d(0x1da)],_0x383835=(_0x4c048f,_0x2a9548,_0x441e9b,_0x18b383)=>{var _0x5c46c2=_0x2aab0d;for(var _0x4ffa35=_0x18b383>0x1?void 0x0:_0x18b383?_0xc8d96b(_0x2a9548,_0x441e9b):_0x2a9548,_0x4190b9=_0x4c048f[_0x5c46c2(0x24d)]-0x1,_0x3086f5;_0x4190b9>=0x0;_0x4190b9--)(_0x3086f5=_0x4c048f[_0x4190b9])&&(_0x4ffa35=_0x3086f5(_0x4ffa35)||_0x4ffa35);return _0x4ffa35;},_0x332b3d=(_0x51d731,_0x1dcbb0)=>(_0x2b163,_0xb44c72)=>_0x1dcbb0(_0x2b163,_0xb44c72,_0x51d731);_0x125834[_0x2aab0d(0x324)]=class extends _0x1bfa3e[_0x2aab0d(0x209)]{constructor(_0x1c6d1e,_0x1e898d){var _0x3d6fd7=_0x2aab0d;super(),this[_0x3d6fd7(0x301)]=_0x1c6d1e,this[_0x3d6fd7(0x210)]=_0x1e898d,this[_0x3d6fd7(0x21e)](),this[_0x3d6fd7(0x322)]();}[_0x2aab0d(0x21e)](){var _0x417423=_0x2aab0d;[_0x5e9d11][_0x417423(0x294)](_0x3cb478=>{var _0x6d9b96=_0x417423;this[_0x6d9b96(0x327)](this[_0x6d9b96(0x301)]['registerCommand'](_0x3cb478));});}[_0x2aab0d(0x322)](){var _0x318c57=_0x2aab0d;this[_0x318c57(0x210)][_0x318c57(0x24b)](_0x2b5583);}},_0x125834[_0x2aab0d(0x324)]=_0x383835([_0x332b3d(0x0,_0x1bfa3e['ICommandService']),_0x332b3d(0x1,_0x535569[_0x2aab0d(0x2a1)])],_0x125834['MCPUIMenuController']);const _0x277c09={'mcpStatus':{'disconnected':_0x2aab0d(0x2b2),'connecting':'MCP\x20Connecting...','connected':_0x2aab0d(0x281),'failed':_0x2aab0d(0x2ef),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x2aab0d(0x307),'sessionOccupied':_0x2aab0d(0x261),'networkError':_0x2aab0d(0x262),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x2aab0d(0x1d6),'clickToConfigure':_0x2aab0d(0x204)},'mcpConfig':{'title':_0x2aab0d(0x24f),'description':_0x2aab0d(0x202),'apiKey':_0x2aab0d(0x300),'apiKeyPlaceholder':_0x2aab0d(0x2a4),'apiKeyHint':_0x2aab0d(0x1fb),'enableAuth':_0x2aab0d(0x2cc),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x2aab0d(0x254),'serverEndpoint':_0x2aab0d(0x31a),'sessionId':_0x2aab0d(0x234),'maxRetries':_0x2aab0d(0x2d1),'save':_0x2aab0d(0x2d7),'saving':_0x2aab0d(0x1c1),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x2aab0d(0x289),'apiApplyInfo':{'title':_0x2aab0d(0x248),'description':_0x2aab0d(0x27d),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x2aab0d(0x2c6)},'validation':{'apiKeyRequired':_0x2aab0d(0x1fe),'apiKeyTooShort':_0x2aab0d(0x267),'invalidConfig':_0x2aab0d(0x1e5),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2aab0d(0x249),'connected':_0x2aab0d(0x25e),'failed':_0x2aab0d(0x2f2),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x2aab0d(0x237),'invalidApiKey':_0x2aab0d(0x2ae),'sessionOccupied':_0x2aab0d(0x2dd),'networkError':_0x2aab0d(0x1f1),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x46f274={'mcpStatus':{'disconnected':_0x2aab0d(0x31e),'connecting':_0x2aab0d(0x1b8),'connected':_0x2aab0d(0x1b4),'failed':_0x2aab0d(0x260),'retrying':_0x2aab0d(0x251),'unknown':_0x2aab0d(0x245),'missingApiKey':_0x2aab0d(0x2ad),'invalidApiKey':'MCP:\x20无效的\x20API\x20密钥','sessionOccupied':_0x2aab0d(0x1c6),'networkError':_0x2aab0d(0x1e4),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x2aab0d(0x2e6),'clickToConfigure':_0x2aab0d(0x2a0)},'mcpConfig':{'title':_0x2aab0d(0x242),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x2aab0d(0x246),'apiKeyPlaceholder':_0x2aab0d(0x24e),'apiKeyHint':_0x2aab0d(0x320),'enableAuth':_0x2aab0d(0x224),'enableAuthHint':_0x2aab0d(0x220),'connectionInfo':_0x2aab0d(0x2a2),'serverEndpoint':_0x2aab0d(0x225),'sessionId':_0x2aab0d(0x2eb),'maxRetries':'最大重试次数','save':_0x2aab0d(0x329),'saving':_0x2aab0d(0x1b6),'note1':_0x2aab0d(0x2ca),'note2':_0x2aab0d(0x265),'configSaved':_0x2aab0d(0x1c9),'configError':_0x2aab0d(0x29f),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x2aab0d(0x291),'getStarted':_0x2aab0d(0x2c7)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':_0x2aab0d(0x23f)},'connectionStatus':{'disconnected':'未连接','connecting':_0x2aab0d(0x282),'connected':_0x2aab0d(0x32a),'failed':_0x2aab0d(0x2f8),'retrying':'重连中...'},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':_0x2aab0d(0x2bd),'networkError':_0x2aab0d(0x221),'maxRetriesExceeded':_0x2aab0d(0x22e)}}};var _0x15a4b4=Object[_0x2aab0d(0x2b1)],_0x374d12=Object['getOwnPropertyDescriptor'],_0x202aef=(_0x1e7a23,_0x12c7ae,_0x3ff164)=>_0x12c7ae in _0x1e7a23?_0x15a4b4(_0x1e7a23,_0x12c7ae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ff164}):_0x1e7a23[_0x12c7ae]=_0x3ff164,_0x131af3=(_0x5f26d4,_0x2a8653,_0x110118,_0x5ad955)=>{for(var _0x390375=_0x5ad955>0x1?void 0x0:_0x5ad955?_0x374d12(_0x2a8653,_0x110118):_0x2a8653,_0x10ae05=_0x5f26d4['length']-0x1,_0x51069f;_0x10ae05>=0x0;_0x10ae05--)(_0x51069f=_0x5f26d4[_0x10ae05])&&(_0x390375=_0x51069f(_0x390375)||_0x390375);return _0x390375;},_0x1d590b=(_0xb7835e,_0x5d2fed)=>(_0x214939,_0x7217bb)=>_0x5d2fed(_0x214939,_0x7217bb,_0xb7835e),_0x11b1da=(_0x2f6355,_0x1424c2,_0x2d41a9)=>_0x202aef(_0x2f6355,_0x1424c2+'',_0x2d41a9);_0x125834[_0x2aab0d(0x23a)]=class extends _0x1bfa3e['Plugin']{constructor(_0xc40ec7=_0x57ec80,_0x403926,_0x292a03,_0x1a0d6a,_0xca1793,_0xa4daaf){var _0x2590ef=_0x2aab0d;super(),this[_0x2590ef(0x207)]=_0xc40ec7,this[_0x2590ef(0x214)]=_0x403926,this[_0x2590ef(0x1e3)]=_0x292a03,this[_0x2590ef(0x256)]=_0x1a0d6a,this[_0x2590ef(0x2dc)]=_0xca1793,this[_0x2590ef(0x26e)]=_0xa4daaf;const {..._0x4274be}=_0x1bfa3e['merge']({},_0x57ec80,this[_0x2590ef(0x207)]);this[_0x2590ef(0x1e3)][_0x2590ef(0x2cb)](_0x28d3de,_0x4274be);}async[_0x2aab0d(0x2d8)](){var _0x26e5e8=_0x2aab0d;[[_0x125834['MCPConnectionUIController']],[_0x125834[_0x26e5e8(0x30d)]],[_0x125834[_0x26e5e8(0x324)]]]['forEach'](_0x5be626=>this['_injector'][_0x26e5e8(0x1fa)](_0x5be626)),this[_0x26e5e8(0x214)][_0x26e5e8(0x314)](_0x125834[_0x26e5e8(0x31c)]),this[_0x26e5e8(0x214)]['get'](_0x125834[_0x26e5e8(0x30d)]),this[_0x26e5e8(0x214)][_0x26e5e8(0x314)](_0x125834[_0x26e5e8(0x324)]);}},_0x11b1da(_0x125834['UniverMCPUIPlugin'],'pluginName',_0x2aab0d(0x1f9)),_0x125834[_0x2aab0d(0x23a)]=_0x131af3([_0x1bfa3e[_0x2aab0d(0x238)](_0x3fff7d[_0x2aab0d(0x227)]),_0x1d590b(0x1,_0x1bfa3e['Inject'](_0x1bfa3e[_0x2aab0d(0x219)])),_0x1d590b(0x2,_0x1bfa3e[_0x2aab0d(0x30e)]),_0x1d590b(0x3,_0x535569[_0x2aab0d(0x20c)]),_0x1d590b(0x4,_0x1bfa3e[_0x2aab0d(0x1c0)]),_0x1d590b(0x5,_0x1bfa3e['Inject'](_0x1bfa3e[_0x2aab0d(0x24c)]))],_0x125834[_0x2aab0d(0x23a)]),_0x125834[_0x2aab0d(0x25d)]=_0xa7685a,_0x125834['MCPStatusDisplay']=_0x41b17e,_0x125834[_0x2aab0d(0x27c)]=_0x5e9d11,_0x125834['enUS']=_0x277c09,_0x125834[_0x2aab0d(0x28c)]=_0x46f274,Object[_0x2aab0d(0x2b1)](_0x125834,Symbol['toStringTag'],{'value':'Module'});}));
|
|
1
|
+
function _0xaf6e(_0x36e885,_0x437c6d){var _0x2e94ad=_0x2e94();return _0xaf6e=function(_0xaf6ed,_0x30b908){_0xaf6ed=_0xaf6ed-0x134;var _0x3aceca=_0x2e94ad[_0xaf6ed];return _0x3aceca;},_0xaf6e(_0x36e885,_0x437c6d);}function _0x2e94(){var _0x1efaa2=['_initializeCommands','MCP:\x20超出最大重试次数','_commandService','MCP\x20配置','univer-bg-blue-500','RibbonStartGroup','_uiPartsService','_handleConfigSave','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','Connecting...','连接中...','MCPConfigPanel','46488VtTCIZ','react','mcpStatus.failed','MCP:\x20Network\x20Error','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Enable\x20authentication\x20for\x20secure\x20connections','React','_blank','您的\x20API\x20密钥将在此浏览器中本地存储','useObservable','close','_handleConfigure','MenuIcon','univer-flex\x20univer-items-center\x20univer-gap-3','BuiltInUIPart','univer-min-w-0\x20univer-flex-1','mcpConfig.connectionError.missingApiKey','showConfigPanel','univer-font-medium','connectionStatus$','_injector','MCPConnectionError','@univerjs/core','toString','defineProperty','0\x200\x2016\x2016','concat','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','_initializeMenus','126xCskdg','CONNECTING','517696OBFKPP','_config','text','最大重试次数','MCP:\x20缺少\x20API\x20密钥','white','https://console.univer.ai','您的\x20API\x20密钥安全存储在本地存储中','indexOf','mcpConfig.apiApplyInfo.description','mcpConfig.connectionError.networkError','registerCommand','_validateConfig','univer-flex\x20univer-gap-3','code','assign','mcpStatus.networkError','univer-text-gray-400','help-single','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','103326hxwOcX','univer-bg-red-500','Configuration\x20saved\x20successfully','add','useDependency','MCP_UI_PLUGIN','NONE','OnLineIcon','connectionError$','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','会话ID','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-flex-shrink-0\x20univer-text-red-500','_initStatusComponent','UniverProMcpUi','mcp-ui.command.openConfigPanel','CONNECTED','_mcpCoreConfig$','配置保存失败','Click\x20to\x20configure\x20MCP','mcpConfig.validation.apiKeyRequired','map','div','MCP:\x20Invalid\x20API\x20Key','API\x20key\x20is\x20required\x20to\x20connect','univer-flex\x20univer-items-center\x20univer-gap-2','OpenMCPConfigPanelCommand','isValid','Disposable','subscribeConfigValue$','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','ICommandService','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcp-config-dialog','useState','mcpConfig.connectionError.maxRetriesExceeded','none','colorChannel1','label','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','@univerjs/ui','1em','translate(.97)','mcpConfig.validation.invalidApiKey','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.configError','Univer\x20AI\x20Console','univer.ai','univer-flex\x20univer-items-start\x20univer-gap-3','MCP\x20Unknown\x20Status','MCP:\x20API\x20Key\x20Missing','几秒钟内获取您的\x20API\x20密钥','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','mcpConfig.title','useRef','toStringTag','mcpStatus.retrying','Get\x20your\x20API\x20key\x20in\x20seconds','_localeService','M5.21243\x2012.287L11.8791\x205.62036','symbol','9WLmEtm','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','保存配置','0\x200\x2017\x2016','forwardRef','MCP\x20Configuration','mcpConfig.sessionId','round','register','36730pwCkil','off-line-icon','重连中...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','需要\x20API\x20密钥才能连接','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','clsx','BUTTON','DISCONNECTED','MCPUIMenuController','showDeveloperTools','univer-space-y-2','merge','Disconnected','_localStorageService','className','mcpConfig.connectionInfo','MCP_PLUGIN_CONFIG_KEY','COMMAND','disposeWithMe','mcpStatus.connecting','mcpStatus.invalidApiKey','\x20-\x20','close-small-single','OffLineIcon','removeItem','RETRYING','MCP\x20重连中...','_mcpConnectionController','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','\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','1808560Jchqsz','INVALID_API_KEY','univer-text-sm\x20univer-text-gray-500','mcpConfig.connectionStatus.retrying','网络连接错误,请检查您的网络连接','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','getCurrentConfig','BehaviorSubject','univerjs-icon\x20univerjs-icon-','@univerjs-pro/mcp','error','MCPConnectionUIController','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','IConfigService','点击配置\x20MCP','NETWORK_ERROR','服务器端点','fill','mask','url(#$1','FAILED','HelpSingle','API\x20密钥无效,请检查您的密钥后重试','function','Server\x20Endpoint','icon','propertyIsEnumerable','MCP\x20状态未知','mcp-ui.config','univer-text-red-500','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','MCP\x20连接失败','0\x200\x2017\x2017','getOwnPropertySymbols','API\x20Key','Button','_configService','bottom','string','univer-text-xs\x20univer-text-gray-500','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','DependentOn','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','MCP\x20Connecting...','What\x20is\x20API\x20Key?','show','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','mcpConfig.validation.apiKeyTooShort','ComponentManager','univer-space-y-3','value','mcpStatus.clickToConnect','prototype','_loadStoredApiKey','Retrying...','Module','什么是\x20API\x20密钥?','rxjs','Enter\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','连接信息','sessionId','已连接','HEADER_MENU','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','SESSION_ID_OCCUPIED','_loading$','trim','connectInjector','url(#off-line-icon_clip0_910_343)','MCPConnectionStatus','11xlfmvm','MCP:\x20会话被占用','Saving...','entries','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','defIds','MCP:\x20网络错误','mcpStatus.unknown','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','getItem','_componentManager','mcpConfig.save','createElement','includes','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','Configuration\x20Notes:','zhCN','pluginName','mcpStatus.clickToConfigure','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','enUS','Success','MCP\x20Connection\x20Failed','react/jsx-runtime','attrs','mcpConfig.connectionStatus.failed','replace','mcpStatus.maxRetriesExceeded','连接失败','off','mcpConfig.saving','univer-flex-shrink-0\x20univer-text-blue-500','UniverMCPUIPlugin','exports','validateApiKey','未连接','MCPConnectionController','Close','default','M0\x200H16V16H0z','hover:univer-opacity-80','mcpConfig.connectionError.invalidApiKey','保存中...','5190288blBQmT','_createConfigPanelComponent','univer-flex\x20univer-cursor-pointer\x20univer-items-center','UniverProMcp','univer-text-yellow-500','warn','off-line-icon_clip0_910_343','Univer\x20AI\x20控制台','mcpConfig.apiApplyInfo.title','jsxs','forEach','MCP\x20连接中...','API\x20密钥长度至少需要\x2010\x20位','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','_dialogService','mcpConfig.description','setConfig','配置更改将立即生效','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','mcpConfig.apiKeyHint','onStarting','Failed\x20to\x20save\x20configuration','mcpStatus.connected','univer-text-green-500','on-line-icon_clip0_910_349','_menuManagerService','MCP:\x20无效的\x20API\x20密钥','useCallback','span','mcp.apiKey','IMenuManagerService','mcpConfig.connectionStatus.connecting','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','hasOwnProperty','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','path','univer-bg-gray-500','46276Picmnx','univer-text-white','UniverIcon','call','random','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','MCPConfigUIController','idSuffix','UniverDesign','mcpConfig.connectionStatus.connected','会话当前被占用,请稍后再试','mcpConfig.validation.invalidConfig','3dTwBVz','配置保存成功','on-line-icon','15MBNHoI','MAX_RETRIES_EXCEEDED','clipPath','mcpConfig.apiKeyPlaceholder','apiKey','mcpConfig.configSaved','get','jsx','MessageType','mcpConfig.apiKey','univer-mr-2\x20univer-flex\x20univer-text-xl','displayName','mcpConfig.apiApplyInfo.univerAiLabel','getOwnPropertyDescriptor','Error','MCP\x20已连接','mergeMenu','_registerComponent','Save\x20Configuration','univer.plus','tag','subscribe','LocaleService','defs','getConfig','next','univer-text-blue-600','svg','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','Injector','IDialogService','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','API\x20密钥不能为空','children','mcpConfig.apiApplyInfo.getStarted','mcpStatus.sessionOccupied','extend','http://www.w3.org/2000/svg','univer-text-gray-500','mcpStatus.disconnected','mcpStatus.missingApiKey','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','mcpServerUrl','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','IUIPartsService','evenodd','length','Inject','API\x20密钥','MISSING_API_KEY','_config$','currentColor','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','_logService','_messageService','xlink:href','univer-text-sm\x20univer-font-medium','univer-space-y-5','_connectionController','univer-bg-green-500','启用身份验证','mcpConfig.connectionError.sessionOccupied','CloseSmallSingle'];_0x2e94=function(){return _0x1efaa2;};return _0x2e94();}(function(_0x16f1db,_0x36fe8f){var _0x152b2f=_0xaf6e,_0x1cac40=_0x16f1db();while(!![]){try{var _0x49c598=-parseInt(_0x152b2f(0x290))/0x1*(-parseInt(_0x152b2f(0x1cc))/0x2)+parseInt(_0x152b2f(0x186))/0x3+-parseInt(_0x152b2f(0x284))/0x4*(parseInt(_0x152b2f(0x293))/0x5)+-parseInt(_0x152b2f(0x153))/0x6*(parseInt(_0x152b2f(0x170))/0x7)+parseInt(_0x152b2f(0x172))/0x8*(-parseInt(_0x152b2f(0x1c3))/0x9)+parseInt(_0x152b2f(0x1eb))/0xa*(-parseInt(_0x152b2f(0x234))/0xb)+parseInt(_0x152b2f(0x25f))/0xc;if(_0x49c598===_0x36fe8f)break;else _0x1cac40['push'](_0x1cac40['shift']());}catch(_0x1c1a41){_0x1cac40['push'](_0x1cac40['shift']());}}}(_0x2e94,0x18fb2),function(_0x21fc9b,_0x21d8aa){var _0x383439=_0xaf6e;typeof exports=='object'&&typeof module<'u'?_0x21d8aa(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react')):typeof define==_0x383439(0x202)&&define['amd']?define([_0x383439(0x255),_0x383439(0x169),_0x383439(0x24b),_0x383439(0x1f4),'@univerjs/design',_0x383439(0x1ae),_0x383439(0x226),_0x383439(0x154)],_0x21d8aa):(_0x21fc9b=typeof globalThis<'u'?globalThis:_0x21fc9b||self,_0x21d8aa(_0x21fc9b[_0x383439(0x194)]={},_0x21fc9b['UniverCore'],_0x21fc9b[_0x383439(0x159)],_0x21fc9b[_0x383439(0x262)],_0x21fc9b[_0x383439(0x28c)],_0x21fc9b['UniverUi'],_0x21fc9b[_0x383439(0x226)],_0x21fc9b[_0x383439(0x159)]));}(this,function(_0x2781c8,_0x36a8d0,_0x1d754b,_0x3d5e8c,_0xa6997b,_0xaf74bf,_0x2accb4,_0x4bc8f1){'use strict';var _0x32b952=_0xaf6e;var _0x231574=Object[_0x32b952(0x16b)],_0x14a907=(_0x10208a,_0x228f18,_0x436466)=>_0x228f18 in _0x10208a?_0x231574(_0x10208a,_0x228f18,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x436466}):_0x10208a[_0x228f18]=_0x436466,_0x49f581=(_0x358a7c,_0x146034,_0x1ee92)=>_0x14a907(_0x358a7c,typeof _0x146034!=_0x32b952(0x1c2)?_0x146034+'':_0x146034,_0x1ee92),_0x2f52b9=function(){var _0x73a541=_0x32b952;return _0x2f52b9=Object[_0x73a541(0x181)]||function(_0x1090fc){var _0x29823c=_0x73a541;for(var _0x4c4377,_0x371c9e=0x1,_0x16187b=arguments[_0x29823c(0x136)];_0x371c9e<_0x16187b;_0x371c9e++){_0x4c4377=arguments[_0x371c9e];for(var _0x33cd03 in _0x4c4377)Object[_0x29823c(0x221)][_0x29823c(0x280)][_0x29823c(0x287)](_0x4c4377,_0x33cd03)&&(_0x1090fc[_0x33cd03]=_0x4c4377[_0x33cd03]);}return _0x1090fc;},_0x2f52b9['apply'](this,arguments);},_0x95b6d=function(_0x4fd29a,_0x4b84f5){var _0x5cf363=_0x32b952,_0x417de7={};for(var _0x3b5709 in _0x4fd29a)Object[_0x5cf363(0x221)]['hasOwnProperty'][_0x5cf363(0x287)](_0x4fd29a,_0x3b5709)&&_0x4b84f5[_0x5cf363(0x17a)](_0x3b5709)<0x0&&(_0x417de7[_0x3b5709]=_0x4fd29a[_0x3b5709]);if(_0x4fd29a!=null&&typeof Object['getOwnPropertySymbols']==_0x5cf363(0x202)){for(var _0x390299=0x0,_0x3b5709=Object[_0x5cf363(0x20e)](_0x4fd29a);_0x390299<_0x3b5709[_0x5cf363(0x136)];_0x390299++)_0x4b84f5[_0x5cf363(0x17a)](_0x3b5709[_0x390299])<0x0&&Object[_0x5cf363(0x221)][_0x5cf363(0x205)]['call'](_0x4fd29a,_0x3b5709[_0x390299])&&(_0x417de7[_0x3b5709[_0x390299]]=_0x4fd29a[_0x3b5709[_0x390299]]);}return _0x417de7;},_0x75f517=_0x4bc8f1[_0x32b952(0x1c7)](function(_0xcb179e,_0x431966){var _0x39e793=_0x32b952,_0x238abd=_0xcb179e[_0x39e793(0x204)],_0x583417=_0xcb179e['id'],_0x4c3891=_0xcb179e[_0x39e793(0x1db)],_0x131d0d=_0xcb179e[_0x39e793(0x2b7)],_0x5dd3c2=_0x95b6d(_0xcb179e,[_0x39e793(0x204),'id',_0x39e793(0x1db),_0x39e793(0x2b7)]),_0x23e281=_0x39e793(0x1f3)[_0x39e793(0x16d)](_0x583417,'\x20')[_0x39e793(0x16d)](_0x4c3891||'')[_0x39e793(0x230)](),_0x43b1e1=_0x4bc8f1[_0x39e793(0x1bc)]('_'['concat'](_0x220baf()));return _0x3d4285(_0x238abd,''[_0x39e793(0x16d)](_0x583417),{'defIds':_0x238abd[_0x39e793(0x239)],'idSuffix':_0x43b1e1['current']},_0x2f52b9({'ref':_0x431966,'className':_0x23e281},_0x5dd3c2),_0x131d0d);});function _0x3d4285(_0x6acb37,_0x44f1a7,_0x12d27f,_0x578fa1,_0x2c8c7a){var _0x1c0be6=_0x32b952;return _0x4bc8f1[_0x1c0be6(0x240)](_0x6acb37[_0x1c0be6(0x2a7)],_0x2f52b9(_0x2f52b9({'key':_0x44f1a7},_0x164e89(_0x6acb37,_0x12d27f,_0x2c8c7a)),_0x578fa1),(_0x567920(_0x6acb37,_0x12d27f)[_0x1c0be6(0x2b4)]||[])[_0x1c0be6(0x19b)](function(_0x337659,_0x2ec8be){var _0x4c7ffe=_0x1c0be6;return _0x3d4285(_0x337659,''[_0x4c7ffe(0x16d)](_0x44f1a7,'-')[_0x4c7ffe(0x16d)](_0x6acb37['tag'],'-')[_0x4c7ffe(0x16d)](_0x2ec8be),_0x12d27f,void 0x0,_0x2c8c7a);}));}function _0x164e89(_0x509324,_0x57f08f,_0x3659ea){var _0x62c71e=_0x32b952,_0x489082=_0x2f52b9({},_0x509324[_0x62c71e(0x24c)]);_0x3659ea!=null&&_0x3659ea['colorChannel1']&&_0x489082[_0x62c71e(0x1fc)]===_0x62c71e(0x1ab)&&(_0x489082[_0x62c71e(0x1fc)]=_0x3659ea[_0x62c71e(0x1ab)]),_0x509324[_0x62c71e(0x2a7)]===_0x62c71e(0x1fd)&&_0x489082['id']&&(_0x489082['id']=_0x489082['id']+_0x57f08f[_0x62c71e(0x28b)]),Object[_0x62c71e(0x237)](_0x489082)[_0x62c71e(0x269)](function(_0x22fee8){var _0x5b7710=_0x62c71e,_0x408104=_0x22fee8[0x0],_0x3957bf=_0x22fee8[0x1];_0x408104===_0x5b7710(0x1fd)&&typeof _0x3957bf==_0x5b7710(0x213)&&(_0x489082[_0x408104]=_0x3957bf[_0x5b7710(0x24e)](/url\(#(.*)\)/,_0x5b7710(0x1fe)[_0x5b7710(0x16d)](_0x57f08f['idSuffix'],')')));});var _0x256802=_0x57f08f[_0x62c71e(0x239)];return!_0x256802||_0x256802['length']===0x0||(_0x509324['tag']==='use'&&_0x489082[_0x62c71e(0x13f)]&&(_0x489082['xlink:href']=_0x489082['xlink:href']+_0x57f08f[_0x62c71e(0x28b)]),Object[_0x62c71e(0x237)](_0x489082)[_0x62c71e(0x269)](function(_0x3b4cc9){var _0x3ccd98=_0x62c71e,_0x4ed07e=_0x3b4cc9[0x0],_0x2ec2b5=_0x3b4cc9[0x1];typeof _0x2ec2b5==_0x3ccd98(0x213)&&(_0x489082[_0x4ed07e]=_0x2ec2b5['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x57f08f['idSuffix'],')')));})),_0x489082;}function _0x567920(_0x5cf755,_0xfed77f){var _0x119376=_0x32b952,_0x89f737,_0x1c762c=_0xfed77f[_0x119376(0x239)];return!_0x1c762c||_0x1c762c[_0x119376(0x136)]===0x0?_0x5cf755:_0x5cf755[_0x119376(0x2a7)]===_0x119376(0x2aa)&&(!((_0x89f737=_0x5cf755[_0x119376(0x2b4)])===null||_0x89f737===void 0x0)&&_0x89f737[_0x119376(0x136)])?_0x2f52b9(_0x2f52b9({},_0x5cf755),{'children':_0x5cf755[_0x119376(0x2b4)][_0x119376(0x19b)](function(_0x99067e){var _0x4b7e83=_0x119376;return typeof _0x99067e[_0x4b7e83(0x24c)]['id']==_0x4b7e83(0x213)&&_0x1c762c&&_0x1c762c['includes'](_0x99067e[_0x4b7e83(0x24c)]['id'])?_0x2f52b9(_0x2f52b9({},_0x99067e),{'attrs':_0x2f52b9(_0x2f52b9({},_0x99067e[_0x4b7e83(0x24c)]),{'id':_0x99067e['attrs']['id']+_0xfed77f[_0x4b7e83(0x28b)]})}):_0x99067e;})}):_0x5cf755;}function _0x220baf(){var _0x33e1de=_0x32b952;return Math[_0x33e1de(0x288)]()[_0x33e1de(0x16a)](0x24)['substring'](0x2,0x8);}_0x75f517[_0x32b952(0x29e)]=_0x32b952(0x286);var _0x2ce873={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x32b952(0x16c),'width':_0x32b952(0x1af),'height':_0x32b952(0x1af)},'children':[{'tag':'path','attrs':{'fill':_0x32b952(0x13b),'d':_0x32b952(0x289),'fillRule':_0x32b952(0x135),'clipRule':_0x32b952(0x135)}}]},_0x63e0f=_0x4bc8f1['forwardRef'](function(_0x455862,_0x29b734){var _0x21933d=_0x32b952;return _0x4bc8f1[_0x21933d(0x240)](_0x75f517,Object[_0x21933d(0x181)]({},_0x455862,{'id':'check-mark-icon','ref':_0x29b734,'icon':_0x2ce873}));});_0x63e0f['displayName']='CheckMarkIcon';var _0x127564={'tag':_0x32b952(0x2ae),'attrs':{'xmlns':_0x32b952(0x2b8),'fill':_0x32b952(0x1aa),'viewBox':_0x32b952(0x20d),'width':'1em','height':_0x32b952(0x1af)},'children':[{'tag':_0x32b952(0x282),'attrs':{'stroke':_0x32b952(0x13b),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':_0x32b952(0x1ca),'strokeLinejoin':_0x32b952(0x1ca),'strokeWidth':1.33}},{'tag':_0x32b952(0x282),'attrs':{'stroke':_0x32b952(0x13b),'d':_0x32b952(0x1c1),'strokeLinecap':_0x32b952(0x1ca),'strokeLinejoin':'round','strokeWidth':1.33}}]},_0xc4d1d3=_0x4bc8f1[_0x32b952(0x1c7)](function(_0xaef33,_0x5d672a){var _0xd8c3aa=_0x32b952;return _0x4bc8f1[_0xd8c3aa(0x240)](_0x75f517,Object[_0xd8c3aa(0x181)]({},_0xaef33,{'id':_0xd8c3aa(0x1e3),'ref':_0x5d672a,'icon':_0x127564}));});_0xc4d1d3[_0x32b952(0x29e)]=_0x32b952(0x146);var _0x12ee30={'tag':_0x32b952(0x2ae),'attrs':{'xmlns':_0x32b952(0x2b8),'fill':_0x32b952(0x1aa),'viewBox':_0x32b952(0x16c),'width':_0x32b952(0x1af),'height':_0x32b952(0x1af)},'children':[{'tag':'path','attrs':{'fill':_0x32b952(0x13b),'d':_0x32b952(0x1ad)}},{'tag':_0x32b952(0x282),'attrs':{'fill':_0x32b952(0x13b),'d':_0x32b952(0x271)}},{'tag':_0x32b952(0x282),'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':_0x32b952(0x135),'clipRule':_0x32b952(0x135)}}]},_0x11c0f7=_0x4bc8f1[_0x32b952(0x1c7)](function(_0x58469a,_0x17ce11){var _0x1856bf=_0x32b952;return _0x4bc8f1[_0x1856bf(0x240)](_0x75f517,Object['assign']({},_0x58469a,{'id':_0x1856bf(0x184),'ref':_0x17ce11,'icon':_0x12ee30}));});_0x11c0f7['displayName']=_0x32b952(0x200);var _0x6e4a69={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x32b952(0x1aa),'viewBox':_0x32b952(0x16c),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x32b952(0x232)},'children':[{'tag':_0x32b952(0x282),'attrs':{'stroke':_0x32b952(0x13b),'d':_0x32b952(0x21b),'strokeLinecap':'round','strokeLinejoin':_0x32b952(0x1ca),'strokeWidth':1.2}}]},{'tag':_0x32b952(0x2aa),'attrs':{},'children':[{'tag':_0x32b952(0x295),'attrs':{'id':_0x32b952(0x265)},'children':[{'tag':_0x32b952(0x282),'attrs':{'fill':_0x32b952(0x177),'d':_0x32b952(0x25b)}}]}]}],'defIds':[_0x32b952(0x265)]},_0x3ea4c2=_0x4bc8f1[_0x32b952(0x1c7)](function(_0x28b0a0,_0x37d9a9){var _0xba1649=_0x32b952;return _0x4bc8f1['createElement'](_0x75f517,Object[_0xba1649(0x181)]({},_0x28b0a0,{'id':_0xba1649(0x1cd),'ref':_0x37d9a9,'icon':_0x6e4a69}));});_0x3ea4c2[_0x32b952(0x29e)]=_0x32b952(0x1e4);var _0x7d576b={'tag':_0x32b952(0x2ae),'attrs':{'xmlns':_0x32b952(0x2b8),'fill':_0x32b952(0x1aa),'viewBox':_0x32b952(0x1c6),'width':_0x32b952(0x1af),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x32b952(0x282),'attrs':{'stroke':_0x32b952(0x13b),'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':_0x32b952(0x1ca),'strokeLinejoin':_0x32b952(0x1ca),'strokeWidth':1.2}}]},{'tag':_0x32b952(0x2aa),'attrs':{},'children':[{'tag':_0x32b952(0x295),'attrs':{'id':_0x32b952(0x277)},'children':[{'tag':_0x32b952(0x282),'attrs':{'fill':_0x32b952(0x177),'d':_0x32b952(0x25b),'transform':_0x32b952(0x1b0)}}]}]}],'defIds':[_0x32b952(0x277)]},_0x319e66=_0x4bc8f1[_0x32b952(0x1c7)](function(_0x27a6fe,_0x42acad){var _0x2aa3b8=_0x32b952;return _0x4bc8f1[_0x2aa3b8(0x240)](_0x75f517,Object[_0x2aa3b8(0x181)]({},_0x27a6fe,{'id':_0x2aa3b8(0x292),'ref':_0x42acad,'icon':_0x7d576b}));});_0x319e66[_0x32b952(0x29e)]=_0x32b952(0x18d);function _0x36fbab(_0x2c06e2){var _0x34b911=_0x32b952,_0x2b907d,_0x570bb4;const {mcpCoreConfig:_0x2accc7,onSave:_0x2dabe1,loading:_0x121b60=!0x1,config:_0x531692,connectionStatus$:_0x45fb32,connectionError$:_0x1d2c39}=_0x2c06e2,_0x468bff=_0xaf74bf['useDependency'](_0x36a8d0[_0x34b911(0x2a9)]),_0x59acc6=_0xaf74bf[_0x34b911(0x15c)](_0x45fb32,_0x3d5e8c[_0x34b911(0x233)][_0x34b911(0x1d4)]),_0x40dbbe=_0xaf74bf[_0x34b911(0x15c)](_0x1d2c39,_0x3d5e8c[_0x34b911(0x168)][_0x34b911(0x18c)]),[_0x1de685,_0x5f5c2b]=_0x4bc8f1['useState'](_0x2accc7['apiKey']||''),_0x462ddd=!0x0,_0x144b7a=_0x531692[_0x34b911(0x1d6)]&&_0x2accc7[_0x34b911(0x2bd)]&&(_0x2accc7['mcpServerUrl'][_0x34b911(0x241)](_0x34b911(0x2a6))||_0x2accc7[_0x34b911(0x2bd)][_0x34b911(0x241)](_0x34b911(0x1b5))),_0x4fe2a0=(_0x2b907d=_0x2accc7['mcpServerUrl'])==null?void 0x0:_0x2b907d[_0x34b911(0x241)](_0x34b911(0x2a6)),_0x214fe6=(_0x570bb4=_0x2accc7[_0x34b911(0x2bd)])==null?void 0x0:_0x570bb4[_0x34b911(0x241)](_0x34b911(0x1b5)),_0x533510=_0x4fe2a0?'https://console.univer.plus':_0x34b911(0x178),_0x5759d6=_0x531692[_0x34b911(0x1d6)]&&(_0x4fe2a0||_0x214fe6),[_0x571e9e,_0x5b6430]=_0x4bc8f1[_0x34b911(0x1a8)](!_0x1de685[_0x34b911(0x230)]()),_0x53ef57=(_0xb5de,_0xa20de2)=>{var _0x5ca99e=_0x34b911;if(_0xa20de2===_0x3d5e8c[_0x5ca99e(0x168)][_0x5ca99e(0x139)]||_0xa20de2===_0x3d5e8c['MCPConnectionError'][_0x5ca99e(0x1ec)])return _0x5ca99e(0x209);switch(_0xb5de){case _0x3d5e8c[_0x5ca99e(0x233)][_0x5ca99e(0x196)]:return _0x5ca99e(0x14f);case _0x3d5e8c[_0x5ca99e(0x233)][_0x5ca99e(0x171)]:case _0x3d5e8c[_0x5ca99e(0x233)][_0x5ca99e(0x1e6)]:return _0x5ca99e(0x2be);case _0x3d5e8c[_0x5ca99e(0x233)][_0x5ca99e(0x1ff)]:return _0x5ca99e(0x209);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x706aa=(_0x22ed9b,_0x31f2c0)=>{var _0x1472d2=_0x34b911;if(_0x31f2c0===_0x3d5e8c[_0x1472d2(0x168)][_0x1472d2(0x139)]||_0x31f2c0===_0x3d5e8c[_0x1472d2(0x168)][_0x1472d2(0x1ec)])return _0x1472d2(0x187);switch(_0x22ed9b){case _0x3d5e8c[_0x1472d2(0x233)]['CONNECTED']:return _0x1472d2(0x143);case _0x3d5e8c[_0x1472d2(0x233)][_0x1472d2(0x171)]:case _0x3d5e8c[_0x1472d2(0x233)][_0x1472d2(0x1e6)]:return _0x1472d2(0x14b);case _0x3d5e8c[_0x1472d2(0x233)]['FAILED']:return'univer-bg-red-500';default:return _0x1472d2(0x283);}},_0x45b318=_0x1fdb62=>{var _0x4780ca=_0x34b911;switch(_0x1fdb62){case _0x3d5e8c[_0x4780ca(0x233)][_0x4780ca(0x196)]:return _0x468bff['t'](_0x4780ca(0x28d));case _0x3d5e8c['MCPConnectionStatus'][_0x4780ca(0x171)]:return _0x468bff['t'](_0x4780ca(0x27e));case _0x3d5e8c['MCPConnectionStatus']['FAILED']:return _0x468bff['t'](_0x4780ca(0x24d));case _0x3d5e8c[_0x4780ca(0x233)][_0x4780ca(0x1e6)]:return _0x468bff['t'](_0x4780ca(0x1ee));default:return _0x468bff['t']('mcpConfig.connectionStatus.disconnected');}},_0x115db4=_0x281a88=>{var _0x319da8=_0x34b911;switch(_0x281a88){case _0x3d5e8c[_0x319da8(0x168)][_0x319da8(0x139)]:return _0x468bff['t'](_0x319da8(0x163));case _0x3d5e8c[_0x319da8(0x168)]['INVALID_API_KEY']:return _0x468bff['t'](_0x319da8(0x25d));case _0x3d5e8c[_0x319da8(0x168)][_0x319da8(0x22e)]:return _0x468bff['t'](_0x319da8(0x145));case _0x3d5e8c[_0x319da8(0x168)]['NETWORK_ERROR']:return _0x468bff['t'](_0x319da8(0x17c));case _0x3d5e8c['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x468bff['t'](_0x319da8(0x1a9));default:return'';}},_0xad0f3f=_0x4bc8f1[_0x34b911(0x27a)](()=>{var _0x47fa34=_0x34b911;const _0x348c78={..._0x2accc7,'apiKey':_0x1de685[_0x47fa34(0x230)](),'enableAuth':_0x462ddd};_0x2dabe1(_0x348c78);},[_0x2accc7,_0x1de685,_0x462ddd,_0x2dabe1]),_0x57a26b=_0x1de685[_0x34b911(0x230)]()['length']>0x0;return _0x1d754b[_0x34b911(0x268)]('div',{'className':_0x34b911(0x26c),'children':[_0x1d754b[_0x34b911(0x29a)]('div',{'className':_0x34b911(0x1c4),'children':_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':_0x34b911(0x160),'children':[_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x19c),{'className':_0x34b911(0x157),'children':_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x27b),{'className':_0x34b911(0x285),'children':'⚙'})}),_0x1d754b[_0x34b911(0x29a)]('div',{'children':_0x1d754b[_0x34b911(0x29a)]('p',{'className':_0x34b911(0x1ed),'children':_0x468bff['t'](_0x34b911(0x26e))})})]})}),_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':_0x34b911(0x18f),'children':[_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x19c),{'className':'\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'+_0x53ef57(_0x59acc6,_0x40dbbe)+_0x34b911(0x1d1),'children':_0x1d754b[_0x34b911(0x268)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x19c),{'className':_0x34b911(0x1ea)+_0x706aa(_0x59acc6,_0x40dbbe)+'\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'}),_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x27b),{'className':_0x34b911(0x140),'children':_0x45b318(_0x59acc6)})]})}),_0x40dbbe!==_0x3d5e8c['MCPConnectionError'][_0x34b911(0x18c)]&&(_0x59acc6===_0x3d5e8c[_0x34b911(0x233)][_0x34b911(0x1ff)]||_0x40dbbe===_0x3d5e8c[_0x34b911(0x168)][_0x34b911(0x139)]||_0x40dbbe===_0x3d5e8c[_0x34b911(0x168)][_0x34b911(0x1ec)])&&_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x19c),{'className':_0x34b911(0x1b2),'children':_0x1d754b[_0x34b911(0x268)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x27b),{'className':_0x34b911(0x192),'children':'⚠️'}),_0x1d754b[_0x34b911(0x29a)]('p',{'className':_0x34b911(0x185),'children':_0x115db4(_0x40dbbe)})]})})]}),_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x19c),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x1d754b[_0x34b911(0x268)]('div',{'className':_0x34b911(0x141),'children':[_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':_0x34b911(0x1d7),'children':[_0x1d754b[_0x34b911(0x268)](_0x34b911(0x1ac),{'className':_0x34b911(0x191),'children':[_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x27b),{'children':'🔑'}),'\x20',_0x468bff['t'](_0x34b911(0x29c)),_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x27b),{'className':_0x34b911(0x208),'children':'*'}),_0x144b7a&&_0x1d754b[_0x34b911(0x29a)]('a',{'href':'javascript:void(0)','onClick':()=>_0x5b6430(!0x0),'className':'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','title':_0x468bff['t'](_0x34b911(0x267)),'children':_0x1d754b['jsx'](_0x11c0f7,{})})]}),_0x1d754b[_0x34b911(0x29a)](_0xa6997b['Input'],{'type':_0x34b911(0x174),'placeholder':_0x468bff['t'](_0x34b911(0x296)),'value':_0x1de685,'onChange':_0x5f5c2b,'disabled':_0x121b60,'autoComplete':_0x34b911(0x251)}),_0x1d754b[_0x34b911(0x29a)]('p',{'className':_0x34b911(0x214),'children':_0x468bff['t'](_0x34b911(0x272))})]}),_0x144b7a&&_0x571e9e&&_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':_0x34b911(0x217),'children':[_0x1d754b[_0x34b911(0x29a)]('a',{'href':'javascript:void(0)','onClick':()=>_0x5b6430(!0x1),'className':_0x34b911(0x1ba),'title':_0x34b911(0x259),'children':_0x1d754b[_0x34b911(0x29a)](_0xc4d1d3,{})}),_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x19c),{'className':_0x34b911(0x16e),'children':_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x27b),{'className':_0x34b911(0x2ad),'children':'🚀'})}),_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':'univer-flex-1','children':[_0x1d754b[_0x34b911(0x29a)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x468bff['t'](_0x34b911(0x267))}),_0x1d754b[_0x34b911(0x29a)]('p',{'className':_0x34b911(0x2bc),'children':_0x468bff['t'](_0x34b911(0x17b))}),_0x1d754b['jsx'](_0x34b911(0x19c),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x5759d6&&_0x1d754b[_0x34b911(0x268)]('a',{'href':_0x533510,'target':_0x34b911(0x15a),'rel':'noopener\x20noreferrer','className':_0x34b911(0x242),'children':[_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x27b),{'children':'🤖'}),_0x468bff['t'](_0x34b911(0x29f)),_0x1d754b[_0x34b911(0x29a)]('span',{'className':_0x34b911(0x183),'children':'↗'})]})}),_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':_0x34b911(0x215),'children':['✨','\x20',_0x468bff['t'](_0x34b911(0x2b5))]})]})]})]}),_0x531692['showDeveloperTools']&&_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':_0x34b911(0x1f7),'children':[_0x1d754b[_0x34b911(0x268)]('h4',{'className':_0x34b911(0x1a6),'children':[_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x27b),{'children':'🔗'}),'\x20',_0x468bff['t'](_0x34b911(0x1dc))]}),_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':_0x34b911(0x21e),'children':[_0x1d754b['jsxs']('div',{'className':_0x34b911(0x1b6),'children':[_0x1d754b[_0x34b911(0x29a)]('div',{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':_0x34b911(0x162),'children':[_0x1d754b['jsx']('div',{'className':_0x34b911(0x27f),'children':_0x468bff['t']('mcpConfig.serverEndpoint')}),_0x1d754b[_0x34b911(0x29a)]('code',{'className':_0x34b911(0x20b),'children':_0x2accc7['mcpServerUrl']})]})]}),_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x19c),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x1d754b[_0x34b911(0x268)]('div',{'className':_0x34b911(0x162),'children':[_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x19c),{'className':_0x34b911(0x27f),'children':_0x468bff['t'](_0x34b911(0x1c9))}),_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x180),{'className':_0x34b911(0x2af),'children':_0x2accc7[_0x34b911(0x22a)]||_0x34b911(0x25a)})]})]})]})]}),_0x1d754b[_0x34b911(0x29a)](_0xa6997b[_0x34b911(0x210)],{'onClick':_0xad0f3f,'disabled':!_0x57a26b||_0x121b60,'className':_0x34b911(0x2b2),'children':_0x121b60?_0x1d754b['jsxs']('span',{'className':_0x34b911(0x19f),'children':[_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x27b),{'children':'⟲'}),_0x468bff['t'](_0x34b911(0x252))]}):_0x1d754b[_0x34b911(0x268)]('span',{'className':_0x34b911(0x19f),'children':[_0x1d754b[_0x34b911(0x29a)](_0x63e0f,{}),_0x468bff['t'](_0x34b911(0x23f))]})}),_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x19c),{'className':_0x34b911(0x1f0),'children':_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':_0x34b911(0x17f),'children':[_0x1d754b[_0x34b911(0x29a)]('span',{'className':_0x34b911(0x253),'children':'💡'}),_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x1d754b[_0x34b911(0x29a)](_0x34b911(0x19c),{'className':_0x34b911(0x165),'children':_0x34b911(0x243)}),_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'children':['•',_0x468bff['t']('mcpConfig.note1')]}),_0x1d754b[_0x34b911(0x268)](_0x34b911(0x19c),{'children':['•',_0x468bff['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x4f92f9=_0x32b952(0x207),_0x96ab60={'showDeveloperTools':!0x1};var _0x8f5c=Object[_0x32b952(0x2a0)],_0x17290d=(_0x490a03,_0x13c4f2,_0x31205e,_0x3bc573)=>{var _0x2b88b0=_0x32b952;for(var _0x2d29ea=_0x3bc573>0x1?void 0x0:_0x3bc573?_0x8f5c(_0x13c4f2,_0x31205e):_0x13c4f2,_0x1c274a=_0x490a03[_0x2b88b0(0x136)]-0x1,_0x2131f3;_0x1c274a>=0x0;_0x1c274a--)(_0x2131f3=_0x490a03[_0x1c274a])&&(_0x2d29ea=_0x2131f3(_0x2d29ea)||_0x2d29ea);return _0x2d29ea;},_0x388514=(_0x417a38,_0x485328)=>(_0x398000,_0x3bef0d)=>_0x485328(_0x398000,_0x3bef0d,_0x417a38);const _0x44467c=_0x32b952(0x27c),_0x3f2da3=_0x32b952(0x1a7);_0x2781c8[_0x32b952(0x28a)]=class extends _0x36a8d0[_0x32b952(0x1a2)]{constructor(_0x31a23b,_0x6c96b6,_0x27b98e,_0x17cfef,_0x53d31b,_0x1fa21a,_0x3f0f4e,_0x162bb4,_0x2337ce,_0x3e465d){var _0x731fe6=_0x32b952;super(),_0x49f581(this,_0x731fe6(0x22f),new _0x2accb4['BehaviorSubject'](!0x1)),_0x49f581(this,_0x731fe6(0x197),new _0x2accb4[(_0x731fe6(0x1f2))]({})),_0x49f581(this,_0x731fe6(0x13a),new _0x2accb4[(_0x731fe6(0x1f2))]({})),_0x49f581(this,'_handleConfigSave',async _0x5b60af=>{var _0x2a6370=_0x731fe6;this[_0x2a6370(0x22f)][_0x2a6370(0x2ac)](!0x0);try{const _0xb33c39=await this[_0x2a6370(0x17e)](_0x5b60af);if(!_0xb33c39[_0x2a6370(0x1a1)]){this[_0x2a6370(0x13e)][_0x2a6370(0x21a)]({'type':_0xa6997b[_0x2a6370(0x29b)][_0x2a6370(0x2a1)],'content':_0xb33c39['errorMessage']||this[_0x2a6370(0x1c0)]['t'](_0x2a6370(0x28f))});return;}_0x5b60af['apiKey']?await this[_0x2a6370(0x1da)]['setItem'](_0x44467c,_0x5b60af[_0x2a6370(0x297)][_0x2a6370(0x230)]()):await this[_0x2a6370(0x1da)][_0x2a6370(0x1e5)](_0x44467c),this['_configService'][_0x2a6370(0x26f)](_0x3d5e8c[_0x2a6370(0x1dd)],{..._0x5b60af,'apiKey':_0x5b60af[_0x2a6370(0x297)][_0x2a6370(0x230)]()}),this[_0x2a6370(0x197)][_0x2a6370(0x2ac)]({..._0x5b60af,'apiKey':_0x5b60af[_0x2a6370(0x297)][_0x2a6370(0x230)]()}),this[_0x2a6370(0x13e)]['show']({'type':_0xa6997b['MessageType'][_0x2a6370(0x249)],'content':this[_0x2a6370(0x1c0)]['t'](_0x2a6370(0x298))}),setTimeout(()=>{var _0x396129=_0x2a6370;this[_0x396129(0x26d)][_0x396129(0x15d)](_0x3f2da3);},0x320);}catch(_0x11043d){this[_0x2a6370(0x13d)]['error'](_0x2a6370(0x22d),_0x11043d),this[_0x2a6370(0x13e)][_0x2a6370(0x21a)]({'type':_0xa6997b['MessageType'][_0x2a6370(0x2a1)],'content':this[_0x2a6370(0x1c0)]['t'](_0x2a6370(0x1b3))});}finally{this['_loading$'][_0x2a6370(0x2ac)](!0x1);}}),(this[_0x731fe6(0x167)]=_0x31a23b,this[_0x731fe6(0x14d)]=_0x6c96b6,this[_0x731fe6(0x211)]=_0x27b98e,this['_localStorageService']=_0x17cfef,this['_dialogService']=_0x53d31b,this['_messageService']=_0x1fa21a,this[_0x731fe6(0x23e)]=_0x3f0f4e,this[_0x731fe6(0x1c0)]=_0x162bb4,this['_logService']=_0x2337ce,this[_0x731fe6(0x1e8)]=_0x3e465d,this['_initConfigSync'](),this[_0x731fe6(0x222)](),this[_0x731fe6(0x2a4)]());}['showConfigPanel'](){var _0x5b50d2=_0x32b952;this['_dialogService']['open']({'id':_0x3f2da3,'title':{'title':this['_localeService']['t'](_0x5b50d2(0x1bb))},'children':{'label':_0x5b50d2(0x152)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x414c8c=_0x5b50d2;this['_dialogService'][_0x414c8c(0x15d)](_0x3f2da3);}});}[_0x32b952(0x1f1)](){return this['_mcpCoreConfig$']['value'];}[_0x32b952(0x2a4)](){var _0x5cdfd9=_0x32b952;this[_0x5cdfd9(0x1df)](this['_componentManager'][_0x5cdfd9(0x1cb)]('MCPConfigPanel',this[_0x5cdfd9(0x260)]()));}[_0x32b952(0x260)](){var _0x5bbdd3=_0x32b952;return _0xaf74bf[_0x5bbdd3(0x231)](()=>{var _0x11d6e6=_0x5bbdd3,_0x51c533,_0x5d9fe9;return _0x1d754b[_0x11d6e6(0x29a)](_0x36fbab,{'config':this['_config$'][_0x11d6e6(0x21f)],'mcpCoreConfig':this['_mcpCoreConfig$']['value'],'onSave':this[_0x11d6e6(0x14e)],'loading':this['_loading$'][_0x11d6e6(0x21f)],'connectionStatus$':(_0x51c533=this[_0x11d6e6(0x1e8)])==null?void 0x0:_0x51c533[_0x11d6e6(0x166)],'connectionError$':(_0x5d9fe9=this[_0x11d6e6(0x1e8)])==null?void 0x0:_0x5d9fe9[_0x11d6e6(0x18e)]});},this[_0x5bbdd3(0x167)]);}['_initConfigSync'](){var _0x2ccf71=_0x32b952;this[_0x2ccf71(0x1df)](this[_0x2ccf71(0x211)][_0x2ccf71(0x1a3)](_0x3d5e8c[_0x2ccf71(0x1dd)])[_0x2ccf71(0x2a8)](_0x1cffce=>{var _0xd68fc1=_0x2ccf71;this[_0xd68fc1(0x197)][_0xd68fc1(0x2ac)](_0x1cffce||{});}));const _0x2ddfb5=this[_0x2ccf71(0x211)]['getConfig'](_0x3d5e8c[_0x2ccf71(0x1dd)]);this['_mcpCoreConfig$'][_0x2ccf71(0x2ac)](_0x2ddfb5||{}),this[_0x2ccf71(0x1df)](this[_0x2ccf71(0x211)][_0x2ccf71(0x1a3)](_0x4f92f9)[_0x2ccf71(0x2a8)](_0x562ec4=>{var _0x28de48=_0x2ccf71;this[_0x28de48(0x13a)][_0x28de48(0x2ac)](_0x562ec4||{});}));const _0x200588=this['_configService'][_0x2ccf71(0x2ab)](_0x4f92f9);this[_0x2ccf71(0x13a)][_0x2ccf71(0x2ac)](_0x200588||{});}async['_loadStoredApiKey'](){var _0x1db952=_0x32b952;const _0x36741a=await this[_0x1db952(0x1da)][_0x1db952(0x23d)](_0x44467c);if(_0x36741a){const _0x11bb82={...this[_0x1db952(0x197)][_0x1db952(0x21f)],'apiKey':_0x36741a};this[_0x1db952(0x211)][_0x1db952(0x26f)](_0x3d5e8c[_0x1db952(0x1dd)],_0x11bb82),this[_0x1db952(0x197)][_0x1db952(0x2ac)](_0x11bb82);}}async[_0x32b952(0x17e)](_0x4dce1b){var _0x45bc45=_0x32b952;if(!_0x4dce1b['apiKey']||_0x4dce1b[_0x45bc45(0x297)]['trim']()[_0x45bc45(0x136)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x45bc45(0x1c0)]['t'](_0x45bc45(0x19a))};if(_0x4dce1b[_0x45bc45(0x297)][_0x45bc45(0x230)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x45bc45(0x1c0)]['t'](_0x45bc45(0x21c))};try{const _0x2b03b9=await this['_injector'][_0x45bc45(0x299)](_0x3d5e8c[_0x45bc45(0x258)])[_0x45bc45(0x256)](_0x4dce1b['apiKey'][_0x45bc45(0x230)]());return _0x2b03b9[_0x45bc45(0x1a1)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2b03b9[_0x45bc45(0x1f5)]||this[_0x45bc45(0x1c0)]['t'](_0x45bc45(0x1b1))};}catch(_0x5dc00a){return console[_0x45bc45(0x264)](_0x45bc45(0x247),_0x5dc00a),{'isValid':!0x0};}}},_0x2781c8['MCPConfigUIController']=_0x17290d([_0x388514(0x0,_0x36a8d0[_0x32b952(0x137)](_0x36a8d0['Injector'])),_0x388514(0x1,_0xaf74bf['IUIPartsService']),_0x388514(0x2,_0x36a8d0[_0x32b952(0x1f8)]),_0x388514(0x3,_0x36a8d0['ILocalStorageService']),_0x388514(0x4,_0xaf74bf[_0x32b952(0x2b1)]),_0x388514(0x5,_0xaf74bf['IMessageService']),_0x388514(0x6,_0x36a8d0['Inject'](_0xaf74bf[_0x32b952(0x21d)])),_0x388514(0x7,_0x36a8d0['Inject'](_0x36a8d0['LocaleService'])),_0x388514(0x8,_0x36a8d0['ILogService']),_0x388514(0x9,_0x36a8d0[_0x32b952(0x137)](_0x3d5e8c[_0x32b952(0x258)]))],_0x2781c8[_0x32b952(0x28a)]);const _0x830ca7={'id':_0x32b952(0x195),'type':_0x36a8d0['CommandType'][_0x32b952(0x1de)],'handler':async(_0x5374e8,_0x318261)=>(_0x5374e8[_0x32b952(0x299)](_0x2781c8['MCPConfigUIController'])[_0x32b952(0x164)](),!0x0)};function _0x2bf2c2(_0x282f5e,_0x59b7c8){var _0x3887f8=_0x32b952;switch(_0x282f5e){case _0x3d5e8c['MCPConnectionStatus'][_0x3887f8(0x1d4)]:return _0x59b7c8===_0x3d5e8c[_0x3887f8(0x168)][_0x3887f8(0x139)]?_0x3887f8(0x2bb):_0x3887f8(0x2ba);case _0x3d5e8c[_0x3887f8(0x233)]['CONNECTING']:return _0x3887f8(0x1e0);case _0x3d5e8c[_0x3887f8(0x233)][_0x3887f8(0x196)]:return _0x3887f8(0x275);case _0x3d5e8c[_0x3887f8(0x233)][_0x3887f8(0x1ff)]:switch(_0x59b7c8){case _0x3d5e8c[_0x3887f8(0x168)][_0x3887f8(0x1ec)]:return _0x3887f8(0x1e1);case _0x3d5e8c[_0x3887f8(0x168)][_0x3887f8(0x22e)]:return _0x3887f8(0x2b6);case _0x3d5e8c['MCPConnectionError'][_0x3887f8(0x1fa)]:return _0x3887f8(0x182);case _0x3d5e8c[_0x3887f8(0x168)][_0x3887f8(0x294)]:return _0x3887f8(0x24f);default:return _0x3887f8(0x155);}case _0x3d5e8c[_0x3887f8(0x233)][_0x3887f8(0x1e6)]:return _0x3887f8(0x1be);default:return _0x3887f8(0x23b);}}function _0x2255dd(_0x4fb3af,_0x50e592,_0x19fe97){var _0xc35009=_0x32b952;const _0x5cbf82=_0x2bf2c2(_0x4fb3af,_0x50e592),_0xeeeed6=_0x19fe97['t'](_0x5cbf82);return _0x4fb3af===_0x3d5e8c[_0xc35009(0x233)]['DISCONNECTED']&&_0x50e592===_0x3d5e8c[_0xc35009(0x168)]['MISSING_API_KEY']?_0xeeeed6+'\x20-\x20'+_0x19fe97['t'](_0xc35009(0x246)):_0x4fb3af===_0x3d5e8c[_0xc35009(0x233)][_0xc35009(0x196)]?''+_0xeeeed6:_0x4fb3af===_0x3d5e8c[_0xc35009(0x233)][_0xc35009(0x1d4)]||_0x4fb3af===_0x3d5e8c[_0xc35009(0x233)][_0xc35009(0x1ff)]?_0xeeeed6+_0xc35009(0x1e2)+_0x19fe97['t'](_0xc35009(0x220)):_0xeeeed6;}function _0x286cfc(_0x3795e6){var _0x404ed8=_0x32b952;switch(_0x3795e6){case _0x3d5e8c[_0x404ed8(0x233)][_0x404ed8(0x196)]:return _0x404ed8(0x276);case _0x3d5e8c[_0x404ed8(0x233)][_0x404ed8(0x171)]:case _0x3d5e8c[_0x404ed8(0x233)][_0x404ed8(0x1e6)]:return _0x404ed8(0x263);case _0x3d5e8c[_0x404ed8(0x233)]['FAILED']:case _0x3d5e8c[_0x404ed8(0x233)][_0x404ed8(0x1d4)]:return _0x404ed8(0x208);default:return _0x404ed8(0x2b9);}}function _0x2fcc2f(_0x3916bc){var _0x35b468=_0x32b952;const {status$:_0x367dfe,error$:_0x2d1c6f,onConfigure:_0x1de18b}=_0x3916bc,_0x188bcb=_0xaf74bf[_0x35b468(0x15c)](_0x367dfe,_0x3d5e8c[_0x35b468(0x233)][_0x35b468(0x1d4)]),_0x3d6fa2=_0xaf74bf[_0x35b468(0x15c)](_0x2d1c6f,_0x3d5e8c['MCPConnectionError'][_0x35b468(0x18c)]),_0x3529cb=_0xaf74bf[_0x35b468(0x18a)](_0x36a8d0[_0x35b468(0x2a9)]),_0x2ac7bb=_0x188bcb===_0x3d5e8c[_0x35b468(0x233)][_0x35b468(0x196)],_0x3a8369=_0x188bcb===_0x3d5e8c['MCPConnectionStatus'][_0x35b468(0x171)]||_0x188bcb===_0x3d5e8c['MCPConnectionStatus'][_0x35b468(0x1e6)],_0x136bed=_0x3529cb['t'](_0x2bf2c2(_0x188bcb,_0x3d6fa2)),_0x112856=_0x2255dd(_0x188bcb,_0x3d6fa2,_0x3529cb),_0x1e5cee=_0x286cfc(_0x188bcb),_0x2a685a=_0x2ac7bb?_0x1d754b['jsx'](_0x319e66,{}):_0x1d754b[_0x35b468(0x29a)](_0x3ea4c2,{}),_0x758b9c=_0x4bc8f1[_0x35b468(0x27a)](()=>{_0x1de18b&&_0x1de18b();},[_0x2ac7bb,_0x3a8369,_0x1de18b]);function _0x51d3c9(){var _0x2c351a=_0x35b468;return _0x1d754b[_0x2c351a(0x268)]('div',{'className':_0xa6997b[_0x2c351a(0x1d2)](_0x2c351a(0x261),_0x1de18b&&_0x2c351a(0x25c)),'onClick':_0x1de18b?_0x758b9c:void 0x0,'children':[_0x1d754b['jsx'](_0x2c351a(0x19c),{'className':_0xa6997b[_0x2c351a(0x1d2)](_0x2c351a(0x29d),_0x1e5cee),'children':_0x2a685a}),_0x1d754b[_0x2c351a(0x29a)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x136bed})]});}return _0x1d754b[_0x35b468(0x29a)](_0xa6997b['Tooltip'],{'title':_0x112856,'placement':_0x35b468(0x212),'children':_0x51d3c9()});}var _0xb2f12e=Object[_0x32b952(0x2a0)],_0x2bc900=(_0x3b7333,_0x1b3047,_0x1483c6,_0x39aafe)=>{var _0x3c3f34=_0x32b952;for(var _0x34d904=_0x39aafe>0x1?void 0x0:_0x39aafe?_0xb2f12e(_0x1b3047,_0x1483c6):_0x1b3047,_0x490387=_0x3b7333[_0x3c3f34(0x136)]-0x1,_0x32fcd8;_0x490387>=0x0;_0x490387--)(_0x32fcd8=_0x3b7333[_0x490387])&&(_0x34d904=_0x32fcd8(_0x34d904)||_0x34d904);return _0x34d904;},_0x59f4e7=(_0x5470de,_0x4e4d8f)=>(_0x252d2f,_0x12b751)=>_0x4e4d8f(_0x252d2f,_0x12b751,_0x5470de);_0x2781c8[_0x32b952(0x1f6)]=class extends _0x36a8d0[_0x32b952(0x1a2)]{constructor(_0x31de7b,_0x291f46,_0x416c0f){var _0x2d73fa=_0x32b952;super(),this[_0x2d73fa(0x167)]=_0x31de7b,this['_connectionController']=_0x291f46,this[_0x2d73fa(0x14d)]=_0x416c0f,this[_0x2d73fa(0x193)]();}[_0x32b952(0x193)](){var _0x5716ab=_0x32b952;this[_0x5716ab(0x1df)](this[_0x5716ab(0x14d)]['registerComponent'](_0xaf74bf[_0x5716ab(0x161)][_0x5716ab(0x22c)],()=>_0xaf74bf[_0x5716ab(0x231)](_0x2fbabe({'status$':this[_0x5716ab(0x142)][_0x5716ab(0x166)],'error$':this[_0x5716ab(0x142)][_0x5716ab(0x18e)],'onConfigure':()=>this[_0x5716ab(0x15e)]()}),this[_0x5716ab(0x167)])));}[_0x32b952(0x15e)](){var _0x250efc=_0x32b952;this[_0x250efc(0x167)][_0x250efc(0x299)](_0x2781c8['MCPConfigUIController'])[_0x250efc(0x164)]();}},_0x2781c8['MCPConnectionUIController']=_0x2bc900([_0x59f4e7(0x0,_0x36a8d0[_0x32b952(0x137)](_0x36a8d0[_0x32b952(0x2b0)])),_0x59f4e7(0x1,_0x36a8d0[_0x32b952(0x137)](_0x3d5e8c['MCPConnectionController'])),_0x59f4e7(0x2,_0xaf74bf[_0x32b952(0x134)])],_0x2781c8[_0x32b952(0x1f6)]);function _0x2fbabe(_0x103e36){const {status$:_0x260737,error$:_0x89c7de,onConfigure:_0x1cc0e5}=_0x103e36;return function(){var _0x4b5f65=_0xaf6e;return _0x1d754b[_0x4b5f65(0x29a)](_0x2fcc2f,{'status$':_0x260737,'error$':_0x89c7de,'onConfigure':_0x1cc0e5});};}function _0x5d8207(_0x469310){var _0x20712b=_0x32b952;return{'id':_0x830ca7['id'],'type':_0xaf74bf['MenuItemType'][_0x20712b(0x1d3)],'icon':_0x20712b(0x15f),'title':'mcpConfig.title','tooltip':_0x20712b(0x1bb)};}const _0x2a6fdc={[_0xaf74bf[_0x32b952(0x14c)]['OTHERS']]:{[_0x830ca7['id']]:{'order':0xa,'menuItemFactory':_0x5d8207}}};var _0xcb0409=Object[_0x32b952(0x2a0)],_0x36a9b6=(_0x3f57f0,_0x1af205,_0x38524d,_0x2bee2b)=>{var _0x318886=_0x32b952;for(var _0x21fe7e=_0x2bee2b>0x1?void 0x0:_0x2bee2b?_0xcb0409(_0x1af205,_0x38524d):_0x1af205,_0x361fdc=_0x3f57f0[_0x318886(0x136)]-0x1,_0xdbf1f7;_0x361fdc>=0x0;_0x361fdc--)(_0xdbf1f7=_0x3f57f0[_0x361fdc])&&(_0x21fe7e=_0xdbf1f7(_0x21fe7e)||_0x21fe7e);return _0x21fe7e;},_0x57b165=(_0x554c26,_0x3402fb)=>(_0x17ca12,_0x139527)=>_0x3402fb(_0x17ca12,_0x139527,_0x554c26);_0x2781c8[_0x32b952(0x1d5)]=class extends _0x36a8d0[_0x32b952(0x1a2)]{constructor(_0x5f5986,_0x202500){var _0x477fba=_0x32b952;super(),this[_0x477fba(0x149)]=_0x5f5986,this[_0x477fba(0x278)]=_0x202500,this[_0x477fba(0x147)](),this[_0x477fba(0x16f)]();}[_0x32b952(0x147)](){var _0x3d4af7=_0x32b952;[_0x830ca7][_0x3d4af7(0x269)](_0x2e8527=>{var _0x3abc9a=_0x3d4af7;this[_0x3abc9a(0x1df)](this['_commandService'][_0x3abc9a(0x17d)](_0x2e8527));});}[_0x32b952(0x16f)](){var _0x4304cc=_0x32b952;this['_menuManagerService'][_0x4304cc(0x2a3)](_0x2a6fdc);}},_0x2781c8[_0x32b952(0x1d5)]=_0x36a9b6([_0x57b165(0x0,_0x36a8d0[_0x32b952(0x1a5)]),_0x57b165(0x1,_0xaf74bf[_0x32b952(0x27d)])],_0x2781c8[_0x32b952(0x1d5)]);const _0x3a5507={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x32b952(0x218),'connected':'MCP\x20Connected','failed':_0x32b952(0x24a),'retrying':'MCP\x20Retrying...','unknown':_0x32b952(0x1b7),'missingApiKey':_0x32b952(0x1b8),'invalidApiKey':_0x32b952(0x19d),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x32b952(0x156),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x32b952(0x199)},'mcpConfig':{'title':_0x32b952(0x1c8),'description':_0x32b952(0x281),'apiKey':_0x32b952(0x20f),'apiKeyPlaceholder':_0x32b952(0x227),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x32b952(0x158),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x32b952(0x203),'sessionId':'Session\x20ID','maxRetries':'Max\x20Retries','save':_0x32b952(0x2a5),'saving':_0x32b952(0x236),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x32b952(0x238),'configSaved':_0x32b952(0x188),'configError':_0x32b952(0x274),'apiApplyInfo':{'title':_0x32b952(0x219),'description':_0x32b952(0x23c),'univerAiLabel':_0x32b952(0x1b4),'getStarted':_0x32b952(0x1bf)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x32b952(0x1e9),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x32b952(0x1a4)},'connectionStatus':{'disconnected':_0x32b952(0x1d9),'connecting':_0x32b952(0x150),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x32b952(0x223)},'connectionError':{'missingApiKey':_0x32b952(0x19e),'invalidApiKey':_0x32b952(0x1cf),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x32b952(0x228)}}},_0x5216bf={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x32b952(0x26a),'connected':_0x32b952(0x2a2),'failed':_0x32b952(0x20c),'retrying':_0x32b952(0x1e7),'unknown':_0x32b952(0x206),'missingApiKey':_0x32b952(0x176),'invalidApiKey':_0x32b952(0x279),'sessionOccupied':_0x32b952(0x235),'networkError':_0x32b952(0x23a),'maxRetriesExceeded':_0x32b952(0x148),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x32b952(0x1f9)},'mcpConfig':{'title':_0x32b952(0x14a),'description':_0x32b952(0x20a),'apiKey':_0x32b952(0x138),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x32b952(0x15b),'enableAuth':_0x32b952(0x144),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x32b952(0x229),'serverEndpoint':_0x32b952(0x1fb),'sessionId':_0x32b952(0x190),'maxRetries':_0x32b952(0x175),'save':_0x32b952(0x1c5),'saving':_0x32b952(0x25e),'note1':_0x32b952(0x270),'note2':_0x32b952(0x179),'configSaved':_0x32b952(0x291),'configError':_0x32b952(0x198),'apiApplyInfo':{'title':_0x32b952(0x225),'description':_0x32b952(0x13c),'univerAiLabel':_0x32b952(0x266),'getStarted':_0x32b952(0x1b9)},'validation':{'apiKeyRequired':_0x32b952(0x2b3),'apiKeyTooShort':_0x32b952(0x26b),'invalidConfig':'配置无效','invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x32b952(0x257),'connecting':_0x32b952(0x151),'connected':_0x32b952(0x22b),'failed':_0x32b952(0x250),'retrying':_0x32b952(0x1ce)},'connectionError':{'missingApiKey':_0x32b952(0x1d0),'invalidApiKey':_0x32b952(0x201),'sessionOccupied':_0x32b952(0x28e),'networkError':_0x32b952(0x1ef),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x3d2829=Object['defineProperty'],_0x424647=Object['getOwnPropertyDescriptor'],_0x25173f=(_0x236eda,_0x2d1ece,_0x3fb9e2)=>_0x2d1ece in _0x236eda?_0x3d2829(_0x236eda,_0x2d1ece,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3fb9e2}):_0x236eda[_0x2d1ece]=_0x3fb9e2,_0x594340=(_0x5cce33,_0x3e836a,_0x33de76,_0x229912)=>{for(var _0x2983ad=_0x229912>0x1?void 0x0:_0x229912?_0x424647(_0x3e836a,_0x33de76):_0x3e836a,_0x43598d=_0x5cce33['length']-0x1,_0x2102b4;_0x43598d>=0x0;_0x43598d--)(_0x2102b4=_0x5cce33[_0x43598d])&&(_0x2983ad=_0x2102b4(_0x2983ad)||_0x2983ad);return _0x2983ad;},_0x3e66d0=(_0x3d4538,_0x1df26f)=>(_0x49a77e,_0x49af39)=>_0x1df26f(_0x49a77e,_0x49af39,_0x3d4538),_0x29f294=(_0xdcb4f2,_0x2e89b9,_0x7003ea)=>_0x25173f(_0xdcb4f2,_0x2e89b9+'',_0x7003ea);_0x2781c8[_0x32b952(0x254)]=class extends _0x36a8d0['Plugin']{constructor(_0x52d05b=_0x96ab60,_0x7bf740,_0x354c52,_0x2b6cd6,_0x515b08,_0x490400){var _0x55d001=_0x32b952;super(),this[_0x55d001(0x173)]=_0x52d05b,this[_0x55d001(0x167)]=_0x7bf740,this[_0x55d001(0x211)]=_0x354c52,this['_uiPartsService']=_0x2b6cd6,this[_0x55d001(0x1da)]=_0x515b08,this[_0x55d001(0x1c0)]=_0x490400;const {..._0x1895df}=_0x36a8d0[_0x55d001(0x1d8)]({},_0x96ab60,this[_0x55d001(0x173)]);this[_0x55d001(0x211)]['setConfig'](_0x4f92f9,_0x1895df);}async[_0x32b952(0x273)](){var _0x5db011=_0x32b952;[[_0x2781c8[_0x5db011(0x1f6)]],[_0x2781c8[_0x5db011(0x28a)]],[_0x2781c8[_0x5db011(0x1d5)]]][_0x5db011(0x269)](_0x3945de=>this[_0x5db011(0x167)][_0x5db011(0x189)](_0x3945de)),this['_injector'][_0x5db011(0x299)](_0x2781c8[_0x5db011(0x1f6)]),this[_0x5db011(0x167)][_0x5db011(0x299)](_0x2781c8['MCPConfigUIController']),this[_0x5db011(0x167)][_0x5db011(0x299)](_0x2781c8[_0x5db011(0x1d5)]);}},_0x29f294(_0x2781c8['UniverMCPUIPlugin'],_0x32b952(0x245),_0x32b952(0x18b)),_0x2781c8[_0x32b952(0x254)]=_0x594340([_0x36a8d0[_0x32b952(0x216)](_0x3d5e8c['UniverMCPPlugin']),_0x3e66d0(0x1,_0x36a8d0[_0x32b952(0x137)](_0x36a8d0[_0x32b952(0x2b0)])),_0x3e66d0(0x2,_0x36a8d0[_0x32b952(0x1f8)]),_0x3e66d0(0x3,_0xaf74bf[_0x32b952(0x134)]),_0x3e66d0(0x4,_0x36a8d0['ILocalStorageService']),_0x3e66d0(0x5,_0x36a8d0[_0x32b952(0x137)](_0x36a8d0[_0x32b952(0x2a9)]))],_0x2781c8['UniverMCPUIPlugin']),_0x2781c8[_0x32b952(0x152)]=_0x36fbab,_0x2781c8['MCPStatusDisplay']=_0x2fcc2f,_0x2781c8[_0x32b952(0x1a0)]=_0x830ca7,_0x2781c8[_0x32b952(0x248)]=_0x3a5507,_0x2781c8[_0x32b952(0x244)]=_0x5216bf,Object[_0x32b952(0x16b)](_0x2781c8,Symbol[_0x32b952(0x1bd)],{'value':_0x32b952(0x224)});}));
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5f1a(_0x1e6f95,_0x50f091){var _0x403c00=_0x403c();return _0x5f1a=function(_0x5f1a79,_0x4f5586){_0x5f1a79=_0x5f1a79-0x170;var _0x36c829=_0x403c00[_0x5f1a79];return _0x36c829;},_0x5f1a(_0x1e6f95,_0x50f091);}(function(_0x359976,_0x2ef3b1){var _0x48f1ba=_0x5f1a,_0x353a8d=_0x359976();while(!![]){try{var _0x36766d=parseInt(_0x48f1ba(0x176))/0x1*(parseInt(_0x48f1ba(0x19f))/0x2)+-parseInt(_0x48f1ba(0x182))/0x3+parseInt(_0x48f1ba(0x196))/0x4+-parseInt(_0x48f1ba(0x172))/0x5*(-parseInt(_0x48f1ba(0x183))/0x6)+parseInt(_0x48f1ba(0x1a0))/0x7+parseInt(_0x48f1ba(0x189))/0x8*(parseInt(_0x48f1ba(0x186))/0x9)+parseInt(_0x48f1ba(0x18e))/0xa*(-parseInt(_0x48f1ba(0x17e))/0xb);if(_0x36766d===_0x2ef3b1)break;else _0x353a8d['push'](_0x353a8d['shift']());}catch(_0x176508){_0x353a8d['push'](_0x353a8d['shift']());}}}(_0x403c,0xee3c1),function(_0x2ddf18,_0x2cb680){var _0x512fd0=_0x5f1a;typeof exports==_0x512fd0(0x17f)&&typeof module<'u'?module[_0x512fd0(0x171)]=_0x2cb680():typeof define==_0x512fd0(0x190)&&define[_0x512fd0(0x19b)]?define(_0x2cb680):(_0x2ddf18=typeof globalThis<'u'?globalThis:_0x2ddf18||self,_0x2ddf18[_0x512fd0(0x187)]=_0x2cb680());}(this,function(){'use strict';var _0xee670a=_0x5f1a;return{'mcpStatus':{'disconnected':_0xee670a(0x17d),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0xee670a(0x18f),'retrying':'MCP\x20Retrying...','unknown':_0xee670a(0x174),'missingApiKey':_0xee670a(0x179),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0xee670a(0x180),'networkError':_0xee670a(0x191),'maxRetriesExceeded':_0xee670a(0x173),'clickToConnect':_0xee670a(0x178),'clickToConfigure':_0xee670a(0x18d)},'mcpConfig':{'title':_0xee670a(0x185),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xee670a(0x177),'apiKeyPlaceholder':_0xee670a(0x198),'apiKeyHint':_0xee670a(0x19d),'enableAuth':_0xee670a(0x170),'enableAuthHint':_0xee670a(0x197),'connectionInfo':_0xee670a(0x195),'serverEndpoint':_0xee670a(0x17c),'sessionId':_0xee670a(0x18a),'maxRetries':_0xee670a(0x17b),'save':_0xee670a(0x188),'saving':_0xee670a(0x18c),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xee670a(0x175),'configSaved':_0xee670a(0x194),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xee670a(0x193),'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':_0xee670a(0x199),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0xee670a(0x19c),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0xee670a(0x181),'invalidApiKey':_0xee670a(0x184)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0xee670a(0x17a),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0xee670a(0x192)},'connectionError':{'missingApiKey':_0xee670a(0x18b),'invalidApiKey':_0xee670a(0x19a),'sessionOccupied':_0xee670a(0x19e),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));function _0x403c(){var _0x48a3be=['MCP:\x20API\x20Key\x20Missing','Connecting...','Max\x20Retries','Server\x20Endpoint','MCP\x20Disconnected','1370457frYTGx','object','MCP:\x20Session\x20Occupied','Invalid\x20configuration','1921812mlNJeB','1931670BbkFsB','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Configuration','108dkRIzC','UniverProMcpUiCaES','Save\x20Configuration','40576tmRmop','Session\x20ID','API\x20key\x20is\x20required\x20to\x20connect','Saving...','Click\x20to\x20configure\x20MCP','80sIvTJV','MCP\x20Connection\x20Failed','function','MCP:\x20Network\x20Error','Retrying...','What\x20is\x20API\x20Key?','Configuration\x20saved\x20successfully','Connection\x20Information','1663316nafmvJ','Enable\x20authentication\x20for\x20secure\x20connections','Enter\x20your\x20API\x20key','Univer\x20AI\x20Console','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','amd','API\x20key\x20is\x20required','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','12eZqRqe','3357767VOuagV','Enable\x20Authentication','exports','5XJtydA','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Unknown\x20Status','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','222465NanlDd','API\x20Key','Click\x20to\x20connect\x20MCP'];_0x403c=function(){return _0x48a3be;};return _0x403c();}
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5a50c5,_0xc44ccc){var _0x231c2d=_0x25c6,_0x390979=_0x5a50c5();while(!![]){try{var _0x3f5ec6=-parseInt(_0x231c2d(0x188))/0x1*(parseInt(_0x231c2d(0x1a4))/0x2)+parseInt(_0x231c2d(0x18a))/0x3*(parseInt(_0x231c2d(0x181))/0x4)+-parseInt(_0x231c2d(0x183))/0x5*(parseInt(_0x231c2d(0x1b3))/0x6)+-parseInt(_0x231c2d(0x198))/0x7*(-parseInt(_0x231c2d(0x185))/0x8)+parseInt(_0x231c2d(0x1b0))/0x9*(parseInt(_0x231c2d(0x19d))/0xa)+parseInt(_0x231c2d(0x19b))/0xb*(parseInt(_0x231c2d(0x1b1))/0xc)+-parseInt(_0x231c2d(0x197))/0xd*(-parseInt(_0x231c2d(0x1a7))/0xe);if(_0x3f5ec6===_0xc44ccc)break;else _0x390979['push'](_0x390979['shift']());}catch(_0x1a3425){_0x390979['push'](_0x390979['shift']());}}}(_0x41d8,0xbdea3),function(_0x478a81,_0x1a894c){var _0x28def8=_0x25c6;typeof exports==_0x28def8(0x194)&&typeof module<'u'?module[_0x28def8(0x19c)]=_0x1a894c():typeof define==_0x28def8(0x180)&&define[_0x28def8(0x1ab)]?define(_0x1a894c):(_0x478a81=typeof globalThis<'u'?globalThis:_0x478a81||self,_0x478a81[_0x28def8(0x18f)]=_0x1a894c());}(this,function(){'use strict';var _0x5b35eb=_0x25c6;return{'mcpStatus':{'disconnected':_0x5b35eb(0x18b),'connecting':_0x5b35eb(0x192),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x5b35eb(0x193),'sessionOccupied':_0x5b35eb(0x199),'networkError':_0x5b35eb(0x1a1),'maxRetriesExceeded':_0x5b35eb(0x191),'clickToConnect':_0x5b35eb(0x1ad),'clickToConfigure':_0x5b35eb(0x19f)},'mcpConfig':{'title':_0x5b35eb(0x17f),'description':_0x5b35eb(0x186),'apiKey':_0x5b35eb(0x18c),'apiKeyPlaceholder':_0x5b35eb(0x18e),'apiKeyHint':_0x5b35eb(0x1aa),'enableAuth':_0x5b35eb(0x196),'enableAuthHint':_0x5b35eb(0x1b2),'connectionInfo':_0x5b35eb(0x189),'serverEndpoint':_0x5b35eb(0x182),'sessionId':'Session\x20ID','maxRetries':_0x5b35eb(0x187),'save':'Save\x20Configuration','saving':_0x5b35eb(0x1a5),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x5b35eb(0x19e),'configError':_0x5b35eb(0x195),'apiApplyInfo':{'title':_0x5b35eb(0x1a8),'description':_0x5b35eb(0x1a2),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x5b35eb(0x1ae)},'validation':{'apiKeyRequired':_0x5b35eb(0x1ac),'apiKeyTooShort':_0x5b35eb(0x1a6),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x5b35eb(0x1a3)},'connectionStatus':{'disconnected':_0x5b35eb(0x19a),'connecting':_0x5b35eb(0x190),'connected':_0x5b35eb(0x18d),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x5b35eb(0x1a9),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x5b35eb(0x1af),'networkError':_0x5b35eb(0x1a0),'maxRetriesExceeded':_0x5b35eb(0x184)}}};}));function _0x25c6(_0x4e52d2,_0x25f299){var _0x41d860=_0x41d8();return _0x25c6=function(_0x25c658,_0x27af2e){_0x25c658=_0x25c658-0x17f;var _0x4a41a2=_0x41d860[_0x25c658];return _0x4a41a2;},_0x25c6(_0x4e52d2,_0x25f299);}function _0x41d8(){var _0x5ab2b1=['654481lsMFzN','Connection\x20Information','3buQRQf','MCP\x20Disconnected','API\x20Key','Connected','Enter\x20your\x20API\x20key','UniverProMcpUiEnUS','Connecting...','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connecting...','MCP:\x20Invalid\x20API\x20Key','object','Failed\x20to\x20save\x20configuration','Enable\x20Authentication','8601346BtWVhE','5688739bzUwjg','MCP:\x20Session\x20Occupied','Disconnected','44nhAZEG','exports','468190JeOyzw','Configuration\x20saved\x20successfully','Click\x20to\x20configure\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Network\x20Error','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','4IvZqFr','Saving...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','14ITOPMY','What\x20is\x20API\x20Key?','API\x20key\x20is\x20required\x20to\x20connect','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','amd','API\x20key\x20is\x20required','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','63jVvisb','3203304deUYtA','Enable\x20authentication\x20for\x20secure\x20connections','5015214gzkRUX','MCP\x20Configuration','function','211608uskLQb','Server\x20Endpoint','5wigihr','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','8lzzdAR','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Max\x20Retries'];_0x41d8=function(){return _0x5ab2b1;};return _0x41d8();}
|
package/lib/umd/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x32c1(_0x279eec,_0x24826f){var _0x433a6a=_0x433a();return _0x32c1=function(_0x32c17c,_0x2e795){_0x32c17c=_0x32c17c-0x19e;var _0x483f4b=_0x433a6a[_0x32c17c];return _0x483f4b;},_0x32c1(_0x279eec,_0x24826f);}function _0x433a(){var _0x1f59d8=['API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Saving...','MCP:\x20Max\x20Retries\x20Exceeded','Click\x20to\x20configure\x20MCP','Univer\x20AI\x20Console','MCP:\x20Invalid\x20API\x20Key','exports','MCP\x20Connecting...','UniverProMcpUiEsES','MCP:\x20API\x20Key\x20Missing','Configuration\x20saved\x20successfully','Enable\x20authentication\x20for\x20secure\x20connections','Disconnected','1986UMpZMj','Connected','API\x20key\x20is\x20required\x20to\x20connect','Invalid\x20configuration','function','60SfSIgn','API\x20Key','3264453aOJbAu','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','What\x20is\x20API\x20Key?','1vZprZb','6085mcselK','MCP\x20Connected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20is\x20required','302829CcBYsL','Server\x20Endpoint','25744Uamhet','MCP\x20Retrying...','MCP\x20Unknown\x20Status','Connection\x20Failed','7fsWAKe','MCP:\x20Network\x20Error','702658MBJhFV','Get\x20your\x20API\x20key\x20in\x20seconds','Max\x20Retries','1533692FDbLgW','Retrying...','Enter\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Click\x20to\x20connect\x20MCP','MCP:\x20Session\x20Occupied','Save\x20Configuration','MCP\x20Disconnected','Connection\x20Information','object','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','241294UVMuJS','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later'];_0x433a=function(){return _0x1f59d8;};return _0x433a();}(function(_0x100aaf,_0x9ca2e7){var _0xe0c130=_0x32c1,_0x3c4d49=_0x100aaf();while(!![]){try{var _0x2d01fd=-parseInt(_0xe0c130(0x1be))/0x1*(-parseInt(_0xe0c130(0x1a4))/0x2)+parseInt(_0xe0c130(0x1c4))/0x3+parseInt(_0xe0c130(0x1cf))/0x4+parseInt(_0xe0c130(0x1bf))/0x5*(parseInt(_0xe0c130(0x1b3))/0x6)+parseInt(_0xe0c130(0x1ca))/0x7*(parseInt(_0xe0c130(0x1c6))/0x8)+-parseInt(_0xe0c130(0x1ba))/0x9+parseInt(_0xe0c130(0x1b8))/0xa*(-parseInt(_0xe0c130(0x1cc))/0xb);if(_0x2d01fd===_0x9ca2e7)break;else _0x3c4d49['push'](_0x3c4d49['shift']());}catch(_0x3e1239){_0x3c4d49['push'](_0x3c4d49['shift']());}}}(_0x433a,0x40b71),function(_0x4bd800,_0x3dd4e6){var _0x4098ca=_0x32c1;typeof exports==_0x4098ca(0x1a2)&&typeof module<'u'?module[_0x4098ca(0x1ac)]=_0x3dd4e6():typeof define==_0x4098ca(0x1b7)&&define['amd']?define(_0x3dd4e6):(_0x4bd800=typeof globalThis<'u'?globalThis:_0x4bd800||self,_0x4bd800[_0x4098ca(0x1ae)]=_0x3dd4e6());}(this,function(){'use strict';var _0x548dd6=_0x32c1;return{'mcpStatus':{'disconnected':_0x548dd6(0x1a0),'connecting':_0x548dd6(0x1ad),'connected':_0x548dd6(0x1c0),'failed':'MCP\x20Connection\x20Failed','retrying':_0x548dd6(0x1c7),'unknown':_0x548dd6(0x1c8),'missingApiKey':_0x548dd6(0x1af),'invalidApiKey':_0x548dd6(0x1ab),'sessionOccupied':_0x548dd6(0x19e),'networkError':_0x548dd6(0x1cb),'maxRetriesExceeded':_0x548dd6(0x1a8),'clickToConnect':_0x548dd6(0x1d3),'clickToConfigure':_0x548dd6(0x1a9)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x548dd6(0x1c1),'apiKey':_0x548dd6(0x1b9),'apiKeyPlaceholder':_0x548dd6(0x1d1),'apiKeyHint':_0x548dd6(0x1bc),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x548dd6(0x1b1),'connectionInfo':_0x548dd6(0x1a1),'serverEndpoint':_0x548dd6(0x1c5),'sessionId':'Session\x20ID','maxRetries':_0x548dd6(0x1ce),'save':_0x548dd6(0x19f),'saving':_0x548dd6(0x1a7),'note1':_0x548dd6(0x1c2),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x548dd6(0x1b0),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x548dd6(0x1bd),'description':_0x548dd6(0x1a6),'univerAiLabel':_0x548dd6(0x1aa),'getStarted':_0x548dd6(0x1cd)},'validation':{'apiKeyRequired':_0x548dd6(0x1c3),'apiKeyTooShort':_0x548dd6(0x1bb),'invalidConfig':_0x548dd6(0x1b6),'invalidApiKey':_0x548dd6(0x1d2)},'connectionStatus':{'disconnected':_0x548dd6(0x1b2),'connecting':'Connecting...','connected':_0x548dd6(0x1b4),'failed':_0x548dd6(0x1c9),'retrying':_0x548dd6(0x1d0)},'connectionError':{'missingApiKey':_0x548dd6(0x1b5),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x548dd6(0x1a5),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x548dd6(0x1a3)}}};}));
|
package/lib/umd/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5ade9b,_0x1cf58a){var _0x3e4ac8=_0x2821,_0x2e4290=_0x5ade9b();while(!![]){try{var _0x35dbc9=parseInt(_0x3e4ac8(0x1a2))/0x1+-parseInt(_0x3e4ac8(0x194))/0x2*(parseInt(_0x3e4ac8(0x19d))/0x3)+-parseInt(_0x3e4ac8(0x1ad))/0x4+parseInt(_0x3e4ac8(0x18f))/0x5+parseInt(_0x3e4ac8(0x189))/0x6+parseInt(_0x3e4ac8(0x180))/0x7+-parseInt(_0x3e4ac8(0x197))/0x8;if(_0x35dbc9===_0x1cf58a)break;else _0x2e4290['push'](_0x2e4290['shift']());}catch(_0x5972dc){_0x2e4290['push'](_0x2e4290['shift']());}}}(_0x2357,0x9faee),function(_0xc407aa,_0x53155f){var _0x101481=_0x2821;typeof exports==_0x101481(0x188)&&typeof module<'u'?module[_0x101481(0x1a9)]=_0x53155f():typeof define==_0x101481(0x17f)&&define[_0x101481(0x17e)]?define(_0x53155f):(_0xc407aa=typeof globalThis<'u'?globalThis:_0xc407aa||self,_0xc407aa['UniverProMcpUiFaIR']=_0x53155f());}(this,function(){'use strict';var _0xd7ce9b=_0x2821;return{'mcpStatus':{'disconnected':_0xd7ce9b(0x1aa),'connecting':_0xd7ce9b(0x195),'connected':'MCP\x20Connected','failed':_0xd7ce9b(0x185),'retrying':_0xd7ce9b(0x1a6),'unknown':_0xd7ce9b(0x19c),'missingApiKey':_0xd7ce9b(0x198),'invalidApiKey':_0xd7ce9b(0x1ac),'sessionOccupied':_0xd7ce9b(0x184),'networkError':_0xd7ce9b(0x19f),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xd7ce9b(0x1a4),'clickToConfigure':_0xd7ce9b(0x18e)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xd7ce9b(0x191),'apiKey':_0xd7ce9b(0x1a0),'apiKeyPlaceholder':_0xd7ce9b(0x18d),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0xd7ce9b(0x193),'enableAuthHint':_0xd7ce9b(0x19e),'connectionInfo':_0xd7ce9b(0x18c),'serverEndpoint':'Server\x20Endpoint','sessionId':_0xd7ce9b(0x18b),'maxRetries':_0xd7ce9b(0x1ab),'save':_0xd7ce9b(0x182),'saving':_0xd7ce9b(0x1a7),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0xd7ce9b(0x1a3),'configError':_0xd7ce9b(0x1a8),'apiApplyInfo':{'title':_0xd7ce9b(0x19b),'description':_0xd7ce9b(0x192),'univerAiLabel':_0xd7ce9b(0x186),'getStarted':_0xd7ce9b(0x187)},'validation':{'apiKeyRequired':_0xd7ce9b(0x199),'apiKeyTooShort':_0xd7ce9b(0x1a1),'invalidConfig':_0xd7ce9b(0x196),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0xd7ce9b(0x183),'connecting':_0xd7ce9b(0x1ae),'connected':_0xd7ce9b(0x1a5),'failed':'Connection\x20Failed','retrying':_0xd7ce9b(0x18a)},'connectionError':{'missingApiKey':_0xd7ce9b(0x190),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0xd7ce9b(0x19a),'maxRetriesExceeded':_0xd7ce9b(0x181)}}};}));function _0x2821(_0x16d97a,_0x26d811){var _0x235716=_0x2357();return _0x2821=function(_0x28211f,_0x398031){_0x28211f=_0x28211f-0x17e;var _0x17c11e=_0x235716[_0x28211f];return _0x17c11e;},_0x2821(_0x16d97a,_0x26d811);}function _0x2357(){var _0xbda993=['MCP\x20Connecting...','Invalid\x20configuration','1071856suFZCV','MCP:\x20API\x20Key\x20Missing','API\x20key\x20is\x20required','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','What\x20is\x20API\x20Key?','MCP\x20Unknown\x20Status','7143THnpGw','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Network\x20Error','API\x20Key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','470560pDnUJf','Configuration\x20saved\x20successfully','Click\x20to\x20connect\x20MCP','Connected','MCP\x20Retrying...','Saving...','Failed\x20to\x20save\x20configuration','exports','MCP\x20Disconnected','Max\x20Retries','MCP:\x20Invalid\x20API\x20Key','1730452pRYFGk','Connecting...','amd','function','4928987SRGOIC','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Save\x20Configuration','Disconnected','MCP:\x20Session\x20Occupied','MCP\x20Connection\x20Failed','Univer\x20AI\x20Console','Get\x20your\x20API\x20key\x20in\x20seconds','object','5231268AxeQJs','Retrying...','Session\x20ID','Connection\x20Information','Enter\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','430005osuykV','API\x20key\x20is\x20required\x20to\x20connect','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20Authentication','766kcTSsa'];_0x2357=function(){return _0xbda993;};return _0x2357();}
|
package/lib/umd/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x595a(){var _0xee63d7=['326508ivBvTt','API\x20key\x20is\x20required','Server\x20Endpoint','exports','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','Configuration\x20saved\x20successfully','What\x20is\x20API\x20Key?','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Saving...','MCP\x20Connected','MCP\x20Connection\x20Failed','2oyVize','Click\x20to\x20configure\x20MCP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Retrying...','Connected','MCP:\x20Network\x20Error','API\x20key\x20is\x20required\x20to\x20connect','function','379971IIwfXI','4248984lhtjqW','Invalid\x20configuration','Max\x20Retries','40oAPJno','Save\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','object','MCP\x20Disconnected','amd','MCP\x20Retrying...','UniverProMcpUiFrFR','Failed\x20to\x20save\x20configuration','Connecting...','6497125HTFOBw','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','5631246eTbncL','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1853454pSWhKp','248129qmfySP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Invalid\x20API\x20Key','Click\x20to\x20connect\x20MCP','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later'];_0x595a=function(){return _0xee63d7;};return _0x595a();}function _0x242c(_0x91f63f,_0x5c52fe){var _0x595a19=_0x595a();return _0x242c=function(_0x242c0e,_0x147136){_0x242c0e=_0x242c0e-0xc8;var _0x105c76=_0x595a19[_0x242c0e];return _0x105c76;},_0x242c(_0x91f63f,_0x5c52fe);}(function(_0x2cc395,_0x636ed3){var _0x5dc6b7=_0x242c,_0x5a815e=_0x2cc395();while(!![]){try{var _0x21eeb7=parseInt(_0x5dc6b7(0xe0))/0x1+parseInt(_0x5dc6b7(0xec))/0x2*(-parseInt(_0x5dc6b7(0xda))/0x3)+-parseInt(_0x5dc6b7(0xf5))/0x4+parseInt(_0x5dc6b7(0xd2))/0x5+parseInt(_0x5dc6b7(0xd8))/0x6+parseInt(_0x5dc6b7(0xdb))/0x7*(-parseInt(_0x5dc6b7(0xc8))/0x8)+-parseInt(_0x5dc6b7(0xf4))/0x9;if(_0x21eeb7===_0x636ed3)break;else _0x5a815e['push'](_0x5a815e['shift']());}catch(_0x4de6dd){_0x5a815e['push'](_0x5a815e['shift']());}}}(_0x595a,0xa257c),function(_0x5b666e,_0x3b2108){var _0x5787de=_0x242c;typeof exports==_0x5787de(0xcb)&&typeof module<'u'?module[_0x5787de(0xe3)]=_0x3b2108():typeof define==_0x5787de(0xf3)&&define[_0x5787de(0xcd)]?define(_0x3b2108):(_0x5b666e=typeof globalThis<'u'?globalThis:_0x5b666e||self,_0x5b666e[_0x5787de(0xcf)]=_0x3b2108());}(this,function(){'use strict';var _0x203309=_0x242c;return{'mcpStatus':{'disconnected':_0x203309(0xcc),'connecting':'MCP\x20Connecting...','connected':_0x203309(0xea),'failed':_0x203309(0xeb),'retrying':_0x203309(0xce),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x203309(0xdd),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x203309(0xf1),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x203309(0xde),'clickToConfigure':_0x203309(0xed)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x203309(0xe8),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x203309(0xd4),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x203309(0xd7),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x203309(0xe2),'sessionId':'Session\x20ID','maxRetries':_0x203309(0xf7),'save':_0x203309(0xc9),'saving':_0x203309(0xe9),'note1':_0x203309(0xee),'note2':_0x203309(0xd5),'configSaved':_0x203309(0xe6),'configError':_0x203309(0xd0),'apiApplyInfo':{'title':_0x203309(0xe7),'description':_0x203309(0xe4),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x203309(0xe1),'apiKeyTooShort':_0x203309(0xd9),'invalidConfig':_0x203309(0xf6),'invalidApiKey':_0x203309(0xdc)},'connectionStatus':{'disconnected':_0x203309(0xe5),'connecting':_0x203309(0xd1),'connected':_0x203309(0xf0),'failed':_0x203309(0xd6),'retrying':_0x203309(0xef)},'connectionError':{'missingApiKey':_0x203309(0xf2),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x203309(0xdf),'networkError':_0x203309(0xd3),'maxRetriesExceeded':_0x203309(0xca)}}};}));
|
package/lib/umd/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2d3c(_0x277ef8,_0x404dbc){var _0x562188=_0x5621();return _0x2d3c=function(_0x2d3c1e,_0x22c366){_0x2d3c1e=_0x2d3c1e-0x8c;var _0x57b237=_0x562188[_0x2d3c1e];return _0x57b237;},_0x2d3c(_0x277ef8,_0x404dbc);}function _0x5621(){var _0x2cc9d6=['205089afvzRU','24942NHUGnM','Connecting...','Connection\x20Information','object','Max\x20Retries','1298696gJTARk','API\x20Key','Click\x20to\x20connect\x20MCP','API\x20key\x20is\x20required','2883535FkUaOb','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Disconnected','MCP\x20Configuration','MCP\x20Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','exports','Server\x20Endpoint','MCP\x20Unknown\x20Status','523764aZrhsU','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Max\x20Retries\x20Exceeded','550497RYuObm','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','144RziYBe','Enable\x20Authentication','2219GopGoP','MCP\x20Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connected','MCP:\x20Invalid\x20API\x20Key','MCP\x20Retrying...','Retrying...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','10770760QkEUGB','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enter\x20your\x20API\x20key','Failed\x20to\x20save\x20configuration','6oHQPwb','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20is\x20required\x20to\x20connect','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Save\x20Configuration','Univer\x20AI\x20Console'];_0x5621=function(){return _0x2cc9d6;};return _0x5621();}(function(_0x5a4005,_0x1d836b){var _0x34965d=_0x2d3c,_0x237051=_0x5a4005();while(!![]){try{var _0x1eae8e=parseInt(_0x34965d(0xa1))/0x1+parseInt(_0x34965d(0x9a))/0x2*(parseInt(_0x34965d(0xb8))/0x3)+-parseInt(_0x34965d(0xa7))/0x4+-parseInt(_0x34965d(0xab))/0x5+-parseInt(_0x34965d(0xa2))/0x6*(parseInt(_0x34965d(0x8c))/0x7)+-parseInt(_0x34965d(0xbb))/0x8*(-parseInt(_0x34965d(0xb4))/0x9)+parseInt(_0x34965d(0x94))/0xa;if(_0x1eae8e===_0x1d836b)break;else _0x237051['push'](_0x237051['shift']());}catch(_0x581480){_0x237051['push'](_0x237051['shift']());}}}(_0x5621,0xa1630),function(_0x4490ef,_0x23c0dd){var _0x187df3=_0x2d3c;typeof exports==_0x187df3(0xa5)&&typeof module<'u'?module[_0x187df3(0xb1)]=_0x23c0dd():typeof define=='function'&&define['amd']?define(_0x23c0dd):(_0x4490ef=typeof globalThis<'u'?globalThis:_0x4490ef||self,_0x4490ef['UniverProMcpUiKoKR']=_0x23c0dd());}(this,function(){'use strict';var _0x109dc3=_0x2d3c;return{'mcpStatus':{'disconnected':_0x109dc3(0xaf),'connecting':_0x109dc3(0x8d),'connected':_0x109dc3(0x8f),'failed':'MCP\x20Connection\x20Failed','retrying':_0x109dc3(0x91),'unknown':_0x109dc3(0xb3),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x109dc3(0x90),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x109dc3(0xb7),'clickToConnect':_0x109dc3(0xa9),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x109dc3(0xae),'description':_0x109dc3(0x8e),'apiKey':_0x109dc3(0xa8),'apiKeyPlaceholder':_0x109dc3(0x98),'apiKeyHint':_0x109dc3(0xb9),'enableAuth':_0x109dc3(0xbc),'enableAuthHint':_0x109dc3(0xb6),'connectionInfo':_0x109dc3(0xa4),'serverEndpoint':_0x109dc3(0xb2),'sessionId':'Session\x20ID','maxRetries':_0x109dc3(0xa6),'save':_0x109dc3(0x9f),'saving':'Saving...','note1':_0x109dc3(0x97),'note2':_0x109dc3(0x93),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x109dc3(0x99),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x109dc3(0x95),'univerAiLabel':_0x109dc3(0xa0),'getStarted':_0x109dc3(0x9d)},'validation':{'apiKeyRequired':_0x109dc3(0xaa),'apiKeyTooShort':_0x109dc3(0xb0),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x109dc3(0xb5)},'connectionStatus':{'disconnected':_0x109dc3(0xad),'connecting':_0x109dc3(0xa3),'connected':_0x109dc3(0x96),'failed':'Connection\x20Failed','retrying':_0x109dc3(0x92)},'connectionError':{'missingApiKey':_0x109dc3(0x9c),'invalidApiKey':_0x109dc3(0x9e),'sessionOccupied':_0x109dc3(0xba),'networkError':_0x109dc3(0xac),'maxRetriesExceeded':_0x109dc3(0x9b)}}};}));
|