@univerjs-pro/mcp-ui 0.15.3-insiders.20260131-cbd5fac → 0.15.4

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 (53) 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.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ja-JP.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/sk-SK.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +7 -7
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5f53(){const _0xee79c=['ComponentManager','@univerjs/core','univer-text-red-500','MCPConnectionController','univer-mr-2\x20univer-flex\x20univer-text-xl','mcpConfig.validation.apiKeyRequired','univer-flex\x20univer-items-center','mcpConfig.configError','button','register','1em','merge','univer-flex\x20univer-items-center\x20univer-gap-3','RibbonStartGroup','IUIPartsService','univer-bg-gray-500','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer.ai','mcpConfig.save','mcpStatus.connected','univer-text-xs\x20univer-text-gray-500','currentColor','toStringTag','_initConfigSync','setConfig','几秒钟内获取您的\x20API\x20密钥','将配置添加到您的\x20MCP\x20客户端设置文件中','on-line-icon_clip0_910_349','930tGJPab','connectionStatus$','API\x20Key','UniverProMcp','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mcpStatus.clickToConnect','Tooltip','univer-font-medium','replace','mcpStatus.failed','toString','BehaviorSubject','_uiPartsService','off-line-icon_clip0_910_343','univer-text-sm\x20univer-font-medium','_loadStoredApiKey','univer.plus','将以下配置添加到您的\x20MCP\x20客户端设置中:','_componentManager','mcpConfig.apiApplyInfo.univerAiLabel','91kAAjqy','保存配置','MCP\x20Connected','_localeService','MCP:\x20超出最大重试次数','3880tdteCq','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','mcpConfig.apiKeyPlaceholder','SESSION_ID_OCCUPIED','mcpConfig.connectionStatus.failed','Get\x20your\x20API\x20key\x20in\x20seconds','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','mcpStatus.connecting','children','jsx','IMessageService','MAX_RETRIES_EXCEEDED','0\x200\x2016\x2016','API\x20密钥不能为空','IConfigService','UniverNetwork','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','assign','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','useState','MCP:\x20会话\x20ID\x20已被占用','MCP_PLUGIN_CONFIG_KEY','点击配置\x20MCP','mcpStatus.networkError','RETRYING','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','getConfig','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','zhCN','xlink:href','attrs','Click\x20to\x20connect\x20MCP','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','连接失败','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','string','validateApiKey','MCP\x20Configuration','object','showConfigPanel','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','value','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Network\x20Error','@univerjs/design','\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','defineProperty','Enter\x20your\x20API\x20key','MCPConfigPanel','8tjJeFR','Bearer\x20','Plugin','univer-size-4','启用身份验证','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','Injector','CONNECTING','clipPath','label','apiKey','配置保存成功','MCP\x20客户端配置','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','useObservable','MCP\x20Retrying...','UniverIcon','MCPConnectionUIController','univer-flex\x20univer-items-start\x20univer-gap-3','ILocalStorageService','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','div','What\x20is\x20API\x20Key?','translate(.97)','univer-size-2\x20univer-rounded-full','univer_session_id:','_config$','mcp-ui.config','univer-bg-blue-500','none','请输入您的\x20API\x20密钥','_handleConfigure','MCP\x20Disconnected','8tMEWEt','MCP\x20Connection\x20Failed','UniverCore','ICommandService','网络连接错误,请检查您的网络连接','mcpConfig.configStep3','重启您的\x20MCP\x20客户端以使配置生效','displayName','use','errorMessage','Saving...','已连接','mcpConfig.title','MessageType','round','mcpStatus.unknown','mcpConfig.description','subscribeConfigValue$','OnLineIcon','entries','Inject','FAILED','MCP:\x20Max\x20Retries\x20Exceeded','univer-text-yellow-500','_initAutoConnect','stringify','_initializeMenus','_logService','univer-space-y-2','univerjs-icon\x20univerjs-icon-','mcpStatus.clickToConfigure','mcp.apiKey','trim','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','mcpConfig.note2','mcpConfig.apiKeyHint','defs','Authorization:','error','<SESSION_ID>','_menuManagerService','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-text-green-500','API\x20密钥无效,请检查密钥是否正确','MCPUIMenuController','Enable\x20Authentication','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','exports','warn','disposeWithMe','mask','connectionError$','Input','univer-shrink-0\x20univer-text-red-500','DISCONNECTED','Error','ISocketService','DependentOn','includes','UniverMCPUIPlugin','on-line-icon','url(#$1','mcpConfig.configSaved','off-line-icon','Save\x20Configuration','_initializeCommands','idSuffix','univer-text-xs\x20univer-text-gray-600','univer-text-gray-500','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','show','mcpStatus.disconnected','getItem','React','您的\x20API\x20密钥将在此浏览器中本地存储','svg','保存中...','noopener\x20noreferrer','MCP\x20重连中...','8043GQoKnd','forEach','151692zZKzAX','MCPConfigUIController','clsx','isValid','328475RXixJO','mcpConfig.configStep1','启用身份验证以获得安全连接','length','univer-bg-red-500','Univer\x20AI\x20Console','univer-text-blue-600','mcpConfig.configParameters','什么是\x20API\x20密钥?','univer-space-y-5','mcpConfig.apiApplyInfo.title','_messageService','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_configService','配置保存失败','add','UNAUTHORIZED','OffLineIcon','UniverProMcpUi','_blank','univer-min-w-0\x20univer-flex-1','mcpServerUrl','MCP:\x20网络错误','univer-text-sm\x20univer-text-gray-500','mcpConfig.note1','univer-text-white','get','mcpConfig.connectionInfo','IMenuManagerService','removeItem','mcpConfig.saving','pre','setItem','registerCommand','_injector','MCP\x20Unknown\x20Status','MCP:\x20未授权','white','getOwnPropertyDescriptor','mcpStatus.unauthorized','symbol','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','MCP\x20配置','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-space-y-4','random','path','mcp-config-dialog','Connecting...','API\x20key\x20is\x20required','useCallback','mcpStatus.retrying','getCurrentConfig','sessionId$','tag','MCP:\x20Unauthorized','mcpConfig.connectionError.networkError','_apiKey$','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','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','colorChannel1','MCPConnectionStatus','push','mcpConfig.configStepTitle','Click\x20to\x20configure\x20MCP','current','univer-shrink-0\x20univer-text-blue-500','LocaleService','mcpConfig.validation.invalidConfig','_connectionController','@univerjs/network','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','CommandType','您的\x20API\x20密钥安全存储在本地存储中','mcpConfig.sessionIdDescription','Disconnected','connectInjector','82311XDslLf','univer-flex\x20univer-items-center\x20univer-gap-2','next','univer-flex-1','MCPStatusDisplay','jsxs','M0\x200H16V16H0z','BuiltInUIPart','NETWORK_ERROR','_handleConfigSave','Success','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','会话ID','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','配置步骤:','onStarting','MCP\x20状态未知','function','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','重连中...','Connection\x20Failed','HEADER_MENU','Button','help-icon','NONE','mcpConfig.apiKey','MCP\x20Client\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','span','3278HmrSvw','showDeveloperTools','mcpStatus.maxRetriesExceeded','_localStorageService','check-mark-icon','MCPConnectionError','bottom','BUTTON','url(#off-line-icon_clip0_910_343)','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','substring','forwardRef','mcpConfig.connectionError.maxRetriesExceeded','univer-flex\x20univer-gap-3','4jMrBik','最大重试次数','<API_KEY>','Failed\x20to\x20save\x20configuration','text','_mcpCoreConfig$','_loading$','_createConfigPanelComponent','UniverMCPPlugin','mcpConfig.authorizationDescription','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Retrying...','mcpConfig.connectionStatus.retrying','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','useDependency','mcpConfig.validation.invalidApiKey','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','mcpConfig.connectionError.sessionOccupied','_commandService','mcpConfig.configInstructions','http://www.w3.org/2000/svg','createElement','fill','1490wpgSIc','配置更改将立即生效','WebSocketService','Disposable','Connected','\x20-\x20','rxjs','https://mcp.univer.ai/mcp/?univer_session_id=','超出最大重试次数,请稍后再试','Max\x20Retries','evenodd','MCP\x20连接失败','univer-space-y-3','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','_registerComponent','mcp-ui.command.openConfigPanel','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','Configuration\x20Steps:','off','Invalid\x20configuration','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','close','_initStatusComponent','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','1642608WLIMfM','_dialogService','https://console.univer.plus','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','_config','COMMAND','_mcpConnectionController','配置参数:','CONNECTED','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Module'];_0x5f53=function(){return _0xee79c;};return _0x5f53();}function _0x1f61(_0x117d0e,_0x5c25df){_0x117d0e=_0x117d0e-0x152;const _0x5f5326=_0x5f53();let _0x1f6126=_0x5f5326[_0x117d0e];return _0x1f6126;}(function(_0x348350,_0xd589a1){const _0x397e8c=_0x1f61,_0x11a44e=_0x348350();while(!![]){try{const _0x16fc97=parseInt(_0x397e8c(0x2b9))/0x1*(-parseInt(_0x397e8c(0x154))/0x2)+-parseInt(_0x397e8c(0x266))/0x3*(parseInt(_0x397e8c(0x1f6))/0x4)+-parseInt(_0x397e8c(0x1c5))/0x5*(-parseInt(_0x397e8c(0x1ac))/0x6)+parseInt(_0x397e8c(0x26c))/0x7*(parseInt(_0x397e8c(0x217))/0x8)+parseInt(_0x397e8c(0x184))/0x9+parseInt(_0x397e8c(0x16b))/0xa*(parseInt(_0x397e8c(0x2d6))/0xb)+-parseInt(_0x397e8c(0x268))/0xc*(parseInt(_0x397e8c(0x1c0))/0xd);if(_0x16fc97===_0xd589a1)break;else _0x11a44e['push'](_0x11a44e['shift']());}catch(_0x27a077){_0x11a44e['push'](_0x11a44e['shift']());}}}(_0x5f53,0x211e0),function(_0x3e0862,_0x346c45){const _0x49f679=_0x1f61;typeof exports==_0x49f679(0x1eb)&&typeof module<'u'?_0x346c45(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x49f679(0x2ca)&&define['amd']?define([_0x49f679(0x246),_0x49f679(0x190),'react/jsx-runtime','@univerjs-pro/mcp',_0x49f679(0x1f1),'@univerjs/ui',_0x49f679(0x171),'react',_0x49f679(0x2b2)],_0x346c45):(_0x3e0862=typeof globalThis<'u'?globalThis:_0x3e0862||self,_0x346c45(_0x3e0862[_0x49f679(0x27e)]={},_0x3e0862[_0x49f679(0x219)],_0x3e0862[_0x49f679(0x260)],_0x3e0862[_0x49f679(0x1af)],_0x3e0862['UniverDesign'],_0x3e0862['UniverUi'],_0x3e0862[_0x49f679(0x171)],_0x3e0862[_0x49f679(0x260)],_0x3e0862[_0x49f679(0x1d4)]));}(this,function(_0x2eccff,_0x539d4b,_0x557513,_0x3e0e61,_0x2ef692,_0x41df60,_0x448d04,_0x1bf244,_0x1e49a1){'use strict';const _0x5d316e=_0x1f61;var _0x2d4c64=Object[_0x5d316e(0x1f3)],_0x5aed61=(_0x4f6bb3,_0x5a6065,_0x470775)=>_0x5a6065 in _0x4f6bb3?_0x2d4c64(_0x4f6bb3,_0x5a6065,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x470775}):_0x4f6bb3[_0x5a6065]=_0x470775,_0x4d60da=(_0x113e47,_0x34fb3d,_0x5565fe)=>_0x5aed61(_0x113e47,typeof _0x34fb3d!=_0x5d316e(0x294)?_0x34fb3d+'':_0x34fb3d,_0x5565fe);function _0x1af527({ref:_0x494d55,..._0x551726}){const _0x327583=_0x5d316e,{icon:_0x22f548,id:_0x414f77,className:_0x796e6a,extend:_0x5dd1d1,..._0x3226b5}=_0x551726,_0x1ecf3e=(_0x327583(0x234)+_0x414f77+'\x20'+(_0x796e6a||''))[_0x327583(0x237)](),_0x19d9d9=_0x1bf244['useRef']('_'+_0x25ba8d());return _0x2e3b69(_0x22f548,''+_0x414f77,{'defIds':_0x22f548['defIds'],'idSuffix':_0x19d9d9[_0x327583(0x2ad)]},{'ref':_0x494d55,'className':_0x1ecf3e,..._0x3226b5},_0x5dd1d1);}function _0x2e3b69(_0x347102,_0x298d9e,_0x2ef350,_0x2ceb93,_0x392a1a){const _0x414923=_0x5d316e;return _0x1bf244[_0x414923(0x169)](_0x347102[_0x414923(0x2a2)],{'key':_0x298d9e,..._0x3ae58b(_0x347102,_0x2ef350,_0x392a1a),..._0x2ceb93},(_0x3954e3(_0x347102,_0x2ef350)[_0x414923(0x1cd)]||[])['map']((_0x4a0d3b,_0xcec441)=>_0x2e3b69(_0x4a0d3b,_0x298d9e+'-'+_0x347102[_0x414923(0x2a2)]+'-'+_0xcec441,_0x2ef350,void 0x0,_0x392a1a)));}function _0x3ae58b(_0x7673dc,_0x26954e,_0x3cb3e4){const _0x2e0c2c=_0x5d316e,_0x4d0a0f={..._0x7673dc['attrs']};_0x3cb3e4!=null&&_0x3cb3e4[_0x2e0c2c(0x2a8)]&&_0x4d0a0f[_0x2e0c2c(0x16a)]===_0x2e0c2c(0x2a8)&&(_0x4d0a0f[_0x2e0c2c(0x16a)]=_0x3cb3e4[_0x2e0c2c(0x2a8)]),_0x7673dc[_0x2e0c2c(0x2a2)]===_0x2e0c2c(0x249)&&_0x4d0a0f['id']&&(_0x4d0a0f['id']=_0x4d0a0f['id']+_0x26954e['idSuffix']),Object[_0x2e0c2c(0x22a)](_0x4d0a0f)['forEach'](([_0x2855c5,_0x4c4f42])=>{const _0x3ae9d5=_0x2e0c2c;_0x2855c5===_0x3ae9d5(0x249)&&typeof _0x4c4f42==_0x3ae9d5(0x1e8)&&(_0x4d0a0f[_0x2855c5]=_0x4c4f42[_0x3ae9d5(0x1b4)](/url\(#(.*)\)/,_0x3ae9d5(0x254)+_0x26954e[_0x3ae9d5(0x259)]+')'));});const {defIds:_0x4f7973}=_0x26954e;return!_0x4f7973||_0x4f7973[_0x2e0c2c(0x26f)]===0x0||(_0x7673dc[_0x2e0c2c(0x2a2)]===_0x2e0c2c(0x21f)&&_0x4d0a0f['xlink:href']&&(_0x4d0a0f[_0x2e0c2c(0x1e2)]=_0x4d0a0f[_0x2e0c2c(0x1e2)]+_0x26954e[_0x2e0c2c(0x259)]),Object[_0x2e0c2c(0x22a)](_0x4d0a0f)[_0x2e0c2c(0x267)](([_0x1115bb,_0x3704e0])=>{const _0xc30f84=_0x2e0c2c;typeof _0x3704e0=='string'&&(_0x4d0a0f[_0x1115bb]=_0x3704e0['replace'](/url\(#(.*)\)/,'url(#$1'+_0x26954e[_0xc30f84(0x259)]+')'));})),_0x4d0a0f;}function _0x3954e3(_0x1c22bb,_0x56d67d){const _0x43359c=_0x5d316e;var _0x106d4f;const {defIds:_0x2b6544}=_0x56d67d;return!_0x2b6544||_0x2b6544['length']===0x0?_0x1c22bb:_0x1c22bb[_0x43359c(0x2a2)]===_0x43359c(0x23b)&&((_0x106d4f=_0x1c22bb[_0x43359c(0x1cd)])!=null&&_0x106d4f[_0x43359c(0x26f)])?{..._0x1c22bb,'children':_0x1c22bb[_0x43359c(0x1cd)]['map'](_0x235e9c=>typeof _0x235e9c[_0x43359c(0x1e3)]['id']==_0x43359c(0x1e8)&&_0x2b6544&&_0x2b6544['includes'](_0x235e9c['attrs']['id'])?{..._0x235e9c,'attrs':{..._0x235e9c[_0x43359c(0x1e3)],'id':_0x235e9c[_0x43359c(0x1e3)]['id']+_0x56d67d['idSuffix']}}:_0x235e9c)}:_0x1c22bb;}function _0x25ba8d(){const _0x5c65f2=_0x5d316e;return Math[_0x5c65f2(0x299)]()[_0x5c65f2(0x1b6)](0x24)[_0x5c65f2(0x2e0)](0x2,0x8);}_0x1af527[_0x5d316e(0x21e)]=_0x5d316e(0x206);const _0xb902a={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d316e(0x213),'viewBox':_0x5d316e(0x1d1),'width':_0x5d316e(0x199),'height':_0x5d316e(0x199)},'children':[{'tag':_0x5d316e(0x29a),'attrs':{'fill':'currentColor','d':_0x5d316e(0x187),'fillRule':_0x5d316e(0x175),'clipRule':_0x5d316e(0x175)}}]},_0x68cf78=_0x1bf244[_0x5d316e(0x2e1)](function(_0x1560a1,_0x459471){const _0x539586=_0x5d316e;return _0x1bf244[_0x539586(0x169)](_0x1af527,Object[_0x539586(0x1d6)]({},_0x1560a1,{'id':_0x539586(0x2da),'ref':_0x459471,'icon':_0xb902a}));});_0x68cf78[_0x5d316e(0x21e)]='CheckMarkIcon';const _0x3a754e={'tag':_0x5d316e(0x262),'attrs':{'xmlns':_0x5d316e(0x168),'fill':_0x5d316e(0x213),'viewBox':_0x5d316e(0x1d1),'width':_0x5d316e(0x199),'height':_0x5d316e(0x199)},'children':[{'tag':_0x5d316e(0x29a),'attrs':{'fill':'currentColor','d':_0x5d316e(0x1de)}}]},_0x2bf7ea=_0x1bf244['forwardRef'](function(_0x17c152,_0xd0b497){const _0x48bd76=_0x5d316e;return _0x1bf244[_0x48bd76(0x169)](_0x1af527,Object[_0x48bd76(0x1d6)]({},_0x17c152,{'id':'close-icon','ref':_0xd0b497,'icon':_0x3a754e}));});_0x2bf7ea[_0x5d316e(0x21e)]='CloseIcon';const _0x271cc0={'tag':_0x5d316e(0x262),'attrs':{'xmlns':_0x5d316e(0x168),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x5d316e(0x29a),'attrs':{'fill':'currentColor','d':_0x5d316e(0x1c6)}},{'tag':_0x5d316e(0x29a),'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':'path','attrs':{'fill':_0x5d316e(0x1a5),'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':_0x5d316e(0x175)}}]},_0x7bab0=_0x1bf244[_0x5d316e(0x2e1)](function(_0x5d4f48,_0x902113){const _0x575944=_0x5d316e;return _0x1bf244['createElement'](_0x1af527,Object['assign']({},_0x5d4f48,{'id':_0x575944(0x2d0),'ref':_0x902113,'icon':_0x271cc0}));});_0x7bab0[_0x5d316e(0x21e)]='HelpIcon';const _0x392b20={'tag':'svg','attrs':{'xmlns':_0x5d316e(0x168),'fill':_0x5d316e(0x213),'viewBox':_0x5d316e(0x1d1),'width':_0x5d316e(0x199),'height':_0x5d316e(0x199)},'children':[{'tag':'g','attrs':{'clipPath':_0x5d316e(0x2de)},'children':[{'tag':_0x5d316e(0x29a),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x5d316e(0x225),'strokeWidth':1.2}}]},{'tag':_0x5d316e(0x23b),'attrs':{},'children':[{'tag':_0x5d316e(0x1fe),'attrs':{'id':_0x5d316e(0x1b9)},'children':[{'tag':_0x5d316e(0x29a),'attrs':{'fill':_0x5d316e(0x291),'d':_0x5d316e(0x2bf)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0xc1ecab=_0x1bf244[_0x5d316e(0x2e1)](function(_0x519e2e,_0xb5537e){const _0x5813c7=_0x5d316e;return _0x1bf244[_0x5813c7(0x169)](_0x1af527,Object['assign']({},_0x519e2e,{'id':_0x5813c7(0x256),'ref':_0xb5537e,'icon':_0x392b20}));});_0xc1ecab['displayName']=_0x5d316e(0x27d);const _0x46eca2={'tag':_0x5d316e(0x262),'attrs':{'xmlns':_0x5d316e(0x168),'fill':_0x5d316e(0x213),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x5d316e(0x199)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x5d316e(0x1a5),'d':_0x5d316e(0x238),'strokeLinecap':_0x5d316e(0x225),'strokeLinejoin':_0x5d316e(0x225),'strokeWidth':1.2}}]},{'tag':_0x5d316e(0x23b),'attrs':{},'children':[{'tag':_0x5d316e(0x1fe),'attrs':{'id':_0x5d316e(0x1ab)},'children':[{'tag':_0x5d316e(0x29a),'attrs':{'fill':_0x5d316e(0x291),'d':_0x5d316e(0x2bf),'transform':_0x5d316e(0x20d)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x483fa0=_0x1bf244['forwardRef'](function(_0x164687,_0x1129f3){const _0x13bde9=_0x5d316e;return _0x1bf244[_0x13bde9(0x169)](_0x1af527,Object[_0x13bde9(0x1d6)]({},_0x164687,{'id':_0x13bde9(0x253),'ref':_0x1129f3,'icon':_0x46eca2}));});_0x483fa0[_0x5d316e(0x21e)]=_0x5d316e(0x229);function _0x30e6ff(_0x3b9f9b){const _0x1655c1=_0x5d316e;var _0x2f9ced,_0x2f0313;const {mcpCoreConfig:_0x52670d,onSave:_0x14749f,loading:_0x142f56=!0x1,config:_0x4e6b53,connectionStatus$:_0x2b093a,connectionError$:_0x4cc5c1,currentApiKey$:_0x3c5f35,currentSessionId$:_0x41083e}=_0x3b9f9b,_0x483db1=_0x41df60[_0x1655c1(0x162)](_0x539d4b[_0x1655c1(0x2af)]),_0x14a7f5=_0x41df60['useObservable'](_0x2b093a,_0x3e0e61['MCPConnectionStatus'][_0x1655c1(0x24d)]),_0x24162f=_0x41df60['useObservable'](_0x4cc5c1,_0x3e0e61[_0x1655c1(0x2db)][_0x1655c1(0x2d1)]),_0x160954=_0x41df60[_0x1655c1(0x204)](_0x41083e,''),_0x70c907=_0x41df60['useObservable'](_0x3c5f35,''),[_0x17ccb0,_0x210611]=_0x1bf244[_0x1655c1(0x1d8)](_0x70c907||''),_0x8e0057=!0x0,_0x125cf5=_0x4e6b53['showDeveloperTools']&&_0x52670d[_0x1655c1(0x281)]&&(_0x52670d[_0x1655c1(0x281)]['includes'](_0x1655c1(0x1bc))||_0x52670d[_0x1655c1(0x281)][_0x1655c1(0x251)](_0x1655c1(0x1a1))),_0x5942de=(_0x2f9ced=_0x52670d[_0x1655c1(0x281)])==null?void 0x0:_0x2f9ced['includes']('univer.plus'),_0x206962=(_0x2f0313=_0x52670d[_0x1655c1(0x281)])==null?void 0x0:_0x2f0313[_0x1655c1(0x251)]('univer.ai'),_0x47ddbb=_0x5942de?_0x1655c1(0x186):'https://console.univer.ai',_0x44afcd=_0x4e6b53[_0x1655c1(0x2d7)]&&(_0x5942de||_0x206962),[_0x6ca81e,_0x276817]=_0x1bf244[_0x1655c1(0x1d8)](!_0x17ccb0[_0x1655c1(0x237)]()),_0x1b3995=(_0x109718,_0x24e9b7)=>{const _0x48486f=_0x1655c1;if(_0x24e9b7===_0x3e0e61['MCPConnectionError'][_0x48486f(0x27c)])return _0x48486f(0x1a0);switch(_0x109718){case _0x3e0e61[_0x48486f(0x2a9)][_0x48486f(0x18c)]:return _0x48486f(0x295);case _0x3e0e61['MCPConnectionStatus'][_0x48486f(0x1fd)]:case _0x3e0e61['MCPConnectionStatus']['RETRYING']:return _0x48486f(0x1e5);case _0x3e0e61[_0x48486f(0x2a9)]['FAILED']:return _0x48486f(0x1a0);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x1b408b=(_0x513d1a,_0x65c67b)=>{const _0xbd76bd=_0x1655c1;if(_0x65c67b===_0x3e0e61['MCPConnectionError'][_0xbd76bd(0x27c)])return'univer-bg-red-500';switch(_0x513d1a){case _0x3e0e61[_0xbd76bd(0x2a9)][_0xbd76bd(0x18c)]:return'univer-bg-green-500';case _0x3e0e61['MCPConnectionStatus']['CONNECTING']:case _0x3e0e61[_0xbd76bd(0x2a9)]['RETRYING']:return _0xbd76bd(0x212);case _0x3e0e61['MCPConnectionStatus']['FAILED']:return _0xbd76bd(0x270);default:return _0xbd76bd(0x19e);}},_0x221af0=_0x1bf1e2=>{const _0x2c6d7b=_0x1655c1;switch(_0x1bf1e2){case _0x3e0e61[_0x2c6d7b(0x2a9)][_0x2c6d7b(0x18c)]:return _0x483db1['t']('mcpConfig.connectionStatus.connected');case _0x3e0e61[_0x2c6d7b(0x2a9)][_0x2c6d7b(0x1fd)]:return _0x483db1['t']('mcpConfig.connectionStatus.connecting');case _0x3e0e61[_0x2c6d7b(0x2a9)][_0x2c6d7b(0x22c)]:return _0x483db1['t'](_0x2c6d7b(0x1c9));case _0x3e0e61[_0x2c6d7b(0x2a9)][_0x2c6d7b(0x1dd)]:return _0x483db1['t'](_0x2c6d7b(0x160));default:return _0x483db1['t']('mcpConfig.connectionStatus.disconnected');}},_0x3c3c60=_0x5af115=>{const _0x30bf72=_0x1655c1;switch(_0x5af115){case _0x3e0e61[_0x30bf72(0x2db)][_0x30bf72(0x27c)]:return _0x483db1['t']('mcpConfig.connectionError.unauthorized');case _0x3e0e61['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x483db1['t'](_0x30bf72(0x165));case _0x3e0e61[_0x30bf72(0x2db)][_0x30bf72(0x2c1)]:return _0x483db1['t'](_0x30bf72(0x2a4));case _0x3e0e61[_0x30bf72(0x2db)]['MAX_RETRIES_EXCEEDED']:return _0x483db1['t'](_0x30bf72(0x152));default:return'';}},_0x5133c9=_0x1bf244[_0x1655c1(0x29e)](()=>{const _0x2bbbe4=_0x1655c1,_0x328897={..._0x52670d,'apiKey':_0x17ccb0[_0x2bbbe4(0x237)](),'enableAuth':_0x8e0057};_0x14749f(_0x328897);},[_0x52670d,_0x17ccb0,_0x8e0057,_0x14749f]),_0x175d69=_0x17ccb0[_0x1655c1(0x237)]()[_0x1655c1(0x26f)]>0x0;return _0x557513['jsxs'](_0x1655c1(0x20b),{'className':_0x1655c1(0x1b0),'children':[_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':_0x1655c1(0x19f),'children':_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x19b),'children':[_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':_0x1655c1(0x1e0),'children':_0x557513['jsx']('span',{'className':_0x1655c1(0x285),'children':'⚙'})}),_0x557513['jsx'](_0x1655c1(0x20b),{'children':_0x557513[_0x1655c1(0x1ce)]('p',{'className':_0x1655c1(0x283),'children':_0x483db1['t'](_0x1655c1(0x227))})})]})}),_0x557513[_0x1655c1(0x2be)]('div',{'className':_0x1655c1(0x183),'children':[_0x557513[_0x1655c1(0x1ce)]('div',{'className':_0x2ef692[_0x1655c1(0x26a)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x1b3995(_0x14a7f5,_0x24162f)),'children':_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x2ba),'children':[_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':_0x2ef692[_0x1655c1(0x26a)](_0x1655c1(0x20e),_0x1b408b(_0x14a7f5,_0x24162f))}),_0x557513['jsx'](_0x1655c1(0x2d5),{'className':_0x1655c1(0x1ba),'children':_0x221af0(_0x14a7f5)})]})}),_0x24162f!==_0x3e0e61[_0x1655c1(0x2db)][_0x1655c1(0x2d1)]&&(_0x14a7f5===_0x3e0e61['MCPConnectionStatus'][_0x1655c1(0x22c)]||_0x24162f===_0x3e0e61[_0x1655c1(0x2db)][_0x1655c1(0x27c)])&&_0x557513['jsx']('div',{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x557513['jsx'](_0x1655c1(0x2d5),{'className':_0x1655c1(0x24c),'children':'⚠️'}),_0x557513[_0x1655c1(0x1ce)]('p',{'className':_0x1655c1(0x178),'children':_0x3c3c60(_0x24162f)})]})})]}),_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':_0x1655c1(0x180),'children':_0x557513[_0x1655c1(0x2be)]('div',{'className':_0x1655c1(0x275),'children':[_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x233),'children':[_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x1ff),{'className':_0x1655c1(0x17c),'children':[_0x557513['jsx'](_0x1655c1(0x2d5),{'children':'🔑'}),'\x20',_0x483db1['t'](_0x1655c1(0x2d2)),_0x557513['jsx'](_0x1655c1(0x2d5),{'className':_0x1655c1(0x191),'children':'*'}),_0x125cf5&&_0x557513[_0x1655c1(0x1ce)]('a',{'className':_0x1655c1(0x203),'title':_0x483db1['t']('mcpConfig.apiApplyInfo.title'),'role':'button','onClick':()=>_0x276817(!0x0),'children':_0x557513[_0x1655c1(0x1ce)](_0x7bab0,{})})]}),_0x557513[_0x1655c1(0x1ce)](_0x2ef692[_0x1655c1(0x24b)],{'type':_0x1655c1(0x158),'placeholder':_0x483db1['t'](_0x1655c1(0x1c7)),'value':_0x17ccb0,'disabled':_0x142f56,'autoComplete':_0x1655c1(0x17e),'onChange':_0x210611}),_0x557513[_0x1655c1(0x1ce)]('p',{'className':_0x1655c1(0x1a4),'children':_0x483db1['t'](_0x1655c1(0x23a))})]}),_0x125cf5&&_0x6ca81e&&_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'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':[_0x557513[_0x1655c1(0x1ce)]('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':_0x1655c1(0x197),'onClick':()=>_0x276817(!0x1),'children':_0x557513['jsx'](_0x2bf7ea,{'className':_0x1655c1(0x1f9)})}),_0x557513[_0x1655c1(0x2be)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x557513['jsx'](_0x1655c1(0x20b),{'className':_0x1655c1(0x1ed),'children':_0x557513['jsx'](_0x1655c1(0x2d5),{'className':_0x1655c1(0x272),'children':'🚀'})}),_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x2bc),'children':[_0x557513['jsx']('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x483db1['t'](_0x1655c1(0x276))}),_0x557513['jsx']('p',{'className':_0x1655c1(0x297),'children':_0x483db1['t']('mcpConfig.apiApplyInfo.description')}),_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x44afcd&&_0x557513[_0x1655c1(0x2be)]('a',{'className':_0x1655c1(0x2a7),'href':_0x47ddbb,'target':_0x1655c1(0x27f),'rel':_0x1655c1(0x264),'children':[_0x557513['jsx']('span',{'children':'🤖'}),_0x483db1['t'](_0x1655c1(0x1bf)),_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x2d5),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x240),'children':['✨','\x20',_0x483db1['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x4e6b53[_0x1655c1(0x2d7)]&&_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x557513[_0x1655c1(0x2be)]('h4',{'className':_0x1655c1(0x278),'children':[_0x557513['jsx'](_0x1655c1(0x2d5),{'children':'🔗'}),'\x20',_0x483db1['t'](_0x1655c1(0x287))]}),_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x298),'children':[_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x177),'children':[_0x557513['jsx']('p',{'className':_0x1655c1(0x25a),'children':_0x483db1['t'](_0x1655c1(0x167))}),_0x557513['jsxs']('div',{'className':_0x1655c1(0x233),'children':[_0x557513['jsx']('div',{'className':_0x1655c1(0x1d5),'children':_0x483db1['t'](_0x1655c1(0x2ab))}),_0x557513[_0x1655c1(0x2be)]('div',{'className':_0x1655c1(0x2b3),'children':[_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x2ba),'children':[_0x557513[_0x1655c1(0x1ce)]('span',{'className':_0x1655c1(0x1fb),'children':'1'}),_0x483db1['t'](_0x1655c1(0x26d))]}),_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x2ba),'children':[_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x2d5),{'className':_0x1655c1(0x1fb),'children':'2'}),_0x483db1['t']('mcpConfig.configStep2')]}),_0x557513[_0x1655c1(0x2be)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x557513['jsx'](_0x1655c1(0x2d5),{'className':_0x1655c1(0x1fb),'children':'3'}),_0x483db1['t'](_0x1655c1(0x21c))]})]})]})]}),_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x233),'children':[_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':_0x1655c1(0x1d5),'children':_0x1655c1(0x1ea)}),_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x28b),{'className':_0x1655c1(0x2c4),'children':JSON[_0x1655c1(0x230)]({'mcpServers':{'univer':{'url':_0x1655c1(0x172)+(_0x160954||_0x1655c1(0x23e)),'type':'http','headers':{'Authorization':_0x1655c1(0x1f7)+(_0x17ccb0||_0x1655c1(0x156))}}}},null,0x2)})})]}),_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':'univer-space-y-3','children':[_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':_0x1655c1(0x1d5),'children':_0x483db1['t'](_0x1655c1(0x273))}),_0x557513['jsxs'](_0x1655c1(0x20b),{'className':_0x1655c1(0x233),'children':[_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x208),'children':[_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x280),'children':[_0x557513['jsx'](_0x1655c1(0x20b),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x1655c1(0x20f)}),_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':_0x1655c1(0x1a4),'children':_0x483db1['t'](_0x1655c1(0x2b6))})]})]}),_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x208),'children':[_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':_0x1655c1(0x25c)}),_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x280),'children':[_0x557513['jsx'](_0x1655c1(0x20b),{'className':_0x1655c1(0x245),'children':_0x1655c1(0x23c)}),_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':_0x1655c1(0x1a4),'children':_0x483db1['t'](_0x1655c1(0x15d))})]})]})]})]})]})]}),_0x557513[_0x1655c1(0x1ce)](_0x2ef692[_0x1655c1(0x2cf)],{'onClick':_0x5133c9,'disabled':!_0x175d69||_0x142f56,'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':_0x142f56?_0x557513[_0x1655c1(0x2be)]('span',{'className':_0x1655c1(0x2ba),'children':[_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x2d5),{'children':'⟲'}),_0x483db1['t'](_0x1655c1(0x28a))]}):_0x557513[_0x1655c1(0x2be)]('span',{'className':_0x1655c1(0x2ba),'children':[_0x557513['jsx'](_0x68cf78,{}),_0x483db1['t'](_0x1655c1(0x1a2))]})}),_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x20b),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x153),'children':[_0x557513[_0x1655c1(0x1ce)](_0x1655c1(0x2d5),{'className':_0x1655c1(0x2ae),'children':'💡'}),_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'className':_0x1655c1(0x164),'children':[_0x557513[_0x1655c1(0x1ce)]('div',{'className':_0x1655c1(0x1b3),'children':'Configuration\x20Notes:'}),_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'children':['•',_0x483db1['t'](_0x1655c1(0x284))]}),_0x557513[_0x1655c1(0x2be)](_0x1655c1(0x20b),{'children':['•',_0x483db1['t'](_0x1655c1(0x239))]})]})]})})]})})]});}const _0x12eb7e=_0x5d316e(0x211),_0x4dcfe9={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x44f5d7=Object['getOwnPropertyDescriptor'],_0x5c8c1b=(_0x543fb3,_0x1f7f2a,_0x314a64,_0x4073c6)=>{const _0x1ed746=_0x5d316e;for(var _0xe5b4a0=_0x4073c6>0x1?void 0x0:_0x4073c6?_0x44f5d7(_0x1f7f2a,_0x314a64):_0x1f7f2a,_0xee853a=_0x543fb3[_0x1ed746(0x26f)]-0x1,_0x25e224;_0xee853a>=0x0;_0xee853a--)(_0x25e224=_0x543fb3[_0xee853a])&&(_0xe5b4a0=_0x25e224(_0xe5b4a0)||_0xe5b4a0);return _0xe5b4a0;},_0x3fa51d=(_0x21948d,_0x116dd7)=>(_0x312dd6,_0x51db73)=>_0x116dd7(_0x312dd6,_0x51db73,_0x21948d);const _0x27a5f3=_0x5d316e(0x236),_0x3bff8c=_0x5d316e(0x29b);_0x2eccff[_0x5d316e(0x269)]=class extends _0x539d4b['Disposable']{constructor(_0x494b7b,_0x1abd6f,_0x4adebc,_0x3c32bd,_0x11526e,_0x1c32de,_0x158faf,_0x48a272,_0x433ab0,_0x256cf4){const _0x2432ef=_0x5d316e;super(),_0x4d60da(this,_0x2432ef(0x15a),new _0x448d04[(_0x2432ef(0x1b7))](!0x1)),_0x4d60da(this,'_mcpCoreConfig$',new _0x448d04[(_0x2432ef(0x1b7))]({})),_0x4d60da(this,_0x2432ef(0x210),new _0x448d04[(_0x2432ef(0x1b7))]({})),_0x4d60da(this,_0x2432ef(0x2a5),new _0x448d04[(_0x2432ef(0x1b7))]('')),_0x4d60da(this,_0x2432ef(0x2c2),async _0x3a760c=>{const _0x458cae=_0x2432ef;var _0x22938c,_0x5d8fd9;this[_0x458cae(0x15a)][_0x458cae(0x2bb)](!0x0);try{const _0x392193=await this['_validateConfig'](_0x3a760c);if(!_0x392193[_0x458cae(0x26b)]){this['_messageService'][_0x458cae(0x25d)]({'type':_0x2ef692[_0x458cae(0x224)][_0x458cae(0x24e)],'content':_0x392193[_0x458cae(0x220)]||this[_0x458cae(0x1c3)]['t'](_0x458cae(0x2b0))});return;}_0x3a760c[_0x458cae(0x200)]?await this['_localStorageService'][_0x458cae(0x28c)](_0x27a5f3,_0x3a760c[_0x458cae(0x200)]['trim']()):await this[_0x458cae(0x2d9)][_0x458cae(0x289)](_0x27a5f3),this[_0x458cae(0x2a5)][_0x458cae(0x2bb)](((_0x22938c=_0x3a760c['apiKey'])==null?void 0x0:_0x22938c[_0x458cae(0x237)]())||''),this[_0x458cae(0x18a)]['__setCustomHeaders']({'Authorization':'Bearer\x20'+((_0x5d8fd9=_0x3a760c['apiKey'])==null?void 0x0:_0x5d8fd9[_0x458cae(0x237)]())}),this['_messageService'][_0x458cae(0x25d)]({'type':_0x2ef692[_0x458cae(0x224)][_0x458cae(0x2c3)],'content':this['_localeService']['t'](_0x458cae(0x255))}),setTimeout(()=>{const _0x252e23=_0x458cae;this[_0x252e23(0x185)][_0x252e23(0x181)](_0x3bff8c);},0x320);}catch(_0x3b4d2d){this[_0x458cae(0x232)][_0x458cae(0x23d)](_0x458cae(0x2c6),_0x3b4d2d),this[_0x458cae(0x277)][_0x458cae(0x25d)]({'type':_0x2ef692[_0x458cae(0x224)][_0x458cae(0x24e)],'content':this[_0x458cae(0x1c3)]['t'](_0x458cae(0x196))});}finally{this[_0x458cae(0x15a)]['next'](!0x1);}}),(this['_injector']=_0x494b7b,this[_0x2432ef(0x1b8)]=_0x1abd6f,this[_0x2432ef(0x279)]=_0x4adebc,this[_0x2432ef(0x2d9)]=_0x3c32bd,this[_0x2432ef(0x185)]=_0x11526e,this[_0x2432ef(0x277)]=_0x1c32de,this[_0x2432ef(0x1be)]=_0x158faf,this['_localeService']=_0x48a272,this[_0x2432ef(0x232)]=_0x433ab0,this[_0x2432ef(0x18a)]=_0x256cf4,this[_0x2432ef(0x1a7)](),this[_0x2432ef(0x1bb)](),this[_0x2432ef(0x17a)]());}['showConfigPanel'](){const _0x4b7206=_0x5d316e,_0x287a43=this[_0x4b7206(0x279)][_0x4b7206(0x1df)](_0x12eb7e);_0x287a43!=null&&_0x287a43[_0x4b7206(0x2d7)]&&this[_0x4b7206(0x185)]['open']({'id':_0x3bff8c,'title':{'title':this[_0x4b7206(0x1c3)]['t'](_0x4b7206(0x223))},'children':{'label':_0x4b7206(0x1f5)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0xc939e=_0x4b7206;this[_0xc939e(0x185)][_0xc939e(0x181)](_0x3bff8c);}});}[_0x5d316e(0x2a0)](){const _0x1ce69a=_0x5d316e;return this[_0x1ce69a(0x159)]['value'];}[_0x5d316e(0x17a)](){const _0xbe3bb2=_0x5d316e;this[_0xbe3bb2(0x248)](this['_componentManager'][_0xbe3bb2(0x198)](_0xbe3bb2(0x1f5),this[_0xbe3bb2(0x15b)]()));}[_0x5d316e(0x15b)](){const _0x1c99ac=_0x5d316e;return _0x41df60[_0x1c99ac(0x2b8)](()=>{const _0xdde820=_0x1c99ac;var _0x22747f,_0x27431c,_0x4cfc79;return _0x557513[_0xdde820(0x1ce)](_0x30e6ff,{'config':this[_0xdde820(0x210)]['value'],'mcpCoreConfig':this[_0xdde820(0x159)][_0xdde820(0x1ee)],'currentApiKey$':this['_apiKey$'],'onSave':this['_handleConfigSave'],'loading':this[_0xdde820(0x15a)][_0xdde820(0x1ee)],'connectionStatus$':(_0x22747f=this['_mcpConnectionController'])==null?void 0x0:_0x22747f[_0xdde820(0x1ad)],'connectionError$':(_0x27431c=this[_0xdde820(0x18a)])==null?void 0x0:_0x27431c[_0xdde820(0x24a)],'currentSessionId$':(_0x4cfc79=this[_0xdde820(0x18a)])==null?void 0x0:_0x4cfc79[_0xdde820(0x2a1)]});},this[_0x1c99ac(0x28e)]);}[_0x5d316e(0x1a7)](){const _0xe427ac=_0x5d316e;this[_0xe427ac(0x248)](this[_0xe427ac(0x279)]['subscribeConfigValue$'](_0x3e0e61[_0xe427ac(0x1da)])['subscribe'](_0x44df83=>{const _0x1f77f2=_0xe427ac;this[_0x1f77f2(0x159)][_0x1f77f2(0x2bb)](_0x44df83||{});}));const _0x34c5fa=this['_configService'][_0xe427ac(0x1df)](_0x3e0e61[_0xe427ac(0x1da)]);this[_0xe427ac(0x159)][_0xe427ac(0x2bb)](_0x34c5fa||{}),this[_0xe427ac(0x248)](this['_configService'][_0xe427ac(0x228)](_0x12eb7e)['subscribe'](_0x1a4517=>{const _0x25b8aa=_0xe427ac;this[_0x25b8aa(0x210)][_0x25b8aa(0x2bb)](_0x1a4517||{});}));const _0x5552da=this['_configService'][_0xe427ac(0x1df)](_0x12eb7e);this['_config$'][_0xe427ac(0x2bb)](_0x5552da||{});}async[_0x5d316e(0x1bb)](){const _0x266b1e=_0x5d316e,_0x25d74f=this[_0x266b1e(0x279)][_0x266b1e(0x1df)](_0x12eb7e);if(!(_0x25d74f!=null&&_0x25d74f[_0x266b1e(0x2d7)]))return;const _0x3de5cf=await this[_0x266b1e(0x2d9)][_0x266b1e(0x25f)](_0x27a5f3);_0x3de5cf&&(this[_0x266b1e(0x18a)]['__setCustomHeaders']({'Authorization':_0x266b1e(0x1f7)+_0x3de5cf}),this[_0x266b1e(0x2a5)][_0x266b1e(0x2bb)](_0x3de5cf));}async['_validateConfig'](_0x2fe35a){const _0x5d4aa7=_0x5d316e;if(!_0x2fe35a['apiKey']||_0x2fe35a[_0x5d4aa7(0x200)][_0x5d4aa7(0x237)]()[_0x5d4aa7(0x26f)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5d4aa7(0x1c3)]['t'](_0x5d4aa7(0x194))};if(_0x2fe35a[_0x5d4aa7(0x200)][_0x5d4aa7(0x237)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x5d4aa7(0x1c3)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x240cc2=await this[_0x5d4aa7(0x28e)][_0x5d4aa7(0x286)](_0x3e0e61[_0x5d4aa7(0x192)])[_0x5d4aa7(0x1e9)](_0x2fe35a[_0x5d4aa7(0x200)][_0x5d4aa7(0x237)]());return _0x240cc2[_0x5d4aa7(0x26b)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x240cc2[_0x5d4aa7(0x23d)]||this[_0x5d4aa7(0x1c3)]['t'](_0x5d4aa7(0x163))};}catch(_0x46a726){return console[_0x5d4aa7(0x247)](_0x5d4aa7(0x1cb),_0x46a726),{'isValid':!0x0};}}},_0x2eccff[_0x5d316e(0x269)]=_0x5c8c1b([_0x3fa51d(0x0,_0x539d4b[_0x5d316e(0x22b)](_0x539d4b['Injector'])),_0x3fa51d(0x1,_0x41df60['IUIPartsService']),_0x3fa51d(0x2,_0x539d4b['IConfigService']),_0x3fa51d(0x3,_0x539d4b[_0x5d316e(0x209)]),_0x3fa51d(0x4,_0x41df60['IDialogService']),_0x3fa51d(0x5,_0x41df60[_0x5d316e(0x1cf)]),_0x3fa51d(0x6,_0x539d4b[_0x5d316e(0x22b)](_0x41df60[_0x5d316e(0x18f)])),_0x3fa51d(0x7,_0x539d4b[_0x5d316e(0x22b)](_0x539d4b[_0x5d316e(0x2af)])),_0x3fa51d(0x8,_0x539d4b['ILogService']),_0x3fa51d(0x9,_0x539d4b[_0x5d316e(0x22b)](_0x3e0e61['MCPConnectionController']))],_0x2eccff[_0x5d316e(0x269)]);const _0x4ed499={'id':_0x5d316e(0x17b),'type':_0x539d4b[_0x5d316e(0x2b4)][_0x5d316e(0x189)],'handler':async(_0x391b40,_0x574f4f)=>(_0x391b40['get'](_0x2eccff[_0x5d316e(0x269)])[_0x5d316e(0x1ec)](),!0x0)};function _0x3cad83(_0x758aab,_0x4f9601){const _0x10f85f=_0x5d316e;switch(_0x758aab){case _0x3e0e61[_0x10f85f(0x2a9)][_0x10f85f(0x24d)]:return _0x10f85f(0x25e);case _0x3e0e61[_0x10f85f(0x2a9)][_0x10f85f(0x1fd)]:return _0x10f85f(0x1cc);case _0x3e0e61[_0x10f85f(0x2a9)][_0x10f85f(0x18c)]:return _0x10f85f(0x1a3);case _0x3e0e61[_0x10f85f(0x2a9)]['FAILED']:switch(_0x4f9601){case _0x3e0e61[_0x10f85f(0x2db)][_0x10f85f(0x27c)]:return _0x10f85f(0x293);case _0x3e0e61[_0x10f85f(0x2db)][_0x10f85f(0x1c8)]:return'mcpStatus.sessionOccupied';case _0x3e0e61[_0x10f85f(0x2db)][_0x10f85f(0x2c1)]:return _0x10f85f(0x1dc);case _0x3e0e61[_0x10f85f(0x2db)][_0x10f85f(0x1d0)]:return _0x10f85f(0x2d8);default:return _0x10f85f(0x1b5);}case _0x3e0e61[_0x10f85f(0x2a9)][_0x10f85f(0x1dd)]:return _0x10f85f(0x29f);default:return _0x10f85f(0x226);}}function _0x48030a(_0xfbfb06,_0x1bd051,_0x22bdb1,_0x17a7c8=!0x0){const _0x5a4bda=_0x5d316e,_0x1c0b32=_0x3cad83(_0xfbfb06,_0x1bd051),_0x3f3fb2=_0x22bdb1['t'](_0x1c0b32);return _0x17a7c8?_0xfbfb06===_0x3e0e61[_0x5a4bda(0x2a9)][_0x5a4bda(0x24d)]&&_0x1bd051===_0x3e0e61[_0x5a4bda(0x2db)][_0x5a4bda(0x27c)]?_0x3f3fb2+'\x20-\x20'+_0x22bdb1['t'](_0x5a4bda(0x235)):_0xfbfb06===_0x3e0e61[_0x5a4bda(0x2a9)]['CONNECTED']?''+_0x3f3fb2:_0xfbfb06===_0x3e0e61[_0x5a4bda(0x2a9)][_0x5a4bda(0x24d)]||_0xfbfb06===_0x3e0e61[_0x5a4bda(0x2a9)][_0x5a4bda(0x22c)]?_0x3f3fb2+_0x5a4bda(0x170)+_0x22bdb1['t'](_0x5a4bda(0x1b1)):_0x3f3fb2:_0x3f3fb2;}function _0x9bc43f(_0x17f191){const _0x5b4341=_0x5d316e;switch(_0x17f191){case _0x3e0e61['MCPConnectionStatus']['CONNECTED']:return _0x5b4341(0x241);case _0x3e0e61[_0x5b4341(0x2a9)][_0x5b4341(0x1fd)]:case _0x3e0e61['MCPConnectionStatus']['RETRYING']:return _0x5b4341(0x22e);case _0x3e0e61[_0x5b4341(0x2a9)][_0x5b4341(0x22c)]:case _0x3e0e61[_0x5b4341(0x2a9)][_0x5b4341(0x24d)]:return'univer-text-red-500';default:return _0x5b4341(0x25b);}}function _0x246985(_0x15b1bc){const _0xb0dde8=_0x5d316e,{status$:_0x186506,error$:_0x3aa64c,onConfigure:_0x1aa34e,showClickable:_0x3bc622=!0x0}=_0x15b1bc,_0x1ad5be=_0x41df60[_0xb0dde8(0x204)](_0x186506,_0x3e0e61[_0xb0dde8(0x2a9)][_0xb0dde8(0x24d)]),_0x51cf96=_0x41df60[_0xb0dde8(0x204)](_0x3aa64c,_0x3e0e61[_0xb0dde8(0x2db)][_0xb0dde8(0x2d1)]),_0x1604c9=_0x41df60[_0xb0dde8(0x162)](_0x539d4b[_0xb0dde8(0x2af)]),_0x3f487d=_0x1ad5be===_0x3e0e61[_0xb0dde8(0x2a9)][_0xb0dde8(0x18c)];_0x1ad5be===_0x3e0e61['MCPConnectionStatus']['CONNECTING']||_0x3e0e61['MCPConnectionStatus'][_0xb0dde8(0x1dd)];const _0x281655=_0x1604c9['t'](_0x3cad83(_0x1ad5be,_0x51cf96)),_0x360222=_0x48030a(_0x1ad5be,_0x51cf96,_0x1604c9,_0x3bc622),_0x287f1c=_0x9bc43f(_0x1ad5be),_0x57bb20=_0x3f487d?_0x557513['jsx'](_0x483fa0,{}):_0x557513['jsx'](_0xc1ecab,{}),_0x4fd17=_0x1bf244[_0xb0dde8(0x29e)](()=>{_0x3bc622&&_0x1aa34e&&_0x1aa34e();},[_0x3bc622,_0x1aa34e]);function _0x1393d4(){const _0x3451ee=_0xb0dde8;return _0x557513[_0x3451ee(0x2be)]('div',{'className':_0x2ef692[_0x3451ee(0x26a)](_0x3451ee(0x195),_0x3bc622&&_0x1aa34e&&_0x3451ee(0x1f2)),'role':'button','onClick':_0x3bc622&&_0x1aa34e?_0x4fd17:void 0x0,'children':[_0x557513[_0x3451ee(0x1ce)](_0x3451ee(0x20b),{'className':_0x2ef692['clsx'](_0x3451ee(0x193),_0x287f1c),'children':_0x57bb20}),_0x557513['jsx'](_0x3451ee(0x20b),{'className':_0x3451ee(0x2df),'children':_0x281655})]});}return _0x557513[_0xb0dde8(0x1ce)](_0x2ef692[_0xb0dde8(0x1b2)],{'title':_0x360222,'placement':_0xb0dde8(0x2dc),'children':_0x1393d4()});}var _0x1ec494=Object[_0x5d316e(0x292)],_0x52c8e7=(_0xce89a4,_0x5e71fb,_0x256362,_0xfed82a)=>{const _0x44fa19=_0x5d316e;for(var _0x31b534=_0xfed82a>0x1?void 0x0:_0xfed82a?_0x1ec494(_0x5e71fb,_0x256362):_0x5e71fb,_0xf7de66=_0xce89a4[_0x44fa19(0x26f)]-0x1,_0x569171;_0xf7de66>=0x0;_0xf7de66--)(_0x569171=_0xce89a4[_0xf7de66])&&(_0x31b534=_0x569171(_0x31b534)||_0x31b534);return _0x31b534;},_0x3f411e=(_0x563dcb,_0x39b608)=>(_0x1c0829,_0x124b2b)=>_0x39b608(_0x1c0829,_0x124b2b,_0x563dcb);_0x2eccff['MCPConnectionUIController']=class extends _0x539d4b[_0x5d316e(0x16e)]{constructor(_0x4d1afe,_0x353a97,_0x1ee3de,_0x1a6454){const _0x471a04=_0x5d316e;super(),this[_0x471a04(0x28e)]=_0x4d1afe,this[_0x471a04(0x2b1)]=_0x353a97,this[_0x471a04(0x1b8)]=_0x1ee3de,this[_0x471a04(0x279)]=_0x1a6454,this[_0x471a04(0x22f)](),this[_0x471a04(0x182)]();}['_initAutoConnect'](){const _0x8fdb1e=_0x5d316e,_0xef26dc=this[_0x8fdb1e(0x279)][_0x8fdb1e(0x1df)](_0x12eb7e);_0xef26dc!=null&&_0xef26dc['showDeveloperTools']&&(this[_0x8fdb1e(0x2b1)]['enableAutoConnect']=!0x1);}[_0x5d316e(0x182)](){const _0x327041=_0x5d316e,_0x4775b2=this[_0x327041(0x279)]['getConfig'](_0x12eb7e);(_0x4775b2==null?void 0x0:_0x4775b2['showStatus'])!==!0x1&&this[_0x327041(0x248)](this[_0x327041(0x1b8)]['registerComponent'](_0x41df60[_0x327041(0x2c0)][_0x327041(0x2ce)],()=>{const _0x43bf7e=_0x327041;var _0x2abdcd;return _0x41df60[_0x43bf7e(0x2b8)](_0x283f78({'status$':this['_connectionController'][_0x43bf7e(0x1ad)],'error$':this[_0x43bf7e(0x2b1)][_0x43bf7e(0x24a)],'onConfigure':()=>this[_0x43bf7e(0x215)](),'showClickable':(_0x2abdcd=_0x4775b2==null?void 0x0:_0x4775b2[_0x43bf7e(0x2d7)])!=null?_0x2abdcd:!0x1}),this[_0x43bf7e(0x28e)]);}));}[_0x5d316e(0x215)](){const _0x46bb60=_0x5d316e;this[_0x46bb60(0x28e)][_0x46bb60(0x286)](_0x2eccff[_0x46bb60(0x269)])[_0x46bb60(0x1ec)]();}},_0x2eccff[_0x5d316e(0x207)]=_0x52c8e7([_0x3f411e(0x0,_0x539d4b[_0x5d316e(0x22b)](_0x539d4b['Injector'])),_0x3f411e(0x1,_0x539d4b[_0x5d316e(0x22b)](_0x3e0e61[_0x5d316e(0x192)])),_0x3f411e(0x2,_0x41df60[_0x5d316e(0x19d)]),_0x3f411e(0x3,_0x539d4b[_0x5d316e(0x1d3)])],_0x2eccff['MCPConnectionUIController']);function _0x283f78(_0x1b2f33){const {status$:_0x373725,error$:_0x3ad96d,onConfigure:_0x2005ea,showClickable:_0x45acc2}=_0x1b2f33;return function(){const _0x2492cb=_0x1f61;return _0x557513[_0x2492cb(0x1ce)](_0x246985,{'status$':_0x373725,'error$':_0x3ad96d,'onConfigure':_0x2005ea,'showClickable':_0x45acc2});};}function _0x59f755(_0xc7520d){const _0x142343=_0x5d316e;return{'id':_0x4ed499['id'],'type':_0x41df60['MenuItemType'][_0x142343(0x2dd)],'icon':'MenuIcon','title':_0x142343(0x223),'tooltip':_0x142343(0x223)};}const _0x1f5c54={[_0x41df60[_0x5d316e(0x19c)]['OTHERS']]:{[_0x4ed499['id']]:{'order':0xa,'menuItemFactory':_0x59f755}}};var _0x46383c=Object[_0x5d316e(0x292)],_0x4d0fb1=(_0x5cf25b,_0x5ae7a9,_0x11dca3,_0x322e8d)=>{const _0x366c4c=_0x5d316e;for(var _0x1df797=_0x322e8d>0x1?void 0x0:_0x322e8d?_0x46383c(_0x5ae7a9,_0x11dca3):_0x5ae7a9,_0x5ebc68=_0x5cf25b[_0x366c4c(0x26f)]-0x1,_0x40845f;_0x5ebc68>=0x0;_0x5ebc68--)(_0x40845f=_0x5cf25b[_0x5ebc68])&&(_0x1df797=_0x40845f(_0x1df797)||_0x1df797);return _0x1df797;},_0x4b5e7c=(_0x166507,_0x50eef1)=>(_0x1b80b3,_0x2a51b4)=>_0x50eef1(_0x1b80b3,_0x2a51b4,_0x166507);_0x2eccff[_0x5d316e(0x243)]=class extends _0x539d4b[_0x5d316e(0x16e)]{constructor(_0x5cb702,_0x253fe7){const _0x43f2c5=_0x5d316e;super(),this['_commandService']=_0x5cb702,this[_0x43f2c5(0x23f)]=_0x253fe7,this['_initializeCommands'](),this[_0x43f2c5(0x231)]();}[_0x5d316e(0x258)](){const _0x23901a=_0x5d316e;[_0x4ed499][_0x23901a(0x267)](_0x16e3a3=>{const _0xeafb94=_0x23901a;this[_0xeafb94(0x248)](this[_0xeafb94(0x166)][_0xeafb94(0x28d)](_0x16e3a3));});}[_0x5d316e(0x231)](){const _0x453449=_0x5d316e;this[_0x453449(0x23f)]['mergeMenu'](_0x1f5c54);}},_0x2eccff[_0x5d316e(0x243)]=_0x4d0fb1([_0x4b5e7c(0x0,_0x539d4b[_0x5d316e(0x21a)]),_0x4b5e7c(0x1,_0x41df60[_0x5d316e(0x288)])],_0x2eccff[_0x5d316e(0x243)]);const _0x8a384b={'mcpStatus':{'disconnected':_0x5d316e(0x216),'connecting':'MCP\x20Connecting...','connected':_0x5d316e(0x1c2),'failed':_0x5d316e(0x218),'retrying':_0x5d316e(0x205),'unknown':_0x5d316e(0x28f),'unauthorized':_0x5d316e(0x2a3),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x5d316e(0x1f0),'maxRetriesExceeded':_0x5d316e(0x22d),'clickToConnect':_0x5d316e(0x1e4),'clickToConfigure':_0x5d316e(0x2ac)},'mcpConfig':{'title':_0x5d316e(0x1ea),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5d316e(0x1ae),'apiKeyPlaceholder':_0x5d316e(0x1f4),'apiKeyHint':_0x5d316e(0x18d),'enableAuth':_0x5d316e(0x244),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5d316e(0x2d3),'mcpClientConfig':_0x5d316e(0x2d3),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x5d316e(0x17d),'configStep1':_0x5d316e(0x1ef),'configStep2':_0x5d316e(0x2cb),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x5d316e(0x1d7),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x5d316e(0x174),'save':_0x5d316e(0x257),'saving':_0x5d316e(0x221),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x5d316e(0x15e),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x5d316e(0x157),'apiApplyInfo':{'title':_0x5d316e(0x20c),'description':_0x5d316e(0x2d4),'univerAiLabel':_0x5d316e(0x271),'getStarted':_0x5d316e(0x1ca)},'validation':{'apiKeyRequired':_0x5d316e(0x29d),'apiKeyTooShort':_0x5d316e(0x1e7),'invalidConfig':_0x5d316e(0x17f),'invalidApiKey':_0x5d316e(0x161)},'connectionStatus':{'disconnected':_0x5d316e(0x2b7),'connecting':_0x5d316e(0x29c),'connected':_0x5d316e(0x16f),'failed':_0x5d316e(0x2cd),'retrying':_0x5d316e(0x15f)},'connectionError':{'unauthorized':_0x5d316e(0x20a),'sessionOccupied':_0x5d316e(0x179),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x5d316e(0x2a6)}}},_0x2b9136={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x5d316e(0x176),'retrying':_0x5d316e(0x265),'unknown':_0x5d316e(0x2c9),'unauthorized':_0x5d316e(0x290),'sessionOccupied':_0x5d316e(0x1d9),'networkError':_0x5d316e(0x282),'maxRetriesExceeded':_0x5d316e(0x1c4),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x5d316e(0x1db)},'mcpConfig':{'title':_0x5d316e(0x296),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':'API\x20密钥','apiKeyPlaceholder':_0x5d316e(0x214),'apiKeyHint':_0x5d316e(0x261),'enableAuth':_0x5d316e(0x1fa),'enableAuthHint':_0x5d316e(0x26e),'connectionInfo':_0x5d316e(0x202),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x5d316e(0x1bd),'configStepTitle':_0x5d316e(0x2c7),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x5d316e(0x1aa),'configStep3':_0x5d316e(0x21d),'sessionId':_0x5d316e(0x2c5),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x5d316e(0x18b),'maxRetries':_0x5d316e(0x155),'save':_0x5d316e(0x1c1),'saving':_0x5d316e(0x263),'note1':_0x5d316e(0x16c),'note2':_0x5d316e(0x2b5),'configSaved':_0x5d316e(0x201),'configError':_0x5d316e(0x27a),'apiApplyInfo':{'title':_0x5d316e(0x274),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x5d316e(0x1a9)},'validation':{'apiKeyRequired':_0x5d316e(0x1d2),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':_0x5d316e(0x242)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x5d316e(0x222),'failed':_0x5d316e(0x1e6),'retrying':_0x5d316e(0x2cc)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x5d316e(0x21b),'maxRetriesExceeded':_0x5d316e(0x173)}}};var _0x1fe34b=Object[_0x5d316e(0x1f3)],_0x128424=Object[_0x5d316e(0x292)],_0x20bffb=(_0xe44456,_0x371f98,_0x16b7eb)=>_0x371f98 in _0xe44456?_0x1fe34b(_0xe44456,_0x371f98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16b7eb}):_0xe44456[_0x371f98]=_0x16b7eb,_0x5d2ab3=(_0x440c81,_0x3e162d,_0x711b0d,_0x436cb4)=>{const _0x392790=_0x5d316e;for(var _0x57966a=_0x436cb4>0x1?void 0x0:_0x436cb4?_0x128424(_0x3e162d,_0x711b0d):_0x3e162d,_0x1f6db5=_0x440c81[_0x392790(0x26f)]-0x1,_0x29d63f;_0x1f6db5>=0x0;_0x1f6db5--)(_0x29d63f=_0x440c81[_0x1f6db5])&&(_0x57966a=_0x29d63f(_0x57966a)||_0x57966a);return _0x57966a;},_0x1d395a=(_0x5dff3b,_0x18dc44)=>(_0x44417a,_0x474581)=>_0x18dc44(_0x44417a,_0x474581,_0x5dff3b),_0x4bac75=(_0x34c9bf,_0x5bbcb6,_0x121bae)=>_0x20bffb(_0x34c9bf,_0x5bbcb6+'',_0x121bae);_0x2eccff['UniverMCPUIPlugin']=class extends _0x539d4b[_0x5d316e(0x1f8)]{constructor(_0xa9a794=_0x4dcfe9,_0x24ad14,_0x21bad5,_0x3074bb,_0x3afbde,_0x13f12e){const _0x117fc2=_0x5d316e;super(),this[_0x117fc2(0x188)]=_0xa9a794,this[_0x117fc2(0x28e)]=_0x24ad14,this[_0x117fc2(0x279)]=_0x21bad5,this[_0x117fc2(0x1b8)]=_0x3074bb,this[_0x117fc2(0x2d9)]=_0x3afbde,this[_0x117fc2(0x1c3)]=_0x13f12e;const {..._0x2b6b56}=_0x539d4b[_0x117fc2(0x19a)]({},_0x4dcfe9,this[_0x117fc2(0x188)]);this[_0x117fc2(0x279)][_0x117fc2(0x1a8)](_0x12eb7e,_0x2b6b56);}async[_0x5d316e(0x2c8)](){const _0x4de2c9=_0x5d316e,_0x35c19f=[[_0x2eccff[_0x4de2c9(0x207)]],[_0x2eccff[_0x4de2c9(0x269)]],[_0x2eccff[_0x4de2c9(0x243)]]];this['_injector']['has'](_0x1e49a1[_0x4de2c9(0x24f)])||_0x35c19f[_0x4de2c9(0x2aa)]([_0x1e49a1['ISocketService'],{'useClass':_0x1e49a1[_0x4de2c9(0x16d)]}]),_0x35c19f[_0x4de2c9(0x267)](_0x2742c0=>this[_0x4de2c9(0x28e)][_0x4de2c9(0x27b)](_0x2742c0)),this[_0x4de2c9(0x28e)][_0x4de2c9(0x286)](_0x2eccff['MCPConnectionUIController']),this[_0x4de2c9(0x28e)][_0x4de2c9(0x286)](_0x2eccff[_0x4de2c9(0x269)]),this[_0x4de2c9(0x28e)]['get'](_0x2eccff[_0x4de2c9(0x243)]);}},_0x4bac75(_0x2eccff[_0x5d316e(0x252)],'pluginName','MCP_UI_PLUGIN'),_0x2eccff[_0x5d316e(0x252)]=_0x5d2ab3([_0x539d4b[_0x5d316e(0x250)](_0x3e0e61[_0x5d316e(0x15c)]),_0x1d395a(0x1,_0x539d4b[_0x5d316e(0x22b)](_0x539d4b[_0x5d316e(0x1fc)])),_0x1d395a(0x2,_0x539d4b['IConfigService']),_0x1d395a(0x3,_0x41df60[_0x5d316e(0x19d)]),_0x1d395a(0x4,_0x539d4b[_0x5d316e(0x209)]),_0x1d395a(0x5,_0x539d4b[_0x5d316e(0x22b)](_0x539d4b[_0x5d316e(0x2af)]))],_0x2eccff['UniverMCPUIPlugin']),_0x2eccff['MCPConfigPanel']=_0x30e6ff,_0x2eccff[_0x5d316e(0x2bd)]=_0x246985,_0x2eccff['OpenMCPConfigPanelCommand']=_0x4ed499,_0x2eccff['enUS']=_0x8a384b,_0x2eccff[_0x5d316e(0x1e1)]=_0x2b9136,Object['defineProperty'](_0x2eccff,Symbol[_0x5d316e(0x1a6)],{'value':_0x5d316e(0x18e)});}));
1
+ function _0x5ac4(_0x3dd329,_0x22e0d0){_0x3dd329=_0x3dd329-0xb6;const _0x4598ae=_0x4598();let _0x5ac421=_0x4598ae[_0x3dd329];return _0x5ac421;}(function(_0x51372a,_0x324227){const _0x2e82ce=_0x5ac4,_0x26191f=_0x51372a();while(!![]){try{const _0x3cded8=-parseInt(_0x2e82ce(0x203))/0x1*(parseInt(_0x2e82ce(0x1dc))/0x2)+parseInt(_0x2e82ce(0xdf))/0x3*(-parseInt(_0x2e82ce(0xc8))/0x4)+-parseInt(_0x2e82ce(0x1a3))/0x5+-parseInt(_0x2e82ce(0x1d3))/0x6+-parseInt(_0x2e82ce(0x217))/0x7+parseInt(_0x2e82ce(0x189))/0x8+parseInt(_0x2e82ce(0x106))/0x9*(parseInt(_0x2e82ce(0x243))/0xa);if(_0x3cded8===_0x324227)break;else _0x26191f['push'](_0x26191f['shift']());}catch(_0x542092){_0x26191f['push'](_0x26191f['shift']());}}}(_0x4598,0x4d88c),function(_0x514ede,_0xf330a4){const _0x36a03d=_0x5ac4;typeof exports=='object'&&typeof module<'u'?_0xf330a4(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x36a03d(0x112)&&define[_0x36a03d(0x1d1)]?define(['exports',_0x36a03d(0x136),'react/jsx-runtime',_0x36a03d(0x1f1),'@univerjs/design',_0x36a03d(0x178),_0x36a03d(0x1a1),_0x36a03d(0xc0),_0x36a03d(0xe6)],_0xf330a4):(_0x514ede=typeof globalThis<'u'?globalThis:_0x514ede||self,_0xf330a4(_0x514ede[_0x36a03d(0x168)]={},_0x514ede['UniverCore'],_0x514ede['React'],_0x514ede[_0x36a03d(0x11d)],_0x514ede[_0x36a03d(0x17d)],_0x514ede['UniverUi'],_0x514ede['rxjs'],_0x514ede[_0x36a03d(0x200)],_0x514ede[_0x36a03d(0x17c)]));}(this,function(_0x5b8305,_0x35ef1b,_0x2cbebd,_0x59d020,_0x2192e3,_0x18cbad,_0x2291bd,_0x3c333b,_0x28dbcf){'use strict';const _0x3c3006=_0x5ac4;var _0x223035=Object[_0x3c3006(0x1ca)],_0x3fe349=(_0x2a20ac,_0x3a54d7,_0x37164e)=>_0x3a54d7 in _0x2a20ac?_0x223035(_0x2a20ac,_0x3a54d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37164e}):_0x2a20ac[_0x3a54d7]=_0x37164e,_0x85b48d=(_0x596e8e,_0xeacfa,_0x6bf575)=>_0x3fe349(_0x596e8e,typeof _0xeacfa!=_0x3c3006(0x1b1)?_0xeacfa+'':_0xeacfa,_0x6bf575);function _0x2fa21c({ref:_0x297c75,..._0x2208ca}){const {icon:_0x330c90,id:_0x5c96f5,className:_0x212195,extend:_0x40136a,..._0x260050}=_0x2208ca,_0xf4da06=('univerjs-icon\x20univerjs-icon-'+_0x5c96f5+'\x20'+(_0x212195||''))['trim'](),_0x440346=_0x3c333b['useRef']('_'+_0x577fa4());return _0x5ab4c1(_0x330c90,''+_0x5c96f5,{'defIds':_0x330c90['defIds'],'idSuffix':_0x440346['current']},{'ref':_0x297c75,'className':_0xf4da06,..._0x260050},_0x40136a);}function _0x5ab4c1(_0x3f8737,_0x29f156,_0x547e65,_0x577607,_0x67dfe7){const _0x3de398=_0x3c3006;return _0x3c333b[_0x3de398(0xcf)](_0x3f8737['tag'],{'key':_0x29f156,..._0x15f278(_0x3f8737,_0x547e65,_0x67dfe7),..._0x577607},(_0x1c583b(_0x3f8737,_0x547e65)[_0x3de398(0xee)]||[])['map']((_0x306ef3,_0x276b2f)=>_0x5ab4c1(_0x306ef3,_0x29f156+'-'+_0x3f8737[_0x3de398(0xbe)]+'-'+_0x276b2f,_0x547e65,void 0x0,_0x67dfe7)));}function _0x15f278(_0x354e2a,_0x1ee6a2,_0xefae1f){const _0x45c0aa=_0x3c3006,_0x36df63={..._0x354e2a[_0x45c0aa(0x242)]};_0xefae1f!=null&&_0xefae1f[_0x45c0aa(0x163)]&&_0x36df63['fill']===_0x45c0aa(0x163)&&(_0x36df63[_0x45c0aa(0x23d)]=_0xefae1f[_0x45c0aa(0x163)]),_0x354e2a['tag']===_0x45c0aa(0x214)&&_0x36df63['id']&&(_0x36df63['id']=_0x36df63['id']+_0x1ee6a2[_0x45c0aa(0x1a0)]),Object[_0x45c0aa(0x1e7)](_0x36df63)['forEach'](([_0x589264,_0x5606a3])=>{const _0x3cd930=_0x45c0aa;_0x589264===_0x3cd930(0x214)&&typeof _0x5606a3==_0x3cd930(0x1fb)&&(_0x36df63[_0x589264]=_0x5606a3[_0x3cd930(0x1b6)](/url\(#(.*)\)/,_0x3cd930(0x20b)+_0x1ee6a2['idSuffix']+')'));});const {defIds:_0x121b3f}=_0x1ee6a2;return!_0x121b3f||_0x121b3f['length']===0x0||(_0x354e2a[_0x45c0aa(0xbe)]===_0x45c0aa(0x147)&&_0x36df63[_0x45c0aa(0x122)]&&(_0x36df63['xlink:href']=_0x36df63[_0x45c0aa(0x122)]+_0x1ee6a2[_0x45c0aa(0x1a0)]),Object['entries'](_0x36df63)[_0x45c0aa(0x129)](([_0x5afd53,_0xda0d9e])=>{const _0x1e7d98=_0x45c0aa;typeof _0xda0d9e==_0x1e7d98(0x1fb)&&(_0x36df63[_0x5afd53]=_0xda0d9e[_0x1e7d98(0x1b6)](/url\(#(.*)\)/,'url(#$1'+_0x1ee6a2[_0x1e7d98(0x1a0)]+')'));})),_0x36df63;}function _0x1c583b(_0x13ee6a,_0x3ba3b8){const _0x38e849=_0x3c3006;var _0x4f3bfd;const {defIds:_0x36fc02}=_0x3ba3b8;return!_0x36fc02||_0x36fc02[_0x38e849(0xda)]===0x0?_0x13ee6a:_0x13ee6a[_0x38e849(0xbe)]==='defs'&&((_0x4f3bfd=_0x13ee6a[_0x38e849(0xee)])!=null&&_0x4f3bfd[_0x38e849(0xda)])?{..._0x13ee6a,'children':_0x13ee6a['children'][_0x38e849(0x220)](_0x58cff6=>typeof _0x58cff6[_0x38e849(0x242)]['id']==_0x38e849(0x1fb)&&_0x36fc02&&_0x36fc02[_0x38e849(0x207)](_0x58cff6[_0x38e849(0x242)]['id'])?{..._0x58cff6,'attrs':{..._0x58cff6[_0x38e849(0x242)],'id':_0x58cff6['attrs']['id']+_0x3ba3b8[_0x38e849(0x1a0)]}}:_0x58cff6)}:_0x13ee6a;}function _0x577fa4(){const _0x244f19=_0x3c3006;return Math[_0x244f19(0x13d)]()[_0x244f19(0x120)](0x24)[_0x244f19(0x234)](0x2,0x8);}_0x2fa21c[_0x3c3006(0x1bb)]=_0x3c3006(0xf8);const _0xe2c57={'tag':_0x3c3006(0x17b),'attrs':{'xmlns':_0x3c3006(0xba),'fill':'none','viewBox':_0x3c3006(0x19c),'width':_0x3c3006(0xcc),'height':_0x3c3006(0xcc)},'children':[{'tag':_0x3c3006(0x1a4),'attrs':{'fill':'currentColor','d':_0x3c3006(0x19b),'fillRule':_0x3c3006(0x1e8),'clipRule':_0x3c3006(0x1e8)}}]},_0x2e0aa0=_0x3c333b[_0x3c3006(0x154)](function(_0x5dd004,_0x304e71){const _0x1320cc=_0x3c3006;return _0x3c333b[_0x1320cc(0xcf)](_0x2fa21c,Object[_0x1320cc(0x104)]({},_0x5dd004,{'id':_0x1320cc(0x1ba),'ref':_0x304e71,'icon':_0xe2c57}));});_0x2e0aa0[_0x3c3006(0x1bb)]=_0x3c3006(0x16e);const _0x7a6d58={'tag':_0x3c3006(0x17b),'attrs':{'xmlns':_0x3c3006(0xba),'fill':_0x3c3006(0x12b),'viewBox':_0x3c3006(0x19c),'width':_0x3c3006(0xcc),'height':_0x3c3006(0xcc)},'children':[{'tag':_0x3c3006(0x1a4),'attrs':{'fill':_0x3c3006(0x1a2),'d':'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'}}]},_0x2d6fb5=_0x3c333b['forwardRef'](function(_0x2ec515,_0x18bc87){const _0x495a38=_0x3c3006;return _0x3c333b[_0x495a38(0xcf)](_0x2fa21c,Object[_0x495a38(0x104)]({},_0x2ec515,{'id':_0x495a38(0xc1),'ref':_0x18bc87,'icon':_0x7a6d58}));});_0x2d6fb5[_0x3c3006(0x1bb)]=_0x3c3006(0x155);const _0x29851a={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3c3006(0x19c),'width':_0x3c3006(0xcc),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x3c3006(0xcb)}},{'tag':'path','attrs':{'fill':_0x3c3006(0x1a2),'d':_0x3c3006(0x211)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x3c3006(0x111),'fillRule':_0x3c3006(0x1e8),'clipRule':'evenodd'}}]},_0x50ea44=_0x3c333b[_0x3c3006(0x154)](function(_0x361233,_0xa0b09){const _0x427dd6=_0x3c3006;return _0x3c333b[_0x427dd6(0xcf)](_0x2fa21c,Object[_0x427dd6(0x104)]({},_0x361233,{'id':_0x427dd6(0xe0),'ref':_0xa0b09,'icon':_0x29851a}));});_0x50ea44[_0x3c3006(0x1bb)]=_0x3c3006(0x22c);const _0x592311={'tag':_0x3c3006(0x17b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3c3006(0x19c),'width':_0x3c3006(0xcc),'height':_0x3c3006(0xcc)},'children':[{'tag':'g','attrs':{'clipPath':_0x3c3006(0x23b)},'children':[{'tag':_0x3c3006(0x1a4),'attrs':{'stroke':_0x3c3006(0x1a2),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x3c3006(0x123),'strokeLinejoin':_0x3c3006(0x123),'strokeWidth':1.2}}]},{'tag':_0x3c3006(0x1e0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x3c3006(0xfa),'d':_0x3c3006(0x12e)}}]}]}],'defIds':[_0x3c3006(0xbb)]},_0x16bb40=_0x3c333b[_0x3c3006(0x154)](function(_0x5273f1,_0x58b37c){const _0x534ef5=_0x3c3006;return _0x3c333b['createElement'](_0x2fa21c,Object[_0x534ef5(0x104)]({},_0x5273f1,{'id':'off-line-icon','ref':_0x58b37c,'icon':_0x592311}));});_0x16bb40[_0x3c3006(0x1bb)]='OffLineIcon';const _0x1b8fa9={'tag':_0x3c3006(0x17b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3c3006(0x12b),'viewBox':_0x3c3006(0x188),'width':_0x3c3006(0xcc),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3c3006(0x231)},'children':[{'tag':'path','attrs':{'stroke':_0x3c3006(0x1a2),'d':_0x3c3006(0x224),'strokeLinecap':_0x3c3006(0x123),'strokeLinejoin':_0x3c3006(0x123),'strokeWidth':1.2}}]},{'tag':_0x3c3006(0x1e0),'attrs':{},'children':[{'tag':_0x3c3006(0x10e),'attrs':{'id':_0x3c3006(0x1b8)},'children':[{'tag':_0x3c3006(0x1a4),'attrs':{'fill':_0x3c3006(0xfa),'d':'M0\x200H16V16H0z','transform':_0x3c3006(0x1d7)}}]}]}],'defIds':[_0x3c3006(0x1b8)]},_0x59c0d6=_0x3c333b['forwardRef'](function(_0x5e2497,_0x52168a){const _0x3c1446=_0x3c3006;return _0x3c333b[_0x3c1446(0xcf)](_0x2fa21c,Object[_0x3c1446(0x104)]({},_0x5e2497,{'id':_0x3c1446(0xfe),'ref':_0x52168a,'icon':_0x1b8fa9}));});_0x59c0d6[_0x3c3006(0x1bb)]=_0x3c3006(0x227);function _0x1054d1(_0x4cdc0f){const _0x5bb05a=_0x3c3006;var _0x4396e8,_0x3a81c2;const {mcpCoreConfig:_0x2e4bb0,onSave:_0x4ed4fe,loading:_0x114e7e=!0x1,config:_0x1701ca,connectionStatus$:_0x21dccc,connectionError$:_0x4e1075,currentApiKey$:_0x18e3dc,currentSessionId$:_0x20051c}=_0x4cdc0f,_0x3e95c3=_0x18cbad[_0x5bb05a(0x1d6)](_0x35ef1b[_0x5bb05a(0x198)]),_0x2cd371=_0x18cbad['useObservable'](_0x21dccc,_0x59d020[_0x5bb05a(0x13a)]['DISCONNECTED']),_0x9e668a=_0x18cbad[_0x5bb05a(0xeb)](_0x4e1075,_0x59d020[_0x5bb05a(0x16a)]['NONE']),_0x4b0878=_0x18cbad[_0x5bb05a(0xeb)](_0x20051c,''),_0x59ddff=_0x18cbad['useObservable'](_0x18e3dc,''),[_0x5d542e,_0x130160]=_0x3c333b[_0x5bb05a(0x235)](_0x59ddff||''),_0x402448=!0x0,_0x498027=_0x1701ca[_0x5bb05a(0x14a)]&&_0x2e4bb0[_0x5bb05a(0x193)]&&(_0x2e4bb0[_0x5bb05a(0x193)][_0x5bb05a(0x207)](_0x5bb05a(0x1f3))||_0x2e4bb0[_0x5bb05a(0x193)][_0x5bb05a(0x207)](_0x5bb05a(0x1ad))),_0x2b1b27=(_0x4396e8=_0x2e4bb0['mcpServerUrl'])==null?void 0x0:_0x4396e8[_0x5bb05a(0x207)](_0x5bb05a(0x1f3)),_0x89f965=(_0x3a81c2=_0x2e4bb0[_0x5bb05a(0x193)])==null?void 0x0:_0x3a81c2['includes'](_0x5bb05a(0x1ad)),_0x5c7686=_0x2b1b27?_0x5bb05a(0x199):_0x5bb05a(0x1c6),_0xb0529d=_0x1701ca[_0x5bb05a(0x14a)]&&(_0x2b1b27||_0x89f965),[_0x4bc242,_0x202c7f]=_0x3c333b[_0x5bb05a(0x235)](!_0x5d542e[_0x5bb05a(0x204)]()),_0x178a67=(_0x581c04,_0x1cd042)=>{const _0x2c9180=_0x5bb05a;if(_0x1cd042===_0x59d020[_0x2c9180(0x16a)][_0x2c9180(0x165)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x581c04){case _0x59d020[_0x2c9180(0x13a)][_0x2c9180(0x196)]:return _0x2c9180(0x1bc);case _0x59d020[_0x2c9180(0x13a)][_0x2c9180(0x11c)]:case _0x59d020['MCPConnectionStatus'][_0x2c9180(0x15b)]:return _0x2c9180(0xb8);case _0x59d020[_0x2c9180(0x13a)][_0x2c9180(0xd3)]:return _0x2c9180(0x23a);default:return _0x2c9180(0xec);}},_0xde11ca=(_0x3ed694,_0x2d7ba0)=>{const _0x26a0b1=_0x5bb05a;if(_0x2d7ba0===_0x59d020['MCPConnectionError'][_0x26a0b1(0x165)])return'univer-bg-red-500';switch(_0x3ed694){case _0x59d020[_0x26a0b1(0x13a)][_0x26a0b1(0x196)]:return _0x26a0b1(0x1c2);case _0x59d020[_0x26a0b1(0x13a)][_0x26a0b1(0x11c)]:case _0x59d020[_0x26a0b1(0x13a)][_0x26a0b1(0x15b)]:return _0x26a0b1(0xf4);case _0x59d020['MCPConnectionStatus'][_0x26a0b1(0xd3)]:return _0x26a0b1(0x1a7);default:return _0x26a0b1(0x223);}},_0x29ff37=_0x32c2fe=>{const _0x4fc21b=_0x5bb05a;switch(_0x32c2fe){case _0x59d020[_0x4fc21b(0x13a)]['CONNECTED']:return _0x3e95c3['t'](_0x4fc21b(0x190));case _0x59d020['MCPConnectionStatus'][_0x4fc21b(0x11c)]:return _0x3e95c3['t'](_0x4fc21b(0x114));case _0x59d020[_0x4fc21b(0x13a)][_0x4fc21b(0xd3)]:return _0x3e95c3['t'](_0x4fc21b(0xe1));case _0x59d020['MCPConnectionStatus']['RETRYING']:return _0x3e95c3['t']('mcpConfig.connectionStatus.retrying');default:return _0x3e95c3['t']('mcpConfig.connectionStatus.disconnected');}},_0x43678d=_0x3511a8=>{const _0x4361ce=_0x5bb05a;switch(_0x3511a8){case _0x59d020[_0x4361ce(0x16a)]['UNAUTHORIZED']:return _0x3e95c3['t'](_0x4361ce(0x17e));case _0x59d020[_0x4361ce(0x16a)][_0x4361ce(0x1d0)]:return _0x3e95c3['t'](_0x4361ce(0xde));case _0x59d020['MCPConnectionError']['NETWORK_ERROR']:return _0x3e95c3['t']('mcpConfig.connectionError.networkError');case _0x59d020[_0x4361ce(0x16a)][_0x4361ce(0x1eb)]:return _0x3e95c3['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x33ae51=_0x3c333b[_0x5bb05a(0x245)](()=>{const _0x3ba753={..._0x2e4bb0,'apiKey':_0x5d542e['trim'](),'enableAuth':_0x402448};_0x4ed4fe(_0x3ba753);},[_0x2e4bb0,_0x5d542e,_0x402448,_0x4ed4fe]),_0x26bc41=_0x5d542e[_0x5bb05a(0x204)]()[_0x5bb05a(0xda)]>0x0;return _0x2cbebd[_0x5bb05a(0x105)]('div',{'className':_0x5bb05a(0x128),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x144),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1e4),'children':_0x2cbebd[_0x5bb05a(0x131)]('span',{'className':'univer-text-white','children':'⚙'})}),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'children':_0x2cbebd[_0x5bb05a(0x131)]('p',{'className':_0x5bb05a(0x133),'children':_0x3e95c3['t'](_0x5bb05a(0x107))})})]})}),_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x2cbebd[_0x5bb05a(0x131)]('div',{'className':_0x2192e3[_0x5bb05a(0x1dd)](_0x5bb05a(0xb7),_0x178a67(_0x2cd371,_0x9e668a)),'children':_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x2192e3[_0x5bb05a(0x1dd)]('univer-size-2\x20univer-rounded-full',_0xde11ca(_0x2cd371,_0x9e668a))}),_0x2cbebd[_0x5bb05a(0x131)]('span',{'className':_0x5bb05a(0x130),'children':_0x29ff37(_0x2cd371)})]})}),_0x9e668a!==_0x59d020[_0x5bb05a(0x16a)]['NONE']&&(_0x2cd371===_0x59d020[_0x5bb05a(0x13a)][_0x5bb05a(0xd3)]||_0x9e668a===_0x59d020[_0x5bb05a(0x16a)][_0x5bb05a(0x165)])&&_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x167),'children':_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x13e),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x2cbebd[_0x5bb05a(0x131)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x43678d(_0x9e668a)})]})})]}),_0x2cbebd[_0x5bb05a(0x131)]('div',{'className':_0x5bb05a(0x1f4),'children':_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1bd),'children':[_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x16c),'children':[_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0x12c),{'className':_0x5bb05a(0xf1),'children':[_0x2cbebd[_0x5bb05a(0x131)]('span',{'children':'🔑'}),'\x20',_0x3e95c3['t']('mcpConfig.apiKey'),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':'univer-text-red-500','children':'*'}),_0x498027&&_0x2cbebd[_0x5bb05a(0x131)]('a',{'className':_0x5bb05a(0x21a),'title':_0x3e95c3['t'](_0x5bb05a(0x1c0)),'role':_0x5bb05a(0x1d2),'onClick':()=>_0x202c7f(!0x0),'children':_0x2cbebd['jsx'](_0x50ea44,{})})]}),_0x2cbebd[_0x5bb05a(0x131)](_0x2192e3[_0x5bb05a(0xe7)],{'type':_0x5bb05a(0x1db),'placeholder':_0x3e95c3['t'](_0x5bb05a(0x1a5)),'value':_0x5d542e,'disabled':_0x114e7e,'autoComplete':_0x5bb05a(0x215),'onChange':_0x130160}),_0x2cbebd['jsx']('p',{'className':_0x5bb05a(0x1cf),'children':_0x3e95c3['t']('mcpConfig.apiKeyHint')})]}),_0x498027&&_0x4bc242&&_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xdc),'children':[_0x2cbebd[_0x5bb05a(0x131)]('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':_0x5bb05a(0x1d2),'onClick':()=>_0x202c7f(!0x1),'children':_0x2cbebd['jsx'](_0x2d6fb5,{'className':'univer-size-4'})}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x2cbebd['jsx']('div',{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0xd7),'children':'🚀'})}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':_0x5bb05a(0x152),'children':[_0x2cbebd[_0x5bb05a(0x131)]('h4',{'className':_0x5bb05a(0x1c4),'children':_0x3e95c3['t']('mcpConfig.apiApplyInfo.title')}),_0x2cbebd[_0x5bb05a(0x131)]('p',{'className':_0x5bb05a(0xb6),'children':_0x3e95c3['t'](_0x5bb05a(0x140))}),_0x2cbebd[_0x5bb05a(0x131)]('div',{'className':_0x5bb05a(0x149),'children':_0xb0529d&&_0x2cbebd['jsxs']('a',{'className':_0x5bb05a(0x1af),'href':_0x5c7686,'target':_0x5bb05a(0x21b),'rel':_0x5bb05a(0x205),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'children':'🤖'}),_0x3e95c3['t'](_0x5bb05a(0x1ae)),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x3e95c3['t'](_0x5bb05a(0x180))]})]})]})]}),_0x1701ca[_0x5bb05a(0x14a)]&&_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x20a),'children':[_0x2cbebd['jsxs']('h4',{'className':_0x5bb05a(0xff),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'children':'🔗'}),'\x20',_0x3e95c3['t'](_0x5bb05a(0x194))]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x210),'children':[_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1cd),'children':[_0x2cbebd['jsx']('p',{'className':_0x5bb05a(0x17a),'children':_0x3e95c3['t'](_0x5bb05a(0x20c))}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-space-y-2','children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xf2),'children':_0x3e95c3['t']('mcpConfig.configStepTitle')}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd['jsx']('span',{'className':_0x5bb05a(0x137),'children':'1'}),_0x3e95c3['t'](_0x5bb05a(0x156))]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0x137),'children':'2'}),_0x3e95c3['t'](_0x5bb05a(0xc4))]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0x137),'children':'3'}),_0x3e95c3['t'](_0x5bb05a(0x15a))]})]})]})]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x16c),'children':[_0x2cbebd['jsx'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xf2),'children':_0x5bb05a(0x116)}),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x157),'children':_0x2cbebd[_0x5bb05a(0x131)]('pre',{'className':_0x5bb05a(0x1c7),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x5bb05a(0x13f)+(_0x4b0878||_0x5bb05a(0x1ea)),'type':_0x5bb05a(0x11f),'headers':{'Authorization':_0x5bb05a(0x14d)+(_0x5d542e||_0x5bb05a(0x1c5))}}}},null,0x2)})})]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1cd),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xf2),'children':_0x3e95c3['t'](_0x5bb05a(0x19a))}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x16c),'children':[_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x240),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1f6)}),_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1be),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x20f),'children':_0x5bb05a(0x1ec)}),_0x2cbebd['jsx'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1cf),'children':_0x3e95c3['t'](_0x5bb05a(0x14b))})]})]}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x2cbebd[_0x5bb05a(0x131)]('div',{'className':_0x5bb05a(0x1f6)}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1be),'children':[_0x2cbebd['jsx'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x20f),'children':_0x5bb05a(0x170)}),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x3e95c3['t'](_0x5bb05a(0x206))})]})]})]})]})]})]}),_0x2cbebd['jsx'](_0x2192e3['Button'],{'onClick':_0x33ae51,'disabled':!_0x26bc41||_0x114e7e,'className':_0x5bb05a(0x1cc),'children':_0x114e7e?_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'children':'⟲'}),_0x3e95c3['t']('mcpConfig.saving')]}):_0x2cbebd[_0x5bb05a(0x105)]('span',{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x2e0aa0,{}),_0x3e95c3['t'](_0x5bb05a(0x219))]})}),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xd1),'children':_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x225),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0x183),'children':'💡'}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x119),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':'univer-font-medium','children':_0x5bb05a(0x18f)}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'children':['•',_0x3e95c3['t'](_0x5bb05a(0x191))]}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'children':['•',_0x3e95c3['t'](_0x5bb05a(0x229))]})]})]})})]})})]});}const _0xc1c378=_0x3c3006(0x12f),_0x32265d={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x522186=Object[_0x3c3006(0x138)],_0x33dc13=(_0xdf58bd,_0x499f2f,_0x5bb9bc,_0x4001bb)=>{const _0x4b3357=_0x3c3006;for(var _0x360a04=_0x4001bb>0x1?void 0x0:_0x4001bb?_0x522186(_0x499f2f,_0x5bb9bc):_0x499f2f,_0x6ea042=_0xdf58bd[_0x4b3357(0xda)]-0x1,_0x2102a8;_0x6ea042>=0x0;_0x6ea042--)(_0x2102a8=_0xdf58bd[_0x6ea042])&&(_0x360a04=_0x2102a8(_0x360a04)||_0x360a04);return _0x360a04;},_0xb710c9=(_0x57e4ba,_0x312a27)=>(_0x5db554,_0x407fa4)=>_0x312a27(_0x5db554,_0x407fa4,_0x57e4ba);const _0x43ef9c=_0x3c3006(0xc3),_0x165025=_0x3c3006(0x145);_0x5b8305['MCPConfigUIController']=class extends _0x35ef1b[_0x3c3006(0xc2)]{constructor(_0x4222ab,_0x22d125,_0x2f46e2,_0x5c6aa5,_0x3700ef,_0x2ff90b,_0x3323ef,_0x181bd5,_0x240d73,_0x56bd1f){const _0x59547d=_0x3c3006;super(),_0x85b48d(this,_0x59547d(0x1f0),new _0x2291bd[(_0x59547d(0xf6))](!0x1)),_0x85b48d(this,_0x59547d(0x246),new _0x2291bd[(_0x59547d(0xf6))]({})),_0x85b48d(this,'_config$',new _0x2291bd[(_0x59547d(0xf6))]({})),_0x85b48d(this,_0x59547d(0x22b),new _0x2291bd[(_0x59547d(0xf6))]('')),_0x85b48d(this,_0x59547d(0x10b),async _0x4fcae8=>{const _0x329f9d=_0x59547d;var _0x4f9f0b,_0x197321;this[_0x329f9d(0x1f0)]['next'](!0x0);try{const _0x2fa73f=await this[_0x329f9d(0x230)](_0x4fcae8);if(!_0x2fa73f[_0x329f9d(0x23c)]){this[_0x329f9d(0x15e)]['show']({'type':_0x2192e3[_0x329f9d(0x218)][_0x329f9d(0x1e3)],'content':_0x2fa73f[_0x329f9d(0x1ff)]||this[_0x329f9d(0x1de)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x4fcae8[_0x329f9d(0x247)]?await this[_0x329f9d(0x1b3)][_0x329f9d(0x1ac)](_0x43ef9c,_0x4fcae8[_0x329f9d(0x247)][_0x329f9d(0x204)]()):await this[_0x329f9d(0x1b3)][_0x329f9d(0xce)](_0x43ef9c),this[_0x329f9d(0x22b)][_0x329f9d(0x239)](((_0x4f9f0b=_0x4fcae8[_0x329f9d(0x247)])==null?void 0x0:_0x4f9f0b[_0x329f9d(0x204)]())||''),this[_0x329f9d(0xc7)][_0x329f9d(0x21c)]({'Authorization':_0x329f9d(0x14d)+((_0x197321=_0x4fcae8[_0x329f9d(0x247)])==null?void 0x0:_0x197321[_0x329f9d(0x204)]())}),this[_0x329f9d(0x15e)][_0x329f9d(0xc5)]({'type':_0x2192e3[_0x329f9d(0x218)]['Success'],'content':this[_0x329f9d(0x1de)]['t'](_0x329f9d(0x1e6))}),setTimeout(()=>{const _0x1790e4=_0x329f9d;this[_0x1790e4(0x18d)][_0x1790e4(0x1b0)](_0x165025);},0x320);}catch(_0x3288f0){this[_0x329f9d(0x14c)][_0x329f9d(0x187)](_0x329f9d(0x127),_0x3288f0),this[_0x329f9d(0x15e)][_0x329f9d(0xc5)]({'type':_0x2192e3[_0x329f9d(0x218)][_0x329f9d(0x1e3)],'content':this[_0x329f9d(0x1de)]['t'](_0x329f9d(0x18b))});}finally{this[_0x329f9d(0x1f0)][_0x329f9d(0x239)](!0x1);}}),(this[_0x59547d(0x14f)]=_0x4222ab,this[_0x59547d(0x16f)]=_0x22d125,this[_0x59547d(0xb9)]=_0x2f46e2,this[_0x59547d(0x1b3)]=_0x5c6aa5,this[_0x59547d(0x18d)]=_0x3700ef,this[_0x59547d(0x15e)]=_0x2ff90b,this[_0x59547d(0x248)]=_0x3323ef,this[_0x59547d(0x1de)]=_0x181bd5,this[_0x59547d(0x14c)]=_0x240d73,this[_0x59547d(0xc7)]=_0x56bd1f,this[_0x59547d(0xdd)](),this[_0x59547d(0x1aa)](),this[_0x59547d(0x185)]());}['showConfigPanel'](){const _0x5b1299=_0x3c3006,_0x45368a=this[_0x5b1299(0xb9)]['getConfig'](_0xc1c378);_0x45368a!=null&&_0x45368a[_0x5b1299(0x14a)]&&this[_0x5b1299(0x18d)][_0x5b1299(0xfb)]({'id':_0x165025,'title':{'title':this[_0x5b1299(0x1de)]['t'](_0x5b1299(0x1b2))},'children':{'label':_0x5b1299(0x1a6)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x9a86=_0x5b1299;this[_0x9a86(0x18d)]['close'](_0x165025);}});}['getCurrentConfig'](){const _0x5b40ed=_0x3c3006;return this[_0x5b40ed(0x246)]['value'];}[_0x3c3006(0x185)](){const _0x5c0018=_0x3c3006;this[_0x5c0018(0x1ef)](this[_0x5c0018(0x248)]['register'](_0x5c0018(0x1a6),this['_createConfigPanelComponent']()));}[_0x3c3006(0x1c9)](){const _0x26350c=_0x3c3006;return _0x18cbad[_0x26350c(0x176)](()=>{const _0x1f364e=_0x26350c;var _0xf95ed0,_0x294718,_0x1b7166;return _0x2cbebd[_0x1f364e(0x131)](_0x1054d1,{'config':this[_0x1f364e(0x15f)][_0x1f364e(0x102)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x1f364e(0x102)],'currentApiKey$':this[_0x1f364e(0x22b)],'onSave':this[_0x1f364e(0x10b)],'loading':this[_0x1f364e(0x1f0)]['value'],'connectionStatus$':(_0xf95ed0=this[_0x1f364e(0xc7)])==null?void 0x0:_0xf95ed0['connectionStatus$'],'connectionError$':(_0x294718=this[_0x1f364e(0xc7)])==null?void 0x0:_0x294718['connectionError$'],'currentSessionId$':(_0x1b7166=this[_0x1f364e(0xc7)])==null?void 0x0:_0x1b7166[_0x1f364e(0x238)]});},this['_injector']);}[_0x3c3006(0xdd)](){const _0x5243d4=_0x3c3006;this[_0x5243d4(0x1ef)](this[_0x5243d4(0xb9)][_0x5243d4(0x22d)](_0x59d020[_0x5243d4(0x184)])[_0x5243d4(0x20e)](_0x39e93e=>{const _0x59fd54=_0x5243d4;this[_0x59fd54(0x246)][_0x59fd54(0x239)](_0x39e93e||{});}));const _0x26b611=this['_configService'][_0x5243d4(0x1fc)](_0x59d020[_0x5243d4(0x184)]);this[_0x5243d4(0x246)][_0x5243d4(0x239)](_0x26b611||{}),this['disposeWithMe'](this['_configService']['subscribeConfigValue$'](_0xc1c378)['subscribe'](_0x4d5913=>{const _0x1767ff=_0x5243d4;this[_0x1767ff(0x15f)][_0x1767ff(0x239)](_0x4d5913||{});}));const _0x2966f1=this['_configService'][_0x5243d4(0x1fc)](_0xc1c378);this[_0x5243d4(0x15f)][_0x5243d4(0x239)](_0x2966f1||{});}async['_loadStoredApiKey'](){const _0x4cff41=_0x3c3006,_0x7fa40=this[_0x4cff41(0xb9)][_0x4cff41(0x1fc)](_0xc1c378);if(!(_0x7fa40!=null&&_0x7fa40[_0x4cff41(0x14a)]))return;const _0x5106de=await this[_0x4cff41(0x1b3)][_0x4cff41(0xf9)](_0x43ef9c);_0x5106de&&(this['_mcpConnectionController'][_0x4cff41(0x21c)]({'Authorization':_0x4cff41(0x14d)+_0x5106de}),this[_0x4cff41(0x22b)][_0x4cff41(0x239)](_0x5106de));}async['_validateConfig'](_0x2255dc){const _0x18f5bf=_0x3c3006;if(!_0x2255dc['apiKey']||_0x2255dc[_0x18f5bf(0x247)][_0x18f5bf(0x204)]()[_0x18f5bf(0xda)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x18f5bf(0x1de)]['t'](_0x18f5bf(0x109))};if(_0x2255dc[_0x18f5bf(0x247)]['trim']()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x18f5bf(0x1de)]['t'](_0x18f5bf(0x18a))};try{const _0x2d0d78=await this[_0x18f5bf(0x14f)]['get'](_0x59d020[_0x18f5bf(0x1d8)])[_0x18f5bf(0x1ee)](_0x2255dc[_0x18f5bf(0x247)][_0x18f5bf(0x204)]());return _0x2d0d78[_0x18f5bf(0x23c)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2d0d78[_0x18f5bf(0x187)]||this[_0x18f5bf(0x1de)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x6649e6){return console[_0x18f5bf(0x192)](_0x18f5bf(0x216),_0x6649e6),{'isValid':!0x0};}}},_0x5b8305[_0x3c3006(0x202)]=_0x33dc13([_0xb710c9(0x0,_0x35ef1b[_0x3c3006(0x1b7)](_0x35ef1b['Injector'])),_0xb710c9(0x1,_0x18cbad[_0x3c3006(0xd8)]),_0xb710c9(0x2,_0x35ef1b[_0x3c3006(0x142)]),_0xb710c9(0x3,_0x35ef1b['ILocalStorageService']),_0xb710c9(0x4,_0x18cbad['IDialogService']),_0xb710c9(0x5,_0x18cbad[_0x3c3006(0xf5)]),_0xb710c9(0x6,_0x35ef1b[_0x3c3006(0x1b7)](_0x18cbad[_0x3c3006(0x12a)])),_0xb710c9(0x7,_0x35ef1b[_0x3c3006(0x1b7)](_0x35ef1b[_0x3c3006(0x198)])),_0xb710c9(0x8,_0x35ef1b[_0x3c3006(0x15c)]),_0xb710c9(0x9,_0x35ef1b[_0x3c3006(0x1b7)](_0x59d020[_0x3c3006(0x1d8)]))],_0x5b8305['MCPConfigUIController']);const _0x23e4a0={'id':_0x3c3006(0x21d),'type':_0x35ef1b[_0x3c3006(0x18e)]['COMMAND'],'handler':async(_0x47f6bd,_0x41112d)=>(_0x47f6bd[_0x3c3006(0x13b)](_0x5b8305[_0x3c3006(0x202)])[_0x3c3006(0x11b)](),!0x0)};function _0x5d6a2e(_0x554c78,_0x3f4135){const _0x32bbde=_0x3c3006;switch(_0x554c78){case _0x59d020['MCPConnectionStatus'][_0x32bbde(0x124)]:return'mcpStatus.disconnected';case _0x59d020[_0x32bbde(0x13a)][_0x32bbde(0x11c)]:return _0x32bbde(0x14e);case _0x59d020['MCPConnectionStatus'][_0x32bbde(0x196)]:return'mcpStatus.connected';case _0x59d020['MCPConnectionStatus'][_0x32bbde(0xd3)]:switch(_0x3f4135){case _0x59d020[_0x32bbde(0x16a)]['UNAUTHORIZED']:return _0x32bbde(0x126);case _0x59d020[_0x32bbde(0x16a)]['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case _0x59d020['MCPConnectionError'][_0x32bbde(0x134)]:return'mcpStatus.networkError';case _0x59d020[_0x32bbde(0x16a)]['MAX_RETRIES_EXCEEDED']:return _0x32bbde(0x201);default:return _0x32bbde(0x143);}case _0x59d020[_0x32bbde(0x13a)]['RETRYING']:return _0x32bbde(0x158);default:return _0x32bbde(0x160);}}function _0x261233(_0x2dfea5,_0x581400,_0x9c405e,_0x70accd=!0x0){const _0x398eaf=_0x3c3006,_0x126e4f=_0x5d6a2e(_0x2dfea5,_0x581400),_0x207310=_0x9c405e['t'](_0x126e4f);return _0x70accd?_0x2dfea5===_0x59d020[_0x398eaf(0x13a)]['DISCONNECTED']&&_0x581400===_0x59d020[_0x398eaf(0x16a)]['UNAUTHORIZED']?_0x207310+_0x398eaf(0x100)+_0x9c405e['t'](_0x398eaf(0x197)):_0x2dfea5===_0x59d020[_0x398eaf(0x13a)][_0x398eaf(0x196)]?''+_0x207310:_0x2dfea5===_0x59d020[_0x398eaf(0x13a)][_0x398eaf(0x124)]||_0x2dfea5===_0x59d020['MCPConnectionStatus'][_0x398eaf(0xd3)]?_0x207310+_0x398eaf(0x100)+_0x9c405e['t'](_0x398eaf(0x161)):_0x207310:_0x207310;}function _0x54c255(_0x3692ff){const _0x592ba8=_0x3c3006;switch(_0x3692ff){case _0x59d020[_0x592ba8(0x13a)]['CONNECTED']:return'univer-text-green-500';case _0x59d020[_0x592ba8(0x13a)][_0x592ba8(0x11c)]:case _0x59d020[_0x592ba8(0x13a)][_0x592ba8(0x15b)]:return _0x592ba8(0x1f8);case _0x59d020[_0x592ba8(0x13a)][_0x592ba8(0xd3)]:case _0x59d020[_0x592ba8(0x13a)][_0x592ba8(0x124)]:return'univer-text-red-500';default:return _0x592ba8(0xd2);}}function _0x1f823(_0xe68a7f){const _0x45c2e6=_0x3c3006,{status$:_0x39316b,error$:_0x46a8a1,onConfigure:_0x14fc25,showClickable:_0x3e5c17=!0x0}=_0xe68a7f,_0x58ae5c=_0x18cbad['useObservable'](_0x39316b,_0x59d020['MCPConnectionStatus'][_0x45c2e6(0x124)]),_0x5088c8=_0x18cbad['useObservable'](_0x46a8a1,_0x59d020[_0x45c2e6(0x16a)][_0x45c2e6(0x12d)]),_0x504530=_0x18cbad[_0x45c2e6(0x1d6)](_0x35ef1b[_0x45c2e6(0x198)]),_0x3b87d9=_0x58ae5c===_0x59d020[_0x45c2e6(0x13a)][_0x45c2e6(0x196)];_0x58ae5c===_0x59d020[_0x45c2e6(0x13a)][_0x45c2e6(0x11c)]||_0x59d020[_0x45c2e6(0x13a)]['RETRYING'];const _0x1c4748=_0x504530['t'](_0x5d6a2e(_0x58ae5c,_0x5088c8)),_0x54eb87=_0x261233(_0x58ae5c,_0x5088c8,_0x504530,_0x3e5c17),_0x157a5d=_0x54c255(_0x58ae5c),_0x312751=_0x3b87d9?_0x2cbebd[_0x45c2e6(0x131)](_0x59c0d6,{}):_0x2cbebd[_0x45c2e6(0x131)](_0x16bb40,{}),_0x43b4f0=_0x3c333b[_0x45c2e6(0x245)](()=>{_0x3e5c17&&_0x14fc25&&_0x14fc25();},[_0x3e5c17,_0x14fc25]);function _0x4b0109(){const _0x436b5c=_0x45c2e6;return _0x2cbebd[_0x436b5c(0x105)](_0x436b5c(0xdb),{'className':_0x2192e3[_0x436b5c(0x1dd)](_0x436b5c(0x108),_0x3e5c17&&_0x14fc25&&_0x436b5c(0xbc)),'role':_0x436b5c(0x1d2),'onClick':_0x3e5c17&&_0x14fc25?_0x43b4f0:void 0x0,'children':[_0x2cbebd[_0x436b5c(0x131)]('div',{'className':_0x2192e3[_0x436b5c(0x1dd)](_0x436b5c(0x21e),_0x157a5d),'children':_0x312751}),_0x2cbebd[_0x436b5c(0x131)](_0x436b5c(0xdb),{'className':_0x436b5c(0x1f5),'children':_0x1c4748})]});}return _0x2cbebd['jsx'](_0x2192e3[_0x45c2e6(0x1c1)],{'title':_0x54eb87,'placement':_0x45c2e6(0x103),'children':_0x4b0109()});}var _0x11a9ba=Object[_0x3c3006(0x138)],_0x1198a6=(_0x31925f,_0x4b14ef,_0x3139f7,_0x305e89)=>{for(var _0x40a39d=_0x305e89>0x1?void 0x0:_0x305e89?_0x11a9ba(_0x4b14ef,_0x3139f7):_0x4b14ef,_0x3fca6e=_0x31925f['length']-0x1,_0xfc8dd2;_0x3fca6e>=0x0;_0x3fca6e--)(_0xfc8dd2=_0x31925f[_0x3fca6e])&&(_0x40a39d=_0xfc8dd2(_0x40a39d)||_0x40a39d);return _0x40a39d;},_0x2e253f=(_0x32ce5e,_0x4f1112)=>(_0x27440d,_0x42dd62)=>_0x4f1112(_0x27440d,_0x42dd62,_0x32ce5e);_0x5b8305[_0x3c3006(0x113)]=class extends _0x35ef1b[_0x3c3006(0xc2)]{constructor(_0x5e7395,_0x1726d1,_0x419a0a,_0x2c7e07){const _0x3b5829=_0x3c3006;super(),this[_0x3b5829(0x14f)]=_0x5e7395,this[_0x3b5829(0x175)]=_0x1726d1,this[_0x3b5829(0x16f)]=_0x419a0a,this['_configService']=_0x2c7e07,this['_initAutoConnect'](),this['_initStatusComponent']();}[_0x3c3006(0x115)](){const _0xb09f4c=_0x3c3006,_0x413799=this[_0xb09f4c(0xb9)]['getConfig'](_0xc1c378);_0x413799!=null&&_0x413799[_0xb09f4c(0x14a)]&&(this[_0xb09f4c(0x175)]['enableAutoConnect']=!0x1);}[_0x3c3006(0x1e9)](){const _0x349cf9=_0x3c3006,_0x53d592=this['_configService'][_0x349cf9(0x1fc)](_0xc1c378);(_0x53d592==null?void 0x0:_0x53d592[_0x349cf9(0x121)])!==!0x1&&this['disposeWithMe'](this[_0x349cf9(0x16f)][_0x349cf9(0x226)](_0x18cbad[_0x349cf9(0x162)][_0x349cf9(0x1ab)],()=>{const _0x464026=_0x349cf9;var _0x1d7f1d;return _0x18cbad[_0x464026(0x176)](_0x23d780({'status$':this[_0x464026(0x175)][_0x464026(0x237)],'error$':this['_connectionController']['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x1d7f1d=_0x53d592==null?void 0x0:_0x53d592[_0x464026(0x14a)])!=null?_0x1d7f1d:!0x1}),this[_0x464026(0x14f)]);}));}[_0x3c3006(0x16d)](){const _0x388317=_0x3c3006;this[_0x388317(0x14f)][_0x388317(0x13b)](_0x5b8305[_0x388317(0x202)])[_0x388317(0x11b)]();}},_0x5b8305[_0x3c3006(0x113)]=_0x1198a6([_0x2e253f(0x0,_0x35ef1b['Inject'](_0x35ef1b[_0x3c3006(0x236)])),_0x2e253f(0x1,_0x35ef1b[_0x3c3006(0x1b7)](_0x59d020['MCPConnectionController'])),_0x2e253f(0x2,_0x18cbad[_0x3c3006(0xd8)]),_0x2e253f(0x3,_0x35ef1b[_0x3c3006(0x142)])],_0x5b8305[_0x3c3006(0x113)]);function _0x23d780(_0x28bfe3){const {status$:_0x4a0925,error$:_0x1be90,onConfigure:_0x50e7f0,showClickable:_0x4df17d}=_0x28bfe3;return function(){const _0x5d4bbc=_0x5ac4;return _0x2cbebd[_0x5d4bbc(0x131)](_0x1f823,{'status$':_0x4a0925,'error$':_0x1be90,'onConfigure':_0x50e7f0,'showClickable':_0x4df17d});};}function _0x1be6b4(_0x48d607){const _0x14f808=_0x3c3006;return{'id':_0x23e4a0['id'],'type':_0x18cbad[_0x14f808(0xf3)]['BUTTON'],'icon':_0x14f808(0x10f),'title':'mcpConfig.title','tooltip':_0x14f808(0x1b2)};}const _0x3219a9={[_0x18cbad['RibbonStartGroup'][_0x3c3006(0x1d4)]]:{[_0x23e4a0['id']]:{'order':0xa,'menuItemFactory':_0x1be6b4}}};var _0x4c05f6=Object[_0x3c3006(0x138)],_0x5657b5=(_0x28bde9,_0x1e3e14,_0x145aaa,_0x5077bf)=>{const _0x6ffc72=_0x3c3006;for(var _0x5ed2cc=_0x5077bf>0x1?void 0x0:_0x5077bf?_0x4c05f6(_0x1e3e14,_0x145aaa):_0x1e3e14,_0x3bc07e=_0x28bde9[_0x6ffc72(0xda)]-0x1,_0x41a32c;_0x3bc07e>=0x0;_0x3bc07e--)(_0x41a32c=_0x28bde9[_0x3bc07e])&&(_0x5ed2cc=_0x41a32c(_0x5ed2cc)||_0x5ed2cc);return _0x5ed2cc;},_0x93fb5d=(_0x20f681,_0x4ccfe4)=>(_0x4941c6,_0x33f00f)=>_0x4ccfe4(_0x4941c6,_0x33f00f,_0x20f681);_0x5b8305[_0x3c3006(0x18c)]=class extends _0x35ef1b[_0x3c3006(0xc2)]{constructor(_0x477c45,_0x353402){const _0x2fc049=_0x3c3006;super(),this[_0x2fc049(0x23f)]=_0x477c45,this[_0x2fc049(0x1f9)]=_0x353402,this[_0x2fc049(0xd6)](),this[_0x2fc049(0xbd)]();}['_initializeCommands'](){const _0x3c07c3=_0x3c3006;[_0x23e4a0][_0x3c07c3(0x129)](_0x1db620=>{const _0x46586e=_0x3c07c3;this[_0x46586e(0x1ef)](this[_0x46586e(0x23f)]['registerCommand'](_0x1db620));});}[_0x3c3006(0xbd)](){const _0x5adcff=_0x3c3006;this[_0x5adcff(0x1f9)]['mergeMenu'](_0x3219a9);}},_0x5b8305[_0x3c3006(0x18c)]=_0x5657b5([_0x93fb5d(0x0,_0x35ef1b['ICommandService']),_0x93fb5d(0x1,_0x18cbad[_0x3c3006(0x1b9)])],_0x5b8305[_0x3c3006(0x18c)]);const _0x1e870f={'mcpStatus':{'disconnected':_0x3c3006(0x148),'connecting':_0x3c3006(0x222),'connected':_0x3c3006(0x1b4),'failed':_0x3c3006(0x1fa),'retrying':_0x3c3006(0x244),'unknown':_0x3c3006(0xbf),'unauthorized':_0x3c3006(0x146),'sessionOccupied':_0x3c3006(0x213),'networkError':_0x3c3006(0x1a9),'maxRetriesExceeded':_0x3c3006(0xd4),'clickToConnect':_0x3c3006(0x1bf),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x3c3006(0x116),'description':_0x3c3006(0xc9),'apiKey':_0x3c3006(0xe5),'apiKeyPlaceholder':_0x3c3006(0x1b5),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x3c3006(0xfd),'enableAuthHint':_0x3c3006(0x150),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x3c3006(0xcd),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x3c3006(0x1ce),'configStep1':_0x3c3006(0x19f),'configStep2':_0x3c3006(0xd5),'configStep3':_0x3c3006(0xfc),'sessionId':_0x3c3006(0x125),'sessionIdDescription':_0x3c3006(0xe8),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3c3006(0x10d),'maxRetries':_0x3c3006(0xca),'save':'Save\x20Configuration','saving':_0x3c3006(0xed),'note1':_0x3c3006(0xe4),'note2':_0x3c3006(0x17f),'configSaved':_0x3c3006(0x101),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x3c3006(0x171),'univerAiLabel':_0x3c3006(0x174),'getStarted':_0x3c3006(0x181)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x3c3006(0x139),'invalidConfig':_0x3c3006(0x208),'invalidApiKey':_0x3c3006(0x16b)},'connectionStatus':{'disconnected':_0x3c3006(0xe2),'connecting':_0x3c3006(0x209),'connected':_0x3c3006(0x132),'failed':_0x3c3006(0xea),'retrying':_0x3c3006(0x23e)},'connectionError':{'unauthorized':_0x3c3006(0x241),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x3c3006(0xe3),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x4eae2c={'mcpStatus':{'disconnected':_0x3c3006(0x1cb),'connecting':_0x3c3006(0x21f),'connected':_0x3c3006(0x228),'failed':_0x3c3006(0x1e5),'retrying':_0x3c3006(0x11a),'unknown':'MCP\x20状态未知','unauthorized':_0x3c3006(0x151),'sessionOccupied':_0x3c3006(0x141),'networkError':_0x3c3006(0xef),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x3c3006(0x1d5),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x3c3006(0x10c),'description':_0x3c3006(0x135),'apiKey':_0x3c3006(0xd9),'apiKeyPlaceholder':_0x3c3006(0x117),'apiKeyHint':_0x3c3006(0x166),'enableAuth':_0x3c3006(0x249),'enableAuthHint':_0x3c3006(0x164),'connectionInfo':_0x3c3006(0x22f),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x3c3006(0x221),'configStepTitle':_0x3c3006(0x19d),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x3c3006(0xe9),'sessionIdDescription':_0x3c3006(0x1e2),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x3c3006(0x1f7),'maxRetries':'最大重试次数','save':_0x3c3006(0x182),'saving':'保存中...','note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x3c3006(0x195),'configError':_0x3c3006(0x173),'apiApplyInfo':{'title':_0x3c3006(0x186),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x3c3006(0x1ed),'getStarted':_0x3c3006(0x10a)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x3c3006(0x1fe),'invalidConfig':_0x3c3006(0x1c3),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x3c3006(0x232),'connecting':_0x3c3006(0x20d),'connected':_0x3c3006(0x22e),'failed':_0x3c3006(0x1a8),'retrying':_0x3c3006(0x1e1)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x3c3006(0x1c8),'networkError':_0x3c3006(0x233),'maxRetriesExceeded':_0x3c3006(0x1da)}}};var _0x40a208=Object['defineProperty'],_0x5adf98=Object[_0x3c3006(0x138)],_0x4730b0=(_0x169829,_0x40ff62,_0x50acc9)=>_0x40ff62 in _0x169829?_0x40a208(_0x169829,_0x40ff62,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50acc9}):_0x169829[_0x40ff62]=_0x50acc9,_0xb9a627=(_0x6fe2ae,_0x98f28f,_0x430802,_0x20f682)=>{const _0x5aa487=_0x3c3006;for(var _0x56eb77=_0x20f682>0x1?void 0x0:_0x20f682?_0x5adf98(_0x98f28f,_0x430802):_0x98f28f,_0x2e3ecb=_0x6fe2ae[_0x5aa487(0xda)]-0x1,_0x51ad58;_0x2e3ecb>=0x0;_0x2e3ecb--)(_0x51ad58=_0x6fe2ae[_0x2e3ecb])&&(_0x56eb77=_0x51ad58(_0x56eb77)||_0x56eb77);return _0x56eb77;},_0x30e35b=(_0xa525b3,_0x4725c4)=>(_0x27f3a8,_0xdec6fa)=>_0x4725c4(_0x27f3a8,_0xdec6fa,_0xa525b3),_0x29dd37=(_0x1d3aa1,_0x31dede,_0x1a5d41)=>_0x4730b0(_0x1d3aa1,_0x31dede+'',_0x1a5d41);_0x5b8305[_0x3c3006(0x1d9)]=class extends _0x35ef1b[_0x3c3006(0x22a)]{constructor(_0x3f677b=_0x32265d,_0x46153e,_0x189b60,_0x274548,_0xe73aad,_0x21a3d4){const _0xb889e3=_0x3c3006;super(),this[_0xb889e3(0x153)]=_0x3f677b,this[_0xb889e3(0x14f)]=_0x46153e,this[_0xb889e3(0xb9)]=_0x189b60,this[_0xb889e3(0x16f)]=_0x274548,this[_0xb889e3(0x1b3)]=_0xe73aad,this[_0xb889e3(0x1de)]=_0x21a3d4;const {..._0x5e1333}=_0x35ef1b[_0xb889e3(0x159)]({},_0x32265d,this['_config']);this[_0xb889e3(0xb9)][_0xb889e3(0x179)](_0xc1c378,_0x5e1333);}async['onStarting'](){const _0x281ed0=_0x3c3006,_0x54b39a=[[_0x5b8305[_0x281ed0(0x113)]],[_0x5b8305[_0x281ed0(0x202)]],[_0x5b8305[_0x281ed0(0x18c)]]];this['_injector'][_0x281ed0(0xf0)](_0x28dbcf[_0x281ed0(0x13c)])||_0x54b39a[_0x281ed0(0x1df)]([_0x28dbcf[_0x281ed0(0x13c)],{'useClass':_0x28dbcf[_0x281ed0(0x1f2)]}]),_0x54b39a['forEach'](_0x5a22f1=>this['_injector'][_0x281ed0(0x1fd)](_0x5a22f1)),this[_0x281ed0(0x14f)][_0x281ed0(0x13b)](_0x5b8305[_0x281ed0(0x113)]),this[_0x281ed0(0x14f)][_0x281ed0(0x13b)](_0x5b8305[_0x281ed0(0x202)]),this[_0x281ed0(0x14f)]['get'](_0x5b8305['MCPUIMenuController']);}},_0x29dd37(_0x5b8305['UniverMCPUIPlugin'],_0x3c3006(0x110),_0x3c3006(0x15d)),_0x5b8305[_0x3c3006(0x1d9)]=_0xb9a627([_0x35ef1b[_0x3c3006(0x118)](_0x59d020[_0x3c3006(0xd0)]),_0x30e35b(0x1,_0x35ef1b[_0x3c3006(0x1b7)](_0x35ef1b['Injector'])),_0x30e35b(0x2,_0x35ef1b['IConfigService']),_0x30e35b(0x3,_0x18cbad[_0x3c3006(0xd8)]),_0x30e35b(0x4,_0x35ef1b[_0x3c3006(0x11e)]),_0x30e35b(0x5,_0x35ef1b['Inject'](_0x35ef1b[_0x3c3006(0x198)]))],_0x5b8305[_0x3c3006(0x1d9)]),_0x5b8305['MCPConfigPanel']=_0x1054d1,_0x5b8305[_0x3c3006(0xf7)]=_0x1f823,_0x5b8305['OpenMCPConfigPanelCommand']=_0x23e4a0,_0x5b8305[_0x3c3006(0x177)]=_0x1e870f,_0x5b8305[_0x3c3006(0x19e)]=_0x4eae2c,Object[_0x3c3006(0x1ca)](_0x5b8305,Symbol[_0x3c3006(0x169)],{'value':_0x3c3006(0x212)});}));function _0x4598(){const _0x18e745=['Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_initializeCommands','univer-text-blue-600','IUIPartsService','API\x20密钥','length','div','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','_initConfigSync','mcpConfig.connectionError.sessionOccupied','257211cIFQsH','help-icon','mcpConfig.connectionStatus.failed','Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key','@univerjs/network','Input','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','会话ID','Connection\x20Failed','useObservable','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Saving...','children','MCP:\x20网络错误','has','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','MenuItemType','univer-bg-blue-500','IMessageService','BehaviorSubject','MCPStatusDisplay','UniverIcon','getItem','white','open','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20Authentication','on-line-icon','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','\x20-\x20','Configuration\x20saved\x20successfully','value','bottom','assign','jsxs','45mmNIGZ','mcpConfig.description','univer-flex\x20univer-items-center','mcpConfig.validation.apiKeyRequired','几秒钟内获取您的\x20API\x20密钥','_handleConfigSave','MCP\x20配置','Configuration\x20Parameters:','clipPath','MenuIcon','pluginName','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','function','MCPConnectionUIController','mcpConfig.connectionStatus.connecting','_initAutoConnect','MCP\x20Configuration','请输入您的\x20API\x20密钥','DependentOn','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','MCP\x20重连中...','showConfigPanel','CONNECTING','UniverProMcp','ILocalStorageService','http','toString','showStatus','xlink:href','round','DISCONNECTED','Session\x20ID','mcpStatus.unauthorized','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','forEach','ComponentManager','none','label','NONE','M0\x200H16V16H0z','mcp-ui.config','univer-text-sm\x20univer-font-medium','jsx','Connected','univer-text-sm\x20univer-text-gray-500','NETWORK_ERROR','配置\x20MCP\x20使用\x20AI\x20操作电子表格','@univerjs/core','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','getOwnPropertyDescriptor','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCPConnectionStatus','get','ISocketService','random','univer-flex\x20univer-items-start\x20univer-gap-2','https://mcp.univer.ai/mcp/?univer_session_id=','mcpConfig.apiApplyInfo.description','MCP:\x20会话\x20ID\x20已被占用','IConfigService','mcpStatus.failed','univer-flex\x20univer-items-center\x20univer-gap-3','mcp-config-dialog','MCP:\x20Unauthorized','use','MCP\x20Disconnected','univer-flex\x20univer-flex-wrap\x20univer-gap-2','showDeveloperTools','mcpConfig.sessionIdDescription','_logService','Bearer\x20','mcpStatus.connecting','_injector','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20未授权','univer-flex-1','_config','forwardRef','CloseIcon','mcpConfig.configStep1','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcpStatus.retrying','merge','mcpConfig.configStep3','RETRYING','ILogService','MCP_UI_PLUGIN','_messageService','_config$','mcpStatus.unknown','mcpStatus.clickToConnect','BuiltInUIPart','colorChannel1','启用身份验证以获得安全连接','UNAUTHORIZED','您的\x20API\x20密钥将在此浏览器中本地存储','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','UniverProMcpUi','toStringTag','MCPConnectionError','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-space-y-2','_handleConfigure','CheckMarkIcon','_uiPartsService','Authorization:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univer-flex\x20univer-items-center\x20univer-gap-2','配置保存失败','Univer\x20AI\x20Console','_connectionController','connectInjector','enUS','@univerjs/ui','setConfig','univer-text-xs\x20univer-text-gray-600','svg','UniverNetwork','UniverDesign','mcpConfig.connectionError.unauthorized','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpConfig.apiApplyInfo.getStarted','Get\x20your\x20API\x20key\x20in\x20seconds','保存配置','univer-shrink-0\x20univer-text-blue-500','MCP_PLUGIN_CONFIG_KEY','_registerComponent','什么是\x20API\x20密钥?','error','0\x200\x2017\x2016','1333712UAQyNe','mcpConfig.validation.apiKeyTooShort','mcpConfig.configError','MCPUIMenuController','_dialogService','CommandType','Configuration\x20Notes:','mcpConfig.connectionStatus.connected','mcpConfig.note1','warn','mcpServerUrl','mcpConfig.connectionInfo','配置保存成功','CONNECTED','mcpStatus.clickToConfigure','LocaleService','https://console.univer.plus','mcpConfig.configParameters','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','0\x200\x2016\x2016','配置步骤:','zhCN','Copy\x20the\x20JSON\x20configuration\x20below','idSuffix','rxjs','currentColor','3130195wKaGtW','path','mcpConfig.apiKeyPlaceholder','MCPConfigPanel','univer-bg-red-500','连接失败','MCP:\x20Network\x20Error','_loadStoredApiKey','HEADER_MENU','setItem','univer.ai','mcpConfig.apiApplyInfo.univerAiLabel','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','symbol','mcpConfig.title','_localStorageService','MCP\x20Connected','Enter\x20your\x20API\x20key','replace','Inject','on-line-icon_clip0_910_349','IMenuManagerService','check-mark-icon','displayName','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-space-y-5','univer-min-w-0\x20univer-flex-1','Click\x20to\x20connect\x20MCP','mcpConfig.apiApplyInfo.title','Tooltip','univer-bg-green-500','配置无效','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','<API_KEY>','https://console.univer.ai','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','会话\x20ID\x20已被占用,请稍后再试','_createConfigPanelComponent','defineProperty','MCP\x20已断开','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','univer-space-y-3','Configuration\x20Steps:','univer-text-xs\x20univer-text-gray-500','SESSION_ID_OCCUPIED','amd','button','42132cLLMsH','OTHERS','点击连接\x20MCP','useDependency','translate(.97)','MCPConnectionController','UniverMCPUIPlugin','超出最大重试次数,请稍后再试','text','503134YfwBMn','clsx','_localeService','push','defs','重连中...','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Error','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCP\x20连接失败','mcpConfig.configSaved','entries','evenodd','_initStatusComponent','<SESSION_ID>','MAX_RETRIES_EXCEEDED','univer_session_id:','Univer\x20AI\x20控制台','validateApiKey','disposeWithMe','_loading$','@univerjs-pro/mcp','WebSocketService','univer.plus','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','配置参数:','univer-text-yellow-500','_menuManagerService','MCP\x20Connection\x20Failed','string','getConfig','add','API\x20密钥长度至少需要\x2010\x20位','errorMessage','React','mcpStatus.maxRetriesExceeded','MCPConfigUIController','2nrFlZd','trim','noopener\x20noreferrer','mcpConfig.authorizationDescription','includes','Invalid\x20configuration','Connecting...','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','url(#$1','mcpConfig.configInstructions','连接中...','subscribe','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-space-y-4','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','Module','MCP:\x20Session\x20ID\x20Occupied','mask','off','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','2960125oBbRfZ','MessageType','mcpConfig.save','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','_blank','__setCustomHeaders','mcp-ui.command.openConfigPanel','univer-mr-2\x20univer-flex\x20univer-text-xl','MCP\x20连接中...','map','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCP\x20Connecting...','univer-bg-gray-500','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','univer-flex\x20univer-gap-3','registerComponent','OnLineIcon','MCP\x20已连接','mcpConfig.note2','Plugin','_apiKey$','HelpIcon','subscribeConfigValue$','已连接','MCP\x20客户端配置','_validateConfig','url(#on-line-icon_clip0_910_349)','未连接','网络连接错误,请检查您的网络连接','substring','useState','Injector','connectionStatus$','sessionId$','next','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','url(#off-line-icon_clip0_910_343)','isValid','fill','Retrying...','_commandService','univer-flex\x20univer-items-start\x20univer-gap-3','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','attrs','4620190HbwPPY','MCP\x20Retrying...','useCallback','_mcpCoreConfig$','apiKey','_componentManager','启用身份验证','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','_configService','http://www.w3.org/2000/svg','off-line-icon_clip0_910_343','\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','_initializeMenus','tag','MCP\x20Unknown\x20Status','react','close-icon','Disposable','mcp.apiKey','mcpConfig.configStep2','show','span','_mcpConnectionController','28BWckFl','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Max\x20Retries','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','1em','MCP\x20Client\x20Configuration','removeItem','createElement','UniverMCPPlugin','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-text-gray-500','FAILED','MCP:\x20Max\x20Retries\x20Exceeded'];_0x4598=function(){return _0x18e745;};return _0x4598();}
@@ -1 +1 @@
1
- (function(_0x4ae01f,_0x3d5710){var _0x3de07d=_0x6dbb,_0x5912bb=_0x4ae01f();while(!![]){try{var _0x5b4012=parseInt(_0x3de07d(0x120))/0x1+-parseInt(_0x3de07d(0x118))/0x2*(parseInt(_0x3de07d(0x12d))/0x3)+-parseInt(_0x3de07d(0x10d))/0x4*(parseInt(_0x3de07d(0xfd))/0x5)+parseInt(_0x3de07d(0x100))/0x6+-parseInt(_0x3de07d(0x126))/0x7*(parseInt(_0x3de07d(0x12e))/0x8)+-parseInt(_0x3de07d(0x10e))/0x9*(parseInt(_0x3de07d(0x117))/0xa)+parseInt(_0x3de07d(0x119))/0xb;if(_0x5b4012===_0x3d5710)break;else _0x5912bb['push'](_0x5912bb['shift']());}catch(_0x164493){_0x5912bb['push'](_0x5912bb['shift']());}}}(_0x32a1,0x9df0d),function(_0x3fbb0a,_0x485b7e){var _0x2fb478=_0x6dbb;typeof exports==_0x2fb478(0x122)&&typeof module<'u'?module[_0x2fb478(0x11b)]=_0x485b7e():typeof define==_0x2fb478(0x124)&&define[_0x2fb478(0x109)]?define(_0x485b7e):(_0x3fbb0a=typeof globalThis<'u'?globalThis:_0x3fbb0a||self,_0x3fbb0a[_0x2fb478(0x108)]=_0x485b7e());}(this,function(){'use strict';var _0xce84a3=_0x6dbb;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0xce84a3(0x111),'connected':_0xce84a3(0x107),'failed':_0xce84a3(0x12c),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0xce84a3(0x12b),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xce84a3(0x102),'clickToConnect':_0xce84a3(0x128),'clickToConfigure':_0xce84a3(0x106)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xce84a3(0xfe),'apiKey':_0xce84a3(0x115),'apiKeyPlaceholder':_0xce84a3(0x105),'apiKeyHint':_0xce84a3(0x10c),'enableAuth':_0xce84a3(0x11f),'enableAuthHint':_0xce84a3(0x123),'connectionInfo':_0xce84a3(0xff),'mcpClientConfig':_0xce84a3(0xff),'configInstructions':_0xce84a3(0x11e),'configStepTitle':'Configuration\x20Steps:','configStep1':_0xce84a3(0x121),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0xce84a3(0x114),'sessionId':_0xce84a3(0x112),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0xce84a3(0x11d),'configParameters':_0xce84a3(0x104),'maxRetries':'Max\x20Retries','save':_0xce84a3(0x125),'saving':_0xce84a3(0x131),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xce84a3(0x116),'configSaved':_0xce84a3(0x12a),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xce84a3(0x110),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0xce84a3(0x10f),'getStarted':_0xce84a3(0x101)},'validation':{'apiKeyRequired':_0xce84a3(0x113),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0xce84a3(0x11a),'invalidApiKey':_0xce84a3(0x127)},'connectionStatus':{'disconnected':_0xce84a3(0x103),'connecting':'Connecting...','connected':_0xce84a3(0x10a),'failed':_0xce84a3(0x10b),'retrying':_0xce84a3(0x132)},'connectionError':{'unauthorized':_0xce84a3(0x12f),'sessionOccupied':_0xce84a3(0x129),'networkError':_0xce84a3(0x130),'maxRetriesExceeded':_0xce84a3(0x11c)}}};}));function _0x6dbb(_0x23d2a7,_0x482ef9){_0x23d2a7=_0x23d2a7-0xfd;var _0x32a156=_0x32a1();var _0x6dbb35=_0x32a156[_0x23d2a7];return _0x6dbb35;}function _0x32a1(){var _0x2b87a2=['Invalid\x20configuration','exports','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Enable\x20Authentication','138430KzNfWW','Copy\x20the\x20JSON\x20configuration\x20below','object','Enable\x20authentication\x20for\x20secure\x20connections','function','Save\x20Configuration','87003vysKGZ','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Click\x20to\x20connect\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','MCP:\x20Unauthorized','MCP\x20Connection\x20Failed','1354434dfTLag','520MmxPHm','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Saving...','Retrying...','5PrNgJG','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Client\x20Configuration','5127198feVSKw','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Max\x20Retries\x20Exceeded','Disconnected','Configuration\x20Parameters:','Enter\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','MCP\x20Connected','UniverProMcpUiCaES','amd','Connected','Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','1211332NdxqeB','999Spigjt','Univer\x20AI\x20Console','What\x20is\x20API\x20Key?','MCP\x20Connecting...','Session\x20ID','API\x20key\x20is\x20required','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20Key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','86440EEMMPE','4hzcABU','28898320dcXVSF'];_0x32a1=function(){return _0x2b87a2;};return _0x32a1();}
1
+ function _0x4d01(_0x2ff6e2,_0x2d4d25){_0x2ff6e2=_0x2ff6e2-0x13e;var _0x4108ee=_0x4108();var _0x4d0183=_0x4108ee[_0x2ff6e2];return _0x4d0183;}(function(_0x390fde,_0x360256){var _0x494ed7=_0x4d01,_0x4ab30f=_0x390fde();while(!![]){try{var _0x441862=-parseInt(_0x494ed7(0x16d))/0x1+parseInt(_0x494ed7(0x155))/0x2*(parseInt(_0x494ed7(0x14f))/0x3)+-parseInt(_0x494ed7(0x15f))/0x4+parseInt(_0x494ed7(0x167))/0x5+-parseInt(_0x494ed7(0x143))/0x6*(parseInt(_0x494ed7(0x173))/0x7)+-parseInt(_0x494ed7(0x148))/0x8*(-parseInt(_0x494ed7(0x14a))/0x9)+parseInt(_0x494ed7(0x16c))/0xa;if(_0x441862===_0x360256)break;else _0x4ab30f['push'](_0x4ab30f['shift']());}catch(_0x13f34a){_0x4ab30f['push'](_0x4ab30f['shift']());}}}(_0x4108,0x80f6e),function(_0x53ed49,_0xba8369){var _0x469d6e=_0x4d01;typeof exports==_0x469d6e(0x144)&&typeof module<'u'?module['exports']=_0xba8369():typeof define==_0x469d6e(0x170)&&define[_0x469d6e(0x15e)]?define(_0xba8369):(_0x53ed49=typeof globalThis<'u'?globalThis:_0x53ed49||self,_0x53ed49[_0x469d6e(0x163)]=_0xba8369());}(this,function(){'use strict';var _0x13e44e=_0x4d01;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x13e44e(0x161),'connected':'MCP\x20Connected','failed':_0x13e44e(0x140),'retrying':_0x13e44e(0x141),'unknown':_0x13e44e(0x162),'unauthorized':_0x13e44e(0x145),'sessionOccupied':_0x13e44e(0x14d),'networkError':_0x13e44e(0x154),'maxRetriesExceeded':_0x13e44e(0x165),'clickToConnect':_0x13e44e(0x14e),'clickToConfigure':_0x13e44e(0x15a)},'mcpConfig':{'title':_0x13e44e(0x142),'description':_0x13e44e(0x171),'apiKey':_0x13e44e(0x13f),'apiKeyPlaceholder':_0x13e44e(0x169),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x13e44e(0x13e),'enableAuthHint':_0x13e44e(0x152),'connectionInfo':_0x13e44e(0x160),'mcpClientConfig':_0x13e44e(0x160),'configInstructions':_0x13e44e(0x174),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x13e44e(0x149),'configStep2':_0x13e44e(0x164),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x13e44e(0x14b),'sessionIdDescription':_0x13e44e(0x16f),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x13e44e(0x157),'maxRetries':'Max\x20Retries','save':_0x13e44e(0x15d),'saving':'Saving...','note1':_0x13e44e(0x168),'note2':_0x13e44e(0x15c),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x13e44e(0x156),'description':_0x13e44e(0x153),'univerAiLabel':_0x13e44e(0x159),'getStarted':_0x13e44e(0x14c)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x13e44e(0x15b),'invalidConfig':_0x13e44e(0x158),'invalidApiKey':_0x13e44e(0x16e)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x13e44e(0x150),'connected':_0x13e44e(0x16b),'failed':_0x13e44e(0x146),'retrying':_0x13e44e(0x147)},'connectionError':{'unauthorized':_0x13e44e(0x166),'sessionOccupied':_0x13e44e(0x172),'networkError':_0x13e44e(0x16a),'maxRetriesExceeded':_0x13e44e(0x151)}}};}));function _0x4108(){var _0x5e552d=['Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Enable\x20Authentication','API\x20Key','MCP\x20Connection\x20Failed','MCP\x20Retrying...','MCP\x20Configuration','78VXPdeh','object','MCP:\x20Unauthorized','Connection\x20Failed','Retrying...','784zfCTVa','Copy\x20the\x20JSON\x20configuration\x20below','47187JZZXDa','Session\x20ID','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Session\x20ID\x20Occupied','Click\x20to\x20connect\x20MCP','31131lpllMy','Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','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:\x20Network\x20Error','134oicozU','What\x20is\x20API\x20Key?','Configuration\x20Parameters:','Invalid\x20configuration','Univer\x20AI\x20Console','Click\x20to\x20configure\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Save\x20Configuration','amd','3287548BjHbri','MCP\x20Client\x20Configuration','MCP\x20Connecting...','MCP\x20Unknown\x20Status','UniverProMcpUiCaES','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Max\x20Retries\x20Exceeded','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','16380pflnkU','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enter\x20your\x20API\x20key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connected','13738200EZyVjN','375795mqQYzz','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.','function','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','463211WzyRVn'];_0x4108=function(){return _0x5e552d;};return _0x4108();}
@@ -1 +1 @@
1
- function _0x20c3(_0x206bb3,_0xdc26b1){_0x206bb3=_0x206bb3-0x151;var _0x448b44=_0x448b();var _0x20c3b5=_0x448b44[_0x206bb3];return _0x20c3b5;}function _0x448b(){var _0x39c128=['API\x20key\x20with\x20Bearer\x20prefix.','32wjaaHk','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Configuration','Univer\x20AI\x20Console','Configuration\x20saved\x20successfully','Invalid\x20configuration','Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Saving...','MCP\x20Connected','MCP\x20Unknown\x20Status','884661QdmhkT','Configuration\x20Steps:','955HZScvL','MCP\x20Retrying...','Max\x20Retries','24708cUthcO','Enable\x20Authentication','API\x20key\x20is\x20required','Failed\x20to\x20save\x20configuration','Disconnected','56idicUe','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','What\x20is\x20API\x20Key?','Retrying...','4510cEiAQe','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','object','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20Parameters:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','function','Session\x20ID','MCP\x20Client\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','exports','4103tTXOzx','Save\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','MCP:\x20Unauthorized','613566UrIlcX','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','2821712gzmADo','3989706WvbnWF','5136ADnUFj','Click\x20to\x20connect\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection'];_0x448b=function(){return _0x39c128;};return _0x448b();}(function(_0x2b077a,_0x51d3f1){var _0x3e06d5=_0x20c3,_0xd6e4c4=_0x2b077a();while(!![]){try{var _0x4143af=-parseInt(_0x3e06d5(0x184))/0x1+parseInt(_0x3e06d5(0x179))/0x2*(parseInt(_0x3e06d5(0x174))/0x3)+parseInt(_0x3e06d5(0x172))/0x4+-parseInt(_0x3e06d5(0x186))/0x5*(-parseInt(_0x3e06d5(0x152))/0x6)+-parseInt(_0x3e06d5(0x173))/0x7+-parseInt(_0x3e06d5(0x157))/0x8*(-parseInt(_0x3e06d5(0x16f))/0x9)+-parseInt(_0x3e06d5(0x15c))/0xa*(-parseInt(_0x3e06d5(0x16a))/0xb);if(_0x4143af===_0x51d3f1)break;else _0xd6e4c4['push'](_0xd6e4c4['shift']());}catch(_0x2c45c7){_0xd6e4c4['push'](_0xd6e4c4['shift']());}}}(_0x448b,0xad624),function(_0x4e6877,_0x53d09a){var _0x23aa22=_0x20c3;typeof exports==_0x23aa22(0x15e)&&typeof module<'u'?module[_0x23aa22(0x169)]=_0x53d09a():typeof define==_0x23aa22(0x165)&&define['amd']?define(_0x53d09a):(_0x4e6877=typeof globalThis<'u'?globalThis:_0x4e6877||self,_0x4e6877['UniverProMcpUiEnUS']=_0x53d09a());}(this,function(){'use strict';var _0xf20d1b=_0x20c3;return{'mcpStatus':{'disconnected':_0xf20d1b(0x163),'connecting':'MCP\x20Connecting...','connected':_0xf20d1b(0x182),'failed':_0xf20d1b(0x171),'retrying':_0xf20d1b(0x187),'unknown':_0xf20d1b(0x183),'unauthorized':_0xf20d1b(0x16e),'sessionOccupied':_0xf20d1b(0x168),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xf20d1b(0x176),'clickToConnect':_0xf20d1b(0x175),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xf20d1b(0x17b),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0xf20d1b(0x16d),'apiKeyHint':_0xf20d1b(0x162),'enableAuth':_0xf20d1b(0x153),'enableAuthHint':_0xf20d1b(0x164),'connectionInfo':_0xf20d1b(0x167),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0xf20d1b(0x185),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0xf20d1b(0x158),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0xf20d1b(0x166),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0xf20d1b(0x178),'configParameters':_0xf20d1b(0x161),'maxRetries':_0xf20d1b(0x151),'save':_0xf20d1b(0x16b),'saving':_0xf20d1b(0x181),'note1':_0xf20d1b(0x15d),'note2':_0xf20d1b(0x180),'configSaved':_0xf20d1b(0x17d),'configError':_0xf20d1b(0x155),'apiApplyInfo':{'title':_0xf20d1b(0x15a),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0xf20d1b(0x17c),'getStarted':_0xf20d1b(0x160)},'validation':{'apiKeyRequired':_0xf20d1b(0x154),'apiKeyTooShort':_0xf20d1b(0x17a),'invalidConfig':_0xf20d1b(0x17e),'invalidApiKey':_0xf20d1b(0x15f)},'connectionStatus':{'disconnected':_0xf20d1b(0x156),'connecting':'Connecting...','connected':_0xf20d1b(0x17f),'failed':'Connection\x20Failed','retrying':_0xf20d1b(0x15b)},'connectionError':{'unauthorized':_0xf20d1b(0x159),'sessionOccupied':_0xf20d1b(0x16c),'networkError':_0xf20d1b(0x177),'maxRetriesExceeded':_0xf20d1b(0x170)}}};}));
1
+ function _0x3802(_0x3e9eb5,_0x262aa1){_0x3e9eb5=_0x3e9eb5-0x133;var _0x4af22b=_0x4af2();var _0x380255=_0x4af22b[_0x3e9eb5];return _0x380255;}(function(_0x52023b,_0x210950){var _0x32bbb0=_0x3802,_0x4c8ab1=_0x52023b();while(!![]){try{var _0x283de2=parseInt(_0x32bbb0(0x13c))/0x1+parseInt(_0x32bbb0(0x140))/0x2+parseInt(_0x32bbb0(0x159))/0x3+parseInt(_0x32bbb0(0x13e))/0x4+-parseInt(_0x32bbb0(0x15e))/0x5+-parseInt(_0x32bbb0(0x161))/0x6+-parseInt(_0x32bbb0(0x160))/0x7*(-parseInt(_0x32bbb0(0x162))/0x8);if(_0x283de2===_0x210950)break;else _0x4c8ab1['push'](_0x4c8ab1['shift']());}catch(_0xf98f56){_0x4c8ab1['push'](_0x4c8ab1['shift']());}}}(_0x4af2,0x24e54),function(_0x2de687,_0x1ec81a){var _0xa733ad=_0x3802;typeof exports==_0xa733ad(0x138)&&typeof module<'u'?module['exports']=_0x1ec81a():typeof define=='function'&&define[_0xa733ad(0x151)]?define(_0x1ec81a):(_0x2de687=typeof globalThis<'u'?globalThis:_0x2de687||self,_0x2de687[_0xa733ad(0x134)]=_0x1ec81a());}(this,function(){'use strict';var _0x591a25=_0x3802;return{'mcpStatus':{'disconnected':_0x591a25(0x13d),'connecting':_0x591a25(0x133),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x591a25(0x13b),'unknown':_0x591a25(0x136),'unauthorized':_0x591a25(0x150),'sessionOccupied':_0x591a25(0x155),'networkError':_0x591a25(0x142),'maxRetriesExceeded':_0x591a25(0x166),'clickToConnect':_0x591a25(0x141),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x591a25(0x15d),'description':_0x591a25(0x146),'apiKey':_0x591a25(0x163),'apiKeyPlaceholder':_0x591a25(0x152),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x591a25(0x144),'connectionInfo':_0x591a25(0x15a),'mcpClientConfig':_0x591a25(0x15a),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x591a25(0x135),'configStep1':_0x591a25(0x14b),'configStep2':_0x591a25(0x15b),'configStep3':_0x591a25(0x149),'sessionId':_0x591a25(0x145),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x591a25(0x15c),'configParameters':_0x591a25(0x143),'maxRetries':_0x591a25(0x154),'save':_0x591a25(0x14c),'saving':'Saving...','note1':_0x591a25(0x139),'note2':_0x591a25(0x14f),'configSaved':_0x591a25(0x147),'configError':_0x591a25(0x165),'apiApplyInfo':{'title':_0x591a25(0x13a),'description':_0x591a25(0x153),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x591a25(0x15f)},'validation':{'apiKeyRequired':_0x591a25(0x14e),'apiKeyTooShort':_0x591a25(0x167),'invalidConfig':_0x591a25(0x158),'invalidApiKey':_0x591a25(0x14d)},'connectionStatus':{'disconnected':_0x591a25(0x148),'connecting':'Connecting...','connected':_0x591a25(0x13f),'failed':_0x591a25(0x157),'retrying':_0x591a25(0x156)},'connectionError':{'unauthorized':_0x591a25(0x164),'sessionOccupied':_0x591a25(0x14a),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x591a25(0x137)}}};}));function _0x4af2(){var _0x254088=['295550GBbSeQ','Get\x20your\x20API\x20key\x20in\x20seconds','534905okCzOT','1011594cpTVcE','8puzFRt','API\x20Key','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Connecting...','UniverProMcpUiEnUS','Configuration\x20Steps:','MCP\x20Unknown\x20Status','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','object','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','MCP\x20Retrying...','87015jcwvye','MCP\x20Disconnected','541916KOTjcC','Connected','79172PuQAML','Click\x20to\x20connect\x20MCP','MCP:\x20Network\x20Error','Configuration\x20Parameters:','Enable\x20authentication\x20for\x20secure\x20connections','Session\x20ID','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20saved\x20successfully','Disconnected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Copy\x20the\x20JSON\x20configuration\x20below','Save\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20is\x20required','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Unauthorized','amd','Enter\x20your\x20API\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.','Max\x20Retries','MCP:\x20Session\x20ID\x20Occupied','Retrying...','Connection\x20Failed','Invalid\x20configuration','121014IjtQUF','MCP\x20Client\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Configuration'];_0x4af2=function(){return _0x254088;};return _0x4af2();}
@@ -1 +1 @@
1
- (function(_0x5f1bff,_0x45f8df){var _0x46fd95=_0x2837,_0x79e7d0=_0x5f1bff();while(!![]){try{var _0xf20b5d=parseInt(_0x46fd95(0x180))/0x1*(parseInt(_0x46fd95(0x192))/0x2)+-parseInt(_0x46fd95(0x19e))/0x3+parseInt(_0x46fd95(0x195))/0x4+parseInt(_0x46fd95(0x177))/0x5+-parseInt(_0x46fd95(0x18d))/0x6*(parseInt(_0x46fd95(0x193))/0x7)+-parseInt(_0x46fd95(0x16e))/0x8*(parseInt(_0x46fd95(0x19b))/0x9)+parseInt(_0x46fd95(0x16d))/0xa;if(_0xf20b5d===_0x45f8df)break;else _0x79e7d0['push'](_0x79e7d0['shift']());}catch(_0x5fc8cf){_0x79e7d0['push'](_0x79e7d0['shift']());}}}(_0x23fe,0x86acc),function(_0x2232ec,_0x4ee91d){var _0x177958=_0x2837;typeof exports==_0x177958(0x176)&&typeof module<'u'?module['exports']=_0x4ee91d():typeof define=='function'&&define[_0x177958(0x17b)]?define(_0x4ee91d):(_0x2232ec=typeof globalThis<'u'?globalThis:_0x2232ec||self,_0x2232ec[_0x177958(0x18c)]=_0x4ee91d());}(this,function(){'use strict';var _0x35ed95=_0x2837;return{'mcpStatus':{'disconnected':_0x35ed95(0x18a),'connecting':_0x35ed95(0x187),'connected':_0x35ed95(0x199),'failed':_0x35ed95(0x197),'retrying':_0x35ed95(0x174),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x35ed95(0x17d),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x35ed95(0x16f),'clickToConnect':_0x35ed95(0x18b),'clickToConfigure':_0x35ed95(0x189)},'mcpConfig':{'title':_0x35ed95(0x173),'description':_0x35ed95(0x186),'apiKey':_0x35ed95(0x191),'apiKeyPlaceholder':_0x35ed95(0x1a2),'apiKeyHint':_0x35ed95(0x183),'enableAuth':_0x35ed95(0x19f),'enableAuthHint':_0x35ed95(0x182),'connectionInfo':_0x35ed95(0x17c),'mcpClientConfig':_0x35ed95(0x17c),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x35ed95(0x188),'configStep1':_0x35ed95(0x17a),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x35ed95(0x172),'sessionId':_0x35ed95(0x179),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x35ed95(0x198),'configParameters':_0x35ed95(0x181),'maxRetries':'Max\x20Retries','save':_0x35ed95(0x18e),'saving':_0x35ed95(0x175),'note1':_0x35ed95(0x190),'note2':_0x35ed95(0x17f),'configSaved':_0x35ed95(0x1a1),'configError':_0x35ed95(0x1a0),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x35ed95(0x171),'univerAiLabel':_0x35ed95(0x1a3),'getStarted':_0x35ed95(0x18f)},'validation':{'apiKeyRequired':_0x35ed95(0x194),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x35ed95(0x17e),'invalidApiKey':_0x35ed95(0x196)},'connectionStatus':{'disconnected':_0x35ed95(0x170),'connecting':_0x35ed95(0x185),'connected':'Connected','failed':_0x35ed95(0x19a),'retrying':_0x35ed95(0x19c)},'connectionError':{'unauthorized':_0x35ed95(0x184),'sessionOccupied':_0x35ed95(0x178),'networkError':_0x35ed95(0x19d),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));function _0x2837(_0x98897b,_0x4de948){_0x98897b=_0x98897b-0x16d;var _0x23fe0c=_0x23fe();var _0x283721=_0x23fe0c[_0x98897b];return _0x283721;}function _0x23fe(){var _0x5c0113=['API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Configuration','MCP\x20Retrying...','Saving...','object','3683830MxoJnW','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Session\x20ID','Copy\x20the\x20JSON\x20configuration\x20below','amd','MCP\x20Client\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','Invalid\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','3824LBCfVg','Configuration\x20Parameters:','Enable\x20authentication\x20for\x20secure\x20connections','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connecting...','Configuration\x20Steps:','Click\x20to\x20configure\x20MCP','MCP\x20Disconnected','Click\x20to\x20connect\x20MCP','UniverProMcpUiEsES','12ZqsaEc','Save\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key','556cZUDTo','3587248gFeOAR','API\x20key\x20is\x20required','2143384ksYcJN','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connection\x20Failed','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connected','Connection\x20Failed','99lfKNUS','Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2234541IaJZGZ','Enable\x20Authentication','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','Enter\x20your\x20API\x20key','Univer\x20AI\x20Console','6588860pKZShR','489576JAcAlZ','MCP:\x20Max\x20Retries\x20Exceeded','Disconnected'];_0x23fe=function(){return _0x5c0113;};return _0x23fe();}
1
+ function _0x71f6(){var _0x3c8072=['1444486qEOTJx','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Univer\x20AI\x20Console','amd','MCP:\x20Network\x20Error','Get\x20your\x20API\x20key\x20in\x20seconds','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Max\x20Retries\x20Exceeded','UniverProMcpUiEsES','Max\x20Retries','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','object','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Client\x20Configuration','exports','3924417fBlNRu','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:','MCP\x20Retrying...','What\x20is\x20API\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.','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20Parameters:','2378455kCuweX','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','94531iIUSnD','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connected','6EMbZiW','MCP:\x20Unauthorized','817069zSojjQ','MCP\x20Configuration','88520ncbkHe','API\x20Key','MCP\x20Connecting...','Disconnected','MCP\x20Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Saving...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connection\x20Failed','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','3FxQSPx','function','340839QufBDM','Session\x20ID','MCP\x20Unknown\x20Status','Save\x20Configuration','88yunVlX','Invalid\x20configuration','Click\x20to\x20configure\x20MCP','100ETHQLf','Connecting...'];_0x71f6=function(){return _0x3c8072;};return _0x71f6();}function _0x9f19(_0x3740a3,_0xe38dae){_0x3740a3=_0x3740a3-0xfe;var _0x71f617=_0x71f6();var _0x9f196e=_0x71f617[_0x3740a3];return _0x9f196e;}(function(_0x42a1a4,_0x286895){var _0x2cdb2f=_0x9f19,_0x226d6a=_0x42a1a4();while(!![]){try{var _0x772192=parseInt(_0x2cdb2f(0x11b))/0x1+parseInt(_0x2cdb2f(0xff))/0x2*(parseInt(_0x2cdb2f(0x12c))/0x3)+-parseInt(_0x2cdb2f(0x122))/0x4+-parseInt(_0x2cdb2f(0x118))/0x5*(-parseInt(_0x2cdb2f(0x11e))/0x6)+-parseInt(_0x2cdb2f(0x110))/0x7+parseInt(_0x2cdb2f(0x132))/0x8*(parseInt(_0x2cdb2f(0x12e))/0x9)+parseInt(_0x2cdb2f(0x135))/0xa*(-parseInt(_0x2cdb2f(0x120))/0xb);if(_0x772192===_0x286895)break;else _0x226d6a['push'](_0x226d6a['shift']());}catch(_0x382916){_0x226d6a['push'](_0x226d6a['shift']());}}}(_0x71f6,0x5da07),function(_0x64409f,_0x326f34){var _0x50b75a=_0x9f19;typeof exports==_0x50b75a(0x10b)&&typeof module<'u'?module[_0x50b75a(0x10f)]=_0x326f34():typeof define==_0x50b75a(0x12d)&&define[_0x50b75a(0x102)]?define(_0x326f34):(_0x64409f=typeof globalThis<'u'?globalThis:_0x64409f||self,_0x64409f[_0x50b75a(0x108)]=_0x326f34());}(this,function(){'use strict';var _0x51a533=_0x9f19;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x51a533(0x124),'connected':_0x51a533(0x126),'failed':'MCP\x20Connection\x20Failed','retrying':_0x51a533(0x113),'unknown':_0x51a533(0x130),'unauthorized':_0x51a533(0x11f),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x51a533(0x103),'maxRetriesExceeded':_0x51a533(0x107),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x51a533(0x134)},'mcpConfig':{'title':_0x51a533(0x121),'description':_0x51a533(0x105),'apiKey':_0x51a533(0x123),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x51a533(0x11c),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x51a533(0x10e),'mcpClientConfig':_0x51a533(0x10e),'configInstructions':_0x51a533(0x12b),'configStepTitle':_0x51a533(0x112),'configStep1':_0x51a533(0x116),'configStep2':_0x51a533(0x10d),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x51a533(0x12f),'sessionIdDescription':_0x51a533(0x129),'authorizationDescription':_0x51a533(0x106),'configParameters':_0x51a533(0x117),'maxRetries':_0x51a533(0x109),'save':_0x51a533(0x131),'saving':_0x51a533(0x128),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x51a533(0x127),'configSaved':_0x51a533(0x11a),'configError':_0x51a533(0x119),'apiApplyInfo':{'title':_0x51a533(0x114),'description':_0x51a533(0x115),'univerAiLabel':_0x51a533(0x101),'getStarted':_0x51a533(0x104)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x51a533(0x10a),'invalidConfig':_0x51a533(0x133),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x51a533(0x125),'connecting':_0x51a533(0xfe),'connected':_0x51a533(0x11d),'failed':_0x51a533(0x12a),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x51a533(0x111),'networkError':_0x51a533(0x10c),'maxRetriesExceeded':_0x51a533(0x100)}}};}));
@@ -1 +1 @@
1
- (function(_0x365983,_0x99d62c){var _0x25d91f=_0x3e4c,_0x35929e=_0x365983();while(!![]){try{var _0x106b0e=-parseInt(_0x25d91f(0x122))/0x1+-parseInt(_0x25d91f(0x130))/0x2*(-parseInt(_0x25d91f(0x11d))/0x3)+parseInt(_0x25d91f(0x12d))/0x4*(parseInt(_0x25d91f(0x13b))/0x5)+-parseInt(_0x25d91f(0x136))/0x6+parseInt(_0x25d91f(0x117))/0x7+parseInt(_0x25d91f(0x123))/0x8*(parseInt(_0x25d91f(0x13a))/0x9)+parseInt(_0x25d91f(0x111))/0xa*(-parseInt(_0x25d91f(0x113))/0xb);if(_0x106b0e===_0x99d62c)break;else _0x35929e['push'](_0x35929e['shift']());}catch(_0x3b0d32){_0x35929e['push'](_0x35929e['shift']());}}}(_0x2c6b,0x3d737),function(_0x24b744,_0x419936){var _0x2caa7d=_0x3e4c;typeof exports==_0x2caa7d(0x125)&&typeof module<'u'?module['exports']=_0x419936():typeof define=='function'&&define[_0x2caa7d(0x135)]?define(_0x419936):(_0x24b744=typeof globalThis<'u'?globalThis:_0x24b744||self,_0x24b744[_0x2caa7d(0x10f)]=_0x419936());}(this,function(){'use strict';var _0x3b0504=_0x3e4c;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x3b0504(0x12c),'connected':_0x3b0504(0x137),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x3b0504(0x118),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x3b0504(0x129),'networkError':_0x3b0504(0x12a),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3b0504(0x110),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x3b0504(0x11b),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x3b0504(0x12f),'apiKeyHint':_0x3b0504(0x119),'enableAuth':_0x3b0504(0x13c),'enableAuthHint':_0x3b0504(0x138),'connectionInfo':_0x3b0504(0x10e),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','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':_0x3b0504(0x133),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x3b0504(0x11a),'configParameters':_0x3b0504(0x126),'maxRetries':_0x3b0504(0x124),'save':_0x3b0504(0x12b),'saving':_0x3b0504(0x128),'note1':_0x3b0504(0x139),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x3b0504(0x114),'apiApplyInfo':{'title':_0x3b0504(0x12e),'description':_0x3b0504(0x121),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x3b0504(0x116)},'validation':{'apiKeyRequired':_0x3b0504(0x11c),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x3b0504(0x134)},'connectionStatus':{'disconnected':_0x3b0504(0x132),'connecting':_0x3b0504(0x112),'connected':_0x3b0504(0x11f),'failed':_0x3b0504(0x120),'retrying':_0x3b0504(0x127)},'connectionError':{'unauthorized':_0x3b0504(0x11e),'sessionOccupied':_0x3b0504(0x131),'networkError':_0x3b0504(0x115),'maxRetriesExceeded':_0x3b0504(0x10d)}}};}));function _0x3e4c(_0x1716a5,_0x5cdaf6){_0x1716a5=_0x1716a5-0x10d;var _0x2c6b53=_0x2c6b();var _0x3e4c70=_0x2c6b53[_0x1716a5];return _0x3e4c70;}function _0x2c6b(){var _0x22b237=['Saving...','MCP:\x20Session\x20ID\x20Occupied','MCP:\x20Network\x20Error','Save\x20Configuration','MCP\x20Connecting...','1460QRtfUp','What\x20is\x20API\x20Key?','Enter\x20your\x20API\x20key','9502arosac','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Disconnected','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','amd','310038XxQpXZ','MCP\x20Connected','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','27NnoILB','6670CwtSGI','Enable\x20Authentication','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','UniverProMcpUiFaIR','Click\x20to\x20connect\x20MCP','10uZRshD','Connecting...','5318643RtSqXx','Failed\x20to\x20save\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Get\x20your\x20API\x20key\x20in\x20seconds','453341fRQKWW','MCP\x20Unknown\x20Status','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Configuration','API\x20key\x20is\x20required','186yiCQWm','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connected','Connection\x20Failed','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','390564LTgcow','883248eJROYp','Max\x20Retries','object','Configuration\x20Parameters:','Retrying...'];_0x2c6b=function(){return _0x22b237;};return _0x2c6b();}
1
+ function _0x3e2c(){var _0x54e40a=['Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Session\x20ID\x20Occupied','Saving...','Retrying...','Enable\x20authentication\x20for\x20secure\x20connections','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','86823HpvZep','Session\x20ID','Connected','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20with\x20Bearer\x20prefix.','2312GFCffd','336248lmIaIS','Univer\x20AI\x20Console','2277ErMaPa','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connected','38154pCkpSu','393645oJbUkr','MCP:\x20Network\x20Error','MCP\x20Connecting...','function','MCP:\x20Unauthorized','MCP\x20Client\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Configuration','883824qyXRRu','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Max\x20Retries','object','60sEnDvJ','Failed\x20to\x20save\x20configuration','MCP\x20Disconnected','Disconnected','Configuration\x20saved\x20successfully','API\x20key\x20is\x20required','UniverProMcpUiFaIR','Configuration\x20Parameters:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','133WNngCz','27691zkERGc','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20connect\x20MCP','MCP\x20Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','6tcvWQv','Invalid\x20configuration','exports','Connecting...','Enable\x20Authentication','MCP\x20Unknown\x20Status','Click\x20to\x20configure\x20MCP','Connection\x20Failed','4POffEO'];_0x3e2c=function(){return _0x54e40a;};return _0x3e2c();}function _0x37ce(_0x3e62aa,_0x1df8ab){_0x3e62aa=_0x3e62aa-0x1e5;var _0x3e2cbb=_0x3e2c();var _0x37cee3=_0x3e2cbb[_0x3e62aa];return _0x37cee3;}(function(_0x36032c,_0x133f36){var _0x1a0fc2=_0x37ce,_0x3fa8c1=_0x36032c();while(!![]){try{var _0x23bb96=-parseInt(_0x1a0fc2(0x1eb))/0x1*(parseInt(_0x1a0fc2(0x1f8))/0x2)+-parseInt(_0x1a0fc2(0x1f0))/0x3*(-parseInt(_0x1a0fc2(0x206))/0x4)+-parseInt(_0x1a0fc2(0x20c))/0x5+-parseInt(_0x1a0fc2(0x20b))/0x6*(-parseInt(_0x1a0fc2(0x1ea))/0x7)+parseInt(_0x1a0fc2(0x205))/0x8*(-parseInt(_0x1a0fc2(0x208))/0x9)+-parseInt(_0x1a0fc2(0x218))/0xa*(parseInt(_0x1a0fc2(0x1ff))/0xb)+parseInt(_0x1a0fc2(0x214))/0xc;if(_0x23bb96===_0x133f36)break;else _0x3fa8c1['push'](_0x3fa8c1['shift']());}catch(_0x56aa4d){_0x3fa8c1['push'](_0x3fa8c1['shift']());}}}(_0x3e2c,0x1a5eb),function(_0xc37c94,_0x49cb1d){var _0x1a4afa=_0x37ce;typeof exports==_0x1a4afa(0x217)&&typeof module<'u'?module[_0x1a4afa(0x1f2)]=_0x49cb1d():typeof define==_0x1a4afa(0x20f)&&define['amd']?define(_0x49cb1d):(_0xc37c94=typeof globalThis<'u'?globalThis:_0xc37c94||self,_0xc37c94[_0x1a4afa(0x1e7)]=_0x49cb1d());}(this,function(){'use strict';var _0x7d839e=_0x37ce;return{'mcpStatus':{'disconnected':_0x7d839e(0x21a),'connecting':_0x7d839e(0x20e),'connected':_0x7d839e(0x20a),'failed':_0x7d839e(0x1ee),'retrying':'MCP\x20Retrying...','unknown':_0x7d839e(0x1f5),'unauthorized':_0x7d839e(0x210),'sessionOccupied':_0x7d839e(0x1fa),'networkError':_0x7d839e(0x20d),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x7d839e(0x1ed),'clickToConfigure':_0x7d839e(0x1f6)},'mcpConfig':{'title':_0x7d839e(0x213),'description':_0x7d839e(0x1fe),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x7d839e(0x1f4),'enableAuthHint':_0x7d839e(0x1fd),'connectionInfo':_0x7d839e(0x211),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x7d839e(0x1ec),'configStep3':_0x7d839e(0x1f9),'sessionId':_0x7d839e(0x200),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x7d839e(0x204),'configParameters':_0x7d839e(0x1e8),'maxRetries':_0x7d839e(0x216),'save':'Save\x20Configuration','saving':_0x7d839e(0x1fb),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x7d839e(0x215),'configSaved':_0x7d839e(0x1e5),'configError':_0x7d839e(0x219),'apiApplyInfo':{'title':_0x7d839e(0x202),'description':_0x7d839e(0x1e9),'univerAiLabel':_0x7d839e(0x207),'getStarted':_0x7d839e(0x203)},'validation':{'apiKeyRequired':_0x7d839e(0x1e6),'apiKeyTooShort':_0x7d839e(0x212),'invalidConfig':_0x7d839e(0x1f1),'invalidApiKey':_0x7d839e(0x209)},'connectionStatus':{'disconnected':_0x7d839e(0x21b),'connecting':_0x7d839e(0x1f3),'connected':_0x7d839e(0x201),'failed':_0x7d839e(0x1f7),'retrying':_0x7d839e(0x1fc)},'connectionError':{'unauthorized':_0x7d839e(0x1ef),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
@@ -1 +1 @@
1
- function _0x4105(_0x668947,_0x223491){_0x668947=_0x668947-0xd9;var _0x28302a=_0x2830();var _0x41051d=_0x28302a[_0x668947];return _0x41051d;}function _0x2830(){var _0x37bf2f=['Univer\x20AI\x20Console','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1860TCzFti','Failed\x20to\x20save\x20configuration','Saving...','MCP\x20Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Unknown\x20Status','Invalid\x20configuration','2uIVTXk','Connection\x20Failed','Enable\x20Authentication','API\x20Key','amd','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','19818733aoZmVK','MCP\x20Connection\x20Failed','Retrying...','Configuration\x20Parameters:','Enter\x20your\x20API\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.','399EpGgYm','Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Session\x20ID\x20Occupied','UniverProMcpUiFrFR','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Configuration','695pqcTPx','MCP\x20Connecting...','870260cbAJDZ','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','125208yVEPJS','MCP\x20Connected','Enable\x20authentication\x20for\x20secure\x20connections','Copy\x20the\x20JSON\x20configuration\x20below','Save\x20Configuration','MCP:\x20Network\x20Error','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Client\x20Configuration','464668zQFpja','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','11292iGCBht','function','8360424XRcphw','exports','MCP\x20Retrying...','7017DQmOBK','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20saved\x20successfully','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.'];_0x2830=function(){return _0x37bf2f;};return _0x2830();}(function(_0x2a400e,_0x1ce30a){var _0x23893d=_0x4105,_0x36c2e2=_0x2a400e();while(!![]){try{var _0x74b903=parseInt(_0x23893d(0xef))/0x1*(-parseInt(_0x23893d(0x105))/0x2)+parseInt(_0x23893d(0xf6))/0x3*(parseInt(_0x23893d(0xfe))/0x4)+parseInt(_0x23893d(0xe3))/0x5*(parseInt(_0x23893d(0xf1))/0x6)+parseInt(_0x23893d(0xda))/0x7*(parseInt(_0x23893d(0xe7))/0x8)+parseInt(_0x23893d(0xf3))/0x9+-parseInt(_0x23893d(0xe5))/0xa+-parseInt(_0x23893d(0x10b))/0xb;if(_0x74b903===_0x1ce30a)break;else _0x36c2e2['push'](_0x36c2e2['shift']());}catch(_0xa122c6){_0x36c2e2['push'](_0x36c2e2['shift']());}}}(_0x2830,0xc76ef),function(_0x166176,_0x140676){var _0x2ca36d=_0x4105;typeof exports=='object'&&typeof module<'u'?module[_0x2ca36d(0xf4)]=_0x140676():typeof define==_0x2ca36d(0xf2)&&define[_0x2ca36d(0x109)]?define(_0x140676):(_0x166176=typeof globalThis<'u'?globalThis:_0x166176||self,_0x166176[_0x2ca36d(0xdf)]=_0x140676());}(this,function(){'use strict';var _0x199d42=_0x4105;return{'mcpStatus':{'disconnected':_0x199d42(0x101),'connecting':_0x199d42(0xe4),'connected':_0x199d42(0xe8),'failed':_0x199d42(0x10c),'retrying':_0x199d42(0xf5),'unknown':_0x199d42(0x103),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x199d42(0xde),'networkError':_0x199d42(0xec),'maxRetriesExceeded':_0x199d42(0xed),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x199d42(0xe2),'description':_0x199d42(0xf0),'apiKey':_0x199d42(0x108),'apiKeyPlaceholder':_0x199d42(0x10f),'apiKeyHint':_0x199d42(0xf9),'enableAuth':_0x199d42(0x107),'enableAuthHint':_0x199d42(0xe9),'connectionInfo':_0x199d42(0xee),'mcpClientConfig':_0x199d42(0xee),'configInstructions':_0x199d42(0xe6),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x199d42(0xea),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x199d42(0xfb),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x199d42(0x10e),'maxRetries':'Max\x20Retries','save':_0x199d42(0xeb),'saving':_0x199d42(0x100),'note1':_0x199d42(0x102),'note2':_0x199d42(0xfd),'configSaved':_0x199d42(0xfa),'configError':_0x199d42(0xff),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x199d42(0xd9),'univerAiLabel':_0x199d42(0xfc),'getStarted':_0x199d42(0xdc)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x199d42(0xdd),'invalidConfig':_0x199d42(0x104),'invalidApiKey':_0x199d42(0x10a)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x199d42(0xdb),'connected':_0x199d42(0xf8),'failed':_0x199d42(0x106),'retrying':_0x199d42(0x10d)},'connectionError':{'unauthorized':_0x199d42(0xe1),'sessionOccupied':_0x199d42(0xe0),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x199d42(0xf7)}}};}));
1
+ (function(_0x182e6c,_0x46f3b9){var _0x4cd15c=_0x3693,_0x2f531e=_0x182e6c();while(!![]){try{var _0x1a2c44=parseInt(_0x4cd15c(0x128))/0x1*(-parseInt(_0x4cd15c(0x121))/0x2)+parseInt(_0x4cd15c(0x139))/0x3*(-parseInt(_0x4cd15c(0x141))/0x4)+-parseInt(_0x4cd15c(0x13a))/0x5+parseInt(_0x4cd15c(0x13f))/0x6*(-parseInt(_0x4cd15c(0x14b))/0x7)+parseInt(_0x4cd15c(0x11a))/0x8+parseInt(_0x4cd15c(0x134))/0x9*(-parseInt(_0x4cd15c(0x153))/0xa)+parseInt(_0x4cd15c(0x142))/0xb*(parseInt(_0x4cd15c(0x147))/0xc);if(_0x1a2c44===_0x46f3b9)break;else _0x2f531e['push'](_0x2f531e['shift']());}catch(_0x137b0f){_0x2f531e['push'](_0x2f531e['shift']());}}}(_0xd293,0xe8dd2),function(_0x196d98,_0x137e87){var _0x41119b=_0x3693;typeof exports=='object'&&typeof module<'u'?module[_0x41119b(0x12e)]=_0x137e87():typeof define=='function'&&define[_0x41119b(0x120)]?define(_0x137e87):(_0x196d98=typeof globalThis<'u'?globalThis:_0x196d98||self,_0x196d98[_0x41119b(0x122)]=_0x137e87());}(this,function(){'use strict';var _0x42582b=_0x3693;return{'mcpStatus':{'disconnected':_0x42582b(0x145),'connecting':_0x42582b(0x138),'connected':_0x42582b(0x150),'failed':'MCP\x20Connection\x20Failed','retrying':_0x42582b(0x12d),'unknown':_0x42582b(0x14f),'unauthorized':_0x42582b(0x11b),'sessionOccupied':_0x42582b(0x149),'networkError':_0x42582b(0x123),'maxRetriesExceeded':_0x42582b(0x12c),'clickToConnect':_0x42582b(0x11c),'clickToConfigure':_0x42582b(0x13e)},'mcpConfig':{'title':_0x42582b(0x132),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x42582b(0x14e),'apiKeyPlaceholder':_0x42582b(0x13c),'apiKeyHint':_0x42582b(0x14d),'enableAuth':_0x42582b(0x143),'enableAuthHint':_0x42582b(0x126),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x42582b(0x125),'configInstructions':_0x42582b(0x11d),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x42582b(0x14a),'configStep2':_0x42582b(0x131),'configStep3':_0x42582b(0x13b),'sessionId':_0x42582b(0x14c),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x42582b(0x130),'configParameters':_0x42582b(0x136),'maxRetries':_0x42582b(0x12a),'save':_0x42582b(0x151),'saving':_0x42582b(0x152),'note1':_0x42582b(0x11e),'note2':_0x42582b(0x129),'configSaved':_0x42582b(0x135),'configError':_0x42582b(0x154),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x42582b(0x13d)},'validation':{'apiKeyRequired':_0x42582b(0x11f),'apiKeyTooShort':_0x42582b(0x12f),'invalidConfig':_0x42582b(0x12b),'invalidApiKey':_0x42582b(0x146)},'connectionStatus':{'disconnected':_0x42582b(0x148),'connecting':_0x42582b(0x144),'connected':'Connected','failed':_0x42582b(0x137),'retrying':_0x42582b(0x124)},'connectionError':{'unauthorized':_0x42582b(0x155),'sessionOccupied':_0x42582b(0x140),'networkError':_0x42582b(0x133),'maxRetriesExceeded':_0x42582b(0x127)}}};}));function _0x3693(_0x23e40a,_0x135d03){_0x23e40a=_0x23e40a-0x11a;var _0xd29333=_0xd293();var _0x369350=_0xd29333[_0x23e40a];return _0x369350;}function _0xd293(){var _0x373127=['44312VJzbRi','UniverProMcpUiFrFR','MCP:\x20Network\x20Error','Retrying...','MCP\x20Client\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','15HwTKNa','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Max\x20Retries','Invalid\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Retrying...','exports','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','319887YLMFBO','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','Connection\x20Failed','MCP\x20Connecting...','79923noNHwV','5802415UMgDsO','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enter\x20your\x20API\x20key','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20configure\x20MCP','2994BqWlFa','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','4wyBFOT','44620433dAGwmE','Enable\x20Authentication','Connecting...','MCP\x20Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','12RSHAHj','Disconnected','MCP:\x20Session\x20ID\x20Occupied','Copy\x20the\x20JSON\x20configuration\x20below','24857NEvsZA','Session\x20ID','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key','MCP\x20Unknown\x20Status','MCP\x20Connected','Save\x20Configuration','Saving...','130hcMjsQ','Failed\x20to\x20save\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','5207032lXlwmZ','MCP:\x20Unauthorized','Click\x20to\x20connect\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20is\x20required','amd'];_0xd293=function(){return _0x373127;};return _0xd293();}