@univerjs-pro/mcp-ui 0.11.0-nightly.202511151013 → 0.11.0

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.
Files changed (50) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +7 -7
  46. package/lib/cjs/locale/ja-JP.js +0 -1
  47. package/lib/es/locale/ja-JP.js +0 -1
  48. package/lib/locale/ja-JP.js +0 -1
  49. package/lib/types/locale/ja-JP.d.ts +0 -3
  50. package/lib/umd/locale/ja-JP.js +0 -1
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x54e4df=_0x237e;(function(_0x2a26b2,_0x151cac){const _0x40aa93=_0x237e,_0x264673=_0x2a26b2();while(!![]){try{const _0x48f744=parseInt(_0x40aa93(0x17e))/0x1*(-parseInt(_0x40aa93(0x2be))/0x2)+parseInt(_0x40aa93(0x1e2))/0x3*(parseInt(_0x40aa93(0x259))/0x4)+parseInt(_0x40aa93(0x1b1))/0x5+parseInt(_0x40aa93(0x2ab))/0x6*(parseInt(_0x40aa93(0x220))/0x7)+parseInt(_0x40aa93(0x1c5))/0x8*(-parseInt(_0x40aa93(0x24d))/0x9)+parseInt(_0x40aa93(0x158))/0xa+parseInt(_0x40aa93(0x2c7))/0xb;if(_0x48f744===_0x151cac)break;else _0x264673['push'](_0x264673['shift']());}catch(_0x3fca4f){_0x264673['push'](_0x264673['shift']());}}}(_0x4a78,0xee153));function _0x4a78(){const _0x5d05e3=['4362330WwzOfn','MCP:\x20会话\x20ID\x20已被占用','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','API\x20密钥长度至少需要\x2010\x20位','_handleConfigSave','MCP\x20Client\x20Configuration','MCP\x20客户端配置','univer-text-white','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCP\x20Connection\x20Failed','mergeMenu','Input','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','_initializeCommands','univer-flex\x20univer-items-start\x20univer-gap-3','MCP\x20连接失败','register','mcpConfig.connectionStatus.connecting','Session\x20ID','url(#off-line-icon_clip0_910_343)','univer-text-gray-400','button','removeItem','clsx','mcpConfig.configStep1','univer-text-gray-500','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','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','API\x20密钥无效,请检查密钥是否正确','mcpConfig.configInstructions','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','mcpConfig.configStepTitle','OTHERS','_apiKey$','xlink:href','show','mcpStatus.maxRetriesExceeded','1294kqKEfU','mcpConfig.connectionError.networkError','复制以下\x20JSON\x20配置','toString','_messageService','mcpStatus.failed','string','univer-shrink-0\x20univer-text-red-500','connectInjector','超出最大重试次数,请稍后再试','on-line-icon','univer-text-red-500','MCPConnectionController','value','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','Button','_mcpConnectionController','RETRYING','SESSION_ID_OCCUPIED','MCP:\x20Session\x20ID\x20Occupied','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Failed\x20to\x20save\x20configuration','MCPConfigUIController','close-icon','_config$','random','univer-text-xs\x20univer-text-gray-600','UniverMCPPlugin','MCP_UI_PLUGIN','最大重试次数','mcpStatus.connecting','MCPStatusDisplay','help-icon','mcpStatus.sessionOccupied','mcpConfig.configStep2','ISocketService','off','univer-text-xs\x20univer-text-gray-500','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univerjs-icon\x20univerjs-icon-','none','pluginName','Enter\x20your\x20API\x20key','evenodd','BehaviorSubject','mcpStatus.disconnected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpConfig.apiKeyHint','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','NONE','currentColor','553155qYXlaB','CONNECTING','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','forEach','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCP\x20已断开','FAILED','Enable\x20authentication\x20for\x20secure\x20connections','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','会话ID','_initAutoConnect','next','white','http://www.w3.org/2000/svg','_logService','warn','mcpConfig.configStep3','Configuration\x20Parameters:','511384dEeCXu','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','IDialogService','univer-flex-1','<API_KEY>','带有\x20Bearer\x20前缀的\x20API\x20密钥。','Inject','subscribeConfigValue$','_createConfigPanelComponent','Authorization:','Max\x20Retries','UniverMCPUIPlugin','replace','启用身份验证','MCP_PLUGIN_CONFIG_KEY','tag','连接中...','_injector','Injector','mcpConfig.note2','mcpConfig.apiKeyPlaceholder','univer-space-y-2','mcpConfig.note1','_registerComponent','MessageType','has','_localStorageService','配置保存成功','CommandType','33531duRKmx','length','colorChannel1','univer-size-2\x20univer-rounded-full','validateApiKey','您的\x20API\x20密钥将在此浏览器中本地存储','trim','MenuItemType','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','Success','Univer\x20AI\x20Console','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','close','push','isValid','mcpConfig.configSaved','includes','保存配置','MAX_RETRIES_EXCEEDED','subscribe','_validateConfig','disposeWithMe','ILogService','MCP:\x20网络错误','mcpConfig.connectionError.unauthorized','MCPUIMenuController','mcpStatus.clickToConnect','univer-text-sm\x20univer-text-gray-500','MCP\x20状态未知','children','mcpConfig.connectionInfo','useRef','IUIPartsService','您的\x20API\x20密钥安全存储在本地存储中','_initStatusComponent','Save\x20Configuration','Connecting...','_uiPartsService','enableAutoConnect','API\x20key\x20is\x20required','connectionStatus$','text','connectionError$','univer-flex\x20univer-flex-wrap\x20univer-gap-2','apiKey','fill','IMessageService','配置参数:','error','MCPConnectionError','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_mcpCoreConfig$','MCP\x20已连接','网络连接错误,请检查您的网络连接','on-line-icon_clip0_910_349','univer.ai','Invalid\x20configuration','Configuration\x20Notes:','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','_handleConfigure','showConfigPanel','105dziVQR','setItem','univer-size-4','https://console.univer.plus','_loading$','mcpStatus.networkError','MCP\x20Unknown\x20Status','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','getCurrentConfig','1em','MCPConnectionStatus','current','mcpConfig.saving','MCP\x20连接中...','API\x20密钥不能为空','idSuffix','_dialogService','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','_commandService','_localeService','\x20-\x20','0\x200\x2017\x2016','<SESSION_ID>','点击配置\x20MCP','mcpConfig.apiApplyInfo.title','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','重启您的\x20MCP\x20客户端以使配置生效','UNAUTHORIZED','CONNECTED','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','MCP\x20Disconnected','useState','get','OnLineIcon','将以下配置添加到您的\x20MCP\x20客户端设置中:','LocaleService','mcpStatus.unauthorized','Click\x20to\x20configure\x20MCP','univer-bg-green-500','jsx','DISCONNECTED','round','MCP\x20Configuration','_loadStoredApiKey','mcpConfig.apiApplyInfo.description','9qheJrd','translate(.97)','配置步骤:','attrs','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','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','mcpStatus.unknown','0\x200\x2016\x2016','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-bg-blue-500','_blank','onStarting','272PaAmjV','mcpConfig.authorizationDescription','defs','MenuIcon','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','配置保存失败','CheckMarkIcon','mcpConfig.sessionIdDescription','add','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Disposable','errorMessage','substring','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_configService','__setCustomHeaders','symbol','会话\x20ID\x20已被占用,请稍后再试','getOwnPropertyDescriptor','_config','registerCommand','univer-space-y-5','Copy\x20the\x20JSON\x20configuration\x20below','Retrying...','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','mcpConfig.connectionError.sessionOccupied','CloseIcon','BUTTON','Connection\x20Failed','univer-text-blue-600','Univer\x20AI\x20控制台','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','MCPConfigPanel','请输入您的\x20API\x20密钥','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','What\x20is\x20API\x20Key?','mcpConfig.apiKey','clipPath','_initializeMenus','MCP:\x20超出最大重试次数','MCP:\x20Max\x20Retries\x20Exceeded','univer_session_id:','mask','univer-bg-gray-500','univer-space-y-4','getConfig','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','bottom','_componentManager','mcpConfig.validation.apiKeyRequired','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','已连接','defineProperty','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','配置更改将立即生效','univer-min-w-0\x20univer-flex-1','mcp-config-dialog','mcpServerUrl','useCallback','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','useDependency','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','mcpConfig.validation.apiKeyTooShort','未连接','univer-shrink-0\x20univer-text-blue-500','path','mcp-ui.config','ICommandService','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','noopener\x20noreferrer','jsxs','toStringTag','MCPConnectionUIController','WebSocketService','Saving...','Error','mcpConfig.title','div','open','376182poCESQ','displayName','BuiltInUIPart','univer-font-medium','Configuration\x20saved\x20successfully','https://console.univer.ai','MCP\x20Connected','entries','sessionId$','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','Click\x20to\x20connect\x20MCP','createElement','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-flex\x20univer-items-center\x20univer-gap-2','UniverIcon','enUS','forwardRef','DependentOn','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','2738cVRsJZ','url(#$1','MCP\x20Retrying...','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','MCP:\x20Network\x20Error','配置无效','Configuration\x20Steps:','mcpConfig.configParameters','univer-ml-1\x20univer-flex\x20univer-size-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','6195651TecMDq','showDeveloperTools','svg','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','check-mark-icon','_connectionController','NETWORK_ERROR','registerComponent','setConfig','univer.plus','url(#on-line-icon_clip0_910_349)','Tooltip','getItem','将配置添加到您的\x20MCP\x20客户端设置文件中','pre','assign','univer-space-y-3','mcpStatus.connected','use','点击连接\x20MCP','useObservable','off-line-icon_clip0_910_343','span','IConfigService','showStatus','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','Bearer\x20'];_0x4a78=function(){return _0x5d05e3;};return _0x4a78();}var ae=Object[_0x54e4df(0x28f)],le=(_0x362c85,_0x1b1717,_0x29a6d1)=>_0x1b1717 in _0x362c85?ae(_0x362c85,_0x1b1717,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29a6d1}):_0x362c85[_0x1b1717]=_0x29a6d1,I=(_0x2d67a4,_0x1c576b,_0x3182e5)=>le(_0x2d67a4,typeof _0x1c576b!=_0x54e4df(0x269)?_0x1c576b+'':_0x1c576b,_0x3182e5);Object[_0x54e4df(0x28f)](exports,Symbol[_0x54e4df(0x2a3)],{'value':'Module'});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x2f07ad,..._0x3a7cdd}){const _0x12d303=_0x54e4df,{icon:_0x3b3799,id:_0x2e5e54,className:_0x59c8a7,extend:_0x830178,..._0x541a1f}=_0x3a7cdd,_0x253f85=(_0x12d303(0x1a5)+_0x2e5e54+'\x20'+(_0x59c8a7||''))[_0x12d303(0x1e8)](),_0x285998=d[_0x12d303(0x201)]('_'+de());return G(_0x3b3799,''+_0x2e5e54,{'defIds':_0x3b3799['defIds'],'idSuffix':_0x285998[_0x12d303(0x22b)]},{'ref':_0x2f07ad,'className':_0x253f85,..._0x541a1f},_0x830178);}function G(_0x19577c,_0x58882f,_0x3d091f,_0xe590e0,_0x32498d){const _0x137e4c=_0x54e4df;return d[_0x137e4c(0x2b6)](_0x19577c[_0x137e4c(0x1d4)],{'key':_0x58882f,...ue(_0x19577c,_0x3d091f,_0x32498d),..._0xe590e0},(ve(_0x19577c,_0x3d091f)[_0x137e4c(0x1ff)]||[])['map']((_0x20d715,_0x52b628)=>G(_0x20d715,_0x58882f+'-'+_0x19577c[_0x137e4c(0x1d4)]+'-'+_0x52b628,_0x3d091f,void 0x0,_0x32498d)));}function ue(_0x39c9f1,_0x17a998,_0x530abe){const _0x36f126=_0x54e4df,_0x2ce897={..._0x39c9f1[_0x36f126(0x250)]};_0x530abe!=null&&_0x530abe[_0x36f126(0x1e4)]&&_0x2ce897[_0x36f126(0x20f)]===_0x36f126(0x1e4)&&(_0x2ce897['fill']=_0x530abe['colorChannel1']),_0x39c9f1['tag']===_0x36f126(0x285)&&_0x2ce897['id']&&(_0x2ce897['id']=_0x2ce897['id']+_0x17a998[_0x36f126(0x22f)]),Object[_0x36f126(0x2b2)](_0x2ce897)['forEach'](([_0x6ab00,_0xedd3d5])=>{const _0x319b38=_0x36f126;_0x6ab00===_0x319b38(0x285)&&typeof _0xedd3d5==_0x319b38(0x184)&&(_0x2ce897[_0x6ab00]=_0xedd3d5[_0x319b38(0x1d1)](/url\(#(.*)\)/,_0x319b38(0x2bf)+_0x17a998['idSuffix']+')'));});const {defIds:_0x3d7ade}=_0x17a998;return!_0x3d7ade||_0x3d7ade[_0x36f126(0x1e3)]===0x0||(_0x39c9f1[_0x36f126(0x1d4)]===_0x36f126(0x2d9)&&_0x2ce897[_0x36f126(0x17b)]&&(_0x2ce897[_0x36f126(0x17b)]=_0x2ce897[_0x36f126(0x17b)]+_0x17a998[_0x36f126(0x22f)]),Object[_0x36f126(0x2b2)](_0x2ce897)['forEach'](([_0x1d6a3a,_0x481f67])=>{const _0x38aca1=_0x36f126;typeof _0x481f67=='string'&&(_0x2ce897[_0x1d6a3a]=_0x481f67[_0x38aca1(0x1d1)](/url\(#(.*)\)/,_0x38aca1(0x2bf)+_0x17a998[_0x38aca1(0x22f)]+')'));})),_0x2ce897;}function ve(_0x325f4c,_0x4eb73e){const _0x419dde=_0x54e4df;var _0x1a4135;const {defIds:_0x2bc0da}=_0x4eb73e;return!_0x2bc0da||_0x2bc0da[_0x419dde(0x1e3)]===0x0?_0x325f4c:_0x325f4c[_0x419dde(0x1d4)]===_0x419dde(0x25b)&&((_0x1a4135=_0x325f4c[_0x419dde(0x1ff)])!=null&&_0x1a4135[_0x419dde(0x1e3)])?{..._0x325f4c,'children':_0x325f4c[_0x419dde(0x1ff)]['map'](_0xb81d04=>typeof _0xb81d04[_0x419dde(0x250)]['id']=='string'&&_0x2bc0da&&_0x2bc0da[_0x419dde(0x1f2)](_0xb81d04[_0x419dde(0x250)]['id'])?{..._0xb81d04,'attrs':{..._0xb81d04['attrs'],'id':_0xb81d04[_0x419dde(0x250)]['id']+_0x4eb73e[_0x419dde(0x22f)]}}:_0xb81d04)}:_0x325f4c;}function de(){const _0x4a0d28=_0x54e4df;return Math[_0x4a0d28(0x197)]()[_0x4a0d28(0x181)](0x24)[_0x4a0d28(0x265)](0x2,0x8);}_[_0x54e4df(0x2ac)]=_0x54e4df(0x2b9);const Ce={'tag':'svg','attrs':{'xmlns':_0x54e4df(0x1c0),'fill':_0x54e4df(0x1a6),'viewBox':'0\x200\x2016\x2016','width':_0x54e4df(0x229),'height':'1em'},'children':[{'tag':_0x54e4df(0x29d),'attrs':{'fill':_0x54e4df(0x1b0),'d':_0x54e4df(0x173),'fillRule':'evenodd','clipRule':_0x54e4df(0x1a9)}}]},H=d['forwardRef'](function(_0x536b14,_0xf4af69){const _0x4c0f91=_0x54e4df;return d[_0x4c0f91(0x2b6)](_,Object[_0x4c0f91(0x2d6)]({},_0x536b14,{'id':_0x4c0f91(0x2cb),'ref':_0xf4af69,'icon':Ce}));});H[_0x54e4df(0x2ac)]=_0x54e4df(0x25f);const ge={'tag':_0x54e4df(0x2c9),'attrs':{'xmlns':_0x54e4df(0x1c0),'fill':'none','viewBox':_0x54e4df(0x254),'width':_0x54e4df(0x229),'height':_0x54e4df(0x229)},'children':[{'tag':_0x54e4df(0x29d),'attrs':{'fill':_0x54e4df(0x1b0),'d':_0x54e4df(0x279)}}]},B=d[_0x54e4df(0x2bb)](function(_0x3edaa5,_0x102f2d){const _0x2e0a1f=_0x54e4df;return d[_0x2e0a1f(0x2b6)](_,Object['assign']({},_0x3edaa5,{'id':_0x2e0a1f(0x195),'ref':_0x102f2d,'icon':ge}));});B['displayName']=_0x54e4df(0x273);const fe={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x54e4df(0x1a6),'viewBox':_0x54e4df(0x254),'width':_0x54e4df(0x229),'height':_0x54e4df(0x229)},'children':[{'tag':_0x54e4df(0x29d),'attrs':{'fill':_0x54e4df(0x1b0),'d':'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'}},{'tag':_0x54e4df(0x29d),'attrs':{'fill':'currentColor','d':'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'}},{'tag':_0x54e4df(0x29d),'attrs':{'fill':'currentColor','d':_0x54e4df(0x2b7),'fillRule':_0x54e4df(0x1a9),'clipRule':_0x54e4df(0x1a9)}}]},F=d[_0x54e4df(0x2bb)](function(_0x577faf,_0x469b38){const _0x3b225f=_0x54e4df;return d[_0x3b225f(0x2b6)](_,Object[_0x3b225f(0x2d6)]({},_0x577faf,{'id':_0x3b225f(0x19e),'ref':_0x469b38,'icon':fe}));});F[_0x54e4df(0x2ac)]='HelpIcon';const pe={'tag':'svg','attrs':{'xmlns':_0x54e4df(0x1c0),'fill':_0x54e4df(0x1a6),'viewBox':_0x54e4df(0x254),'width':_0x54e4df(0x229),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x54e4df(0x16c)},'children':[{'tag':_0x54e4df(0x29d),'attrs':{'stroke':'currentColor','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':_0x54e4df(0x249),'strokeLinejoin':_0x54e4df(0x249),'strokeWidth':1.2}}]},{'tag':_0x54e4df(0x25b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x54e4df(0x152)},'children':[{'tag':_0x54e4df(0x29d),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Y=d[_0x54e4df(0x2bb)](function(_0x5df621,_0x180ed6){const _0x4aba56=_0x54e4df;return d[_0x4aba56(0x2b6)](_,Object[_0x4aba56(0x2d6)]({},_0x5df621,{'id':'off-line-icon','ref':_0x180ed6,'icon':pe}));});Y[_0x54e4df(0x2ac)]='OffLineIcon';const he={'tag':_0x54e4df(0x2c9),'attrs':{'xmlns':_0x54e4df(0x1c0),'fill':_0x54e4df(0x1a6),'viewBox':_0x54e4df(0x235),'width':_0x54e4df(0x229),'height':_0x54e4df(0x229)},'children':[{'tag':'g','attrs':{'clipPath':_0x54e4df(0x2d1)},'children':[{'tag':_0x54e4df(0x29d),'attrs':{'stroke':'currentColor','d':_0x54e4df(0x252),'strokeLinecap':_0x54e4df(0x249),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x54e4df(0x280),'attrs':{'id':_0x54e4df(0x219)},'children':[{'tag':_0x54e4df(0x29d),'attrs':{'fill':_0x54e4df(0x1bf),'d':'M0\x200H16V16H0z','transform':_0x54e4df(0x24e)}}]}]}],'defIds':[_0x54e4df(0x219)]},q=d[_0x54e4df(0x2bb)](function(_0x5fcc3f,_0x549150){const _0x44d957=_0x54e4df;return d[_0x44d957(0x2b6)](_,Object['assign']({},_0x5fcc3f,{'id':_0x44d957(0x188),'ref':_0x549150,'icon':he}));});q[_0x54e4df(0x2ac)]=_0x54e4df(0x241);function V(_0x33aaec){const _0x508857=_0x54e4df;var _0x1fdb90,_0x4f5f5a;const {mcpCoreConfig:_0x4bff8,onSave:_0x2be63e,loading:_0xbfa26f=!0x1,config:_0x30927e,connectionStatus$:_0x2103f8,connectionError$:_0x4c9781,currentApiKey$:_0x4b1387,currentSessionId$:_0x2deb86}=_0x33aaec,_0x2b83f9=v['useDependency'](u[_0x508857(0x243)]),_0x25d483=v['useObservable'](_0x2103f8,s[_0x508857(0x22a)]['DISCONNECTED']),_0x51d2ad=v[_0x508857(0x151)](_0x4c9781,s[_0x508857(0x213)][_0x508857(0x1af)]),_0x31b3cc=v[_0x508857(0x151)](_0x2deb86,''),_0x17a63a=v[_0x508857(0x151)](_0x4b1387,''),[_0x27ee59,_0x5b427d]=d[_0x508857(0x23f)](_0x17a63a||''),_0x3773d7=!0x0,_0x3cd891=_0x30927e['showDeveloperTools']&&_0x4bff8['mcpServerUrl']&&(_0x4bff8[_0x508857(0x294)]['includes'](_0x508857(0x2d0))||_0x4bff8[_0x508857(0x294)][_0x508857(0x1f2)](_0x508857(0x21a))),_0x2f39a3=(_0x1fdb90=_0x4bff8[_0x508857(0x294)])==null?void 0x0:_0x1fdb90[_0x508857(0x1f2)]('univer.plus'),_0x409839=(_0x4f5f5a=_0x4bff8[_0x508857(0x294)])==null?void 0x0:_0x4f5f5a[_0x508857(0x1f2)]('univer.ai'),_0x43a985=_0x2f39a3?_0x508857(0x223):_0x508857(0x2b0),_0xfcbad7=_0x30927e[_0x508857(0x2c8)]&&(_0x2f39a3||_0x409839),[_0x305776,_0x31ae12]=d[_0x508857(0x23f)](!_0x27ee59[_0x508857(0x1e8)]()),_0x10bfcc=(_0x2ec74d,_0x5dae93)=>{const _0x50de2c=_0x508857;if(_0x5dae93===s['MCPConnectionError'][_0x50de2c(0x23b)])return _0x50de2c(0x1b7);switch(_0x2ec74d){case s[_0x50de2c(0x22a)][_0x50de2c(0x23c)]:return _0x50de2c(0x2b4);case s['MCPConnectionStatus'][_0x50de2c(0x1b2)]:case s['MCPConnectionStatus'][_0x50de2c(0x18f)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s[_0x50de2c(0x22a)][_0x50de2c(0x1b9)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x50de2c(0x2a0);}},_0x48f0d7=(_0x2c5584,_0x5853cf)=>{const _0x3a6961=_0x508857;if(_0x5853cf===s[_0x3a6961(0x213)][_0x3a6961(0x23b)])return'univer-bg-red-500';switch(_0x2c5584){case s[_0x3a6961(0x22a)]['CONNECTED']:return _0x3a6961(0x246);case s[_0x3a6961(0x22a)][_0x3a6961(0x1b2)]:case s[_0x3a6961(0x22a)][_0x3a6961(0x18f)]:return _0x3a6961(0x256);case s[_0x3a6961(0x22a)]['FAILED']:return'univer-bg-red-500';default:return _0x3a6961(0x286);}},_0x56c105=_0x22fe87=>{const _0x471624=_0x508857;switch(_0x22fe87){case s[_0x471624(0x22a)]['CONNECTED']:return _0x2b83f9['t']('mcpConfig.connectionStatus.connected');case s[_0x471624(0x22a)]['CONNECTING']:return _0x2b83f9['t'](_0x471624(0x16a));case s[_0x471624(0x22a)][_0x471624(0x1b9)]:return _0x2b83f9['t']('mcpConfig.connectionStatus.failed');case s[_0x471624(0x22a)][_0x471624(0x18f)]:return _0x2b83f9['t']('mcpConfig.connectionStatus.retrying');default:return _0x2b83f9['t']('mcpConfig.connectionStatus.disconnected');}},_0xae08e4=_0x11017e=>{const _0x56b3f4=_0x508857;switch(_0x11017e){case s['MCPConnectionError']['UNAUTHORIZED']:return _0x2b83f9['t'](_0x56b3f4(0x1fa));case s[_0x56b3f4(0x213)][_0x56b3f4(0x190)]:return _0x2b83f9['t'](_0x56b3f4(0x272));case s[_0x56b3f4(0x213)][_0x56b3f4(0x2cd)]:return _0x2b83f9['t'](_0x56b3f4(0x17f));case s[_0x56b3f4(0x213)][_0x56b3f4(0x1f4)]:return _0x2b83f9['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x5b9a12=d[_0x508857(0x295)](()=>{const _0x12a155=_0x508857,_0x1a0377={..._0x4bff8,'apiKey':_0x27ee59[_0x12a155(0x1e8)](),'enableAuth':_0x3773d7};_0x2be63e(_0x1a0377);},[_0x4bff8,_0x27ee59,_0x3773d7,_0x2be63e]),_0xe77a03=_0x27ee59[_0x508857(0x1e8)]()[_0x508857(0x1e3)]>0x0;return i['jsxs'](_0x508857(0x2a9),{'className':_0x508857(0x156),'children':[i[_0x508857(0x247)](_0x508857(0x2a9),{'className':_0x508857(0x1b3),'children':i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[i['jsx'](_0x508857(0x2a9),{'className':_0x508857(0x160),'children':i[_0x508857(0x247)](_0x508857(0x153),{'className':_0x508857(0x15f),'children':'⚙'})}),i[_0x508857(0x247)](_0x508857(0x2a9),{'children':i[_0x508857(0x247)]('p',{'className':_0x508857(0x1fd),'children':_0x2b83f9['t']('mcpConfig.description')})})]})}),i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':_0x508857(0x1b4),'children':[i[_0x508857(0x247)](_0x508857(0x2a9),{'className':f[_0x508857(0x170)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x10bfcc(_0x25d483,_0x51d2ad)),'children':i[_0x508857(0x2a2)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x508857(0x247)]('div',{'className':f[_0x508857(0x170)](_0x508857(0x1e5),_0x48f0d7(_0x25d483,_0x51d2ad))}),i[_0x508857(0x247)](_0x508857(0x153),{'className':'univer-text-sm\x20univer-font-medium','children':_0x56c105(_0x25d483)})]})}),_0x51d2ad!==s[_0x508857(0x213)][_0x508857(0x1af)]&&(_0x25d483===s[_0x508857(0x22a)][_0x508857(0x1b9)]||_0x51d2ad===s['MCPConnectionError']['UNAUTHORIZED'])&&i[_0x508857(0x247)](_0x508857(0x2a9),{'className':_0x508857(0x27d),'children':i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[i[_0x508857(0x247)](_0x508857(0x153),{'className':_0x508857(0x185),'children':'⚠️'}),i[_0x508857(0x247)]('p',{'className':_0x508857(0x1ea),'children':_0xae08e4(_0x51d2ad)})]})})]}),i[_0x508857(0x247)](_0x508857(0x2a9),{'className':_0x508857(0x271),'children':i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':_0x508857(0x26e),'children':[i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':_0x508857(0x1da),'children':[i[_0x508857(0x2a2)]('label',{'className':_0x508857(0x2c1),'children':[i[_0x508857(0x247)](_0x508857(0x153),{'children':'🔑'}),'\x20',_0x2b83f9['t'](_0x508857(0x27f)),i[_0x508857(0x247)](_0x508857(0x153),{'className':_0x508857(0x189),'children':'*'}),_0x3cd891&&i[_0x508857(0x247)]('a',{'className':_0x508857(0x2c6),'title':_0x2b83f9['t'](_0x508857(0x238)),'role':_0x508857(0x16e),'onClick':()=>_0x31ae12(!0x0),'children':i['jsx'](F,{})})]}),i[_0x508857(0x247)](f[_0x508857(0x163)],{'type':_0x508857(0x20b),'placeholder':_0x2b83f9['t'](_0x508857(0x1d9)),'value':_0x27ee59,'disabled':_0xbfa26f,'autoComplete':_0x508857(0x1a2),'onChange':_0x5b427d}),i['jsx']('p',{'className':_0x508857(0x1a3),'children':_0x2b83f9['t'](_0x508857(0x1ad))})]}),_0x3cd891&&_0x305776&&i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':_0x508857(0x1bb),'children':[i[_0x508857(0x247)]('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-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','role':_0x508857(0x16e),'onClick':()=>_0x31ae12(!0x1),'children':i[_0x508857(0x247)](B,{'className':_0x508857(0x222)})}),i['jsxs'](_0x508857(0x2a9),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x508857(0x247)]('div',{'className':_0x508857(0x27c),'children':i[_0x508857(0x247)](_0x508857(0x153),{'className':_0x508857(0x276),'children':'🚀'})}),i['jsxs'](_0x508857(0x2a9),{'className':_0x508857(0x1c8),'children':[i['jsx']('h4',{'className':_0x508857(0x255),'children':_0x2b83f9['t']('mcpConfig.apiApplyInfo.title')}),i[_0x508857(0x247)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x2b83f9['t'](_0x508857(0x24c))}),i[_0x508857(0x247)](_0x508857(0x2a9),{'className':_0x508857(0x20d),'children':_0xfcbad7&&i[_0x508857(0x2a2)]('a',{'className':_0x508857(0x289),'href':_0x43a985,'target':_0x508857(0x257),'rel':_0x508857(0x2a1),'children':[i[_0x508857(0x247)](_0x508857(0x153),{'children':'🤖'}),_0x2b83f9['t']('mcpConfig.apiApplyInfo.univerAiLabel'),i[_0x508857(0x247)](_0x508857(0x153),{'className':_0x508857(0x16d),'children':'↗'})]})}),i['jsxs'](_0x508857(0x2a9),{'className':_0x508857(0x15a),'children':['✨','\x20',_0x2b83f9['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x30927e[_0x508857(0x2c8)]&&i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':_0x508857(0x23d),'children':[i[_0x508857(0x2a2)]('h4',{'className':_0x508857(0x215),'children':[i['jsx'](_0x508857(0x153),{'children':'🔗'}),'\x20',_0x2b83f9['t'](_0x508857(0x200))]}),i['jsxs'](_0x508857(0x2a9),{'className':_0x508857(0x287),'children':[i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':_0x508857(0x2d7),'children':[i[_0x508857(0x247)]('p',{'className':_0x508857(0x198),'children':_0x2b83f9['t'](_0x508857(0x176))}),i[_0x508857(0x2a2)]('div',{'className':_0x508857(0x1da),'children':[i['jsx'](_0x508857(0x2a9),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x2b83f9['t'](_0x508857(0x178))}),i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':_0x508857(0x25d),'children':[i['jsxs']('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x508857(0x247)]('span',{'className':_0x508857(0x165),'children':'1'}),_0x2b83f9['t'](_0x508857(0x171))]}),i['jsxs'](_0x508857(0x2a9),{'className':_0x508857(0x2b8),'children':[i[_0x508857(0x247)](_0x508857(0x153),{'className':_0x508857(0x165),'children':'2'}),_0x2b83f9['t'](_0x508857(0x1a0))]}),i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':_0x508857(0x2b8),'children':[i[_0x508857(0x247)](_0x508857(0x153),{'className':_0x508857(0x165),'children':'3'}),_0x2b83f9['t'](_0x508857(0x1c3))]})]})]})]}),i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':_0x508857(0x1da),'children':[i[_0x508857(0x247)](_0x508857(0x2a9),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':'MCP\x20Configuration'}),i['jsx'](_0x508857(0x2a9),{'className':_0x508857(0x28d),'children':i['jsx'](_0x508857(0x2d5),{'className':_0x508857(0x299),'children':JSON['stringify']({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x31b3cc||_0x508857(0x236)),'type':'http','headers':{'Authorization':_0x508857(0x157)+(_0x27ee59||_0x508857(0x1c9))}}}},null,0x2)})})]}),i['jsxs']('div',{'className':'univer-space-y-3','children':[i[_0x508857(0x247)](_0x508857(0x2a9),{'className':_0x508857(0x296),'children':_0x2b83f9['t'](_0x508857(0x2c5))}),i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':_0x508857(0x1da),'children':[i['jsxs']('div',{'className':_0x508857(0x167),'children':[i[_0x508857(0x247)](_0x508857(0x2a9),{'className':_0x508857(0x251)}),i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':_0x508857(0x292),'children':[i[_0x508857(0x247)](_0x508857(0x2a9),{'className':_0x508857(0x227),'children':_0x508857(0x284)}),i[_0x508857(0x247)](_0x508857(0x2a9),{'className':_0x508857(0x1a3),'children':_0x2b83f9['t'](_0x508857(0x260))})]})]}),i[_0x508857(0x2a2)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i[_0x508857(0x247)](_0x508857(0x2a9),{'className':_0x508857(0x251)}),i['jsxs'](_0x508857(0x2a9),{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x508857(0x247)](_0x508857(0x2a9),{'className':_0x508857(0x227),'children':_0x508857(0x1ce)}),i[_0x508857(0x247)]('div',{'className':_0x508857(0x1a3),'children':_0x2b83f9['t'](_0x508857(0x25a))})]})]})]})]})]})]}),i[_0x508857(0x247)](f[_0x508857(0x18d)],{'onClick':_0x5b9a12,'disabled':!_0xe77a03||_0xbfa26f,'className':_0x508857(0x21d),'children':_0xbfa26f?i[_0x508857(0x2a2)](_0x508857(0x153),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i['jsx'](_0x508857(0x153),{'children':'⟲'}),_0x2b83f9['t'](_0x508857(0x22c))]}):i[_0x508857(0x2a2)]('span',{'className':_0x508857(0x2b8),'children':[i[_0x508857(0x247)](H,{}),_0x2b83f9['t']('mcpConfig.save')]})}),i[_0x508857(0x247)]('div',{'className':_0x508857(0x18c),'children':i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':'univer-flex\x20univer-gap-3','children':[i['jsx'](_0x508857(0x153),{'className':_0x508857(0x29c),'children':'💡'}),i[_0x508857(0x2a2)](_0x508857(0x2a9),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[i[_0x508857(0x247)](_0x508857(0x2a9),{'className':_0x508857(0x2ae),'children':_0x508857(0x21c)}),i[_0x508857(0x2a2)](_0x508857(0x2a9),{'children':['•',_0x2b83f9['t'](_0x508857(0x1db))]}),i[_0x508857(0x2a2)](_0x508857(0x2a9),{'children':['•',_0x2b83f9['t'](_0x508857(0x1d8))]})]})]})})]})})]});}const P=_0x54e4df(0x29e),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x54e4df(0x26b)],xe=(_0x163d4a,_0x3d0ce1,_0x36892b,_0x51924e)=>{for(var _0x106280=_0x51924e>0x1?void 0x0:_0x51924e?me(_0x3d0ce1,_0x36892b):_0x3d0ce1,_0x1dd4b8=_0x163d4a['length']-0x1,_0x19f291;_0x1dd4b8>=0x0;_0x1dd4b8--)(_0x19f291=_0x163d4a[_0x1dd4b8])&&(_0x106280=_0x19f291(_0x106280)||_0x106280);return _0x106280;},g=(_0x18279c,_0x284bc9)=>(_0x2f814e,_0x2e040a)=>_0x284bc9(_0x2f814e,_0x2e040a,_0x18279c);const O='mcp.apiKey',D=_0x54e4df(0x293);exports[_0x54e4df(0x194)]=class extends u['Disposable']{constructor(_0x542975,_0x5bedd4,_0x15a9ac,_0x4dba7f,_0x460416,_0x419400,_0x27f93e,_0x43071f,_0x139d2f,_0x72f41b){const _0x3bfced=_0x54e4df;super(),I(this,_0x3bfced(0x224),new M[(_0x3bfced(0x1aa))](!0x1)),I(this,_0x3bfced(0x216),new M['BehaviorSubject']({})),I(this,_0x3bfced(0x196),new M[(_0x3bfced(0x1aa))]({})),I(this,_0x3bfced(0x17a),new M['BehaviorSubject']('')),I(this,_0x3bfced(0x15c),async _0xe8f89c=>{const _0x501304=_0x3bfced;var _0x1a7d76,_0x2ab65e;this[_0x501304(0x224)][_0x501304(0x1be)](!0x0);try{const _0x38cf61=await this[_0x501304(0x1f6)](_0xe8f89c);if(!_0x38cf61[_0x501304(0x1f0)]){this[_0x501304(0x182)][_0x501304(0x17c)]({'type':f[_0x501304(0x1dd)][_0x501304(0x2a7)],'content':_0x38cf61[_0x501304(0x264)]||this[_0x501304(0x233)]['t']('mcpConfig.validation.invalidConfig')});return;}_0xe8f89c[_0x501304(0x20e)]?await this[_0x501304(0x1df)][_0x501304(0x221)](O,_0xe8f89c[_0x501304(0x20e)]['trim']()):await this[_0x501304(0x1df)][_0x501304(0x16f)](O),this[_0x501304(0x17a)][_0x501304(0x1be)](((_0x1a7d76=_0xe8f89c['apiKey'])==null?void 0x0:_0x1a7d76[_0x501304(0x1e8)]())||''),this[_0x501304(0x18e)][_0x501304(0x268)]({'Authorization':_0x501304(0x157)+((_0x2ab65e=_0xe8f89c['apiKey'])==null?void 0x0:_0x2ab65e[_0x501304(0x1e8)]())}),this['_messageService'][_0x501304(0x17c)]({'type':f[_0x501304(0x1dd)][_0x501304(0x1eb)],'content':this[_0x501304(0x233)]['t'](_0x501304(0x1f1))}),setTimeout(()=>{const _0x2b3f25=_0x501304;this[_0x2b3f25(0x230)]['close'](D);},0x320);}catch(_0x24c299){this[_0x501304(0x1c1)][_0x501304(0x212)](_0x501304(0x174),_0x24c299),this[_0x501304(0x182)][_0x501304(0x17c)]({'type':f[_0x501304(0x1dd)][_0x501304(0x2a7)],'content':this[_0x501304(0x233)]['t']('mcpConfig.configError')});}finally{this[_0x501304(0x224)][_0x501304(0x1be)](!0x1);}}),(this['_injector']=_0x542975,this[_0x3bfced(0x207)]=_0x5bedd4,this[_0x3bfced(0x267)]=_0x15a9ac,this[_0x3bfced(0x1df)]=_0x4dba7f,this['_dialogService']=_0x460416,this[_0x3bfced(0x182)]=_0x419400,this[_0x3bfced(0x28b)]=_0x27f93e,this[_0x3bfced(0x233)]=_0x43071f,this[_0x3bfced(0x1c1)]=_0x139d2f,this[_0x3bfced(0x18e)]=_0x72f41b,this['_initConfigSync'](),this[_0x3bfced(0x24b)](),this['_registerComponent']());}[_0x54e4df(0x21f)](){const _0x3d1cc0=_0x54e4df,_0x37ef32=this[_0x3d1cc0(0x267)][_0x3d1cc0(0x288)](P);_0x37ef32!=null&&_0x37ef32[_0x3d1cc0(0x2c8)]&&this[_0x3d1cc0(0x230)][_0x3d1cc0(0x2aa)]({'id':D,'title':{'title':this[_0x3d1cc0(0x233)]['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x438740=_0x3d1cc0;this['_dialogService'][_0x438740(0x1ee)](D);}});}[_0x54e4df(0x228)](){const _0x4e9d33=_0x54e4df;return this['_mcpCoreConfig$'][_0x4e9d33(0x18b)];}[_0x54e4df(0x1dc)](){const _0x17b677=_0x54e4df;this[_0x17b677(0x1f7)](this[_0x17b677(0x28b)][_0x17b677(0x169)]('MCPConfigPanel',this[_0x17b677(0x1cd)]()));}[_0x54e4df(0x1cd)](){const _0x43b544=_0x54e4df;return v[_0x43b544(0x186)](()=>{const _0x9cb18f=_0x43b544;var _0x5aace2,_0x2638fe,_0x464206;return i[_0x9cb18f(0x247)](V,{'config':this['_config$'][_0x9cb18f(0x18b)],'mcpCoreConfig':this[_0x9cb18f(0x216)][_0x9cb18f(0x18b)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x9cb18f(0x15c)],'loading':this[_0x9cb18f(0x224)]['value'],'connectionStatus$':(_0x5aace2=this[_0x9cb18f(0x18e)])==null?void 0x0:_0x5aace2[_0x9cb18f(0x20a)],'connectionError$':(_0x2638fe=this[_0x9cb18f(0x18e)])==null?void 0x0:_0x2638fe[_0x9cb18f(0x20c)],'currentSessionId$':(_0x464206=this['_mcpConnectionController'])==null?void 0x0:_0x464206[_0x9cb18f(0x2b3)]});},this['_injector']);}['_initConfigSync'](){const _0x5f04ea=_0x54e4df;this[_0x5f04ea(0x1f7)](this[_0x5f04ea(0x267)][_0x5f04ea(0x1cc)](s[_0x5f04ea(0x1d3)])['subscribe'](_0x2dbd98=>{const _0x62544c=_0x5f04ea;this[_0x62544c(0x216)][_0x62544c(0x1be)](_0x2dbd98||{});}));const _0x530eb8=this[_0x5f04ea(0x267)][_0x5f04ea(0x288)](s[_0x5f04ea(0x1d3)]);this[_0x5f04ea(0x216)][_0x5f04ea(0x1be)](_0x530eb8||{}),this[_0x5f04ea(0x1f7)](this['_configService'][_0x5f04ea(0x1cc)](P)[_0x5f04ea(0x1f5)](_0x2dbebf=>{const _0x46fd02=_0x5f04ea;this[_0x46fd02(0x196)][_0x46fd02(0x1be)](_0x2dbebf||{});}));const _0xf14668=this[_0x5f04ea(0x267)][_0x5f04ea(0x288)](P);this[_0x5f04ea(0x196)][_0x5f04ea(0x1be)](_0xf14668||{});}async[_0x54e4df(0x24b)](){const _0x4237e1=_0x54e4df,_0x120843=this[_0x4237e1(0x267)]['getConfig'](P);if(!(_0x120843!=null&&_0x120843['showDeveloperTools']))return;const _0x54a56d=await this['_localStorageService'][_0x4237e1(0x2d3)](O);_0x54a56d&&(this[_0x4237e1(0x18e)][_0x4237e1(0x268)]({'Authorization':_0x4237e1(0x157)+_0x54a56d}),this[_0x4237e1(0x17a)]['next'](_0x54a56d));}async[_0x54e4df(0x1f6)](_0x541e34){const _0x23c71a=_0x54e4df;if(!_0x541e34[_0x23c71a(0x20e)]||_0x541e34[_0x23c71a(0x20e)][_0x23c71a(0x1e8)]()[_0x23c71a(0x1e3)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x23c71a(0x233)]['t'](_0x23c71a(0x28c))};if(_0x541e34[_0x23c71a(0x20e)][_0x23c71a(0x1e8)]()[_0x23c71a(0x1e3)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x23c71a(0x29a))};try{const _0x19dde5=await this['_injector']['get'](s[_0x23c71a(0x18a)])[_0x23c71a(0x1e6)](_0x541e34[_0x23c71a(0x20e)][_0x23c71a(0x1e8)]());return _0x19dde5[_0x23c71a(0x1f0)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x19dde5[_0x23c71a(0x212)]||this[_0x23c71a(0x233)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x21d588){return console[_0x23c71a(0x1c2)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x21d588),{'isValid':!0x0};}}},exports[_0x54e4df(0x194)]=xe([g(0x0,u[_0x54e4df(0x1cb)](u[_0x54e4df(0x1d7)])),g(0x1,v[_0x54e4df(0x202)]),g(0x2,u[_0x54e4df(0x154)]),g(0x3,u['ILocalStorageService']),g(0x4,v[_0x54e4df(0x1c7)]),g(0x5,v[_0x54e4df(0x210)]),g(0x6,u[_0x54e4df(0x1cb)](v['ComponentManager'])),g(0x7,u[_0x54e4df(0x1cb)](u[_0x54e4df(0x243)])),g(0x8,u[_0x54e4df(0x1f8)]),g(0x9,u[_0x54e4df(0x1cb)](s[_0x54e4df(0x18a)]))],exports['MCPConfigUIController']);const b={'id':'mcp-ui.command.openConfigPanel','type':u[_0x54e4df(0x1e1)]['COMMAND'],'handler':async(_0x1d2880,_0x1a0866)=>(_0x1d2880['get'](exports[_0x54e4df(0x194)])[_0x54e4df(0x21f)](),!0x0)};function Z(_0x2dcbb6,_0x53b9c5){const _0x20c0c2=_0x54e4df;switch(_0x2dcbb6){case s[_0x20c0c2(0x22a)][_0x20c0c2(0x248)]:return _0x20c0c2(0x1ab);case s[_0x20c0c2(0x22a)][_0x20c0c2(0x1b2)]:return _0x20c0c2(0x19c);case s[_0x20c0c2(0x22a)]['CONNECTED']:return _0x20c0c2(0x2d8);case s[_0x20c0c2(0x22a)][_0x20c0c2(0x1b9)]:switch(_0x53b9c5){case s['MCPConnectionError'][_0x20c0c2(0x23b)]:return _0x20c0c2(0x244);case s[_0x20c0c2(0x213)][_0x20c0c2(0x190)]:return _0x20c0c2(0x19f);case s[_0x20c0c2(0x213)][_0x20c0c2(0x2cd)]:return _0x20c0c2(0x225);case s['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x20c0c2(0x17d);default:return _0x20c0c2(0x183);}case s[_0x20c0c2(0x22a)]['RETRYING']:return'mcpStatus.retrying';default:return _0x20c0c2(0x253);}}function Se(_0x527e9f,_0x1b3780,_0x20a65d,_0xe20396=!0x0){const _0x5976bd=_0x54e4df,_0x21c5a4=Z(_0x527e9f,_0x1b3780),_0x8718e5=_0x20a65d['t'](_0x21c5a4);return _0xe20396?_0x527e9f===s[_0x5976bd(0x22a)][_0x5976bd(0x248)]&&_0x1b3780===s[_0x5976bd(0x213)][_0x5976bd(0x23b)]?_0x8718e5+'\x20-\x20'+_0x20a65d['t']('mcpStatus.clickToConfigure'):_0x527e9f===s[_0x5976bd(0x22a)]['CONNECTED']?''+_0x8718e5:_0x527e9f===s[_0x5976bd(0x22a)][_0x5976bd(0x248)]||_0x527e9f===s[_0x5976bd(0x22a)][_0x5976bd(0x1b9)]?_0x8718e5+_0x5976bd(0x234)+_0x20a65d['t'](_0x5976bd(0x1fc)):_0x8718e5:_0x8718e5;}function Pe(_0x5a462a){const _0x366241=_0x54e4df;switch(_0x5a462a){case s['MCPConnectionStatus'][_0x366241(0x23c)]:return'univer-text-green-500';case s[_0x366241(0x22a)][_0x366241(0x1b2)]:case s[_0x366241(0x22a)][_0x366241(0x18f)]:return'univer-text-yellow-500';case s['MCPConnectionStatus']['FAILED']:case s['MCPConnectionStatus'][_0x366241(0x248)]:return _0x366241(0x189);default:return _0x366241(0x172);}}function W(_0x9a7670){const _0x2c05c5=_0x54e4df,{status$:_0xece5f1,error$:_0x8bdef7,onConfigure:_0xd0aae7,showClickable:_0x1f8602=!0x0}=_0x9a7670,_0x39e200=v[_0x2c05c5(0x151)](_0xece5f1,s['MCPConnectionStatus'][_0x2c05c5(0x248)]),_0x3c8242=v['useObservable'](_0x8bdef7,s[_0x2c05c5(0x213)][_0x2c05c5(0x1af)]),_0x5d2cb1=v[_0x2c05c5(0x298)](u[_0x2c05c5(0x243)]),_0x231ffa=_0x39e200===s[_0x2c05c5(0x22a)][_0x2c05c5(0x23c)];_0x39e200===s[_0x2c05c5(0x22a)][_0x2c05c5(0x1b2)]||s[_0x2c05c5(0x22a)]['RETRYING'];const _0x54054d=_0x5d2cb1['t'](Z(_0x39e200,_0x3c8242)),_0x3807cd=Se(_0x39e200,_0x3c8242,_0x5d2cb1,_0x1f8602),_0x12ae84=Pe(_0x39e200),_0x27f88f=_0x231ffa?i['jsx'](q,{}):i[_0x2c05c5(0x247)](Y,{}),_0x720ff7=d[_0x2c05c5(0x295)](()=>{_0x1f8602&&_0xd0aae7&&_0xd0aae7();},[_0x1f8602,_0xd0aae7]);function _0x38c560(){const _0x5c765d=_0x2c05c5;return i['jsxs'](_0x5c765d(0x2a9),{'className':f['clsx']('univer-flex\x20univer-items-center',_0x1f8602&&_0xd0aae7&&_0x5c765d(0x2bd)),'role':_0x5c765d(0x16e),'onClick':_0x1f8602&&_0xd0aae7?_0x720ff7:void 0x0,'children':[i[_0x5c765d(0x247)](_0x5c765d(0x2a9),{'className':f[_0x5c765d(0x170)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x12ae84),'children':_0x27f88f}),i[_0x5c765d(0x247)](_0x5c765d(0x2a9),{'className':_0x5c765d(0x1c6),'children':_0x54054d})]});}return i[_0x2c05c5(0x247)](f[_0x2c05c5(0x2d2)],{'title':_0x3807cd,'placement':_0x2c05c5(0x28a),'children':_0x38c560()});}var Ie=Object[_0x54e4df(0x26b)],_e=(_0x13e8bc,_0x1d504d,_0x13112b,_0x54400d)=>{const _0x570cec=_0x54e4df;for(var _0x32fc27=_0x54400d>0x1?void 0x0:_0x54400d?Ie(_0x1d504d,_0x13112b):_0x1d504d,_0x5233cb=_0x13e8bc[_0x570cec(0x1e3)]-0x1,_0x504857;_0x5233cb>=0x0;_0x5233cb--)(_0x504857=_0x13e8bc[_0x5233cb])&&(_0x32fc27=_0x504857(_0x32fc27)||_0x32fc27);return _0x32fc27;},N=(_0x48286f,_0x593eee)=>(_0x4c3fc6,_0x48d333)=>_0x593eee(_0x4c3fc6,_0x48d333,_0x48286f);exports['MCPConnectionUIController']=class extends u[_0x54e4df(0x263)]{constructor(_0x19c80a,_0x22a978,_0x23fe55,_0x8e45ea){const _0xf728d0=_0x54e4df;super(),this[_0xf728d0(0x1d6)]=_0x19c80a,this[_0xf728d0(0x2cc)]=_0x22a978,this['_uiPartsService']=_0x23fe55,this[_0xf728d0(0x267)]=_0x8e45ea,this[_0xf728d0(0x1bd)](),this[_0xf728d0(0x204)]();}[_0x54e4df(0x1bd)](){const _0x3d78b3=_0x54e4df,_0x5246c8=this[_0x3d78b3(0x267)][_0x3d78b3(0x288)](P);_0x5246c8!=null&&_0x5246c8[_0x3d78b3(0x2c8)]&&(this['_connectionController'][_0x3d78b3(0x208)]=!0x1);}['_initStatusComponent'](){const _0x19ff3f=_0x54e4df,_0x9cd4f3=this[_0x19ff3f(0x267)]['getConfig'](P);(_0x9cd4f3==null?void 0x0:_0x9cd4f3[_0x19ff3f(0x155)])!==!0x1&&this['disposeWithMe'](this[_0x19ff3f(0x207)][_0x19ff3f(0x2ce)](v[_0x19ff3f(0x2ad)]['HEADER_MENU'],()=>{const _0x180113=_0x19ff3f;var _0x12055e;return v[_0x180113(0x186)](ye({'status$':this[_0x180113(0x2cc)][_0x180113(0x20a)],'error$':this[_0x180113(0x2cc)][_0x180113(0x20c)],'onConfigure':()=>this[_0x180113(0x21e)](),'showClickable':(_0x12055e=_0x9cd4f3==null?void 0x0:_0x9cd4f3['showDeveloperTools'])!=null?_0x12055e:!0x1}),this['_injector']);}));}[_0x54e4df(0x21e)](){const _0x248440=_0x54e4df;this[_0x248440(0x1d6)][_0x248440(0x240)](exports[_0x248440(0x194)])['showConfigPanel']();}},exports[_0x54e4df(0x2a4)]=_e([N(0x0,u[_0x54e4df(0x1cb)](u['Injector'])),N(0x1,u[_0x54e4df(0x1cb)](s['MCPConnectionController'])),N(0x2,v['IUIPartsService']),N(0x3,u[_0x54e4df(0x154)])],exports[_0x54e4df(0x2a4)]);function ye(_0x335204){const {status$:_0x186b54,error$:_0x748c54,onConfigure:_0x5a9001,showClickable:_0x5ad128}=_0x335204;return function(){const _0x8325c4=_0x237e;return i[_0x8325c4(0x247)](W,{'status$':_0x186b54,'error$':_0x748c54,'onConfigure':_0x5a9001,'showClickable':_0x5ad128});};}function Me(_0x27cf75){const _0x183dbc=_0x54e4df;return{'id':b['id'],'type':v[_0x183dbc(0x1e9)][_0x183dbc(0x274)],'icon':_0x183dbc(0x25c),'title':_0x183dbc(0x2a8),'tooltip':_0x183dbc(0x2a8)};}const Ne={[v['RibbonStartGroup'][_0x54e4df(0x179)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};function _0x237e(_0x43b6a7,_0x540aaf){const _0x4a78ce=_0x4a78();return _0x237e=function(_0x237e95,_0x5957e0){_0x237e95=_0x237e95-0x151;let _0x568dc5=_0x4a78ce[_0x237e95];return _0x568dc5;},_0x237e(_0x43b6a7,_0x540aaf);}var be=Object['getOwnPropertyDescriptor'],je=(_0x3b07ce,_0x151803,_0x5e865c,_0x4082b0)=>{const _0x2e3d13=_0x54e4df;for(var _0x19bc17=_0x4082b0>0x1?void 0x0:_0x4082b0?be(_0x151803,_0x5e865c):_0x151803,_0x5910b3=_0x3b07ce[_0x2e3d13(0x1e3)]-0x1,_0x183baa;_0x5910b3>=0x0;_0x5910b3--)(_0x183baa=_0x3b07ce[_0x5910b3])&&(_0x19bc17=_0x183baa(_0x19bc17)||_0x19bc17);return _0x19bc17;},z=(_0x427a25,_0x5e162e)=>(_0x537077,_0x30aa3b)=>_0x5e162e(_0x537077,_0x30aa3b,_0x427a25);exports['MCPUIMenuController']=class extends u[_0x54e4df(0x263)]{constructor(_0x8dcc31,_0x588072){const _0x586e16=_0x54e4df;super(),this[_0x586e16(0x232)]=_0x8dcc31,this['_menuManagerService']=_0x588072,this[_0x586e16(0x166)](),this['_initializeMenus']();}[_0x54e4df(0x166)](){const _0x5fcd8b=_0x54e4df;[b][_0x5fcd8b(0x1b5)](_0x33c349=>{const _0x42aaa7=_0x5fcd8b;this[_0x42aaa7(0x1f7)](this[_0x42aaa7(0x232)][_0x42aaa7(0x26d)](_0x33c349));});}[_0x54e4df(0x281)](){const _0x975093=_0x54e4df;this['_menuManagerService'][_0x975093(0x162)](Ne);}},exports[_0x54e4df(0x1fb)]=je([z(0x0,u[_0x54e4df(0x29f)]),z(0x1,v['IMenuManagerService'])],exports[_0x54e4df(0x1fb)]);const Ee={'mcpStatus':{'disconnected':_0x54e4df(0x23e),'connecting':'MCP\x20Connecting...','connected':_0x54e4df(0x2b1),'failed':_0x54e4df(0x161),'retrying':_0x54e4df(0x2c0),'unknown':_0x54e4df(0x226),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x54e4df(0x191),'networkError':_0x54e4df(0x2c2),'maxRetriesExceeded':_0x54e4df(0x283),'clickToConnect':_0x54e4df(0x2b5),'clickToConfigure':_0x54e4df(0x245)},'mcpConfig':{'title':_0x54e4df(0x24a),'description':_0x54e4df(0x164),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x54e4df(0x1a8),'apiKeyHint':_0x54e4df(0x1ac),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x54e4df(0x1ba),'connectionInfo':_0x54e4df(0x15d),'mcpClientConfig':_0x54e4df(0x15d),'configInstructions':_0x54e4df(0x266),'configStepTitle':_0x54e4df(0x2c4),'configStep1':_0x54e4df(0x26f),'configStep2':_0x54e4df(0x1ae),'configStep3':_0x54e4df(0x297),'sessionId':_0x54e4df(0x16b),'sessionIdDescription':_0x54e4df(0x2ca),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x54e4df(0x1c4),'maxRetries':_0x54e4df(0x1cf),'save':_0x54e4df(0x205),'saving':_0x54e4df(0x2a6),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x54e4df(0x278),'configSaved':_0x54e4df(0x2af),'configError':_0x54e4df(0x193),'apiApplyInfo':{'title':_0x54e4df(0x27e),'description':_0x54e4df(0x192),'univerAiLabel':_0x54e4df(0x1ec),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x54e4df(0x209),'apiKeyTooShort':_0x54e4df(0x231),'invalidConfig':_0x54e4df(0x21b),'invalidApiKey':_0x54e4df(0x1ed)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x54e4df(0x206),'connected':'Connected','failed':_0x54e4df(0x275),'retrying':_0x54e4df(0x270)},'connectionError':{'unauthorized':_0x54e4df(0x177),'sessionOccupied':_0x54e4df(0x262),'networkError':_0x54e4df(0x1b6),'maxRetriesExceeded':_0x54e4df(0x214)}}},we={'mcpStatus':{'disconnected':_0x54e4df(0x1b8),'connecting':_0x54e4df(0x22d),'connected':_0x54e4df(0x217),'failed':_0x54e4df(0x168),'retrying':'MCP\x20重连中...','unknown':_0x54e4df(0x1fe),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x54e4df(0x159),'networkError':_0x54e4df(0x1f9),'maxRetriesExceeded':_0x54e4df(0x282),'clickToConnect':_0x54e4df(0x2da),'clickToConfigure':_0x54e4df(0x237)},'mcpConfig':{'title':'MCP\x20配置','description':_0x54e4df(0x1a4),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x54e4df(0x27b),'apiKeyHint':_0x54e4df(0x1e7),'enableAuth':_0x54e4df(0x1d2),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x54e4df(0x15e),'mcpClientConfig':_0x54e4df(0x15e),'configInstructions':_0x54e4df(0x242),'configStepTitle':_0x54e4df(0x24f),'configStep1':_0x54e4df(0x180),'configStep2':_0x54e4df(0x2d4),'configStep3':_0x54e4df(0x23a),'sessionId':_0x54e4df(0x1bc),'sessionIdDescription':_0x54e4df(0x290),'authorizationDescription':_0x54e4df(0x1ca),'configParameters':_0x54e4df(0x211),'maxRetries':_0x54e4df(0x19b),'save':_0x54e4df(0x1f3),'saving':'保存中...','note1':_0x54e4df(0x291),'note2':_0x54e4df(0x203),'configSaved':_0x54e4df(0x1e0),'configError':_0x54e4df(0x25e),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x54e4df(0x239),'univerAiLabel':_0x54e4df(0x277),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x54e4df(0x22e),'apiKeyTooShort':_0x54e4df(0x15b),'invalidConfig':_0x54e4df(0x2c3),'invalidApiKey':_0x54e4df(0x175)},'connectionStatus':{'disconnected':_0x54e4df(0x29b),'connecting':_0x54e4df(0x1d5),'connected':_0x54e4df(0x28e),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x54e4df(0x26a),'networkError':_0x54e4df(0x218),'maxRetriesExceeded':_0x54e4df(0x187)}}};var Ae=Object[_0x54e4df(0x28f)],Oe=Object[_0x54e4df(0x26b)],De=(_0x1d2151,_0x40537,_0x531956)=>_0x40537 in _0x1d2151?Ae(_0x1d2151,_0x40537,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x531956}):_0x1d2151[_0x40537]=_0x531956,Ue=(_0x43e2de,_0x4c35fe,_0x17e27a,_0x4d142b)=>{for(var _0x327b28=_0x4d142b>0x1?void 0x0:_0x4d142b?Oe(_0x4c35fe,_0x17e27a):_0x4c35fe,_0x326aab=_0x43e2de['length']-0x1,_0x1f31bc;_0x326aab>=0x0;_0x326aab--)(_0x1f31bc=_0x43e2de[_0x326aab])&&(_0x327b28=_0x1f31bc(_0x327b28)||_0x327b28);return _0x327b28;},y=(_0x2121ca,_0x541f8a)=>(_0x1e5bcf,_0x15d206)=>_0x541f8a(_0x1e5bcf,_0x15d206,_0x2121ca),$e=(_0x325db7,_0x4961fa,_0x546d1e)=>De(_0x325db7,_0x4961fa+'',_0x546d1e);exports[_0x54e4df(0x1d0)]=class extends u['Plugin']{constructor(_0x1405b0=L,_0x5066cc,_0x3d380c,_0x170151,_0x496911,_0x44c498){const _0x33d538=_0x54e4df;super(),this[_0x33d538(0x26c)]=_0x1405b0,this[_0x33d538(0x1d6)]=_0x5066cc,this['_configService']=_0x3d380c,this[_0x33d538(0x207)]=_0x170151,this[_0x33d538(0x1df)]=_0x496911,this[_0x33d538(0x233)]=_0x44c498;const {..._0x1ea9b1}=u['merge']({},L,this[_0x33d538(0x26c)]);this[_0x33d538(0x267)][_0x33d538(0x2cf)](P,_0x1ea9b1);}async[_0x54e4df(0x258)](){const _0x8a561a=_0x54e4df,_0x2354eb=[[exports[_0x8a561a(0x2a4)]],[exports['MCPConfigUIController']],[exports[_0x8a561a(0x1fb)]]];this[_0x8a561a(0x1d6)][_0x8a561a(0x1de)](A[_0x8a561a(0x1a1)])||_0x2354eb[_0x8a561a(0x1ef)]([A[_0x8a561a(0x1a1)],{'useClass':A[_0x8a561a(0x2a5)]}]),_0x2354eb[_0x8a561a(0x1b5)](_0x4b6b29=>this['_injector'][_0x8a561a(0x261)](_0x4b6b29)),this[_0x8a561a(0x1d6)]['get'](exports['MCPConnectionUIController']),this[_0x8a561a(0x1d6)][_0x8a561a(0x240)](exports[_0x8a561a(0x194)]),this['_injector'][_0x8a561a(0x240)](exports[_0x8a561a(0x1fb)]);}},$e(exports[_0x54e4df(0x1d0)],_0x54e4df(0x1a7),_0x54e4df(0x19a)),exports[_0x54e4df(0x1d0)]=Ue([u[_0x54e4df(0x2bc)](s[_0x54e4df(0x199)]),y(0x1,u[_0x54e4df(0x1cb)](u['Injector'])),y(0x2,u[_0x54e4df(0x154)]),y(0x3,v[_0x54e4df(0x202)]),y(0x4,u['ILocalStorageService']),y(0x5,u['Inject'](u[_0x54e4df(0x243)]))],exports[_0x54e4df(0x1d0)]),exports[_0x54e4df(0x27a)]=V,exports[_0x54e4df(0x19d)]=W,exports['OpenMCPConfigPanelCommand']=b,exports[_0x54e4df(0x2ba)]=Ee,exports['zhCN']=we;
1
+ 'use strict';const _0x17225c=_0x71a7;(function(_0x5c13c6,_0x10e07d){const _0x59e045=_0x71a7,_0x315495=_0x5c13c6();while(!![]){try{const _0x296a23=parseInt(_0x59e045(0x293))/0x1+parseInt(_0x59e045(0x200))/0x2+-parseInt(_0x59e045(0x239))/0x3+-parseInt(_0x59e045(0x23e))/0x4*(-parseInt(_0x59e045(0x282))/0x5)+parseInt(_0x59e045(0x16a))/0x6+parseInt(_0x59e045(0x26d))/0x7+-parseInt(_0x59e045(0x2c0))/0x8;if(_0x296a23===_0x10e07d)break;else _0x315495['push'](_0x315495['shift']());}catch(_0x5c3634){_0x315495['push'](_0x315495['shift']());}}}(_0x48fd,0xef4ae));var ae=Object[_0x17225c(0x1ca)],le=(_0x3430d9,_0x30ec40,_0xe53aaa)=>_0x30ec40 in _0x3430d9?ae(_0x3430d9,_0x30ec40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe53aaa}):_0x3430d9[_0x30ec40]=_0xe53aaa,I=(_0x368a5a,_0x415220,_0x4da0a4)=>le(_0x368a5a,typeof _0x415220!=_0x17225c(0x236)?_0x415220+'':_0x415220,_0x4da0a4);Object[_0x17225c(0x1ca)](exports,Symbol[_0x17225c(0x15c)],{'value':_0x17225c(0x284)});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0xb21ad4,..._0x8f0860}){const _0x2edd40=_0x17225c,{icon:_0x26e0dd,id:_0x4aa278,className:_0x1be2d8,extend:_0x27e1ee,..._0x664d8e}=_0x8f0860,_0x29f656=(_0x2edd40(0x27f)+_0x4aa278+'\x20'+(_0x1be2d8||''))['trim'](),_0x13290=d[_0x2edd40(0x1da)]('_'+de());return G(_0x26e0dd,''+_0x4aa278,{'defIds':_0x26e0dd[_0x2edd40(0x285)],'idSuffix':_0x13290[_0x2edd40(0x1cc)]},{'ref':_0xb21ad4,'className':_0x29f656,..._0x664d8e},_0x27e1ee);}function G(_0x21bd60,_0x15c703,_0x202bc7,_0x50950b,_0xff66e7){const _0xcbf080=_0x17225c;return d[_0xcbf080(0x143)](_0x21bd60['tag'],{'key':_0x15c703,...ue(_0x21bd60,_0x202bc7,_0xff66e7),..._0x50950b},(ve(_0x21bd60,_0x202bc7)[_0xcbf080(0x1b9)]||[])[_0xcbf080(0x147)]((_0x1d9933,_0x388c98)=>G(_0x1d9933,_0x15c703+'-'+_0x21bd60[_0xcbf080(0x17f)]+'-'+_0x388c98,_0x202bc7,void 0x0,_0xff66e7)));}function ue(_0x57408d,_0x45c1c5,_0x11e172){const _0x198413=_0x17225c,_0x216725={..._0x57408d['attrs']};_0x11e172!=null&&_0x11e172[_0x198413(0x19e)]&&_0x216725[_0x198413(0x24f)]===_0x198413(0x19e)&&(_0x216725[_0x198413(0x24f)]=_0x11e172[_0x198413(0x19e)]),_0x57408d[_0x198413(0x17f)]===_0x198413(0x254)&&_0x216725['id']&&(_0x216725['id']=_0x216725['id']+_0x45c1c5['idSuffix']),Object[_0x198413(0x19f)](_0x216725)[_0x198413(0x175)](([_0x54963c,_0x261c4a])=>{const _0x2af1e1=_0x198413;_0x54963c===_0x2af1e1(0x254)&&typeof _0x261c4a=='string'&&(_0x216725[_0x54963c]=_0x261c4a['replace'](/url\(#(.*)\)/,_0x2af1e1(0x16d)+_0x45c1c5[_0x2af1e1(0x260)]+')'));});const {defIds:_0x523c62}=_0x45c1c5;return!_0x523c62||_0x523c62['length']===0x0||(_0x57408d['tag']===_0x198413(0x1fe)&&_0x216725[_0x198413(0x1de)]&&(_0x216725['xlink:href']=_0x216725[_0x198413(0x1de)]+_0x45c1c5[_0x198413(0x260)]),Object[_0x198413(0x19f)](_0x216725)[_0x198413(0x175)](([_0xf6a80c,_0x4b1fb7])=>{const _0x3d17ed=_0x198413;typeof _0x4b1fb7==_0x3d17ed(0x26f)&&(_0x216725[_0xf6a80c]=_0x4b1fb7[_0x3d17ed(0x227)](/url\(#(.*)\)/,_0x3d17ed(0x16d)+_0x45c1c5[_0x3d17ed(0x260)]+')'));})),_0x216725;}function ve(_0x268d1d,_0x21af66){const _0x8b2d9f=_0x17225c;var _0x5046fe;const {defIds:_0x183af7}=_0x21af66;return!_0x183af7||_0x183af7[_0x8b2d9f(0x22a)]===0x0?_0x268d1d:_0x268d1d[_0x8b2d9f(0x17f)]===_0x8b2d9f(0x1be)&&((_0x5046fe=_0x268d1d[_0x8b2d9f(0x1b9)])!=null&&_0x5046fe[_0x8b2d9f(0x22a)])?{..._0x268d1d,'children':_0x268d1d[_0x8b2d9f(0x1b9)][_0x8b2d9f(0x147)](_0x582787=>typeof _0x582787[_0x8b2d9f(0x297)]['id']==_0x8b2d9f(0x26f)&&_0x183af7&&_0x183af7[_0x8b2d9f(0x2c9)](_0x582787[_0x8b2d9f(0x297)]['id'])?{..._0x582787,'attrs':{..._0x582787[_0x8b2d9f(0x297)],'id':_0x582787[_0x8b2d9f(0x297)]['id']+_0x21af66[_0x8b2d9f(0x260)]}}:_0x582787)}:_0x268d1d;}function de(){const _0x1f616e=_0x17225c;return Math[_0x1f616e(0x1e1)]()[_0x1f616e(0x1db)](0x24)[_0x1f616e(0x1c3)](0x2,0x8);}_['displayName']=_0x17225c(0x1a6);const Ce={'tag':_0x17225c(0x28d),'attrs':{'xmlns':_0x17225c(0x1e6),'fill':'none','viewBox':_0x17225c(0x205),'width':'1em','height':_0x17225c(0x2ba)},'children':[{'tag':_0x17225c(0x1c0),'attrs':{'fill':_0x17225c(0x295),'d':_0x17225c(0x1e2),'fillRule':_0x17225c(0x160),'clipRule':'evenodd'}}]},H=d[_0x17225c(0x179)](function(_0x3cb519,_0x266de7){const _0x1d7630=_0x17225c;return d[_0x1d7630(0x143)](_,Object[_0x1d7630(0x24b)]({},_0x3cb519,{'id':_0x1d7630(0x2ae),'ref':_0x266de7,'icon':Ce}));});H['displayName']='CheckMarkIcon';const ge={'tag':_0x17225c(0x28d),'attrs':{'xmlns':_0x17225c(0x1e6),'fill':_0x17225c(0x2ca),'viewBox':'0\x200\x2016\x2016','width':_0x17225c(0x2ba),'height':_0x17225c(0x2ba)},'children':[{'tag':_0x17225c(0x1c0),'attrs':{'fill':_0x17225c(0x295),'d':_0x17225c(0x2bd)}}]},B=d[_0x17225c(0x179)](function(_0x112997,_0x32e124){const _0x24782b=_0x17225c;return d[_0x24782b(0x143)](_,Object[_0x24782b(0x24b)]({},_0x112997,{'id':'close-icon','ref':_0x32e124,'icon':ge}));});B[_0x17225c(0x1b3)]=_0x17225c(0x171);const fe={'tag':_0x17225c(0x28d),'attrs':{'xmlns':_0x17225c(0x1e6),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x17225c(0x2ba),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x17225c(0x295),'d':_0x17225c(0x15a)}},{'tag':_0x17225c(0x1c0),'attrs':{'fill':_0x17225c(0x295),'d':_0x17225c(0x195)}},{'tag':_0x17225c(0x1c0),'attrs':{'fill':_0x17225c(0x295),'d':_0x17225c(0x19c),'fillRule':'evenodd','clipRule':'evenodd'}}]},F=d[_0x17225c(0x179)](function(_0xbac26,_0x3f445e){const _0x5d6185=_0x17225c;return d[_0x5d6185(0x143)](_,Object[_0x5d6185(0x24b)]({},_0xbac26,{'id':_0x5d6185(0x149),'ref':_0x3f445e,'icon':fe}));});F['displayName']=_0x17225c(0x2ac);const pe={'tag':_0x17225c(0x28d),'attrs':{'xmlns':_0x17225c(0x1e6),'fill':_0x17225c(0x2ca),'viewBox':_0x17225c(0x205),'width':'1em','height':_0x17225c(0x2ba)},'children':[{'tag':'g','attrs':{'clipPath':_0x17225c(0x210)},'children':[{'tag':'path','attrs':{'stroke':_0x17225c(0x295),'d':_0x17225c(0x189),'strokeLinecap':'round','strokeLinejoin':_0x17225c(0x262),'strokeWidth':1.2}}]},{'tag':_0x17225c(0x1be),'attrs':{},'children':[{'tag':_0x17225c(0x20a),'attrs':{'id':_0x17225c(0x2b1)},'children':[{'tag':_0x17225c(0x1c0),'attrs':{'fill':_0x17225c(0x2b3),'d':_0x17225c(0x1cf)}}]}]}],'defIds':[_0x17225c(0x2b1)]},Y=d[_0x17225c(0x179)](function(_0x38e37a,_0x49513a){const _0x14a1b7=_0x17225c;return d[_0x14a1b7(0x143)](_,Object['assign']({},_0x38e37a,{'id':'off-line-icon','ref':_0x49513a,'icon':pe}));});Y[_0x17225c(0x1b3)]='OffLineIcon';const he={'tag':_0x17225c(0x28d),'attrs':{'xmlns':_0x17225c(0x1e6),'fill':_0x17225c(0x2ca),'viewBox':_0x17225c(0x156),'width':_0x17225c(0x2ba),'height':_0x17225c(0x2ba)},'children':[{'tag':'g','attrs':{'clipPath':_0x17225c(0x191)},'children':[{'tag':_0x17225c(0x1c0),'attrs':{'stroke':_0x17225c(0x295),'d':_0x17225c(0x1eb),'strokeLinecap':_0x17225c(0x262),'strokeLinejoin':_0x17225c(0x262),'strokeWidth':1.2}}]},{'tag':_0x17225c(0x1be),'attrs':{},'children':[{'tag':_0x17225c(0x20a),'attrs':{'id':_0x17225c(0x2a4)},'children':[{'tag':_0x17225c(0x1c0),'attrs':{'fill':_0x17225c(0x2b3),'d':_0x17225c(0x1cf),'transform':_0x17225c(0x1a3)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},q=d[_0x17225c(0x179)](function(_0xe1bb6e,_0x2f713e){const _0x36eaa=_0x17225c;return d[_0x36eaa(0x143)](_,Object[_0x36eaa(0x24b)]({},_0xe1bb6e,{'id':_0x36eaa(0x29a),'ref':_0x2f713e,'icon':he}));});q[_0x17225c(0x1b3)]='OnLineIcon';function V(_0x5c7e9b){const _0x3bc983=_0x17225c;var _0x1e04fd,_0x597fad;const {mcpCoreConfig:_0xbf7547,onSave:_0x5f0bd4,loading:_0x543676=!0x1,config:_0x34eeb9,connectionStatus$:_0x31d030,connectionError$:_0x24005f,currentApiKey$:_0x17cde2,currentSessionId$:_0x2475fd}=_0x5c7e9b,_0x10d280=v[_0x3bc983(0x144)](u[_0x3bc983(0x214)]),_0xf9c74f=v['useObservable'](_0x31d030,s[_0x3bc983(0x193)][_0x3bc983(0x2c6)]),_0x46a97d=v[_0x3bc983(0x291)](_0x24005f,s[_0x3bc983(0x2a3)][_0x3bc983(0x2b8)]),_0x2282e0=v[_0x3bc983(0x291)](_0x2475fd,''),_0x549679=v[_0x3bc983(0x291)](_0x17cde2,''),[_0x510f23,_0x59f459]=d['useState'](_0x549679||''),_0x55f456=!0x0,_0x589d7a=_0x34eeb9[_0x3bc983(0x14a)]&&_0xbf7547['mcpServerUrl']&&(_0xbf7547[_0x3bc983(0x1ad)][_0x3bc983(0x2c9)](_0x3bc983(0x1aa))||_0xbf7547['mcpServerUrl'][_0x3bc983(0x2c9)](_0x3bc983(0x201))),_0x35c84a=(_0x1e04fd=_0xbf7547[_0x3bc983(0x1ad)])==null?void 0x0:_0x1e04fd['includes'](_0x3bc983(0x1aa)),_0x28c6fa=(_0x597fad=_0xbf7547[_0x3bc983(0x1ad)])==null?void 0x0:_0x597fad[_0x3bc983(0x2c9)]('univer.ai'),_0x1f3ead=_0x35c84a?_0x3bc983(0x277):_0x3bc983(0x268),_0x311c4e=_0x34eeb9['showDeveloperTools']&&(_0x35c84a||_0x28c6fa),[_0x257ef2,_0x5cc1d0]=d[_0x3bc983(0x29d)](!_0x510f23['trim']()),_0x4f8849=(_0x3a1559,_0x1e7241)=>{const _0x2ff011=_0x3bc983;if(_0x1e7241===s['MCPConnectionError'][_0x2ff011(0x1a2)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x3a1559){case s[_0x2ff011(0x193)]['CONNECTED']:return _0x2ff011(0x157);case s[_0x2ff011(0x193)]['CONNECTING']:case s[_0x2ff011(0x193)]['RETRYING']:return _0x2ff011(0x18b);case s['MCPConnectionStatus'][_0x2ff011(0x27d)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0xb168f5=(_0x559d2d,_0x262c4f)=>{const _0x41108a=_0x3bc983;if(_0x262c4f===s[_0x41108a(0x2a3)][_0x41108a(0x1a2)])return _0x41108a(0x216);switch(_0x559d2d){case s[_0x41108a(0x193)]['CONNECTED']:return _0x41108a(0x29f);case s['MCPConnectionStatus'][_0x41108a(0x2a6)]:case s[_0x41108a(0x193)][_0x41108a(0x152)]:return _0x41108a(0x1c5);case s[_0x41108a(0x193)][_0x41108a(0x27d)]:return _0x41108a(0x216);default:return _0x41108a(0x165);}},_0xa9d666=_0xad373c=>{const _0x44808c=_0x3bc983;switch(_0xad373c){case s[_0x44808c(0x193)][_0x44808c(0x2c5)]:return _0x10d280['t'](_0x44808c(0x151));case s['MCPConnectionStatus'][_0x44808c(0x2a6)]:return _0x10d280['t'](_0x44808c(0x26c));case s[_0x44808c(0x193)][_0x44808c(0x27d)]:return _0x10d280['t'](_0x44808c(0x1b6));case s[_0x44808c(0x193)]['RETRYING']:return _0x10d280['t']('mcpConfig.connectionStatus.retrying');default:return _0x10d280['t']('mcpConfig.connectionStatus.disconnected');}},_0x2c5e9b=_0x7cd953=>{const _0x2197e0=_0x3bc983;switch(_0x7cd953){case s['MCPConnectionError'][_0x2197e0(0x1a2)]:return _0x10d280['t'](_0x2197e0(0x14f));case s[_0x2197e0(0x2a3)]['SESSION_ID_OCCUPIED']:return _0x10d280['t'](_0x2197e0(0x1ea));case s[_0x2197e0(0x2a3)][_0x2197e0(0x14c)]:return _0x10d280['t']('mcpConfig.connectionError.networkError');case s[_0x2197e0(0x2a3)]['MAX_RETRIES_EXCEEDED']:return _0x10d280['t'](_0x2197e0(0x276));default:return'';}},_0x5cdbc6=d[_0x3bc983(0x243)](()=>{const _0x3bef6e=_0x3bc983,_0x467d21={..._0xbf7547,'apiKey':_0x510f23[_0x3bef6e(0x2b2)](),'enableAuth':_0x55f456};_0x5f0bd4(_0x467d21);},[_0xbf7547,_0x510f23,_0x55f456,_0x5f0bd4]),_0x35bb98=_0x510f23[_0x3bc983(0x2b2)]()[_0x3bc983(0x22a)]>0x0;return i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x272),'children':[i['jsx'](_0x3bc983(0x1d0),{'className':_0x3bc983(0x246),'children':i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x17a),'children':[i[_0x3bc983(0x1f4)](_0x3bc983(0x1d0),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':i[_0x3bc983(0x1f4)](_0x3bc983(0x248),{'className':_0x3bc983(0x174),'children':'⚙'})}),i['jsx']('div',{'children':i['jsx']('p',{'className':_0x3bc983(0x292),'children':_0x10d280['t'](_0x3bc983(0x187))})})]})}),i[_0x3bc983(0x215)]('div',{'className':_0x3bc983(0x1d9),'children':[i[_0x3bc983(0x1f4)](_0x3bc983(0x1d0),{'className':f[_0x3bc983(0x213)](_0x3bc983(0x23f),_0x4f8849(_0xf9c74f,_0x46a97d)),'children':i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i['jsx'](_0x3bc983(0x1d0),{'className':f[_0x3bc983(0x213)](_0x3bc983(0x20f),_0xb168f5(_0xf9c74f,_0x46a97d))}),i[_0x3bc983(0x1f4)](_0x3bc983(0x248),{'className':'univer-text-sm\x20univer-font-medium','children':_0xa9d666(_0xf9c74f)})]})}),_0x46a97d!==s[_0x3bc983(0x2a3)][_0x3bc983(0x2b8)]&&(_0xf9c74f===s[_0x3bc983(0x193)]['FAILED']||_0x46a97d===s[_0x3bc983(0x2a3)][_0x3bc983(0x1a2)])&&i[_0x3bc983(0x1f4)]('div',{'className':_0x3bc983(0x162),'children':i['jsxs'](_0x3bc983(0x1d0),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[i[_0x3bc983(0x1f4)](_0x3bc983(0x248),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),i[_0x3bc983(0x1f4)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x2c5e9b(_0x46a97d)})]})})]}),i[_0x3bc983(0x1f4)](_0x3bc983(0x1d0),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':i[_0x3bc983(0x215)]('div',{'className':'univer-space-y-5','children':[i['jsxs'](_0x3bc983(0x1d0),{'className':_0x3bc983(0x2aa),'children':[i['jsxs'](_0x3bc983(0x218),{'className':_0x3bc983(0x1a4),'children':[i[_0x3bc983(0x1f4)]('span',{'children':'🔑'}),'\x20',_0x10d280['t'](_0x3bc983(0x271)),i['jsx'](_0x3bc983(0x248),{'className':_0x3bc983(0x265),'children':'*'}),_0x589d7a&&i[_0x3bc983(0x1f4)]('a',{'className':_0x3bc983(0x1dc),'title':_0x10d280['t'](_0x3bc983(0x224)),'role':_0x3bc983(0x208),'onClick':()=>_0x5cc1d0(!0x0),'children':i[_0x3bc983(0x1f4)](F,{})})]}),i[_0x3bc983(0x1f4)](f['Input'],{'type':_0x3bc983(0x294),'placeholder':_0x10d280['t'](_0x3bc983(0x1e0)),'value':_0x510f23,'disabled':_0x543676,'autoComplete':'off','onChange':_0x59f459}),i[_0x3bc983(0x1f4)]('p',{'className':_0x3bc983(0x211),'children':_0x10d280['t'](_0x3bc983(0x20c))})]}),_0x589d7a&&_0x257ef2&&i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x18f),'children':[i[_0x3bc983(0x1f4)]('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-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','role':_0x3bc983(0x208),'onClick':()=>_0x5cc1d0(!0x1),'children':i[_0x3bc983(0x1f4)](B,{'className':_0x3bc983(0x19a)})}),i[_0x3bc983(0x215)]('div',{'className':_0x3bc983(0x1f9),'children':[i[_0x3bc983(0x1f4)]('div',{'className':_0x3bc983(0x238),'children':i[_0x3bc983(0x1f4)]('span',{'className':'univer-text-blue-600','children':'🚀'})}),i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':'univer-flex-1','children':[i[_0x3bc983(0x1f4)]('h4',{'className':_0x3bc983(0x2c4),'children':_0x10d280['t'](_0x3bc983(0x224))}),i[_0x3bc983(0x1f4)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x10d280['t'](_0x3bc983(0x2ad))}),i['jsx']('div',{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x311c4e&&i[_0x3bc983(0x215)]('a',{'className':_0x3bc983(0x1b8),'href':_0x1f3ead,'target':_0x3bc983(0x1bf),'rel':_0x3bc983(0x1c4),'children':[i[_0x3bc983(0x1f4)](_0x3bc983(0x248),{'children':'🤖'}),_0x10d280['t'](_0x3bc983(0x166)),i[_0x3bc983(0x1f4)](_0x3bc983(0x248),{'className':_0x3bc983(0x1c1),'children':'↗'})]})}),i['jsxs'](_0x3bc983(0x1d0),{'className':_0x3bc983(0x219),'children':['✨','\x20',_0x10d280['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x34eeb9[_0x3bc983(0x14a)]&&i['jsxs'](_0x3bc983(0x1d0),{'className':_0x3bc983(0x185),'children':[i['jsxs']('h4',{'className':_0x3bc983(0x2c8),'children':[i[_0x3bc983(0x1f4)]('span',{'children':'🔗'}),'\x20',_0x10d280['t'](_0x3bc983(0x186))]}),i['jsxs'](_0x3bc983(0x1d0),{'className':_0x3bc983(0x146),'children':[i['jsxs'](_0x3bc983(0x1d0),{'className':_0x3bc983(0x270),'children':[i[_0x3bc983(0x1f4)]('p',{'className':_0x3bc983(0x1ee),'children':_0x10d280['t'](_0x3bc983(0x1b1))}),i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x2aa),'children':[i['jsx'](_0x3bc983(0x1d0),{'className':_0x3bc983(0x1bd),'children':_0x10d280['t'](_0x3bc983(0x23c))}),i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x21c),'children':[i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x3bc983(0x1f4)](_0x3bc983(0x248),{'className':_0x3bc983(0x1ec),'children':'1'}),_0x10d280['t'](_0x3bc983(0x249))]}),i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x203),'children':[i['jsx'](_0x3bc983(0x248),{'className':_0x3bc983(0x1ec),'children':'2'}),_0x10d280['t'](_0x3bc983(0x1cd))]}),i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x203),'children':[i[_0x3bc983(0x1f4)](_0x3bc983(0x248),{'className':_0x3bc983(0x1ec),'children':'3'}),_0x10d280['t'](_0x3bc983(0x2b6))]})]})]})]}),i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x2aa),'children':[i[_0x3bc983(0x1f4)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x1bd),'children':'MCP\x20Configuration'}),i['jsx'](_0x3bc983(0x1d0),{'className':_0x3bc983(0x1c9),'children':i[_0x3bc983(0x1f4)](_0x3bc983(0x25e),{'className':_0x3bc983(0x2af),'children':JSON[_0x3bc983(0x1af)]({'mcpServers':{'univer':{'url':_0x3bc983(0x25b)+(_0x2282e0||_0x3bc983(0x16c)),'type':_0x3bc983(0x261),'headers':{'Authorization':_0x3bc983(0x17c)+(_0x510f23||_0x3bc983(0x29e))}}}},null,0x2)})})]}),i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x270),'children':[i['jsx']('div',{'className':_0x3bc983(0x1bd),'children':_0x10d280['t']('mcpConfig.configParameters')}),i['jsxs'](_0x3bc983(0x1d0),{'className':_0x3bc983(0x2aa),'children':[i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i['jsx'](_0x3bc983(0x1d0),{'className':_0x3bc983(0x255)}),i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x264),'children':[i[_0x3bc983(0x1f4)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x1fa),'children':_0x3bc983(0x1d7)}),i[_0x3bc983(0x1f4)](_0x3bc983(0x1d0),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x10d280['t'](_0x3bc983(0x1c6))})]})]}),i['jsxs']('div',{'className':_0x3bc983(0x2b5),'children':[i[_0x3bc983(0x1f4)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x255)}),i['jsxs'](_0x3bc983(0x1d0),{'className':_0x3bc983(0x264),'children':[i[_0x3bc983(0x1f4)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x1fa),'children':_0x3bc983(0x2bb)}),i['jsx'](_0x3bc983(0x1d0),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x10d280['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),i[_0x3bc983(0x1f4)](f['Button'],{'onClick':_0x5cdbc6,'disabled':!_0x35bb98||_0x543676,'className':_0x3bc983(0x15e),'children':_0x543676?i[_0x3bc983(0x215)](_0x3bc983(0x248),{'className':_0x3bc983(0x203),'children':[i['jsx'](_0x3bc983(0x248),{'children':'⟲'}),_0x10d280['t'](_0x3bc983(0x233))]}):i[_0x3bc983(0x215)](_0x3bc983(0x248),{'className':_0x3bc983(0x203),'children':[i[_0x3bc983(0x1f4)](H,{}),_0x10d280['t'](_0x3bc983(0x1d4))]})}),i['jsx'](_0x3bc983(0x1d0),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':_0x3bc983(0x290),'children':[i['jsx']('span',{'className':_0x3bc983(0x240),'children':'💡'}),i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[i['jsx'](_0x3bc983(0x1d0),{'className':'univer-font-medium','children':'Configuration\x20Notes:'}),i[_0x3bc983(0x215)](_0x3bc983(0x1d0),{'children':['•',_0x10d280['t']('mcpConfig.note1')]}),i[_0x3bc983(0x215)]('div',{'children':['•',_0x10d280['t']('mcpConfig.note2')]})]})]})})]})})]});}const P=_0x17225c(0x24c),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x17225c(0x26b)],xe=(_0x1879b6,_0x259538,_0x507072,_0x1ac41c)=>{const _0x330c59=_0x17225c;for(var _0x50f2bb=_0x1ac41c>0x1?void 0x0:_0x1ac41c?me(_0x259538,_0x507072):_0x259538,_0x2c7964=_0x1879b6[_0x330c59(0x22a)]-0x1,_0x483b6f;_0x2c7964>=0x0;_0x2c7964--)(_0x483b6f=_0x1879b6[_0x2c7964])&&(_0x50f2bb=_0x483b6f(_0x50f2bb)||_0x50f2bb);return _0x50f2bb;},g=(_0x39d67a,_0xc8fb17)=>(_0x439983,_0x15c7be)=>_0xc8fb17(_0x439983,_0x15c7be,_0x39d67a);const O=_0x17225c(0x278),D=_0x17225c(0x17b);exports[_0x17225c(0x1ab)]=class extends u[_0x17225c(0x192)]{constructor(_0x73253e,_0x420f71,_0x7de4c0,_0x2a054c,_0x55937a,_0x54bf5a,_0x2c68d8,_0x22537a,_0x5247c9,_0x2675e0){const _0x7652ac=_0x17225c;super(),I(this,_0x7652ac(0x263),new M[(_0x7652ac(0x1df))](!0x1)),I(this,_0x7652ac(0x164),new M['BehaviorSubject']({})),I(this,_0x7652ac(0x1f6),new M[(_0x7652ac(0x1df))]({})),I(this,_0x7652ac(0x1f2),new M[(_0x7652ac(0x1df))]('')),I(this,'_handleConfigSave',async _0x525c0d=>{const _0x14b88d=_0x7652ac;var _0x5a95fd,_0x8464b7;this['_loading$'][_0x14b88d(0x279)](!0x0);try{const _0x258a6e=await this[_0x14b88d(0x169)](_0x525c0d);if(!_0x258a6e[_0x14b88d(0x2b9)]){this[_0x14b88d(0x28f)][_0x14b88d(0x244)]({'type':f[_0x14b88d(0x266)][_0x14b88d(0x154)],'content':_0x258a6e[_0x14b88d(0x2be)]||this[_0x14b88d(0x2b0)]['t'](_0x14b88d(0x26a))});return;}_0x525c0d[_0x14b88d(0x1a8)]?await this['_localStorageService'][_0x14b88d(0x1d2)](O,_0x525c0d['apiKey'][_0x14b88d(0x2b2)]()):await this[_0x14b88d(0x1fb)][_0x14b88d(0x2b7)](O),this['_apiKey$'][_0x14b88d(0x279)](((_0x5a95fd=_0x525c0d[_0x14b88d(0x1a8)])==null?void 0x0:_0x5a95fd['trim']())||''),this[_0x14b88d(0x28a)][_0x14b88d(0x199)]({'Authorization':'Bearer\x20'+((_0x8464b7=_0x525c0d[_0x14b88d(0x1a8)])==null?void 0x0:_0x8464b7[_0x14b88d(0x2b2)]())}),this[_0x14b88d(0x28f)][_0x14b88d(0x244)]({'type':f[_0x14b88d(0x266)][_0x14b88d(0x1ff)],'content':this['_localeService']['t'](_0x14b88d(0x202))}),setTimeout(()=>{const _0x5d4303=_0x14b88d;this[_0x5d4303(0x153)][_0x5d4303(0x177)](D);},0x320);}catch(_0x1cad74){this[_0x14b88d(0x1fc)][_0x14b88d(0x1c8)](_0x14b88d(0x197),_0x1cad74),this[_0x14b88d(0x28f)][_0x14b88d(0x244)]({'type':f[_0x14b88d(0x266)][_0x14b88d(0x154)],'content':this[_0x14b88d(0x2b0)]['t']('mcpConfig.configError')});}finally{this[_0x14b88d(0x263)]['next'](!0x1);}}),(this['_injector']=_0x73253e,this[_0x7652ac(0x229)]=_0x420f71,this['_configService']=_0x7de4c0,this[_0x7652ac(0x1fb)]=_0x2a054c,this[_0x7652ac(0x153)]=_0x55937a,this[_0x7652ac(0x28f)]=_0x54bf5a,this['_componentManager']=_0x2c68d8,this[_0x7652ac(0x2b0)]=_0x22537a,this['_logService']=_0x5247c9,this[_0x7652ac(0x28a)]=_0x2675e0,this[_0x7652ac(0x19b)](),this[_0x7652ac(0x269)](),this[_0x7652ac(0x15d)]());}[_0x17225c(0x184)](){const _0x4b83bd=_0x17225c,_0x4b78df=this[_0x4b83bd(0x20d)]['getConfig'](P);_0x4b78df!=null&&_0x4b78df[_0x4b83bd(0x14a)]&&this[_0x4b83bd(0x153)][_0x4b83bd(0x170)]({'id':D,'title':{'title':this[_0x4b83bd(0x2b0)]['t'](_0x4b83bd(0x258))},'children':{'label':_0x4b83bd(0x1f8)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x1e4ac1=_0x4b83bd;this[_0x1e4ac1(0x153)][_0x1e4ac1(0x177)](D);}});}[_0x17225c(0x20e)](){const _0x411c27=_0x17225c;return this[_0x411c27(0x164)][_0x411c27(0x26e)];}[_0x17225c(0x15d)](){const _0xf6b32b=_0x17225c;this['disposeWithMe'](this[_0xf6b32b(0x167)][_0xf6b32b(0x25a)](_0xf6b32b(0x1f8),this[_0xf6b32b(0x2a7)]()));}[_0x17225c(0x2a7)](){const _0x3dad0c=_0x17225c;return v[_0x3dad0c(0x1f5)](()=>{const _0x4f0306=_0x3dad0c;var _0x5e1dcc,_0x4ea1f9,_0x1619e2;return i['jsx'](V,{'config':this[_0x4f0306(0x1f6)][_0x4f0306(0x26e)],'mcpCoreConfig':this[_0x4f0306(0x164)]['value'],'currentApiKey$':this[_0x4f0306(0x1f2)],'onSave':this[_0x4f0306(0x1dd)],'loading':this[_0x4f0306(0x263)]['value'],'connectionStatus$':(_0x5e1dcc=this[_0x4f0306(0x28a)])==null?void 0x0:_0x5e1dcc[_0x4f0306(0x16e)],'connectionError$':(_0x4ea1f9=this['_mcpConnectionController'])==null?void 0x0:_0x4ea1f9[_0x4f0306(0x228)],'currentSessionId$':(_0x1619e2=this[_0x4f0306(0x28a)])==null?void 0x0:_0x1619e2['sessionId$']});},this[_0x3dad0c(0x1bc)]);}['_initConfigSync'](){const _0x1fdb1c=_0x17225c;this[_0x1fdb1c(0x29b)](this[_0x1fdb1c(0x20d)][_0x1fdb1c(0x2a1)](s[_0x1fdb1c(0x1e5)])[_0x1fdb1c(0x221)](_0x3be598=>{const _0x23c87d=_0x1fdb1c;this[_0x23c87d(0x164)][_0x23c87d(0x279)](_0x3be598||{});}));const _0x2936f8=this[_0x1fdb1c(0x20d)][_0x1fdb1c(0x25c)](s[_0x1fdb1c(0x1e5)]);this[_0x1fdb1c(0x164)][_0x1fdb1c(0x279)](_0x2936f8||{}),this['disposeWithMe'](this['_configService']['subscribeConfigValue$'](P)[_0x1fdb1c(0x221)](_0x263800=>{const _0x1eb95c=_0x1fdb1c;this[_0x1eb95c(0x1f6)][_0x1eb95c(0x279)](_0x263800||{});}));const _0x33022f=this['_configService']['getConfig'](P);this[_0x1fdb1c(0x1f6)][_0x1fdb1c(0x279)](_0x33022f||{});}async[_0x17225c(0x269)](){const _0x2c6f87=_0x17225c,_0x5887b7=this['_configService'][_0x2c6f87(0x25c)](P);if(!(_0x5887b7!=null&&_0x5887b7['showDeveloperTools']))return;const _0x377545=await this[_0x2c6f87(0x1fb)]['getItem'](O);_0x377545&&(this[_0x2c6f87(0x28a)][_0x2c6f87(0x199)]({'Authorization':_0x2c6f87(0x17c)+_0x377545}),this[_0x2c6f87(0x1f2)]['next'](_0x377545));}async[_0x17225c(0x169)](_0xf23b58){const _0x5b0506=_0x17225c;if(!_0xf23b58['apiKey']||_0xf23b58['apiKey']['trim']()[_0x5b0506(0x22a)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5b0506(0x2b0)]['t'](_0x5b0506(0x1ed))};if(_0xf23b58[_0x5b0506(0x1a8)][_0x5b0506(0x2b2)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x5b0506(0x2b0)]['t'](_0x5b0506(0x183))};try{const _0x1c857d=await this[_0x5b0506(0x1bc)][_0x5b0506(0x27a)](s['MCPConnectionController'])['validateApiKey'](_0xf23b58[_0x5b0506(0x1a8)][_0x5b0506(0x2b2)]());return _0x1c857d[_0x5b0506(0x2b9)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x1c857d[_0x5b0506(0x1c8)]||this['_localeService']['t'](_0x5b0506(0x289))};}catch(_0x160f6f){return console[_0x5b0506(0x267)](_0x5b0506(0x1f1),_0x160f6f),{'isValid':!0x0};}}},exports[_0x17225c(0x1ab)]=xe([g(0x0,u[_0x17225c(0x17e)](u[_0x17225c(0x24e)])),g(0x1,v['IUIPartsService']),g(0x2,u[_0x17225c(0x28c)]),g(0x3,u['ILocalStorageService']),g(0x4,v[_0x17225c(0x225)]),g(0x5,v[_0x17225c(0x1a9)]),g(0x6,u[_0x17225c(0x17e)](v[_0x17225c(0x247)])),g(0x7,u[_0x17225c(0x17e)](u[_0x17225c(0x214)])),g(0x8,u[_0x17225c(0x173)]),g(0x9,u[_0x17225c(0x17e)](s[_0x17225c(0x198)]))],exports[_0x17225c(0x1ab)]);const b={'id':'mcp-ui.command.openConfigPanel','type':u[_0x17225c(0x1a0)][_0x17225c(0x1d8)],'handler':async(_0x47258b,_0x5ac8d7)=>(_0x47258b[_0x17225c(0x27a)](exports['MCPConfigUIController'])['showConfigPanel'](),!0x0)};function Z(_0x124d94,_0x344e24){const _0x5b16f7=_0x17225c;switch(_0x124d94){case s[_0x5b16f7(0x193)][_0x5b16f7(0x2c6)]:return _0x5b16f7(0x231);case s[_0x5b16f7(0x193)]['CONNECTING']:return'mcpStatus.connecting';case s[_0x5b16f7(0x193)][_0x5b16f7(0x2c5)]:return _0x5b16f7(0x150);case s[_0x5b16f7(0x193)][_0x5b16f7(0x27d)]:switch(_0x344e24){case s[_0x5b16f7(0x2a3)]['UNAUTHORIZED']:return _0x5b16f7(0x1a5);case s[_0x5b16f7(0x2a3)][_0x5b16f7(0x28e)]:return _0x5b16f7(0x1c2);case s[_0x5b16f7(0x2a3)]['NETWORK_ERROR']:return _0x5b16f7(0x237);case s[_0x5b16f7(0x2a3)][_0x5b16f7(0x1e3)]:return'mcpStatus.maxRetriesExceeded';default:return _0x5b16f7(0x22d);}case s['MCPConnectionStatus'][_0x5b16f7(0x152)]:return _0x5b16f7(0x14b);default:return'mcpStatus.unknown';}}function Se(_0x53f4eb,_0x346048,_0x30b45a,_0x5eebd5=!0x0){const _0x5a6ea8=_0x17225c,_0x5d1fa4=Z(_0x53f4eb,_0x346048),_0x3e6df2=_0x30b45a['t'](_0x5d1fa4);return _0x5eebd5?_0x53f4eb===s[_0x5a6ea8(0x193)][_0x5a6ea8(0x2c6)]&&_0x346048===s[_0x5a6ea8(0x2a3)][_0x5a6ea8(0x1a2)]?_0x3e6df2+'\x20-\x20'+_0x30b45a['t'](_0x5a6ea8(0x28b)):_0x53f4eb===s[_0x5a6ea8(0x193)]['CONNECTED']?''+_0x3e6df2:_0x53f4eb===s['MCPConnectionStatus'][_0x5a6ea8(0x2c6)]||_0x53f4eb===s[_0x5a6ea8(0x193)]['FAILED']?_0x3e6df2+_0x5a6ea8(0x24a)+_0x30b45a['t'](_0x5a6ea8(0x1d3)):_0x3e6df2:_0x3e6df2;}function Pe(_0x2ce0a0){const _0x879e29=_0x17225c;switch(_0x2ce0a0){case s[_0x879e29(0x193)][_0x879e29(0x2c5)]:return _0x879e29(0x1b0);case s[_0x879e29(0x193)][_0x879e29(0x2a6)]:case s[_0x879e29(0x193)][_0x879e29(0x152)]:return _0x879e29(0x1a7);case s['MCPConnectionStatus'][_0x879e29(0x27d)]:case s['MCPConnectionStatus'][_0x879e29(0x2c6)]:return'univer-text-red-500';default:return _0x879e29(0x207);}}function W(_0x1f1ab7){const _0x31ba59=_0x17225c,{status$:_0x5e7e20,error$:_0x4e804a,onConfigure:_0x38fa88,showClickable:_0x151564=!0x0}=_0x1f1ab7,_0x599a29=v['useObservable'](_0x5e7e20,s['MCPConnectionStatus'][_0x31ba59(0x2c6)]),_0x1d454e=v[_0x31ba59(0x291)](_0x4e804a,s[_0x31ba59(0x2a3)]['NONE']),_0x16fc82=v[_0x31ba59(0x144)](u[_0x31ba59(0x214)]),_0x2bea83=_0x599a29===s[_0x31ba59(0x193)][_0x31ba59(0x2c5)];_0x599a29===s[_0x31ba59(0x193)][_0x31ba59(0x2a6)]||s['MCPConnectionStatus'][_0x31ba59(0x152)];const _0x2b799d=_0x16fc82['t'](Z(_0x599a29,_0x1d454e)),_0x1808f8=Se(_0x599a29,_0x1d454e,_0x16fc82,_0x151564),_0x64781e=Pe(_0x599a29),_0x41ce6b=_0x2bea83?i['jsx'](q,{}):i[_0x31ba59(0x1f4)](Y,{}),_0x4cac2e=d[_0x31ba59(0x243)](()=>{_0x151564&&_0x38fa88&&_0x38fa88();},[_0x151564,_0x38fa88]);function _0x39a891(){const _0x50ea7c=_0x31ba59;return i['jsxs']('div',{'className':f[_0x50ea7c(0x213)]('univer-flex\x20univer-items-center',_0x151564&&_0x38fa88&&_0x50ea7c(0x2a2)),'role':_0x50ea7c(0x208),'onClick':_0x151564&&_0x38fa88?_0x4cac2e:void 0x0,'children':[i[_0x50ea7c(0x1f4)](_0x50ea7c(0x1d0),{'className':f[_0x50ea7c(0x213)](_0x50ea7c(0x1b7),_0x64781e),'children':_0x41ce6b}),i[_0x50ea7c(0x1f4)](_0x50ea7c(0x1d0),{'className':_0x50ea7c(0x232),'children':_0x2b799d})]});}return i['jsx'](f[_0x31ba59(0x1ac)],{'title':_0x1808f8,'placement':'bottom','children':_0x39a891()});}var Ie=Object['getOwnPropertyDescriptor'],_e=(_0x3e0d0c,_0x31454e,_0x43cf44,_0x4e4e9b)=>{const _0x404e2b=_0x17225c;for(var _0x23f45c=_0x4e4e9b>0x1?void 0x0:_0x4e4e9b?Ie(_0x31454e,_0x43cf44):_0x31454e,_0x1bddb7=_0x3e0d0c[_0x404e2b(0x22a)]-0x1,_0x268098;_0x1bddb7>=0x0;_0x1bddb7--)(_0x268098=_0x3e0d0c[_0x1bddb7])&&(_0x23f45c=_0x268098(_0x23f45c)||_0x23f45c);return _0x23f45c;},N=(_0x17c2ee,_0x512afd)=>(_0x35bc90,_0x1d77fd)=>_0x512afd(_0x35bc90,_0x1d77fd,_0x17c2ee);exports[_0x17225c(0x27c)]=class extends u['Disposable']{constructor(_0x3a2a7c,_0x1ab159,_0x34dc25,_0x1dbc52){const _0x26b6e1=_0x17225c;super(),this[_0x26b6e1(0x1bc)]=_0x3a2a7c,this[_0x26b6e1(0x21d)]=_0x1ab159,this['_uiPartsService']=_0x34dc25,this[_0x26b6e1(0x20d)]=_0x1dbc52,this[_0x26b6e1(0x2ab)](),this[_0x26b6e1(0x252)]();}[_0x17225c(0x2ab)](){const _0x2d431d=_0x17225c,_0x14b939=this[_0x2d431d(0x20d)][_0x2d431d(0x25c)](P);_0x14b939!=null&&_0x14b939[_0x2d431d(0x14a)]&&(this[_0x2d431d(0x21d)]['enableAutoConnect']=!0x1);}[_0x17225c(0x252)](){const _0x235268=_0x17225c,_0x5f4c9d=this[_0x235268(0x20d)][_0x235268(0x25c)](P);(_0x5f4c9d==null?void 0x0:_0x5f4c9d[_0x235268(0x145)])!==!0x1&&this['disposeWithMe'](this[_0x235268(0x229)][_0x235268(0x22c)](v[_0x235268(0x206)][_0x235268(0x188)],()=>{const _0x41a143=_0x235268;var _0x2ad8f3;return v[_0x41a143(0x1f5)](ye({'status$':this['_connectionController']['connectionStatus$'],'error$':this[_0x41a143(0x21d)]['connectionError$'],'onConfigure':()=>this[_0x41a143(0x274)](),'showClickable':(_0x2ad8f3=_0x5f4c9d==null?void 0x0:_0x5f4c9d[_0x41a143(0x14a)])!=null?_0x2ad8f3:!0x1}),this[_0x41a143(0x1bc)]);}));}[_0x17225c(0x274)](){const _0x487c0e=_0x17225c;this[_0x487c0e(0x1bc)][_0x487c0e(0x27a)](exports[_0x487c0e(0x1ab)])[_0x487c0e(0x184)]();}},exports[_0x17225c(0x27c)]=_e([N(0x0,u['Inject'](u[_0x17225c(0x24e)])),N(0x1,u[_0x17225c(0x17e)](s[_0x17225c(0x198)])),N(0x2,v[_0x17225c(0x2a0)]),N(0x3,u[_0x17225c(0x28c)])],exports[_0x17225c(0x27c)]);function ye(_0x23f75b){const {status$:_0x5b4069,error$:_0x1dfe52,onConfigure:_0x9a65c,showClickable:_0x1d9f7f}=_0x23f75b;return function(){const _0xd26515=_0x71a7;return i[_0xd26515(0x1f4)](W,{'status$':_0x5b4069,'error$':_0x1dfe52,'onConfigure':_0x9a65c,'showClickable':_0x1d9f7f});};}function Me(_0x3d91d3){const _0x5a801b=_0x17225c;return{'id':b['id'],'type':v[_0x5a801b(0x1e4)]['BUTTON'],'icon':_0x5a801b(0x281),'title':'mcpConfig.title','tooltip':_0x5a801b(0x258)};}const Ne={[v[_0x17225c(0x21a)][_0x17225c(0x14e)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object['getOwnPropertyDescriptor'],je=(_0x15f7c7,_0x17adef,_0x4051d1,_0x3bb8dd)=>{const _0x128764=_0x17225c;for(var _0x4de8c1=_0x3bb8dd>0x1?void 0x0:_0x3bb8dd?be(_0x17adef,_0x4051d1):_0x17adef,_0x64efa8=_0x15f7c7[_0x128764(0x22a)]-0x1,_0x308ca3;_0x64efa8>=0x0;_0x64efa8--)(_0x308ca3=_0x15f7c7[_0x64efa8])&&(_0x4de8c1=_0x308ca3(_0x4de8c1)||_0x4de8c1);return _0x4de8c1;},z=(_0x5a7bdb,_0x1dc727)=>(_0x4b9af8,_0x501fcc)=>_0x1dc727(_0x4b9af8,_0x501fcc,_0x5a7bdb);exports[_0x17225c(0x1f3)]=class extends u[_0x17225c(0x192)]{constructor(_0x3a8890,_0x2a474e){const _0x42fd0b=_0x17225c;super(),this[_0x42fd0b(0x234)]=_0x3a8890,this[_0x42fd0b(0x2bc)]=_0x2a474e,this[_0x42fd0b(0x159)](),this[_0x42fd0b(0x242)]();}[_0x17225c(0x159)](){const _0x5d96fb=_0x17225c;[b][_0x5d96fb(0x175)](_0x2cb954=>{const _0x45543f=_0x5d96fb;this[_0x45543f(0x29b)](this[_0x45543f(0x234)][_0x45543f(0x190)](_0x2cb954));});}[_0x17225c(0x242)](){const _0x3cb948=_0x17225c;this[_0x3cb948(0x2bc)][_0x3cb948(0x288)](Ne);}},exports[_0x17225c(0x1f3)]=je([z(0x0,u['ICommandService']),z(0x1,v[_0x17225c(0x196)])],exports['MCPUIMenuController']);const Ee={'mcpStatus':{'disconnected':_0x17225c(0x25f),'connecting':_0x17225c(0x1b4),'connected':_0x17225c(0x27e),'failed':_0x17225c(0x275),'retrying':_0x17225c(0x1d6),'unknown':_0x17225c(0x235),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x17225c(0x251),'maxRetriesExceeded':_0x17225c(0x2c1),'clickToConnect':_0x17225c(0x16b),'clickToConfigure':_0x17225c(0x273)},'mcpConfig':{'title':_0x17225c(0x2a9),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x17225c(0x15f),'apiKeyPlaceholder':_0x17225c(0x18d),'apiKeyHint':_0x17225c(0x230),'enableAuth':_0x17225c(0x158),'enableAuthHint':_0x17225c(0x2a8),'connectionInfo':_0x17225c(0x16f),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x17225c(0x20b),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x17225c(0x148),'configStep2':_0x17225c(0x1e9),'configStep3':_0x17225c(0x299),'sessionId':_0x17225c(0x172),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x17225c(0x17d),'configParameters':_0x17225c(0x256),'maxRetries':'Max\x20Retries','save':_0x17225c(0x217),'saving':_0x17225c(0x2b4),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x17225c(0x1d1),'configSaved':_0x17225c(0x1ba),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x17225c(0x1e8),'univerAiLabel':_0x17225c(0x25d),'getStarted':_0x17225c(0x24d)},'validation':{'apiKeyRequired':_0x17225c(0x163),'apiKeyTooShort':_0x17225c(0x257),'invalidConfig':_0x17225c(0x1ce),'invalidApiKey':_0x17225c(0x181)},'connectionStatus':{'disconnected':_0x17225c(0x176),'connecting':_0x17225c(0x1a1),'connected':_0x17225c(0x21f),'failed':'Connection\x20Failed','retrying':_0x17225c(0x204)},'connectionError':{'unauthorized':_0x17225c(0x23a),'sessionOccupied':_0x17225c(0x1bb),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x17225c(0x168)}}},we={'mcpStatus':{'disconnected':_0x17225c(0x19d),'connecting':_0x17225c(0x161),'connected':_0x17225c(0x1e7),'failed':_0x17225c(0x223),'retrying':_0x17225c(0x1d5),'unknown':_0x17225c(0x286),'unauthorized':_0x17225c(0x2c7),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x17225c(0x1ae),'maxRetriesExceeded':_0x17225c(0x250),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x17225c(0x245)},'mcpConfig':{'title':'MCP\x20配置','description':_0x17225c(0x22e),'apiKey':_0x17225c(0x194),'apiKeyPlaceholder':_0x17225c(0x209),'apiKeyHint':_0x17225c(0x298),'enableAuth':_0x17225c(0x283),'enableAuthHint':_0x17225c(0x1b5),'connectionInfo':_0x17225c(0x1f0),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x17225c(0x1f7),'configStep1':_0x17225c(0x22b),'configStep2':_0x17225c(0x22f),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':'会话ID','sessionIdDescription':_0x17225c(0x14d),'authorizationDescription':_0x17225c(0x253),'configParameters':_0x17225c(0x21b),'maxRetries':_0x17225c(0x2c3),'save':_0x17225c(0x18a),'saving':_0x17225c(0x241),'note1':_0x17225c(0x2bf),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x17225c(0x155),'apiApplyInfo':{'title':_0x17225c(0x222),'description':_0x17225c(0x180),'univerAiLabel':_0x17225c(0x1c7),'getStarted':_0x17225c(0x287)},'validation':{'apiKeyRequired':_0x17225c(0x1ef),'apiKeyTooShort':_0x17225c(0x182),'invalidConfig':_0x17225c(0x23b),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x17225c(0x296),'connecting':_0x17225c(0x212),'connected':_0x17225c(0x178),'failed':_0x17225c(0x226),'retrying':_0x17225c(0x15b)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x17225c(0x280),'networkError':_0x17225c(0x220),'maxRetriesExceeded':_0x17225c(0x29c)}}};function _0x48fd(){const _0x1b9b1b=['CloseIcon','Session\x20ID','ILogService','univer-text-white','forEach','Disconnected','close','已连接','forwardRef','univer-flex\x20univer-items-center\x20univer-gap-3','mcp-config-dialog','Bearer\x20','API\x20key\x20with\x20Bearer\x20prefix.','Inject','tag','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20密钥长度至少需要\x2010\x20位','mcpConfig.validation.apiKeyTooShort','showConfigPanel','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','mcpConfig.connectionInfo','mcpConfig.description','HEADER_MENU','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','保存配置','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','pluginName','Enter\x20your\x20API\x20key','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','registerCommand','url(#on-line-icon_clip0_910_349)','Disposable','MCPConnectionStatus','API\x20密钥','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','IMenuManagerService','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','MCPConnectionController','__setCustomHeaders','univer-size-4','_initConfigSync','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','MCP\x20已断开','colorChannel1','entries','CommandType','Connecting...','UNAUTHORIZED','translate(.97)','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','mcpStatus.unauthorized','UniverIcon','univer-text-yellow-500','apiKey','IMessageService','univer.plus','MCPConfigUIController','Tooltip','mcpServerUrl','MCP:\x20网络错误','stringify','univer-text-green-500','mcpConfig.configInstructions','ILocalStorageService','displayName','MCP\x20Connecting...','启用身份验证以获得安全连接','mcpConfig.connectionStatus.failed','univer-mr-2\x20univer-flex\x20univer-text-xl','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','children','Configuration\x20saved\x20successfully','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','_injector','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','defs','_blank','path','univer-text-gray-400','mcpStatus.sessionOccupied','substring','noopener\x20noreferrer','univer-bg-blue-500','mcpConfig.sessionIdDescription','Univer\x20AI\x20控制台','error','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','defineProperty','push','current','mcpConfig.configStep2','Invalid\x20configuration','M0\x200H16V16H0z','div','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','setItem','mcpStatus.clickToConnect','mcpConfig.save','MCP\x20重连中...','MCP\x20Retrying...','univer_session_id:','COMMAND','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','useRef','toString','univer-ml-1\x20univer-flex\x20univer-size-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','_handleConfigSave','xlink:href','BehaviorSubject','mcpConfig.apiKeyPlaceholder','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','MAX_RETRIES_EXCEEDED','MenuItemType','MCP_PLUGIN_CONFIG_KEY','http://www.w3.org/2000/svg','MCP\x20已连接','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','mcpConfig.connectionError.sessionOccupied','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','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','mcpConfig.validation.apiKeyRequired','univer-text-xs\x20univer-text-gray-600','API\x20密钥不能为空','MCP\x20客户端配置','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','_apiKey$','MCPUIMenuController','jsx','connectInjector','_config$','配置步骤:','MCPConfigPanel','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_localStorageService','_logService','add','use','Success','1331714JyDEjm','univer.ai','mcpConfig.configSaved','univer-flex\x20univer-items-center\x20univer-gap-2','Retrying...','0\x200\x2016\x2016','BuiltInUIPart','univer-text-gray-500','button','请输入您的\x20API\x20密钥','clipPath','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','mcpConfig.apiKeyHint','_configService','getCurrentConfig','univer-size-2\x20univer-rounded-full','url(#off-line-icon_clip0_910_343)','univer-text-xs\x20univer-text-gray-500','连接中...','clsx','LocaleService','jsxs','univer-bg-red-500','Save\x20Configuration','label','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','RibbonStartGroup','配置参数:','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','_connectionController','ISocketService','Connected','网络连接错误,请检查您的网络连接','subscribe','什么是\x20API\x20密钥?','MCP\x20连接失败','mcpConfig.apiApplyInfo.title','IDialogService','连接失败','replace','connectionError$','_uiPartsService','length','复制以下\x20JSON\x20配置','registerComponent','mcpStatus.failed','配置\x20MCP\x20使用\x20AI\x20操作电子表格','将配置添加到您的\x20MCP\x20客户端设置文件中','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpStatus.disconnected','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpConfig.saving','_commandService','MCP\x20Unknown\x20Status','symbol','mcpStatus.networkError','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','4807590LInEie','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','配置无效','mcpConfig.configStepTitle','WebSocketService','12004eRhTIE','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','univer-shrink-0\x20univer-text-blue-500','保存中...','_initializeMenus','useCallback','show','点击配置\x20MCP','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','ComponentManager','span','mcpConfig.configStep1','\x20-\x20','assign','mcp-ui.config','Get\x20your\x20API\x20key\x20in\x20seconds','Injector','fill','MCP:\x20超出最大重试次数','MCP:\x20Network\x20Error','_initStatusComponent','带有\x20Bearer\x20前缀的\x20API\x20密钥。','mask','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Configuration\x20Parameters:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcpConfig.title','MCPStatusDisplay','register','https://mcp.univer.ai/mcp/?univer_session_id=','getConfig','Univer\x20AI\x20Console','pre','MCP\x20Disconnected','idSuffix','http','round','_loading$','univer-min-w-0\x20univer-flex-1','univer-text-red-500','MessageType','warn','https://console.univer.ai','_loadStoredApiKey','mcpConfig.validation.invalidConfig','getOwnPropertyDescriptor','mcpConfig.connectionStatus.connecting','8700321xhoHIO','value','string','univer-space-y-3','mcpConfig.apiKey','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','Click\x20to\x20configure\x20MCP','_handleConfigure','MCP\x20Connection\x20Failed','mcpConfig.connectionError.maxRetriesExceeded','https://console.univer.plus','mcp.apiKey','next','get','zhCN','MCPConnectionUIController','FAILED','MCP\x20Connected','univerjs-icon\x20univerjs-icon-','会话\x20ID\x20已被占用,请稍后再试','MenuIcon','1215DqBKRh','启用身份验证','Module','defIds','MCP\x20状态未知','几秒钟内获取您的\x20API\x20密钥','mergeMenu','mcpConfig.validation.invalidApiKey','_mcpConnectionController','mcpStatus.clickToConfigure','IConfigService','svg','SESSION_ID_OCCUPIED','_messageService','univer-flex\x20univer-gap-3','useObservable','univer-text-sm\x20univer-text-gray-500','933728dmoPLH','text','currentColor','未连接','attrs','您的\x20API\x20密钥将在此浏览器中本地存储','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','on-line-icon','disposeWithMe','超出最大重试次数,请稍后再试','useState','<API_KEY>','univer-bg-green-500','IUIPartsService','subscribeConfigValue$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MCPConnectionError','on-line-icon_clip0_910_349','UniverMCPPlugin','CONNECTING','_createConfigPanelComponent','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Configuration','univer-space-y-2','_initAutoConnect','HelpIcon','mcpConfig.apiApplyInfo.description','check-mark-icon','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','_localeService','off-line-icon_clip0_910_343','trim','white','Saving...','univer-flex\x20univer-items-start\x20univer-gap-3','mcpConfig.configStep3','removeItem','NONE','isValid','1em','Authorization:','_menuManagerService','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','errorMessage','配置更改将立即生效','8939224JEwEgc','MCP:\x20Max\x20Retries\x20Exceeded','onStarting','最大重试次数','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','CONNECTED','DISCONNECTED','MCP:\x20未授权','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','includes','none','UniverMCPUIPlugin','createElement','useDependency','showStatus','univer-space-y-4','map','Copy\x20the\x20JSON\x20configuration\x20below','help-icon','showDeveloperTools','mcpStatus.retrying','NETWORK_ERROR','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','OTHERS','mcpConfig.connectionError.unauthorized','mcpStatus.connected','mcpConfig.connectionStatus.connected','RETRYING','_dialogService','Error','配置保存失败','0\x200\x2017\x2016','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','Enable\x20Authentication','_initializeCommands','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','重连中...','toStringTag','_registerComponent','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\x20Key','evenodd','MCP\x20连接中...','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','API\x20key\x20is\x20required','_mcpCoreConfig$','univer-bg-gray-500','mcpConfig.apiApplyInfo.univerAiLabel','_componentManager','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','_validateConfig','770064uVwPtv','Click\x20to\x20connect\x20MCP','<SESSION_ID>','url(#$1','connectionStatus$','MCP\x20Client\x20Configuration','open'];_0x48fd=function(){return _0x1b9b1b;};return _0x48fd();}function _0x71a7(_0x3c9acd,_0x583ee2){const _0x48fd02=_0x48fd();return _0x71a7=function(_0x71a757,_0x42d966){_0x71a757=_0x71a757-0x143;let _0x2a441f=_0x48fd02[_0x71a757];return _0x2a441f;},_0x71a7(_0x3c9acd,_0x583ee2);}var Ae=Object[_0x17225c(0x1ca)],Oe=Object[_0x17225c(0x26b)],De=(_0x11db44,_0x19dcd8,_0x628a03)=>_0x19dcd8 in _0x11db44?Ae(_0x11db44,_0x19dcd8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x628a03}):_0x11db44[_0x19dcd8]=_0x628a03,Ue=(_0x46dd0b,_0x4ab3e5,_0xf3a950,_0x19b01f)=>{const _0x2038df=_0x17225c;for(var _0xf3df72=_0x19b01f>0x1?void 0x0:_0x19b01f?Oe(_0x4ab3e5,_0xf3a950):_0x4ab3e5,_0x372532=_0x46dd0b[_0x2038df(0x22a)]-0x1,_0x52484b;_0x372532>=0x0;_0x372532--)(_0x52484b=_0x46dd0b[_0x372532])&&(_0xf3df72=_0x52484b(_0xf3df72)||_0xf3df72);return _0xf3df72;},y=(_0x446626,_0x223dc0)=>(_0x444426,_0x2341e5)=>_0x223dc0(_0x444426,_0x2341e5,_0x446626),$e=(_0x33339e,_0x5e8b41,_0x4d520b)=>De(_0x33339e,_0x5e8b41+'',_0x4d520b);exports['UniverMCPUIPlugin']=class extends u['Plugin']{constructor(_0x26d5ae=L,_0xd974ed,_0x3d3617,_0x3c5556,_0x1b2b8c,_0x4f0a26){const _0x5070e2=_0x17225c;super(),this['_config']=_0x26d5ae,this[_0x5070e2(0x1bc)]=_0xd974ed,this['_configService']=_0x3d3617,this['_uiPartsService']=_0x3c5556,this[_0x5070e2(0x1fb)]=_0x1b2b8c,this[_0x5070e2(0x2b0)]=_0x4f0a26;const {..._0x15cea0}=u['merge']({},L,this['_config']);this[_0x5070e2(0x20d)]['setConfig'](P,_0x15cea0);}async[_0x17225c(0x2c2)](){const _0x385e66=_0x17225c,_0x5c8ce6=[[exports['MCPConnectionUIController']],[exports[_0x385e66(0x1ab)]],[exports['MCPUIMenuController']]];this['_injector']['has'](A[_0x385e66(0x21e)])||_0x5c8ce6[_0x385e66(0x1cb)]([A[_0x385e66(0x21e)],{'useClass':A[_0x385e66(0x23d)]}]),_0x5c8ce6[_0x385e66(0x175)](_0x4e0205=>this[_0x385e66(0x1bc)][_0x385e66(0x1fd)](_0x4e0205)),this[_0x385e66(0x1bc)]['get'](exports[_0x385e66(0x27c)]),this[_0x385e66(0x1bc)][_0x385e66(0x27a)](exports[_0x385e66(0x1ab)]),this[_0x385e66(0x1bc)][_0x385e66(0x27a)](exports['MCPUIMenuController']);}},$e(exports[_0x17225c(0x2cb)],_0x17225c(0x18c),'MCP_UI_PLUGIN'),exports['UniverMCPUIPlugin']=Ue([u[_0x17225c(0x18e)](s[_0x17225c(0x2a5)]),y(0x1,u[_0x17225c(0x17e)](u[_0x17225c(0x24e)])),y(0x2,u[_0x17225c(0x28c)]),y(0x3,v[_0x17225c(0x2a0)]),y(0x4,u[_0x17225c(0x1b2)]),y(0x5,u[_0x17225c(0x17e)](u[_0x17225c(0x214)]))],exports[_0x17225c(0x2cb)]),exports[_0x17225c(0x1f8)]=V,exports[_0x17225c(0x259)]=W,exports['OpenMCPConfigPanelCommand']=b,exports['enUS']=Ee,exports[_0x17225c(0x27b)]=we;
@@ -1 +1 @@
1
- 'use strict';const _0xd2c620=_0x4f1a;function _0x4643(){const _0x4e4b40=['54fLXahp','Failed\x20to\x20save\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20saved\x20successfully','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Retrying...','Disconnected','Retrying...','27176sQLVKj','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20connect\x20MCP','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20Key','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Configuration','4193516GhJIMR','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Save\x20Configuration','MCP\x20Disconnected','Invalid\x20configuration','66YeSQOK','3SSJSfR','Connected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','506934EpdQiz','Enter\x20your\x20API\x20key','MCP\x20Connection\x20Failed','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connected','MCP\x20Connecting...','MCP\x20Client\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20with\x20Bearer\x20prefix.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connecting...','Enable\x20Authentication','1621113ibCDzM','Connection\x20Failed','934130PqXTlu','63LjLTmZ','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','3970320evxHJP','651106cMkHGi'];_0x4643=function(){return _0x4e4b40;};return _0x4643();}(function(_0x15a9f3,_0x2b4354){const _0x4d34eb=_0x4f1a,_0x45b354=_0x15a9f3();while(!![]){try{const _0x25f2a5=parseInt(_0x4d34eb(0x15c))/0x1+-parseInt(_0x4d34eb(0x163))/0x2+parseInt(_0x4d34eb(0x14b))/0x3*(-parseInt(_0x4d34eb(0x145))/0x4)+parseInt(_0x4d34eb(0x162))/0x5+-parseInt(_0x4d34eb(0x14e))/0x6*(parseInt(_0x4d34eb(0x15f))/0x7)+parseInt(_0x4d34eb(0x13c))/0x8*(parseInt(_0x4d34eb(0x164))/0x9)+-parseInt(_0x4d34eb(0x15e))/0xa*(-parseInt(_0x4d34eb(0x14a))/0xb);if(_0x25f2a5===_0x2b4354)break;else _0x45b354['push'](_0x45b354['shift']());}catch(_0x27edf4){_0x45b354['push'](_0x45b354['shift']());}}}(_0x4643,0xd2608));function _0x4f1a(_0x143a24,_0x132b90){const _0x46433d=_0x4643();return _0x4f1a=function(_0x4f1aeb,_0x431e16){_0x4f1aeb=_0x4f1aeb-0x139;let _0x147ae2=_0x46433d[_0x4f1aeb];return _0x147ae2;},_0x4f1a(_0x143a24,_0x132b90);}const e={'mcpStatus':{'disconnected':_0xd2c620(0x148),'connecting':_0xd2c620(0x154),'connected':_0xd2c620(0x153),'failed':_0xd2c620(0x150),'retrying':_0xd2c620(0x139),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xd2c620(0x157),'clickToConnect':_0xd2c620(0x13e),'clickToConfigure':_0xd2c620(0x160)},'mcpConfig':{'title':_0xd2c620(0x144),'description':_0xd2c620(0x14d),'apiKey':_0xd2c620(0x142),'apiKeyPlaceholder':_0xd2c620(0x14f),'apiKeyHint':_0xd2c620(0x140),'enableAuth':_0xd2c620(0x15b),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0xd2c620(0x155),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0xd2c620(0x141),'configStepTitle':'Configuration\x20Steps:','configStep1':_0xd2c620(0x143),'configStep2':_0xd2c620(0x156),'configStep3':_0xd2c620(0x13d),'sessionId':'Session\x20ID','sessionIdDescription':_0xd2c620(0x168),'authorizationDescription':_0xd2c620(0x158),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0xd2c620(0x147),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xd2c620(0x161),'configSaved':_0xd2c620(0x167),'configError':_0xd2c620(0x165),'apiApplyInfo':{'title':_0xd2c620(0x13f),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xd2c620(0x166),'invalidConfig':_0xd2c620(0x149),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0xd2c620(0x13a),'connecting':_0xd2c620(0x15a),'connected':_0xd2c620(0x14c),'failed':_0xd2c620(0x15d),'retrying':_0xd2c620(0x13b)},'connectionError':{'unauthorized':_0xd2c620(0x146),'sessionOccupied':_0xd2c620(0x151),'networkError':_0xd2c620(0x159),'maxRetriesExceeded':_0xd2c620(0x152)}}},n=e;module['exports']=n;
1
+ 'use strict';const _0x4954ac=_0x4b6c;(function(_0x467318,_0x34f1e6){const _0x10a676=_0x4b6c,_0x502792=_0x467318();while(!![]){try{const _0x1bb482=parseInt(_0x10a676(0xe8))/0x1*(parseInt(_0x10a676(0xf0))/0x2)+-parseInt(_0x10a676(0xef))/0x3*(parseInt(_0x10a676(0x10a))/0x4)+-parseInt(_0x10a676(0xeb))/0x5*(-parseInt(_0x10a676(0xf8))/0x6)+-parseInt(_0x10a676(0xee))/0x7+parseInt(_0x10a676(0x114))/0x8*(parseInt(_0x10a676(0x100))/0x9)+-parseInt(_0x10a676(0xe3))/0xa+-parseInt(_0x10a676(0xf4))/0xb;if(_0x1bb482===_0x34f1e6)break;else _0x502792['push'](_0x502792['shift']());}catch(_0x5b2d0e){_0x502792['push'](_0x502792['shift']());}}}(_0x43a9,0xd3723));function _0x4b6c(_0x25465c,_0x5cb5ed){const _0x43a9a0=_0x43a9();return _0x4b6c=function(_0x4b6c4c,_0x11f6cc){_0x4b6c4c=_0x4b6c4c-0xe2;let _0x508bb2=_0x43a9a0[_0x4b6c4c];return _0x508bb2;},_0x4b6c(_0x25465c,_0x5cb5ed);}function _0x43a9(){const _0x1b4118=['Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','185211aSEYoC','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Invalid\x20configuration','670735qjsAFK','Disconnected','Connecting...','1397942HtJFHn','6gWecIk','2FsyIWK','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','4144657RnItwU','MCP\x20Disconnected','Session\x20ID','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','36qEyLhu','MCP\x20Connected','Save\x20Configuration','MCP:\x20Network\x20Error','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Client\x20Configuration','Enter\x20your\x20API\x20key','Univer\x20AI\x20Console','7761753ZElqyZ','Configuration\x20Steps:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Saving...','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\x20for\x20secure\x20connections','exports','MCP\x20Unknown\x20Status','Max\x20Retries','1503952tsHVUV','MCP:\x20Unauthorized','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20saved\x20successfully','API\x20Key','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Configuration','MCP\x20Connecting...','Configuration\x20Parameters:','16objvgh','API\x20key\x20with\x20Bearer\x20prefix.','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20is\x20required','5203750fMJdeV','Failed\x20to\x20save\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20Authentication'];_0x43a9=function(){return _0x1b4118;};return _0x43a9();}const e={'mcpStatus':{'disconnected':_0x4954ac(0xf5),'connecting':_0x4954ac(0x112),'connected':_0x4954ac(0xf9),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4954ac(0xf2),'unknown':_0x4954ac(0x108),'unauthorized':_0x4954ac(0x10b),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4954ac(0xfb),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4954ac(0x111),'description':_0x4954ac(0x10d),'apiKey':_0x4954ac(0x10f),'apiKeyPlaceholder':_0x4954ac(0xfe),'apiKeyHint':_0x4954ac(0xf3),'enableAuth':_0x4954ac(0xe6),'enableAuthHint':_0x4954ac(0x106),'connectionInfo':_0x4954ac(0xfd),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4954ac(0xf7),'configStepTitle':_0x4954ac(0x101),'configStep1':_0x4954ac(0x110),'configStep2':_0x4954ac(0xe9),'configStep3':_0x4954ac(0x103),'sessionId':_0x4954ac(0xf6),'sessionIdDescription':_0x4954ac(0xf1),'authorizationDescription':_0x4954ac(0x115),'configParameters':_0x4954ac(0x113),'maxRetries':_0x4954ac(0x109),'save':_0x4954ac(0xfa),'saving':_0x4954ac(0x104),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x4954ac(0xe7),'configSaved':_0x4954ac(0x10e),'configError':_0x4954ac(0xe4),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4954ac(0x105),'univerAiLabel':_0x4954ac(0xff),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4954ac(0xe2),'apiKeyTooShort':_0x4954ac(0x116),'invalidConfig':_0x4954ac(0xea),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4954ac(0xec),'connecting':_0x4954ac(0xed),'connected':'Connected','failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x4954ac(0x102),'sessionOccupied':_0x4954ac(0x10c),'networkError':_0x4954ac(0xfc),'maxRetriesExceeded':_0x4954ac(0xe5)}}},n=e;module[_0x4954ac(0x107)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x404b44=_0x220c;(function(_0x3c1ffc,_0x26cfdb){const _0x1420f3=_0x220c,_0x36c036=_0x3c1ffc();while(!![]){try{const _0x442329=parseInt(_0x1420f3(0x105))/0x1+parseInt(_0x1420f3(0x112))/0x2*(parseInt(_0x1420f3(0xf2))/0x3)+-parseInt(_0x1420f3(0x111))/0x4*(parseInt(_0x1420f3(0x117))/0x5)+-parseInt(_0x1420f3(0x11b))/0x6*(parseInt(_0x1420f3(0x110))/0x7)+parseInt(_0x1420f3(0x116))/0x8+parseInt(_0x1420f3(0xf3))/0x9*(-parseInt(_0x1420f3(0x10f))/0xa)+parseInt(_0x1420f3(0x107))/0xb*(parseInt(_0x1420f3(0xf5))/0xc);if(_0x442329===_0x26cfdb)break;else _0x36c036['push'](_0x36c036['shift']());}catch(_0x197b45){_0x36c036['push'](_0x36c036['shift']());}}}(_0x5540,0xa1d89));function _0x220c(_0x1e6d57,_0x3210c7){const _0x55406f=_0x5540();return _0x220c=function(_0x220cb3,_0x290f54){_0x220cb3=_0x220cb3-0xe9;let _0xfbc54d=_0x55406f[_0x220cb3];return _0xfbc54d;},_0x220c(_0x1e6d57,_0x3210c7);}const e={'mcpStatus':{'disconnected':_0x404b44(0x108),'connecting':_0x404b44(0x115),'connected':'MCP\x20Connected','failed':_0x404b44(0x118),'retrying':_0x404b44(0xf0),'unknown':_0x404b44(0x113),'unauthorized':_0x404b44(0x10b),'sessionOccupied':_0x404b44(0x106),'networkError':_0x404b44(0xe9),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x404b44(0x11c)},'mcpConfig':{'title':_0x404b44(0xfb),'description':_0x404b44(0xfe),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x404b44(0x10e),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x404b44(0xec),'enableAuthHint':_0x404b44(0x103),'connectionInfo':_0x404b44(0xf8),'mcpClientConfig':_0x404b44(0xf8),'configInstructions':_0x404b44(0x104),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x404b44(0x119),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x404b44(0xf6),'sessionId':_0x404b44(0xea),'sessionIdDescription':_0x404b44(0x11a),'authorizationDescription':_0x404b44(0xee),'configParameters':_0x404b44(0x102),'maxRetries':'Max\x20Retries','save':_0x404b44(0x109),'saving':_0x404b44(0xff),'note1':_0x404b44(0xed),'note2':_0x404b44(0xf4),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x404b44(0xef),'apiApplyInfo':{'title':_0x404b44(0xfc),'description':_0x404b44(0x10c),'univerAiLabel':_0x404b44(0x101),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x404b44(0xfd)},'connectionStatus':{'disconnected':_0x404b44(0xeb),'connecting':_0x404b44(0xf1),'connected':_0x404b44(0xfa),'failed':_0x404b44(0x100),'retrying':_0x404b44(0x114)},'connectionError':{'unauthorized':_0x404b44(0xf7),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x404b44(0x10d),'maxRetriesExceeded':_0x404b44(0x10a)}}};function _0x5540(){const _0x116d3f=['API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enter\x20your\x20API\x20key','3154090seSHfW','3238823hXldSP','4RFKSxx','2596534xlveoh','MCP\x20Unknown\x20Status','Retrying...','MCP\x20Connecting...','2533432UdKuIx','5180465QViXPC','MCP\x20Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','6PmloWw','Click\x20to\x20configure\x20MCP','MCP:\x20Network\x20Error','Session\x20ID','Disconnected','Enable\x20Authentication','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20with\x20Bearer\x20prefix.','Failed\x20to\x20save\x20configuration','MCP\x20Retrying...','Connecting...','3XTHOsX','18NpbUdp','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','240ljSePa','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Client\x20Configuration','exports','Connected','MCP\x20Configuration','What\x20is\x20API\x20Key?','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Saving...','Connection\x20Failed','Univer\x20AI\x20Console','Configuration\x20Parameters:','Enable\x20authentication\x20for\x20secure\x20connections','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','373655HvbVeX','MCP:\x20Session\x20ID\x20Occupied','442156DuJfDo','MCP\x20Disconnected','Save\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Unauthorized'];_0x5540=function(){return _0x116d3f;};return _0x5540();}module[_0x404b44(0xf9)]=e;
1
+ 'use strict';function _0x2f5c(_0x3d3565,_0x3e805a){const _0x3e2895=_0x3e28();return _0x2f5c=function(_0x2f5cc6,_0x5ca442){_0x2f5cc6=_0x2f5cc6-0x1ef;let _0x139314=_0x3e2895[_0x2f5cc6];return _0x139314;},_0x2f5c(_0x3d3565,_0x3e805a);}function _0x3e28(){const _0x19ad19=['MCP\x20Configuration','MCP\x20Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','1vUXadp','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connecting...','450872LiXTva','261Tcjlkz','Session\x20ID','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','3KpfItO','What\x20is\x20API\x20Key?','Configuration\x20Steps:','6200970fLQVwv','771782CCYoFi','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','9433690GszEgM','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20saved\x20successfully','Univer\x20AI\x20Console','MCP\x20Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','3292144HMOBaD','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Save\x20Configuration','125811YfzdFM','Retrying...','MCP\x20Connecting...','MCP\x20Unknown\x20Status','Invalid\x20configuration','Enable\x20Authentication','Click\x20to\x20connect\x20MCP','426anYLOJ','24631112fWcefQ','Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection'];_0x3e28=function(){return _0x19ad19;};return _0x3e28();}const _0x4c8230=_0x2f5c;(function(_0x49b8d7,_0x1f6b5c){const _0x566fce=_0x2f5c,_0x35e6bc=_0x49b8d7();while(!![]){try{const _0xfe7b8a=parseInt(_0x566fce(0x1f4))/0x1*(parseInt(_0x566fce(0x201))/0x2)+parseInt(_0x566fce(0x1fd))/0x3*(parseInt(_0x566fce(0x210))/0x4)+-parseInt(_0x566fce(0x200))/0x5+-parseInt(_0x566fce(0x21b))/0x6*(-parseInt(_0x566fce(0x214))/0x7)+parseInt(_0x566fce(0x1f7))/0x8*(-parseInt(_0x566fce(0x1f8))/0x9)+-parseInt(_0x566fce(0x205))/0xa+parseInt(_0x566fce(0x21c))/0xb;if(_0xfe7b8a===_0x1f6b5c)break;else _0x35e6bc['push'](_0x35e6bc['shift']());}catch(_0xf42f67){_0x35e6bc['push'](_0x35e6bc['shift']());}}}(_0x3e28,0xdd3f4));const e={'mcpStatus':{'disconnected':_0x4c8230(0x1f2),'connecting':_0x4c8230(0x216),'connected':_0x4c8230(0x20e),'failed':_0x4c8230(0x20c),'retrying':'MCP\x20Retrying...','unknown':_0x4c8230(0x217),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4c8230(0x21a),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4c8230(0x1f1),'description':_0x4c8230(0x1fc),'apiKey':_0x4c8230(0x1fb),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x4c8230(0x1ef),'enableAuth':_0x4c8230(0x219),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x4c8230(0x207),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4c8230(0x1f3),'configStepTitle':_0x4c8230(0x1ff),'configStep1':_0x4c8230(0x206),'configStep2':_0x4c8230(0x202),'configStep3':_0x4c8230(0x20d),'sessionId':_0x4c8230(0x1f9),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x4c8230(0x211),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x4c8230(0x213),'saving':'Saving...','note1':_0x4c8230(0x212),'note2':_0x4c8230(0x209),'configSaved':_0x4c8230(0x20a),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x4c8230(0x1fe),'description':_0x4c8230(0x1f5),'univerAiLabel':_0x4c8230(0x20b),'getStarted':_0x4c8230(0x208)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x4c8230(0x203),'invalidConfig':_0x4c8230(0x218),'invalidApiKey':_0x4c8230(0x20f)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4c8230(0x1f6),'connected':_0x4c8230(0x21d),'failed':'Connection\x20Failed','retrying':_0x4c8230(0x215)},'connectionError':{'unauthorized':_0x4c8230(0x204),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4c8230(0x1f0),'maxRetriesExceeded':_0x4c8230(0x1fa)}}};module['exports']=e;
@@ -1 +1 @@
1
- 'use strict';function _0x3afb(){const _0x257135=['1528653JSXvzD','MCP\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Max\x20Retries','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20Parameters:','Session\x20ID','MCP\x20Unknown\x20Status','MCP:\x20Unauthorized','Retrying...','Enter\x20your\x20API\x20key','14412xCoQnh','3290018TOffvF','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connection\x20Failed','MCP\x20Connecting...','Configuration\x20Steps:','Connection\x20Failed','Saving...','MCP\x20Connected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Disconnected','MCP:\x20Session\x20ID\x20Occupied','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enable\x20Authentication','API\x20key\x20is\x20required','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','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Max\x20Retries\x20Exceeded','Save\x20Configuration','MCP\x20Client\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','27kBtuiw','17440480JgLkvm','3XzELZv','4VrcCPf','API\x20Key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Enable\x20authentication\x20for\x20secure\x20connections','15924ApRMEn','4245704GslpZd','212055PEPqnL','Configuration\x20saved\x20successfully','Get\x20your\x20API\x20key\x20in\x20seconds','2317AYhesj','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','13310sDQPKR','Connected'];_0x3afb=function(){return _0x257135;};return _0x3afb();}function _0x2bb5(_0x1cdaeb,_0x25c5ae){const _0x3afbf8=_0x3afb();return _0x2bb5=function(_0x2bb558,_0x5c05d0){_0x2bb558=_0x2bb558-0x156;let _0x1baa78=_0x3afbf8[_0x2bb558];return _0x1baa78;},_0x2bb5(_0x1cdaeb,_0x25c5ae);}const _0x10e580=_0x2bb5;(function(_0x26c265,_0x473483){const _0x119213=_0x2bb5,_0x9569f8=_0x26c265();while(!![]){try{const _0x564d7d=-parseInt(_0x119213(0x16c))/0x1+parseInt(_0x119213(0x179))/0x2*(parseInt(_0x119213(0x15d))/0x3)+parseInt(_0x119213(0x15e))/0x4*(parseInt(_0x119213(0x164))/0x5)+parseInt(_0x119213(0x162))/0x6*(-parseInt(_0x119213(0x167))/0x7)+-parseInt(_0x119213(0x163))/0x8*(parseInt(_0x119213(0x15b))/0x9)+parseInt(_0x119213(0x15c))/0xa+-parseInt(_0x119213(0x16a))/0xb*(-parseInt(_0x119213(0x178))/0xc);if(_0x564d7d===_0x473483)break;else _0x9569f8['push'](_0x9569f8['shift']());}catch(_0x33c2c4){_0x9569f8['push'](_0x9569f8['shift']());}}}(_0x3afb,0xd82a4));const e={'mcpStatus':{'disconnected':_0x10e580(0x183),'connecting':_0x10e580(0x17c),'connected':_0x10e580(0x180),'failed':_0x10e580(0x17b),'retrying':'MCP\x20Retrying...','unknown':_0x10e580(0x174),'unauthorized':_0x10e580(0x175),'sessionOccupied':_0x10e580(0x184),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x10e580(0x156),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x10e580(0x16d),'description':_0x10e580(0x171),'apiKey':_0x10e580(0x15f),'apiKeyPlaceholder':_0x10e580(0x177),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x10e580(0x186),'enableAuthHint':_0x10e580(0x161),'connectionInfo':_0x10e580(0x158),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x10e580(0x160),'configStepTitle':_0x10e580(0x17d),'configStep1':_0x10e580(0x182),'configStep2':_0x10e580(0x17a),'configStep3':_0x10e580(0x169),'sessionId':_0x10e580(0x173),'sessionIdDescription':_0x10e580(0x18a),'authorizationDescription':_0x10e580(0x159),'configParameters':_0x10e580(0x172),'maxRetries':_0x10e580(0x16f),'save':_0x10e580(0x157),'saving':_0x10e580(0x17f),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x10e580(0x185),'configSaved':_0x10e580(0x165),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x10e580(0x188),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x10e580(0x166)},'validation':{'apiKeyRequired':_0x10e580(0x187),'apiKeyTooShort':_0x10e580(0x170),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x10e580(0x16e)},'connectionStatus':{'disconnected':_0x10e580(0x189),'connecting':'Connecting...','connected':_0x10e580(0x16b),'failed':_0x10e580(0x17e),'retrying':_0x10e580(0x176)},'connectionError':{'unauthorized':_0x10e580(0x181),'sessionOccupied':_0x10e580(0x168),'networkError':_0x10e580(0x15a),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
1
+ 'use strict';const _0x5c3baa=_0x3085;function _0x3085(_0x4ed104,_0x2e77f4){const _0x1c5b35=_0x1c5b();return _0x3085=function(_0x30859e,_0x2d5679){_0x30859e=_0x30859e-0x14b;let _0x6a3534=_0x1c5b35[_0x30859e];return _0x6a3534;},_0x3085(_0x4ed104,_0x2e77f4);}(function(_0x2f4a5e,_0x256007){const _0x2c5d55=_0x3085,_0x46574c=_0x2f4a5e();while(!![]){try{const _0x553fa8=parseInt(_0x2c5d55(0x178))/0x1+-parseInt(_0x2c5d55(0x154))/0x2+-parseInt(_0x2c5d55(0x151))/0x3+-parseInt(_0x2c5d55(0x150))/0x4*(parseInt(_0x2c5d55(0x15a))/0x5)+parseInt(_0x2c5d55(0x14b))/0x6*(-parseInt(_0x2c5d55(0x17c))/0x7)+parseInt(_0x2c5d55(0x174))/0x8*(-parseInt(_0x2c5d55(0x17a))/0x9)+-parseInt(_0x2c5d55(0x15d))/0xa*(-parseInt(_0x2c5d55(0x170))/0xb);if(_0x553fa8===_0x256007)break;else _0x46574c['push'](_0x46574c['shift']());}catch(_0x411f98){_0x46574c['push'](_0x46574c['shift']());}}}(_0x1c5b,0xf1b13));function _0x1c5b(){const _0x37f1b2=['Enable\x20authentication\x20for\x20secure\x20connections','634614IMQPno','MCP\x20Connected','What\x20is\x20API\x20Key?','Enable\x20Authentication','Failed\x20to\x20save\x20configuration','4792332XZEQcW','5426862UyHtgA','Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1132756ULmzvU','MCP:\x20Network\x20Error','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Univer\x20AI\x20Console','MCP\x20Connecting...','MCP\x20Unknown\x20Status','5BfdmiE','MCP:\x20Max\x20Retries\x20Exceeded','Session\x20ID','280HQIeps','MCP\x20Client\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Enter\x20your\x20API\x20key','MCP\x20Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20configure\x20MCP','API\x20Key','Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Unauthorized','API\x20key\x20is\x20required','MCP\x20Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Max\x20Retries','Saving...','Get\x20your\x20API\x20key\x20in\x20seconds','2093597bQPIUN','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','256DLXbGB','Connecting...','Invalid\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1533383pemKxX','Retrying...','378909DHbbTJ','Configuration\x20Parameters:','63PnVvYu','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connection\x20Failed','exports','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser'];_0x1c5b=function(){return _0x37f1b2;};return _0x1c5b();}const e={'mcpStatus':{'disconnected':_0x5c3baa(0x16a),'connecting':_0x5c3baa(0x158),'connected':_0x5c3baa(0x14c),'failed':_0x5c3baa(0x17e),'retrying':_0x5c3baa(0x161),'unknown':_0x5c3baa(0x159),'unauthorized':_0x5c3baa(0x168),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x5c3baa(0x155),'maxRetriesExceeded':_0x5c3baa(0x15b),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x5c3baa(0x164)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5c3baa(0x165),'apiKeyPlaceholder':_0x5c3baa(0x160),'apiKeyHint':_0x5c3baa(0x180),'enableAuth':_0x5c3baa(0x14e),'enableAuthHint':_0x5c3baa(0x181),'connectionInfo':_0x5c3baa(0x15e),'mcpClientConfig':_0x5c3baa(0x15e),'configInstructions':_0x5c3baa(0x15f),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5c3baa(0x17d),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x5c3baa(0x15c),'sessionIdDescription':_0x5c3baa(0x171),'authorizationDescription':_0x5c3baa(0x162),'configParameters':_0x5c3baa(0x17b),'maxRetries':_0x5c3baa(0x16d),'save':'Save\x20Configuration','saving':_0x5c3baa(0x16e),'note1':_0x5c3baa(0x163),'note2':_0x5c3baa(0x16b),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x5c3baa(0x14f),'apiApplyInfo':{'title':_0x5c3baa(0x14d),'description':_0x5c3baa(0x16c),'univerAiLabel':_0x5c3baa(0x157),'getStarted':_0x5c3baa(0x16f)},'validation':{'apiKeyRequired':_0x5c3baa(0x169),'apiKeyTooShort':_0x5c3baa(0x177),'invalidConfig':_0x5c3baa(0x176),'invalidApiKey':_0x5c3baa(0x153)},'connectionStatus':{'disconnected':_0x5c3baa(0x152),'connecting':_0x5c3baa(0x175),'connected':'Connected','failed':_0x5c3baa(0x166),'retrying':_0x5c3baa(0x179)},'connectionError':{'unauthorized':_0x5c3baa(0x156),'sessionOccupied':_0x5c3baa(0x172),'networkError':_0x5c3baa(0x167),'maxRetriesExceeded':_0x5c3baa(0x173)}}},n=e;module[_0x5c3baa(0x17f)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x4d5b09=_0x5d18;function _0x3416(){const _0x5388f1=['MCP:\x20Network\x20Error','Connecting...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Invalid\x20configuration','Disconnected','2040380afBQBa','Enable\x20Authentication','7GCrZZG','MCP\x20Connected','API\x20key\x20is\x20required','Enable\x20authentication\x20for\x20secure\x20connections','883063lMBsBx','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','771DHhCJI','Saving...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','4099810LVwmBg','Retrying...','Connected','1876158izWkyV','API\x20Key','Configuration\x20Parameters:','Click\x20to\x20configure\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','Connection\x20Failed','Configuration\x20saved\x20successfully','Enter\x20your\x20API\x20key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Click\x20to\x20connect\x20MCP','282UUSgGS','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','Save\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','exports','MCP:\x20Session\x20ID\x20Occupied','Session\x20ID','20961108JQOIQf','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Max\x20Retries','Univer\x20AI\x20Console','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','What\x20is\x20API\x20Key?','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Client\x20Configuration','Configuration\x20Steps:','2073032RpNvDt'];_0x3416=function(){return _0x5388f1;};return _0x3416();}(function(_0xaad456,_0x3149bf){const _0x89cd46=_0x5d18,_0x4ad3fb=_0xaad456();while(!![]){try{const _0x29838a=-parseInt(_0x89cd46(0x102))/0x1+parseInt(_0x89cd46(0xe1))/0x2*(-parseInt(_0x89cd46(0x106))/0x3)+parseInt(_0x89cd46(0xfc))/0x4+-parseInt(_0x89cd46(0x109))/0x5+-parseInt(_0x89cd46(0xd7))/0x6*(parseInt(_0x89cd46(0xfe))/0x7)+-parseInt(_0x89cd46(0xf6))/0x8+parseInt(_0x89cd46(0xeb))/0x9;if(_0x29838a===_0x3149bf)break;else _0x4ad3fb['push'](_0x4ad3fb['shift']());}catch(_0x5ce227){_0x4ad3fb['push'](_0x4ad3fb['shift']());}}}(_0x3416,0x80e97));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x4d5b09(0xff),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4d5b09(0xe5),'unknown':_0x4d5b09(0xe3),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x4d5b09(0xe9),'networkError':_0x4d5b09(0xf7),'maxRetriesExceeded':_0x4d5b09(0xf1),'clickToConnect':_0x4d5b09(0xe0),'clickToConfigure':_0x4d5b09(0xda)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x4d5b09(0xd8),'apiKeyPlaceholder':_0x4d5b09(0xde),'apiKeyHint':_0x4d5b09(0xef),'enableAuth':_0x4d5b09(0xfd),'enableAuthHint':_0x4d5b09(0x101),'connectionInfo':_0x4d5b09(0xf4),'mcpClientConfig':_0x4d5b09(0xf4),'configInstructions':_0x4d5b09(0xec),'configStepTitle':_0x4d5b09(0xf5),'configStep1':_0x4d5b09(0xdb),'configStep2':_0x4d5b09(0x108),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4d5b09(0xea),'sessionIdDescription':_0x4d5b09(0xdf),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x4d5b09(0xd9),'maxRetries':_0x4d5b09(0xed),'save':_0x4d5b09(0xe6),'saving':_0x4d5b09(0x107),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x4d5b09(0x104),'configSaved':_0x4d5b09(0xdd),'configError':_0x4d5b09(0xf0),'apiApplyInfo':{'title':_0x4d5b09(0xf2),'description':_0x4d5b09(0x103),'univerAiLabel':_0x4d5b09(0xee),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4d5b09(0x100),'apiKeyTooShort':_0x4d5b09(0xe7),'invalidConfig':_0x4d5b09(0xfa),'invalidApiKey':_0x4d5b09(0xe4)},'connectionStatus':{'disconnected':_0x4d5b09(0xfb),'connecting':_0x4d5b09(0xf8),'connected':_0x4d5b09(0x10b),'failed':_0x4d5b09(0xdc),'retrying':_0x4d5b09(0x10a)},'connectionError':{'unauthorized':_0x4d5b09(0xf9),'sessionOccupied':_0x4d5b09(0xe2),'networkError':_0x4d5b09(0xf3),'maxRetriesExceeded':_0x4d5b09(0x105)}}},n=e;function _0x5d18(_0x55df82,_0x556a11){const _0x34167e=_0x3416();return _0x5d18=function(_0x5d180e,_0x19e7d3){_0x5d180e=_0x5d180e-0xd7;let _0x4e35ee=_0x34167e[_0x5d180e];return _0x4e35ee;},_0x5d18(_0x55df82,_0x556a11);}module[_0x4d5b09(0xe8)]=n;
1
+ 'use strict';const _0x47f416=_0x39fa;(function(_0x26e050,_0x1729c7){const _0x1593b7=_0x39fa,_0x34a49b=_0x26e050();while(!![]){try{const _0x185c9a=-parseInt(_0x1593b7(0xb5))/0x1*(-parseInt(_0x1593b7(0x9a))/0x2)+parseInt(_0x1593b7(0x90))/0x3*(-parseInt(_0x1593b7(0xb0))/0x4)+-parseInt(_0x1593b7(0xb9))/0x5*(parseInt(_0x1593b7(0x8f))/0x6)+parseInt(_0x1593b7(0x9b))/0x7+-parseInt(_0x1593b7(0x88))/0x8*(-parseInt(_0x1593b7(0xb6))/0x9)+parseInt(_0x1593b7(0x93))/0xa*(parseInt(_0x1593b7(0x9f))/0xb)+-parseInt(_0x1593b7(0xa4))/0xc;if(_0x185c9a===_0x1729c7)break;else _0x34a49b['push'](_0x34a49b['shift']());}catch(_0x424cf9){_0x34a49b['push'](_0x34a49b['shift']());}}}(_0x36aa,0x217d1));function _0x36aa(){const _0x43030f=['Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20Authentication','MCP\x20Client\x20Configuration','Retrying...','Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','1572YbYrCl','638575CQCkrw','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','MCP\x20Unknown\x20Status','583dxiatj','MCP:\x20Unauthorized','Configuration\x20saved\x20successfully','Connection\x20Failed','API\x20key\x20is\x20required','3941196vMdtKA','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Disconnected','MCP\x20Configuration','Configuration\x20Parameters:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Max\x20Retries','MCP\x20Connecting...','Invalid\x20configuration','Click\x20to\x20configure\x20MCP','8tYqjmD','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20Steps:','exports','Click\x20to\x20connect\x20MCP','236PayrOj','1211922dSPXWs','Session\x20ID','Enter\x20your\x20API\x20key','270vKcOYj','MCP:\x20Network\x20Error','Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','8ydtNkJ','MCP\x20Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','7098uZSofd','171927ogDQBd','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20authentication\x20for\x20secure\x20connections','43910PhsiJb'];_0x36aa=function(){return _0x43030f;};return _0x36aa();}function _0x39fa(_0x15643e,_0x1e148c){const _0x36aa7e=_0x36aa();return _0x39fa=function(_0x39fa22,_0x31cf3c){_0x39fa22=_0x39fa22-0x87;let _0x2f3a9a=_0x36aa7e[_0x39fa22];return _0x2f3a9a;},_0x39fa(_0x15643e,_0x1e148c);}const e={'mcpStatus':{'disconnected':_0x47f416(0xa6),'connecting':_0x47f416(0xad),'connected':'MCP\x20Connected','failed':_0x47f416(0x9d),'retrying':_0x47f416(0x89),'unknown':_0x47f416(0x9e),'unauthorized':_0x47f416(0xa0),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x47f416(0xba),'maxRetriesExceeded':_0x47f416(0x8e),'clickToConnect':_0x47f416(0xb4),'clickToConfigure':_0x47f416(0xaf)},'mcpConfig':{'title':_0x47f416(0xa7),'description':_0x47f416(0xb1),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x47f416(0xb8),'apiKeyHint':_0x47f416(0x87),'enableAuth':_0x47f416(0x95),'enableAuthHint':_0x47f416(0x92),'connectionInfo':_0x47f416(0x96),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x47f416(0xb2),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x47f416(0x8a),'configStep3':_0x47f416(0x94),'sessionId':_0x47f416(0xb7),'sessionIdDescription':_0x47f416(0x8c),'authorizationDescription':_0x47f416(0x91),'configParameters':_0x47f416(0xa8),'maxRetries':_0x47f416(0xac),'save':'Save\x20Configuration','saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x47f416(0xaa),'configSaved':_0x47f416(0xa1),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x47f416(0x99),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x47f416(0xa3),'apiKeyTooShort':_0x47f416(0xa9),'invalidConfig':_0x47f416(0xae),'invalidApiKey':_0x47f416(0xa5)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x47f416(0x98),'connected':_0x47f416(0xbb),'failed':_0x47f416(0xa2),'retrying':_0x47f416(0x97)},'connectionError':{'unauthorized':_0x47f416(0x8d),'sessionOccupied':_0x47f416(0x9c),'networkError':_0x47f416(0xab),'maxRetriesExceeded':_0x47f416(0x8b)}}},n=e;module[_0x47f416(0xb3)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x1086a8=_0x3dd3;function _0x1d55(){const _0x691abb=['Get\x20your\x20API\x20key\x20in\x20seconds','898504uXMMbm','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','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.','Connection\x20Failed','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','MCP\x20Disconnected','Click\x20to\x20connect\x20MCP','Session\x20ID','Invalid\x20configuration','Univer\x20AI\x20Console','16713ywTYMO','Connected','Enter\x20your\x20API\x20key','Configuration\x20Parameters:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1034052tpJtis','Retrying...','What\x20is\x20API\x20Key?','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','2887riyFxF','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','484FzDYQv','1610UWirAS','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','92OyLOEA','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20Authentication','Disconnected','2438235gPXgHc','42sROncU','Save\x20Configuration','Click\x20to\x20configure\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','exports','77jLfWGJ','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','4790NCyylj','API\x20Key','Max\x20Retries','6456078MQjooc','MCP\x20Retrying...','Configuration\x20Steps:','MCP:\x20Unauthorized','API\x20key\x20is\x20required','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key'];_0x1d55=function(){return _0x691abb;};return _0x1d55();}function _0x3dd3(_0x3f39f6,_0xaa48f1){const _0x1d5534=_0x1d55();return _0x3dd3=function(_0x3dd340,_0x109198){_0x3dd340=_0x3dd340-0x1f2;let _0x40eb89=_0x1d5534[_0x3dd340];return _0x40eb89;},_0x3dd3(_0x3f39f6,_0xaa48f1);}(function(_0xaacac1,_0x2aad25){const _0x480505=_0x3dd3,_0xf12bd0=_0xaacac1();while(!![]){try{const _0x81de6f=-parseInt(_0x480505(0x1f3))/0x1*(parseInt(_0x480505(0x1f5))/0x2)+parseInt(_0x480505(0x1fc))/0x3+parseInt(_0x480505(0x1f8))/0x4*(-parseInt(_0x480505(0x204))/0x5)+-parseInt(_0x480505(0x207))/0x6+parseInt(_0x480505(0x1fd))/0x7*(parseInt(_0x480505(0x20e))/0x8)+parseInt(_0x480505(0x21a))/0x9*(parseInt(_0x480505(0x1f6))/0xa)+parseInt(_0x480505(0x202))/0xb*(parseInt(_0x480505(0x21f))/0xc);if(_0x81de6f===_0x2aad25)break;else _0xf12bd0['push'](_0xf12bd0['shift']());}catch(_0x3639cb){_0xf12bd0['push'](_0xf12bd0['shift']());}}}(_0x1d55,0x908e0));const e={'mcpStatus':{'disconnected':_0x1086a8(0x215),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x1086a8(0x214),'retrying':_0x1086a8(0x208),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x1086a8(0x20a),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x1086a8(0x210),'maxRetriesExceeded':_0x1086a8(0x200),'clickToConnect':_0x1086a8(0x216),'clickToConfigure':_0x1086a8(0x1ff)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1086a8(0x205),'apiKeyPlaceholder':_0x1086a8(0x21c),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x1086a8(0x1fa),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x1086a8(0x1f2),'configStepTitle':_0x1086a8(0x209),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x1086a8(0x21e),'sessionId':_0x1086a8(0x217),'sessionIdDescription':_0x1086a8(0x1f7),'authorizationDescription':_0x1086a8(0x1f9),'configParameters':_0x1086a8(0x21d),'maxRetries':_0x1086a8(0x206),'save':_0x1086a8(0x1fe),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x1086a8(0x203),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x1086a8(0x221),'description':_0x1086a8(0x211),'univerAiLabel':_0x1086a8(0x219),'getStarted':_0x1086a8(0x20d)},'validation':{'apiKeyRequired':_0x1086a8(0x20b),'apiKeyTooShort':_0x1086a8(0x1f4),'invalidConfig':_0x1086a8(0x218),'invalidApiKey':_0x1086a8(0x20f)},'connectionStatus':{'disconnected':_0x1086a8(0x1fb),'connecting':'Connecting...','connected':_0x1086a8(0x21b),'failed':_0x1086a8(0x212),'retrying':_0x1086a8(0x220)},'connectionError':{'unauthorized':_0x1086a8(0x20c),'sessionOccupied':_0x1086a8(0x213),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x1086a8(0x201)]=n;
1
+ 'use strict';const _0x3b9f77=_0x17d9;function _0x17d9(_0x377228,_0x1d086c){const _0x5a2db5=_0x5a2d();return _0x17d9=function(_0x17d975,_0x3040a9){_0x17d975=_0x17d975-0x83;let _0x481135=_0x5a2db5[_0x17d975];return _0x481135;},_0x17d9(_0x377228,_0x1d086c);}(function(_0x46d354,_0x552807){const _0x4cd6cb=_0x17d9,_0xd8fac4=_0x46d354();while(!![]){try{const _0x217885=parseInt(_0x4cd6cb(0xb5))/0x1*(-parseInt(_0x4cd6cb(0x96))/0x2)+-parseInt(_0x4cd6cb(0xaa))/0x3*(-parseInt(_0x4cd6cb(0x86))/0x4)+-parseInt(_0x4cd6cb(0xae))/0x5*(parseInt(_0x4cd6cb(0x83))/0x6)+-parseInt(_0x4cd6cb(0x9d))/0x7+parseInt(_0x4cd6cb(0xb6))/0x8*(-parseInt(_0x4cd6cb(0x88))/0x9)+parseInt(_0x4cd6cb(0xb4))/0xa*(parseInt(_0x4cd6cb(0x9e))/0xb)+parseInt(_0x4cd6cb(0x8a))/0xc;if(_0x217885===_0x552807)break;else _0xd8fac4['push'](_0xd8fac4['shift']());}catch(_0x56c733){_0xd8fac4['push'](_0xd8fac4['shift']());}}}(_0x5a2d,0xe15f9));function _0x5a2d(){const _0x4e3c85=['Enter\x20your\x20API\x20key','Saving...','6876569bdivqr','7843BRhPIa','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connecting...','Enable\x20Authentication','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Parameters:','Click\x20to\x20connect\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20saved\x20successfully','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20authentication\x20for\x20secure\x20connections','3YAeMFx','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Steps:','10aUlQQV','MCP\x20Configuration','Save\x20Configuration','exports','MCP\x20Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','21830fvsFMY','67Vgtohv','970264dZXHAW','Session\x20ID','MCP\x20Unknown\x20Status','2877042SmVQvB','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Failed\x20to\x20save\x20configuration','6214516ROEXLs','Invalid\x20configuration','81kDlxSN','MCP\x20Connection\x20Failed','30084960YXEqMA','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20is\x20required','Connection\x20Failed','Click\x20to\x20configure\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Client\x20Configuration','Max\x20Retries','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','49586rHpiUR','Disconnected','Connected','Copy\x20the\x20JSON\x20configuration\x20below','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets'];_0x5a2d=function(){return _0x4e3c85;};return _0x5a2d();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x3b9f77(0xb2),'failed':_0x3b9f77(0x89),'retrying':'MCP\x20Retrying...','unknown':_0x3b9f77(0xb8),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x3b9f77(0xac),'clickToConnect':_0x3b9f77(0xa4),'clickToConfigure':_0x3b9f77(0x8e)},'mcpConfig':{'title':_0x3b9f77(0xaf),'description':_0x3b9f77(0x9a),'apiKey':_0x3b9f77(0x91),'apiKeyPlaceholder':_0x3b9f77(0x9b),'apiKeyHint':_0x3b9f77(0xa8),'enableAuth':_0x3b9f77(0xa1),'enableAuthHint':_0x3b9f77(0xa9),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x3b9f77(0x93),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x3b9f77(0xad),'configStep1':_0x3b9f77(0x99),'configStep2':_0x3b9f77(0x92),'configStep3':_0x3b9f77(0xa7),'sessionId':_0x3b9f77(0xb7),'sessionIdDescription':_0x3b9f77(0x9f),'authorizationDescription':_0x3b9f77(0xa2),'configParameters':_0x3b9f77(0xa3),'maxRetries':_0x3b9f77(0x94),'save':_0x3b9f77(0xb0),'saving':_0x3b9f77(0x9c),'note1':_0x3b9f77(0x95),'note2':_0x3b9f77(0xb3),'configSaved':_0x3b9f77(0xa6),'configError':_0x3b9f77(0x85),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x3b9f77(0x84),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x3b9f77(0x8c),'apiKeyTooShort':_0x3b9f77(0x8f),'invalidConfig':_0x3b9f77(0x87),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x3b9f77(0x97),'connecting':_0x3b9f77(0xa0),'connected':_0x3b9f77(0x98),'failed':_0x3b9f77(0x8d),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x3b9f77(0xab),'sessionOccupied':_0x3b9f77(0x8b),'networkError':_0x3b9f77(0xa5),'maxRetriesExceeded':_0x3b9f77(0x90)}}},n=e;module[_0x3b9f77(0xb1)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x533b(_0x3ff913,_0x3d8119){const _0x579153=_0x5791();return _0x533b=function(_0x533ba6,_0x34afc9){_0x533ba6=_0x533ba6-0xa8;let _0x2ad40d=_0x579153[_0x533ba6];return _0x2ad40d;},_0x533b(_0x3ff913,_0x3d8119);}const _0x24f66d=_0x533b;(function(_0x5b1995,_0x4eab71){const _0x33aa47=_0x533b,_0x52b9be=_0x5b1995();while(!![]){try{const _0x3c9ace=-parseInt(_0x33aa47(0xcb))/0x1+-parseInt(_0x33aa47(0xcc))/0x2*(parseInt(_0x33aa47(0xb1))/0x3)+parseInt(_0x33aa47(0xc7))/0x4+-parseInt(_0x33aa47(0xab))/0x5+parseInt(_0x33aa47(0xc9))/0x6+-parseInt(_0x33aa47(0xad))/0x7*(-parseInt(_0x33aa47(0xae))/0x8)+-parseInt(_0x33aa47(0xb0))/0x9*(parseInt(_0x33aa47(0xb6))/0xa);if(_0x3c9ace===_0x4eab71)break;else _0x52b9be['push'](_0x52b9be['shift']());}catch(_0x422771){_0x52b9be['push'](_0x52b9be['shift']());}}}(_0x5791,0x1d3da));function _0x5791(){const _0x5dfdce=['What\x20is\x20API\x20Key?','2148930LfnfjV','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Get\x20your\x20API\x20key\x20in\x20seconds','Connecting...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session\x20ID','MCP:\x20Max\x20Retries\x20Exceeded','Failed\x20to\x20save\x20configuration','Invalid\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Parameters:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connecting...','MCP:\x20Session\x20ID\x20Occupied','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20saved\x20successfully','MCP\x20Client\x20Configuration','632940rlGewy','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','1339782dRLazS','MCP\x20Connection\x20Failed','33767qSTPNW','35948kKhUbm','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20Key','Connected','MCP:\x20Unauthorized','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Configuration','Click\x20to\x20connect\x20MCP','Retrying...','Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20is\x20required','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connected','409815wGYKzo','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','607845zhUnWA','8zyTIsq','Copy\x20the\x20JSON\x20configuration\x20below','9vcnZCr','3gHvbpM','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','Enable\x20Authentication'];_0x5791=function(){return _0x5dfdce;};return _0x5791();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x24f66d(0xc2),'connected':_0x24f66d(0xaa),'failed':_0x24f66d(0xca),'retrying':'MCP\x20Retrying...','unknown':_0x24f66d(0xb2),'unauthorized':_0x24f66d(0xd0),'sessionOccupied':_0x24f66d(0xc3),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x24f66d(0xbc),'clickToConnect':_0x24f66d(0xd4),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x24f66d(0xd3),'description':_0x24f66d(0xac),'apiKey':_0x24f66d(0xce),'apiKeyPlaceholder':_0x24f66d(0xb3),'apiKeyHint':_0x24f66d(0xc8),'enableAuth':_0x24f66d(0xb4),'enableAuthHint':_0x24f66d(0xd1),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x24f66d(0xc6),'configInstructions':_0x24f66d(0xd7),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x24f66d(0xaf),'configStep2':_0x24f66d(0xcd),'configStep3':_0x24f66d(0xc1),'sessionId':_0x24f66d(0xbb),'sessionIdDescription':_0x24f66d(0xba),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x24f66d(0xc0),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':_0x24f66d(0xd2),'note2':_0x24f66d(0xa8),'configSaved':_0x24f66d(0xc5),'configError':_0x24f66d(0xbd),'apiApplyInfo':{'title':_0x24f66d(0xb5),'description':_0x24f66d(0xa9),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x24f66d(0xb8)},'validation':{'apiKeyRequired':_0x24f66d(0xd8),'apiKeyTooShort':_0x24f66d(0xb7),'invalidConfig':_0x24f66d(0xbe),'invalidApiKey':_0x24f66d(0xc4)},'connectionStatus':{'disconnected':_0x24f66d(0xd6),'connecting':_0x24f66d(0xb9),'connected':_0x24f66d(0xcf),'failed':'Connection\x20Failed','retrying':_0x24f66d(0xd5)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x24f66d(0xbf),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
1
+ 'use strict';const _0x4a73f6=_0x2925;(function(_0x384484,_0x182c34){const _0x214441=_0x2925,_0x2c9af2=_0x384484();while(!![]){try{const _0x42c1a7=parseInt(_0x214441(0x1df))/0x1+parseInt(_0x214441(0x1fb))/0x2*(-parseInt(_0x214441(0x1d8))/0x3)+parseInt(_0x214441(0x1f6))/0x4+parseInt(_0x214441(0x1e5))/0x5+parseInt(_0x214441(0x1ff))/0x6+-parseInt(_0x214441(0x1d9))/0x7+-parseInt(_0x214441(0x1e8))/0x8;if(_0x42c1a7===_0x182c34)break;else _0x2c9af2['push'](_0x2c9af2['shift']());}catch(_0x281364){_0x2c9af2['push'](_0x2c9af2['shift']());}}}(_0x41eb,0x8b5d5));function _0x2925(_0x10f96,_0x37e39f){const _0x41eb7e=_0x41eb();return _0x2925=function(_0x292504,_0x49ccd9){_0x292504=_0x292504-0x1d5;let _0xa66a74=_0x41eb7e[_0x292504];return _0xa66a74;},_0x2925(_0x10f96,_0x37e39f);}const e={'mcpStatus':{'disconnected':_0x4a73f6(0x1e1),'connecting':_0x4a73f6(0x1ec),'connected':_0x4a73f6(0x200),'failed':_0x4a73f6(0x1ea),'retrying':_0x4a73f6(0x206),'unknown':_0x4a73f6(0x1f8),'unauthorized':_0x4a73f6(0x1da),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4a73f6(0x1e2),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4a73f6(0x1ed)},'mcpConfig':{'title':_0x4a73f6(0x1dc),'description':_0x4a73f6(0x1f2),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4a73f6(0x1fe),'apiKeyHint':_0x4a73f6(0x1f7),'enableAuth':_0x4a73f6(0x1ef),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x4a73f6(0x202),'mcpClientConfig':_0x4a73f6(0x202),'configInstructions':_0x4a73f6(0x1fc),'configStepTitle':_0x4a73f6(0x1ee),'configStep1':_0x4a73f6(0x1d6),'configStep2':_0x4a73f6(0x1e4),'configStep3':_0x4a73f6(0x1f4),'sessionId':_0x4a73f6(0x1f5),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x4a73f6(0x1e0),'configParameters':_0x4a73f6(0x203),'maxRetries':_0x4a73f6(0x1f9),'save':_0x4a73f6(0x204),'saving':_0x4a73f6(0x1f0),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x4a73f6(0x1dd),'configSaved':_0x4a73f6(0x1e3),'configError':_0x4a73f6(0x205),'apiApplyInfo':{'title':_0x4a73f6(0x1e6),'description':_0x4a73f6(0x1e9),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4a73f6(0x1d7)},'validation':{'apiKeyRequired':_0x4a73f6(0x1de),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x4a73f6(0x1e7),'invalidApiKey':_0x4a73f6(0x1db)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4a73f6(0x1d5),'connected':_0x4a73f6(0x207),'failed':_0x4a73f6(0x1f3),'retrying':_0x4a73f6(0x1fa)},'connectionError':{'unauthorized':_0x4a73f6(0x1f1),'sessionOccupied':_0x4a73f6(0x1fd),'networkError':_0x4a73f6(0x1eb),'maxRetriesExceeded':_0x4a73f6(0x201)}}},n=e;module['exports']=n;function _0x41eb(){const _0x5f077a=['Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','Configuration\x20Parameters:','Save\x20Configuration','Failed\x20to\x20save\x20configuration','MCP\x20Retrying...','Connected','Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','Get\x20your\x20API\x20key\x20in\x20seconds','11712XxDrrm','2542106JJppDp','MCP:\x20Unauthorized','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20is\x20required','859775eCNdzq','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Disconnected','MCP:\x20Network\x20Error','Configuration\x20saved\x20successfully','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','4333415VhUOYP','What\x20is\x20API\x20Key?','Invalid\x20configuration','5594824ATkJyp','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connecting...','Click\x20to\x20configure\x20MCP','Configuration\x20Steps:','Enable\x20Authentication','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session\x20ID','2524388laDxdW','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Unknown\x20Status','Max\x20Retries','Retrying...','538SpBkXm','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','1955814iLMKHH','MCP\x20Connected'];_0x41eb=function(){return _0x5f077a;};return _0x41eb();}