@univerjs-pro/mcp-ui 0.15.2-insiders.20260124-12fc7f0 → 0.15.3-insiders.20260131-b9b8805

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 (54) 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 -0
  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 -0
  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 -0
  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/types/locale/sk-SK.d.ts +3 -0
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/sk-SK.js +1 -0
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +8 -8
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x5e1569=_0x5555;(function(_0x12dd4a,_0x2d5a3a){const _0x129581=_0x5555,_0x20e14e=_0x12dd4a();while(!![]){try{const _0x54b122=-parseInt(_0x129581(0x1aa))/0x1*(parseInt(_0x129581(0x2ad))/0x2)+parseInt(_0x129581(0x275))/0x3+parseInt(_0x129581(0x186))/0x4+-parseInt(_0x129581(0x159))/0x5*(-parseInt(_0x129581(0x22a))/0x6)+-parseInt(_0x129581(0x167))/0x7*(-parseInt(_0x129581(0x1d5))/0x8)+parseInt(_0x129581(0x1ca))/0x9*(-parseInt(_0x129581(0x135))/0xa)+parseInt(_0x129581(0x2a4))/0xb;if(_0x54b122===_0x2d5a3a)break;else _0x20e14e['push'](_0x20e14e['shift']());}catch(_0x56b168){_0x20e14e['push'](_0x20e14e['shift']());}}}(_0x4582,0xa9df0));var ae=Object[_0x5e1569(0x233)],le=(_0x13ceda,_0x4914b9,_0x46d84d)=>_0x4914b9 in _0x13ceda?ae(_0x13ceda,_0x4914b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46d84d}):_0x13ceda[_0x4914b9]=_0x46d84d,I=(_0x25a9df,_0x34bba4,_0x31edfa)=>le(_0x25a9df,typeof _0x34bba4!='symbol'?_0x34bba4+'':_0x34bba4,_0x31edfa);Object[_0x5e1569(0x233)](exports,Symbol[_0x5e1569(0x28b)],{'value':_0x5e1569(0x29c)});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x16ffca,..._0xa35369}){const _0x53db24=_0x5e1569,{icon:_0x102d43,id:_0x225129,className:_0x3ab8ab,extend:_0x503e4c,..._0x29e36d}=_0xa35369,_0xbf2abf=(_0x53db24(0x196)+_0x225129+'\x20'+(_0x3ab8ab||''))[_0x53db24(0x222)](),_0x10b5e3=d[_0x53db24(0x1fc)]('_'+de());return G(_0x102d43,''+_0x225129,{'defIds':_0x102d43[_0x53db24(0x197)],'idSuffix':_0x10b5e3['current']},{'ref':_0x16ffca,'className':_0xbf2abf,..._0x29e36d},_0x503e4c);}function G(_0x583a32,_0x25b7ae,_0x4a6f0e,_0x565257,_0x245dac){const _0x4ec4d1=_0x5e1569;return d[_0x4ec4d1(0x237)](_0x583a32[_0x4ec4d1(0x1ad)],{'key':_0x25b7ae,...ue(_0x583a32,_0x4a6f0e,_0x245dac),..._0x565257},(ve(_0x583a32,_0x4a6f0e)[_0x4ec4d1(0x16c)]||[])[_0x4ec4d1(0x1d1)]((_0x47dc97,_0x53c7e0)=>G(_0x47dc97,_0x25b7ae+'-'+_0x583a32[_0x4ec4d1(0x1ad)]+'-'+_0x53c7e0,_0x4a6f0e,void 0x0,_0x245dac)));}function ue(_0x1bf83f,_0x2218ce,_0x130966){const _0x459bd2=_0x5e1569,_0x18bc3e={..._0x1bf83f[_0x459bd2(0x270)]};_0x130966!=null&&_0x130966[_0x459bd2(0x20a)]&&_0x18bc3e[_0x459bd2(0x269)]===_0x459bd2(0x20a)&&(_0x18bc3e[_0x459bd2(0x269)]=_0x130966[_0x459bd2(0x20a)]),_0x1bf83f[_0x459bd2(0x1ad)]===_0x459bd2(0x242)&&_0x18bc3e['id']&&(_0x18bc3e['id']=_0x18bc3e['id']+_0x2218ce[_0x459bd2(0x188)]),Object[_0x459bd2(0x232)](_0x18bc3e)[_0x459bd2(0x1e1)](([_0xf2895f,_0x4ea62b])=>{const _0x43b820=_0x459bd2;_0xf2895f===_0x43b820(0x242)&&typeof _0x4ea62b==_0x43b820(0x1eb)&&(_0x18bc3e[_0xf2895f]=_0x4ea62b[_0x43b820(0x15a)](/url\(#(.*)\)/,_0x43b820(0x2b8)+_0x2218ce[_0x43b820(0x188)]+')'));});const {defIds:_0x53d25e}=_0x2218ce;return!_0x53d25e||_0x53d25e[_0x459bd2(0x199)]===0x0||(_0x1bf83f['tag']===_0x459bd2(0x178)&&_0x18bc3e[_0x459bd2(0x293)]&&(_0x18bc3e[_0x459bd2(0x293)]=_0x18bc3e['xlink:href']+_0x2218ce[_0x459bd2(0x188)]),Object[_0x459bd2(0x232)](_0x18bc3e)[_0x459bd2(0x1e1)](([_0x3fdb40,_0x1c8a95])=>{const _0x17da45=_0x459bd2;typeof _0x1c8a95==_0x17da45(0x1eb)&&(_0x18bc3e[_0x3fdb40]=_0x1c8a95[_0x17da45(0x15a)](/url\(#(.*)\)/,_0x17da45(0x2b8)+_0x2218ce[_0x17da45(0x188)]+')'));})),_0x18bc3e;}function ve(_0x2d0188,_0x1d5f96){const _0x4a85dc=_0x5e1569;var _0x45ef89;const {defIds:_0x4dd4a5}=_0x1d5f96;return!_0x4dd4a5||_0x4dd4a5[_0x4a85dc(0x199)]===0x0?_0x2d0188:_0x2d0188[_0x4a85dc(0x1ad)]===_0x4a85dc(0x1c0)&&((_0x45ef89=_0x2d0188['children'])!=null&&_0x45ef89[_0x4a85dc(0x199)])?{..._0x2d0188,'children':_0x2d0188['children'][_0x4a85dc(0x1d1)](_0x13107a=>typeof _0x13107a[_0x4a85dc(0x270)]['id']==_0x4a85dc(0x1eb)&&_0x4dd4a5&&_0x4dd4a5[_0x4a85dc(0x181)](_0x13107a[_0x4a85dc(0x270)]['id'])?{..._0x13107a,'attrs':{..._0x13107a[_0x4a85dc(0x270)],'id':_0x13107a[_0x4a85dc(0x270)]['id']+_0x1d5f96['idSuffix']}}:_0x13107a)}:_0x2d0188;}function de(){const _0x4309a9=_0x5e1569;return Math[_0x4309a9(0x13e)]()[_0x4309a9(0x280)](0x24)[_0x4309a9(0x17c)](0x2,0x8);}_['displayName']=_0x5e1569(0x244);const Ce={'tag':_0x5e1569(0x1a6),'attrs':{'xmlns':_0x5e1569(0x1a9),'fill':'none','viewBox':_0x5e1569(0x1cd),'width':_0x5e1569(0x273),'height':_0x5e1569(0x273)},'children':[{'tag':_0x5e1569(0x17d),'attrs':{'fill':'currentColor','d':_0x5e1569(0x1c2),'fillRule':_0x5e1569(0x152),'clipRule':_0x5e1569(0x152)}}]},H=d[_0x5e1569(0x163)](function(_0x3680af,_0x3c6896){const _0x247633=_0x5e1569;return d['createElement'](_,Object[_0x247633(0x20b)]({},_0x3680af,{'id':_0x247633(0x1df),'ref':_0x3c6896,'icon':Ce}));});H[_0x5e1569(0x17a)]=_0x5e1569(0x1fa);const ge={'tag':_0x5e1569(0x1a6),'attrs':{'xmlns':_0x5e1569(0x1a9),'fill':'none','viewBox':_0x5e1569(0x1cd),'width':_0x5e1569(0x273),'height':_0x5e1569(0x273)},'children':[{'tag':_0x5e1569(0x17d),'attrs':{'fill':_0x5e1569(0x1ef),'d':_0x5e1569(0x2b5)}}]},B=d['forwardRef'](function(_0x41969,_0x260db5){const _0x34927d=_0x5e1569;return d['createElement'](_,Object[_0x34927d(0x20b)]({},_0x41969,{'id':_0x34927d(0x1e2),'ref':_0x260db5,'icon':ge}));});function _0x4582(){const _0x2ace63=['MCP:\x20会话\x20ID\x20已被占用','DISCONNECTED','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','NONE','disposeWithMe','mcpStatus.maxRetriesExceeded','CONNECTED','getItem','trim','MCPConfigUIController','univer-text-gray-500','MCP_PLUGIN_CONFIG_KEY','mcpConfig.connectionError.unauthorized','Retrying...','MCP:\x20未授权','MCPConfigPanel','1284EXfnlp','MCP\x20状态未知','M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','WebSocketService','mcpConfig.configParameters','span','entries','defineProperty','stringify','show','mcpConfig.description','createElement','showDeveloperTools','univer-font-medium','_messageService','univer-flex\x20univer-items-center','_config','mcpConfig.apiApplyInfo.description','univer-text-blue-600','_loading$','subscribe','MCP\x20连接失败','mask','CloseIcon','UniverIcon','mcpConfig.connectionStatus.retrying','univer-text-green-500','connectInjector','useObservable','API\x20密钥','什么是\x20API\x20密钥?','univer-bg-gray-500','OTHERS','univer-flex\x20univer-gap-3','mcpConfig.authorizationDescription','univer-size-4','配置步骤:','COMMAND','API\x20密钥无效,请检查密钥是否正确','_initializeCommands','复制以下\x20JSON\x20配置','Configuration\x20saved\x20successfully','ISocketService','univer-text-sm\x20univer-font-medium','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-min-w-0\x20univer-flex-1','_injector','add','none','_config$','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','button','mcpConfig.title','OffLineIcon','enableAutoConnect','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','BuiltInUIPart','MessageType','registerComponent','div','重连中...','fill','close','mcpServerUrl','Connection\x20Failed','mcpConfig.apiKeyHint','showStatus','round','attrs','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','UniverMCPUIPlugin','1em','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','1363320MExWIm','连接中...','MCP\x20客户端配置','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-space-y-3','univer-shrink-0\x20univer-text-blue-500','https://mcp.univer.ai/mcp/?univer_session_id=','_menuManagerService','MCPConnectionUIController','HelpIcon','_configService','toString','mcpConfig.validation.invalidConfig','Click\x20to\x20configure\x20MCP','未连接','mcpConfig.apiKey','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','useCallback','jsxs','RETRYING','MCP:\x20Session\x20ID\x20Occupied','zhCN','toStringTag','Univer\x20AI\x20Console','univer-flex\x20univer-flex-wrap\x20univer-gap-2','sessionId$','mcpStatus.sessionOccupied','clsx','noopener\x20noreferrer','Plugin','xlink:href','Inject','mcpConfig.connectionStatus.disconnected','Univer\x20AI\x20控制台','univer-bg-red-500','get','保存配置','enUS','univer-text-gray-400','Module','MCP\x20Connection\x20Failed','配置保存失败','setItem','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','mcpConfig.note1','mcpConfig.validation.invalidApiKey','SESSION_ID_OCCUPIED','4422792degeuJ','MCPConnectionError','https://console.univer.ai','MenuIcon','http','univer-flex\x20univer-items-center\x20univer-gap-3','MenuItemType','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','MCPStatusDisplay','4EkVSKu','Error','_commandService','connectionStatus$','_initConfigSync','mcpConfig.apiKeyPlaceholder','connectionError$','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','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','MCP\x20连接中...','MCP:\x20网络错误','url(#$1','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','push','value','Click\x20to\x20connect\x20MCP','最大重试次数','mcpConfig.connectionError.maxRetriesExceeded','会话\x20ID\x20已被占用,请稍后再试','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','pluginName','12310ylslOV','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCPConnectionController','MCP\x20Unknown\x20Status','API\x20key\x20is\x20required','mcpStatus.clickToConnect','univer-size-2\x20univer-rounded-full','Save\x20Configuration','ILocalStorageService','random','univer-flex\x20univer-items-center\x20univer-gap-2','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\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','univer.plus','label','_createConfigPanelComponent','univer.ai','mcpStatus.connected','univer-text-xs\x20univer-text-gray-500','mcpConfig.configSaved','clipPath','启用身份验证以获得安全连接','您的\x20API\x20密钥将在此浏览器中本地存储','Authorization:','_registerComponent','_loadStoredApiKey','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-flex\x20univer-items-start\x20univer-gap-3','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','Injector','evenodd','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpConfig.connectionError.sessionOccupied','error','Button','isValid','MCP\x20Client\x20Configuration','13355sEZihC','replace','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcp-config-dialog','mcpConfig.connectionInfo','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','removeItem','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Enable\x20Authentication','mcpStatus.retrying','forwardRef','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','FAILED','MCP:\x20Max\x20Retries\x20Exceeded','63924oFeicr','_componentManager','Success','white','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children','univer-shrink-0\x20univer-text-red-500','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','showConfigPanel','mcpConfig.saving','Get\x20your\x20API\x20key\x20in\x20seconds','ComponentManager','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.connectionStatus.connecting','univer-bg-green-500','将配置添加到您的\x20MCP\x20客户端设置文件中','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','use','mcpConfig.configStep1','displayName','text','substring','path','OnLineIcon','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','next','includes','mcp.apiKey','mcpConfig.note2','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','mcpConfig.apiApplyInfo.univerAiLabel','402348JaIspL','Input','idSuffix','已连接','_mcpCoreConfig$','_localStorageService','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','url(#off-line-icon_clip0_910_343)','translate(.97)','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','mcpStatus.networkError','\x20-\x20','UniverMCPPlugin','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Parameters:','univerjs-icon\x20univerjs-icon-','defIds','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','length','HEADER_MENU','IDialogService','MCP\x20已断开','会话ID','bottom','useState','MCPConnectionStatus','univer-flex-1','jsx','_initStatusComponent','几秒钟内获取您的\x20API\x20密钥','API\x20Key','svg','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','MCP\x20Connecting...','http://www.w3.org/2000/svg','115113nJoRLi','Copy\x20the\x20JSON\x20configuration\x20below','_apiKey$','tag','mcpConfig.configError','MAX_RETRIES_EXCEEDED','has','on-line-icon_clip0_910_349','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','_localeService','DependentOn','_connectionController','MCPUIMenuController','univer-space-y-2','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','配置更改将立即生效','ICommandService','MCP\x20Retrying...','https://console.univer.plus','univer-bg-blue-500','带有\x20Bearer\x20前缀的\x20API\x20密钥。','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','defs','off','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','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCP\x20Disconnected','点击连接\x20MCP','registerCommand','mcpConfig.configStep3','onStarting','点击配置\x20MCP','4473VcTHfm','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','网络连接错误,请检查您的网络连接','0\x200\x2016\x2016','useDependency','Disposable','univer-text-white','map','mcp-ui.command.openConfigPanel','API\x20密钥长度至少需要\x2010\x20位','mcpConfig.connectionError.networkError','8BNspWa','Configuration\x20Steps:','_validateConfig','配置无效','LocaleService','apiKey','mcpConfig.apiApplyInfo.title','Configuration\x20Notes:','IMenuManagerService','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','check-mark-icon','API\x20key\x20with\x20Bearer\x20prefix.','forEach','close-icon','setConfig','BehaviorSubject','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','配置参数:','ILogService','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','IUIPartsService','string','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','_blank','IConfigService','currentColor','getOwnPropertyDescriptor','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_initializeMenus','mcpStatus.clickToConfigure','getConfig','mcpStatus.unknown','univer-space-y-4','univer-mr-2\x20univer-flex\x20univer-text-xl','MCP:\x20Network\x20Error','CheckMarkIcon','CONNECTING','useRef','_logService','0\x200\x2017\x2016','Connecting...','mcpStatus.connecting','off-line-icon_clip0_910_343','_handleConfigSave','warn','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','超出最大重试次数,请稍后再试','NETWORK_ERROR','_dialogService','_initAutoConnect','_mcpConnectionController','colorChannel1','assign','mcpConfig.save','_uiPartsService','validateApiKey','url(#on-line-icon_clip0_910_349)','off-line-icon','Failed\x20to\x20save\x20configuration','mcpConfig.sessionIdDescription','UNAUTHORIZED','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer_session_id:','M0\x200H16V16H0z','Bearer\x20','merge','mcpConfig.configStepTitle'];_0x4582=function(){return _0x2ace63;};return _0x4582();}B[_0x5e1569(0x17a)]=_0x5e1569(0x243);const fe={'tag':_0x5e1569(0x1a6),'attrs':{'xmlns':_0x5e1569(0x1a9),'fill':_0x5e1569(0x25c),'viewBox':_0x5e1569(0x1cd),'width':_0x5e1569(0x273),'height':_0x5e1569(0x273)},'children':[{'tag':_0x5e1569(0x17d),'attrs':{'fill':_0x5e1569(0x1ef),'d':_0x5e1569(0x16e)}},{'tag':_0x5e1569(0x17d),'attrs':{'fill':_0x5e1569(0x1ef),'d':_0x5e1569(0x25e)}},{'tag':_0x5e1569(0x17d),'attrs':{'fill':'currentColor','d':_0x5e1569(0x22c),'fillRule':'evenodd','clipRule':_0x5e1569(0x152)}}]},F=d[_0x5e1569(0x163)](function(_0x40a6ba,_0x49c138){const _0x13b1f8=_0x5e1569;return d[_0x13b1f8(0x237)](_,Object[_0x13b1f8(0x20b)]({},_0x40a6ba,{'id':'help-icon','ref':_0x49c138,'icon':fe}));});F[_0x5e1569(0x17a)]=_0x5e1569(0x27e);const pe={'tag':_0x5e1569(0x1a6),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5e1569(0x25c),'viewBox':_0x5e1569(0x1cd),'width':'1em','height':_0x5e1569(0x273)},'children':[{'tag':'g','attrs':{'clipPath':_0x5e1569(0x18d)},'children':[{'tag':'path','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':_0x5e1569(0x26f),'strokeLinejoin':_0x5e1569(0x26f),'strokeWidth':1.2}}]},{'tag':_0x5e1569(0x1c0),'attrs':{},'children':[{'tag':_0x5e1569(0x148),'attrs':{'id':_0x5e1569(0x201)},'children':[{'tag':_0x5e1569(0x17d),'attrs':{'fill':_0x5e1569(0x16a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5e1569(0x201)]},Y=d['forwardRef'](function(_0x28721b,_0xc3d18d){const _0xa0ab00=_0x5e1569;return d['createElement'](_,Object[_0xa0ab00(0x20b)]({},_0x28721b,{'id':_0xa0ab00(0x210),'ref':_0xc3d18d,'icon':pe}));});Y[_0x5e1569(0x17a)]=_0x5e1569(0x261);const he={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5e1569(0x25c),'viewBox':_0x5e1569(0x1fe),'width':'1em','height':_0x5e1569(0x273)},'children':[{'tag':'g','attrs':{'clipPath':_0x5e1569(0x20f)},'children':[{'tag':'path','attrs':{'stroke':_0x5e1569(0x1ef),'d':_0x5e1569(0x278),'strokeLinecap':'round','strokeLinejoin':_0x5e1569(0x26f),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5e1569(0x148),'attrs':{'id':_0x5e1569(0x1b1)},'children':[{'tag':'path','attrs':{'fill':_0x5e1569(0x16a),'d':_0x5e1569(0x216),'transform':_0x5e1569(0x18e)}}]}]}],'defIds':[_0x5e1569(0x1b1)]},q=d['forwardRef'](function(_0x289116,_0xfc4c1){const _0x2d44f4=_0x5e1569;return d[_0x2d44f4(0x237)](_,Object[_0x2d44f4(0x20b)]({},_0x289116,{'id':'on-line-icon','ref':_0xfc4c1,'icon':he}));});q[_0x5e1569(0x17a)]=_0x5e1569(0x17e);function V(_0x851923){const _0x1100fb=_0x5e1569;var _0x48dbd0,_0x2e6526;const {mcpCoreConfig:_0xe0a828,onSave:_0x41f6d6,loading:_0x4abc1b=!0x1,config:_0x6ac9eb,connectionStatus$:_0xdf613d,connectionError$:_0xd2e409,currentApiKey$:_0x386c66,currentSessionId$:_0x2d7665}=_0x851923,_0x151077=v[_0x1100fb(0x1ce)](u[_0x1100fb(0x1d9)]),_0x35b0af=v['useObservable'](_0xdf613d,s[_0x1100fb(0x1a0)]['DISCONNECTED']),_0x122a67=v[_0x1100fb(0x248)](_0xd2e409,s[_0x1100fb(0x2a5)][_0x1100fb(0x21d)]),_0x4515bf=v[_0x1100fb(0x248)](_0x2d7665,''),_0x49c575=v[_0x1100fb(0x248)](_0x386c66,''),[_0x66d3c9,_0x345c1d]=d[_0x1100fb(0x19f)](_0x49c575||''),_0x5b5765=!0x0,_0x3c06de=_0x6ac9eb['showDeveloperTools']&&_0xe0a828[_0x1100fb(0x26b)]&&(_0xe0a828[_0x1100fb(0x26b)][_0x1100fb(0x181)](_0x1100fb(0x141))||_0xe0a828[_0x1100fb(0x26b)][_0x1100fb(0x181)](_0x1100fb(0x144))),_0x10d480=(_0x48dbd0=_0xe0a828['mcpServerUrl'])==null?void 0x0:_0x48dbd0[_0x1100fb(0x181)](_0x1100fb(0x141)),_0x599123=(_0x2e6526=_0xe0a828[_0x1100fb(0x26b)])==null?void 0x0:_0x2e6526[_0x1100fb(0x181)](_0x1100fb(0x144)),_0x272495=_0x10d480?_0x1100fb(0x1bc):_0x1100fb(0x2a6),_0xa5b6d4=_0x6ac9eb['showDeveloperTools']&&(_0x10d480||_0x599123),[_0xae9ab9,_0x12d239]=d[_0x1100fb(0x19f)](!_0x66d3c9['trim']()),_0x54f214=(_0x4ffcf7,_0x56867d)=>{const _0x4d5e33=_0x1100fb;if(_0x56867d===s[_0x4d5e33(0x2a5)][_0x4d5e33(0x213)])return _0x4d5e33(0x22d);switch(_0x4ffcf7){case s['MCPConnectionStatus']['CONNECTED']:return _0x4d5e33(0x1de);case s['MCPConnectionStatus'][_0x4d5e33(0x1fb)]:case s[_0x4d5e33(0x1a0)]['RETRYING']:return _0x4d5e33(0x1cb);case s[_0x4d5e33(0x1a0)][_0x4d5e33(0x165)]:return _0x4d5e33(0x22d);default:return _0x4d5e33(0x160);}},_0xc3d87c=(_0x639fd3,_0x86f59b)=>{const _0x3aee59=_0x1100fb;if(_0x86f59b===s['MCPConnectionError'][_0x3aee59(0x213)])return _0x3aee59(0x297);switch(_0x639fd3){case s[_0x3aee59(0x1a0)][_0x3aee59(0x220)]:return _0x3aee59(0x175);case s[_0x3aee59(0x1a0)][_0x3aee59(0x1fb)]:case s['MCPConnectionStatus']['RETRYING']:return _0x3aee59(0x1bd);case s['MCPConnectionStatus']['FAILED']:return _0x3aee59(0x297);default:return _0x3aee59(0x24b);}},_0x4083fc=_0x162a43=>{const _0x3267e0=_0x1100fb;switch(_0x162a43){case s[_0x3267e0(0x1a0)][_0x3267e0(0x220)]:return _0x151077['t']('mcpConfig.connectionStatus.connected');case s[_0x3267e0(0x1a0)][_0x3267e0(0x1fb)]:return _0x151077['t'](_0x3267e0(0x174));case s[_0x3267e0(0x1a0)][_0x3267e0(0x165)]:return _0x151077['t']('mcpConfig.connectionStatus.failed');case s['MCPConnectionStatus'][_0x3267e0(0x288)]:return _0x151077['t'](_0x3267e0(0x245));default:return _0x151077['t'](_0x3267e0(0x295));}},_0x163845=_0x5a3877=>{const _0x376c30=_0x1100fb;switch(_0x5a3877){case s[_0x376c30(0x2a5)][_0x376c30(0x213)]:return _0x151077['t'](_0x376c30(0x226));case s[_0x376c30(0x2a5)]['SESSION_ID_OCCUPIED']:return _0x151077['t'](_0x376c30(0x154));case s[_0x376c30(0x2a5)][_0x376c30(0x206)]:return _0x151077['t'](_0x376c30(0x1d4));case s[_0x376c30(0x2a5)][_0x376c30(0x1af)]:return _0x151077['t'](_0x376c30(0x131));default:return'';}},_0x4749ce=d['useCallback'](()=>{const _0x1e9bbd=_0x1100fb,_0x52ac37={..._0xe0a828,'apiKey':_0x66d3c9[_0x1e9bbd(0x222)](),'enableAuth':_0x5b5765};_0x41f6d6(_0x52ac37);},[_0xe0a828,_0x66d3c9,_0x5b5765,_0x41f6d6]),_0x337eff=_0x66d3c9[_0x1100fb(0x222)]()[_0x1100fb(0x199)]>0x0;return i['jsxs']('div',{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x2a9),'children':[i['jsx'](_0x1100fb(0x267),{'className':_0x1100fb(0x1c3),'children':i[_0x1100fb(0x1a2)](_0x1100fb(0x231),{'className':_0x1100fb(0x1d0),'children':'⚙'})}),i['jsx'](_0x1100fb(0x267),{'children':i[_0x1100fb(0x1a2)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x151077['t'](_0x1100fb(0x236))})})]})}),i['jsxs'](_0x1100fb(0x267),{'className':_0x1100fb(0x16b),'children':[i['jsx'](_0x1100fb(0x267),{'className':f[_0x1100fb(0x290)](_0x1100fb(0x133),_0x54f214(_0x35b0af,_0x122a67)),'children':i[_0x1100fb(0x287)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':f[_0x1100fb(0x290)](_0x1100fb(0x13b),_0xc3d87c(_0x35b0af,_0x122a67))}),i[_0x1100fb(0x1a2)]('span',{'className':_0x1100fb(0x257),'children':_0x4083fc(_0x35b0af)})]})}),_0x122a67!==s[_0x1100fb(0x2a5)][_0x1100fb(0x21d)]&&(_0x35b0af===s[_0x1100fb(0x1a0)][_0x1100fb(0x165)]||_0x122a67===s[_0x1100fb(0x2a5)][_0x1100fb(0x213)])&&i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x21c),'children':i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[i[_0x1100fb(0x1a2)]('span',{'className':_0x1100fb(0x16d),'children':'⚠️'}),i['jsx']('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x163845(_0x122a67)})]})})]}),i['jsx'](_0x1100fb(0x267),{'className':_0x1100fb(0x22e),'children':i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':'univer-space-y-5','children':[i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x1b7),'children':[i['jsxs'](_0x1100fb(0x142),{'className':_0x1100fb(0x1f1),'children':[i[_0x1100fb(0x1a2)]('span',{'children':'🔑'}),'\x20',_0x151077['t'](_0x1100fb(0x284)),i['jsx'](_0x1100fb(0x231),{'className':'univer-text-red-500','children':'*'}),_0x3c06de&&i[_0x1100fb(0x1a2)]('a',{'className':_0x1100fb(0x18c),'title':_0x151077['t']('mcpConfig.apiApplyInfo.title'),'role':_0x1100fb(0x25f),'onClick':()=>_0x12d239(!0x0),'children':i[_0x1100fb(0x1a2)](F,{})})]}),i[_0x1100fb(0x1a2)](f[_0x1100fb(0x187)],{'type':_0x1100fb(0x17b),'placeholder':_0x151077['t'](_0x1100fb(0x2b2)),'value':_0x66d3c9,'disabled':_0x4abc1b,'autoComplete':_0x1100fb(0x1c1),'onChange':_0x345c1d}),i[_0x1100fb(0x1a2)]('p',{'className':_0x1100fb(0x146),'children':_0x151077['t'](_0x1100fb(0x26d))})]}),_0x3c06de&&_0xae9ab9&&i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x150),'children':[i[_0x1100fb(0x1a2)]('a',{'className':_0x1100fb(0x271),'role':_0x1100fb(0x25f),'onClick':()=>_0x12d239(!0x1),'children':i[_0x1100fb(0x1a2)](B,{'className':_0x1100fb(0x24f)})}),i[_0x1100fb(0x287)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':i[_0x1100fb(0x1a2)](_0x1100fb(0x231),{'className':_0x1100fb(0x23e),'children':'🚀'})}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x1a1),'children':[i[_0x1100fb(0x1a2)]('h4',{'className':_0x1100fb(0x1f2),'children':_0x151077['t'](_0x1100fb(0x1db))}),i[_0x1100fb(0x1a2)]('p',{'className':_0x1100fb(0x285),'children':_0x151077['t'](_0x1100fb(0x23d))}),i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x28d),'children':_0xa5b6d4&&i['jsxs']('a',{'className':_0x1100fb(0x15e),'href':_0x272495,'target':_0x1100fb(0x1ed),'rel':_0x1100fb(0x291),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x231),{'children':'🤖'}),_0x151077['t'](_0x1100fb(0x185)),i[_0x1100fb(0x1a2)](_0x1100fb(0x231),{'className':_0x1100fb(0x29b),'children':'↗'})]})}),i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x153),'children':['✨','\x20',_0x151077['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x6ac9eb[_0x1100fb(0x238)]&&i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x1b8),'children':[i['jsxs']('h4',{'className':_0x1100fb(0x2b9),'children':[i['jsx'](_0x1100fb(0x231),{'children':'🔗'}),'\x20',_0x151077['t'](_0x1100fb(0x15d))]}),i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x1f7),'children':[i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x279),'children':[i[_0x1100fb(0x1a2)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x151077['t']('mcpConfig.configInstructions')}),i[_0x1100fb(0x287)]('div',{'className':'univer-space-y-2','children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x173),'children':_0x151077['t'](_0x1100fb(0x219))}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x1bf),'children':[i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x13f),'children':[i[_0x1100fb(0x1a2)]('span',{'className':_0x1100fb(0x198),'children':'1'}),_0x151077['t'](_0x1100fb(0x179))]}),i[_0x1100fb(0x287)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x1100fb(0x1a2)]('span',{'className':_0x1100fb(0x198),'children':'2'}),_0x151077['t']('mcpConfig.configStep2')]}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x13f),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x231),{'className':_0x1100fb(0x198),'children':'3'}),_0x151077['t'](_0x1100fb(0x1c7))]})]})]})]}),i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x1b7),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':'MCP\x20Configuration'}),i['jsx'](_0x1100fb(0x267),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':i[_0x1100fb(0x1a2)]('pre',{'className':_0x1100fb(0x1ec),'children':JSON[_0x1100fb(0x234)]({'mcpServers':{'univer':{'url':_0x1100fb(0x27b)+(_0x4515bf||'<SESSION_ID>'),'type':_0x1100fb(0x2a8),'headers':{'Authorization':'Bearer\x20'+(_0x66d3c9||'<API_KEY>')}}}},null,0x2)})})]}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x279),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x173),'children':_0x151077['t'](_0x1100fb(0x230))}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x1b7),'children':[i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x14f),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),i[_0x1100fb(0x287)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x1100fb(0x1a2)]('div',{'className':_0x1100fb(0x17f),'children':_0x1100fb(0x215)}),i['jsx'](_0x1100fb(0x267),{'className':_0x1100fb(0x146),'children':_0x151077['t'](_0x1100fb(0x212))})]})]}),i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x14f),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x2ab)}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x259),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x17f),'children':_0x1100fb(0x14b)}),i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x146),'children':_0x151077['t'](_0x1100fb(0x24e))})]})]})]})]})]})]}),i[_0x1100fb(0x1a2)](f[_0x1100fb(0x156)],{'onClick':_0x4749ce,'disabled':!_0x337eff||_0x4abc1b,'className':_0x1100fb(0x1a7),'children':_0x4abc1b?i[_0x1100fb(0x287)](_0x1100fb(0x231),{'className':_0x1100fb(0x13f),'children':[i['jsx'](_0x1100fb(0x231),{'children':'⟲'}),_0x151077['t'](_0x1100fb(0x170))]}):i[_0x1100fb(0x287)](_0x1100fb(0x231),{'className':_0x1100fb(0x13f),'children':[i['jsx'](H,{}),_0x151077['t'](_0x1100fb(0x20c))]})}),i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x258),'children':i['jsxs'](_0x1100fb(0x267),{'className':_0x1100fb(0x24d),'children':[i['jsx'](_0x1100fb(0x231),{'className':_0x1100fb(0x27a),'children':'💡'}),i['jsxs'](_0x1100fb(0x267),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[i['jsx'](_0x1100fb(0x267),{'className':_0x1100fb(0x239),'children':_0x1100fb(0x1dc)}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'children':['•',_0x151077['t'](_0x1100fb(0x2a1))]}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'children':['•',_0x151077['t'](_0x1100fb(0x183))]})]})]})})]})})]});}const P='mcp-ui.config',L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x5e1569(0x1f0)],xe=(_0x73a0c9,_0x387f5b,_0x830d92,_0x7eb7e5)=>{for(var _0x231a1b=_0x7eb7e5>0x1?void 0x0:_0x7eb7e5?me(_0x387f5b,_0x830d92):_0x387f5b,_0x3a96c3=_0x73a0c9['length']-0x1,_0x536bdc;_0x3a96c3>=0x0;_0x3a96c3--)(_0x536bdc=_0x73a0c9[_0x3a96c3])&&(_0x231a1b=_0x536bdc(_0x231a1b)||_0x231a1b);return _0x231a1b;},g=(_0xe10a3a,_0x329e10)=>(_0x2a28b0,_0x1fb384)=>_0x329e10(_0x2a28b0,_0x1fb384,_0xe10a3a);const O=_0x5e1569(0x182),D=_0x5e1569(0x15c);exports[_0x5e1569(0x223)]=class extends u[_0x5e1569(0x1cf)]{constructor(_0xea2518,_0x14dcd2,_0x1bcca7,_0x1bf70b,_0xbe8eb1,_0x374fb9,_0x2919b4,_0x3595c6,_0x5cc8c3,_0x37ab86){const _0x3613d9=_0x5e1569;super(),I(this,_0x3613d9(0x23f),new M[(_0x3613d9(0x1e4))](!0x1)),I(this,_0x3613d9(0x18a),new M[(_0x3613d9(0x1e4))]({})),I(this,_0x3613d9(0x25d),new M[(_0x3613d9(0x1e4))]({})),I(this,_0x3613d9(0x1ac),new M[(_0x3613d9(0x1e4))]('')),I(this,_0x3613d9(0x202),async _0x276bdb=>{const _0x556980=_0x3613d9;var _0x2597fc,_0x20ed90;this[_0x556980(0x23f)][_0x556980(0x180)](!0x0);try{const _0x23b58f=await this[_0x556980(0x1d7)](_0x276bdb);if(!_0x23b58f[_0x556980(0x157)]){this[_0x556980(0x23a)][_0x556980(0x235)]({'type':f[_0x556980(0x265)][_0x556980(0x2ae)],'content':_0x23b58f['errorMessage']||this[_0x556980(0x1b3)]['t'](_0x556980(0x281))});return;}_0x276bdb[_0x556980(0x1da)]?await this['_localStorageService'][_0x556980(0x29f)](O,_0x276bdb['apiKey'][_0x556980(0x222)]()):await this[_0x556980(0x18b)][_0x556980(0x15f)](O),this['_apiKey$']['next'](((_0x2597fc=_0x276bdb[_0x556980(0x1da)])==null?void 0x0:_0x2597fc[_0x556980(0x222)]())||''),this[_0x556980(0x209)]['__setCustomHeaders']({'Authorization':_0x556980(0x217)+((_0x20ed90=_0x276bdb[_0x556980(0x1da)])==null?void 0x0:_0x20ed90[_0x556980(0x222)]())}),this[_0x556980(0x23a)][_0x556980(0x235)]({'type':f[_0x556980(0x265)][_0x556980(0x169)],'content':this[_0x556980(0x1b3)]['t'](_0x556980(0x147))}),setTimeout(()=>{const _0x5d00fc=_0x556980;this[_0x5d00fc(0x207)][_0x5d00fc(0x26a)](D);},0x320);}catch(_0x3aa520){this[_0x556980(0x1fd)][_0x556980(0x155)](_0x556980(0x214),_0x3aa520),this[_0x556980(0x23a)][_0x556980(0x235)]({'type':f[_0x556980(0x265)][_0x556980(0x2ae)],'content':this['_localeService']['t'](_0x556980(0x1ae))});}finally{this[_0x556980(0x23f)]['next'](!0x1);}}),(this[_0x3613d9(0x25a)]=_0xea2518,this[_0x3613d9(0x20d)]=_0x14dcd2,this['_configService']=_0x1bcca7,this[_0x3613d9(0x18b)]=_0x1bf70b,this[_0x3613d9(0x207)]=_0xbe8eb1,this['_messageService']=_0x374fb9,this[_0x3613d9(0x168)]=_0x2919b4,this[_0x3613d9(0x1b3)]=_0x3595c6,this['_logService']=_0x5cc8c3,this['_mcpConnectionController']=_0x37ab86,this[_0x3613d9(0x2b1)](),this[_0x3613d9(0x14d)](),this[_0x3613d9(0x14c)]());}['showConfigPanel'](){const _0x225a46=_0x5e1569,_0x1df54d=this[_0x225a46(0x27f)][_0x225a46(0x1f5)](P);_0x1df54d!=null&&_0x1df54d[_0x225a46(0x238)]&&this['_dialogService']['open']({'id':D,'title':{'title':this[_0x225a46(0x1b3)]['t'](_0x225a46(0x260))},'children':{'label':_0x225a46(0x229)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x1d814e=_0x225a46;this[_0x1d814e(0x207)][_0x1d814e(0x26a)](D);}});}['getCurrentConfig'](){const _0x3fe860=_0x5e1569;return this[_0x3fe860(0x18a)]['value'];}[_0x5e1569(0x14c)](){const _0x150fdc=_0x5e1569;this[_0x150fdc(0x21e)](this[_0x150fdc(0x168)]['register'](_0x150fdc(0x229),this['_createConfigPanelComponent']()));}[_0x5e1569(0x143)](){const _0x1c3829=_0x5e1569;return v[_0x1c3829(0x247)](()=>{const _0x4b08ab=_0x1c3829;var _0x46885a,_0x22e845,_0x338701;return i[_0x4b08ab(0x1a2)](V,{'config':this[_0x4b08ab(0x25d)][_0x4b08ab(0x2bb)],'mcpCoreConfig':this[_0x4b08ab(0x18a)][_0x4b08ab(0x2bb)],'currentApiKey$':this[_0x4b08ab(0x1ac)],'onSave':this[_0x4b08ab(0x202)],'loading':this[_0x4b08ab(0x23f)]['value'],'connectionStatus$':(_0x46885a=this[_0x4b08ab(0x209)])==null?void 0x0:_0x46885a[_0x4b08ab(0x2b0)],'connectionError$':(_0x22e845=this[_0x4b08ab(0x209)])==null?void 0x0:_0x22e845['connectionError$'],'currentSessionId$':(_0x338701=this['_mcpConnectionController'])==null?void 0x0:_0x338701[_0x4b08ab(0x28e)]});},this['_injector']);}[_0x5e1569(0x2b1)](){const _0x3fbb6a=_0x5e1569;this[_0x3fbb6a(0x21e)](this[_0x3fbb6a(0x27f)]['subscribeConfigValue$'](s[_0x3fbb6a(0x225)])[_0x3fbb6a(0x240)](_0x3257c4=>{const _0x64f074=_0x3fbb6a;this[_0x64f074(0x18a)][_0x64f074(0x180)](_0x3257c4||{});}));const _0x46b68f=this['_configService']['getConfig'](s['MCP_PLUGIN_CONFIG_KEY']);this['_mcpCoreConfig$'][_0x3fbb6a(0x180)](_0x46b68f||{}),this[_0x3fbb6a(0x21e)](this[_0x3fbb6a(0x27f)]['subscribeConfigValue$'](P)['subscribe'](_0x29b541=>{const _0x49f72e=_0x3fbb6a;this['_config$'][_0x49f72e(0x180)](_0x29b541||{});}));const _0x308c2b=this[_0x3fbb6a(0x27f)]['getConfig'](P);this[_0x3fbb6a(0x25d)][_0x3fbb6a(0x180)](_0x308c2b||{});}async['_loadStoredApiKey'](){const _0x3830d8=_0x5e1569,_0x33c3d8=this[_0x3830d8(0x27f)]['getConfig'](P);if(!(_0x33c3d8!=null&&_0x33c3d8[_0x3830d8(0x238)]))return;const _0x5e6314=await this['_localStorageService'][_0x3830d8(0x221)](O);_0x5e6314&&(this[_0x3830d8(0x209)]['__setCustomHeaders']({'Authorization':_0x3830d8(0x217)+_0x5e6314}),this[_0x3830d8(0x1ac)][_0x3830d8(0x180)](_0x5e6314));}async[_0x5e1569(0x1d7)](_0x3efbf0){const _0x76c53c=_0x5e1569;if(!_0x3efbf0[_0x76c53c(0x1da)]||_0x3efbf0[_0x76c53c(0x1da)][_0x76c53c(0x222)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyRequired')};if(_0x3efbf0[_0x76c53c(0x1da)]['trim']()[_0x76c53c(0x199)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x183a83=await this[_0x76c53c(0x25a)][_0x76c53c(0x298)](s[_0x76c53c(0x137)])[_0x76c53c(0x20e)](_0x3efbf0['apiKey']['trim']());return _0x183a83[_0x76c53c(0x157)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x183a83[_0x76c53c(0x155)]||this[_0x76c53c(0x1b3)]['t'](_0x76c53c(0x2a2))};}catch(_0x429b70){return console[_0x76c53c(0x203)](_0x76c53c(0x2b4),_0x429b70),{'isValid':!0x0};}}},exports[_0x5e1569(0x223)]=xe([g(0x0,u['Inject'](u[_0x5e1569(0x151)])),g(0x1,v[_0x5e1569(0x1ea)]),g(0x2,u['IConfigService']),g(0x3,u[_0x5e1569(0x13d)]),g(0x4,v[_0x5e1569(0x19b)]),g(0x5,v['IMessageService']),g(0x6,u[_0x5e1569(0x294)](v[_0x5e1569(0x172)])),g(0x7,u[_0x5e1569(0x294)](u['LocaleService'])),g(0x8,u[_0x5e1569(0x1e7)]),g(0x9,u['Inject'](s[_0x5e1569(0x137)]))],exports[_0x5e1569(0x223)]);const b={'id':_0x5e1569(0x1d2),'type':u['CommandType'][_0x5e1569(0x251)],'handler':async(_0x4b7f1a,_0x3b334e)=>(_0x4b7f1a['get'](exports[_0x5e1569(0x223)])[_0x5e1569(0x16f)](),!0x0)};function Z(_0x53fa1e,_0xc371d8){const _0xfd7e86=_0x5e1569;switch(_0x53fa1e){case s['MCPConnectionStatus'][_0xfd7e86(0x21b)]:return'mcpStatus.disconnected';case s[_0xfd7e86(0x1a0)][_0xfd7e86(0x1fb)]:return _0xfd7e86(0x200);case s[_0xfd7e86(0x1a0)][_0xfd7e86(0x220)]:return _0xfd7e86(0x145);case s[_0xfd7e86(0x1a0)]['FAILED']:switch(_0xc371d8){case s[_0xfd7e86(0x2a5)][_0xfd7e86(0x213)]:return'mcpStatus.unauthorized';case s[_0xfd7e86(0x2a5)][_0xfd7e86(0x2a3)]:return _0xfd7e86(0x28f);case s['MCPConnectionError'][_0xfd7e86(0x206)]:return _0xfd7e86(0x191);case s['MCPConnectionError'][_0xfd7e86(0x1af)]:return _0xfd7e86(0x21f);default:return'mcpStatus.failed';}case s[_0xfd7e86(0x1a0)]['RETRYING']:return _0xfd7e86(0x162);default:return _0xfd7e86(0x1f6);}}function Se(_0x1f3b9f,_0x5990e8,_0x338292,_0x250f01=!0x0){const _0x5b258b=_0x5e1569,_0x9f6b23=Z(_0x1f3b9f,_0x5990e8),_0x4cf67b=_0x338292['t'](_0x9f6b23);return _0x250f01?_0x1f3b9f===s[_0x5b258b(0x1a0)][_0x5b258b(0x21b)]&&_0x5990e8===s[_0x5b258b(0x2a5)][_0x5b258b(0x213)]?_0x4cf67b+_0x5b258b(0x192)+_0x338292['t'](_0x5b258b(0x1f4)):_0x1f3b9f===s[_0x5b258b(0x1a0)]['CONNECTED']?''+_0x4cf67b:_0x1f3b9f===s['MCPConnectionStatus']['DISCONNECTED']||_0x1f3b9f===s['MCPConnectionStatus'][_0x5b258b(0x165)]?_0x4cf67b+'\x20-\x20'+_0x338292['t'](_0x5b258b(0x13a)):_0x4cf67b:_0x4cf67b;}function Pe(_0x3e05f7){const _0x1a6b7a=_0x5e1569;switch(_0x3e05f7){case s[_0x1a6b7a(0x1a0)][_0x1a6b7a(0x220)]:return _0x1a6b7a(0x246);case s[_0x1a6b7a(0x1a0)]['CONNECTING']:case s[_0x1a6b7a(0x1a0)]['RETRYING']:return'univer-text-yellow-500';case s[_0x1a6b7a(0x1a0)]['FAILED']:case s[_0x1a6b7a(0x1a0)][_0x1a6b7a(0x21b)]:return'univer-text-red-500';default:return _0x1a6b7a(0x224);}}function W(_0x30b207){const _0x2ddd81=_0x5e1569,{status$:_0x4b111f,error$:_0x4fb5f1,onConfigure:_0x2f1fe0,showClickable:_0x193eb5=!0x0}=_0x30b207,_0x457cfd=v[_0x2ddd81(0x248)](_0x4b111f,s[_0x2ddd81(0x1a0)][_0x2ddd81(0x21b)]),_0x4cca42=v[_0x2ddd81(0x248)](_0x4fb5f1,s[_0x2ddd81(0x2a5)][_0x2ddd81(0x21d)]),_0x5b7380=v[_0x2ddd81(0x1ce)](u[_0x2ddd81(0x1d9)]),_0x3a1bce=_0x457cfd===s[_0x2ddd81(0x1a0)][_0x2ddd81(0x220)];_0x457cfd===s['MCPConnectionStatus']['CONNECTING']||s[_0x2ddd81(0x1a0)][_0x2ddd81(0x288)];const _0x44520d=_0x5b7380['t'](Z(_0x457cfd,_0x4cca42)),_0x31653e=Se(_0x457cfd,_0x4cca42,_0x5b7380,_0x193eb5),_0x392da1=Pe(_0x457cfd),_0x426e69=_0x3a1bce?i[_0x2ddd81(0x1a2)](q,{}):i[_0x2ddd81(0x1a2)](Y,{}),_0x2c4093=d[_0x2ddd81(0x286)](()=>{_0x193eb5&&_0x2f1fe0&&_0x2f1fe0();},[_0x193eb5,_0x2f1fe0]);function _0x5b26f3(){const _0x7e5cb1=_0x2ddd81;return i[_0x7e5cb1(0x287)](_0x7e5cb1(0x267),{'className':f[_0x7e5cb1(0x290)](_0x7e5cb1(0x23b),_0x193eb5&&_0x2f1fe0&&_0x7e5cb1(0x140)),'role':_0x7e5cb1(0x25f),'onClick':_0x193eb5&&_0x2f1fe0?_0x2c4093:void 0x0,'children':[i[_0x7e5cb1(0x1a2)](_0x7e5cb1(0x267),{'className':f[_0x7e5cb1(0x290)](_0x7e5cb1(0x1f8),_0x392da1),'children':_0x426e69}),i['jsx'](_0x7e5cb1(0x267),{'className':_0x7e5cb1(0x204),'children':_0x44520d})]});}return i[_0x2ddd81(0x1a2)](f['Tooltip'],{'title':_0x31653e,'placement':_0x2ddd81(0x19e),'children':_0x5b26f3()});}var Ie=Object[_0x5e1569(0x1f0)],_e=(_0x309cc3,_0x530f8a,_0x459c9e,_0x5981a7)=>{const _0x3bf21a=_0x5e1569;for(var _0x5dc958=_0x5981a7>0x1?void 0x0:_0x5981a7?Ie(_0x530f8a,_0x459c9e):_0x530f8a,_0x2396ec=_0x309cc3[_0x3bf21a(0x199)]-0x1,_0xbb0d3a;_0x2396ec>=0x0;_0x2396ec--)(_0xbb0d3a=_0x309cc3[_0x2396ec])&&(_0x5dc958=_0xbb0d3a(_0x5dc958)||_0x5dc958);return _0x5dc958;},N=(_0xfb823e,_0x48e7e4)=>(_0x1f1b20,_0x3104d6)=>_0x48e7e4(_0x1f1b20,_0x3104d6,_0xfb823e);exports[_0x5e1569(0x27d)]=class extends u[_0x5e1569(0x1cf)]{constructor(_0x12d64c,_0x2a673f,_0x3e7350,_0x484c98){const _0x1a1e7c=_0x5e1569;super(),this[_0x1a1e7c(0x25a)]=_0x12d64c,this[_0x1a1e7c(0x1b5)]=_0x2a673f,this[_0x1a1e7c(0x20d)]=_0x3e7350,this[_0x1a1e7c(0x27f)]=_0x484c98,this[_0x1a1e7c(0x208)](),this[_0x1a1e7c(0x1a3)]();}[_0x5e1569(0x208)](){const _0x3fda06=_0x5e1569,_0x1927d5=this[_0x3fda06(0x27f)][_0x3fda06(0x1f5)](P);_0x1927d5!=null&&_0x1927d5['showDeveloperTools']&&(this[_0x3fda06(0x1b5)][_0x3fda06(0x262)]=!0x1);}['_initStatusComponent'](){const _0xfa76a7=_0x5e1569,_0x3bc873=this[_0xfa76a7(0x27f)][_0xfa76a7(0x1f5)](P);(_0x3bc873==null?void 0x0:_0x3bc873[_0xfa76a7(0x26e)])!==!0x1&&this[_0xfa76a7(0x21e)](this['_uiPartsService'][_0xfa76a7(0x266)](v[_0xfa76a7(0x264)][_0xfa76a7(0x19a)],()=>{const _0x29cae6=_0xfa76a7;var _0x38ec1f;return v['connectInjector'](ye({'status$':this[_0x29cae6(0x1b5)][_0x29cae6(0x2b0)],'error$':this[_0x29cae6(0x1b5)][_0x29cae6(0x2b3)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x38ec1f=_0x3bc873==null?void 0x0:_0x3bc873[_0x29cae6(0x238)])!=null?_0x38ec1f:!0x1}),this[_0x29cae6(0x25a)]);}));}['_handleConfigure'](){const _0x423a7f=_0x5e1569;this[_0x423a7f(0x25a)]['get'](exports['MCPConfigUIController'])[_0x423a7f(0x16f)]();}},exports[_0x5e1569(0x27d)]=_e([N(0x0,u['Inject'](u['Injector'])),N(0x1,u[_0x5e1569(0x294)](s['MCPConnectionController'])),N(0x2,v['IUIPartsService']),N(0x3,u['IConfigService'])],exports['MCPConnectionUIController']);function ye(_0x20d60d){const {status$:_0x413ef2,error$:_0x32a6b2,onConfigure:_0x56c1bc,showClickable:_0x57e84b}=_0x20d60d;return function(){const _0x441979=_0x5555;return i[_0x441979(0x1a2)](W,{'status$':_0x413ef2,'error$':_0x32a6b2,'onConfigure':_0x56c1bc,'showClickable':_0x57e84b});};}function Me(_0x5d2515){const _0x514e3e=_0x5e1569;return{'id':b['id'],'type':v[_0x514e3e(0x2aa)]['BUTTON'],'icon':_0x514e3e(0x2a7),'title':'mcpConfig.title','tooltip':_0x514e3e(0x260)};}const Ne={[v['RibbonStartGroup'][_0x5e1569(0x24c)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0x5e1569(0x1f0)],je=(_0xcea47d,_0x45359b,_0xe9b1ca,_0x6e7654)=>{const _0x5ca64d=_0x5e1569;for(var _0x217d93=_0x6e7654>0x1?void 0x0:_0x6e7654?be(_0x45359b,_0xe9b1ca):_0x45359b,_0x18b002=_0xcea47d[_0x5ca64d(0x199)]-0x1,_0x1e41ff;_0x18b002>=0x0;_0x18b002--)(_0x1e41ff=_0xcea47d[_0x18b002])&&(_0x217d93=_0x1e41ff(_0x217d93)||_0x217d93);return _0x217d93;},z=(_0x347e95,_0x35ac95)=>(_0x147bc2,_0x149b79)=>_0x35ac95(_0x147bc2,_0x149b79,_0x347e95);exports[_0x5e1569(0x1b6)]=class extends u[_0x5e1569(0x1cf)]{constructor(_0x53bbca,_0x4b1e61){const _0x3ddad2=_0x5e1569;super(),this[_0x3ddad2(0x2af)]=_0x53bbca,this[_0x3ddad2(0x27c)]=_0x4b1e61,this[_0x3ddad2(0x253)](),this['_initializeMenus']();}['_initializeCommands'](){const _0x2c52b3=_0x5e1569;[b][_0x2c52b3(0x1e1)](_0x5e0381=>{const _0x474e79=_0x2c52b3;this[_0x474e79(0x21e)](this[_0x474e79(0x2af)][_0x474e79(0x1c6)](_0x5e0381));});}[_0x5e1569(0x1f3)](){this['_menuManagerService']['mergeMenu'](Ne);}},exports[_0x5e1569(0x1b6)]=je([z(0x0,u[_0x5e1569(0x1ba)]),z(0x1,v[_0x5e1569(0x1dd)])],exports['MCPUIMenuController']);const Ee={'mcpStatus':{'disconnected':_0x5e1569(0x1c4),'connecting':_0x5e1569(0x1a8),'connected':'MCP\x20Connected','failed':_0x5e1569(0x29d),'retrying':_0x5e1569(0x1bb),'unknown':_0x5e1569(0x138),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x5e1569(0x289),'networkError':_0x5e1569(0x1f9),'maxRetriesExceeded':_0x5e1569(0x166),'clickToConnect':_0x5e1569(0x12f),'clickToConfigure':_0x5e1569(0x282)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x5e1569(0x177),'apiKey':_0x5e1569(0x1a5),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5e1569(0x1e9),'enableAuth':_0x5e1569(0x161),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5e1569(0x158),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x5e1569(0x1e8),'configStepTitle':_0x5e1569(0x1d6),'configStep1':_0x5e1569(0x1ab),'configStep2':_0x5e1569(0x184),'configStep3':_0x5e1569(0x2a0),'sessionId':'Session\x20ID','sessionIdDescription':_0x5e1569(0x18f),'authorizationDescription':_0x5e1569(0x1e0),'configParameters':_0x5e1569(0x195),'maxRetries':'Max\x20Retries','save':_0x5e1569(0x13c),'saving':'Saving...','note1':_0x5e1569(0x1e5),'note2':_0x5e1569(0x1b2),'configSaved':_0x5e1569(0x255),'configError':_0x5e1569(0x211),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5e1569(0x164),'univerAiLabel':_0x5e1569(0x28c),'getStarted':_0x5e1569(0x171)},'validation':{'apiKeyRequired':_0x5e1569(0x139),'apiKeyTooShort':_0x5e1569(0x194),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x5e1569(0x190)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x5e1569(0x1ff),'connected':'Connected','failed':_0x5e1569(0x26c),'retrying':_0x5e1569(0x227)},'connectionError':{'unauthorized':_0x5e1569(0x136),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5e1569(0x263),'maxRetriesExceeded':_0x5e1569(0x274)}}},we={'mcpStatus':{'disconnected':_0x5e1569(0x19c),'connecting':_0x5e1569(0x2b6),'connected':'MCP\x20已连接','failed':_0x5e1569(0x241),'retrying':'MCP\x20重连中...','unknown':_0x5e1569(0x22b),'unauthorized':_0x5e1569(0x228),'sessionOccupied':_0x5e1569(0x21a),'networkError':_0x5e1569(0x2b7),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x5e1569(0x1c5),'clickToConfigure':_0x5e1569(0x1c9)},'mcpConfig':{'title':'MCP\x20配置','description':_0x5e1569(0x14e),'apiKey':_0x5e1569(0x249),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x5e1569(0x14a),'enableAuth':'启用身份验证','enableAuthHint':_0x5e1569(0x149),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x5e1569(0x277),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x5e1569(0x250),'configStep1':_0x5e1569(0x254),'configStep2':_0x5e1569(0x176),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x5e1569(0x19d),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x5e1569(0x1be),'configParameters':_0x5e1569(0x1e6),'maxRetries':_0x5e1569(0x130),'save':_0x5e1569(0x299),'saving':'保存中...','note1':_0x5e1569(0x1b9),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x5e1569(0x29e),'apiApplyInfo':{'title':_0x5e1569(0x24a),'description':_0x5e1569(0x15b),'univerAiLabel':_0x5e1569(0x296),'getStarted':_0x5e1569(0x1a4)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x5e1569(0x1d3),'invalidConfig':_0x5e1569(0x1d8),'invalidApiKey':_0x5e1569(0x252)},'connectionStatus':{'disconnected':_0x5e1569(0x283),'connecting':_0x5e1569(0x276),'connected':_0x5e1569(0x189),'failed':'连接失败','retrying':_0x5e1569(0x268)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x5e1569(0x132),'networkError':_0x5e1569(0x1cc),'maxRetriesExceeded':_0x5e1569(0x205)}}};function _0x5555(_0x2fd3ce,_0x5cd3d9){_0x2fd3ce=_0x2fd3ce-0x12f;const _0x4582f8=_0x4582();let _0x5555ff=_0x4582f8[_0x2fd3ce];return _0x5555ff;}var Ae=Object['defineProperty'],Oe=Object['getOwnPropertyDescriptor'],De=(_0xd8af05,_0xa0e05f,_0x222c7a)=>_0xa0e05f in _0xd8af05?Ae(_0xd8af05,_0xa0e05f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x222c7a}):_0xd8af05[_0xa0e05f]=_0x222c7a,Ue=(_0x381d67,_0x31995b,_0x3f10be,_0x16504b)=>{const _0x37f2f7=_0x5e1569;for(var _0x37f217=_0x16504b>0x1?void 0x0:_0x16504b?Oe(_0x31995b,_0x3f10be):_0x31995b,_0x98c6ae=_0x381d67[_0x37f2f7(0x199)]-0x1,_0x3c186d;_0x98c6ae>=0x0;_0x98c6ae--)(_0x3c186d=_0x381d67[_0x98c6ae])&&(_0x37f217=_0x3c186d(_0x37f217)||_0x37f217);return _0x37f217;},y=(_0x17af71,_0xec331a)=>(_0x10c121,_0x2cc31b)=>_0xec331a(_0x10c121,_0x2cc31b,_0x17af71),$e=(_0x5063fa,_0x539e4b,_0x443eac)=>De(_0x5063fa,_0x539e4b+'',_0x443eac);exports[_0x5e1569(0x272)]=class extends u[_0x5e1569(0x292)]{constructor(_0x4e2cb0=L,_0x31e76b,_0x435f1f,_0x2c348f,_0x4f9e4a,_0x39abc1){const _0x29b728=_0x5e1569;super(),this[_0x29b728(0x23c)]=_0x4e2cb0,this[_0x29b728(0x25a)]=_0x31e76b,this[_0x29b728(0x27f)]=_0x435f1f,this[_0x29b728(0x20d)]=_0x2c348f,this[_0x29b728(0x18b)]=_0x4f9e4a,this[_0x29b728(0x1b3)]=_0x39abc1;const {..._0x336c63}=u[_0x29b728(0x218)]({},L,this[_0x29b728(0x23c)]);this[_0x29b728(0x27f)][_0x29b728(0x1e3)](P,_0x336c63);}async[_0x5e1569(0x1c8)](){const _0x19f766=_0x5e1569,_0x26e770=[[exports[_0x19f766(0x27d)]],[exports[_0x19f766(0x223)]],[exports[_0x19f766(0x1b6)]]];this[_0x19f766(0x25a)][_0x19f766(0x1b0)](A[_0x19f766(0x256)])||_0x26e770[_0x19f766(0x2ba)]([A[_0x19f766(0x256)],{'useClass':A[_0x19f766(0x22f)]}]),_0x26e770[_0x19f766(0x1e1)](_0x567d6f=>this[_0x19f766(0x25a)][_0x19f766(0x25b)](_0x567d6f)),this[_0x19f766(0x25a)][_0x19f766(0x298)](exports[_0x19f766(0x27d)]),this[_0x19f766(0x25a)][_0x19f766(0x298)](exports[_0x19f766(0x223)]),this['_injector'][_0x19f766(0x298)](exports[_0x19f766(0x1b6)]);}},$e(exports['UniverMCPUIPlugin'],_0x5e1569(0x134),'MCP_UI_PLUGIN'),exports['UniverMCPUIPlugin']=Ue([u[_0x5e1569(0x1b4)](s[_0x5e1569(0x193)]),y(0x1,u[_0x5e1569(0x294)](u[_0x5e1569(0x151)])),y(0x2,u[_0x5e1569(0x1ee)]),y(0x3,v[_0x5e1569(0x1ea)]),y(0x4,u[_0x5e1569(0x13d)]),y(0x5,u[_0x5e1569(0x294)](u[_0x5e1569(0x1d9)]))],exports[_0x5e1569(0x272)]),exports[_0x5e1569(0x229)]=V,exports[_0x5e1569(0x2ac)]=W,exports['OpenMCPConfigPanelCommand']=b,exports[_0x5e1569(0x29a)]=Ee,exports[_0x5e1569(0x28a)]=we;
1
+ 'use strict';const _0x3e7941=_0x58b6;(function(_0x3ea7f8,_0x2471aa){const _0x483652=_0x58b6,_0xa10de9=_0x3ea7f8();while(!![]){try{const _0x133815=-parseInt(_0x483652(0xc2))/0x1*(parseInt(_0x483652(0x1ed))/0x2)+parseInt(_0x483652(0x123))/0x3*(parseInt(_0x483652(0x219))/0x4)+-parseInt(_0x483652(0x21f))/0x5*(parseInt(_0x483652(0x193))/0x6)+parseInt(_0x483652(0xb3))/0x7*(parseInt(_0x483652(0x17f))/0x8)+parseInt(_0x483652(0x166))/0x9+parseInt(_0x483652(0x20e))/0xa*(parseInt(_0x483652(0x191))/0xb)+parseInt(_0x483652(0x1f5))/0xc;if(_0x133815===_0x2471aa)break;else _0xa10de9['push'](_0xa10de9['shift']());}catch(_0x1bd610){_0xa10de9['push'](_0xa10de9['shift']());}}}(_0x4fb3,0xe1875));var ae=Object[_0x3e7941(0x203)],le=(_0x345608,_0x297464,_0x38aa49)=>_0x297464 in _0x345608?ae(_0x345608,_0x297464,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38aa49}):_0x345608[_0x297464]=_0x38aa49,I=(_0x2dedef,_0x4ce443,_0x1b0532)=>le(_0x2dedef,typeof _0x4ce443!=_0x3e7941(0x200)?_0x4ce443+'':_0x4ce443,_0x1b0532);Object[_0x3e7941(0x203)](exports,Symbol[_0x3e7941(0x1d4)],{'value':_0x3e7941(0x1a7)});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x525a12,..._0x1b4e54}){const _0x408f25=_0x3e7941,{icon:_0x4ed644,id:_0x314be4,className:_0x50d84e,extend:_0x26cebd,..._0x1a5236}=_0x1b4e54,_0x3bdc7c=(_0x408f25(0x1dc)+_0x314be4+'\x20'+(_0x50d84e||''))[_0x408f25(0xe1)](),_0x399269=d[_0x408f25(0x1bb)]('_'+de());return G(_0x4ed644,''+_0x314be4,{'defIds':_0x4ed644[_0x408f25(0x11f)],'idSuffix':_0x399269[_0x408f25(0x1d2)]},{'ref':_0x525a12,'className':_0x3bdc7c,..._0x1a5236},_0x26cebd);}function G(_0x194f6d,_0x195102,_0x24d029,_0x52075b,_0x3d1b28){const _0x555416=_0x3e7941;return d[_0x555416(0x125)](_0x194f6d[_0x555416(0xbf)],{'key':_0x195102,...ue(_0x194f6d,_0x24d029,_0x3d1b28),..._0x52075b},(ve(_0x194f6d,_0x24d029)[_0x555416(0x11d)]||[])[_0x555416(0x172)]((_0x4c112b,_0x31c563)=>G(_0x4c112b,_0x195102+'-'+_0x194f6d['tag']+'-'+_0x31c563,_0x24d029,void 0x0,_0x3d1b28)));}function ue(_0x573a0f,_0x3f9153,_0x165e1f){const _0x3f45ca=_0x3e7941,_0x15e3e4={..._0x573a0f[_0x3f45ca(0x19a)]};_0x165e1f!=null&&_0x165e1f[_0x3f45ca(0xf7)]&&_0x15e3e4[_0x3f45ca(0xae)]===_0x3f45ca(0xf7)&&(_0x15e3e4[_0x3f45ca(0xae)]=_0x165e1f[_0x3f45ca(0xf7)]),_0x573a0f['tag']===_0x3f45ca(0x1ac)&&_0x15e3e4['id']&&(_0x15e3e4['id']=_0x15e3e4['id']+_0x3f9153[_0x3f45ca(0x155)]),Object[_0x3f45ca(0xbc)](_0x15e3e4)['forEach'](([_0x11461d,_0x305084])=>{const _0x3c804e=_0x3f45ca;_0x11461d===_0x3c804e(0x1ac)&&typeof _0x305084=='string'&&(_0x15e3e4[_0x11461d]=_0x305084[_0x3c804e(0x19e)](/url\(#(.*)\)/,'url(#$1'+_0x3f9153[_0x3c804e(0x155)]+')'));});const {defIds:_0x2d3132}=_0x3f9153;return!_0x2d3132||_0x2d3132[_0x3f45ca(0x178)]===0x0||(_0x573a0f[_0x3f45ca(0xbf)]==='use'&&_0x15e3e4[_0x3f45ca(0x121)]&&(_0x15e3e4['xlink:href']=_0x15e3e4['xlink:href']+_0x3f9153[_0x3f45ca(0x155)]),Object['entries'](_0x15e3e4)[_0x3f45ca(0xbd)](([_0x3a525c,_0x131f1e])=>{const _0x447a83=_0x3f45ca;typeof _0x131f1e==_0x447a83(0x20b)&&(_0x15e3e4[_0x3a525c]=_0x131f1e['replace'](/url\(#(.*)\)/,_0x447a83(0x184)+_0x3f9153[_0x447a83(0x155)]+')'));})),_0x15e3e4;}function ve(_0x398fd2,_0x47f3c3){const _0x2d0119=_0x3e7941;var _0x23701c;const {defIds:_0x2f3698}=_0x47f3c3;return!_0x2f3698||_0x2f3698[_0x2d0119(0x178)]===0x0?_0x398fd2:_0x398fd2[_0x2d0119(0xbf)]==='defs'&&((_0x23701c=_0x398fd2[_0x2d0119(0x11d)])!=null&&_0x23701c[_0x2d0119(0x178)])?{..._0x398fd2,'children':_0x398fd2[_0x2d0119(0x11d)][_0x2d0119(0x172)](_0x4769ee=>typeof _0x4769ee['attrs']['id']=='string'&&_0x2f3698&&_0x2f3698[_0x2d0119(0xc3)](_0x4769ee[_0x2d0119(0x19a)]['id'])?{..._0x4769ee,'attrs':{..._0x4769ee[_0x2d0119(0x19a)],'id':_0x4769ee[_0x2d0119(0x19a)]['id']+_0x47f3c3['idSuffix']}}:_0x4769ee)}:_0x398fd2;}function de(){const _0x4ffa00=_0x3e7941;return Math[_0x4ffa00(0x177)]()['toString'](0x24)[_0x4ffa00(0x12c)](0x2,0x8);}_[_0x3e7941(0x1b8)]=_0x3e7941(0xb0);const Ce={'tag':_0x3e7941(0xe5),'attrs':{'xmlns':_0x3e7941(0x228),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x3e7941(0x1a2),'height':_0x3e7941(0x1a2)},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'fill':_0x3e7941(0x1e7),'d':_0x3e7941(0x1d5),'fillRule':_0x3e7941(0x1ab),'clipRule':'evenodd'}}]},H=d[_0x3e7941(0xb8)](function(_0x2736ac,_0x37fd3){const _0x4c1df0=_0x3e7941;return d['createElement'](_,Object['assign']({},_0x2736ac,{'id':_0x4c1df0(0x227),'ref':_0x37fd3,'icon':Ce}));});H[_0x3e7941(0x1b8)]='CheckMarkIcon';const ge={'tag':_0x3e7941(0xe5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3e7941(0x1bf),'viewBox':'0\x200\x2016\x2016','width':_0x3e7941(0x1a2),'height':_0x3e7941(0x1a2)},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'fill':_0x3e7941(0x1e7),'d':_0x3e7941(0xea)}}]},B=d[_0x3e7941(0xb8)](function(_0x35e92c,_0x283f43){const _0x9af8aa=_0x3e7941;return d[_0x9af8aa(0x125)](_,Object[_0x9af8aa(0xe2)]({},_0x35e92c,{'id':_0x9af8aa(0x157),'ref':_0x283f43,'icon':ge}));});B['displayName']=_0x3e7941(0x160);const fe={'tag':_0x3e7941(0xe5),'attrs':{'xmlns':_0x3e7941(0x228),'fill':_0x3e7941(0x1bf),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'fill':'currentColor','d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x3e7941(0xeb),'attrs':{'fill':_0x3e7941(0x1e7),'d':_0x3e7941(0x217)}},{'tag':_0x3e7941(0xeb),'attrs':{'fill':'currentColor','d':_0x3e7941(0x188),'fillRule':_0x3e7941(0x1ab),'clipRule':'evenodd'}}]},F=d[_0x3e7941(0xb8)](function(_0x43d7fc,_0x32baee){const _0x4adf06=_0x3e7941;return d[_0x4adf06(0x125)](_,Object['assign']({},_0x43d7fc,{'id':_0x4adf06(0xb6),'ref':_0x32baee,'icon':fe}));});F[_0x3e7941(0x1b8)]=_0x3e7941(0x159);const pe={'tag':_0x3e7941(0xe5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3e7941(0x1a2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'stroke':_0x3e7941(0x1e7),'d':_0x3e7941(0x18f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3e7941(0x131),'attrs':{},'children':[{'tag':_0x3e7941(0x114),'attrs':{'id':_0x3e7941(0x120)},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'fill':_0x3e7941(0x158),'d':_0x3e7941(0x1a0)}}]}]}],'defIds':[_0x3e7941(0x120)]},Y=d['forwardRef'](function(_0x201446,_0xc8a930){const _0x3cd8b1=_0x3e7941;return d['createElement'](_,Object[_0x3cd8b1(0xe2)]({},_0x201446,{'id':_0x3cd8b1(0xbb),'ref':_0xc8a930,'icon':pe}));});Y[_0x3e7941(0x1b8)]=_0x3e7941(0xb1);const he={'tag':_0x3e7941(0xe5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3e7941(0x1bf),'viewBox':_0x3e7941(0x15a),'width':_0x3e7941(0x1a2),'height':_0x3e7941(0x1a2)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e7941(0x1fa)},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'stroke':'currentColor','d':_0x3e7941(0x132),'strokeLinecap':_0x3e7941(0x12e),'strokeLinejoin':_0x3e7941(0x12e),'strokeWidth':1.2}}]},{'tag':_0x3e7941(0x131),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'fill':_0x3e7941(0x158),'d':_0x3e7941(0x1a0),'transform':_0x3e7941(0x119)}}]}]}],'defIds':[_0x3e7941(0x118)]},q=d[_0x3e7941(0xb8)](function(_0x40ae25,_0x223325){const _0x509078=_0x3e7941;return d['createElement'](_,Object[_0x509078(0xe2)]({},_0x40ae25,{'id':_0x509078(0x16a),'ref':_0x223325,'icon':he}));});q[_0x3e7941(0x1b8)]='OnLineIcon';function V(_0x407b0d){const _0x3a9a79=_0x3e7941;var _0x273884,_0x64faad;const {mcpCoreConfig:_0x3b3a38,onSave:_0x8e1a03,loading:_0x1e5a4e=!0x1,config:_0xcc8594,connectionStatus$:_0x153a58,connectionError$:_0x3c4a0d,currentApiKey$:_0x227f47,currentSessionId$:_0x19e849}=_0x407b0d,_0x200b99=v[_0x3a9a79(0x1cb)](u['LocaleService']),_0x51e420=v['useObservable'](_0x153a58,s[_0x3a9a79(0x1c7)][_0x3a9a79(0x19f)]),_0x5ea7e2=v[_0x3a9a79(0xb4)](_0x3c4a0d,s[_0x3a9a79(0x185)][_0x3a9a79(0xed)]),_0x1f55d5=v[_0x3a9a79(0xb4)](_0x19e849,''),_0x1b2627=v['useObservable'](_0x227f47,''),[_0xa7501,_0x56e2f7]=d[_0x3a9a79(0x174)](_0x1b2627||''),_0xb2641e=!0x0,_0x20a336=_0xcc8594[_0x3a9a79(0xa6)]&&_0x3b3a38[_0x3a9a79(0x145)]&&(_0x3b3a38[_0x3a9a79(0x145)][_0x3a9a79(0xc3)](_0x3a9a79(0x1c3))||_0x3b3a38['mcpServerUrl'][_0x3a9a79(0xc3)](_0x3a9a79(0xc0))),_0x50896f=(_0x273884=_0x3b3a38['mcpServerUrl'])==null?void 0x0:_0x273884['includes'](_0x3a9a79(0x1c3)),_0x2cd2e4=(_0x64faad=_0x3b3a38[_0x3a9a79(0x145)])==null?void 0x0:_0x64faad[_0x3a9a79(0xc3)](_0x3a9a79(0xc0)),_0x3b28e2=_0x50896f?_0x3a9a79(0x116):'https://console.univer.ai',_0xecafd1=_0xcc8594[_0x3a9a79(0xa6)]&&(_0x50896f||_0x2cd2e4),[_0x43bda1,_0x359d1a]=d[_0x3a9a79(0x174)](!_0xa7501['trim']()),_0x1e3104=(_0x495f81,_0x3bcd8b)=>{const _0x2bc1df=_0x3a9a79;if(_0x3bcd8b===s[_0x2bc1df(0x185)][_0x2bc1df(0xd2)])return _0x2bc1df(0x19b);switch(_0x495f81){case s[_0x2bc1df(0x1c7)][_0x2bc1df(0xc7)]:return _0x2bc1df(0x1ee);case s['MCPConnectionStatus'][_0x2bc1df(0x10a)]:case s[_0x2bc1df(0x1c7)][_0x2bc1df(0x14a)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s[_0x2bc1df(0x1c7)][_0x2bc1df(0x15c)]:return _0x2bc1df(0x19b);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x370033=(_0x4c6ca9,_0x19b687)=>{const _0x233622=_0x3a9a79;if(_0x19b687===s[_0x233622(0x185)][_0x233622(0xd2)])return _0x233622(0x1f8);switch(_0x4c6ca9){case s[_0x233622(0x1c7)][_0x233622(0xc7)]:return _0x233622(0x1ca);case s[_0x233622(0x1c7)][_0x233622(0x10a)]:case s[_0x233622(0x1c7)][_0x233622(0x14a)]:return _0x233622(0x17b);case s[_0x233622(0x1c7)][_0x233622(0x15c)]:return _0x233622(0x1f8);default:return _0x233622(0x1f3);}},_0xc84687=_0x2c7c6f=>{const _0x42a343=_0x3a9a79;switch(_0x2c7c6f){case s[_0x42a343(0x1c7)]['CONNECTED']:return _0x200b99['t'](_0x42a343(0xdc));case s[_0x42a343(0x1c7)][_0x42a343(0x10a)]:return _0x200b99['t'](_0x42a343(0xb2));case s[_0x42a343(0x1c7)][_0x42a343(0x15c)]:return _0x200b99['t'](_0x42a343(0x16c));case s[_0x42a343(0x1c7)][_0x42a343(0x14a)]:return _0x200b99['t'](_0x42a343(0x209));default:return _0x200b99['t'](_0x42a343(0x1aa));}},_0x86bedf=_0x4181d3=>{const _0x3c0a46=_0x3a9a79;switch(_0x4181d3){case s[_0x3c0a46(0x185)][_0x3c0a46(0xd2)]:return _0x200b99['t']('mcpConfig.connectionError.unauthorized');case s[_0x3c0a46(0x185)]['SESSION_ID_OCCUPIED']:return _0x200b99['t'](_0x3c0a46(0xf2));case s[_0x3c0a46(0x185)][_0x3c0a46(0x17c)]:return _0x200b99['t'](_0x3c0a46(0x130));case s[_0x3c0a46(0x185)]['MAX_RETRIES_EXCEEDED']:return _0x200b99['t'](_0x3c0a46(0x1b4));default:return'';}},_0x1f0aad=d[_0x3a9a79(0x1ba)](()=>{const _0x36ddc7={..._0x3b3a38,'apiKey':_0xa7501['trim'](),'enableAuth':_0xb2641e};_0x8e1a03(_0x36ddc7);},[_0x3b3a38,_0xa7501,_0xb2641e,_0x8e1a03]),_0x3ece65=_0xa7501[_0x3a9a79(0xe1)]()['length']>0x0;return i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x1b0),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x20c),'children':i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x13b),'children':i[_0x3a9a79(0xf8)]('span',{'className':_0x3a9a79(0x226),'children':'⚙'})}),i[_0x3a9a79(0xf8)]('div',{'children':i[_0x3a9a79(0xf8)]('p',{'className':_0x3a9a79(0x1f4),'children':_0x200b99['t'](_0x3a9a79(0x13d))})})]})}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x169),'children':[i['jsx']('div',{'className':f[_0x3a9a79(0x195)](_0x3a9a79(0xcb),_0x1e3104(_0x51e420,_0x5ea7e2)),'children':i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':f['clsx'](_0x3a9a79(0x1c2),_0x370033(_0x51e420,_0x5ea7e2))}),i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'className':'univer-text-sm\x20univer-font-medium','children':_0xc84687(_0x51e420)})]})}),_0x5ea7e2!==s[_0x3a9a79(0x185)][_0x3a9a79(0xed)]&&(_0x51e420===s['MCPConnectionStatus'][_0x3a9a79(0x15c)]||_0x5ea7e2===s[_0x3a9a79(0x185)][_0x3a9a79(0xd2)])&&i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x144),'children':i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x11e),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'className':_0x3a9a79(0x12d),'children':'⚠️'}),i[_0x3a9a79(0xf8)]('p',{'className':_0x3a9a79(0x220),'children':_0x86bedf(_0x5ea7e2)})]})})]}),i[_0x3a9a79(0xf8)]('div',{'className':_0x3a9a79(0xde),'children':i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-space-y-5','children':[i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x218),'children':[i[_0x3a9a79(0x207)](_0x3a9a79(0xfc),{'className':_0x3a9a79(0x147),'children':[i[_0x3a9a79(0xf8)]('span',{'children':'🔑'}),'\x20',_0x200b99['t']('mcpConfig.apiKey'),i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'className':'univer-text-red-500','children':'*'}),_0x20a336&&i[_0x3a9a79(0xf8)]('a',{'className':_0x3a9a79(0x13a),'title':_0x200b99['t']('mcpConfig.apiApplyInfo.title'),'role':'button','onClick':()=>_0x359d1a(!0x0),'children':i[_0x3a9a79(0xf8)](F,{})})]}),i[_0x3a9a79(0xf8)](f[_0x3a9a79(0x1c0)],{'type':'text','placeholder':_0x200b99['t'](_0x3a9a79(0x1e8)),'value':_0xa7501,'disabled':_0x1e5a4e,'autoComplete':_0x3a9a79(0x151),'onChange':_0x56e2f7}),i[_0x3a9a79(0xf8)]('p',{'className':_0x3a9a79(0x17d),'children':_0x200b99['t'](_0x3a9a79(0x163))})]}),_0x20a336&&_0x43bda1&&i[_0x3a9a79(0x207)]('div',{'className':_0x3a9a79(0x104),'children':[i[_0x3a9a79(0xf8)]('a',{'className':_0x3a9a79(0xf0),'role':_0x3a9a79(0x181),'onClick':()=>_0x359d1a(!0x1),'children':i[_0x3a9a79(0xf8)](B,{'className':_0x3a9a79(0xcf)})}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x102),'children':i['jsx'](_0x3a9a79(0xfd),{'className':_0x3a9a79(0x1d0),'children':'🚀'})}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-flex-1','children':[i[_0x3a9a79(0xf8)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x200b99['t']('mcpConfig.apiApplyInfo.title')}),i['jsx']('p',{'className':_0x3a9a79(0xc5),'children':_0x200b99['t'](_0x3a9a79(0xad))}),i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0xecafd1&&i['jsxs']('a',{'className':_0x3a9a79(0x216),'href':_0x3b28e2,'target':_0x3a9a79(0x173),'rel':'noopener\x20noreferrer','children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'children':'🤖'}),_0x200b99['t'](_0x3a9a79(0x12a)),i[_0x3a9a79(0xf8)]('span',{'className':'univer-text-gray-400','children':'↗'})]})}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x200b99['t'](_0x3a9a79(0xdd))]})]})]})]}),_0xcc8594[_0x3a9a79(0xa6)]&&i[_0x3a9a79(0x207)]('div',{'className':_0x3a9a79(0x1ea),'children':[i['jsxs']('h4',{'className':_0x3a9a79(0x201),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'children':'🔗'}),'\x20',_0x200b99['t'](_0x3a9a79(0xc9))]}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-space-y-4','children':[i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x13f),'children':[i[_0x3a9a79(0xf8)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x200b99['t']('mcpConfig.configInstructions')}),i[_0x3a9a79(0x207)]('div',{'className':_0x3a9a79(0x218),'children':[i[_0x3a9a79(0xf8)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x200b99['t'](_0x3a9a79(0x194))}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x153),'children':[i[_0x3a9a79(0x207)]('div',{'className':_0x3a9a79(0x16b),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x200b99['t'](_0x3a9a79(0x133))]}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x16b),'children':[i[_0x3a9a79(0xf8)]('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x200b99['t'](_0x3a9a79(0x1b5))]}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'className':_0x3a9a79(0x215),'children':'3'}),_0x200b99['t'](_0x3a9a79(0x1a6))]})]})]})]}),i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x218),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x229),'children':_0x3a9a79(0x189)}),i['jsx'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x212),'children':i[_0x3a9a79(0xf8)](_0x3a9a79(0xf3),{'className':_0x3a9a79(0x1dd),'children':JSON[_0x3a9a79(0x1cc)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x1f55d5||_0x3a9a79(0x1d9)),'type':'http','headers':{'Authorization':_0x3a9a79(0x16d)+(_0xa7501||_0x3a9a79(0x1ef))}}}},null,0x2)})})]}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x13f),'children':[i['jsx'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x229),'children':_0x200b99['t']('mcpConfig.configParameters')}),i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x218),'children':[i['jsxs']('div',{'className':_0x3a9a79(0x1bd),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x1ff)}),i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0xdb),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x179),'children':'univer_session_id:'}),i['jsx'](_0x3a9a79(0xf9),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x200b99['t'](_0x3a9a79(0x214))})]})]}),i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x1bd),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x1ff)}),i[_0x3a9a79(0x207)]('div',{'className':_0x3a9a79(0xdb),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x3a9a79(0x1ae)}),i['jsx'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x17d),'children':_0x200b99['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),i[_0x3a9a79(0xf8)](f[_0x3a9a79(0x196)],{'onClick':_0x1f0aad,'disabled':!_0x3ece65||_0x1e5a4e,'className':_0x3a9a79(0x106),'children':_0x1e5a4e?i[_0x3a9a79(0x207)]('span',{'className':_0x3a9a79(0x16b),'children':[i[_0x3a9a79(0xf8)]('span',{'children':'⟲'}),_0x200b99['t'](_0x3a9a79(0x1e5))]}):i['jsxs'](_0x3a9a79(0xfd),{'className':_0x3a9a79(0x16b),'children':[i[_0x3a9a79(0xf8)](H,{}),_0x200b99['t'](_0x3a9a79(0x1af))]})}),i[_0x3a9a79(0xf8)]('div',{'className':_0x3a9a79(0x15b),'children':i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x1e4),'children':[i[_0x3a9a79(0xf8)]('span',{'className':_0x3a9a79(0x105),'children':'💡'}),i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x161),'children':[i['jsx']('div',{'className':'univer-font-medium','children':_0x3a9a79(0xff)}),i[_0x3a9a79(0x207)]('div',{'children':['•',_0x200b99['t'](_0x3a9a79(0x146))]}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'children':['•',_0x200b99['t']('mcpConfig.note2')]})]})]})})]})})]});}const P=_0x3e7941(0xaf),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x3e7941(0x150)],xe=(_0x1780a5,_0x412fcb,_0x554a80,_0xc83bf5)=>{const _0x2cfb89=_0x3e7941;for(var _0x3f8980=_0xc83bf5>0x1?void 0x0:_0xc83bf5?me(_0x412fcb,_0x554a80):_0x412fcb,_0x19a89c=_0x1780a5[_0x2cfb89(0x178)]-0x1,_0x40e79b;_0x19a89c>=0x0;_0x19a89c--)(_0x40e79b=_0x1780a5[_0x19a89c])&&(_0x3f8980=_0x40e79b(_0x3f8980)||_0x3f8980);return _0x3f8980;},g=(_0x1558fc,_0x4a33be)=>(_0x1c6547,_0x251607)=>_0x4a33be(_0x1c6547,_0x251607,_0x1558fc);const O=_0x3e7941(0x165),D=_0x3e7941(0x1e3);exports[_0x3e7941(0x19d)]=class extends u['Disposable']{constructor(_0x359f2c,_0x1010e4,_0x5d5838,_0x423370,_0x3e783d,_0x5bac8d,_0x50682d,_0x553ac7,_0x42f398,_0x2a4083){const _0x2c5dce=_0x3e7941;super(),I(this,_0x2c5dce(0x176),new M['BehaviorSubject'](!0x1)),I(this,'_mcpCoreConfig$',new M['BehaviorSubject']({})),I(this,'_config$',new M['BehaviorSubject']({})),I(this,'_apiKey$',new M[(_0x2c5dce(0xda))]('')),I(this,'_handleConfigSave',async _0x4551ab=>{const _0x28edb8=_0x2c5dce;var _0x10b12c,_0x2028cc;this[_0x28edb8(0x176)][_0x28edb8(0x1b2)](!0x0);try{const _0x3cef02=await this['_validateConfig'](_0x4551ab);if(!_0x3cef02[_0x28edb8(0x1df)]){this[_0x28edb8(0x10e)][_0x28edb8(0x12b)]({'type':f[_0x28edb8(0x1a3)][_0x28edb8(0x223)],'content':_0x3cef02[_0x28edb8(0x167)]||this[_0x28edb8(0xfe)]['t'](_0x28edb8(0x1d6))});return;}_0x4551ab['apiKey']?await this[_0x28edb8(0x202)][_0x28edb8(0x136)](O,_0x4551ab[_0x28edb8(0x1e1)]['trim']()):await this[_0x28edb8(0x202)][_0x28edb8(0x10c)](O),this[_0x28edb8(0x17a)][_0x28edb8(0x1b2)](((_0x10b12c=_0x4551ab[_0x28edb8(0x1e1)])==null?void 0x0:_0x10b12c[_0x28edb8(0xe1)]())||''),this[_0x28edb8(0xe6)][_0x28edb8(0xc6)]({'Authorization':_0x28edb8(0x16d)+((_0x2028cc=_0x4551ab[_0x28edb8(0x1e1)])==null?void 0x0:_0x2028cc[_0x28edb8(0xe1)]())}),this[_0x28edb8(0x10e)][_0x28edb8(0x12b)]({'type':f[_0x28edb8(0x1a3)]['Success'],'content':this['_localeService']['t'](_0x28edb8(0x139))}),setTimeout(()=>{const _0x3ae4f8=_0x28edb8;this['_dialogService'][_0x3ae4f8(0x198)](D);},0x320);}catch(_0x486540){this[_0x28edb8(0xe9)]['error'](_0x28edb8(0x204),_0x486540),this[_0x28edb8(0x10e)][_0x28edb8(0x12b)]({'type':f[_0x28edb8(0x1a3)][_0x28edb8(0x223)],'content':this[_0x28edb8(0xfe)]['t'](_0x28edb8(0x197))});}finally{this[_0x28edb8(0x176)][_0x28edb8(0x1b2)](!0x1);}}),(this[_0x2c5dce(0xec)]=_0x359f2c,this[_0x2c5dce(0xe7)]=_0x1010e4,this[_0x2c5dce(0x113)]=_0x5d5838,this[_0x2c5dce(0x202)]=_0x423370,this[_0x2c5dce(0x22f)]=_0x3e783d,this[_0x2c5dce(0x10e)]=_0x5bac8d,this[_0x2c5dce(0x134)]=_0x50682d,this[_0x2c5dce(0xfe)]=_0x553ac7,this[_0x2c5dce(0xe9)]=_0x42f398,this['_mcpConnectionController']=_0x2a4083,this['_initConfigSync'](),this[_0x2c5dce(0x206)](),this['_registerComponent']());}['showConfigPanel'](){const _0x106430=_0x3e7941,_0x4ac560=this[_0x106430(0x113)][_0x106430(0x127)](P);_0x4ac560!=null&&_0x4ac560[_0x106430(0xa6)]&&this['_dialogService'][_0x106430(0xef)]({'id':D,'title':{'title':this[_0x106430(0xfe)]['t']('mcpConfig.title')},'children':{'label':_0x106430(0x1da)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x4c5d59=_0x106430;this[_0x4c5d59(0x22f)][_0x4c5d59(0x198)](D);}});}[_0x3e7941(0x149)](){const _0x2b5a34=_0x3e7941;return this[_0x2b5a34(0x14d)]['value'];}['_registerComponent'](){const _0x54054b=_0x3e7941;this[_0x54054b(0x1c8)](this[_0x54054b(0x134)][_0x54054b(0xe4)](_0x54054b(0x1da),this[_0x54054b(0x1fd)]()));}['_createConfigPanelComponent'](){const _0x1c8261=_0x3e7941;return v[_0x1c8261(0x1b9)](()=>{const _0x5c8738=_0x1c8261;var _0x310d38,_0x474ab8,_0x110af9;return i[_0x5c8738(0xf8)](V,{'config':this[_0x5c8738(0x1a1)]['value'],'mcpCoreConfig':this[_0x5c8738(0x14d)][_0x5c8738(0x138)],'currentApiKey$':this[_0x5c8738(0x17a)],'onSave':this['_handleConfigSave'],'loading':this[_0x5c8738(0x176)][_0x5c8738(0x138)],'connectionStatus$':(_0x310d38=this['_mcpConnectionController'])==null?void 0x0:_0x310d38['connectionStatus$'],'connectionError$':(_0x474ab8=this[_0x5c8738(0xe6)])==null?void 0x0:_0x474ab8[_0x5c8738(0xe0)],'currentSessionId$':(_0x110af9=this['_mcpConnectionController'])==null?void 0x0:_0x110af9['sessionId$']});},this[_0x1c8261(0xec)]);}[_0x3e7941(0x11c)](){const _0x3a21df=_0x3e7941;this['disposeWithMe'](this[_0x3a21df(0x113)][_0x3a21df(0xd1)](s['MCP_PLUGIN_CONFIG_KEY'])[_0x3a21df(0x1e9)](_0xdd6268=>{const _0xee4458=_0x3a21df;this[_0xee4458(0x14d)][_0xee4458(0x1b2)](_0xdd6268||{});}));const _0x2fbe27=this[_0x3a21df(0x113)]['getConfig'](s[_0x3a21df(0x156)]);this[_0x3a21df(0x14d)][_0x3a21df(0x1b2)](_0x2fbe27||{}),this[_0x3a21df(0x1c8)](this[_0x3a21df(0x113)][_0x3a21df(0xd1)](P)[_0x3a21df(0x1e9)](_0x43c9dc=>{const _0x38e1bf=_0x3a21df;this[_0x38e1bf(0x1a1)][_0x38e1bf(0x1b2)](_0x43c9dc||{});}));const _0x8bfd0=this[_0x3a21df(0x113)][_0x3a21df(0x127)](P);this['_config$'][_0x3a21df(0x1b2)](_0x8bfd0||{});}async[_0x3e7941(0x206)](){const _0x35433c=_0x3e7941,_0x573c34=this['_configService']['getConfig'](P);if(!(_0x573c34!=null&&_0x573c34['showDeveloperTools']))return;const _0x593304=await this['_localStorageService']['getItem'](O);_0x593304&&(this[_0x35433c(0xe6)][_0x35433c(0xc6)]({'Authorization':'Bearer\x20'+_0x593304}),this[_0x35433c(0x17a)]['next'](_0x593304));}async[_0x3e7941(0x18c)](_0x5ba610){const _0x1cc699=_0x3e7941;if(!_0x5ba610[_0x1cc699(0x1e1)]||_0x5ba610[_0x1cc699(0x1e1)]['trim']()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x1cc699(0xfe)]['t'](_0x1cc699(0x205))};if(_0x5ba610[_0x1cc699(0x1e1)][_0x1cc699(0xe1)]()[_0x1cc699(0x178)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x1cc699(0xfe)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x49b158=await this[_0x1cc699(0xec)]['get'](s[_0x1cc699(0xfa)])[_0x1cc699(0x17e)](_0x5ba610[_0x1cc699(0x1e1)][_0x1cc699(0xe1)]());return _0x49b158[_0x1cc699(0x1df)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x49b158[_0x1cc699(0xbe)]||this[_0x1cc699(0xfe)]['t'](_0x1cc699(0x1d1))};}catch(_0x4a10e4){return console[_0x1cc699(0xb9)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x4a10e4),{'isValid':!0x0};}}},exports[_0x3e7941(0x19d)]=xe([g(0x0,u['Inject'](u[_0x3e7941(0x224)])),g(0x1,v[_0x3e7941(0xc4)]),g(0x2,u[_0x3e7941(0x1e2)]),g(0x3,u['ILocalStorageService']),g(0x4,v['IDialogService']),g(0x5,v[_0x3e7941(0x21b)]),g(0x6,u[_0x3e7941(0x10d)](v[_0x3e7941(0x1d8)])),g(0x7,u['Inject'](u[_0x3e7941(0x187)])),g(0x8,u[_0x3e7941(0x109)]),g(0x9,u[_0x3e7941(0x10d)](s[_0x3e7941(0xfa)]))],exports['MCPConfigUIController']);const b={'id':_0x3e7941(0xee),'type':u[_0x3e7941(0x1a4)][_0x3e7941(0x18e)],'handler':async(_0x2d03b4,_0x578ebc)=>(_0x2d03b4['get'](exports[_0x3e7941(0x19d)])[_0x3e7941(0xd3)](),!0x0)};function Z(_0x57b9ef,_0x1fa32f){const _0x10db76=_0x3e7941;switch(_0x57b9ef){case s[_0x10db76(0x1c7)][_0x10db76(0x19f)]:return'mcpStatus.disconnected';case s[_0x10db76(0x1c7)]['CONNECTING']:return'mcpStatus.connecting';case s[_0x10db76(0x1c7)][_0x10db76(0xc7)]:return _0x10db76(0x15d);case s[_0x10db76(0x1c7)][_0x10db76(0x15c)]:switch(_0x1fa32f){case s[_0x10db76(0x185)][_0x10db76(0xd2)]:return _0x10db76(0x1f0);case s[_0x10db76(0x185)][_0x10db76(0x15f)]:return _0x10db76(0x126);case s['MCPConnectionError'][_0x10db76(0x17c)]:return _0x10db76(0xaa);case s['MCPConnectionError'][_0x10db76(0x11b)]:return _0x10db76(0x117);default:return _0x10db76(0x1fb);}case s[_0x10db76(0x1c7)][_0x10db76(0x14a)]:return _0x10db76(0x182);default:return _0x10db76(0x22b);}}function Se(_0x2cc60c,_0x33625b,_0x44f50f,_0x80c254=!0x0){const _0x19cf67=_0x3e7941,_0x36c6d5=Z(_0x2cc60c,_0x33625b),_0x2b1a08=_0x44f50f['t'](_0x36c6d5);return _0x80c254?_0x2cc60c===s['MCPConnectionStatus'][_0x19cf67(0x19f)]&&_0x33625b===s[_0x19cf67(0x185)][_0x19cf67(0xd2)]?_0x2b1a08+_0x19cf67(0x1eb)+_0x44f50f['t'](_0x19cf67(0x192)):_0x2cc60c===s[_0x19cf67(0x1c7)]['CONNECTED']?''+_0x2b1a08:_0x2cc60c===s[_0x19cf67(0x1c7)]['DISCONNECTED']||_0x2cc60c===s['MCPConnectionStatus']['FAILED']?_0x2b1a08+_0x19cf67(0x1eb)+_0x44f50f['t']('mcpStatus.clickToConnect'):_0x2b1a08:_0x2b1a08;}function _0x58b6(_0x19b1c5,_0x22abc3){_0x19b1c5=_0x19b1c5-0xa6;const _0x4fb3b1=_0x4fb3();let _0x58b6f6=_0x4fb3b1[_0x19b1c5];return _0x58b6f6;}function Pe(_0x417915){const _0x220f80=_0x3e7941;switch(_0x417915){case s[_0x220f80(0x1c7)]['CONNECTED']:return _0x220f80(0x22c);case s[_0x220f80(0x1c7)][_0x220f80(0x10a)]:case s[_0x220f80(0x1c7)][_0x220f80(0x14a)]:return'univer-text-yellow-500';case s['MCPConnectionStatus']['FAILED']:case s[_0x220f80(0x1c7)][_0x220f80(0x19f)]:return _0x220f80(0x140);default:return _0x220f80(0x128);}}function W(_0x39fa7b){const _0x462071=_0x3e7941,{status$:_0x40f265,error$:_0x21f11a,onConfigure:_0x206c06,showClickable:_0x2317fa=!0x0}=_0x39fa7b,_0x5df5e0=v[_0x462071(0xb4)](_0x40f265,s['MCPConnectionStatus'][_0x462071(0x19f)]),_0x2fa9dc=v[_0x462071(0xb4)](_0x21f11a,s['MCPConnectionError']['NONE']),_0x1d4438=v[_0x462071(0x1cb)](u[_0x462071(0x187)]),_0x419113=_0x5df5e0===s['MCPConnectionStatus'][_0x462071(0xc7)];_0x5df5e0===s[_0x462071(0x1c7)]['CONNECTING']||s[_0x462071(0x1c7)][_0x462071(0x14a)];const _0x249331=_0x1d4438['t'](Z(_0x5df5e0,_0x2fa9dc)),_0x41de3f=Se(_0x5df5e0,_0x2fa9dc,_0x1d4438,_0x2317fa),_0x47dcba=Pe(_0x5df5e0),_0x3887f0=_0x419113?i[_0x462071(0xf8)](q,{}):i[_0x462071(0xf8)](Y,{}),_0x27e6dd=d[_0x462071(0x1ba)](()=>{_0x2317fa&&_0x206c06&&_0x206c06();},[_0x2317fa,_0x206c06]);function _0x1ec023(){const _0x220c47=_0x462071;return i[_0x220c47(0x207)]('div',{'className':f[_0x220c47(0x195)](_0x220c47(0x15e),_0x2317fa&&_0x206c06&&_0x220c47(0xe3)),'role':_0x220c47(0x181),'onClick':_0x2317fa&&_0x206c06?_0x27e6dd:void 0x0,'children':[i[_0x220c47(0xf8)]('div',{'className':f[_0x220c47(0x195)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x47dcba),'children':_0x3887f0}),i['jsx']('div',{'className':_0x220c47(0x1b6),'children':_0x249331})]});}return i[_0x462071(0xf8)](f[_0x462071(0x142)],{'title':_0x41de3f,'placement':_0x462071(0x103),'children':_0x1ec023()});}var Ie=Object[_0x3e7941(0x150)],_e=(_0x1e5090,_0x208032,_0x4e1064,_0x68bc3f)=>{for(var _0x3894e2=_0x68bc3f>0x1?void 0x0:_0x68bc3f?Ie(_0x208032,_0x4e1064):_0x208032,_0x5424ed=_0x1e5090['length']-0x1,_0x33904c;_0x5424ed>=0x0;_0x5424ed--)(_0x33904c=_0x1e5090[_0x5424ed])&&(_0x3894e2=_0x33904c(_0x3894e2)||_0x3894e2);return _0x3894e2;},N=(_0x5b20ca,_0x51b629)=>(_0x3c40db,_0x5de6ac)=>_0x51b629(_0x3c40db,_0x5de6ac,_0x5b20ca);exports[_0x3e7941(0x1de)]=class extends u[_0x3e7941(0xf6)]{constructor(_0xc9d0f3,_0x1eaa19,_0x35c228,_0x5284c8){const _0x2b5f57=_0x3e7941;super(),this[_0x2b5f57(0xec)]=_0xc9d0f3,this[_0x2b5f57(0x115)]=_0x1eaa19,this['_uiPartsService']=_0x35c228,this[_0x2b5f57(0x113)]=_0x5284c8,this[_0x2b5f57(0x20f)](),this[_0x2b5f57(0xd6)]();}[_0x3e7941(0x20f)](){const _0x37f52c=_0x3e7941,_0x408ec0=this[_0x37f52c(0x113)][_0x37f52c(0x127)](P);_0x408ec0!=null&&_0x408ec0[_0x37f52c(0xa6)]&&(this[_0x37f52c(0x115)][_0x37f52c(0x14e)]=!0x1);}['_initStatusComponent'](){const _0x52b262=_0x3e7941,_0x5ce4a5=this[_0x52b262(0x113)][_0x52b262(0x127)](P);(_0x5ce4a5==null?void 0x0:_0x5ce4a5[_0x52b262(0x22e)])!==!0x1&&this[_0x52b262(0x1c8)](this[_0x52b262(0xe7)]['registerComponent'](v[_0x52b262(0xc1)][_0x52b262(0x1c5)],()=>{const _0x5c4c7c=_0x52b262;var _0x40fb67;return v[_0x5c4c7c(0x1b9)](ye({'status$':this[_0x5c4c7c(0x115)][_0x5c4c7c(0x164)],'error$':this[_0x5c4c7c(0x115)][_0x5c4c7c(0xe0)],'onConfigure':()=>this[_0x5c4c7c(0x186)](),'showClickable':(_0x40fb67=_0x5ce4a5==null?void 0x0:_0x5ce4a5[_0x5c4c7c(0xa6)])!=null?_0x40fb67:!0x1}),this[_0x5c4c7c(0xec)]);}));}['_handleConfigure'](){const _0x182665=_0x3e7941;this[_0x182665(0xec)][_0x182665(0xce)](exports[_0x182665(0x19d)])[_0x182665(0xd3)]();}},exports[_0x3e7941(0x1de)]=_e([N(0x0,u['Inject'](u['Injector'])),N(0x1,u[_0x3e7941(0x10d)](s['MCPConnectionController'])),N(0x2,v[_0x3e7941(0xc4)]),N(0x3,u[_0x3e7941(0x1e2)])],exports[_0x3e7941(0x1de)]);function ye(_0x35945f){const {status$:_0xf80651,error$:_0x8e6445,onConfigure:_0x1d61c1,showClickable:_0x997a89}=_0x35945f;return function(){const _0x4d238e=_0x58b6;return i[_0x4d238e(0xf8)](W,{'status$':_0xf80651,'error$':_0x8e6445,'onConfigure':_0x1d61c1,'showClickable':_0x997a89});};}function Me(_0x499b1f){const _0x4c9fca=_0x3e7941;return{'id':b['id'],'type':v[_0x4c9fca(0x124)][_0x4c9fca(0xd5)],'icon':_0x4c9fca(0x225),'title':'mcpConfig.title','tooltip':_0x4c9fca(0x100)};}const Ne={[v['RibbonStartGroup'][_0x3e7941(0x10b)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};function _0x4fb3(){const _0x3f8f2b=['colorChannel1','jsx','div','MCPConnectionController','Session\x20ID','label','span','_localeService','Configuration\x20Notes:','mcpConfig.title','您的\x20API\x20密钥将在此浏览器中本地存储','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','bottom','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','univer-shrink-0\x20univer-text-blue-500','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Parameters:','ILogService','CONNECTING','OTHERS','removeItem','Inject','_messageService','MCP\x20连接失败','_initializeMenus','带有\x20Bearer\x20前缀的\x20API\x20密钥。','zhCN','_configService','clipPath','_connectionController','https://console.univer.plus','mcpStatus.maxRetriesExceeded','on-line-icon_clip0_910_349','translate(.97)','您的\x20API\x20密钥安全存储在本地存储中','MAX_RETRIES_EXCEEDED','_initConfigSync','children','univer-flex\x20univer-items-start\x20univer-gap-2','defIds','off-line-icon_clip0_910_343','xlink:href','setConfig','156363FMxQgW','MenuItemType','createElement','mcpStatus.sessionOccupied','getConfig','univer-text-gray-500','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.apiApplyInfo.univerAiLabel','show','substring','univer-shrink-0\x20univer-text-red-500','round','MCP_UI_PLUGIN','mcpConfig.connectionError.networkError','defs','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.configStep1','_componentManager','重启您的\x20MCP\x20客户端以使配置生效','setItem','Click\x20to\x20configure\x20MCP','value','mcpConfig.configSaved','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','点击配置\x20MCP','mcpConfig.description','Invalid\x20configuration','univer-space-y-3','univer-text-red-500','几秒钟内获取您的\x20API\x20密钥','Tooltip','点击连接\x20MCP','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpServerUrl','mcpConfig.note1','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','会话ID','getCurrentConfig','RETRYING','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','启用身份验证以获得安全连接','_mcpCoreConfig$','enableAutoConnect','最大重试次数','getOwnPropertyDescriptor','off','API\x20key\x20is\x20required','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','什么是\x20API\x20密钥?','idSuffix','MCP_PLUGIN_CONFIG_KEY','close-icon','white','HelpIcon','0\x200\x2017\x2016','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','FAILED','mcpStatus.connected','univer-flex\x20univer-items-center','SESSION_ID_OCCUPIED','CloseIcon','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.apiKeyHint','connectionStatus$','mcp.apiKey','9074871rlQsRR','errorMessage','配置保存成功','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','on-line-icon','univer-flex\x20univer-items-center\x20univer-gap-2','mcpConfig.connectionStatus.failed','Bearer\x20','配置无效','IMenuManagerService','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','重连中...','map','_blank','useState','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','_loading$','random','length','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_apiKey$','univer-bg-blue-500','NETWORK_ERROR','univer-text-xs\x20univer-text-gray-500','validateApiKey','223544MYjSHU','MCP\x20状态未知','button','mcpStatus.retrying','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','url(#$1','MCPConnectionError','_handleConfigure','LocaleService','M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','MCP\x20Configuration','ICommandService','Enter\x20your\x20API\x20key','_validateConfig','Max\x20Retries','COMMAND','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','MCP\x20Connecting...','4323IBANYl','mcpStatus.clickToConfigure','2431218nUoxoR','mcpConfig.configStepTitle','clsx','Button','mcpConfig.configError','close','registerCommand','attrs','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','已连接','MCPConfigUIController','replace','DISCONNECTED','M0\x200H16V16H0z','_config$','1em','MessageType','CommandType','mergeMenu','mcpConfig.configStep3','Module','请输入您的\x20API\x20密钥','Saving...','mcpConfig.connectionStatus.disconnected','evenodd','mask','Click\x20to\x20connect\x20MCP','Authorization:','mcpConfig.save','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','Failed\x20to\x20save\x20configuration','next','配置步骤:','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.configStep2','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MCP\x20客户端配置','displayName','connectInjector','useCallback','useRef','UniverMCPUIPlugin','univer-flex\x20univer-items-start\x20univer-gap-3','Save\x20Configuration','none','Input','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-size-2\x20univer-rounded-full','univer.plus','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','HEADER_MENU','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCPConnectionStatus','disposeWithMe','merge','univer-bg-green-500','useDependency','stringify','API\x20密钥长度至少需要\x2010\x20位','MCPUIMenuController','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-text-blue-600','mcpConfig.validation.invalidApiKey','current','连接失败','toStringTag','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','mcpConfig.validation.invalidConfig','MCP\x20已断开','ComponentManager','<SESSION_ID>','MCPConfigPanel','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univerjs-icon\x20univerjs-icon-','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','MCPConnectionUIController','isValid','启用身份验证','apiKey','IConfigService','mcp-config-dialog','univer-flex\x20univer-gap-3','mcpConfig.saving','Plugin','currentColor','mcpConfig.apiKeyPlaceholder','subscribe','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','\x20-\x20','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','2VOLQdM','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','<API_KEY>','mcpStatus.unauthorized','Univer\x20AI\x20Console','API\x20Key','univer-bg-gray-500','univer-text-sm\x20univer-text-gray-500','4434348OYkoLI','权限验证失败,请检查您的\x20API\x20密钥','MCP:\x20Unauthorized','univer-bg-red-500','enUS','url(#on-line-icon_clip0_910_349)','mcpStatus.failed','MCP:\x20网络错误','_createConfigPanelComponent','_commandService','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','symbol','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_localStorageService','defineProperty','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','mcpConfig.validation.apiKeyRequired','_loadStoredApiKey','jsxs','onStarting','mcpConfig.connectionStatus.retrying','配置参数:','string','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','Configuration\x20saved\x20successfully','27810WwexCJ','_initAutoConnect','DependentOn','Enable\x20Authentication','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCPStatusDisplay','mcpConfig.sessionIdDescription','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-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','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','univer-space-y-2','40CHiElq','超出最大重试次数,请稍后再试','IMessageService','ISocketService','UniverMCPPlugin','API\x20密钥','15YpTkTq','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','MCP\x20连接中...','ILocalStorageService','Error','Injector','MenuIcon','univer-text-white','check-mark-icon','http://www.w3.org/2000/svg','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','将配置添加到您的\x20MCP\x20客户端设置文件中','mcpStatus.unknown','univer-text-green-500','Connection\x20Failed','showStatus','_dialogService','showDeveloperTools','Connected','API\x20key\x20with\x20Bearer\x20prefix.','网络连接错误,请检查您的网络连接','mcpStatus.networkError','MCP:\x20未授权','has','mcpConfig.apiApplyInfo.description','fill','mcp-ui.config','UniverIcon','OffLineIcon','mcpConfig.connectionStatus.connecting','14FNOYZA','useObservable','Copy\x20the\x20JSON\x20configuration\x20below','help-icon','MCP\x20Client\x20Configuration','forwardRef','warn','MCP\x20重连中...','off-line-icon','entries','forEach','error','tag','univer.ai','BuiltInUIPart','908503alXVQK','includes','IUIPartsService','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','__setCustomHeaders','CONNECTED','Get\x20your\x20API\x20key\x20in\x20seconds','mcpConfig.connectionInfo','add','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_menuManagerService','get','univer-size-4','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','subscribeConfigValue$','UNAUTHORIZED','showConfigPanel','配置保存失败','BUTTON','_initStatusComponent','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20密钥无效,请检查密钥是否正确','BehaviorSubject','univer-min-w-0\x20univer-flex-1','mcpConfig.connectionStatus.connected','mcpConfig.apiApplyInfo.getStarted','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','MCP\x20Connected','connectionError$','trim','assign','\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','register','svg','_mcpConnectionController','_uiPartsService','_config','_logService','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','path','_injector','NONE','mcp-ui.command.openConfigPanel','open','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','Configuration\x20Steps:','mcpConfig.connectionError.sessionOccupied','pre','连接中...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Disposable'];_0x4fb3=function(){return _0x3f8f2b;};return _0x4fb3();}var be=Object['getOwnPropertyDescriptor'],je=(_0xca0402,_0x6e3510,_0x5bef5b,_0x3106e3)=>{const _0x1ada01=_0x3e7941;for(var _0x22c0c6=_0x3106e3>0x1?void 0x0:_0x3106e3?be(_0x6e3510,_0x5bef5b):_0x6e3510,_0x5b9ee0=_0xca0402[_0x1ada01(0x178)]-0x1,_0x2cd32a;_0x5b9ee0>=0x0;_0x5b9ee0--)(_0x2cd32a=_0xca0402[_0x5b9ee0])&&(_0x22c0c6=_0x2cd32a(_0x22c0c6)||_0x22c0c6);return _0x22c0c6;},z=(_0x5cd4ba,_0xa70b81)=>(_0x3e6858,_0x45b5c9)=>_0xa70b81(_0x3e6858,_0x45b5c9,_0x5cd4ba);exports[_0x3e7941(0x1ce)]=class extends u['Disposable']{constructor(_0x5a0833,_0x454fc8){const _0xf0735b=_0x3e7941;super(),this[_0xf0735b(0x1fe)]=_0x5a0833,this[_0xf0735b(0xcd)]=_0x454fc8,this['_initializeCommands'](),this[_0xf0735b(0x110)]();}['_initializeCommands'](){[b]['forEach'](_0x480328=>{const _0x4fe681=_0x58b6;this[_0x4fe681(0x1c8)](this[_0x4fe681(0x1fe)][_0x4fe681(0x199)](_0x480328));});}[_0x3e7941(0x110)](){const _0x51fff0=_0x3e7941;this[_0x51fff0(0xcd)][_0x51fff0(0x1a5)](Ne);}},exports[_0x3e7941(0x1ce)]=je([z(0x0,u[_0x3e7941(0x18a)]),z(0x1,v[_0x3e7941(0x16f)])],exports['MCPUIMenuController']);const Ee={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x3e7941(0x190),'connected':_0x3e7941(0xdf),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x3e7941(0x1f7),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x3e7941(0x107),'clickToConnect':_0x3e7941(0x1ad),'clickToConfigure':_0x3e7941(0x137)},'mcpConfig':{'title':_0x3e7941(0x189),'description':_0x3e7941(0x1db),'apiKey':_0x3e7941(0x1f2),'apiKeyPlaceholder':_0x3e7941(0x18b),'apiKeyHint':_0x3e7941(0x183),'enableAuth':_0x3e7941(0x211),'enableAuthHint':_0x3e7941(0x129),'connectionInfo':_0x3e7941(0xb7),'mcpClientConfig':_0x3e7941(0xb7),'configInstructions':_0x3e7941(0xd8),'configStepTitle':_0x3e7941(0xf1),'configStep1':_0x3e7941(0xb5),'configStep2':_0x3e7941(0xcc),'configStep3':_0x3e7941(0x175),'sessionId':_0x3e7941(0xfb),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x3e7941(0xa8),'configParameters':_0x3e7941(0x108),'maxRetries':_0x3e7941(0x18d),'save':_0x3e7941(0x1be),'saving':_0x3e7941(0x1a9),'note1':_0x3e7941(0xd0),'note2':_0x3e7941(0x1cf),'configSaved':_0x3e7941(0x20d),'configError':_0x3e7941(0x1b1),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x3e7941(0x1c1),'univerAiLabel':_0x3e7941(0x1f1),'getStarted':_0x3e7941(0xc8)},'validation':{'apiKeyRequired':_0x3e7941(0x152),'apiKeyTooShort':_0x3e7941(0xd7),'invalidConfig':_0x3e7941(0x13e),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x3e7941(0xa7),'failed':_0x3e7941(0x22d),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x3e7941(0xf5),'sessionOccupied':_0x3e7941(0x1c6),'networkError':_0x3e7941(0x170),'maxRetriesExceeded':_0x3e7941(0x1ec)}}},we={'mcpStatus':{'disconnected':_0x3e7941(0x1d7),'connecting':_0x3e7941(0x221),'connected':'MCP\x20已连接','failed':_0x3e7941(0x10f),'retrying':_0x3e7941(0xba),'unknown':_0x3e7941(0x180),'unauthorized':_0x3e7941(0xab),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x3e7941(0x1fc),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x3e7941(0x143),'clickToConfigure':_0x3e7941(0x13c)},'mcpConfig':{'title':'MCP\x20配置','description':_0x3e7941(0x162),'apiKey':_0x3e7941(0x21e),'apiKeyPlaceholder':_0x3e7941(0x1a8),'apiKeyHint':_0x3e7941(0x101),'enableAuth':_0x3e7941(0x1e0),'enableAuthHint':_0x3e7941(0x14c),'connectionInfo':_0x3e7941(0x1b7),'mcpClientConfig':_0x3e7941(0x1b7),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x3e7941(0x1b3),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x3e7941(0x22a),'configStep3':_0x3e7941(0x135),'sessionId':_0x3e7941(0x148),'sessionIdDescription':_0x3e7941(0x1c4),'authorizationDescription':_0x3e7941(0x111),'configParameters':_0x3e7941(0x20a),'maxRetries':_0x3e7941(0x14f),'save':'保存配置','saving':'保存中...','note1':'配置更改将立即生效','note2':_0x3e7941(0x11a),'configSaved':_0x3e7941(0x168),'configError':_0x3e7941(0xd4),'apiApplyInfo':{'title':_0x3e7941(0x154),'description':_0x3e7941(0x14b),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x3e7941(0x141)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x3e7941(0x1cd),'invalidConfig':_0x3e7941(0x16e),'invalidApiKey':_0x3e7941(0xd9)},'connectionStatus':{'disconnected':'未连接','connecting':_0x3e7941(0xf4),'connected':_0x3e7941(0x19c),'failed':_0x3e7941(0x1d3),'retrying':_0x3e7941(0x171)},'connectionError':{'unauthorized':_0x3e7941(0x1f6),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x3e7941(0xa9),'maxRetriesExceeded':_0x3e7941(0x21a)}}};var Ae=Object[_0x3e7941(0x203)],Oe=Object[_0x3e7941(0x150)],De=(_0x41ba00,_0xa89cab,_0x5b0504)=>_0xa89cab in _0x41ba00?Ae(_0x41ba00,_0xa89cab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b0504}):_0x41ba00[_0xa89cab]=_0x5b0504,Ue=(_0x35c216,_0x146cc2,_0x291362,_0x32d70e)=>{for(var _0x13ae42=_0x32d70e>0x1?void 0x0:_0x32d70e?Oe(_0x146cc2,_0x291362):_0x146cc2,_0x2ccf9f=_0x35c216['length']-0x1,_0x222a0c;_0x2ccf9f>=0x0;_0x2ccf9f--)(_0x222a0c=_0x35c216[_0x2ccf9f])&&(_0x13ae42=_0x222a0c(_0x13ae42)||_0x13ae42);return _0x13ae42;},y=(_0x50080a,_0x533f6a)=>(_0x2cc70f,_0x5f0af6)=>_0x533f6a(_0x2cc70f,_0x5f0af6,_0x50080a),$e=(_0x2508a4,_0x72ee02,_0x1d3204)=>De(_0x2508a4,_0x72ee02+'',_0x1d3204);exports['UniverMCPUIPlugin']=class extends u[_0x3e7941(0x1e6)]{constructor(_0x18f1af=L,_0x4ed958,_0x40f889,_0x311bbd,_0x490f87,_0x47383f){const _0x37d466=_0x3e7941;super(),this[_0x37d466(0xe8)]=_0x18f1af,this[_0x37d466(0xec)]=_0x4ed958,this[_0x37d466(0x113)]=_0x40f889,this[_0x37d466(0xe7)]=_0x311bbd,this[_0x37d466(0x202)]=_0x490f87,this[_0x37d466(0xfe)]=_0x47383f;const {..._0x24f9b9}=u[_0x37d466(0x1c9)]({},L,this[_0x37d466(0xe8)]);this[_0x37d466(0x113)][_0x37d466(0x122)](P,_0x24f9b9);}async[_0x3e7941(0x208)](){const _0xd61d2e=_0x3e7941,_0x573c55=[[exports[_0xd61d2e(0x1de)]],[exports[_0xd61d2e(0x19d)]],[exports['MCPUIMenuController']]];this[_0xd61d2e(0xec)][_0xd61d2e(0xac)](A[_0xd61d2e(0x21c)])||_0x573c55['push']([A[_0xd61d2e(0x21c)],{'useClass':A['WebSocketService']}]),_0x573c55[_0xd61d2e(0xbd)](_0x4b94ff=>this[_0xd61d2e(0xec)][_0xd61d2e(0xca)](_0x4b94ff)),this['_injector']['get'](exports[_0xd61d2e(0x1de)]),this['_injector'][_0xd61d2e(0xce)](exports['MCPConfigUIController']),this[_0xd61d2e(0xec)][_0xd61d2e(0xce)](exports[_0xd61d2e(0x1ce)]);}},$e(exports[_0x3e7941(0x1bc)],'pluginName',_0x3e7941(0x12f)),exports[_0x3e7941(0x1bc)]=Ue([u[_0x3e7941(0x210)](s[_0x3e7941(0x21d)]),y(0x1,u[_0x3e7941(0x10d)](u[_0x3e7941(0x224)])),y(0x2,u['IConfigService']),y(0x3,v[_0x3e7941(0xc4)]),y(0x4,u[_0x3e7941(0x222)]),y(0x5,u[_0x3e7941(0x10d)](u[_0x3e7941(0x187)]))],exports[_0x3e7941(0x1bc)]),exports[_0x3e7941(0x1da)]=V,exports[_0x3e7941(0x213)]=W,exports['OpenMCPConfigPanelCommand']=b,exports[_0x3e7941(0x1f9)]=Ee,exports[_0x3e7941(0x112)]=we;
@@ -1 +1 @@
1
- 'use strict';const _0x860663=_0x1989;(function(_0x732a9a,_0x527f9c){const _0xadafa7=_0x1989,_0x503572=_0x732a9a();while(!![]){try{const _0x954f51=parseInt(_0xadafa7(0xc1))/0x1+-parseInt(_0xadafa7(0xbb))/0x2*(-parseInt(_0xadafa7(0x9d))/0x3)+parseInt(_0xadafa7(0x95))/0x4+-parseInt(_0xadafa7(0xb8))/0x5*(parseInt(_0xadafa7(0xc4))/0x6)+parseInt(_0xadafa7(0x9e))/0x7*(parseInt(_0xadafa7(0x93))/0x8)+parseInt(_0xadafa7(0xa9))/0x9+parseInt(_0xadafa7(0xc0))/0xa*(-parseInt(_0xadafa7(0xc2))/0xb);if(_0x954f51===_0x527f9c)break;else _0x503572['push'](_0x503572['shift']());}catch(_0x2ebe2e){_0x503572['push'](_0x503572['shift']());}}}(_0xa763,0x696f8));function _0xa763(){const _0x53d7ce=['680321dSWhtl','25985201SYBkQV','Get\x20your\x20API\x20key\x20in\x20seconds','186saSNUI','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:','Saving...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','5224PVpOzx','Disconnected','2202192rNbiaX','MCP\x20Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connected','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','219ABgVTG','1687EcolRL','MCP:\x20Network\x20Error','Invalid\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20configure\x20MCP','Enter\x20your\x20API\x20key','What\x20is\x20API\x20Key?','Connection\x20Failed','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','6801822Melpvf','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Retrying...','Max\x20Retries','MCP\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','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:\x20Unauthorized','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','MCP\x20Client\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','Retrying...','16175JQKXgt','MCP\x20Connection\x20Failed','Save\x20Configuration','20560cEsRkb','exports','Connected','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','10TcLtaR'];_0xa763=function(){return _0x53d7ce;};return _0xa763();}const e={'mcpStatus':{'disconnected':_0x860663(0x96),'connecting':_0x860663(0x9a),'connected':_0x860663(0x98),'failed':_0x860663(0xb9),'retrying':_0x860663(0xac),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x860663(0xb1),'sessionOccupied':_0x860663(0xab),'networkError':_0x860663(0x9f),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x860663(0xa4)},'mcpConfig':{'title':_0x860663(0xae),'description':_0x860663(0x92),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x860663(0xa5),'apiKeyHint':_0x860663(0xaa),'enableAuth':_0x860663(0xb3),'enableAuthHint':_0x860663(0xb2),'connectionInfo':_0x860663(0xb4),'mcpClientConfig':_0x860663(0xb4),'configInstructions':_0x860663(0xaf),'configStepTitle':_0x860663(0xc6),'configStep1':_0x860663(0x99),'configStep2':_0x860663(0xa3),'configStep3':_0x860663(0x9c),'sessionId':'Session\x20ID','sessionIdDescription':_0x860663(0xa2),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x860663(0xad),'save':_0x860663(0xba),'saving':_0x860663(0xc7),'note1':_0x860663(0xa8),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x860663(0xbf),'configError':_0x860663(0xbe),'apiApplyInfo':{'title':_0x860663(0xa6),'description':_0x860663(0xb0),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x860663(0xc3)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x860663(0xa0),'invalidApiKey':_0x860663(0x97)},'connectionStatus':{'disconnected':_0x860663(0x94),'connecting':_0x860663(0xb6),'connected':_0x860663(0xbd),'failed':_0x860663(0xa7),'retrying':_0x860663(0xb7)},'connectionError':{'unauthorized':_0x860663(0xb5),'sessionOccupied':_0x860663(0xc5),'networkError':_0x860663(0xa1),'maxRetriesExceeded':_0x860663(0x9b)}}},n=e;function _0x1989(_0xbd4802,_0x248906){_0xbd4802=_0xbd4802-0x92;const _0xa763ff=_0xa763();let _0x1989a5=_0xa763ff[_0xbd4802];return _0x1989a5;}module[_0x860663(0xbc)]=n;
1
+ 'use strict';const _0x22d60a=_0x18ad;(function(_0x54ef54,_0x2f3e02){const _0x4b82c5=_0x18ad,_0x3ea942=_0x54ef54();while(!![]){try{const _0x43ebfd=-parseInt(_0x4b82c5(0xd1))/0x1*(parseInt(_0x4b82c5(0xe8))/0x2)+-parseInt(_0x4b82c5(0xbf))/0x3*(parseInt(_0x4b82c5(0xe2))/0x4)+parseInt(_0x4b82c5(0xb9))/0x5*(parseInt(_0x4b82c5(0xdf))/0x6)+-parseInt(_0x4b82c5(0xe4))/0x7+parseInt(_0x4b82c5(0xcc))/0x8*(parseInt(_0x4b82c5(0xe9))/0x9)+-parseInt(_0x4b82c5(0xc1))/0xa+parseInt(_0x4b82c5(0xd6))/0xb;if(_0x43ebfd===_0x2f3e02)break;else _0x3ea942['push'](_0x3ea942['shift']());}catch(_0x5bcadd){_0x3ea942['push'](_0x3ea942['shift']());}}}(_0x3595,0x5399e));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x22d60a(0xd7),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x22d60a(0xc8),'unknown':_0x22d60a(0xce),'unauthorized':_0x22d60a(0xc5),'sessionOccupied':_0x22d60a(0xe0),'networkError':_0x22d60a(0xc3),'maxRetriesExceeded':_0x22d60a(0xd0),'clickToConnect':_0x22d60a(0xc2),'clickToConfigure':_0x22d60a(0xbb)},'mcpConfig':{'title':_0x22d60a(0xcf),'description':_0x22d60a(0xc4),'apiKey':_0x22d60a(0xea),'apiKeyPlaceholder':_0x22d60a(0xdc),'apiKeyHint':_0x22d60a(0xcd),'enableAuth':_0x22d60a(0xe6),'enableAuthHint':_0x22d60a(0xe1),'connectionInfo':_0x22d60a(0xc9),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x22d60a(0xe7),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x22d60a(0xdb),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x22d60a(0xbd),'sessionIdDescription':_0x22d60a(0xe5),'authorizationDescription':_0x22d60a(0xdd),'configParameters':_0x22d60a(0xde),'maxRetries':_0x22d60a(0xc0),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x22d60a(0xc6),'note2':_0x22d60a(0xd8),'configSaved':_0x22d60a(0xd5),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x22d60a(0xda),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x22d60a(0xcb)},'validation':{'apiKeyRequired':_0x22d60a(0xca),'apiKeyTooShort':_0x22d60a(0xd3),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x22d60a(0xba),'connecting':_0x22d60a(0xbe),'connected':_0x22d60a(0xd4),'failed':_0x22d60a(0xbc),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x22d60a(0xc7),'networkError':_0x22d60a(0xe3),'maxRetriesExceeded':_0x22d60a(0xd9)}}},n=e;function _0x3595(){const _0x2cda84=['Connection\x20Failed','Session\x20ID','Connecting...','45wpHbRt','Max\x20Retries','4135630CaMQVR','Click\x20to\x20connect\x20MCP','MCP:\x20Network\x20Error','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Unauthorized','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Retrying...','MCP\x20Client\x20Configuration','API\x20key\x20is\x20required','Get\x20your\x20API\x20key\x20in\x20seconds','8SNVIQt','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Unknown\x20Status','MCP\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','2cUGvQw','exports','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','Configuration\x20saved\x20successfully','6880896PKnOpp','MCP\x20Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enter\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Parameters:','180828kHeNfS','MCP:\x20Session\x20ID\x20Occupied','Enable\x20authentication\x20for\x20secure\x20connections','130564zoAZyF','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2100777gLFRip','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Enable\x20Authentication','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','5098aXokay','3987657uvCYDY','API\x20Key','80TNLeTX','Disconnected','Click\x20to\x20configure\x20MCP'];_0x3595=function(){return _0x2cda84;};return _0x3595();}function _0x18ad(_0x147417,_0x22aa02){_0x147417=_0x147417-0xb9;const _0x3595fb=_0x3595();let _0x18ad33=_0x3595fb[_0x147417];return _0x18ad33;}module[_0x22d60a(0xd2)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x55acf8=_0x33d2;(function(_0x1cd916,_0x8c3e32){const _0x314ce9=_0x33d2,_0x3faa22=_0x1cd916();while(!![]){try{const _0x51ca0e=parseInt(_0x314ce9(0x152))/0x1*(-parseInt(_0x314ce9(0x146))/0x2)+parseInt(_0x314ce9(0x133))/0x3+-parseInt(_0x314ce9(0x12b))/0x4+parseInt(_0x314ce9(0x13d))/0x5+-parseInt(_0x314ce9(0x149))/0x6+-parseInt(_0x314ce9(0x137))/0x7+parseInt(_0x314ce9(0x14b))/0x8;if(_0x51ca0e===_0x8c3e32)break;else _0x3faa22['push'](_0x3faa22['shift']());}catch(_0x4332c7){_0x3faa22['push'](_0x3faa22['shift']());}}}(_0x5b07,0x8ceb6));function _0x33d2(_0x58788b,_0x1430a0){_0x58788b=_0x58788b-0x128;const _0x5b0755=_0x5b07();let _0x33d240=_0x5b0755[_0x58788b];return _0x33d240;}const e={'mcpStatus':{'disconnected':_0x55acf8(0x154),'connecting':_0x55acf8(0x131),'connected':'MCP\x20Connected','failed':_0x55acf8(0x158),'retrying':_0x55acf8(0x147),'unknown':_0x55acf8(0x13b),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x55acf8(0x159),'networkError':_0x55acf8(0x13f),'maxRetriesExceeded':_0x55acf8(0x145),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x55acf8(0x140)},'mcpConfig':{'title':_0x55acf8(0x138),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x55acf8(0x14a),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x55acf8(0x12c),'enableAuth':_0x55acf8(0x157),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x55acf8(0x15a),'configInstructions':_0x55acf8(0x12e),'configStepTitle':_0x55acf8(0x136),'configStep1':_0x55acf8(0x151),'configStep2':_0x55acf8(0x12d),'configStep3':_0x55acf8(0x130),'sessionId':_0x55acf8(0x148),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x55acf8(0x139),'configParameters':_0x55acf8(0x150),'maxRetries':'Max\x20Retries','save':_0x55acf8(0x14d),'saving':_0x55acf8(0x132),'note1':_0x55acf8(0x13a),'note2':_0x55acf8(0x135),'configSaved':_0x55acf8(0x143),'configError':_0x55acf8(0x144),'apiApplyInfo':{'title':_0x55acf8(0x129),'description':_0x55acf8(0x142),'univerAiLabel':_0x55acf8(0x13c),'getStarted':_0x55acf8(0x15b)},'validation':{'apiKeyRequired':_0x55acf8(0x155),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x55acf8(0x12f)},'connectionStatus':{'disconnected':_0x55acf8(0x134),'connecting':_0x55acf8(0x14e),'connected':_0x55acf8(0x12a),'failed':_0x55acf8(0x141),'retrying':_0x55acf8(0x156)},'connectionError':{'unauthorized':_0x55acf8(0x128),'sessionOccupied':_0x55acf8(0x13e),'networkError':_0x55acf8(0x153),'maxRetriesExceeded':_0x55acf8(0x14f)}}};function _0x5b07(){const _0x328a26=['MCP:\x20Network\x20Error','Click\x20to\x20configure\x20MCP','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.','Configuration\x20saved\x20successfully','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','2956hJENLn','MCP\x20Retrying...','Session\x20ID','2763120GcBeUn','API\x20Key','20432576DJdaKW','exports','Save\x20Configuration','Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20Parameters:','Copy\x20the\x20JSON\x20configuration\x20below','178cHKzZl','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Disconnected','API\x20key\x20is\x20required','Retrying...','Enable\x20Authentication','MCP\x20Connection\x20Failed','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Client\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','What\x20is\x20API\x20Key?','Connected','2211032bVtvrk','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connecting...','Saving...','98871iTXSHP','Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20Steps:','5549838rIbEFa','MCP\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Unknown\x20Status','Univer\x20AI\x20Console','296865wvnugz','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later'];_0x5b07=function(){return _0x328a26;};return _0x5b07();}module[_0x55acf8(0x14c)]=e;
1
+ 'use strict';function _0x27e8(_0x15298a,_0x2a55aa){_0x15298a=_0x15298a-0x10f;const _0x2bdc31=_0x2bdc();let _0x27e870=_0x2bdc31[_0x15298a];return _0x27e870;}const _0x14f12e=_0x27e8;(function(_0x22c0e8,_0x33e202){const _0x454d88=_0x27e8,_0x580043=_0x22c0e8();while(!![]){try{const _0x12a81b=-parseInt(_0x454d88(0x120))/0x1*(parseInt(_0x454d88(0x13e))/0x2)+-parseInt(_0x454d88(0x113))/0x3+parseInt(_0x454d88(0x135))/0x4+-parseInt(_0x454d88(0x117))/0x5+-parseInt(_0x454d88(0x115))/0x6*(parseInt(_0x454d88(0x125))/0x7)+parseInt(_0x454d88(0x111))/0x8*(-parseInt(_0x454d88(0x12d))/0x9)+parseInt(_0x454d88(0x134))/0xa;if(_0x12a81b===_0x33e202)break;else _0x580043['push'](_0x580043['shift']());}catch(_0x5111d6){_0x580043['push'](_0x580043['shift']());}}}(_0x2bdc,0x95f36));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x14f12e(0x12e),'failed':_0x14f12e(0x114),'retrying':_0x14f12e(0x122),'unknown':_0x14f12e(0x130),'unauthorized':_0x14f12e(0x110),'sessionOccupied':_0x14f12e(0x124),'networkError':_0x14f12e(0x119),'maxRetriesExceeded':_0x14f12e(0x142),'clickToConnect':_0x14f12e(0x12a),'clickToConfigure':_0x14f12e(0x12b)},'mcpConfig':{'title':_0x14f12e(0x13b),'description':_0x14f12e(0x118),'apiKey':_0x14f12e(0x11d),'apiKeyPlaceholder':_0x14f12e(0x121),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x14f12e(0x126),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x14f12e(0x13c),'mcpClientConfig':_0x14f12e(0x13c),'configInstructions':_0x14f12e(0x133),'configStepTitle':_0x14f12e(0x11a),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x14f12e(0x127),'sessionId':'Session\x20ID','sessionIdDescription':_0x14f12e(0x11f),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x14f12e(0x143),'save':_0x14f12e(0x11c),'saving':_0x14f12e(0x116),'note1':_0x14f12e(0x13d),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x14f12e(0x131),'configError':_0x14f12e(0x112),'apiApplyInfo':{'title':_0x14f12e(0x11e),'description':_0x14f12e(0x12c),'univerAiLabel':_0x14f12e(0x10f),'getStarted':_0x14f12e(0x12f)},'validation':{'apiKeyRequired':_0x14f12e(0x136),'apiKeyTooShort':_0x14f12e(0x129),'invalidConfig':_0x14f12e(0x11b),'invalidApiKey':_0x14f12e(0x132)},'connectionStatus':{'disconnected':_0x14f12e(0x140),'connecting':_0x14f12e(0x13a),'connected':_0x14f12e(0x128),'failed':_0x14f12e(0x123),'retrying':_0x14f12e(0x13f)},'connectionError':{'unauthorized':_0x14f12e(0x138),'sessionOccupied':_0x14f12e(0x141),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x14f12e(0x137)}}};function _0x2bdc(){const _0x273f05=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Network\x20Error','Configuration\x20Steps:','Invalid\x20configuration','Save\x20Configuration','API\x20Key','What\x20is\x20API\x20Key?','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','9357vUeiTQ','Enter\x20your\x20API\x20key','MCP\x20Retrying...','Connection\x20Failed','MCP:\x20Session\x20ID\x20Occupied','3353CLEFiD','Enable\x20Authentication','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Click\x20to\x20connect\x20MCP','Click\x20to\x20configure\x20MCP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','1422MvJeIj','MCP\x20Connected','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Unknown\x20Status','Configuration\x20saved\x20successfully','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','16623160OnjkiD','1811860eJapUJ','API\x20key\x20is\x20required','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','exports','Connecting...','MCP\x20Configuration','MCP\x20Client\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','34CwfUWg','Retrying...','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','Max\x20Retries','Univer\x20AI\x20Console','MCP:\x20Unauthorized','24344XpRRHe','Failed\x20to\x20save\x20configuration','693645xzoKWZ','MCP\x20Connection\x20Failed','4584LhagYt','Saving...','1320245ueyuog'];_0x2bdc=function(){return _0x273f05;};return _0x2bdc();}module[_0x14f12e(0x139)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x429850=_0x2924;function _0x2924(_0x57dd99,_0x4d9fee){_0x57dd99=_0x57dd99-0x196;const _0x31d439=_0x31d4();let _0x2924c8=_0x31d439[_0x57dd99];return _0x2924c8;}(function(_0x38ce00,_0x46d447){const _0x137604=_0x2924,_0x4442e8=_0x38ce00();while(!![]){try{const _0x5b8314=parseInt(_0x137604(0x1ca))/0x1*(-parseInt(_0x137604(0x1a3))/0x2)+parseInt(_0x137604(0x1a8))/0x3+parseInt(_0x137604(0x1a9))/0x4*(-parseInt(_0x137604(0x1ba))/0x5)+parseInt(_0x137604(0x1ab))/0x6+-parseInt(_0x137604(0x1bf))/0x7+parseInt(_0x137604(0x1c9))/0x8*(-parseInt(_0x137604(0x1af))/0x9)+parseInt(_0x137604(0x1c5))/0xa;if(_0x5b8314===_0x46d447)break;else _0x4442e8['push'](_0x4442e8['shift']());}catch(_0x4f2314){_0x4442e8['push'](_0x4442e8['shift']());}}}(_0x31d4,0x93253));const e={'mcpStatus':{'disconnected':_0x429850(0x1be),'connecting':_0x429850(0x1bd),'connected':_0x429850(0x19a),'failed':_0x429850(0x19d),'retrying':_0x429850(0x1a1),'unknown':_0x429850(0x1b8),'unauthorized':_0x429850(0x1b5),'sessionOccupied':_0x429850(0x1b6),'networkError':_0x429850(0x198),'maxRetriesExceeded':_0x429850(0x1ae),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x429850(0x1c6)},'mcpConfig':{'title':_0x429850(0x1b3),'description':_0x429850(0x1ac),'apiKey':_0x429850(0x1b1),'apiKeyPlaceholder':_0x429850(0x1c3),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x429850(0x1c0),'enableAuthHint':_0x429850(0x19e),'connectionInfo':_0x429850(0x1b7),'mcpClientConfig':_0x429850(0x1b7),'configInstructions':_0x429850(0x1a5),'configStepTitle':_0x429850(0x1b9),'configStep1':_0x429850(0x19c),'configStep2':_0x429850(0x1c7),'configStep3':_0x429850(0x1c1),'sessionId':_0x429850(0x1b0),'sessionIdDescription':_0x429850(0x1aa),'authorizationDescription':_0x429850(0x1a2),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x429850(0x1a7),'save':_0x429850(0x199),'saving':_0x429850(0x1bc),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x429850(0x1c8),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x429850(0x1ad),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x429850(0x197),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x429850(0x19b)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x429850(0x19f),'invalidConfig':_0x429850(0x1b2),'invalidApiKey':_0x429850(0x1bb)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x429850(0x1a4),'failed':_0x429850(0x1b4),'retrying':_0x429850(0x196)},'connectionError':{'unauthorized':_0x429850(0x1c2),'sessionOccupied':_0x429850(0x1c4),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x429850(0x1a6)}}},n=e;function _0x31d4(){const _0x4ce694=['Get\x20your\x20API\x20key\x20in\x20seconds','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','exports','MCP\x20Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','185452ehXTVY','Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Max\x20Retries','1284645DgFLHq','152qztVhn','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','4740990IqcPWz','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','9vThvRA','Session\x20ID','API\x20Key','Invalid\x20configuration','MCP\x20Configuration','Connection\x20Failed','MCP:\x20Unauthorized','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Client\x20Configuration','MCP\x20Unknown\x20Status','Configuration\x20Steps:','134620TkegsG','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Saving...','MCP\x20Connecting...','MCP\x20Disconnected','2843050jMfDaF','Enable\x20Authentication','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enter\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','24437840jMJzUJ','Click\x20to\x20configure\x20MCP','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','9332520heuQkD','5YmdaAh','Retrying...','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','Save\x20Configuration','MCP\x20Connected'];_0x31d4=function(){return _0x4ce694;};return _0x31d4();}module[_0x429850(0x1a0)]=n;
1
+ 'use strict';const _0x502c94=_0xcdd1;(function(_0x2ed35a,_0x4a898b){const _0x18ea24=_0xcdd1,_0x59a56c=_0x2ed35a();while(!![]){try{const _0x3fb148=-parseInt(_0x18ea24(0x1e3))/0x1*(parseInt(_0x18ea24(0x1df))/0x2)+-parseInt(_0x18ea24(0x1e8))/0x3*(-parseInt(_0x18ea24(0x1d6))/0x4)+parseInt(_0x18ea24(0x205))/0x5*(-parseInt(_0x18ea24(0x201))/0x6)+parseInt(_0x18ea24(0x1fb))/0x7*(parseInt(_0x18ea24(0x1de))/0x8)+parseInt(_0x18ea24(0x1ef))/0x9+parseInt(_0x18ea24(0x1ea))/0xa*(parseInt(_0x18ea24(0x1f3))/0xb)+parseInt(_0x18ea24(0x206))/0xc;if(_0x3fb148===_0x4a898b)break;else _0x59a56c['push'](_0x59a56c['shift']());}catch(_0x44fb96){_0x59a56c['push'](_0x59a56c['shift']());}}}(_0x1d23,0x311a3));function _0x1d23(){const _0x23ac29=['MCP\x20Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key','12670lqpvSv','824760GuttAn','Enable\x20Authentication','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Univer\x20AI\x20Console','Save\x20Configuration','Saving...','MCP\x20Client\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Retrying...','7068pfOzNn','Configuration\x20Steps:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connected','Session\x20ID','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','What\x20is\x20API\x20Key?','75368RrlnXt','154892CbMAcS','Configuration\x20Parameters:','API\x20key\x20is\x20required','Configuration\x20saved\x20successfully','4uIjLqG','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connection\x20Failed','exports','Failed\x20to\x20save\x20configuration','174PakWRt','Get\x20your\x20API\x20key\x20in\x20seconds','446620GpqIES','MCP:\x20Unauthorized','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Disconnected','MCP:\x20Session\x20ID\x20Occupied','770922cralrn','MCP\x20Connection\x20Failed','Max\x20Retries','Retrying...','55NaYQmy','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','MCP\x20Configuration','245vqIXof','API\x20Key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20authentication\x20for\x20secure\x20connections','Connecting...','API\x20key\x20with\x20Bearer\x20prefix.','708hvIzFy'];_0x1d23=function(){return _0x23ac29;};return _0x1d23();}const e={'mcpStatus':{'disconnected':_0x502c94(0x1ed),'connecting':_0x502c94(0x202),'connected':'MCP\x20Connected','failed':_0x502c94(0x1f0),'retrying':_0x502c94(0x1d5),'unknown':_0x502c94(0x1db),'unauthorized':_0x502c94(0x1eb),'sessionOccupied':_0x502c94(0x1ee),'networkError':_0x502c94(0x1dc),'maxRetriesExceeded':_0x502c94(0x1f5),'clickToConnect':_0x502c94(0x1f9),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x502c94(0x1fa),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x502c94(0x1fc),'apiKeyPlaceholder':_0x502c94(0x204),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x502c94(0x207),'enableAuthHint':_0x502c94(0x1fe),'connectionInfo':_0x502c94(0x20d),'mcpClientConfig':_0x502c94(0x20d),'configInstructions':_0x502c94(0x1f8),'configStepTitle':_0x502c94(0x1d7),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x502c94(0x1ec),'configStep3':_0x502c94(0x208),'sessionId':_0x502c94(0x1da),'sessionIdDescription':_0x502c94(0x1f4),'authorizationDescription':_0x502c94(0x200),'configParameters':_0x502c94(0x1e0),'maxRetries':_0x502c94(0x1f1),'save':_0x502c94(0x20b),'saving':_0x502c94(0x20c),'note1':_0x502c94(0x1f7),'note2':_0x502c94(0x1d4),'configSaved':_0x502c94(0x1e2),'configError':_0x502c94(0x1e7),'apiApplyInfo':{'title':_0x502c94(0x1dd),'description':_0x502c94(0x1f6),'univerAiLabel':_0x502c94(0x20a),'getStarted':_0x502c94(0x1e9)},'validation':{'apiKeyRequired':_0x502c94(0x1e1),'apiKeyTooShort':_0x502c94(0x203),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x502c94(0x1fd)},'connectionStatus':{'disconnected':_0x502c94(0x20f),'connecting':_0x502c94(0x1ff),'connected':_0x502c94(0x1d9),'failed':_0x502c94(0x1e5),'retrying':_0x502c94(0x1f2)},'connectionError':{'unauthorized':_0x502c94(0x209),'sessionOccupied':_0x502c94(0x20e),'networkError':_0x502c94(0x1d8),'maxRetriesExceeded':_0x502c94(0x1e4)}}},n=e;function _0xcdd1(_0x492a6c,_0x5b66bc){_0x492a6c=_0x492a6c-0x1d4;const _0x1d2376=_0x1d23();let _0xcdd12f=_0x1d2376[_0x492a6c];return _0xcdd12f;}module[_0x502c94(0x1e6)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x275e99=_0x2a55;function _0x2a55(_0x331393,_0x162144){_0x331393=_0x331393-0x9d;const _0x1776c8=_0x1776();let _0x2a551b=_0x1776c8[_0x331393];return _0x2a551b;}(function(_0x2ddf0c,_0x5f3ac4){const _0x5e118f=_0x2a55,_0x3aa2cc=_0x2ddf0c();while(!![]){try{const _0xcc4df3=parseInt(_0x5e118f(0xb9))/0x1*(parseInt(_0x5e118f(0xc3))/0x2)+parseInt(_0x5e118f(0xb7))/0x3*(parseInt(_0x5e118f(0xbf))/0x4)+parseInt(_0x5e118f(0xa7))/0x5+parseInt(_0x5e118f(0xa5))/0x6*(-parseInt(_0x5e118f(0xa6))/0x7)+-parseInt(_0x5e118f(0x9f))/0x8+parseInt(_0x5e118f(0xab))/0x9*(parseInt(_0x5e118f(0xcb))/0xa)+-parseInt(_0x5e118f(0xaf))/0xb*(parseInt(_0x5e118f(0xc9))/0xc);if(_0xcc4df3===_0x5f3ac4)break;else _0x3aa2cc['push'](_0x3aa2cc['shift']());}catch(_0x592ff2){_0x3aa2cc['push'](_0x3aa2cc['shift']());}}}(_0x1776,0x1a903));const e={'mcpStatus':{'disconnected':_0x275e99(0xbd),'connecting':_0x275e99(0xb4),'connected':_0x275e99(0xb2),'failed':_0x275e99(0xa0),'retrying':_0x275e99(0xa4),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x275e99(0xc0),'maxRetriesExceeded':_0x275e99(0xad),'clickToConnect':_0x275e99(0xac),'clickToConfigure':_0x275e99(0xa9)},'mcpConfig':{'title':_0x275e99(0xcc),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x275e99(0xba),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x275e99(0xb1),'enableAuthHint':_0x275e99(0xae),'connectionInfo':_0x275e99(0xaa),'mcpClientConfig':_0x275e99(0xaa),'configInstructions':_0x275e99(0xbe),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x275e99(0xc1),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x275e99(0xcf),'authorizationDescription':_0x275e99(0xc4),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x275e99(0xb0),'note1':_0x275e99(0xb5),'note2':_0x275e99(0xb8),'configSaved':_0x275e99(0xc6),'configError':_0x275e99(0x9d),'apiApplyInfo':{'title':_0x275e99(0xca),'description':_0x275e99(0xb3),'univerAiLabel':_0x275e99(0xce),'getStarted':_0x275e99(0xa1)},'validation':{'apiKeyRequired':_0x275e99(0xb6),'apiKeyTooShort':_0x275e99(0xc8),'invalidConfig':_0x275e99(0xcd),'invalidApiKey':_0x275e99(0xa3)},'connectionStatus':{'disconnected':_0x275e99(0xbc),'connecting':_0x275e99(0xc2),'connected':'Connected','failed':_0x275e99(0xc7),'retrying':_0x275e99(0xbb)},'connectionError':{'unauthorized':_0x275e99(0xa8),'sessionOccupied':_0x275e99(0xc5),'networkError':_0x275e99(0x9e),'maxRetriesExceeded':_0x275e99(0xa2)}}},n=e;function _0x1776(){const _0xc2c68a=['MCP\x20Connecting...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20is\x20required','2541HHikSC','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','3721lINuug','API\x20Key','Retrying...','Disconnected','MCP\x20Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','844pfONdL','MCP:\x20Network\x20Error','Copy\x20the\x20JSON\x20configuration\x20below','Connecting...','66cSjRUQ','API\x20key\x20with\x20Bearer\x20prefix.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','Connection\x20Failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','42396TNSvjb','What\x20is\x20API\x20Key?','61010LPOQeI','MCP\x20Configuration','Invalid\x20configuration','Univer\x20AI\x20Console','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Failed\x20to\x20save\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','164744ZZKjoa','MCP\x20Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','1052154QhSsDW','7SeDaQc','226810olqBAk','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','MCP\x20Client\x20Configuration','261wjwNZj','Click\x20to\x20connect\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20authentication\x20for\x20secure\x20connections','682vHxoUA','Saving...','Enable\x20Authentication','MCP\x20Connected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.'];_0x1776=function(){return _0xc2c68a;};return _0x1776();}module['exports']=n;
1
+ 'use strict';function _0x3345(){const _0x36f4fc=['11VjjfwY','MCP\x20Configuration','4156752eeyhzl','889IwiYpb','MCP\x20Client\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','MCP:\x20Unauthorized','Get\x20your\x20API\x20key\x20in\x20seconds','55828DgewUf','MCP:\x20Network\x20Error','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','Failed\x20to\x20save\x20configuration','232FZsZyD','API\x20Key','Configuration\x20Steps:','MCP:\x20Session\x20ID\x20Occupied','Max\x20Retries','MCP\x20Connected','2137590dbHcVg','Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connecting...','54DXlUkf','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','13455BfcNnm','MCP\x20Unknown\x20Status','Connection\x20Failed','Invalid\x20configuration','Retrying...','8lGPDeC','Saving...','Click\x20to\x20connect\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','Configuration\x20Parameters:','6420RhZNgP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','1792240yNLhGK','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20saved\x20successfully','158511dkQxCB','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Univer\x20AI\x20Console','Connecting...'];_0x3345=function(){return _0x36f4fc;};return _0x3345();}const _0x52c779=_0x47e5;(function(_0x5d5fbc,_0x2276df){const _0x5dc5bf=_0x47e5,_0x4096c9=_0x5d5fbc();while(!![]){try{const _0x4920c9=-parseInt(_0x5dc5bf(0xa0))/0x1*(-parseInt(_0x5dc5bf(0x90))/0x2)+-parseInt(_0x5dc5bf(0x89))/0x3*(parseInt(_0x5dc5bf(0xad))/0x4)+parseInt(_0x5dc5bf(0xb9))/0x5+parseInt(_0x5dc5bf(0x96))/0x6*(-parseInt(_0x5dc5bf(0xa7))/0x7)+parseInt(_0x5dc5bf(0xb3))/0x8*(-parseInt(_0x5dc5bf(0x8b))/0x9)+parseInt(_0x5dc5bf(0x9a))/0xa*(parseInt(_0x5dc5bf(0xa4))/0xb)+-parseInt(_0x5dc5bf(0xa6))/0xc;if(_0x4920c9===_0x2276df)break;else _0x4096c9['push'](_0x4096c9['shift']());}catch(_0x1f0bd7){_0x4096c9['push'](_0x4096c9['shift']());}}}(_0x3345,0x7142f));function _0x47e5(_0x5087cd,_0x438237){_0x5087cd=_0x5087cd-0x88;const _0x334545=_0x3345();let _0x47e508=_0x334545[_0x5087cd];return _0x47e508;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x52c779(0x88),'connected':_0x52c779(0xb8),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x52c779(0x8c),'unauthorized':_0x52c779(0xab),'sessionOccupied':_0x52c779(0xb6),'networkError':_0x52c779(0xae),'maxRetriesExceeded':_0x52c779(0x99),'clickToConnect':_0x52c779(0x92),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x52c779(0xa5),'description':_0x52c779(0x8a),'apiKey':_0x52c779(0xb4),'apiKeyPlaceholder':_0x52c779(0x98),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x52c779(0x94),'enableAuthHint':_0x52c779(0x93),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x52c779(0xa8),'configInstructions':_0x52c779(0x97),'configStepTitle':_0x52c779(0xb5),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x52c779(0xbb),'configStep3':_0x52c779(0xa9),'sessionId':_0x52c779(0x9d),'sessionIdDescription':_0x52c779(0x9e),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x52c779(0x95),'maxRetries':_0x52c779(0xb7),'save':_0x52c779(0xaa),'saving':_0x52c779(0x91),'note1':_0x52c779(0xb0),'note2':_0x52c779(0x9c),'configSaved':_0x52c779(0x9f),'configError':_0x52c779(0xb2),'apiApplyInfo':{'title':_0x52c779(0xb1),'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':_0x52c779(0xa2),'getStarted':_0x52c779(0xac)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x52c779(0x8e),'invalidApiKey':_0x52c779(0x9b)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x52c779(0xa3),'connected':_0x52c779(0xba),'failed':_0x52c779(0x8d),'retrying':_0x52c779(0x8f)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x52c779(0xa1),'networkError':_0x52c779(0xaf),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';function _0x5aa7(){const _0x3b8cbb=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','9xAEjXq','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','MCP\x20Client\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Parameters:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','74ZwgFpS','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Unauthorized','Session\x20ID','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connection\x20Failed','30300gdvyHv','Enable\x20authentication\x20for\x20secure\x20connections','101883ebOYwX','Click\x20to\x20configure\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','API\x20key\x20with\x20Bearer\x20prefix.','3396580vWglYl','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Session\x20ID\x20Occupied','MCP:\x20Network\x20Error','MCP\x20Configuration','Univer\x20AI\x20Console','Save\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','144cqUlaK','Retrying...','MCP\x20Connecting...','17657bJSClR','Copy\x20the\x20JSON\x20configuration\x20below','Disconnected','Invalid\x20configuration','Configuration\x20Steps:','2455131cdDMqX','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','8tymcai','API\x20key\x20is\x20required','1326930uGcVZY','Max\x20Retries','Connected','Enable\x20Authentication','API\x20Key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1398616YlNAzP','MCP\x20Connection\x20Failed','Failed\x20to\x20save\x20configuration'];_0x5aa7=function(){return _0x3b8cbb;};return _0x5aa7();}const _0x17606c=_0x342a;(function(_0x19968b,_0x5b7c5c){const _0x406765=_0x342a,_0xa7de61=_0x19968b();while(!![]){try{const _0x25c11a=parseInt(_0x406765(0xf5))/0x1*(parseInt(_0x406765(0x112))/0x2)+parseInt(_0x406765(0x11a))/0x3+-parseInt(_0x406765(0x104))/0x4+parseInt(_0x406765(0x118))/0x5*(parseInt(_0x406765(0xf2))/0x6)+-parseInt(_0x406765(0xfa))/0x7*(-parseInt(_0x406765(0xfc))/0x8)+-parseInt(_0x406765(0x108))/0x9*(parseInt(_0x406765(0x11f))/0xa)+-parseInt(_0x406765(0xfe))/0xb;if(_0x25c11a===_0x5b7c5c)break;else _0xa7de61['push'](_0xa7de61['shift']());}catch(_0x495701){_0xa7de61['push'](_0xa7de61['shift']());}}}(_0x5aa7,0x5b2fd));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x17606c(0xf4),'connected':'MCP\x20Connected','failed':_0x17606c(0x105),'retrying':_0x17606c(0xf0),'unknown':_0x17606c(0x109),'unauthorized':_0x17606c(0x114),'sessionOccupied':_0x17606c(0x121),'networkError':_0x17606c(0x122),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x17606c(0x11d),'clickToConfigure':_0x17606c(0x11b)},'mcpConfig':{'title':_0x17606c(0x123),'description':_0x17606c(0x116),'apiKey':_0x17606c(0x102),'apiKeyPlaceholder':_0x17606c(0x10a),'apiKeyHint':_0x17606c(0xfb),'enableAuth':_0x17606c(0x101),'enableAuthHint':_0x17606c(0x119),'connectionInfo':_0x17606c(0x10b),'mcpClientConfig':_0x17606c(0x10b),'configInstructions':_0x17606c(0x11c),'configStepTitle':_0x17606c(0xf9),'configStep1':_0x17606c(0xf6),'configStep2':_0x17606c(0x120),'configStep3':_0x17606c(0x103),'sessionId':_0x17606c(0x115),'sessionIdDescription':_0x17606c(0x10c),'authorizationDescription':_0x17606c(0x11e),'configParameters':_0x17606c(0x10d),'maxRetries':_0x17606c(0xff),'save':_0x17606c(0x125),'saving':'Saving...','note1':_0x17606c(0x10e),'note2':_0x17606c(0xf1),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x17606c(0x106),'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':_0x17606c(0x124),'getStarted':_0x17606c(0x113)},'validation':{'apiKeyRequired':_0x17606c(0xfd),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x17606c(0xf8),'invalidApiKey':_0x17606c(0x110)},'connectionStatus':{'disconnected':_0x17606c(0xf7),'connecting':'Connecting...','connected':_0x17606c(0x100),'failed':_0x17606c(0x117),'retrying':_0x17606c(0xf3)},'connectionError':{'unauthorized':_0x17606c(0x107),'sessionOccupied':_0x17606c(0x10f),'networkError':_0x17606c(0x111),'maxRetriesExceeded':_0x17606c(0xef)}}},n=e;function _0x342a(_0x4a4110,_0x32c393){_0x4a4110=_0x4a4110-0xef;const _0x5aa78e=_0x5aa7();let _0x342a3a=_0x5aa78e[_0x4a4110];return _0x342a3a;}module['exports']=n;
1
+ 'use strict';const _0x349cc8=_0x10d1;function _0x21e3(){const _0x5027e2=['Max\x20Retries','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20is\x20required','7zpsZGa','MCP\x20Configuration','What\x20is\x20API\x20Key?','MCP\x20Unknown\x20Status','86924eOLUfq','MCP\x20Connecting...','5884820ivsSDC','2048985YAIAeH','Session\x20ID','Failed\x20to\x20save\x20configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','224rFxpTM','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','6755IrHDvG','45768qDJUMQ','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','8mBEyMC','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','300912xOGPpp','Univer\x20AI\x20Console','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Retrying...','Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20configure\x20MCP','Connected','MCP:\x20Session\x20ID\x20Occupied','206338JORneC','MCP\x20Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Copy\x20the\x20JSON\x20configuration\x20below','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Steps:','Enable\x20Authentication','MCP\x20Connected','MCP\x20Client\x20Configuration','Click\x20to\x20connect\x20MCP','Invalid\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Unauthorized'];_0x21e3=function(){return _0x5027e2;};return _0x21e3();}function _0x10d1(_0x5b62ff,_0x1f0ef1){_0x5b62ff=_0x5b62ff-0xbf;const _0x21e376=_0x21e3();let _0x10d107=_0x21e376[_0x5b62ff];return _0x10d107;}(function(_0x425b6d,_0x45cb33){const _0x4d76d5=_0x10d1,_0x223f0a=_0x425b6d();while(!![]){try{const _0x27fc0f=-parseInt(_0x4d76d5(0xe1))/0x1+-parseInt(_0x4d76d5(0xc8))/0x2+-parseInt(_0x4d76d5(0xd2))/0x3+parseInt(_0x4d76d5(0xcf))/0x4*(parseInt(_0x4d76d5(0xd1))/0x5)+parseInt(_0x4d76d5(0xd7))/0x6*(-parseInt(_0x4d76d5(0xc4))/0x7)+parseInt(_0x4d76d5(0xd5))/0x8*(-parseInt(_0x4d76d5(0xcb))/0x9)+parseInt(_0x4d76d5(0xca))/0xa;if(_0x27fc0f===_0x45cb33)break;else _0x223f0a['push'](_0x223f0a['shift']());}catch(_0x7cd2a9){_0x223f0a['push'](_0x223f0a['shift']());}}}(_0x21e3,0x1d9b1));const e={'mcpStatus':{'disconnected':_0x349cc8(0xe2),'connecting':_0x349cc8(0xc9),'connected':_0x349cc8(0xe9),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x349cc8(0xc7),'unauthorized':_0x349cc8(0xbf),'sessionOccupied':_0x349cc8(0xe0),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x349cc8(0xeb),'clickToConfigure':_0x349cc8(0xde)},'mcpConfig':{'title':_0x349cc8(0xc5),'description':_0x349cc8(0xd9),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x349cc8(0xc2),'enableAuth':_0x349cc8(0xe8),'enableAuthHint':_0x349cc8(0xdd),'connectionInfo':_0x349cc8(0xea),'mcpClientConfig':_0x349cc8(0xea),'configInstructions':_0x349cc8(0xc1),'configStepTitle':_0x349cc8(0xe7),'configStep1':_0x349cc8(0xe5),'configStep2':_0x349cc8(0xd3),'configStep3':_0x349cc8(0xd6),'sessionId':_0x349cc8(0xcc),'sessionIdDescription':_0x349cc8(0xe4),'authorizationDescription':_0x349cc8(0xef),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x349cc8(0xc0),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x349cc8(0xe3),'note2':_0x349cc8(0xdc),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x349cc8(0xcd),'apiApplyInfo':{'title':_0x349cc8(0xc6),'description':_0x349cc8(0xd4),'univerAiLabel':_0x349cc8(0xd8),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x349cc8(0xc3),'apiKeyTooShort':_0x349cc8(0xee),'invalidConfig':_0x349cc8(0xec),'invalidApiKey':_0x349cc8(0xed)},'connectionStatus':{'disconnected':_0x349cc8(0xdb),'connecting':'Connecting...','connected':_0x349cc8(0xdf),'failed':'Connection\x20Failed','retrying':_0x349cc8(0xda)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x349cc8(0xce),'networkError':_0x349cc8(0xe6),'maxRetriesExceeded':_0x349cc8(0xd0)}}},n=e;module['exports']=n;