@univerjs-pro/mcp-ui 0.17.0 → 0.19.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 (70) 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/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.css +537 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/sk-SK.js +1 -1
  38. package/lib/locale/vi-VN.js +1 -1
  39. package/lib/locale/zh-CN.js +1 -1
  40. package/lib/locale/zh-TW.js +1 -1
  41. package/lib/types/commands/mcp-config.command.d.ts +1 -1
  42. package/lib/types/controllers/menu.d.ts +2 -2
  43. package/lib/types/controllers/menu.schema.d.ts +1 -1
  44. package/lib/types/locale/ca-ES.d.ts +1 -1
  45. package/lib/types/locale/es-ES.d.ts +1 -1
  46. package/lib/types/locale/fa-IR.d.ts +1 -1
  47. package/lib/types/locale/fr-FR.d.ts +1 -1
  48. package/lib/types/locale/ja-JP.d.ts +1 -1
  49. package/lib/types/locale/ko-KR.d.ts +1 -1
  50. package/lib/types/locale/ru-RU.d.ts +1 -1
  51. package/lib/types/locale/sk-SK.d.ts +1 -1
  52. package/lib/types/locale/vi-VN.d.ts +1 -1
  53. package/lib/types/locale/zh-TW.d.ts +1 -1
  54. package/lib/types/plugin.d.ts +1 -1
  55. package/lib/types/views/components/mcp-config.d.ts +4 -3
  56. package/lib/types/views/components/mcp-status.d.ts +1 -1
  57. package/lib/umd/index.js +1 -1
  58. package/lib/umd/locale/ca-ES.js +1 -1
  59. package/lib/umd/locale/en-US.js +1 -1
  60. package/lib/umd/locale/es-ES.js +1 -1
  61. package/lib/umd/locale/fa-IR.js +1 -1
  62. package/lib/umd/locale/fr-FR.js +1 -1
  63. package/lib/umd/locale/ja-JP.js +1 -1
  64. package/lib/umd/locale/ko-KR.js +1 -1
  65. package/lib/umd/locale/ru-RU.js +1 -1
  66. package/lib/umd/locale/sk-SK.js +1 -1
  67. package/lib/umd/locale/vi-VN.js +1 -1
  68. package/lib/umd/locale/zh-CN.js +1 -1
  69. package/lib/umd/locale/zh-TW.js +1 -1
  70. package/package.json +12 -11
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x31a787=_0x2c97;function _0x1a49(){const _0x4f2af5=['mcpConfig.save','_mcpConnectionController','带有\x20Bearer\x20前缀的\x20API\x20密钥。','disposeWithMe','random','pluginName','mcpConfig.configInstructions','register','SESSION_ID_OCCUPIED','validateApiKey','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-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','_mcpCoreConfig$','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','MessageType','MenuIcon','_handleConfigure','Copy\x20the\x20JSON\x20configuration\x20below','symbol','LocaleService','点击配置\x20MCP','Univer\x20AI\x20Console','MCP:\x20网络错误','children','mcpConfig.note1','HelpIcon','mcpConfig.apiApplyInfo.title','on-line-icon','univer-space-y-5','getConfig','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','BUTTON','mcpStatus.sessionOccupied','mcpConfig.configStep3','univer-bg-red-500','round','isValid','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-text-xs\x20univer-text-gray-500','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','MCP:\x20会话\x20ID\x20已被占用','MCP\x20配置','_config$','mcpConfig.connectionError.sessionOccupied','enableAutoConnect','translate(.97)','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Retrying...','currentColor','off','connectionStatus$','mcpConfig.saving','mcpConfig.apiApplyInfo.description','2QoTaBA','配置参数:','MCPStatusDisplay','mcpStatus.unknown','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','version','entries','API\x20密钥长度至少需要\x2010\x20位','createElement','MCP:\x20Max\x20Retries\x20Exceeded','Max\x20Retries','Session\x20ID','FAILED','_initializeCommands','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-bg-blue-500','mcpConfig.apiKeyPlaceholder','univer.ai','NETWORK_ERROR','_createConfigPanelComponent','univerjs-icon\x20univerjs-icon-','mcpConfig.configStepTitle','forEach','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','最大重试次数','displayName','mcpConfig.validation.apiKeyTooShort','MCP\x20已连接','ISocketService','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer.plus','mcp-ui.command.openConfigPanel','button','off-line-icon_clip0_910_343','_registerComponent','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-text-sm\x20univer-font-medium','assign','mcpStatus.retrying','M0\x200H16V16H0z','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','75935PTvZzC','univer-text-red-500','已连接','add','MCP\x20连接失败','mcp.apiKey','tag','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','mcpStatus.unauthorized','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','MCP\x20Retrying...','next','Configuration\x20Steps:','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','stringify','_config','mcp-ui.config','mcpConfig.connectionStatus.connected','zhCN','use','on-line-icon_clip0_910_349','length','MCPConnectionError','https://mcp.univer.ai/mcp/?univer_session_id=','Error','apiKey','_apiKey$','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-size-4','MenuItemType','univer-flex\x20univer-items-center\x20univer-gap-2','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','useState','<API_KEY>','0.17.0','Saving...','Inject','40bHISoa','subscribe','mcpStatus.clickToConfigure','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','http://www.w3.org/2000/svg','show','errorMessage','attrs','univer-text-blue-600','mcpConfig.apiApplyInfo.univerAiLabel','__setCustomHeaders','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','_loadStoredApiKey','toString','mcpConfig.connectionError.unauthorized','mcpConfig.sessionIdDescription','网络连接错误,请检查您的网络连接','UniverIcon','defineProperty','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcpConfig.configStep1','bottom','OTHERS','6872430PEYGqe','current','mcpConfig.connectionStatus.retrying','_messageService','_initializeMenus','mcpConfig.validation.apiKeyRequired','What\x20is\x20API\x20Key?','mergeMenu','pre','MCPUIMenuController','MCP:\x20未授权','setItem','_componentManager','0\x200\x2016\x2016','COMMAND','useDependency','url(#$1','univer-mr-2\x20univer-flex\x20univer-text-xl','Bearer\x20','MCP\x20Connection\x20Failed','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-space-y-3','MCP\x20Unknown\x20Status','MCP\x20客户端配置','Disconnected','MCPConnectionUIController','RibbonStartGroup','Univer\x20AI\x20控制台','_initStatusComponent','evenodd','MCP\x20Client\x20Configuration','9gsKiqo','enUS','subscribeConfigValue$','useObservable','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UniverMCPUIPlugin','univer-flex-1','svg','复制以下\x20JSON\x20配置','getItem','MCP\x20Configuration','mcpConfig.title','您的\x20API\x20密钥将在此浏览器中本地存储','_localeService','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','check-mark-icon','\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','Configuration\x20Notes:','ILocalStorageService','连接中...','CheckMarkIcon','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','配置无效','Module','Connecting...','_menuManagerService','map','配置步骤:','fill','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','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','ILogService','IConfigService','MCP_PLUGIN_CONFIG_KEY','white','MCP\x20Connected','几秒钟内获取您的\x20API\x20密钥','useCallback','defs','MCPConnectionStatus','value','univer-flex\x20univer-flex-wrap\x20univer-gap-2','get','connectInjector','超出最大重试次数,请稍后再试','http','保存中...','Get\x20your\x20API\x20key\x20in\x20seconds','mcpConfig.connectionError.maxRetriesExceeded','OpenMCPConfigPanelCommand','univer-bg-gray-500','MCP\x20Disconnected','_injector','univer-text-sm\x20univer-text-gray-500','配置保存失败','univer-flex\x20univer-gap-3','<SESSION_ID>','https://console.univer.plus','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','_blank','help-icon','MCPConfigPanel','div','mask','error','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.note2','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','span','univer-flex\x20univer-items-center','UniverMCPPlugin','MAX_RETRIES_EXCEEDED','_validateConfig','5613190ofjZaS','启用身份验证以获得安全连接','CommandType','将以下配置添加到您的\x20MCP\x20客户端设置中:','DependentOn','https://console.univer.ai','packageName','_localStorageService','_configService','replace','mcpConfig.apiKeyHint','_initConfigSync','6001712JyULqh','jsx','MCP:\x20超出最大重试次数','clsx','Disposable','merge','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','API\x20密钥','warn','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','noopener\x20noreferrer','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Plugin','univer-size-2\x20univer-rounded-full','MCP\x20Connecting...','MCP\x20已断开','Configuration\x20saved\x20successfully','name','mcpConfig.configStep2','重启您的\x20MCP\x20客户端以使配置生效','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-flex\x20univer-items-start\x20univer-gap-3','_loading$','none','配置更改将立即生效','idSuffix','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','_commandService','BehaviorSubject','DISCONNECTED','\x20-\x20','mcpConfig.validation.invalidConfig','OffLineIcon','Enter\x20your\x20API\x20key','_connectionController','CONNECTING','univer-min-w-0\x20univer-flex-1','trim','权限验证失败,请检查您的\x20API\x20密钥','API\x20key\x20is\x20required','RETRYING','UNAUTHORIZED','url(#on-line-icon_clip0_910_349)','CloseIcon','univer-text-gray-500','xlink:href','连接失败','会话ID','_dialogService','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','IUIPartsService','mcpConfig.apiKey','mcpConfig.connectionStatus.failed','includes','univer-text-white','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','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','defIds','Failed\x20to\x20save\x20configuration','getOwnPropertyDescriptor','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','_logService','什么是\x20API\x20密钥?','mcpConfig.description','mcpConfig.validation.invalidApiKey','WebSocketService','1503687jmgqth','CONNECTED','mcpStatus.networkError','mcpConfig.connectionStatus.disconnected','clipPath','保存配置','mcpConfig.connectionError.networkError','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpConfig.configParameters','Connection\x20Failed','substring','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-items-center\x20univer-gap-3','jsxs','_handleConfigSave','API\x20密钥无效,请检查密钥是否正确','Save\x20Configuration','univer-shrink-0\x20univer-text-blue-500','string','toStringTag','_initAutoConnect','mcpServerUrl','univer-space-y-2','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','close','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','@univerjs-pro/mcp-ui','open','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','1147860RhFXea','_uiPartsService','1em','MCP\x20状态未知','HEADER_MENU','MCPConnectionController','mcpStatus.failed','registerComponent','univer-bg-green-500','path','showDeveloperTools','url(#off-line-icon_clip0_910_343)','启用身份验证','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Injector','mcpStatus.maxRetriesExceeded','NONE','Invalid\x20configuration','mcp-config-dialog','univer-space-y-4','Click\x20to\x20connect\x20MCP','showConfigPanel','connectionError$','MCPConfigUIController','univer-text-xs\x20univer-text-gray-600','8163925hLVDUL','forwardRef','colorChannel1','OnLineIcon'];_0x1a49=function(){return _0x4f2af5;};return _0x1a49();}(function(_0xa7ec0c,_0x58df67){const _0x50a7f0=_0x2c97,_0x1c2363=_0xa7ec0c();while(!![]){try{const _0x2d6f8a=-parseInt(_0x50a7f0(0x1e9))/0x1+-parseInt(_0x50a7f0(0x23b))/0x2*(parseInt(_0x50a7f0(0x1cc))/0x3)+parseInt(_0x50a7f0(0xfc))/0x4*(parseInt(_0x50a7f0(0x265))/0x5)+parseInt(_0x50a7f0(0x113))/0x6+parseInt(_0x50a7f0(0x202))/0x7+-parseInt(_0x50a7f0(0x189))/0x8+parseInt(_0x50a7f0(0x133))/0x9*(parseInt(_0x50a7f0(0x17d))/0xa);if(_0x2d6f8a===_0x58df67)break;else _0x1c2363['push'](_0x1c2363['shift']());}catch(_0x37181b){_0x1c2363['push'](_0x1c2363['shift']());}}}(_0x1a49,0x98b9e));var ue=Object[_0x31a787(0x10e)],ve=(_0x2ec6bf,_0x5838fe,_0x180ec5)=>_0x5838fe in _0x2ec6bf?ue(_0x2ec6bf,_0x5838fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x180ec5}):_0x2ec6bf[_0x5838fe]=_0x180ec5,I=(_0x5e4022,_0x4f5e5c,_0x32e785)=>ve(_0x5e4022,typeof _0x4f5e5c!=_0x31a787(0x218)?_0x4f5e5c+'':_0x4f5e5c,_0x32e785);Object[_0x31a787(0x10e)](exports,Symbol[_0x31a787(0x1df)],{'value':_0x31a787(0x14b)});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:_0x2e75e9,..._0x593fcd}){const _0x1e45c9=_0x31a787,{icon:_0x5b3bac,id:_0x303a2c,className:_0x5d30da,extend:_0x27fc81,..._0x2d6aac}=_0x593fcd,_0x4c4d61=(_0x1e45c9(0x250)+_0x303a2c+'\x20'+(_0x5d30da||''))[_0x1e45c9(0x1af)](),_0x16b491=d['useRef']('_'+ge());return H(_0x5b3bac,''+_0x303a2c,{'defIds':_0x5b3bac[_0x1e45c9(0x1c3)],'idSuffix':_0x16b491[_0x1e45c9(0x114)]},{'ref':_0x2e75e9,'className':_0x4c4d61,..._0x2d6aac},_0x27fc81);}function H(_0x27b2cb,_0x29f181,_0x54c7f9,_0x343aad,_0x310eb5){const _0x2734d2=_0x31a787;return d[_0x2734d2(0x244)](_0x27b2cb[_0x2734d2(0x26b)],{'key':_0x29f181,...de(_0x27b2cb,_0x54c7f9,_0x310eb5),..._0x343aad},(Ce(_0x27b2cb,_0x54c7f9)[_0x2734d2(0x21d)]||[])[_0x2734d2(0x14e)]((_0x4d8f60,_0x3055e3)=>H(_0x4d8f60,_0x29f181+'-'+_0x27b2cb[_0x2734d2(0x26b)]+'-'+_0x3055e3,_0x54c7f9,void 0x0,_0x310eb5)));}function de(_0x219d01,_0x4e6f47,_0x50bf2c){const _0x38ff86=_0x31a787,_0x47b8be={..._0x219d01[_0x38ff86(0x103)]};_0x50bf2c!=null&&_0x50bf2c[_0x38ff86(0x204)]&&_0x47b8be['fill']===_0x38ff86(0x204)&&(_0x47b8be[_0x38ff86(0x150)]=_0x50bf2c['colorChannel1']),_0x219d01[_0x38ff86(0x26b)]===_0x38ff86(0x173)&&_0x47b8be['id']&&(_0x47b8be['id']=_0x47b8be['id']+_0x4e6f47['idSuffix']),Object[_0x38ff86(0x242)](_0x47b8be)['forEach'](([_0x4fc5fc,_0x2e2480])=>{const _0x22a4b0=_0x38ff86;_0x4fc5fc===_0x22a4b0(0x173)&&typeof _0x2e2480=='string'&&(_0x47b8be[_0x4fc5fc]=_0x2e2480[_0x22a4b0(0x186)](/url\(#(.*)\)/,_0x22a4b0(0x123)+_0x4e6f47['idSuffix']+')'));});const {defIds:_0x51ec7f}=_0x4e6f47;return!_0x51ec7f||_0x51ec7f[_0x38ff86(0x27a)]===0x0||(_0x219d01['tag']===_0x38ff86(0x278)&&_0x47b8be['xlink:href']&&(_0x47b8be['xlink:href']=_0x47b8be[_0x38ff86(0x1b7)]+_0x4e6f47['idSuffix']),Object[_0x38ff86(0x242)](_0x47b8be)[_0x38ff86(0x252)](([_0x1c5734,_0xa02090])=>{const _0x5a084b=_0x38ff86;typeof _0xa02090==_0x5a084b(0x1de)&&(_0x47b8be[_0x1c5734]=_0xa02090['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4e6f47[_0x5a084b(0x1a3)]+')'));})),_0x47b8be;}function Ce(_0x30c7d8,_0x16731a){const _0x154785=_0x31a787;var _0x4d974e;const {defIds:_0x32af1e}=_0x16731a;return!_0x32af1e||_0x32af1e['length']===0x0?_0x30c7d8:_0x30c7d8[_0x154785(0x26b)]===_0x154785(0x15a)&&((_0x4d974e=_0x30c7d8[_0x154785(0x21d)])!=null&&_0x4d974e[_0x154785(0x27a)])?{..._0x30c7d8,'children':_0x30c7d8[_0x154785(0x21d)][_0x154785(0x14e)](_0x454612=>typeof _0x454612[_0x154785(0x103)]['id']==_0x154785(0x1de)&&_0x32af1e&&_0x32af1e[_0x154785(0x1bf)](_0x454612['attrs']['id'])?{..._0x454612,'attrs':{..._0x454612[_0x154785(0x103)],'id':_0x454612[_0x154785(0x103)]['id']+_0x16731a[_0x154785(0x1a3)]}}:_0x454612)}:_0x30c7d8;}function ge(){const _0x5819ff=_0x31a787;return Math[_0x5819ff(0x20a)]()[_0x5819ff(0x109)](0x24)[_0x5819ff(0x1d6)](0x2,0x8);}_[_0x31a787(0x255)]=_0x31a787(0x10d);const fe={'tag':_0x31a787(0x13a),'attrs':{'xmlns':_0x31a787(0x100),'fill':_0x31a787(0x1a1),'viewBox':_0x31a787(0x120),'width':_0x31a787(0x1eb),'height':_0x31a787(0x1eb)},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'fill':_0x31a787(0x236),'d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':_0x31a787(0x131),'clipRule':_0x31a787(0x131)}}]},B=d[_0x31a787(0x203)](function(_0x48b6ee,_0xe39095){const _0x192dba=_0x31a787;return d['createElement'](_,Object[_0x192dba(0x261)]({},_0x48b6ee,{'id':_0x192dba(0x143),'ref':_0xe39095,'icon':fe}));});function _0x2c97(_0x4a763d,_0x3448d7){_0x4a763d=_0x4a763d-0xef;const _0x1a49b6=_0x1a49();let _0x2c9760=_0x1a49b6[_0x4a763d];return _0x2c9760;}B[_0x31a787(0x255)]=_0x31a787(0x148);const pe={'tag':'svg','attrs':{'xmlns':_0x31a787(0x100),'fill':_0x31a787(0x1a1),'viewBox':_0x31a787(0x120),'width':_0x31a787(0x1eb),'height':'1em'},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'fill':_0x31a787(0x236),'d':_0x31a787(0x149)}}]},F=d[_0x31a787(0x203)](function(_0x1b5cbd,_0xa619a5){const _0xe3937a=_0x31a787;return d[_0xe3937a(0x244)](_,Object[_0xe3937a(0x261)]({},_0x1b5cbd,{'id':'close-icon','ref':_0xa619a5,'icon':pe}));});F[_0x31a787(0x255)]=_0x31a787(0x1b5);const he={'tag':_0x31a787(0x13a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x31a787(0x1a1),'viewBox':_0x31a787(0x120),'width':'1em','height':_0x31a787(0x1eb)},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'fill':_0x31a787(0x236),'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':_0x31a787(0x1f2),'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':_0x31a787(0x1f2),'attrs':{'fill':_0x31a787(0x236),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':'evenodd','clipRule':_0x31a787(0x131)}}]},Y=d['forwardRef'](function(_0x1a1d31,_0x2840e8){const _0x43ba59=_0x31a787;return d[_0x43ba59(0x244)](_,Object[_0x43ba59(0x261)]({},_0x1a1d31,{'id':_0x43ba59(0x170),'ref':_0x2840e8,'icon':he}));});Y[_0x31a787(0x255)]=_0x31a787(0x21f);const me={'tag':_0x31a787(0x13a),'attrs':{'xmlns':_0x31a787(0x100),'fill':_0x31a787(0x1a1),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x31a787(0x1eb)},'children':[{'tag':'g','attrs':{'clipPath':_0x31a787(0x1f4)},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'stroke':_0x31a787(0x236),'d':_0x31a787(0x152),'strokeLinecap':'round','strokeLinejoin':_0x31a787(0x229),'strokeWidth':1.2}}]},{'tag':_0x31a787(0x15a),'attrs':{},'children':[{'tag':_0x31a787(0x1d0),'attrs':{'id':_0x31a787(0x25d)},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'fill':_0x31a787(0x156),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x31a787(0x25d)]},q=d[_0x31a787(0x203)](function(_0x3be89b,_0x3d66a0){const _0x387d1f=_0x31a787;return d[_0x387d1f(0x244)](_,Object[_0x387d1f(0x261)]({},_0x3be89b,{'id':'off-line-icon','ref':_0x3d66a0,'icon':me}));});q[_0x31a787(0x255)]=_0x31a787(0x1aa);const xe={'tag':_0x31a787(0x13a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x31a787(0x1a1),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x31a787(0x1eb)},'children':[{'tag':'g','attrs':{'clipPath':_0x31a787(0x1b4)},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'stroke':'currentColor','d':_0x31a787(0x210),'strokeLinecap':_0x31a787(0x229),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x31a787(0x15a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x31a787(0x279)},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'fill':_0x31a787(0x156),'d':_0x31a787(0x263),'transform':_0x31a787(0x233)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},V=d[_0x31a787(0x203)](function(_0x255581,_0x19ab16){const _0x262bd8=_0x31a787;return d[_0x262bd8(0x244)](_,Object[_0x262bd8(0x261)]({},_0x255581,{'id':_0x262bd8(0x221),'ref':_0x19ab16,'icon':xe}));});V[_0x31a787(0x255)]=_0x31a787(0x205);function Z(_0x387ebf){const _0x1a1e28=_0x31a787;var _0x1b28a2,_0x4280ff;const {mcpCoreConfig:_0xf9105,onSave:_0x3217b2,loading:_0x4cdaba=!0x1,config:_0x4b316e,connectionStatus$:_0x4acae1,connectionError$:_0x339028,currentApiKey$:_0x15d3ee,currentSessionId$:_0xcf6889}=_0x387ebf,_0x31eeb7=v[_0x1a1e28(0x122)](u[_0x1a1e28(0x219)]),_0x553513=v[_0x1a1e28(0x136)](_0x4acae1,s[_0x1a1e28(0x15b)]['DISCONNECTED']),_0x3cd298=v['useObservable'](_0x339028,s[_0x1a1e28(0x27b)]['NONE']),_0x1187af=v[_0x1a1e28(0x136)](_0xcf6889,''),_0x53e04b=v[_0x1a1e28(0x136)](_0x15d3ee,''),[_0x33ce43,_0x2d8cb9]=d[_0x1a1e28(0xf7)](_0x53e04b||''),_0x3a2638=!0x0,_0x31b822=_0x4b316e['showDeveloperTools']&&_0xf9105[_0x1a1e28(0x1e1)]&&(_0xf9105[_0x1a1e28(0x1e1)][_0x1a1e28(0x1bf)](_0x1a1e28(0x25a))||_0xf9105[_0x1a1e28(0x1e1)][_0x1a1e28(0x1bf)](_0x1a1e28(0x24d))),_0x223c3a=(_0x1b28a2=_0xf9105['mcpServerUrl'])==null?void 0x0:_0x1b28a2['includes']('univer.plus'),_0x5a12a7=(_0x4280ff=_0xf9105[_0x1a1e28(0x1e1)])==null?void 0x0:_0x4280ff[_0x1a1e28(0x1bf)](_0x1a1e28(0x24d)),_0x2fc639=_0x223c3a?_0x1a1e28(0x16d):_0x1a1e28(0x182),_0xf76fbc=_0x4b316e['showDeveloperTools']&&(_0x223c3a||_0x5a12a7),[_0x3001b1,_0x18cb9d]=d['useState'](!_0x33ce43['trim']()),_0x13f1ab=(_0xd5c1e1,_0x4a2430)=>{const _0x3ba560=_0x1a1e28;if(_0x4a2430===s[_0x3ba560(0x27b)][_0x3ba560(0x1b3)])return _0x3ba560(0x16e);switch(_0xd5c1e1){case s['MCPConnectionStatus'][_0x3ba560(0x1cd)]:return _0x3ba560(0x253);case s[_0x3ba560(0x15b)][_0x3ba560(0x1ad)]:case s[_0x3ba560(0x15b)][_0x3ba560(0x1b2)]:return _0x3ba560(0x224);case s[_0x3ba560(0x15b)]['FAILED']:return _0x3ba560(0x16e);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x389f91=(_0xeca28d,_0x25c8aa)=>{const _0x660fa5=_0x1a1e28;if(_0x25c8aa===s[_0x660fa5(0x27b)]['UNAUTHORIZED'])return _0x660fa5(0x228);switch(_0xeca28d){case s[_0x660fa5(0x15b)][_0x660fa5(0x1cd)]:return _0x660fa5(0x1f1);case s['MCPConnectionStatus']['CONNECTING']:case s[_0x660fa5(0x15b)][_0x660fa5(0x1b2)]:return _0x660fa5(0x24b);case s['MCPConnectionStatus'][_0x660fa5(0x248)]:return _0x660fa5(0x228);default:return _0x660fa5(0x166);}},_0x34fc4c=_0x3dfa76=>{const _0x501921=_0x1a1e28;switch(_0x3dfa76){case s['MCPConnectionStatus'][_0x501921(0x1cd)]:return _0x31eeb7['t'](_0x501921(0x276));case s[_0x501921(0x15b)]['CONNECTING']:return _0x31eeb7['t']('mcpConfig.connectionStatus.connecting');case s[_0x501921(0x15b)][_0x501921(0x248)]:return _0x31eeb7['t'](_0x501921(0x1be));case s[_0x501921(0x15b)][_0x501921(0x1b2)]:return _0x31eeb7['t'](_0x501921(0x115));default:return _0x31eeb7['t'](_0x501921(0x1cf));}},_0x5ac3bb=_0x2108ee=>{const _0x7d79d9=_0x1a1e28;switch(_0x2108ee){case s[_0x7d79d9(0x27b)][_0x7d79d9(0x1b3)]:return _0x31eeb7['t'](_0x7d79d9(0x10a));case s[_0x7d79d9(0x27b)][_0x7d79d9(0x20e)]:return _0x31eeb7['t'](_0x7d79d9(0x231));case s[_0x7d79d9(0x27b)][_0x7d79d9(0x24e)]:return _0x31eeb7['t'](_0x7d79d9(0x1d2));case s[_0x7d79d9(0x27b)]['MAX_RETRIES_EXCEEDED']:return _0x31eeb7['t'](_0x7d79d9(0x164));default:return'';}},_0x2a46ce=d[_0x1a1e28(0x159)](()=>{const _0x2df204=_0x1a1e28,_0x5c51e4={..._0xf9105,'apiKey':_0x33ce43[_0x2df204(0x1af)](),'enableAuth':_0x3a2638};_0x3217b2(_0x5c51e4);},[_0xf9105,_0x33ce43,_0x3a2638,_0x3217b2]),_0x367f7a=_0x33ce43[_0x1a1e28(0x1af)]()['length']>0x0;return i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x22d),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x25f),'children':i['jsxs'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1d8),'children':[i[_0x1a1e28(0x18a)]('div',{'className':_0x1a1e28(0x127),'children':i[_0x1a1e28(0x18a)]('span',{'className':_0x1a1e28(0x1c0),'children':'⚙'})}),i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'children':i[_0x1a1e28(0x18a)]('p',{'className':_0x1a1e28(0x169),'children':_0x31eeb7['t'](_0x1a1e28(0x1c9))})})]})}),i['jsxs'](_0x1a1e28(0x172),{'className':_0x1a1e28(0xf6),'children':[i['jsx'](_0x1a1e28(0x172),{'className':f[_0x1a1e28(0x18c)](_0x1a1e28(0x1e8),_0x13f1ab(_0x553513,_0x3cd298)),'children':i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0xf5),'children':[i['jsx']('div',{'className':f[_0x1a1e28(0x18c)](_0x1a1e28(0x197),_0x389f91(_0x553513,_0x3cd298))}),i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'className':_0x1a1e28(0x260),'children':_0x34fc4c(_0x553513)})]})}),_0x3cd298!==s[_0x1a1e28(0x27b)][_0x1a1e28(0x1f9)]&&(_0x553513===s[_0x1a1e28(0x15b)]['FAILED']||_0x3cd298===s[_0x1a1e28(0x27b)][_0x1a1e28(0x1b3)])&&i['jsx'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x142),'children':i['jsxs'](_0x1a1e28(0x172),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),i[_0x1a1e28(0x18a)]('p',{'className':_0x1a1e28(0x26e),'children':_0x5ac3bb(_0x3cd298)})]})})]}),i[_0x1a1e28(0x18a)]('div',{'className':_0x1a1e28(0xf2),'children':i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x222),'children':[i[_0x1a1e28(0x1d9)]('div',{'className':_0x1a1e28(0x1e2),'children':[i[_0x1a1e28(0x1d9)]('label',{'className':_0x1a1e28(0x151),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'children':'🔑'}),'\x20',_0x31eeb7['t'](_0x1a1e28(0x1bd)),i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'className':_0x1a1e28(0x266),'children':'*'}),_0x31b822&&i['jsx']('a',{'className':_0x1a1e28(0x177),'title':_0x31eeb7['t']('mcpConfig.apiApplyInfo.title'),'role':'button','onClick':()=>_0x18cb9d(!0x0),'children':i[_0x1a1e28(0x18a)](Y,{})})]}),i[_0x1a1e28(0x18a)](f['Input'],{'type':'text','placeholder':_0x31eeb7['t'](_0x1a1e28(0x24c)),'value':_0x33ce43,'disabled':_0x4cdaba,'autoComplete':_0x1a1e28(0x237),'onChange':_0x2d8cb9}),i[_0x1a1e28(0x18a)]('p',{'className':_0x1a1e28(0x22c),'children':_0x31eeb7['t'](_0x1a1e28(0x187))})]}),_0x31b822&&_0x3001b1&&i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[i[_0x1a1e28(0x18a)]('a',{'className':_0x1a1e28(0x1bb),'role':_0x1a1e28(0x25c),'onClick':()=>_0x18cb9d(!0x1),'children':i['jsx'](F,{'className':_0x1a1e28(0xf3)})}),i['jsxs'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x192),'children':[i['jsx'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1c2),'children':i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'className':_0x1a1e28(0x104),'children':'🚀'})}),i[_0x1a1e28(0x1d9)]('div',{'className':_0x1a1e28(0x139),'children':[i[_0x1a1e28(0x18a)]('h4',{'className':_0x1a1e28(0x141),'children':_0x31eeb7['t'](_0x1a1e28(0x220))}),i[_0x1a1e28(0x18a)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x31eeb7['t'](_0x1a1e28(0x23a))}),i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x15d),'children':_0xf76fbc&&i['jsxs']('a',{'className':_0x1a1e28(0x1e3),'href':_0x2fc639,'target':_0x1a1e28(0x16f),'rel':_0x1a1e28(0x193),'children':[i['jsx'](_0x1a1e28(0x178),{'children':'🤖'}),_0x31eeb7['t'](_0x1a1e28(0x105)),i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'className':'univer-text-gray-400','children':'↗'})]})}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1d3),'children':['✨','\x20',_0x31eeb7['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x4b316e[_0x1a1e28(0x1f3)]&&i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x240),'children':[i['jsxs']('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'children':'🔗'}),'\x20',_0x31eeb7['t']('mcpConfig.connectionInfo')]}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1fc),'children':[i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x129),'children':[i[_0x1a1e28(0x18a)]('p',{'className':_0x1a1e28(0x201),'children':_0x31eeb7['t'](_0x1a1e28(0x20c))}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1e2),'children':[i['jsx'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x18f),'children':_0x31eeb7['t'](_0x1a1e28(0x251))}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1d7),'children':[i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0xf5),'children':[i[_0x1a1e28(0x18a)]('span',{'className':_0x1a1e28(0x1c1),'children':'1'}),_0x31eeb7['t'](_0x1a1e28(0x110))]}),i[_0x1a1e28(0x1d9)]('div',{'className':_0x1a1e28(0xf5),'children':[i[_0x1a1e28(0x18a)]('span',{'className':_0x1a1e28(0x1c1),'children':'2'}),_0x31eeb7['t'](_0x1a1e28(0x19c))]}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0xf5),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'className':_0x1a1e28(0x1c1),'children':'3'}),_0x31eeb7['t'](_0x1a1e28(0x227))]})]})]})]}),i['jsxs'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1e2),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x18f),'children':_0x1a1e28(0x13d)}),i[_0x1a1e28(0x18a)]('div',{'className':_0x1a1e28(0x1a4),'children':i[_0x1a1e28(0x18a)](_0x1a1e28(0x11b),{'className':_0x1a1e28(0x24a),'children':JSON[_0x1a1e28(0x273)]({'mcpServers':{'univer':{'url':_0x1a1e28(0x27c)+(_0x1187af||_0x1a1e28(0x16c)),'type':_0x1a1e28(0x161),'headers':{'Authorization':_0x1a1e28(0x125)+(_0x33ce43||_0x1a1e28(0xf8))}}}},null,0x2)})})]}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x129),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x18f),'children':_0x31eeb7['t'](_0x1a1e28(0x1d4))}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':'univer-space-y-2','children':[i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),i[_0x1a1e28(0x1d9)]('div',{'className':_0x1a1e28(0x1ae),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x213),'children':'univer_session_id:'}),i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x22c),'children':_0x31eeb7['t'](_0x1a1e28(0x10b))})]})]}),i['jsxs'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x19f),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x195)}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1ae),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x213),'children':'Authorization:'}),i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x22c),'children':_0x31eeb7['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),i['jsx'](f['Button'],{'onClick':_0x2a46ce,'disabled':!_0x367f7a||_0x4cdaba,'className':_0x1a1e28(0x272),'children':_0x4cdaba?i[_0x1a1e28(0x1d9)](_0x1a1e28(0x178),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'children':'⟲'}),_0x31eeb7['t'](_0x1a1e28(0x239))]}):i[_0x1a1e28(0x1d9)](_0x1a1e28(0x178),{'className':_0x1a1e28(0xf5),'children':[i['jsx'](B,{}),_0x31eeb7['t'](_0x1a1e28(0x206))]})}),i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x211),'children':i['jsxs'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x16b),'children':[i['jsx'](_0x1a1e28(0x178),{'className':_0x1a1e28(0x1dd),'children':'💡'}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0xff),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':'univer-font-medium','children':_0x1a1e28(0x145)}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'children':['•',_0x31eeb7['t'](_0x1a1e28(0x21e))]}),i['jsxs'](_0x1a1e28(0x172),{'children':['•',_0x31eeb7['t'](_0x1a1e28(0x176))]})]})]})})]})})]});}const P=_0x31a787(0x275),z={'showDeveloperTools':!0x1,'showStatus':!0x0};var Se=Object[_0x31a787(0x1c5)],Pe=(_0x5e8638,_0x3593f8,_0x4ff557,_0xcc2b76)=>{const _0x5073c6=_0x31a787;for(var _0xe21e34=_0xcc2b76>0x1?void 0x0:_0xcc2b76?Se(_0x3593f8,_0x4ff557):_0x3593f8,_0x3d0c39=_0x5e8638[_0x5073c6(0x27a)]-0x1,_0x5f43d2;_0x3d0c39>=0x0;_0x3d0c39--)(_0x5f43d2=_0x5e8638[_0x3d0c39])&&(_0xe21e34=_0x5f43d2(_0xe21e34)||_0xe21e34);return _0xe21e34;},g=(_0x327828,_0x45d460)=>(_0x339d6c,_0x2df308)=>_0x45d460(_0x339d6c,_0x2df308,_0x327828);const O=_0x31a787(0x26a),D=_0x31a787(0x1fb);exports[_0x31a787(0x200)]=class extends u[_0x31a787(0x18d)]{constructor(_0x4e51ec,_0x1295eb,_0x1bf2c5,_0x57f437,_0x22605f,_0x5e8f16,_0x1e0974,_0xddfafc,_0xbef63a,_0x44d490){const _0x2e2ce6=_0x31a787;super(),I(this,_0x2e2ce6(0x1a0),new M[(_0x2e2ce6(0x1a6))](!0x1)),I(this,'_mcpCoreConfig$',new M['BehaviorSubject']({})),I(this,'_config$',new M[(_0x2e2ce6(0x1a6))]({})),I(this,_0x2e2ce6(0xf1),new M[(_0x2e2ce6(0x1a6))]('')),I(this,_0x2e2ce6(0x1da),async _0x49fb8b=>{const _0x1460e8=_0x2e2ce6;var _0x3d5412,_0x3964b2;this[_0x1460e8(0x1a0)][_0x1460e8(0x270)](!0x0);try{const _0x496472=await this[_0x1460e8(0x17c)](_0x49fb8b);if(!_0x496472[_0x1460e8(0x22a)]){this[_0x1460e8(0x116)]['show']({'type':f[_0x1460e8(0x214)][_0x1460e8(0xef)],'content':_0x496472[_0x1460e8(0x102)]||this['_localeService']['t'](_0x1460e8(0x1a9))});return;}_0x49fb8b[_0x1460e8(0xf0)]?await this[_0x1460e8(0x184)][_0x1460e8(0x11e)](O,_0x49fb8b[_0x1460e8(0xf0)]['trim']()):await this[_0x1460e8(0x184)]['removeItem'](O),this[_0x1460e8(0xf1)][_0x1460e8(0x270)](((_0x3d5412=_0x49fb8b['apiKey'])==null?void 0x0:_0x3d5412[_0x1460e8(0x1af)]())||''),this[_0x1460e8(0x207)][_0x1460e8(0x106)]({'Authorization':_0x1460e8(0x125)+((_0x3964b2=_0x49fb8b['apiKey'])==null?void 0x0:_0x3964b2[_0x1460e8(0x1af)]())}),this[_0x1460e8(0x116)][_0x1460e8(0x101)]({'type':f[_0x1460e8(0x214)]['Success'],'content':this[_0x1460e8(0x140)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x243217=_0x1460e8;this[_0x243217(0x1ba)]['close'](D);},0x320);}catch(_0x30fdad){this[_0x1460e8(0x1c7)]['error']('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x30fdad),this['_messageService'][_0x1460e8(0x101)]({'type':f['MessageType']['Error'],'content':this[_0x1460e8(0x140)]['t']('mcpConfig.configError')});}finally{this[_0x1460e8(0x1a0)][_0x1460e8(0x270)](!0x1);}}),(this[_0x2e2ce6(0x168)]=_0x4e51ec,this[_0x2e2ce6(0x1ea)]=_0x1295eb,this[_0x2e2ce6(0x185)]=_0x1bf2c5,this[_0x2e2ce6(0x184)]=_0x57f437,this[_0x2e2ce6(0x1ba)]=_0x22605f,this[_0x2e2ce6(0x116)]=_0x5e8f16,this[_0x2e2ce6(0x11f)]=_0x1e0974,this['_localeService']=_0xddfafc,this[_0x2e2ce6(0x1c7)]=_0xbef63a,this[_0x2e2ce6(0x207)]=_0x44d490,this[_0x2e2ce6(0x188)](),this[_0x2e2ce6(0x108)](),this[_0x2e2ce6(0x25e)]());}[_0x31a787(0x1fe)](){const _0x5b0675=_0x31a787,_0x55a6d6=this['_configService'][_0x5b0675(0x223)](P);_0x55a6d6!=null&&_0x55a6d6['showDeveloperTools']&&this[_0x5b0675(0x1ba)][_0x5b0675(0x1e7)]({'id':D,'title':{'title':this[_0x5b0675(0x140)]['t'](_0x5b0675(0x13e))},'children':{'label':_0x5b0675(0x171)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3b5cf6=_0x5b0675;this[_0x3b5cf6(0x1ba)][_0x3b5cf6(0x1e4)](D);}});}['getCurrentConfig'](){const _0x395925=_0x31a787;return this[_0x395925(0x212)]['value'];}[_0x31a787(0x25e)](){const _0x2b193b=_0x31a787;this[_0x2b193b(0x209)](this['_componentManager'][_0x2b193b(0x20d)](_0x2b193b(0x171),this[_0x2b193b(0x24f)]()));}['_createConfigPanelComponent'](){const _0x51926d=_0x31a787;return v[_0x51926d(0x15f)](()=>{const _0x9df32d=_0x51926d;var _0x2f1494,_0x55d070,_0x36e628;return i[_0x9df32d(0x18a)](Z,{'config':this['_config$'][_0x9df32d(0x15c)],'mcpCoreConfig':this[_0x9df32d(0x212)]['value'],'currentApiKey$':this[_0x9df32d(0xf1)],'onSave':this['_handleConfigSave'],'loading':this[_0x9df32d(0x1a0)]['value'],'connectionStatus$':(_0x2f1494=this[_0x9df32d(0x207)])==null?void 0x0:_0x2f1494[_0x9df32d(0x238)],'connectionError$':(_0x55d070=this['_mcpConnectionController'])==null?void 0x0:_0x55d070[_0x9df32d(0x1ff)],'currentSessionId$':(_0x36e628=this[_0x9df32d(0x207)])==null?void 0x0:_0x36e628['sessionId$']});},this[_0x51926d(0x168)]);}[_0x31a787(0x188)](){const _0x4f067d=_0x31a787;this[_0x4f067d(0x209)](this[_0x4f067d(0x185)][_0x4f067d(0x135)](s[_0x4f067d(0x155)])[_0x4f067d(0xfd)](_0x3ed822=>{const _0x9e189f=_0x4f067d;this[_0x9e189f(0x212)]['next'](_0x3ed822||{});}));const _0x45e35b=this[_0x4f067d(0x185)][_0x4f067d(0x223)](s[_0x4f067d(0x155)]);this[_0x4f067d(0x212)][_0x4f067d(0x270)](_0x45e35b||{}),this[_0x4f067d(0x209)](this['_configService'][_0x4f067d(0x135)](P)[_0x4f067d(0xfd)](_0x4f2d20=>{const _0x2f76df=_0x4f067d;this[_0x2f76df(0x230)][_0x2f76df(0x270)](_0x4f2d20||{});}));const _0x15854a=this['_configService'][_0x4f067d(0x223)](P);this['_config$'][_0x4f067d(0x270)](_0x15854a||{});}async[_0x31a787(0x108)](){const _0xc7464e=_0x31a787,_0x5c0097=this[_0xc7464e(0x185)][_0xc7464e(0x223)](P);if(!(_0x5c0097!=null&&_0x5c0097[_0xc7464e(0x1f3)]))return;const _0x92a45=await this[_0xc7464e(0x184)][_0xc7464e(0x13c)](O);_0x92a45&&(this[_0xc7464e(0x207)]['__setCustomHeaders']({'Authorization':_0xc7464e(0x125)+_0x92a45}),this[_0xc7464e(0xf1)]['next'](_0x92a45));}async[_0x31a787(0x17c)](_0x48f9d8){const _0xb7a842=_0x31a787;if(!_0x48f9d8[_0xb7a842(0xf0)]||_0x48f9d8[_0xb7a842(0xf0)]['trim']()[_0xb7a842(0x27a)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0xb7a842(0x118))};if(_0x48f9d8[_0xb7a842(0xf0)]['trim']()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0xb7a842(0x140)]['t'](_0xb7a842(0x256))};try{const _0x59e0a5=await this['_injector'][_0xb7a842(0x15e)](s[_0xb7a842(0x1ee)])[_0xb7a842(0x20f)](_0x48f9d8['apiKey'][_0xb7a842(0x1af)]());return _0x59e0a5[_0xb7a842(0x22a)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x59e0a5[_0xb7a842(0x174)]||this[_0xb7a842(0x140)]['t'](_0xb7a842(0x1ca))};}catch(_0x7aba59){return console[_0xb7a842(0x191)](_0xb7a842(0x1c6),_0x7aba59),{'isValid':!0x0};}}},exports[_0x31a787(0x200)]=Pe([g(0x0,u[_0x31a787(0xfb)](u[_0x31a787(0x1f7)])),g(0x1,v[_0x31a787(0x1bc)]),g(0x2,u['IConfigService']),g(0x3,u[_0x31a787(0x146)]),g(0x4,v['IDialogService']),g(0x5,v['IMessageService']),g(0x6,u[_0x31a787(0xfb)](v['ComponentManager'])),g(0x7,u['Inject'](u['LocaleService'])),g(0x8,u[_0x31a787(0x153)]),g(0x9,u[_0x31a787(0xfb)](s['MCPConnectionController']))],exports[_0x31a787(0x200)]);const b={'id':_0x31a787(0x25b),'type':u[_0x31a787(0x17f)][_0x31a787(0x121)],'handler':async(_0x7b1797,_0x4531fa)=>(_0x7b1797['get'](exports[_0x31a787(0x200)])[_0x31a787(0x1fe)](),!0x0)};function W(_0x52fffe,_0x298035){const _0x26d8d3=_0x31a787;switch(_0x52fffe){case s[_0x26d8d3(0x15b)]['DISCONNECTED']:return'mcpStatus.disconnected';case s[_0x26d8d3(0x15b)][_0x26d8d3(0x1ad)]:return'mcpStatus.connecting';case s[_0x26d8d3(0x15b)][_0x26d8d3(0x1cd)]:return'mcpStatus.connected';case s[_0x26d8d3(0x15b)][_0x26d8d3(0x248)]:switch(_0x298035){case s['MCPConnectionError']['UNAUTHORIZED']:return _0x26d8d3(0x26d);case s['MCPConnectionError'][_0x26d8d3(0x20e)]:return _0x26d8d3(0x226);case s['MCPConnectionError'][_0x26d8d3(0x24e)]:return _0x26d8d3(0x1ce);case s[_0x26d8d3(0x27b)][_0x26d8d3(0x17b)]:return _0x26d8d3(0x1f8);default:return _0x26d8d3(0x1ef);}case s[_0x26d8d3(0x15b)]['RETRYING']:return _0x26d8d3(0x262);default:return _0x26d8d3(0x23e);}}function Ie(_0x5482c4,_0x2f38cc,_0xa8b413,_0xd4ba10=!0x0){const _0x28beca=_0x31a787,_0x5b9de8=W(_0x5482c4,_0x2f38cc),_0x4b398a=_0xa8b413['t'](_0x5b9de8);return _0xd4ba10?_0x5482c4===s[_0x28beca(0x15b)][_0x28beca(0x1a7)]&&_0x2f38cc===s[_0x28beca(0x27b)][_0x28beca(0x1b3)]?_0x4b398a+_0x28beca(0x1a8)+_0xa8b413['t'](_0x28beca(0xfe)):_0x5482c4===s[_0x28beca(0x15b)][_0x28beca(0x1cd)]?''+_0x4b398a:_0x5482c4===s[_0x28beca(0x15b)]['DISCONNECTED']||_0x5482c4===s[_0x28beca(0x15b)][_0x28beca(0x248)]?_0x4b398a+_0x28beca(0x1a8)+_0xa8b413['t']('mcpStatus.clickToConnect'):_0x4b398a:_0x4b398a;}function _e(_0x58640f){const _0x1d39c8=_0x31a787;switch(_0x58640f){case s[_0x1d39c8(0x15b)][_0x1d39c8(0x1cd)]:return'univer-text-green-500';case s['MCPConnectionStatus'][_0x1d39c8(0x1ad)]:case s[_0x1d39c8(0x15b)]['RETRYING']:return'univer-text-yellow-500';case s[_0x1d39c8(0x15b)]['FAILED']:case s[_0x1d39c8(0x15b)]['DISCONNECTED']:return'univer-text-red-500';default:return _0x1d39c8(0x1b6);}}function X(_0x2aeb3f){const _0x2a1a36=_0x31a787,{status$:_0x2c937b,error$:_0x149401,onConfigure:_0x396b95,showClickable:_0x2999d7=!0x0}=_0x2aeb3f,_0x2ca4ea=v[_0x2a1a36(0x136)](_0x2c937b,s[_0x2a1a36(0x15b)][_0x2a1a36(0x1a7)]),_0x41315c=v['useObservable'](_0x149401,s[_0x2a1a36(0x27b)][_0x2a1a36(0x1f9)]),_0x22776e=v['useDependency'](u[_0x2a1a36(0x219)]),_0x36697d=_0x2ca4ea===s[_0x2a1a36(0x15b)][_0x2a1a36(0x1cd)];_0x2ca4ea===s[_0x2a1a36(0x15b)][_0x2a1a36(0x1ad)]||s[_0x2a1a36(0x15b)][_0x2a1a36(0x1b2)];const _0xcbb7f2=_0x22776e['t'](W(_0x2ca4ea,_0x41315c)),_0x3f27e0=Ie(_0x2ca4ea,_0x41315c,_0x22776e,_0x2999d7),_0xbdc9a5=_e(_0x2ca4ea),_0x20b923=_0x36697d?i[_0x2a1a36(0x18a)](V,{}):i['jsx'](q,{}),_0xf32c75=d['useCallback'](()=>{_0x2999d7&&_0x396b95&&_0x396b95();},[_0x2999d7,_0x396b95]);function _0x35545b(){const _0x10d117=_0x2a1a36;return i['jsxs'](_0x10d117(0x172),{'className':f[_0x10d117(0x18c)](_0x10d117(0x179),_0x2999d7&&_0x396b95&&_0x10d117(0x144)),'role':_0x10d117(0x25c),'onClick':_0x2999d7&&_0x396b95?_0xf32c75:void 0x0,'children':[i[_0x10d117(0x18a)]('div',{'className':f['clsx'](_0x10d117(0x124),_0xbdc9a5),'children':_0x20b923}),i[_0x10d117(0x18a)](_0x10d117(0x172),{'className':_0x10d117(0x137),'children':_0xcbb7f2})]});}return i[_0x2a1a36(0x18a)](f['Tooltip'],{'title':_0x3f27e0,'placement':_0x2a1a36(0x111),'children':_0x35545b()});}var ye=Object[_0x31a787(0x1c5)],Me=(_0x35eb70,_0x5431e0,_0x5345cb,_0x374272)=>{const _0x2bd33d=_0x31a787;for(var _0x22eede=_0x374272>0x1?void 0x0:_0x374272?ye(_0x5431e0,_0x5345cb):_0x5431e0,_0x5d8a49=_0x35eb70[_0x2bd33d(0x27a)]-0x1,_0x1a7538;_0x5d8a49>=0x0;_0x5d8a49--)(_0x1a7538=_0x35eb70[_0x5d8a49])&&(_0x22eede=_0x1a7538(_0x22eede)||_0x22eede);return _0x22eede;},N=(_0x103f0f,_0x2e3de1)=>(_0x20a019,_0x38109a)=>_0x2e3de1(_0x20a019,_0x38109a,_0x103f0f);exports[_0x31a787(0x12d)]=class extends u[_0x31a787(0x18d)]{constructor(_0x329a0c,_0x39b8c3,_0x20c9b8,_0x4af4a8){const _0x45e3ad=_0x31a787;super(),this['_injector']=_0x329a0c,this['_connectionController']=_0x39b8c3,this[_0x45e3ad(0x1ea)]=_0x20c9b8,this[_0x45e3ad(0x185)]=_0x4af4a8,this[_0x45e3ad(0x1e0)](),this[_0x45e3ad(0x130)]();}[_0x31a787(0x1e0)](){const _0x118933=_0x31a787,_0x59e52d=this['_configService']['getConfig'](P);_0x59e52d!=null&&_0x59e52d[_0x118933(0x1f3)]&&(this['_connectionController'][_0x118933(0x232)]=!0x1);}[_0x31a787(0x130)](){const _0x348065=_0x31a787,_0x49b3ea=this['_configService'][_0x348065(0x223)](P);(_0x49b3ea==null?void 0x0:_0x49b3ea['showStatus'])!==!0x1&&this[_0x348065(0x209)](this[_0x348065(0x1ea)][_0x348065(0x1f0)](v['BuiltInUIPart'][_0x348065(0x1ed)],()=>{const _0x856433=_0x348065;var _0x61c6a0;return v[_0x856433(0x15f)](Ne({'status$':this['_connectionController'][_0x856433(0x238)],'error$':this[_0x856433(0x1ac)]['connectionError$'],'onConfigure':()=>this[_0x856433(0x216)](),'showClickable':(_0x61c6a0=_0x49b3ea==null?void 0x0:_0x49b3ea['showDeveloperTools'])!=null?_0x61c6a0:!0x1}),this[_0x856433(0x168)]);}));}[_0x31a787(0x216)](){const _0x47b5e8=_0x31a787;this['_injector'][_0x47b5e8(0x15e)](exports[_0x47b5e8(0x200)])['showConfigPanel']();}},exports[_0x31a787(0x12d)]=Me([N(0x0,u['Inject'](u[_0x31a787(0x1f7)])),N(0x1,u[_0x31a787(0xfb)](s[_0x31a787(0x1ee)])),N(0x2,v[_0x31a787(0x1bc)]),N(0x3,u[_0x31a787(0x154)])],exports['MCPConnectionUIController']);function Ne(_0x36a8da){const {status$:_0x5ed57f,error$:_0x546b1f,onConfigure:_0x372772,showClickable:_0x541ad3}=_0x36a8da;return function(){const _0xba9514=_0x2c97;return i[_0xba9514(0x18a)](X,{'status$':_0x5ed57f,'error$':_0x546b1f,'onConfigure':_0x372772,'showClickable':_0x541ad3});};}function be(_0x388143){const _0xbe7ab6=_0x31a787;return{'id':b['id'],'type':v[_0xbe7ab6(0xf4)][_0xbe7ab6(0x225)],'icon':_0xbe7ab6(0x215),'title':_0xbe7ab6(0x13e),'tooltip':_0xbe7ab6(0x13e)};}const je={[v[_0x31a787(0x12e)][_0x31a787(0x112)]]:{[b['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object[_0x31a787(0x1c5)],we=(_0xb7d5f,_0x4436e5,_0x35b414,_0x17d174)=>{const _0x1ec266=_0x31a787;for(var _0x1476d3=_0x17d174>0x1?void 0x0:_0x17d174?Ee(_0x4436e5,_0x35b414):_0x4436e5,_0x2a2bd7=_0xb7d5f[_0x1ec266(0x27a)]-0x1,_0x33cc3e;_0x2a2bd7>=0x0;_0x2a2bd7--)(_0x33cc3e=_0xb7d5f[_0x2a2bd7])&&(_0x1476d3=_0x33cc3e(_0x1476d3)||_0x1476d3);return _0x1476d3;},G=(_0xbc41c7,_0x1e42da)=>(_0x282c6b,_0x246ec8)=>_0x1e42da(_0x282c6b,_0x246ec8,_0xbc41c7);exports[_0x31a787(0x11c)]=class extends u[_0x31a787(0x18d)]{constructor(_0x8ff355,_0x268cd6){const _0x57df57=_0x31a787;super(),this['_commandService']=_0x8ff355,this[_0x57df57(0x14d)]=_0x268cd6,this[_0x57df57(0x249)](),this[_0x57df57(0x117)]();}[_0x31a787(0x249)](){[b]['forEach'](_0x5197b6=>{const _0x3f3b53=_0x2c97;this['disposeWithMe'](this[_0x3f3b53(0x1a5)]['registerCommand'](_0x5197b6));});}[_0x31a787(0x117)](){const _0x431a60=_0x31a787;this[_0x431a60(0x14d)][_0x431a60(0x11a)](je);}},exports[_0x31a787(0x11c)]=we([G(0x0,u['ICommandService']),G(0x1,v['IMenuManagerService'])],exports[_0x31a787(0x11c)]);const Ae={'mcpStatus':{'disconnected':_0x31a787(0x167),'connecting':_0x31a787(0x198),'connected':_0x31a787(0x157),'failed':_0x31a787(0x126),'retrying':_0x31a787(0x26f),'unknown':_0x31a787(0x12a),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x31a787(0x245),'clickToConnect':_0x31a787(0x1fd),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x31a787(0x13d),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x31a787(0x1ab),'apiKeyHint':_0x31a787(0x1e5),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x31a787(0x175),'connectionInfo':_0x31a787(0x132),'mcpClientConfig':_0x31a787(0x132),'configInstructions':_0x31a787(0x19e),'configStepTitle':_0x31a787(0x271),'configStep1':_0x31a787(0x217),'configStep2':_0x31a787(0x194),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x31a787(0x247),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x31a787(0x246),'save':_0x31a787(0x1dc),'saving':_0x31a787(0xfa),'note1':_0x31a787(0x107),'note2':_0x31a787(0x22b),'configSaved':_0x31a787(0x19a),'configError':_0x31a787(0x1c4),'apiApplyInfo':{'title':_0x31a787(0x119),'description':_0x31a787(0x1f6),'univerAiLabel':_0x31a787(0x21b),'getStarted':_0x31a787(0x163)},'validation':{'apiKeyRequired':_0x31a787(0x1b1),'apiKeyTooShort':_0x31a787(0x10f),'invalidConfig':_0x31a787(0x1fa),'invalidApiKey':_0x31a787(0x234)},'connectionStatus':{'disconnected':_0x31a787(0x12c),'connecting':_0x31a787(0x14c),'connected':'Connected','failed':_0x31a787(0x1d5),'retrying':_0x31a787(0x235)},'connectionError':{'unauthorized':_0x31a787(0x26c),'sessionOccupied':_0x31a787(0x264),'networkError':_0x31a787(0x23f),'maxRetriesExceeded':_0x31a787(0x128)}}},Oe={'mcpStatus':{'disconnected':_0x31a787(0x199),'connecting':'MCP\x20连接中...','connected':_0x31a787(0x257),'failed':_0x31a787(0x269),'retrying':'MCP\x20重连中...','unknown':_0x31a787(0x1ec),'unauthorized':_0x31a787(0x11d),'sessionOccupied':_0x31a787(0x22e),'networkError':_0x31a787(0x21c),'maxRetriesExceeded':_0x31a787(0x18b),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x31a787(0x21a)},'mcpConfig':{'title':_0x31a787(0x22f),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x31a787(0x190),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x31a787(0x13f),'enableAuth':_0x31a787(0x1f5),'enableAuthHint':_0x31a787(0x17e),'connectionInfo':_0x31a787(0x12b),'mcpClientConfig':_0x31a787(0x12b),'configInstructions':_0x31a787(0x180),'configStepTitle':_0x31a787(0x14f),'configStep1':_0x31a787(0x13b),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x31a787(0x19d),'sessionId':_0x31a787(0x1b9),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x31a787(0x208),'configParameters':_0x31a787(0x23c),'maxRetries':_0x31a787(0x254),'save':_0x31a787(0x1d1),'saving':_0x31a787(0x162),'note1':_0x31a787(0x1a2),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x31a787(0x16a),'apiApplyInfo':{'title':_0x31a787(0x1c8),'description':_0x31a787(0x259),'univerAiLabel':_0x31a787(0x12f),'getStarted':_0x31a787(0x158)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x31a787(0x243),'invalidConfig':_0x31a787(0x14a),'invalidApiKey':_0x31a787(0x1db)},'connectionStatus':{'disconnected':'未连接','connecting':_0x31a787(0x147),'connected':_0x31a787(0x267),'failed':_0x31a787(0x1b8),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x31a787(0x1b0),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x31a787(0x10c),'maxRetriesExceeded':_0x31a787(0x160)}}},De=_0x31a787(0x1e6),Ue=_0x31a787(0xf9),J={'name':De,'version':Ue};var $e=Object[_0x31a787(0x10e)],Te=Object[_0x31a787(0x1c5)],ke=(_0x4dbbf0,_0x4672a2,_0x4ad68e)=>_0x4672a2 in _0x4dbbf0?$e(_0x4dbbf0,_0x4672a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ad68e}):_0x4dbbf0[_0x4672a2]=_0x4ad68e,Re=(_0x293635,_0x1f2de9,_0x8d4a9,_0x4081f5)=>{const _0x259b38=_0x31a787;for(var _0x46d3c5=_0x4081f5>0x1?void 0x0:_0x4081f5?Te(_0x1f2de9,_0x8d4a9):_0x1f2de9,_0xcff11f=_0x293635[_0x259b38(0x27a)]-0x1,_0x561539;_0xcff11f>=0x0;_0xcff11f--)(_0x561539=_0x293635[_0xcff11f])&&(_0x46d3c5=_0x561539(_0x46d3c5)||_0x46d3c5);return _0x46d3c5;},y=(_0x54f08b,_0x54c598)=>(_0x4d75de,_0x3b4354)=>_0x54c598(_0x4d75de,_0x3b4354,_0x54f08b),U=(_0x4ca790,_0x380a87,_0x635858)=>ke(_0x4ca790,typeof _0x380a87!=_0x31a787(0x218)?_0x380a87+'':_0x380a87,_0x635858);exports['UniverMCPUIPlugin']=class extends u[_0x31a787(0x196)]{constructor(_0x4fd2b1=z,_0x446029,_0x234cbf,_0x184a09,_0x2f5a8b,_0x230aba){const _0x3ca91c=_0x31a787;super(),this[_0x3ca91c(0x274)]=_0x4fd2b1,this[_0x3ca91c(0x168)]=_0x446029,this[_0x3ca91c(0x185)]=_0x234cbf,this[_0x3ca91c(0x1ea)]=_0x184a09,this['_localStorageService']=_0x2f5a8b,this[_0x3ca91c(0x140)]=_0x230aba;const {..._0x4614b6}=u[_0x3ca91c(0x18e)]({},z,this['_config']);this[_0x3ca91c(0x185)]['setConfig'](P,_0x4614b6);}async['onStarting'](){const _0x3247e7=_0x31a787,_0x298ba1=[[exports[_0x3247e7(0x12d)]],[exports[_0x3247e7(0x200)]],[exports[_0x3247e7(0x11c)]]];this['_injector']['has'](A[_0x3247e7(0x258)])||_0x298ba1['push']([A[_0x3247e7(0x258)],{'useClass':A[_0x3247e7(0x1cb)]}]),_0x298ba1['forEach'](_0x414402=>this['_injector'][_0x3247e7(0x268)](_0x414402)),this['_injector'][_0x3247e7(0x15e)](exports['MCPConnectionUIController']),this[_0x3247e7(0x168)]['get'](exports[_0x3247e7(0x200)]),this['_injector'][_0x3247e7(0x15e)](exports['MCPUIMenuController']);}},U(exports[_0x31a787(0x138)],_0x31a787(0x20b),'MCP_UI_PLUGIN'),U(exports[_0x31a787(0x138)],_0x31a787(0x183),J[_0x31a787(0x19b)]),U(exports[_0x31a787(0x138)],_0x31a787(0x241),J[_0x31a787(0x241)]),exports[_0x31a787(0x138)]=Re([u[_0x31a787(0x181)](s[_0x31a787(0x17a)]),y(0x1,u[_0x31a787(0xfb)](u['Injector'])),y(0x2,u[_0x31a787(0x154)]),y(0x3,v[_0x31a787(0x1bc)]),y(0x4,u[_0x31a787(0x146)]),y(0x5,u['Inject'](u['LocaleService']))],exports[_0x31a787(0x138)]),exports[_0x31a787(0x171)]=Z,exports[_0x31a787(0x23d)]=X,exports[_0x31a787(0x165)]=b,exports[_0x31a787(0x134)]=Ae,exports[_0x31a787(0x277)]=Oe;
1
+ const _0x3eccf6=_0x6f34;(function(_0x3d9143,_0x1c5cba){const _0x4a28cb=_0x6f34,_0x40c0f6=_0x3d9143();while(!![]){try{const _0x4c2f6d=parseInt(_0x4a28cb(0x290))/0x1+parseInt(_0x4a28cb(0x26d))/0x2+parseInt(_0x4a28cb(0x214))/0x3+parseInt(_0x4a28cb(0x2a5))/0x4*(-parseInt(_0x4a28cb(0x265))/0x5)+-parseInt(_0x4a28cb(0x1a9))/0x6+parseInt(_0x4a28cb(0x1cb))/0x7+-parseInt(_0x4a28cb(0x268))/0x8;if(_0x4c2f6d===_0x1c5cba)break;else _0x40c0f6['push'](_0x40c0f6['shift']());}catch(_0x3c9471){_0x40c0f6['push'](_0x40c0f6['shift']());}}}(_0x35dc,0x7d66e),Object[_0x3eccf6(0x190)](exports,Symbol[_0x3eccf6(0x1f4)],{'value':_0x3eccf6(0x1ab)}));let e=require(`@univerjs/core`),t=require(`@univerjs-pro/mcp`),n=require(`@univerjs/design`),r=require(`@univerjs/ui`),i=require(`rxjs`),a=require(`@univerjs/icons`),o=require(`react`),s=require(`react/jsx-runtime`),c=require(`@univerjs/network`);function _0x35dc(){const _0x4a017e=['重启您的\x20MCP\x20客户端以使配置生效','MCPConfigUIController','mcp.apiKey','1694526QoXklS','0.19.0','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20密钥无效,请检查密钥是否正确','mcpConfig.configParameters','WebSocketService','get','univer-space-y-5','Enable\x20Authentication','保存配置','什么是\x20API\x20密钥?','您的\x20API\x20密钥安全存储在本地存储中','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','zhCN','mcpConfig.connectionError.maxRetriesExceeded','CONNECTING','disposeWithMe','_componentManager','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','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcpConfig.configSaved','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','RETRYING','MCP\x20Client\x20Configuration','useCallback','univer-size-4','https://console.univer.ai','mcpConfig.configStepTitle','useObservable','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','iterator','univer-flex\x20univer-items-start\x20univer-gap-3','_initializeCommands','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','Configuration\x20saved\x20successfully','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Configuration\x20Parameters:','univer-shrink-0\x20univer-text-blue-500','univer-flex\x20univer-items-center','univer-text-white','validateApiKey','div','FAILED','https://console.univer.plus','decorate','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','Plugin','<SESSION_ID>','mcpStatus.maxRetriesExceeded','未连接','mcpConfig.description','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','超出最大重试次数,请稍后再试','text','bottom','mcpConfig.sessionIdDescription','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','_initializeMenus','LocaleService','Enter\x20your\x20API\x20key','ILogService','has','onStarting','mcpStatus.connecting','_messageService','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','_config','_config$','Copy\x20the\x20JSON\x20configuration\x20below','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','univer-space-y-4','mcpConfig.connectionStatus.connecting','Disconnected','showConfigPanel','MCP\x20配置','string','_createConfigPanelComponent','UniverMCPUIPlugin','5wYTOXT','_uiPartsService','univer.ai','13032bhcFLe','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','Error','mcpConfig.title','object','1346660PjNqDQ','value','connectionStatus$','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','mcpConfig.connectionStatus.retrying','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-flex-1','Injector','BUTTON','next','SESSION_ID_OCCUPIED','isValid','COMMAND','IConfigService','_localeService','MCP\x20客户端配置','default','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','_connectionController','trim','mcpConfig.authorizationDescription','连接失败','MCPConfigPanel','univer-flex\x20univer-items-center\x20univer-gap-3','apiKey','mcpConfig.apiKeyHint','univer-font-medium','setConfig','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','Max\x20Retries','packageName','univer-bg-blue-500','配置保存失败','univer-text-red-500','最大重试次数','346364zLEBoT','register','connectInjector','mcpConfig.validation.invalidApiKey','span','univer.plus','NONE','mcpConfig.configError','mcpConfig.configStep2','Button','配置无效','Success','\x20-\x20','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','_commandService','mcpConfig.configInstructions','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','API\x20密钥不能为空','MCP\x20已断开','MCPConnectionUIController','点击连接\x20MCP','1986764alRxXO','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','mcpConfig.validation.invalidConfig','ILocalStorageService','jsx','function','OpenMCPConfigPanelCommand','subscribeConfigValue$','CloseIcon','配置更改将立即生效','getItem','univer-text-green-500','mcpConfig.connectionStatus.connected','univer-text-sm\x20univer-text-gray-500','IUIPartsService','mcpServerUrl','univer-min-w-0\x20univer-flex-1','Enable\x20authentication\x20for\x20secure\x20connections','HEADER_MENU','univer-text-gray-400','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','_logService','MCP\x20Connected','MCP:\x20未授权','Click\x20to\x20configure\x20MCP','button','mcpConfig.note2','mcpConfig.connectionError.unauthorized','univer-flex\x20univer-items-start\x20univer-gap-2','UNAUTHORIZED','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','mcpConfig.apiApplyInfo.getStarted','mcpConfig.connectionInfo','_handleConfigure','网络连接错误,请检查您的网络连接','MCP:\x20会话\x20ID\x20已被占用','univer-bg-red-500','mcpConfig.connectionError.sessionOccupied','_registerComponent','Tooltip','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','配置保存成功','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','enUS','API\x20key\x20with\x20Bearer\x20prefix.','Inject','MCP:\x20网络错误','复制以下\x20JSON\x20配置','mcp-ui.command.openConfigPanel','showStatus','_dialogService','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Configuration','MCP\x20已连接','setItem','version','连接中...','MenuIcon','已连接','univer-flex\x20univer-items-center\x20univer-gap-2','MCPConnectionError','mcpConfig.validation.apiKeyTooShort','errorMessage','MCP:\x20Network\x20Error','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mergeMenu','<API_KEY>','UniverMCPPlugin','noopener\x20noreferrer','BuiltInUIPart','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','_initStatusComponent','MCP_PLUGIN_CONFIG_KEY','MCP:\x20Max\x20Retries\x20Exceeded','会话\x20ID\x20已被占用,请稍后再试','mcpConfig.connectionStatus.failed','启用身份验证以获得安全连接','OTHERS','defineProperty','mcpConfig.note1','NETWORK_ERROR','MCP\x20Unknown\x20Status','MCP\x20连接中...','mcpConfig.configStep3','merge','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','API\x20密钥长度至少需要\x2010\x20位','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','API\x20密钥','MCP\x20状态未知','mcpStatus.clickToConfigure','includes','MessageType','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','useDependency','ICommandService','Bearer\x20','Retrying...','配置参数:','clsx','label','mcpStatus.networkError','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','5411952BpUqPR','_configService','Module','mcpStatus.retrying','univer-space-y-2','Failed\x20to\x20save\x20configuration','MCPConnectionController','MAX_RETRIES_EXCEEDED','univer-text-xs\x20univer-text-gray-500','ISocketService','mcpConfig.save','API\x20Key','pre','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP\x20Connecting...','show','connectionError$','subscribe','配置步骤:','HelpIcon','warn','__setCustomHeaders','请输入您的\x20API\x20密钥','Disposable','保存中...','_injector','CONNECTED','_validateConfig','_blank','Invalid\x20configuration','mcpStatus.sessionOccupied','univer-space-y-3','showDeveloperTools','2305954WJKXmH','将以下配置添加到您的\x20MCP\x20客户端设置中:','Authorization:','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','Session\x20ID','mcp-ui.config','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','mcpConfig.apiKeyPlaceholder','_loading$','mcpStatus.unknown','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.apiKey','mcpConfig.configStep1','DependentOn','_initAutoConnect','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','_mcpCoreConfig$','mcpConfig.apiApplyInfo.title','MCP:\x20超出最大重试次数','MenuItemType','mcpConfig.saving','mcpStatus.failed','MCPConnectionStatus','_loadStoredApiKey','univer-text-yellow-500','CheckMarkIcon','_localStorageService','add','mcpConfig.connectionStatus.disconnected','BehaviorSubject','prototype','Connecting...','MCP\x20连接失败','univer-text-xs\x20univer-text-gray-600','symbol','OnLineIcon','mcpConfig.apiApplyInfo.description','http','close','mcpStatus.unauthorized','toStringTag','_mcpConnectionController','_menuManagerService','univer_session_id:','length','error','mcpStatus.disconnected','jsxs','getConfig','Configuration\x20Notes:','useState','univer-text-sm\x20univer-font-medium','重连中...','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','Input','API\x20key\x20is\x20required','_handleConfigSave','removeItem','mcpConfig.connectionError.networkError','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','点击配置\x20MCP','RibbonStartGroup','off','_initConfigSync','_apiKey$','enableAutoConnect','getOwnPropertyDescriptor','DISCONNECTED','权限验证失败,请检查您的\x20API\x20密钥'];_0x35dc=function(){return _0x4a017e;};return _0x35dc();}function l(_0x4655af){const _0x3eb18b=_0x3eccf6;var _0x5910e0,_0x78909e;let {mcpCoreConfig:_0x5d566d,onSave:_0x4d8ffe,loading:_0x474337=!0x1,config:_0x2637ce,connectionStatus$:_0x57500e,connectionError$:_0x1ca9bc,currentApiKey$:_0x3bd242,currentSessionId$:_0x4352c1}=_0x4655af,_0x4ac9aa=(0x0,r[_0x3eb18b(0x1a0)])(e[_0x3eb18b(0x251)]),_0x40aba6=(0x0,r[_0x3eb18b(0x231)])(_0x57500e,t[_0x3eb18b(0x1e2)][_0x3eb18b(0x20f)]),_0x2931ed=(0x0,r[_0x3eb18b(0x231)])(_0x1ca9bc,t[_0x3eb18b(0x17d)]['NONE']),_0x49689d=(0x0,r[_0x3eb18b(0x231)])(_0x4352c1,''),[_0x3bbe40,_0x5851b7]=(0x0,o[_0x3eb18b(0x1fe)])((0x0,r[_0x3eb18b(0x231)])(_0x3bd242,'')||''),_0x1ae6c1=_0x2637ce[_0x3eb18b(0x1ca)]&&_0x5d566d[_0x3eb18b(0x2b4)]&&(_0x5d566d[_0x3eb18b(0x2b4)][_0x3eb18b(0x19d)](_0x3eb18b(0x295))||_0x5d566d['mcpServerUrl']['includes'](_0x3eb18b(0x267))),_0x417fba=(_0x5910e0=_0x5d566d[_0x3eb18b(0x2b4)])==null?void 0x0:_0x5910e0[_0x3eb18b(0x19d)]('univer.plus'),_0x4e549f=(_0x78909e=_0x5d566d[_0x3eb18b(0x2b4)])==null?void 0x0:_0x78909e[_0x3eb18b(0x19d)]('univer.ai'),_0x417a93=_0x417fba?_0x3eb18b(0x241):_0x3eb18b(0x22f),_0x5efdab=_0x2637ce[_0x3eb18b(0x1ca)]&&(_0x417fba||_0x4e549f),[_0x2325e0,_0xa99540]=(0x0,o['useState'])(!_0x3bbe40['trim']()),_0x45b5c3=(_0x4306c5,_0x497a80)=>{const _0x377341=_0x3eb18b;if(_0x497a80===t['MCPConnectionError'][_0x377341(0x2c2)])return _0x377341(0x1da);switch(_0x4306c5){case t[_0x377341(0x1e2)][_0x377341(0x1c4)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case t[_0x377341(0x1e2)][_0x377341(0x224)]:case t[_0x377341(0x1e2)][_0x377341(0x22b)]:return _0x377341(0x24f);case t['MCPConnectionStatus'][_0x377341(0x240)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x377341(0x270);}},_0x4f7c85=(_0x216b10,_0x26cdbe)=>{const _0x1f6bb5=_0x3eb18b;if(_0x26cdbe===t[_0x1f6bb5(0x17d)][_0x1f6bb5(0x2c2)])return _0x1f6bb5(0x2c9);switch(_0x216b10){case t[_0x1f6bb5(0x1e2)]['CONNECTED']:return'univer-bg-green-500';case t[_0x1f6bb5(0x1e2)][_0x1f6bb5(0x224)]:case t[_0x1f6bb5(0x1e2)][_0x1f6bb5(0x22b)]:return _0x1f6bb5(0x28c);case t[_0x1f6bb5(0x1e2)][_0x1f6bb5(0x240)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x1ccc2a=_0x3e4b4a=>{const _0x42ae1c=_0x3eb18b;switch(_0x3e4b4a){case t[_0x42ae1c(0x1e2)][_0x42ae1c(0x1c4)]:return _0x4ac9aa['t'](_0x42ae1c(0x2b1));case t['MCPConnectionStatus'][_0x42ae1c(0x224)]:return _0x4ac9aa['t'](_0x42ae1c(0x25e));case t[_0x42ae1c(0x1e2)][_0x42ae1c(0x240)]:return _0x4ac9aa['t'](_0x42ae1c(0x18d));case t[_0x42ae1c(0x1e2)][_0x42ae1c(0x22b)]:return _0x4ac9aa['t'](_0x42ae1c(0x271));default:return _0x4ac9aa['t'](_0x42ae1c(0x1e8));}},_0x52cf3c=_0x116997=>{const _0x21937e=_0x3eb18b;switch(_0x116997){case t[_0x21937e(0x17d)][_0x21937e(0x2c2)]:return _0x4ac9aa['t'](_0x21937e(0x2c0));case t[_0x21937e(0x17d)]['SESSION_ID_OCCUPIED']:return _0x4ac9aa['t'](_0x21937e(0x2ca));case t[_0x21937e(0x17d)][_0x21937e(0x192)]:return _0x4ac9aa['t'](_0x21937e(0x206));case t[_0x21937e(0x17d)]['MAX_RETRIES_EXCEEDED']:return _0x4ac9aa['t'](_0x21937e(0x223));default:return'';}},_0x4f8778=(0x0,o[_0x3eb18b(0x22d)])(()=>{const _0x363c12=_0x3eb18b;_0x4d8ffe({..._0x5d566d,'apiKey':_0x3bbe40[_0x363c12(0x280)](),'enableAuth':!0x0});},[_0x5d566d,_0x3bbe40,!0x0,_0x4d8ffe]),_0x58569b=_0x3bbe40['trim']()[_0x3eb18b(0x1f8)]>0x0;return(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x269),'children':[(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x23f),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x284),'children':[(0x0,s[_0x3eb18b(0x2a9)])('div',{'className':_0x3eb18b(0x197),'children':(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x294),{'className':_0x3eb18b(0x23d),'children':'⚙'})}),(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x23f),{'children':(0x0,s[_0x3eb18b(0x2a9)])('p',{'className':_0x3eb18b(0x2b2),'children':_0x4ac9aa['t'](_0x3eb18b(0x249))})})]})}),(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x29d),'children':[(0x0,s[_0x3eb18b(0x2a9)])('div',{'className':(0x0,n[_0x3eb18b(0x1a5)])(_0x3eb18b(0x27e),_0x45b5c3(_0x40aba6,_0x2931ed)),'children':(0x0,s['jsxs'])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x17c),'children':[(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x23f),{'className':(0x0,n[_0x3eb18b(0x1a5)])('univer-size-2\x20univer-rounded-full',_0x4f7c85(_0x40aba6,_0x2931ed))}),(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x294),{'className':_0x3eb18b(0x1ff),'children':_0x1ccc2a(_0x40aba6)})]})}),_0x2931ed!==t['MCPConnectionError'][_0x3eb18b(0x296)]&&(_0x40aba6===t['MCPConnectionStatus'][_0x3eb18b(0x240)]||_0x2931ed===t[_0x3eb18b(0x17d)][_0x3eb18b(0x2c2)])&&(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x182),'children':(0x0,s['jsxs'])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x2c1),'children':[(0x0,s['jsx'])(_0x3eb18b(0x294),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),(0x0,s[_0x3eb18b(0x2a9)])('p',{'className':_0x3eb18b(0x237),'children':_0x52cf3c(_0x2931ed)})]})})]}),(0x0,s[_0x3eb18b(0x2a9)])('div',{'className':_0x3eb18b(0x1d1),'children':(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x21c),'children':[(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x1ad),'children':[(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x1a6),{'className':_0x3eb18b(0x207),'children':[(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x294),{'children':'🔑'}),'\x20',_0x4ac9aa['t'](_0x3eb18b(0x1d6)),(0x0,s['jsx'])(_0x3eb18b(0x294),{'className':'univer-text-red-500','children':'*'}),_0x1ae6c1&&(0x0,s['jsx'])('a',{'className':_0x3eb18b(0x25c),'title':_0x4ac9aa['t'](_0x3eb18b(0x1dd)),'role':_0x3eb18b(0x2be),'onClick':()=>_0xa99540(!0x0),'children':(0x0,s[_0x3eb18b(0x2a9)])(a[_0x3eb18b(0x1bd)],{})})]}),(0x0,s['jsx'])(n[_0x3eb18b(0x202)],{'type':_0x3eb18b(0x24c),'placeholder':_0x4ac9aa['t'](_0x3eb18b(0x1d2)),'value':_0x3bbe40,'disabled':_0x474337,'autoComplete':_0x3eb18b(0x20a),'onChange':_0x5851b7}),(0x0,s[_0x3eb18b(0x2a9)])('p',{'className':_0x3eb18b(0x1b1),'children':_0x4ac9aa['t'](_0x3eb18b(0x286))})]}),_0x1ae6c1&&_0x2325e0&&(0x0,s['jsxs'])('div',{'className':_0x3eb18b(0x227),'children':[(0x0,s[_0x3eb18b(0x2a9)])('a',{'className':_0x3eb18b(0x188),'role':'button','onClick':()=>_0xa99540(!0x1),'children':(0x0,s[_0x3eb18b(0x2a9)])(a[_0x3eb18b(0x2ad)],{'className':_0x3eb18b(0x22e)})}),(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x244),'children':[(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x23f),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x294),{'className':'univer-text-blue-600','children':'🚀'})}),(0x0,s['jsxs'])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x273),'children':[(0x0,s[_0x3eb18b(0x2a9)])('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x4ac9aa['t'](_0x3eb18b(0x1dd))}),(0x0,s[_0x3eb18b(0x2a9)])('p',{'className':_0x3eb18b(0x22a),'children':_0x4ac9aa['t'](_0x3eb18b(0x1f0))}),(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x243),'children':_0x5efdab&&(0x0,s[_0x3eb18b(0x1fb)])('a',{'className':_0x3eb18b(0x289),'href':_0x417a93,'target':_0x3eb18b(0x1c6),'rel':_0x3eb18b(0x186),'children':[(0x0,s[_0x3eb18b(0x2a9)])('span',{'children':'🤖'}),_0x4ac9aa['t']('mcpConfig.apiApplyInfo.univerAiLabel'),(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x294),{'className':_0x3eb18b(0x2b8),'children':'↗'})]})}),(0x0,s[_0x3eb18b(0x1fb)])('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x4ac9aa['t'](_0x3eb18b(0x2c4))]})]})]})]}),_0x2637ce[_0x3eb18b(0x1ca)]&&(0x0,s['jsxs'])('div',{'className':_0x3eb18b(0x221),'children':[(0x0,s['jsxs'])('h4',{'className':_0x3eb18b(0x1a8),'children':[(0x0,s['jsx'])(_0x3eb18b(0x294),{'children':'🔗'}),'\x20',_0x4ac9aa['t'](_0x3eb18b(0x2c5))]}),(0x0,s[_0x3eb18b(0x1fb)])('div',{'className':_0x3eb18b(0x25d),'children':[(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x1c9),'children':[(0x0,s[_0x3eb18b(0x2a9)])('p',{'className':_0x3eb18b(0x1ed),'children':_0x4ac9aa['t'](_0x3eb18b(0x29f))}),(0x0,s['jsxs'])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x1ad),'children':[(0x0,s['jsx'])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x1ce),'children':_0x4ac9aa['t'](_0x3eb18b(0x230))}),(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x201),'children':[(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x17c),'children':[(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x294),{'className':'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','children':'1'}),_0x4ac9aa['t'](_0x3eb18b(0x1d7))]}),(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x17c),'children':[(0x0,s['jsx'])(_0x3eb18b(0x294),{'className':_0x3eb18b(0x2b9),'children':'2'}),_0x4ac9aa['t'](_0x3eb18b(0x298))]}),(0x0,s[_0x3eb18b(0x1fb)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x294),{'className':_0x3eb18b(0x2b9),'children':'3'}),_0x4ac9aa['t'](_0x3eb18b(0x195))]})]})]})]}),(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':'univer-space-y-2','children':[(0x0,s[_0x3eb18b(0x2a9)])('div',{'className':_0x3eb18b(0x1ce),'children':_0x3eb18b(0x175)}),(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x1b6),'children':(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x1b5),{'className':_0x3eb18b(0x216),'children':JSON['stringify']({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x49689d||_0x3eb18b(0x246)),'type':_0x3eb18b(0x1f1),'headers':{'Authorization':_0x3eb18b(0x1a2)+(_0x3bbe40||_0x3eb18b(0x184))}}}},null,0x2)})})]}),(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x1c9),'children':[(0x0,s['jsx'])('div',{'className':_0x3eb18b(0x1ce),'children':_0x4ac9aa['t'](_0x3eb18b(0x219))}),(0x0,s['jsxs'])('div',{'className':'univer-space-y-2','children':[(0x0,s[_0x3eb18b(0x1fb)])('div',{'className':_0x3eb18b(0x235),'children':[(0x0,s['jsx'])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x239)}),(0x0,s['jsxs'])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x2b5),'children':[(0x0,s['jsx'])('div',{'className':_0x3eb18b(0x2a0),'children':_0x3eb18b(0x1f7)}),(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x1b1),'children':_0x4ac9aa['t'](_0x3eb18b(0x24e))})]})]}),(0x0,s[_0x3eb18b(0x1fb)])('div',{'className':_0x3eb18b(0x235),'children':[(0x0,s['jsx'])('div',{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x2b5),'children':[(0x0,s['jsx'])('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x3eb18b(0x1cd)}),(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x1b1),'children':_0x4ac9aa['t'](_0x3eb18b(0x281))})]})]})]})]})]})]}),(0x0,s[_0x3eb18b(0x2a9)])(n[_0x3eb18b(0x299)],{'onClick':_0x4f8778,'disabled':!_0x58569b||_0x474337,'className':'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','children':_0x474337?(0x0,s['jsxs'])('span',{'className':_0x3eb18b(0x17c),'children':[(0x0,s[_0x3eb18b(0x2a9)])(_0x3eb18b(0x294),{'children':'⟲'}),_0x4ac9aa['t'](_0x3eb18b(0x1e0))]}):(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x294),{'className':_0x3eb18b(0x17c),'children':[(0x0,s[_0x3eb18b(0x2a9)])(a[_0x3eb18b(0x1e5)],{}),_0x4ac9aa['t'](_0x3eb18b(0x1b3))]})}),(0x0,s[_0x3eb18b(0x2a9)])('div',{'className':_0x3eb18b(0x181),'children':(0x0,s['jsxs'])(_0x3eb18b(0x23f),{'className':'univer-flex\x20univer-gap-3','children':[(0x0,s['jsx'])(_0x3eb18b(0x294),{'className':_0x3eb18b(0x23b),'children':'💡'}),(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x16b),'children':[(0x0,s['jsx'])(_0x3eb18b(0x23f),{'className':_0x3eb18b(0x287),'children':_0x3eb18b(0x1fd)}),(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'children':['•',_0x4ac9aa['t'](_0x3eb18b(0x191))]}),(0x0,s[_0x3eb18b(0x1fb)])(_0x3eb18b(0x23f),{'children':['•',_0x4ac9aa['t'](_0x3eb18b(0x2bf))]})]})]})})]})})]});}const u=_0x3eccf6(0x1d0);Symbol(u);const d={'showDeveloperTools':!0x1,'showStatus':!0x0};function f(_0x43d154){'@babel/helpers - typeof';const _0x48f2d5=_0x3eccf6;return f=typeof Symbol=='function'&&typeof Symbol[_0x48f2d5(0x234)]==_0x48f2d5(0x1ee)?function(_0x52156d){return typeof _0x52156d;}:function(_0x24dae2){const _0x5b3589=_0x48f2d5;return _0x24dae2&&typeof Symbol==_0x5b3589(0x2aa)&&_0x24dae2['constructor']===Symbol&&_0x24dae2!==Symbol[_0x5b3589(0x1ea)]?_0x5b3589(0x1ee):typeof _0x24dae2;},f(_0x43d154);}function p(_0x194ad3,_0x59f25f){const _0x5b4159=_0x3eccf6;if(f(_0x194ad3)!='object'||!_0x194ad3)return _0x194ad3;var _0x3a9307=_0x194ad3[Symbol['toPrimitive']];if(_0x3a9307!==void 0x0){var _0x24ecb9=_0x3a9307['call'](_0x194ad3,_0x59f25f||_0x5b4159(0x27d));if(f(_0x24ecb9)!=_0x5b4159(0x26c))return _0x24ecb9;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x59f25f==='string'?String:Number)(_0x194ad3);}function m(_0x450a4e){const _0x4faf5d=_0x3eccf6;var _0x2919f5=p(_0x450a4e,_0x4faf5d(0x262));return f(_0x2919f5)==_0x4faf5d(0x1ee)?_0x2919f5:_0x2919f5+'';}function h(_0x32702a,_0x2d1c47,_0x27a222){const _0x1538a0=_0x3eccf6;return(_0x2d1c47=m(_0x2d1c47))in _0x32702a?Object[_0x1538a0(0x190)](_0x32702a,_0x2d1c47,{'value':_0x27a222,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x32702a[_0x2d1c47]=_0x27a222,_0x32702a;}function g(_0x530001,_0x38a8a4){return function(_0xe672a8,_0x1e1734){_0x38a8a4(_0xe672a8,_0x1e1734,_0x530001);};}function _(_0x370b5a,_0x722ae,_0xf09c4,_0x4e81b9){const _0x38b2=_0x3eccf6;var _0xcb07f3=arguments[_0x38b2(0x1f8)],_0x5c0bfd=_0xcb07f3<0x3?_0x722ae:_0x4e81b9===null?_0x4e81b9=Object[_0x38b2(0x20e)](_0x722ae,_0xf09c4):_0x4e81b9,_0x4b50de;if(typeof Reflect==_0x38b2(0x26c)&&typeof Reflect[_0x38b2(0x242)]=='function')_0x5c0bfd=Reflect[_0x38b2(0x242)](_0x370b5a,_0x722ae,_0xf09c4,_0x4e81b9);else{for(var _0x5010e4=_0x370b5a[_0x38b2(0x1f8)]-0x1;_0x5010e4>=0x0;_0x5010e4--)(_0x4b50de=_0x370b5a[_0x5010e4])&&(_0x5c0bfd=(_0xcb07f3<0x3?_0x4b50de(_0x5c0bfd):_0xcb07f3>0x3?_0x4b50de(_0x722ae,_0xf09c4,_0x5c0bfd):_0x4b50de(_0x722ae,_0xf09c4))||_0x5c0bfd);}return _0xcb07f3>0x3&&_0x5c0bfd&&Object[_0x38b2(0x190)](_0x722ae,_0xf09c4,_0x5c0bfd),_0x5c0bfd;}const v=_0x3eccf6(0x213),y='mcp-config-dialog';function _0x6f34(_0x3a34fb,_0x197001){_0x3a34fb=_0x3a34fb-0x168;const _0x35dc34=_0x35dc();let _0x6f34c1=_0x35dc34[_0x3a34fb];return _0x6f34c1;}let b=class extends e[_0x3eccf6(0x1c1)]{constructor(_0x17e0fe,_0x5148c1,_0xda9540,_0xc549c5,_0x5345f4,_0x9bb7f8,_0x5b4b9b,_0x417763,_0x5d598c,_0x44b8f5){const _0x49145e=_0x3eccf6;super(),this['_injector']=_0x17e0fe,this[_0x49145e(0x266)]=_0x5148c1,this[_0x49145e(0x1aa)]=_0xda9540,this[_0x49145e(0x1e6)]=_0xc549c5,this['_dialogService']=_0x5345f4,this[_0x49145e(0x257)]=_0x9bb7f8,this['_componentManager']=_0x5b4b9b,this[_0x49145e(0x27b)]=_0x417763,this[_0x49145e(0x2ba)]=_0x5d598c,this[_0x49145e(0x1f5)]=_0x44b8f5,h(this,'_loading$',new i[(_0x49145e(0x1e9))](!0x1)),h(this,_0x49145e(0x1dc),new i[(_0x49145e(0x1e9))]({})),h(this,'_config$',new i[(_0x49145e(0x1e9))]({})),h(this,_0x49145e(0x20c),new i['BehaviorSubject']('')),h(this,'_handleConfigSave',async _0x13c5f3=>{const _0x1a66e9=_0x49145e;this['_loading$'][_0x1a66e9(0x276)](!0x0);try{var _0x59d045,_0x3e84d7;let _0x55d82c=await this['_validateConfig'](_0x13c5f3);if(!_0x55d82c[_0x1a66e9(0x278)]){this[_0x1a66e9(0x257)]['show']({'type':n[_0x1a66e9(0x19e)][_0x1a66e9(0x26a)],'content':_0x55d82c[_0x1a66e9(0x17f)]||this[_0x1a66e9(0x27b)]['t'](_0x1a66e9(0x2a7))});return;}_0x13c5f3[_0x1a66e9(0x285)]?await this[_0x1a66e9(0x1e6)][_0x1a66e9(0x177)](v,_0x13c5f3['apiKey'][_0x1a66e9(0x280)]()):await this[_0x1a66e9(0x1e6)][_0x1a66e9(0x205)](v),this[_0x1a66e9(0x20c)]['next'](((_0x59d045=_0x13c5f3['apiKey'])==null?void 0x0:_0x59d045[_0x1a66e9(0x280)]())||''),this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':'Bearer\x20'+((_0x3e84d7=_0x13c5f3[_0x1a66e9(0x285)])==null?void 0x0:_0x3e84d7[_0x1a66e9(0x280)]())}),this[_0x1a66e9(0x257)]['show']({'type':n[_0x1a66e9(0x19e)][_0x1a66e9(0x29b)],'content':this[_0x1a66e9(0x27b)]['t'](_0x1a66e9(0x229))}),setTimeout(()=>{const _0x418f19=_0x1a66e9;this[_0x418f19(0x173)][_0x418f19(0x1f2)](y);},0x320);}catch(_0x20e02c){this[_0x1a66e9(0x2ba)][_0x1a66e9(0x1f9)](_0x1a66e9(0x2a6),_0x20e02c),this[_0x1a66e9(0x257)][_0x1a66e9(0x1b9)]({'type':n[_0x1a66e9(0x19e)][_0x1a66e9(0x26a)],'content':this[_0x1a66e9(0x27b)]['t'](_0x1a66e9(0x297))});}finally{this[_0x1a66e9(0x1d3)][_0x1a66e9(0x276)](!0x1);}}),this[_0x49145e(0x20b)](),this[_0x49145e(0x1e3)](),this[_0x49145e(0x2cb)]();}[_0x3eccf6(0x260)](){const _0x4e7f3b=_0x3eccf6;let _0x3ffd6c=this[_0x4e7f3b(0x1aa)]['getConfig'](u);_0x3ffd6c!=null&&_0x3ffd6c['showDeveloperTools']&&this[_0x4e7f3b(0x173)]['open']({'id':y,'title':{'title':this[_0x4e7f3b(0x27b)]['t']('mcpConfig.title')},'children':{'label':_0x4e7f3b(0x283)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x5b2042=_0x4e7f3b;this[_0x5b2042(0x173)][_0x5b2042(0x1f2)](y);}});}['getCurrentConfig'](){const _0x3ce3da=_0x3eccf6;return this[_0x3ce3da(0x1dc)][_0x3ce3da(0x26e)];}[_0x3eccf6(0x2cb)](){const _0x57813c=_0x3eccf6;this[_0x57813c(0x225)](this[_0x57813c(0x226)][_0x57813c(0x291)](_0x57813c(0x283),this[_0x57813c(0x263)]()));}[_0x3eccf6(0x263)](){const _0x3809d8=_0x3eccf6;return(0x0,r[_0x3809d8(0x292)])(()=>{const _0x402099=_0x3809d8;var _0x1993c9,_0x2f6dcb,_0x25f914;return(0x0,s[_0x402099(0x2a9)])(l,{'config':this['_config$'][_0x402099(0x26e)],'mcpCoreConfig':this[_0x402099(0x1dc)][_0x402099(0x26e)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x402099(0x204)],'loading':this[_0x402099(0x1d3)]['value'],'connectionStatus$':(_0x1993c9=this[_0x402099(0x1f5)])==null?void 0x0:_0x1993c9[_0x402099(0x26f)],'connectionError$':(_0x2f6dcb=this[_0x402099(0x1f5)])==null?void 0x0:_0x2f6dcb[_0x402099(0x1ba)],'currentSessionId$':(_0x25f914=this['_mcpConnectionController'])==null?void 0x0:_0x25f914['sessionId$']});},this[_0x3809d8(0x1c3)]);}[_0x3eccf6(0x20b)](){const _0x5eb87b=_0x3eccf6;this[_0x5eb87b(0x225)](this[_0x5eb87b(0x1aa)][_0x5eb87b(0x2ac)](t[_0x5eb87b(0x18a)])[_0x5eb87b(0x1bb)](_0x1ebd6a=>{this['_mcpCoreConfig$']['next'](_0x1ebd6a||{});}));let _0x1c2465=this['_configService']['getConfig'](t[_0x5eb87b(0x18a)]);this['_mcpCoreConfig$']['next'](_0x1c2465||{}),this[_0x5eb87b(0x225)](this[_0x5eb87b(0x1aa)]['subscribeConfigValue$'](u)[_0x5eb87b(0x1bb)](_0x345e6d=>{const _0x1ec2a4=_0x5eb87b;this[_0x1ec2a4(0x25a)][_0x1ec2a4(0x276)](_0x345e6d||{});}));let _0x21ebd4=this['_configService'][_0x5eb87b(0x1fc)](u);this[_0x5eb87b(0x25a)][_0x5eb87b(0x276)](_0x21ebd4||{});}async[_0x3eccf6(0x1e3)](){const _0x10ae38=_0x3eccf6;let _0x559433=this[_0x10ae38(0x1aa)][_0x10ae38(0x1fc)](u);if(!(_0x559433!=null&&_0x559433['showDeveloperTools']))return;let _0x5867bb=await this[_0x10ae38(0x1e6)][_0x10ae38(0x2af)](v);_0x5867bb&&(this['_mcpConnectionController'][_0x10ae38(0x1bf)]({'Authorization':_0x10ae38(0x1a2)+_0x5867bb}),this['_apiKey$'][_0x10ae38(0x276)](_0x5867bb));}async[_0x3eccf6(0x1c5)](_0x4785a8){const _0xd5841e=_0x3eccf6;if(!_0x4785a8[_0xd5841e(0x285)]||_0x4785a8[_0xd5841e(0x285)][_0xd5841e(0x280)]()[_0xd5841e(0x1f8)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyRequired')};if(_0x4785a8[_0xd5841e(0x285)][_0xd5841e(0x280)]()[_0xd5841e(0x1f8)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0xd5841e(0x27b)]['t'](_0xd5841e(0x17e))};try{let _0x404a4f=await this[_0xd5841e(0x1c3)]['get'](t['MCPConnectionController'])[_0xd5841e(0x23e)](_0x4785a8[_0xd5841e(0x285)]['trim']());return _0x404a4f['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x404a4f[_0xd5841e(0x1f9)]||this[_0xd5841e(0x27b)]['t'](_0xd5841e(0x293))};}catch(_0x58d8b3){return console[_0xd5841e(0x1be)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x58d8b3),{'isValid':!0x0};}}};b=_([g(0x0,(0x0,e[_0x3eccf6(0x16e)])(e['Injector'])),g(0x1,r[_0x3eccf6(0x2b3)]),g(0x2,e[_0x3eccf6(0x27a)]),g(0x3,e[_0x3eccf6(0x2a8)]),g(0x4,r['IDialogService']),g(0x5,r['IMessageService']),g(0x6,(0x0,e['Inject'])(r['ComponentManager'])),g(0x7,(0x0,e[_0x3eccf6(0x16e)])(e['LocaleService'])),g(0x8,e[_0x3eccf6(0x253)]),g(0x9,(0x0,e[_0x3eccf6(0x16e)])(t[_0x3eccf6(0x1af)]))],b);const x={'id':_0x3eccf6(0x171),'type':e['CommandType'][_0x3eccf6(0x279)],'handler':async(_0x4fea65,_0x34171a)=>(_0x4fea65[_0x3eccf6(0x21b)](b)[_0x3eccf6(0x260)](),!0x0)};function S(_0xe6fde4,_0x13ae53){const _0x1b3eb4=_0x3eccf6;switch(_0xe6fde4){case t['MCPConnectionStatus'][_0x1b3eb4(0x20f)]:return _0x1b3eb4(0x1fa);case t[_0x1b3eb4(0x1e2)][_0x1b3eb4(0x224)]:return _0x1b3eb4(0x256);case t[_0x1b3eb4(0x1e2)][_0x1b3eb4(0x1c4)]:return'mcpStatus.connected';case t[_0x1b3eb4(0x1e2)][_0x1b3eb4(0x240)]:switch(_0x13ae53){case t[_0x1b3eb4(0x17d)][_0x1b3eb4(0x2c2)]:return _0x1b3eb4(0x1f3);case t[_0x1b3eb4(0x17d)][_0x1b3eb4(0x277)]:return _0x1b3eb4(0x1c8);case t['MCPConnectionError'][_0x1b3eb4(0x192)]:return _0x1b3eb4(0x1a7);case t['MCPConnectionError'][_0x1b3eb4(0x1b0)]:return _0x1b3eb4(0x247);default:return _0x1b3eb4(0x1e1);}case t[_0x1b3eb4(0x1e2)][_0x1b3eb4(0x22b)]:return _0x1b3eb4(0x1ac);default:return _0x1b3eb4(0x1d4);}}function C(_0x19dece,_0x67c98a,_0x330ac2,_0x3cfd45=!0x0){const _0x156a0f=_0x3eccf6;let _0x42e384=S(_0x19dece,_0x67c98a),_0x197494=_0x330ac2['t'](_0x42e384);return _0x3cfd45?_0x19dece===t[_0x156a0f(0x1e2)][_0x156a0f(0x20f)]&&_0x67c98a===t[_0x156a0f(0x17d)][_0x156a0f(0x2c2)]?_0x197494+_0x156a0f(0x29c)+_0x330ac2['t'](_0x156a0f(0x19c)):_0x19dece===t[_0x156a0f(0x1e2)][_0x156a0f(0x1c4)]?''+_0x197494:_0x19dece===t['MCPConnectionStatus'][_0x156a0f(0x20f)]||_0x19dece===t['MCPConnectionStatus'][_0x156a0f(0x240)]?_0x197494+_0x156a0f(0x29c)+_0x330ac2['t']('mcpStatus.clickToConnect'):_0x197494:_0x197494;}function w(_0x5665c9){const _0x15629a=_0x3eccf6;switch(_0x5665c9){case t[_0x15629a(0x1e2)][_0x15629a(0x1c4)]:return _0x15629a(0x2b0);case t[_0x15629a(0x1e2)]['CONNECTING']:case t[_0x15629a(0x1e2)][_0x15629a(0x22b)]:return _0x15629a(0x1e4);case t['MCPConnectionStatus'][_0x15629a(0x240)]:case t[_0x15629a(0x1e2)][_0x15629a(0x20f)]:return _0x15629a(0x28e);default:return'univer-text-gray-500';}}function T(_0x569e46){const _0x4cd89d=_0x3eccf6;let {status$:_0x1c927c,error$:_0x1c0bea,onConfigure:_0x30716e,showClickable:_0x3b41ca=!0x0}=_0x569e46,_0x485bcb=(0x0,r[_0x4cd89d(0x231)])(_0x1c927c,t['MCPConnectionStatus'][_0x4cd89d(0x20f)]),_0x178379=(0x0,r['useObservable'])(_0x1c0bea,t[_0x4cd89d(0x17d)][_0x4cd89d(0x296)]),_0x1cae16=(0x0,r[_0x4cd89d(0x1a0)])(e[_0x4cd89d(0x251)]),_0x1f7180=_0x485bcb===t[_0x4cd89d(0x1e2)][_0x4cd89d(0x1c4)];_0x485bcb===t[_0x4cd89d(0x1e2)][_0x4cd89d(0x224)]||t[_0x4cd89d(0x1e2)][_0x4cd89d(0x22b)];let _0x39fcf1=_0x1cae16['t'](S(_0x485bcb,_0x178379)),_0x2b44d6=C(_0x485bcb,_0x178379,_0x1cae16,_0x3b41ca),_0x105260=w(_0x485bcb),_0x1f5d4a=_0x1f7180?(0x0,s['jsx'])(a[_0x4cd89d(0x1ef)],{}):(0x0,s['jsx'])(a['OffLineIcon'],{}),_0x3b7ec6=(0x0,o[_0x4cd89d(0x22d)])(()=>{_0x3b41ca&&_0x30716e&&_0x30716e();},[_0x3b41ca,_0x30716e]);function _0x23b421(){const _0x11fb2d=_0x4cd89d;return(0x0,s['jsxs'])(_0x11fb2d(0x23f),{'className':(0x0,n[_0x11fb2d(0x1a5)])(_0x11fb2d(0x23c),_0x3b41ca&&_0x30716e&&'\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'),'role':_0x11fb2d(0x2be),'onClick':_0x3b41ca&&_0x30716e?_0x3b7ec6:void 0x0,'children':[(0x0,s[_0x11fb2d(0x2a9)])(_0x11fb2d(0x23f),{'className':(0x0,n['clsx'])('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x105260),'children':_0x1f5d4a}),(0x0,s[_0x11fb2d(0x2a9)])(_0x11fb2d(0x23f),{'className':_0x11fb2d(0x24a),'children':_0x39fcf1})]});}return(0x0,s[_0x4cd89d(0x2a9)])(n[_0x4cd89d(0x168)],{'title':_0x2b44d6,'placement':_0x4cd89d(0x24d),'children':_0x23b421()});}let E=class extends e[_0x3eccf6(0x1c1)]{constructor(_0x481c20,_0x345c98,_0x1fca0e,_0xf39fb3){const _0xb67fa2=_0x3eccf6;super(),this[_0xb67fa2(0x1c3)]=_0x481c20,this['_connectionController']=_0x345c98,this[_0xb67fa2(0x266)]=_0x1fca0e,this[_0xb67fa2(0x1aa)]=_0xf39fb3,this['_initAutoConnect'](),this[_0xb67fa2(0x189)]();}[_0x3eccf6(0x1d9)](){const _0x3d2cf3=_0x3eccf6;let _0x3c7283=this[_0x3d2cf3(0x1aa)]['getConfig'](u);_0x3c7283!=null&&_0x3c7283['showDeveloperTools']&&(this[_0x3d2cf3(0x27f)][_0x3d2cf3(0x20d)]=!0x1);}[_0x3eccf6(0x189)](){const _0x2f881b=_0x3eccf6;let _0x4ccf82=this['_configService'][_0x2f881b(0x1fc)](u);(_0x4ccf82==null?void 0x0:_0x4ccf82[_0x2f881b(0x172)])!==!0x1&&this[_0x2f881b(0x225)](this['_uiPartsService']['registerComponent'](r[_0x2f881b(0x187)][_0x2f881b(0x2b7)],()=>{const _0x3567dc=_0x2f881b;var _0x88c89c;return(0x0,r['connectInjector'])(D({'status$':this[_0x3567dc(0x27f)][_0x3567dc(0x26f)],'error$':this[_0x3567dc(0x27f)]['connectionError$'],'onConfigure':()=>this[_0x3567dc(0x2c6)](),'showClickable':(_0x88c89c=_0x4ccf82==null?void 0x0:_0x4ccf82[_0x3567dc(0x1ca)])==null?!0x1:_0x88c89c}),this[_0x3567dc(0x1c3)]);}));}[_0x3eccf6(0x2c6)](){const _0x1ab5db=_0x3eccf6;this[_0x1ab5db(0x1c3)][_0x1ab5db(0x21b)](b)[_0x1ab5db(0x260)]();}};E=_([g(0x0,(0x0,e['Inject'])(e[_0x3eccf6(0x274)])),g(0x1,(0x0,e['Inject'])(t[_0x3eccf6(0x1af)])),g(0x2,r[_0x3eccf6(0x2b3)]),g(0x3,e['IConfigService'])],E);function D(_0x4905b8){let {status$:_0x3cff0a,error$:_0x3a5c9a,onConfigure:_0x463acc,showClickable:_0x2d3e5b}=_0x4905b8;return function(){const _0x496e7d=_0x6f34;return(0x0,s[_0x496e7d(0x2a9)])(T,{'status$':_0x3cff0a,'error$':_0x3a5c9a,'onConfigure':_0x463acc,'showClickable':_0x2d3e5b});};}function O(_0x345923){const _0x4344d3=_0x3eccf6;return{'id':x['id'],'type':r[_0x4344d3(0x1df)][_0x4344d3(0x275)],'icon':_0x4344d3(0x17a),'title':'mcpConfig.title','tooltip':_0x4344d3(0x26b)};}const k={[r[_0x3eccf6(0x209)][_0x3eccf6(0x18f)]]:{[x['id']]:{'order':0xa,'menuItemFactory':O}}};let A=class extends e[_0x3eccf6(0x1c1)]{constructor(_0xf9481f,_0x1b8103){const _0x982c55=_0x3eccf6;super(),this[_0x982c55(0x29e)]=_0xf9481f,this[_0x982c55(0x1f6)]=_0x1b8103,this['_initializeCommands'](),this[_0x982c55(0x250)]();}[_0x3eccf6(0x236)](){[x]['forEach'](_0xc38e6f=>{const _0x2a56fa=_0x6f34;this[_0x2a56fa(0x225)](this[_0x2a56fa(0x29e)]['registerCommand'](_0xc38e6f));});}[_0x3eccf6(0x250)](){const _0xc9594b=_0x3eccf6;this[_0xc9594b(0x1f6)][_0xc9594b(0x183)](k);}};A=_([g(0x0,e[_0x3eccf6(0x1a1)]),g(0x1,r['IMenuManagerService'])],A);const j={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x3eccf6(0x1b8),'connected':_0x3eccf6(0x2bb),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x3eccf6(0x193),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x3eccf6(0x180),'maxRetriesExceeded':_0x3eccf6(0x18b),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3eccf6(0x2bd)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3eccf6(0x19f),'apiKey':_0x3eccf6(0x1b4),'apiKeyPlaceholder':_0x3eccf6(0x252),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x3eccf6(0x21d),'enableAuthHint':_0x3eccf6(0x2b6),'connectionInfo':_0x3eccf6(0x22c),'mcpClientConfig':_0x3eccf6(0x22c),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x3eccf6(0x25b),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3eccf6(0x174),'sessionId':_0x3eccf6(0x1cf),'sessionIdDescription':_0x3eccf6(0x217),'authorizationDescription':_0x3eccf6(0x16d),'configParameters':_0x3eccf6(0x23a),'maxRetries':_0x3eccf6(0x28a),'save':'Save\x20Configuration','saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x3eccf6(0x233),'configSaved':_0x3eccf6(0x238),'configError':_0x3eccf6(0x1ae),'apiApplyInfo':{'title':_0x3eccf6(0x232),'description':_0x3eccf6(0x258),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x3eccf6(0x203),'apiKeyTooShort':_0x3eccf6(0x228),'invalidConfig':_0x3eccf6(0x1c7),'invalidApiKey':_0x3eccf6(0x272)},'connectionStatus':{'disconnected':_0x3eccf6(0x25f),'connecting':_0x3eccf6(0x1eb),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x3eccf6(0x1a3)},'connectionError':{'unauthorized':_0x3eccf6(0x1db),'sessionOccupied':_0x3eccf6(0x2c3),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x3eccf6(0x169)}}},M={'mcpStatus':{'disconnected':_0x3eccf6(0x2a2),'connecting':_0x3eccf6(0x194),'connected':_0x3eccf6(0x176),'failed':_0x3eccf6(0x1ec),'retrying':'MCP\x20重连中...','unknown':_0x3eccf6(0x19b),'unauthorized':_0x3eccf6(0x2bc),'sessionOccupied':_0x3eccf6(0x2c8),'networkError':_0x3eccf6(0x16f),'maxRetriesExceeded':_0x3eccf6(0x1de),'clickToConnect':_0x3eccf6(0x2a4),'clickToConfigure':_0x3eccf6(0x208)},'mcpConfig':{'title':_0x3eccf6(0x261),'description':_0x3eccf6(0x1d5),'apiKey':_0x3eccf6(0x19a),'apiKeyPlaceholder':_0x3eccf6(0x1c0),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x3eccf6(0x18e),'connectionInfo':_0x3eccf6(0x27c),'mcpClientConfig':_0x3eccf6(0x27c),'configInstructions':_0x3eccf6(0x1cc),'configStepTitle':_0x3eccf6(0x1bc),'configStep1':_0x3eccf6(0x170),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x3eccf6(0x211),'sessionId':'会话ID','sessionIdDescription':_0x3eccf6(0x199),'authorizationDescription':_0x3eccf6(0x1b7),'configParameters':_0x3eccf6(0x1a4),'maxRetries':_0x3eccf6(0x28f),'save':_0x3eccf6(0x21e),'saving':_0x3eccf6(0x1c2),'note1':_0x3eccf6(0x2ae),'note2':_0x3eccf6(0x220),'configSaved':_0x3eccf6(0x16a),'configError':_0x3eccf6(0x28d),'apiApplyInfo':{'title':_0x3eccf6(0x21f),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x3eccf6(0x2a1),'apiKeyTooShort':_0x3eccf6(0x198),'invalidConfig':_0x3eccf6(0x29a),'invalidApiKey':_0x3eccf6(0x218)},'connectionStatus':{'disconnected':_0x3eccf6(0x248),'connecting':_0x3eccf6(0x179),'connected':_0x3eccf6(0x17b),'failed':_0x3eccf6(0x282),'retrying':_0x3eccf6(0x200)},'connectionError':{'unauthorized':_0x3eccf6(0x210),'sessionOccupied':_0x3eccf6(0x18c),'networkError':_0x3eccf6(0x2c7),'maxRetriesExceeded':_0x3eccf6(0x24b)}}};var N='@univerjs-pro/mcp-ui',P=_0x3eccf6(0x215);let F=class extends e[_0x3eccf6(0x245)]{constructor(_0x16798b=d,_0x15fcf6,_0x3008f2,_0x3810af,_0x1a3fae,_0x2399f5){const _0xe6766d=_0x3eccf6;super(),this[_0xe6766d(0x259)]=_0x16798b,this[_0xe6766d(0x1c3)]=_0x15fcf6,this[_0xe6766d(0x1aa)]=_0x3008f2,this[_0xe6766d(0x266)]=_0x3810af,this[_0xe6766d(0x1e6)]=_0x1a3fae,this[_0xe6766d(0x27b)]=_0x2399f5;let {..._0x27fcc5}=(0x0,e[_0xe6766d(0x196)])({},d,this[_0xe6766d(0x259)]);this[_0xe6766d(0x1aa)][_0xe6766d(0x288)](u,_0x27fcc5);}async[_0x3eccf6(0x255)](){const _0x4d4b18=_0x3eccf6;let _0xff06f7=[[E],[b],[A]];this[_0x4d4b18(0x1c3)][_0x4d4b18(0x254)](c[_0x4d4b18(0x1b2)])||_0xff06f7['push']([c['ISocketService'],{'useClass':c[_0x4d4b18(0x21a)]}]),_0xff06f7['forEach'](_0x1a9741=>this[_0x4d4b18(0x1c3)][_0x4d4b18(0x1e7)](_0x1a9741)),this['_injector'][_0x4d4b18(0x21b)](E),this[_0x4d4b18(0x1c3)][_0x4d4b18(0x21b)](b),this[_0x4d4b18(0x1c3)][_0x4d4b18(0x21b)](A);}};h(F,'pluginName','MCP_UI_PLUGIN'),h(F,_0x3eccf6(0x28b),N),h(F,_0x3eccf6(0x178),P),F=_([(0x0,e[_0x3eccf6(0x1d8)])(t[_0x3eccf6(0x185)]),g(0x1,(0x0,e['Inject'])(e['Injector'])),g(0x2,e['IConfigService']),g(0x3,r[_0x3eccf6(0x2b3)]),g(0x4,e[_0x3eccf6(0x2a8)]),g(0x5,(0x0,e[_0x3eccf6(0x16e)])(e[_0x3eccf6(0x251)]))],F),exports[_0x3eccf6(0x283)]=l,Object[_0x3eccf6(0x190)](exports,_0x3eccf6(0x212),{'enumerable':!0x0,'get':function(){return b;}}),Object['defineProperty'](exports,_0x3eccf6(0x2a3),{'enumerable':!0x0,'get':function(){return E;}}),exports['MCPStatusDisplay']=T,Object[_0x3eccf6(0x190)](exports,'MCPUIMenuController',{'enumerable':!0x0,'get':function(){return A;}}),exports[_0x3eccf6(0x2ab)]=x,Object['defineProperty'](exports,_0x3eccf6(0x264),{'enumerable':!0x0,'get':function(){return F;}}),exports[_0x3eccf6(0x16c)]=j,exports[_0x3eccf6(0x222)]=M;
@@ -1 +1 @@
1
- 'use strict';function _0x7eff(){const _0x43e19b=['6738132BwBAhr','Session\x20ID','MCP:\x20Max\x20Retries\x20Exceeded','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Retrying...','Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1257548FwLtDx','2767688AxvDPV','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','1204329tEnBjq','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','2008jGsSRq','API\x20Key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Save\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','9873JUrBqk','MCP\x20Connection\x20Failed','MCP:\x20Network\x20Error','MCP:\x20Session\x20ID\x20Occupied','Connected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20is\x20required','MCP\x20Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','3988735kdUbay','MCP:\x20Unauthorized','Configuration\x20Steps:','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','MCP\x20Connecting...','Configuration\x20Parameters:','16338ndSEbJ','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Univer\x20AI\x20Console','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Invalid\x20configuration','50890AsxKHB','Max\x20Retries','What\x20is\x20API\x20Key?','MCP\x20Connected','MCP\x20Configuration','3kVpMxu','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20saved\x20successfully'];_0x7eff=function(){return _0x43e19b;};return _0x7eff();}function _0x3296(_0xcfed02,_0x3970e8){_0xcfed02=_0xcfed02-0xf1;const _0x7eff94=_0x7eff();let _0x329615=_0x7eff94[_0xcfed02];return _0x329615;}const _0x36b316=_0x3296;(function(_0x5e9474,_0x458ffd){const _0xe3c305=_0x3296,_0x393f3d=_0x5e9474();while(!![]){try{const _0xe97942=-parseInt(_0xe3c305(0xf6))/0x1+-parseInt(_0xe3c305(0xf4))/0x2*(parseInt(_0xe3c305(0x11a))/0x3)+parseInt(_0xe3c305(0xf3))/0x4+-parseInt(_0xe3c305(0x108))/0x5+-parseInt(_0xe3c305(0x11d))/0x6+parseInt(_0xe3c305(0x10f))/0x7*(-parseInt(_0xe3c305(0xf8))/0x8)+parseInt(_0xe3c305(0xff))/0x9*(parseInt(_0xe3c305(0x115))/0xa);if(_0xe97942===_0x458ffd)break;else _0x393f3d['push'](_0x393f3d['shift']());}catch(_0x2b06f4){_0x393f3d['push'](_0x393f3d['shift']());}}}(_0x7eff,0xc3dc4));const e={'mcpStatus':{'disconnected':_0x36b316(0x106),'connecting':_0x36b316(0x10d),'connected':_0x36b316(0x118),'failed':_0x36b316(0x100),'retrying':_0x36b316(0xfd),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x36b316(0x109),'sessionOccupied':_0x36b316(0x102),'networkError':_0x36b316(0x101),'maxRetriesExceeded':_0x36b316(0x11f),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x36b316(0x119),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x36b316(0xf9),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x36b316(0xf5),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x36b316(0x10c),'mcpClientConfig':_0x36b316(0x10c),'configInstructions':_0x36b316(0x110),'configStepTitle':_0x36b316(0x10a),'configStep1':_0x36b316(0x10b),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x36b316(0x11e),'sessionIdDescription':_0x36b316(0x104),'authorizationDescription':_0x36b316(0xfc),'configParameters':_0x36b316(0x10e),'maxRetries':_0x36b316(0x116),'save':_0x36b316(0xfb),'saving':'Saving...','note1':_0x36b316(0xfa),'note2':_0x36b316(0xf7),'configSaved':_0x36b316(0x11c),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x36b316(0x117),'description':_0x36b316(0x11b),'univerAiLabel':_0x36b316(0x111),'getStarted':_0x36b316(0xfe)},'validation':{'apiKeyRequired':_0x36b316(0x105),'apiKeyTooShort':_0x36b316(0x107),'invalidConfig':_0x36b316(0x114),'invalidApiKey':_0x36b316(0xf2)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x36b316(0xf1),'connected':_0x36b316(0x103),'failed':'Connection\x20Failed','retrying':_0x36b316(0x121)},'connectionError':{'unauthorized':_0x36b316(0x112),'sessionOccupied':_0x36b316(0x113),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x36b316(0x120)}}},n=e;module['exports']=n;
1
+ function _0x28a4(_0x186881,_0x47b5eb){_0x186881=_0x186881-0x79;const _0x38304d=_0x3830();let _0x28a437=_0x38304d[_0x186881];return _0x28a437;}const _0x5993d2=_0x28a4;(function(_0x33a6c1,_0xf6e4fb){const _0x3a75a4=_0x28a4,_0x35556e=_0x33a6c1();while(!![]){try{const _0x557fb8=-parseInt(_0x3a75a4(0x7b))/0x1+parseInt(_0x3a75a4(0x97))/0x2*(-parseInt(_0x3a75a4(0x85))/0x3)+-parseInt(_0x3a75a4(0x9e))/0x4*(-parseInt(_0x3a75a4(0x89))/0x5)+parseInt(_0x3a75a4(0xa6))/0x6+parseInt(_0x3a75a4(0xa0))/0x7*(parseInt(_0x3a75a4(0xa1))/0x8)+-parseInt(_0x3a75a4(0xac))/0x9*(parseInt(_0x3a75a4(0x8b))/0xa)+parseInt(_0x3a75a4(0x93))/0xb;if(_0x557fb8===_0xf6e4fb)break;else _0x35556e['push'](_0x35556e['shift']());}catch(_0x1dd39d){_0x35556e['push'](_0x35556e['shift']());}}}(_0x3830,0xb664a));function _0x3830(){const _0x2d17a7=['Configuration\x20Parameters:','Configuration\x20saved\x20successfully','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','Saving...','Enter\x20your\x20API\x20key','417YLvmDg','Disconnected','Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','10NhOIZi','MCP\x20Unknown\x20Status','97220WktTUv','What\x20is\x20API\x20Key?','Retrying...','API\x20Key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connected','Configuration\x20Steps:','Univer\x20AI\x20Console','16208104geGSNd','MCP\x20Retrying...','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','14578NRwVrQ','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','Connection\x20Failed','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Session\x20ID\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','2845916hkDjIN','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','8754242wWvGqC','8ZNkevo','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','MCP:\x20Unauthorized','Click\x20to\x20configure\x20MCP','71100bpadxk','Enable\x20Authentication','Invalid\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','981GiwSMl','MCP\x20Disconnected','API\x20key\x20is\x20required','1338927hrJnkM','Max\x20Retries','MCP:\x20Network\x20Error','Click\x20to\x20connect\x20MCP'];_0x3830=function(){return _0x2d17a7;};return _0x3830();}const e={'mcpStatus':{'disconnected':_0x5993d2(0x79),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x5993d2(0x82),'retrying':_0x5993d2(0x94),'unknown':_0x5993d2(0x8a),'unauthorized':_0x5993d2(0xa4),'sessionOccupied':_0x5993d2(0x9c),'networkError':_0x5993d2(0x7d),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5993d2(0x7e),'clickToConfigure':_0x5993d2(0xa5)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5993d2(0x8e),'apiKeyPlaceholder':_0x5993d2(0x84),'apiKeyHint':_0x5993d2(0xab),'enableAuth':_0x5993d2(0xa7),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x5993d2(0x91),'configStep1':_0x5993d2(0x88),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x5993d2(0xa2),'sessionId':_0x5993d2(0x95),'sessionIdDescription':_0x5993d2(0x9b),'authorizationDescription':_0x5993d2(0x99),'configParameters':_0x5993d2(0x7f),'maxRetries':_0x5993d2(0x7c),'save':_0x5993d2(0xa3),'saving':_0x5993d2(0x83),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x5993d2(0x9f),'configSaved':_0x5993d2(0x80),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x5993d2(0x8c),'description':_0x5993d2(0x8f),'univerAiLabel':_0x5993d2(0x92),'getStarted':_0x5993d2(0x9d)},'validation':{'apiKeyRequired':_0x5993d2(0x7a),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x5993d2(0xa8),'invalidApiKey':_0x5993d2(0x96)},'connectionStatus':{'disconnected':_0x5993d2(0x86),'connecting':_0x5993d2(0x87),'connected':_0x5993d2(0x90),'failed':_0x5993d2(0x9a),'retrying':_0x5993d2(0x8d)},'connectionError':{'unauthorized':_0x5993d2(0x98),'sessionOccupied':_0x5993d2(0xaa),'networkError':_0x5993d2(0xa9),'maxRetriesExceeded':_0x5993d2(0x81)}}};module['exports']=e;
@@ -1 +1 @@
1
- 'use strict';const _0x4c3b9f=_0x1c09;(function(_0x33194e,_0x2f19e7){const _0x2a041c=_0x1c09,_0x284e99=_0x33194e();while(!![]){try{const _0xefe66c=parseInt(_0x2a041c(0x140))/0x1+parseInt(_0x2a041c(0x159))/0x2+-parseInt(_0x2a041c(0x147))/0x3*(-parseInt(_0x2a041c(0x14f))/0x4)+-parseInt(_0x2a041c(0x130))/0x5+parseInt(_0x2a041c(0x145))/0x6+-parseInt(_0x2a041c(0x12d))/0x7*(parseInt(_0x2a041c(0x152))/0x8)+parseInt(_0x2a041c(0x137))/0x9*(-parseInt(_0x2a041c(0x14d))/0xa);if(_0xefe66c===_0x2f19e7)break;else _0x284e99['push'](_0x284e99['shift']());}catch(_0xbe24f2){_0x284e99['push'](_0x284e99['shift']());}}}(_0x11d3,0x53c2f));const e={'mcpStatus':{'disconnected':_0x4c3b9f(0x148),'connecting':_0x4c3b9f(0x154),'connected':_0x4c3b9f(0x133),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4c3b9f(0x14c),'unknown':_0x4c3b9f(0x13e),'unauthorized':_0x4c3b9f(0x15b),'sessionOccupied':_0x4c3b9f(0x144),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x4c3b9f(0x13d),'clickToConnect':_0x4c3b9f(0x13a),'clickToConfigure':_0x4c3b9f(0x150)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x4c3b9f(0x151),'apiKeyPlaceholder':_0x4c3b9f(0x155),'apiKeyHint':_0x4c3b9f(0x15a),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4c3b9f(0x134),'configStepTitle':_0x4c3b9f(0x139),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4c3b9f(0x142),'sessionIdDescription':_0x4c3b9f(0x12f),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x4c3b9f(0x14b),'maxRetries':'Max\x20Retries','save':_0x4c3b9f(0x136),'saving':'Saving...','note1':_0x4c3b9f(0x156),'note2':_0x4c3b9f(0x146),'configSaved':_0x4c3b9f(0x13b),'configError':_0x4c3b9f(0x157),'apiApplyInfo':{'title':_0x4c3b9f(0x14e),'description':_0x4c3b9f(0x149),'univerAiLabel':_0x4c3b9f(0x13c),'getStarted':_0x4c3b9f(0x158)},'validation':{'apiKeyRequired':_0x4c3b9f(0x132),'apiKeyTooShort':_0x4c3b9f(0x12c),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4c3b9f(0x12e)},'connectionStatus':{'disconnected':_0x4c3b9f(0x131),'connecting':_0x4c3b9f(0x13f),'connected':'Connected','failed':_0x4c3b9f(0x135),'retrying':_0x4c3b9f(0x143)},'connectionError':{'unauthorized':_0x4c3b9f(0x153),'sessionOccupied':_0x4c3b9f(0x14a),'networkError':_0x4c3b9f(0x138),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module[_0x4c3b9f(0x141)]=e;function _0x1c09(_0x3215a6,_0x5441d3){_0x3215a6=_0x3215a6-0x12c;const _0x11d390=_0x11d3();let _0x1c0933=_0x11d390[_0x3215a6];return _0x1c0933;}function _0x11d3(){const _0x2c00d8=['MCP\x20Connecting...','Enter\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Failed\x20to\x20save\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','1140754odVSzA','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Unauthorized','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','14foBDgy','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','885490sDCiLF','Disconnected','API\x20key\x20is\x20required','MCP\x20Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connection\x20Failed','Save\x20Configuration','10753740QPGBHI','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Steps:','Click\x20to\x20connect\x20MCP','Configuration\x20saved\x20successfully','Univer\x20AI\x20Console','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Unknown\x20Status','Connecting...','189311wVvirb','exports','Session\x20ID','Retrying...','MCP:\x20Session\x20ID\x20Occupied','2817570lFmsur','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1012821WRnxUs','MCP\x20Disconnected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Parameters:','MCP\x20Retrying...','10hDIfRY','What\x20is\x20API\x20Key?','8GzQtcB','Click\x20to\x20configure\x20MCP','API\x20Key','757808eLlXRH','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key'];_0x11d3=function(){return _0x2c00d8;};return _0x11d3();}
1
+ const _0x589761=_0x3957;(function(_0x1693d1,_0x3a3d46){const _0x2493c7=_0x3957,_0x7457c2=_0x1693d1();while(!![]){try{const _0x5e5e8e=parseInt(_0x2493c7(0x135))/0x1*(parseInt(_0x2493c7(0x138))/0x2)+parseInt(_0x2493c7(0x153))/0x3+parseInt(_0x2493c7(0x150))/0x4*(-parseInt(_0x2493c7(0x151))/0x5)+parseInt(_0x2493c7(0x13b))/0x6+parseInt(_0x2493c7(0x152))/0x7+-parseInt(_0x2493c7(0x145))/0x8*(-parseInt(_0x2493c7(0x15f))/0x9)+-parseInt(_0x2493c7(0x161))/0xa;if(_0x5e5e8e===_0x3a3d46)break;else _0x7457c2['push'](_0x7457c2['shift']());}catch(_0x3cb766){_0x7457c2['push'](_0x7457c2['shift']());}}}(_0xe7cb,0x1df45));const e={'mcpStatus':{'disconnected':_0x589761(0x159),'connecting':'MCP\x20Connecting...','connected':_0x589761(0x15d),'failed':_0x589761(0x155),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x589761(0x13f),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x589761(0x148),'clickToConnect':_0x589761(0x146),'clickToConfigure':_0x589761(0x149)},'mcpConfig':{'title':_0x589761(0x141),'description':_0x589761(0x162),'apiKey':_0x589761(0x14e),'apiKeyPlaceholder':_0x589761(0x15b),'apiKeyHint':_0x589761(0x143),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x589761(0x163),'connectionInfo':_0x589761(0x14f),'mcpClientConfig':_0x589761(0x14f),'configInstructions':_0x589761(0x14a),'configStepTitle':_0x589761(0x15a),'configStep1':_0x589761(0x140),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x589761(0x158),'sessionId':_0x589761(0x15c),'sessionIdDescription':_0x589761(0x139),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x589761(0x14d),'saving':'Saving...','note1':_0x589761(0x157),'note2':_0x589761(0x13d),'configSaved':_0x589761(0x160),'configError':_0x589761(0x13a),'apiApplyInfo':{'title':_0x589761(0x13c),'description':_0x589761(0x154),'univerAiLabel':_0x589761(0x142),'getStarted':_0x589761(0x15e)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x589761(0x147),'connecting':_0x589761(0x14b),'connected':_0x589761(0x144),'failed':_0x589761(0x13e),'retrying':_0x589761(0x14c)},'connectionError':{'unauthorized':_0x589761(0x156),'sessionOccupied':_0x589761(0x137),'networkError':_0x589761(0x136),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module[_0x589761(0x134)]=e;function _0x3957(_0x458e52,_0x2872ff){_0x458e52=_0x458e52-0x134;const _0xe7cb06=_0xe7cb();let _0x3957f9=_0xe7cb06[_0x458e52];return _0x3957f9;}function _0xe7cb(){const _0x140faa=['Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','6jccHxg','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Failed\x20to\x20save\x20configuration','737988uXaqYa','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connection\x20Failed','MCP:\x20Unauthorized','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Configuration','Univer\x20AI\x20Console','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connected','1336BtPzRr','Click\x20to\x20connect\x20MCP','Disconnected','MCP:\x20Max\x20Retries\x20Exceeded','Click\x20to\x20configure\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connecting...','Retrying...','Save\x20Configuration','API\x20Key','MCP\x20Client\x20Configuration','44feiyMO','25505hXhZgS','1190511hdwKgl','497700ceGUnx','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','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Disconnected','Configuration\x20Steps:','Enter\x20your\x20API\x20key','Session\x20ID','MCP\x20Connected','Get\x20your\x20API\x20key\x20in\x20seconds','351LVhNvx','Configuration\x20saved\x20successfully','4118070EUXwIE','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enable\x20authentication\x20for\x20secure\x20connections','exports','41709NkcvZl'];_0xe7cb=function(){return _0x140faa;};return _0xe7cb();}
@@ -1 +1 @@
1
- 'use strict';function _0x3fd9(){const _0x41f469=['MCP\x20Connection\x20Failed','Saving...','Configuration\x20Parameters:','3prENnd','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\x20Connecting...','Click\x20to\x20connect\x20MCP','API\x20key\x20is\x20required','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Unauthorized','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','3202724yoTIxW','24PpJETo','What\x20is\x20API\x20Key?','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Client\x20Configuration','6910839TZbalD','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','6958324JeegXl','MCP\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Session\x20ID\x20Occupied','3MkcHzd','13871930wWIIxd','Univer\x20AI\x20Console','Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','Session\x20ID','9717276kzYECQ','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','205702LIEVsL','Connection\x20Failed','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','Configuration\x20Steps:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Max\x20Retries','API\x20Key','Connected','2873375gxOuYq','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key'];_0x3fd9=function(){return _0x41f469;};return _0x3fd9();}const _0x461696=_0x35f1;(function(_0xa487e3,_0x3c0635){const _0xcab9be=_0x35f1,_0x1bb479=_0xa487e3();while(!![]){try{const _0x37a9f9=parseInt(_0xcab9be(0xd8))/0x1*(-parseInt(_0xcab9be(0xb3))/0x2)+-parseInt(_0xcab9be(0xc2))/0x3*(parseInt(_0xcab9be(0xd3))/0x4)+parseInt(_0xcab9be(0xbc))/0x5+parseInt(_0xcab9be(0xb1))/0x6+-parseInt(_0xcab9be(0xcb))/0x7*(-parseInt(_0xcab9be(0xcc))/0x8)+parseInt(_0xcab9be(0xd1))/0x9+-parseInt(_0xcab9be(0xd9))/0xa;if(_0x37a9f9===_0x3c0635)break;else _0x1bb479['push'](_0x1bb479['shift']());}catch(_0x217db7){_0x1bb479['push'](_0x1bb479['shift']());}}}(_0x3fd9,0xdb921));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x461696(0xc4),'connected':'MCP\x20Connected','failed':_0x461696(0xbf),'retrying':'MCP\x20Retrying...','unknown':_0x461696(0xb5),'unauthorized':_0x461696(0xc8),'sessionOccupied':_0x461696(0xd7),'networkError':_0x461696(0xb6),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x461696(0xc5),'clickToConfigure':_0x461696(0xc9)},'mcpConfig':{'title':_0x461696(0xd4),'description':_0x461696(0xb2),'apiKey':_0x461696(0xba),'apiKeyPlaceholder':_0x461696(0xbe),'apiKeyHint':_0x461696(0xca),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x461696(0xd5),'connectionInfo':_0x461696(0xd0),'mcpClientConfig':_0x461696(0xd0),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x461696(0xb7),'configStep1':_0x461696(0xaf),'configStep2':_0x461696(0xb8),'configStep3':_0x461696(0xd6),'sessionId':_0x461696(0xb0),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x461696(0xc1),'maxRetries':_0x461696(0xb9),'save':'Save\x20Configuration','saving':_0x461696(0xc0),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x461696(0xcd),'description':_0x461696(0xc3),'univerAiLabel':_0x461696(0xad),'getStarted':_0x461696(0xcf)},'validation':{'apiKeyRequired':_0x461696(0xc6),'apiKeyTooShort':_0x461696(0xbd),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x461696(0xce)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x461696(0xae),'connected':_0x461696(0xbb),'failed':_0x461696(0xb4),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x461696(0xd2),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x461696(0xc7),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x35f1(_0x5123b8,_0x1361f2){_0x5123b8=_0x5123b8-0xad;const _0x3fd921=_0x3fd9();let _0x35f1ff=_0x3fd921[_0x5123b8];return _0x35f1ff;}module['exports']=n;
1
+ const _0x59f420=_0x484b;(function(_0x150599,_0x1021ec){const _0xe953cf=_0x484b,_0xc9494f=_0x150599();while(!![]){try{const _0x277003=-parseInt(_0xe953cf(0xd4))/0x1*(parseInt(_0xe953cf(0xf3))/0x2)+-parseInt(_0xe953cf(0xf5))/0x3+parseInt(_0xe953cf(0xe3))/0x4*(-parseInt(_0xe953cf(0xec))/0x5)+-parseInt(_0xe953cf(0xfc))/0x6*(-parseInt(_0xe953cf(0xf4))/0x7)+-parseInt(_0xe953cf(0xdd))/0x8*(parseInt(_0xe953cf(0xd6))/0x9)+-parseInt(_0xe953cf(0xdc))/0xa+parseInt(_0xe953cf(0xcf))/0xb;if(_0x277003===_0x1021ec)break;else _0xc9494f['push'](_0xc9494f['shift']());}catch(_0x20feda){_0xc9494f['push'](_0xc9494f['shift']());}}}(_0x2d32,0x6ecc0));const e={'mcpStatus':{'disconnected':_0x59f420(0xf8),'connecting':_0x59f420(0xfd),'connected':_0x59f420(0xd9),'failed':_0x59f420(0xe9),'retrying':_0x59f420(0x100),'unknown':_0x59f420(0xd3),'unauthorized':_0x59f420(0xea),'sessionOccupied':_0x59f420(0xfb),'networkError':_0x59f420(0xef),'maxRetriesExceeded':_0x59f420(0xde),'clickToConnect':_0x59f420(0xfa),'clickToConfigure':_0x59f420(0xd7)},'mcpConfig':{'title':_0x59f420(0xee),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x59f420(0xcd),'enableAuth':_0x59f420(0xf0),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x59f420(0xff),'configInstructions':_0x59f420(0xd2),'configStepTitle':_0x59f420(0xdf),'configStep1':_0x59f420(0xd0),'configStep2':_0x59f420(0xcb),'configStep3':_0x59f420(0xce),'sessionId':_0x59f420(0xd5),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x59f420(0xf2),'configParameters':_0x59f420(0xe1),'maxRetries':_0x59f420(0xcc),'save':_0x59f420(0xe7),'saving':_0x59f420(0xf1),'note1':_0x59f420(0xe2),'note2':_0x59f420(0xe6),'configSaved':_0x59f420(0xe0),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x59f420(0xd1),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x59f420(0xe8)},'validation':{'apiKeyRequired':_0x59f420(0xf6),'apiKeyTooShort':_0x59f420(0xfe),'invalidConfig':_0x59f420(0xda),'invalidApiKey':_0x59f420(0xe5)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x59f420(0xd8),'connected':'Connected','failed':_0x59f420(0xed),'retrying':_0x59f420(0xf9)},'connectionError':{'unauthorized':_0x59f420(0xdb),'sessionOccupied':_0x59f420(0xe4),'networkError':_0x59f420(0xeb),'maxRetriesExceeded':_0x59f420(0xf7)}}};function _0x2d32(){const _0x378d89=['Copy\x20the\x20JSON\x20configuration\x20below','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\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Unknown\x20Status','5109fCkfHQ','Session\x20ID','468meNXHS','Click\x20to\x20configure\x20MCP','Connecting...','MCP\x20Connected','Invalid\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','7110280pBXkRO','37600cshATh','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Steps:','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','2036JqSitd','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Save\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','MCP:\x20Unauthorized','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','740LuCVaj','Connection\x20Failed','MCP\x20Configuration','MCP:\x20Network\x20Error','Enable\x20Authentication','Saving...','API\x20key\x20with\x20Bearer\x20prefix.','82mhEFak','203dQMrdn','1427778XBQKWR','API\x20key\x20is\x20required','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Disconnected','Retrying...','Click\x20to\x20connect\x20MCP','MCP:\x20Session\x20ID\x20Occupied','87294GWposL','MCP\x20Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Client\x20Configuration','MCP\x20Retrying...','exports','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Max\x20Retries','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','19228638jgPmTS'];_0x2d32=function(){return _0x378d89;};return _0x2d32();}function _0x484b(_0x18c2c8,_0x475640){_0x18c2c8=_0x18c2c8-0xca;const _0x2d3284=_0x2d32();let _0x484b5c=_0x2d3284[_0x18c2c8];return _0x484b5c;}module[_0x59f420(0xca)]=e;
@@ -1 +1 @@
1
- 'use strict';function _0x3039(){const _0x716c62=['307608ilEwsR','3172wRqZwC','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','8JEGRLF','MCP\x20Connected','9947pBpqCK','Configuration\x20Parameters:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enable\x20authentication\x20for\x20secure\x20connections','506dznTkP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Steps:','32CYAtXp','MCP\x20Connection\x20Failed','804usrydr','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','Max\x20Retries','Session\x20ID','228537hqBvoQ','Configuration\x20saved\x20successfully','Copy\x20the\x20JSON\x20configuration\x20below','Click\x20to\x20connect\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connecting...','MCP\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Unknown\x20Status','Connecting...','Retrying...','MCP:\x20Network\x20Error','What\x20is\x20API\x20Key?','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Client\x20Configuration','exports','Click\x20to\x20configure\x20MCP','API\x20Key','1308950ZeWUfv','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.','Saving...','Connection\x20Failed','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','138657uSzmET','127jWPdpb','Univer\x20AI\x20Console','MCP:\x20Max\x20Retries\x20Exceeded','3913220WoECLK'];_0x3039=function(){return _0x716c62;};return _0x3039();}const _0x348b5c=_0x5c29;(function(_0x3b3929,_0x18dfe8){const _0x191012=_0x5c29,_0x49c5f6=_0x3b3929();while(!![]){try{const _0x4cfa30=parseInt(_0x191012(0x18b))/0x1*(-parseInt(_0x191012(0x190))/0x2)+parseInt(_0x191012(0x18a))/0x3*(-parseInt(_0x191012(0x19c))/0x4)+parseInt(_0x191012(0x184))/0x5+parseInt(_0x191012(0x19e))/0x6*(-parseInt(_0x191012(0x194))/0x7)+parseInt(_0x191012(0x192))/0x8*(-parseInt(_0x191012(0x1a3))/0x9)+-parseInt(_0x191012(0x18e))/0xa+-parseInt(_0x191012(0x198))/0xb*(-parseInt(_0x191012(0x18f))/0xc);if(_0x4cfa30===_0x18dfe8)break;else _0x49c5f6['push'](_0x49c5f6['shift']());}catch(_0x1f4b1d){_0x49c5f6['push'](_0x49c5f6['shift']());}}}(_0x3039,0x401fb));function _0x5c29(_0x4ff682,_0x31fdad){_0x4ff682=_0x4ff682-0x177;const _0x303996=_0x3039();let _0x5c2900=_0x303996[_0x4ff682];return _0x5c2900;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x348b5c(0x177),'connected':_0x348b5c(0x193),'failed':_0x348b5c(0x19d),'retrying':_0x348b5c(0x1a0),'unknown':_0x348b5c(0x17a),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x348b5c(0x17f),'networkError':_0x348b5c(0x17d),'maxRetriesExceeded':_0x348b5c(0x18d),'clickToConnect':_0x348b5c(0x1a6),'clickToConfigure':_0x348b5c(0x182)},'mcpConfig':{'title':_0x348b5c(0x178),'description':_0x348b5c(0x179),'apiKey':_0x348b5c(0x183),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x348b5c(0x197),'connectionInfo':_0x348b5c(0x180),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x348b5c(0x1a8),'configStepTitle':_0x348b5c(0x19b),'configStep1':_0x348b5c(0x1a5),'configStep2':_0x348b5c(0x191),'configStep3':_0x348b5c(0x19a),'sessionId':_0x348b5c(0x1a2),'sessionIdDescription':_0x348b5c(0x1a7),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x348b5c(0x195),'maxRetries':_0x348b5c(0x1a1),'save':'Save\x20Configuration','saving':_0x348b5c(0x187),'note1':_0x348b5c(0x199),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x348b5c(0x1a4),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x348b5c(0x17e),'description':_0x348b5c(0x186),'univerAiLabel':_0x348b5c(0x18c),'getStarted':_0x348b5c(0x19f)},'validation':{'apiKeyRequired':_0x348b5c(0x185),'apiKeyTooShort':_0x348b5c(0x196),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x348b5c(0x17b),'connected':'Connected','failed':_0x348b5c(0x188),'retrying':_0x348b5c(0x17c)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x348b5c(0x189),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x348b5c(0x181)]=n;
1
+ const _0x30791f=_0x17cf;(function(_0x2d3b53,_0x45aa74){const _0x558f7a=_0x17cf,_0x3258ca=_0x2d3b53();while(!![]){try{const _0x4f79c0=parseInt(_0x558f7a(0x1e2))/0x1+-parseInt(_0x558f7a(0x1d6))/0x2*(parseInt(_0x558f7a(0x1ee))/0x3)+parseInt(_0x558f7a(0x1f2))/0x4+parseInt(_0x558f7a(0x1ed))/0x5+-parseInt(_0x558f7a(0x1e7))/0x6*(-parseInt(_0x558f7a(0x1c5))/0x7)+-parseInt(_0x558f7a(0x1cf))/0x8+-parseInt(_0x558f7a(0x1e1))/0x9*(parseInt(_0x558f7a(0x1d1))/0xa);if(_0x4f79c0===_0x45aa74)break;else _0x3258ca['push'](_0x3258ca['shift']());}catch(_0x245491){_0x3258ca['push'](_0x3258ca['shift']());}}}(_0x2fbc,0x97512));function _0x2fbc(){const _0x55bd10=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Configuration','Session\x20ID','Click\x20to\x20connect\x20MCP','What\x20is\x20API\x20Key?','Max\x20Retries','Invalid\x20configuration','6244236YaaSBk','1104700PwITYb','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20is\x20required','MCP\x20Connection\x20Failed','Configuration\x20saved\x20successfully','4170BNWcby','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Unknown\x20Status','MCP\x20Client\x20Configuration','Enter\x20your\x20API\x20key','6011460mOvHex','1313031eeqgvm','Saving...','Save\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','4295220FbAFkO','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Retrying...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Network\x20Error','7623etbqca','Enable\x20Authentication','Click\x20to\x20configure\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','MCP\x20Disconnected','Connected','exports','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','7990152JwbZtb','Configuration\x20Parameters:','30dhHyyT','API\x20key\x20with\x20Bearer\x20prefix.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','Univer\x20AI\x20Console','2JqDRii','Configuration\x20Steps:'];_0x2fbc=function(){return _0x55bd10;};return _0x2fbc();}function _0x17cf(_0x346034,_0x525124){_0x346034=_0x346034-0x1c5;const _0x2fbc10=_0x2fbc();let _0x17cf2a=_0x2fbc10[_0x346034];return _0x17cf2a;}const e={'mcpStatus':{'disconnected':_0x30791f(0x1cb),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x30791f(0x1e5),'retrying':'MCP\x20Retrying...','unknown':_0x30791f(0x1ea),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x30791f(0x1f6),'maxRetriesExceeded':_0x30791f(0x1e9),'clickToConnect':_0x30791f(0x1dd),'clickToConfigure':_0x30791f(0x1c7)},'mcpConfig':{'title':_0x30791f(0x1db),'description':_0x30791f(0x1d8),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x30791f(0x1ec),'apiKeyHint':_0x30791f(0x1da),'enableAuth':_0x30791f(0x1c6),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x30791f(0x1eb),'mcpClientConfig':_0x30791f(0x1eb),'configInstructions':_0x30791f(0x1c8),'configStepTitle':_0x30791f(0x1d7),'configStep1':_0x30791f(0x1e8),'configStep2':_0x30791f(0x1d9),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x30791f(0x1dc),'sessionIdDescription':_0x30791f(0x1f5),'authorizationDescription':_0x30791f(0x1d2),'configParameters':_0x30791f(0x1d0),'maxRetries':_0x30791f(0x1df),'save':_0x30791f(0x1f0),'saving':_0x30791f(0x1ef),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x30791f(0x1e3),'configSaved':_0x30791f(0x1e6),'configError':_0x30791f(0x1ca),'apiApplyInfo':{'title':_0x30791f(0x1de),'description':_0x30791f(0x1f3),'univerAiLabel':_0x30791f(0x1d5),'getStarted':_0x30791f(0x1f1)},'validation':{'apiKeyRequired':_0x30791f(0x1e4),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x30791f(0x1e0),'invalidApiKey':_0x30791f(0x1d3)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x30791f(0x1cc),'failed':_0x30791f(0x1d4),'retrying':_0x30791f(0x1f4)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x30791f(0x1c9),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x30791f(0x1ce)}}};module[_0x30791f(0x1cd)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x33a6d8=_0x1f03;(function(_0x5b9a35,_0xe3e33a){const _0x4c6262=_0x1f03,_0xaf6a48=_0x5b9a35();while(!![]){try{const _0x1f78e5=parseInt(_0x4c6262(0x1b3))/0x1+-parseInt(_0x4c6262(0x1b6))/0x2*(parseInt(_0x4c6262(0x1a2))/0x3)+-parseInt(_0x4c6262(0x19a))/0x4*(-parseInt(_0x4c6262(0x1aa))/0x5)+parseInt(_0x4c6262(0x1b7))/0x6*(parseInt(_0x4c6262(0x1be))/0x7)+parseInt(_0x4c6262(0x1ac))/0x8+parseInt(_0x4c6262(0x1b0))/0x9*(-parseInt(_0x4c6262(0x1ae))/0xa)+parseInt(_0x4c6262(0x198))/0xb*(-parseInt(_0x4c6262(0x1bc))/0xc);if(_0x1f78e5===_0xe3e33a)break;else _0xaf6a48['push'](_0xaf6a48['shift']());}catch(_0x14ec8e){_0xaf6a48['push'](_0xaf6a48['shift']());}}}(_0x205a,0x516b5));function _0x1f03(_0x201e7d,_0x2ad249){_0x201e7d=_0x201e7d-0x191;const _0x205a89=_0x205a();let _0x1f03d8=_0x205a89[_0x201e7d];return _0x1f03d8;}const e={'mcpStatus':{'disconnected':_0x33a6d8(0x1ba),'connecting':_0x33a6d8(0x1c1),'connected':_0x33a6d8(0x1af),'failed':_0x33a6d8(0x1c0),'retrying':_0x33a6d8(0x19f),'unknown':_0x33a6d8(0x1a7),'unauthorized':_0x33a6d8(0x1b9),'sessionOccupied':_0x33a6d8(0x19e),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x33a6d8(0x19d),'clickToConfigure':_0x33a6d8(0x1a6)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x33a6d8(0x1bf),'apiKey':_0x33a6d8(0x1b5),'apiKeyPlaceholder':_0x33a6d8(0x1c3),'apiKeyHint':_0x33a6d8(0x194),'enableAuth':_0x33a6d8(0x1bd),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x33a6d8(0x1a5),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x33a6d8(0x192),'configStep1':_0x33a6d8(0x1ab),'configStep2':_0x33a6d8(0x1a8),'configStep3':_0x33a6d8(0x1b1),'sessionId':_0x33a6d8(0x1a4),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x33a6d8(0x1b8),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x33a6d8(0x1ad),'saving':_0x33a6d8(0x1a9),'note1':_0x33a6d8(0x195),'note2':_0x33a6d8(0x199),'configSaved':_0x33a6d8(0x1a3),'configError':_0x33a6d8(0x1b4),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x33a6d8(0x1b2),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x33a6d8(0x1a1),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x33a6d8(0x1c2)},'connectionStatus':{'disconnected':_0x33a6d8(0x193),'connecting':'Connecting...','connected':_0x33a6d8(0x197),'failed':'Connection\x20Failed','retrying':_0x33a6d8(0x19b)},'connectionError':{'unauthorized':_0x33a6d8(0x19c),'sessionOccupied':_0x33a6d8(0x191),'networkError':_0x33a6d8(0x196),'maxRetriesExceeded':_0x33a6d8(0x1a0)}}},n=e;function _0x205a(){const _0x29a4bf=['API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','273037kqYOlG','Failed\x20to\x20save\x20configuration','API\x20Key','2dvguAw','2358EAHbvI','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Unauthorized','MCP\x20Disconnected','exports','114516yqhmTr','Enable\x20Authentication','10458OIcQVr','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connection\x20Failed','MCP\x20Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enter\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:','Disconnected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connected','572GbgsEz','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','156912lqXedr','Retrying...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Click\x20to\x20connect\x20MCP','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','66603ZpePbo','Configuration\x20saved\x20successfully','Session\x20ID','MCP\x20Client\x20Configuration','Click\x20to\x20configure\x20MCP','MCP\x20Unknown\x20Status','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Saving...','35FopQAx','Copy\x20the\x20JSON\x20configuration\x20below','933216HdNcJK','Save\x20Configuration','570710ZgYPuS','MCP\x20Connected','63IffjQU','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration'];_0x205a=function(){return _0x29a4bf;};return _0x205a();}module[_0x33a6d8(0x1bb)]=n;
1
+ function _0x28b5(_0x3c4ced,_0x338014){_0x3c4ced=_0x3c4ced-0xf1;const _0x22d258=_0x22d2();let _0x28b561=_0x22d258[_0x3c4ced];return _0x28b561;}const _0x55cc17=_0x28b5;(function(_0x4d0862,_0xa3caf6){const _0x64254f=_0x28b5,_0x5a6bd9=_0x4d0862();while(!![]){try{const _0xc80889=parseInt(_0x64254f(0x119))/0x1*(-parseInt(_0x64254f(0xf1))/0x2)+-parseInt(_0x64254f(0xf6))/0x3+-parseInt(_0x64254f(0x11c))/0x4*(-parseInt(_0x64254f(0x10a))/0x5)+parseInt(_0x64254f(0x11f))/0x6+parseInt(_0x64254f(0x112))/0x7*(-parseInt(_0x64254f(0x10f))/0x8)+-parseInt(_0x64254f(0x118))/0x9*(parseInt(_0x64254f(0x101))/0xa)+parseInt(_0x64254f(0x115))/0xb*(parseInt(_0x64254f(0x10c))/0xc);if(_0xc80889===_0xa3caf6)break;else _0x5a6bd9['push'](_0x5a6bd9['shift']());}catch(_0x1bacd4){_0x5a6bd9['push'](_0x5a6bd9['shift']());}}}(_0x22d2,0xb051c));function _0x22d2(){const _0x4933b8=['Max\x20Retries','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20saved\x20successfully','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connected','9440SLGjch','MCP\x20Disconnected','72180HvsipZ','Invalid\x20configuration','MCP\x20Unknown\x20Status','72fzXAPa','API\x20key\x20with\x20Bearer\x20prefix.','Retrying...','14623XBSaaU','Univer\x20AI\x20Console','API\x20Key','4422kwksxU','MCP:\x20Unauthorized','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1296783YwEdxR','1CYGKQE','exports','Configuration\x20Steps:','1888wCYKqn','Click\x20to\x20connect\x20MCP','What\x20is\x20API\x20Key?','157440JfIxLx','MCP\x20Connected','Saving...','Enter\x20your\x20API\x20key','MCP\x20Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','439748QqQpVh','Enable\x20Authentication','Copy\x20the\x20JSON\x20configuration\x20below','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20is\x20required','2800971iSAxDH','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session\x20ID','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20configure\x20MCP','MCP\x20Client\x20Configuration','Connecting...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Network\x20Error','MCP\x20Retrying...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','100CSWCVQ','Disconnected'];_0x22d2=function(){return _0x4933b8;};return _0x22d2();}const e={'mcpStatus':{'disconnected':_0x55cc17(0x10b),'connecting':_0x55cc17(0x123),'connected':_0x55cc17(0x120),'failed':'MCP\x20Connection\x20Failed','retrying':_0x55cc17(0xff),'unknown':_0x55cc17(0x10e),'unauthorized':_0x55cc17(0x116),'sessionOccupied':_0x55cc17(0x104),'networkError':_0x55cc17(0xfe),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x55cc17(0x11d),'clickToConfigure':_0x55cc17(0xfa)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x55cc17(0x114),'apiKeyPlaceholder':_0x55cc17(0x122),'apiKeyHint':_0x55cc17(0xf9),'enableAuth':_0x55cc17(0xf2),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x55cc17(0xfb),'mcpClientConfig':_0x55cc17(0xfb),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x55cc17(0x11b),'configStep1':_0x55cc17(0xf3),'configStep2':_0x55cc17(0x108),'configStep3':_0x55cc17(0xfd),'sessionId':_0x55cc17(0xf8),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x55cc17(0x110),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x55cc17(0x103),'save':'Save\x20Configuration','saving':_0x55cc17(0x121),'note1':_0x55cc17(0xf7),'note2':_0x55cc17(0x117),'configSaved':_0x55cc17(0x105),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x55cc17(0x11e),'description':_0x55cc17(0x124),'univerAiLabel':_0x55cc17(0x113),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x55cc17(0xf5),'apiKeyTooShort':_0x55cc17(0x107),'invalidConfig':_0x55cc17(0x10d),'invalidApiKey':_0x55cc17(0x100)},'connectionStatus':{'disconnected':_0x55cc17(0x102),'connecting':_0x55cc17(0xfc),'connected':_0x55cc17(0x109),'failed':'Connection\x20Failed','retrying':_0x55cc17(0x111)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x55cc17(0x106),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x55cc17(0xf4)}}};module[_0x55cc17(0x11a)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x42d458=_0x3911;(function(_0x54d282,_0x42ea13){const _0x21cb00=_0x3911,_0x24702e=_0x54d282();while(!![]){try{const _0x3fc131=parseInt(_0x21cb00(0xb9))/0x1*(parseInt(_0x21cb00(0x9f))/0x2)+parseInt(_0x21cb00(0x96))/0x3+-parseInt(_0x21cb00(0xb6))/0x4+parseInt(_0x21cb00(0x9d))/0x5*(-parseInt(_0x21cb00(0x94))/0x6)+parseInt(_0x21cb00(0x98))/0x7+parseInt(_0x21cb00(0xb0))/0x8+parseInt(_0x21cb00(0xa9))/0x9*(-parseInt(_0x21cb00(0x8e))/0xa);if(_0x3fc131===_0x42ea13)break;else _0x24702e['push'](_0x24702e['shift']());}catch(_0x1995c1){_0x24702e['push'](_0x24702e['shift']());}}}(_0x3120,0xd0192));const e={'mcpStatus':{'disconnected':_0x42d458(0xbb),'connecting':_0x42d458(0xad),'connected':'MCP\x20接続済み','failed':_0x42d458(0x93),'retrying':_0x42d458(0x9c),'unknown':_0x42d458(0x92),'unauthorized':_0x42d458(0x9a),'sessionOccupied':_0x42d458(0x9b),'networkError':_0x42d458(0xba),'maxRetriesExceeded':_0x42d458(0xbe),'clickToConnect':_0x42d458(0x8d),'clickToConfigure':_0x42d458(0x91)},'mcpConfig':{'title':_0x42d458(0xb1),'description':_0x42d458(0xb4),'apiKey':_0x42d458(0xa5),'apiKeyPlaceholder':_0x42d458(0xae),'apiKeyHint':_0x42d458(0xb2),'enableAuth':_0x42d458(0x99),'enableAuthHint':_0x42d458(0xa1),'connectionInfo':_0x42d458(0x8c),'mcpClientConfig':_0x42d458(0x8c),'configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':_0x42d458(0xb7),'configStep1':_0x42d458(0xa3),'configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':_0x42d458(0xa7),'sessionId':_0x42d458(0xb8),'sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':_0x42d458(0xaa),'configParameters':_0x42d458(0x97),'maxRetries':_0x42d458(0xa2),'save':_0x42d458(0x9e),'saving':_0x42d458(0x95),'note1':'設定の変更は直ちに有効になります','note2':_0x42d458(0xb3),'configSaved':'設定が正常に保存されました','configError':_0x42d458(0xa4),'apiApplyInfo':{'title':_0x42d458(0xb5),'description':'APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','univerAiLabel':'Univer\x20AIコンソール','getStarted':_0x42d458(0xbd)},'validation':{'apiKeyRequired':_0x42d458(0xa8),'apiKeyTooShort':_0x42d458(0xbc),'invalidConfig':'無効な設定','invalidApiKey':_0x42d458(0xab)},'connectionStatus':{'disconnected':'未接続','connecting':'接続中...','connected':_0x42d458(0xa0),'failed':_0x42d458(0xa6),'retrying':_0x42d458(0xaf)},'connectionError':{'unauthorized':_0x42d458(0xac),'sessionOccupied':_0x42d458(0x8f),'networkError':_0x42d458(0x90),'maxRetriesExceeded':_0x42d458(0x8b)}}};function _0x3911(_0x59cc42,_0x51f942){_0x59cc42=_0x59cc42-0x8b;const _0x3120fd=_0x3120();let _0x391188=_0x3120fd[_0x59cc42];return _0x391188;}module['exports']=e;function _0x3120(){const _0x2fc2d7=['以下のJSON設定をコピー','設定の保存に失敗しました','APIキー','接続失敗','MCPクライアントを再起動して設定を適用','APIキーは必須です','342693oZHqZo','Bearerプレフィックス付きのAPIキー。','無効なAPIキーです。キーが正しいか確認してください','認証に失敗しました。APIキーを確認してください','MCP\x20接続中...','APIキーを入力してください','再試行中...','7932096SkwDaJ','MCP設定','APIキーはこのブラウザのローカルに保存されます','APIキーはローカルストレージに安全に保存されます','MCPを設定してAIでスプレッドシートを操作','APIキーとは?','3905208hOuiGb','設定手順:','セッションID','2WhneRw','MCP:\x20ネットワークエラー','MCP\x20未接続','APIキーは10文字以上である必要があります','数秒でAPIキーを取得','MCP:\x20最大再試行回数を超過','最大再試行回数を超過しました。後でもう一度お試しください','MCPクライアント設定','クリックしてMCPに接続','430aRqYsE','セッションIDが現在使用中です。後でもう一度お試しください','ネットワーク接続エラー。インターネット接続を確認してください','クリックしてMCPを設定','MCP\x20不明な状態','MCP\x20接続失敗','6QKvIkA','保存中...','2289756eYQnIO','設定パラメータ:','8759842kcImYA','認証を有効にする','MCP:\x20認証されていません','MCP:\x20セッションIDが使用中','MCP\x20再試行中...','4872755GdKrDB','設定を保存','1434364NrUBtm','接続済み','セキュアな接続のために認証を有効にする','最大再試行回数'];_0x3120=function(){return _0x2fc2d7;};return _0x3120();}
1
+ const _0x1daa31=_0x1aa7;(function(_0x3bc970,_0x1fd42a){const _0x1d12ec=_0x1aa7,_0x23ff99=_0x3bc970();while(!![]){try{const _0x9fc049=parseInt(_0x1d12ec(0x129))/0x1+-parseInt(_0x1d12ec(0x118))/0x2+parseInt(_0x1d12ec(0x115))/0x3*(-parseInt(_0x1d12ec(0x124))/0x4)+-parseInt(_0x1d12ec(0x113))/0x5+-parseInt(_0x1d12ec(0x141))/0x6*(parseInt(_0x1d12ec(0x116))/0x7)+-parseInt(_0x1d12ec(0x128))/0x8*(parseInt(_0x1d12ec(0x119))/0x9)+-parseInt(_0x1d12ec(0x122))/0xa*(-parseInt(_0x1d12ec(0x13b))/0xb);if(_0x9fc049===_0x1fd42a)break;else _0x23ff99['push'](_0x23ff99['shift']());}catch(_0x4330a5){_0x23ff99['push'](_0x23ff99['shift']());}}}(_0x5e59,0x590b3));function _0x5e59(){const _0x47e18e=['49vbQTkk','APIキー','99406IBZxSB','9MjYKbk','Univer\x20AIコンソール','APIキーを入力してください','MCP\x20再試行中...','MCP:\x20セッションIDが使用中','最大再試行回数を超過しました。後でもう一度お試しください','exports','MCP\x20接続済み','設定の変更は直ちに有効になります','10APieWm','MCPクライアント設定','372BCjJGj','MCPクライアントの設定ファイルに設定を追加','設定を保存','認証を有効にする','3841128mLZPwb','431515RqEOzN','MCP:\x20認証されていません','セッションIDが現在使用中です。後でもう一度お試しください','APIキーとは?','ネットワーク接続エラー。インターネット接続を確認してください','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','未接続','Bearerプレフィックス付きのAPIキー。','接続失敗','数秒でAPIキーを取得','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','接続中...','APIキーは10文字以上である必要があります','APIキーは必須です','MCPクライアントを再起動して設定を適用','セッションID','接続済み','クリックしてMCPを設定','10923011LiSLvX','無効な設定','設定パラメータ:','MCP\x20未接続','クリックしてMCPに接続','MCPを設定してAIでスプレッドシートを操作','100962WIxRoM','設定の保存に失敗しました','無効なAPIキーです。キーが正しいか確認してください','認証に失敗しました。APIキーを確認してください','MCP設定','1359115gpnqKT','セキュアな接続のために認証を有効にする','4527vpadWZ'];_0x5e59=function(){return _0x47e18e;};return _0x5e59();}const e={'mcpStatus':{'disconnected':_0x1daa31(0x13e),'connecting':'MCP\x20接続中...','connected':_0x1daa31(0x120),'failed':'MCP\x20接続失敗','retrying':_0x1daa31(0x11c),'unknown':'MCP\x20不明な状態','unauthorized':_0x1daa31(0x12a),'sessionOccupied':_0x1daa31(0x11d),'networkError':'MCP:\x20ネットワークエラー','maxRetriesExceeded':'MCP:\x20最大再試行回数を超過','clickToConnect':_0x1daa31(0x13f),'clickToConfigure':_0x1daa31(0x13a)},'mcpConfig':{'title':_0x1daa31(0x112),'description':_0x1daa31(0x140),'apiKey':_0x1daa31(0x117),'apiKeyPlaceholder':_0x1daa31(0x11b),'apiKeyHint':'APIキーはこのブラウザのローカルに保存されます','enableAuth':_0x1daa31(0x127),'enableAuthHint':_0x1daa31(0x114),'connectionInfo':_0x1daa31(0x123),'mcpClientConfig':'MCPクライアント設定','configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':'設定手順:','configStep1':'以下のJSON設定をコピー','configStep2':_0x1daa31(0x125),'configStep3':_0x1daa31(0x137),'sessionId':_0x1daa31(0x138),'sessionIdDescription':_0x1daa31(0x12e),'authorizationDescription':_0x1daa31(0x130),'configParameters':_0x1daa31(0x13d),'maxRetries':'最大再試行回数','save':_0x1daa31(0x126),'saving':'保存中...','note1':_0x1daa31(0x121),'note2':'APIキーはローカルストレージに安全に保存されます','configSaved':'設定が正常に保存されました','configError':_0x1daa31(0x10f),'apiApplyInfo':{'title':_0x1daa31(0x12c),'description':_0x1daa31(0x133),'univerAiLabel':_0x1daa31(0x11a),'getStarted':_0x1daa31(0x132)},'validation':{'apiKeyRequired':_0x1daa31(0x136),'apiKeyTooShort':_0x1daa31(0x135),'invalidConfig':_0x1daa31(0x13c),'invalidApiKey':_0x1daa31(0x110)},'connectionStatus':{'disconnected':_0x1daa31(0x12f),'connecting':_0x1daa31(0x134),'connected':_0x1daa31(0x139),'failed':_0x1daa31(0x131),'retrying':'再試行中...'},'connectionError':{'unauthorized':_0x1daa31(0x111),'sessionOccupied':_0x1daa31(0x12b),'networkError':_0x1daa31(0x12d),'maxRetriesExceeded':_0x1daa31(0x11e)}}};function _0x1aa7(_0x36e571,_0x5c0662){_0x36e571=_0x36e571-0x10f;const _0x5e5947=_0x5e59();let _0x1aa723=_0x5e5947[_0x36e571];return _0x1aa723;}module[_0x1daa31(0x11f)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x7f8deb=_0x3f31;(function(_0x17e5f2,_0x77bb5b){const _0x568463=_0x3f31,_0x4e7e74=_0x17e5f2();while(!![]){try{const _0x2d22ac=-parseInt(_0x568463(0x17b))/0x1*(-parseInt(_0x568463(0x1a6))/0x2)+parseInt(_0x568463(0x198))/0x3+-parseInt(_0x568463(0x1ac))/0x4*(parseInt(_0x568463(0x186))/0x5)+parseInt(_0x568463(0x1ad))/0x6+-parseInt(_0x568463(0x1a0))/0x7+parseInt(_0x568463(0x18e))/0x8+parseInt(_0x568463(0x181))/0x9*(-parseInt(_0x568463(0x19f))/0xa);if(_0x2d22ac===_0x77bb5b)break;else _0x4e7e74['push'](_0x4e7e74['shift']());}catch(_0x4012db){_0x4e7e74['push'](_0x4e7e74['shift']());}}}(_0x351b,0xa5d18));function _0x351b(){const _0x51366a=['클릭하여\x20MCP\x20설정','유효하지\x20않은\x20설정','API\x20키','MCP\x20연결됨','연결\x20중...','5568336vwuxDQ','Bearer\x20접두사가\x20있는\x20API\x20키.','Univer\x20AI\x20콘솔','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','재시도\x20중...','최대\x20재시도\x20횟수','MCP\x20알\x20수\x20없는\x20상태','세션\x20ID','MCP\x20연결\x20실패','인증\x20활성화','3526050yLPKYX','설정\x20매개변수:','클릭하여\x20MCP\x20연결','MCP\x20설정','API\x20키란\x20무엇인가요?','API\x20키를\x20입력하세요','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','10QbmqrO','3305841cOwpPb','MCP\x20연결\x20중...','설정\x20단계:','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','671458zfTPDU','MCP\x20연결\x20끊김','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','연결\x20끊김','몇\x20초\x20만에\x20API\x20키\x20발급받기','저장\x20중...','4FzDFWC','2180628egXVfG','API\x20키는\x20필수입니다','1PvUmGI','설정\x20저장','MCP:\x20최대\x20재시도\x20횟수\x20초과','API\x20키는\x2010자\x20이상이어야\x20합니다','MCP\x20재시도\x20중...','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','12707631PtpFOG','설정\x20저장\x20실패','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','35725HvYbYu','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','MCP\x20클라이언트\x20설정'];_0x351b=function(){return _0x51366a;};return _0x351b();}function _0x3f31(_0x38b9af,_0x500bdb){_0x38b9af=_0x38b9af-0x17a;const _0x351bfb=_0x351b();let _0x3f319e=_0x351bfb[_0x38b9af];return _0x3f319e;}const e={'mcpStatus':{'disconnected':_0x7f8deb(0x1a7),'connecting':_0x7f8deb(0x1a1),'connected':_0x7f8deb(0x18c),'failed':_0x7f8deb(0x196),'retrying':_0x7f8deb(0x17f),'unknown':_0x7f8deb(0x194),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':'MCP:\x20세션\x20ID\x20사용\x20','networkError':'MCP:\x20네트워크\x20오류','maxRetriesExceeded':_0x7f8deb(0x17d),'clickToConnect':_0x7f8deb(0x19a),'clickToConfigure':_0x7f8deb(0x189)},'mcpConfig':{'title':_0x7f8deb(0x19b),'description':_0x7f8deb(0x19e),'apiKey':_0x7f8deb(0x18b),'apiKeyPlaceholder':_0x7f8deb(0x19d),'apiKeyHint':_0x7f8deb(0x1a8),'enableAuth':_0x7f8deb(0x197),'enableAuthHint':'보안\x20연결을\x20위해\x20인증\x20활성화','connectionInfo':_0x7f8deb(0x188),'mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':_0x7f8deb(0x191),'configStepTitle':_0x7f8deb(0x1a2),'configStep1':'아래\x20JSON\x20설정\x20복사','configStep2':_0x7f8deb(0x1a4),'configStep3':'MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','sessionId':_0x7f8deb(0x195),'sessionIdDescription':_0x7f8deb(0x1a3),'authorizationDescription':_0x7f8deb(0x18f),'configParameters':_0x7f8deb(0x199),'maxRetries':_0x7f8deb(0x193),'save':_0x7f8deb(0x17c),'saving':_0x7f8deb(0x1ab),'note1':'설정\x20변경\x20사항은\x20즉시\x20적용됩니다','note2':_0x7f8deb(0x184),'configSaved':'설정이\x20성공적으로\x20저장되었습니다','configError':_0x7f8deb(0x182),'apiApplyInfo':{'title':_0x7f8deb(0x19c),'description':_0x7f8deb(0x180),'univerAiLabel':_0x7f8deb(0x190),'getStarted':_0x7f8deb(0x1aa)},'validation':{'apiKeyRequired':_0x7f8deb(0x17a),'apiKeyTooShort':_0x7f8deb(0x17e),'invalidConfig':_0x7f8deb(0x18a),'invalidApiKey':_0x7f8deb(0x187)},'connectionStatus':{'disconnected':_0x7f8deb(0x1a9),'connecting':_0x7f8deb(0x18d),'connected':'연결됨','failed':'연결\x20실패','retrying':_0x7f8deb(0x192)},'connectionError':{'unauthorized':'인증\x20실패.\x20API\x20키를\x20확인하세요','sessionOccupied':_0x7f8deb(0x183),'networkError':_0x7f8deb(0x1a5),'maxRetriesExceeded':_0x7f8deb(0x185)}}};module['exports']=e;
1
+ const _0x520fab=_0x5c50;function _0x5c50(_0x5e93b7,_0x1fd85b){_0x5e93b7=_0x5e93b7-0xf0;const _0x14ff87=_0x14ff();let _0x5c5085=_0x14ff87[_0x5e93b7];return _0x5c5085;}(function(_0x337340,_0x46f733){const _0x12c289=_0x5c50,_0x2bec66=_0x337340();while(!![]){try{const _0x1aaaf2=-parseInt(_0x12c289(0x109))/0x1*(parseInt(_0x12c289(0xfb))/0x2)+parseInt(_0x12c289(0xf0))/0x3*(parseInt(_0x12c289(0x11c))/0x4)+-parseInt(_0x12c289(0xfd))/0x5+-parseInt(_0x12c289(0x106))/0x6+-parseInt(_0x12c289(0x104))/0x7+parseInt(_0x12c289(0x11d))/0x8+parseInt(_0x12c289(0x103))/0x9*(parseInt(_0x12c289(0xff))/0xa);if(_0x1aaaf2===_0x46f733)break;else _0x2bec66['push'](_0x2bec66['shift']());}catch(_0x26c612){_0x2bec66['push'](_0x2bec66['shift']());}}}(_0x14ff,0x2600d));const e={'mcpStatus':{'disconnected':_0x520fab(0x117),'connecting':_0x520fab(0x121),'connected':_0x520fab(0x10f),'failed':_0x520fab(0x110),'retrying':'MCP\x20재시도\x20중...','unknown':_0x520fab(0x102),'unauthorized':_0x520fab(0xf3),'sessionOccupied':_0x520fab(0x10b),'networkError':_0x520fab(0x112),'maxRetriesExceeded':_0x520fab(0xf4),'clickToConnect':'클릭하여\x20MCP\x20연결','clickToConfigure':_0x520fab(0x10d)},'mcpConfig':{'title':_0x520fab(0xfc),'description':_0x520fab(0xf6),'apiKey':_0x520fab(0x118),'apiKeyPlaceholder':_0x520fab(0x108),'apiKeyHint':'API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','enableAuth':_0x520fab(0x114),'enableAuthHint':_0x520fab(0x111),'connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':_0x520fab(0x10e),'configInstructions':'MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','configStepTitle':_0x520fab(0x119),'configStep1':'아래\x20JSON\x20설정\x20복사','configStep2':_0x520fab(0x105),'configStep3':_0x520fab(0x115),'sessionId':_0x520fab(0xfa),'sessionIdDescription':_0x520fab(0x113),'authorizationDescription':_0x520fab(0xf8),'configParameters':'설정\x20매개변수:','maxRetries':_0x520fab(0x11e),'save':'설정\x20저장','saving':'저장\x20중...','note1':_0x520fab(0x120),'note2':_0x520fab(0x11b),'configSaved':_0x520fab(0xfe),'configError':_0x520fab(0x101),'apiApplyInfo':{'title':'API\x20키란\x20무엇인가요?','description':'API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':_0x520fab(0xf1)},'validation':{'apiKeyRequired':_0x520fab(0xf9),'apiKeyTooShort':_0x520fab(0x11a),'invalidConfig':_0x520fab(0xf2),'invalidApiKey':_0x520fab(0x100)},'connectionStatus':{'disconnected':_0x520fab(0x107),'connecting':'연결\x20중...','connected':_0x520fab(0xf7),'failed':_0x520fab(0x10c),'retrying':_0x520fab(0x11f)},'connectionError':{'unauthorized':_0x520fab(0x10a),'sessionOccupied':'세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','networkError':'네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','maxRetriesExceeded':_0x520fab(0x116)}}};module[_0x520fab(0xf5)]=e;function _0x14ff(){const _0x1c8841=['설정\x20저장\x20실패','MCP\x20알\x20수\x20없는\x20상태','2014686hquExI','28658uCFcKF','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','1656462nilMOF','연결\x20끊김','API\x20키를\x20입력하세요','1FvrHWl','인증\x20실패.\x20API\x20키를\x20확인하세요','MCP:\x20세션\x20ID\x20사용\x20','연결\x20실패','클릭하여\x20MCP\x20설정','MCP\x20클라이언트\x20설정','MCP\x20연결됨','MCP\x20연결\x20실패','보안\x20연결을\x20위해\x20인증\x20활성화','MCP:\x20네트워크\x20오류','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','인증\x20활성화','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','MCP\x20연결\x20끊김','API\x20키','설정\x20단계:','API\x20키는\x2010자\x20이상이어야\x20합니다','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','2672JGPNPO','1563216wbzrGq','최대\x20재시도\x20횟수','재시도\x20중...','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','MCP\x20연결\x20중...','1299lUJLDN','몇\x20초\x20만에\x20API\x20키\x20발급받기','유효하지\x20않은\x20설정','MCP:\x20인증되지\x20않음','MCP:\x20최대\x20재시도\x20횟수\x20초과','exports','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','연결됨','Bearer\x20접두사가\x20있는\x20API\x20키.','API\x20키는\x20필수입니다','세션\x20ID','209318YyBIqv','MCP\x20설정','840045uZyccb','설정이\x20성공적으로\x20저장되었습니다','10PCMVsL','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'];_0x14ff=function(){return _0x1c8841;};return _0x14ff();}