@univerjs-pro/mcp-ui 0.15.2 → 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 _0x375d30=_0x5121;(function(_0x47a43e,_0x4e532f){const _0x1d95c5=_0x5121,_0x2f00af=_0x47a43e();while(!![]){try{const _0x21228c=-parseInt(_0x1d95c5(0x1e2))/0x1+parseInt(_0x1d95c5(0x176))/0x2*(parseInt(_0x1d95c5(0xf4))/0x3)+-parseInt(_0x1d95c5(0xad))/0x4+-parseInt(_0x1d95c5(0xa3))/0x5+-parseInt(_0x1d95c5(0x11d))/0x6*(-parseInt(_0x1d95c5(0x1a9))/0x7)+-parseInt(_0x1d95c5(0x1c4))/0x8+parseInt(_0x1d95c5(0x143))/0x9;if(_0x21228c===_0x4e532f)break;else _0x2f00af['push'](_0x2f00af['shift']());}catch(_0x398ca7){_0x2f00af['push'](_0x2f00af['shift']());}}}(_0x4069,0x49eaa));var ae=Object[_0x375d30(0x1c5)],le=(_0xe74ff5,_0x2cf789,_0x5085c6)=>_0x2cf789 in _0xe74ff5?ae(_0xe74ff5,_0x2cf789,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5085c6}):_0xe74ff5[_0x2cf789]=_0x5085c6,I=(_0x886578,_0x423e83,_0x2bf920)=>le(_0x886578,typeof _0x423e83!=_0x375d30(0x15f)?_0x423e83+'':_0x423e83,_0x2bf920);Object[_0x375d30(0x1c5)](exports,Symbol[_0x375d30(0x1d9)],{'value':_0x375d30(0x13b)});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:_0x55c355,..._0x283df0}){const _0x134bf2=_0x375d30,{icon:_0x3fb1f0,id:_0x4d23cf,className:_0x535772,extend:_0x503f7b,..._0x3268f9}=_0x283df0,_0x529d64=('univerjs-icon\x20univerjs-icon-'+_0x4d23cf+'\x20'+(_0x535772||''))['trim'](),_0x3dba2c=d[_0x134bf2(0xc0)]('_'+de());return G(_0x3fb1f0,''+_0x4d23cf,{'defIds':_0x3fb1f0[_0x134bf2(0xec)],'idSuffix':_0x3dba2c[_0x134bf2(0x177)]},{'ref':_0x55c355,'className':_0x529d64,..._0x3268f9},_0x503f7b);}function G(_0x28c730,_0x52ff1d,_0x2fc0b1,_0xcc890,_0x5d311a){const _0x54f412=_0x375d30;return d[_0x54f412(0x134)](_0x28c730['tag'],{'key':_0x52ff1d,...ue(_0x28c730,_0x2fc0b1,_0x5d311a),..._0xcc890},(ve(_0x28c730,_0x2fc0b1)['children']||[])[_0x54f412(0x180)]((_0x3f4d6b,_0xa26c73)=>G(_0x3f4d6b,_0x52ff1d+'-'+_0x28c730[_0x54f412(0x109)]+'-'+_0xa26c73,_0x2fc0b1,void 0x0,_0x5d311a)));}function ue(_0x4068ce,_0x44503b,_0x43ee43){const _0x60fb06=_0x375d30,_0x3bf540={..._0x4068ce[_0x60fb06(0x1fc)]};_0x43ee43!=null&&_0x43ee43[_0x60fb06(0xa4)]&&_0x3bf540[_0x60fb06(0x13a)]===_0x60fb06(0xa4)&&(_0x3bf540[_0x60fb06(0x13a)]=_0x43ee43[_0x60fb06(0xa4)]),_0x4068ce['tag']==='mask'&&_0x3bf540['id']&&(_0x3bf540['id']=_0x3bf540['id']+_0x44503b['idSuffix']),Object[_0x60fb06(0x18f)](_0x3bf540)[_0x60fb06(0x122)](([_0x3a42e0,_0x2184ee])=>{const _0x7febfc=_0x60fb06;_0x3a42e0===_0x7febfc(0x19d)&&typeof _0x2184ee==_0x7febfc(0xdf)&&(_0x3bf540[_0x3a42e0]=_0x2184ee[_0x7febfc(0x20f)](/url\(#(.*)\)/,'url(#$1'+_0x44503b[_0x7febfc(0x17e)]+')'));});const {defIds:_0x597cb6}=_0x44503b;return!_0x597cb6||_0x597cb6[_0x60fb06(0x196)]===0x0||(_0x4068ce[_0x60fb06(0x109)]===_0x60fb06(0x1c8)&&_0x3bf540[_0x60fb06(0x11c)]&&(_0x3bf540[_0x60fb06(0x11c)]=_0x3bf540['xlink:href']+_0x44503b[_0x60fb06(0x17e)]),Object[_0x60fb06(0x18f)](_0x3bf540)[_0x60fb06(0x122)](([_0x2be10d,_0x3c91eb])=>{const _0xaa322b=_0x60fb06;typeof _0x3c91eb==_0xaa322b(0xdf)&&(_0x3bf540[_0x2be10d]=_0x3c91eb[_0xaa322b(0x20f)](/url\(#(.*)\)/,_0xaa322b(0x16b)+_0x44503b['idSuffix']+')'));})),_0x3bf540;}function ve(_0x4414e9,_0x4d088a){const _0x3ee242=_0x375d30;var _0x41419e;const {defIds:_0x3c124e}=_0x4d088a;return!_0x3c124e||_0x3c124e[_0x3ee242(0x196)]===0x0?_0x4414e9:_0x4414e9[_0x3ee242(0x109)]===_0x3ee242(0x112)&&((_0x41419e=_0x4414e9[_0x3ee242(0x1f5)])!=null&&_0x41419e[_0x3ee242(0x196)])?{..._0x4414e9,'children':_0x4414e9[_0x3ee242(0x1f5)][_0x3ee242(0x180)](_0x1cdaa0=>typeof _0x1cdaa0[_0x3ee242(0x1fc)]['id']==_0x3ee242(0xdf)&&_0x3c124e&&_0x3c124e['includes'](_0x1cdaa0['attrs']['id'])?{..._0x1cdaa0,'attrs':{..._0x1cdaa0['attrs'],'id':_0x1cdaa0['attrs']['id']+_0x4d088a[_0x3ee242(0x17e)]}}:_0x1cdaa0)}:_0x4414e9;}function de(){const _0x1f967=_0x375d30;return Math['random']()[_0x1f967(0x100)](0x24)[_0x1f967(0xb4)](0x2,0x8);}_['displayName']='UniverIcon';function _0x4069(){const _0x2ed561=['univer-text-sm\x20univer-font-medium','univer-mr-2\x20univer-flex\x20univer-text-xl','MAX_RETRIES_EXCEEDED','CloseIcon','最大重试次数','将配置添加到您的\x20MCP\x20客户端设置文件中','_componentManager','将以下配置添加到您的\x20MCP\x20客户端设置中:','path','点击连接\x20MCP','BuiltInUIPart','text','DependentOn','round','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','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','connectInjector','mcpConfig.note2','带有\x20Bearer\x20前缀的\x20API\x20密钥。','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','IUIPartsService','mcpConfig.connectionStatus.failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','809088eJRrzK','defineProperty','_messageService','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','use','MCP\x20Client\x20Configuration','重连中...','MCP\x20Connecting...','OnLineIcon','__setCustomHeaders','getItem','权限验证失败,请检查您的\x20API\x20密钥','mcpConfig.saving','label','_injector','_configService','MCP_PLUGIN_CONFIG_KEY','CONNECTED','getOwnPropertyDescriptor','CommandType','_localStorageService','toStringTag','ICommandService','网络连接错误,请检查您的网络连接','close','zhCN','配置步骤:','RibbonStartGroup','配置更改将立即生效','registerCommand','532005LKQOkQ','Failed\x20to\x20save\x20configuration','univer-size-4','CheckMarkIcon','mcpConfig.configStep3','_initStatusComponent','showDeveloperTools','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-flex\x20univer-items-start\x20univer-gap-3','mcpConfig.connectionStatus.connecting','MenuIcon','_apiKey$','univer-space-y-3','error','forwardRef','Configuration\x20Notes:','Univer\x20AI\x20Console','Configuration\x20saved\x20successfully','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children','mcpConfig.configError','isValid','API\x20密钥','Session\x20ID','Get\x20your\x20API\x20key\x20in\x20seconds','jsxs','attrs','_commandService','univer-shrink-0\x20univer-text-blue-500','MCPConnectionStatus','univer.ai','Invalid\x20configuration','_loading$','clsx','Error','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','push','Save\x20Configuration','Button','mcpConfig.title','jsx','连接失败','MCP\x20已断开','Disconnected','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','replace','mcpStatus.unauthorized','UniverMCPUIPlugin','univer-flex-1','mcpConfig.authorizationDescription','trim','univer-text-gray-500','MCP\x20Configuration','ILogService','useDependency','http://www.w3.org/2000/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','univer-space-y-4','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','Inject','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','_mcpCoreConfig$','MCP:\x20网络错误','Retrying...','univer-flex\x20univer-items-center\x20univer-gap-3','connectionStatus$','mcpServerUrl','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','2991885CfZXJE','colorChannel1','MessageType','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','div','MCP\x20配置','univer-space-y-2','currentColor','next','enUS','223172fIdikj','Saving...','_config$','showStatus','mcpStatus.unknown','MCPConnectionUIController','配置参数:','substring','univer-bg-blue-500','ISocketService','useState','API\x20key\x20is\x20required','FAILED','displayName','mcpConfig.connectionStatus.retrying','IMenuManagerService','_config','_menuManagerService','Max\x20Retries','useRef','_handleConfigure','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','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20超出最大重试次数','univer-min-w-0\x20univer-flex-1','Tooltip','noopener\x20noreferrer','NONE','none','点击配置\x20MCP','IConfigService','启用身份验证','0\x200\x2017\x2016','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','disposeWithMe','NETWORK_ERROR','Enable\x20Authentication','MCPConfigPanel','API\x20key\x20with\x20Bearer\x20prefix.','mcpConfig.validation.apiKeyTooShort','API\x20密钥无效,请检查密钥是否正确','BehaviorSubject','warn','univer-space-y-5','请输入您的\x20API\x20密钥','mcpConfig.connectionError.unauthorized','mcpConfig.apiApplyInfo.title','DISCONNECTED','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','_handleConfigSave','string','mcpConfig.apiKey','off','SESSION_ID_OCCUPIED','mergeMenu','<SESSION_ID>','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','MCP\x20Unknown\x20Status','apiKey','span','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Univer\x20AI\x20控制台','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','defIds','mcpConfig.apiKeyPlaceholder','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','_initAutoConnect','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','_logService','univer-size-2\x20univer-rounded-full','Click\x20to\x20configure\x20MCP','48687ksODvo','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-text-sm\x20univer-text-gray-500','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1em','univer-flex\x20univer-items-start\x20univer-gap-2','已连接','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-text-xs\x20univer-text-gray-600','value','_loadStoredApiKey','mcp.apiKey','toString','M0\x200H16V16H0z','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.sessionIdDescription','assign','url(#off-line-icon_clip0_910_343)','保存中...','Plugin','会话ID','tag','univer-flex\x20univer-gap-3','registerComponent','mcpStatus.connected','mcpConfig.connectionError.sessionOccupied','univer-text-gray-400','register','mcp-ui.config','on-line-icon_clip0_910_349','defs','mcpConfig.note1','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-text-red-500','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20状态未知','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','\x20-\x20','MCPUIMenuController','show','xlink:href','177798MMaxVJ','<API_KEY>','white','mcpConfig.connectionStatus.connected','MCP:\x20Unauthorized','forEach','mcpConfig.validation.invalidApiKey','Connecting...','mcpStatus.retrying','mcpConfig.apiApplyInfo.description','mcpConfig.configStep1','MCPStatusDisplay','mcpConfig.validation.invalidConfig','几秒钟内获取您的\x20API\x20密钥','MCPConnectionError','univer-font-medium','connectionError$','_validateConfig','_connectionController','Copy\x20the\x20JSON\x20configuration\x20below','MCP_UI_PLUGIN','MenuItemType','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','createElement','mcpConfig.connectionError.maxRetriesExceeded','univer.plus','_localeService','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','mcpConfig.apiApplyInfo.univerAiLabel','fill','Module','mcpConfig.configParameters','mcpStatus.disconnected','Disposable','0\x200\x2016\x2016','IDialogService','includes','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','13459716xjYkQz','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','COMMAND','MCP:\x20Max\x20Retries\x20Exceeded','RETRYING','useCallback','MCP:\x20会话\x20ID\x20已被占用','Configuration\x20Steps:','mcpConfig.description','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','translate(.97)','LocaleService','univer-text-xs\x20univer-text-gray-500','MCPConnectionController','subscribeConfigValue$','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','复制以下\x20JSON\x20配置','mcpConfig.configStepTitle','MCP\x20Disconnected','https://console.univer.plus','超出最大重试次数,请稍后再试','getConfig','univer-text-white','UNAUTHORIZED','mcpStatus.clickToConnect','Authorization:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','连接中...','symbol','配置保存成功','MCP\x20重连中...','重启您的\x20MCP\x20客户端以使配置生效','Bearer\x20','MCP\x20Connection\x20Failed','_blank','配置无效','errorMessage','_registerComponent','univer-bg-red-500','univer-flex\x20univer-flex-wrap\x20univer-gap-2','url(#$1','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-shrink-0\x20univer-text-red-500','MCPConfigUIController','mcp-config-dialog','MCP\x20客户端配置','stringify','_initializeCommands','off-line-icon_clip0_910_343','MCP\x20连接中...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','8KOsldV','current','getCurrentConfig','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','您的\x20API\x20密钥安全存储在本地存储中','showConfigPanel','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','什么是\x20API\x20密钥?','idSuffix','mcpStatus.failed','map','HEADER_MENU','MCP:\x20未授权','API\x20Key','univer-text-blue-600','_dialogService','保存配置','subscribe','get','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','_createConfigPanelComponent','_initConfigSync','MCP\x20Connected','mcpConfig.apiApplyInfo.getStarted','\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','entries','会话\x20ID\x20已被占用,请稍后再试','svg','CONNECTING','BUTTON','MCP\x20连接失败','_uiPartsService','length','_initializeMenus','useObservable','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','clipPath','Injector','mask','mcpConfig.connectionStatus.disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','close-icon','_mcpConnectionController','evenodd','univer-text-green-500','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','univer-flex\x20univer-items-center\x20univer-gap-2','配置保存失败','button','mcpStatus.clickToConfigure','7LNgxSV','ComponentManager','Enter\x20your\x20API\x20key','What\x20is\x20API\x20Key?'];_0x4069=function(){return _0x2ed561;};return _0x4069();}const Ce={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x375d30(0x13f),'width':_0x375d30(0xf8),'height':'1em'},'children':[{'tag':_0x375d30(0x1b5),'attrs':{'fill':_0x375d30(0xaa),'d':_0x375d30(0x1c0),'fillRule':_0x375d30(0x1a2),'clipRule':_0x375d30(0x1a2)}}]},H=d['forwardRef'](function(_0x58145a,_0x4581b6){const _0x19a3f7=_0x375d30;return d[_0x19a3f7(0x134)](_,Object['assign']({},_0x58145a,{'id':'check-mark-icon','ref':_0x4581b6,'icon':Ce}));});H[_0x375d30(0xba)]=_0x375d30(0x1e5);const ge={'tag':_0x375d30(0x191),'attrs':{'xmlns':_0x375d30(0x96),'fill':_0x375d30(0xc9),'viewBox':'0\x200\x2016\x2016','width':_0x375d30(0xf8),'height':_0x375d30(0xf8)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x375d30(0x1bb)}}]},B=d[_0x375d30(0x1f0)](function(_0x16e1af,_0x14e740){const _0x2120b4=_0x375d30;return d['createElement'](_,Object[_0x2120b4(0x104)]({},_0x16e1af,{'id':_0x2120b4(0x1a0),'ref':_0x14e740,'icon':ge}));});B[_0x375d30(0xba)]=_0x375d30(0x1b0);const fe={'tag':_0x375d30(0x191),'attrs':{'xmlns':_0x375d30(0x96),'fill':_0x375d30(0xc9),'viewBox':_0x375d30(0x13f),'width':_0x375d30(0xf8),'height':_0x375d30(0xf8)},'children':[{'tag':_0x375d30(0x1b5),'attrs':{'fill':_0x375d30(0xaa),'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':'path','attrs':{'fill':'currentColor','d':'M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z'}},{'tag':_0x375d30(0x1b5),'attrs':{'fill':'currentColor','d':_0x375d30(0x9b),'fillRule':_0x375d30(0x1a2),'clipRule':_0x375d30(0x1a2)}}]},F=d['forwardRef'](function(_0x356d1b,_0x58eafb){const _0x4b906a=_0x375d30;return d[_0x4b906a(0x134)](_,Object[_0x4b906a(0x104)]({},_0x356d1b,{'id':'help-icon','ref':_0x58eafb,'icon':fe}));});F[_0x375d30(0xba)]='HelpIcon';const pe={'tag':'svg','attrs':{'xmlns':_0x375d30(0x96),'fill':_0x375d30(0xc9),'viewBox':_0x375d30(0x13f),'width':_0x375d30(0xf8),'height':_0x375d30(0xf8)},'children':[{'tag':'g','attrs':{'clipPath':_0x375d30(0x105)},'children':[{'tag':_0x375d30(0x1b5),'attrs':{'stroke':_0x375d30(0xaa),'d':_0x375d30(0xa6),'strokeLinecap':'round','strokeLinejoin':_0x375d30(0x1ba),'strokeWidth':1.2}}]},{'tag':_0x375d30(0x112),'attrs':{},'children':[{'tag':_0x375d30(0x19b),'attrs':{'id':_0x375d30(0x173)},'children':[{'tag':_0x375d30(0x1b5),'attrs':{'fill':_0x375d30(0x11f),'d':_0x375d30(0x101)}}]}]}],'defIds':[_0x375d30(0x173)]},Y=d[_0x375d30(0x1f0)](function(_0x30f469,_0xff614){const _0x1e775c=_0x375d30;return d[_0x1e775c(0x134)](_,Object[_0x1e775c(0x104)]({},_0x30f469,{'id':'off-line-icon','ref':_0xff614,'icon':pe}));});function _0x5121(_0x5b402e,_0x1d04c9){_0x5b402e=_0x5b402e-0x93;const _0x4069ac=_0x4069();let _0x51210a=_0x4069ac[_0x5b402e];return _0x51210a;}Y['displayName']='OffLineIcon';const he={'tag':_0x375d30(0x191),'attrs':{'xmlns':_0x375d30(0x96),'fill':_0x375d30(0xc9),'viewBox':_0x375d30(0xcd),'width':_0x375d30(0xf8),'height':_0x375d30(0xf8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x375d30(0x1b5),'attrs':{'stroke':_0x375d30(0xaa),'d':_0x375d30(0xf5),'strokeLinecap':_0x375d30(0x1ba),'strokeLinejoin':_0x375d30(0x1ba),'strokeWidth':1.2}}]},{'tag':_0x375d30(0x112),'attrs':{},'children':[{'tag':_0x375d30(0x19b),'attrs':{'id':_0x375d30(0x111)},'children':[{'tag':_0x375d30(0x1b5),'attrs':{'fill':_0x375d30(0x11f),'d':'M0\x200H16V16H0z','transform':_0x375d30(0x14d)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},q=d[_0x375d30(0x1f0)](function(_0x1b72b8,_0x2222c6){const _0x405166=_0x375d30;return d['createElement'](_,Object[_0x405166(0x104)]({},_0x1b72b8,{'id':'on-line-icon','ref':_0x2222c6,'icon':he}));});q[_0x375d30(0xba)]=_0x375d30(0x1cc);function V(_0x5afa35){const _0xacc2b0=_0x375d30;var _0x234e4b,_0x1d6786;const {mcpCoreConfig:_0x135738,onSave:_0x23a28e,loading:_0x479ca6=!0x1,config:_0x6f1294,connectionStatus$:_0x9ca58,connectionError$:_0x4f9da1,currentApiKey$:_0x1df99d,currentSessionId$:_0x5daa01}=_0x5afa35,_0x22f77d=v[_0xacc2b0(0x95)](u[_0xacc2b0(0x14e)]),_0x511166=v[_0xacc2b0(0x198)](_0x9ca58,s['MCPConnectionStatus'][_0xacc2b0(0xdc)]),_0x515678=v[_0xacc2b0(0x198)](_0x4f9da1,s['MCPConnectionError'][_0xacc2b0(0xc8)]),_0x34bcee=v['useObservable'](_0x5daa01,''),_0x314c89=v['useObservable'](_0x1df99d,''),[_0xea77a9,_0x419eb0]=d[_0xacc2b0(0xb7)](_0x314c89||''),_0x230ea2=!0x0,_0x5ef51c=_0x6f1294[_0xacc2b0(0x1e8)]&&_0x135738[_0xacc2b0(0xa1)]&&(_0x135738[_0xacc2b0(0xa1)][_0xacc2b0(0x141)](_0xacc2b0(0x136))||_0x135738[_0xacc2b0(0xa1)][_0xacc2b0(0x141)](_0xacc2b0(0x200))),_0xa46057=(_0x234e4b=_0x135738[_0xacc2b0(0xa1)])==null?void 0x0:_0x234e4b['includes'](_0xacc2b0(0x136)),_0x439a95=(_0x1d6786=_0x135738[_0xacc2b0(0xa1)])==null?void 0x0:_0x1d6786[_0xacc2b0(0x141)]('univer.ai'),_0x21adf9=_0xa46057?_0xacc2b0(0x156):'https://console.univer.ai',_0x5e2d14=_0x6f1294['showDeveloperTools']&&(_0xa46057||_0x439a95),[_0x135c9,_0x5f0427]=d[_0xacc2b0(0xb7)](!_0xea77a9[_0xacc2b0(0x214)]()),_0x1e16d4=(_0x40691f,_0x57280e)=>{const _0x271294=_0xacc2b0;if(_0x57280e===s['MCPConnectionError']['UNAUTHORIZED'])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x40691f){case s[_0x271294(0x1ff)][_0x271294(0x1d5)]:return _0x271294(0x189);case s['MCPConnectionStatus'][_0x271294(0x192)]:case s[_0x271294(0x1ff)]['RETRYING']:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s[_0x271294(0x1ff)][_0x271294(0xb9)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x271294(0x152);}},_0x107400=(_0x217741,_0x585ab0)=>{const _0x560400=_0xacc2b0;if(_0x585ab0===s[_0x560400(0x12b)][_0x560400(0x15a)])return _0x560400(0x169);switch(_0x217741){case s[_0x560400(0x1ff)][_0x560400(0x1d5)]:return'univer-bg-green-500';case s[_0x560400(0x1ff)][_0x560400(0x192)]:case s[_0x560400(0x1ff)][_0x560400(0x147)]:return _0x560400(0xb5);case s[_0x560400(0x1ff)]['FAILED']:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x1db7ca=_0x46d64a=>{const _0xa84a59=_0xacc2b0;switch(_0x46d64a){case s[_0xa84a59(0x1ff)]['CONNECTED']:return _0x22f77d['t'](_0xa84a59(0x120));case s['MCPConnectionStatus'][_0xa84a59(0x192)]:return _0x22f77d['t'](_0xa84a59(0x1eb));case s[_0xa84a59(0x1ff)][_0xa84a59(0xb9)]:return _0x22f77d['t'](_0xa84a59(0x1c2));case s[_0xa84a59(0x1ff)][_0xa84a59(0x147)]:return _0x22f77d['t'](_0xa84a59(0xbb));default:return _0x22f77d['t'](_0xa84a59(0x19e));}},_0x3bb6d2=_0x5cff80=>{const _0x3fa306=_0xacc2b0;switch(_0x5cff80){case s['MCPConnectionError'][_0x3fa306(0x15a)]:return _0x22f77d['t'](_0x3fa306(0xda));case s['MCPConnectionError'][_0x3fa306(0xe2)]:return _0x22f77d['t'](_0x3fa306(0x10d));case s['MCPConnectionError'][_0x3fa306(0xd0)]:return _0x22f77d['t']('mcpConfig.connectionError.networkError');case s[_0x3fa306(0x12b)][_0x3fa306(0x1af)]:return _0x22f77d['t'](_0x3fa306(0x135));default:return'';}},_0xf441b6=d['useCallback'](()=>{const _0x505bbf=_0xacc2b0,_0x5ee4ff={..._0x135738,'apiKey':_0xea77a9[_0x505bbf(0x214)](),'enableAuth':_0x230ea2};_0x23a28e(_0x5ee4ff);},[_0x135738,_0xea77a9,_0x230ea2,_0x23a28e]),_0xc0a2a0=_0xea77a9[_0xacc2b0(0x214)]()[_0xacc2b0(0x196)]>0x0;return i[_0xacc2b0(0x1fb)]('div',{'className':_0xacc2b0(0x205),'children':[i[_0xacc2b0(0x20a)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x114),'children':i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x9f),'children':[i[_0xacc2b0(0x20a)]('div',{'className':_0xacc2b0(0x1a4),'children':i[_0xacc2b0(0x20a)](_0xacc2b0(0xe8),{'className':_0xacc2b0(0x159),'children':'⚙'})}),i['jsx']('div',{'children':i[_0xacc2b0(0x20a)]('p',{'className':_0xacc2b0(0xf6),'children':_0x22f77d['t'](_0xacc2b0(0x14b))})})]})}),i[_0xacc2b0(0x1fb)]('div',{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[i[_0xacc2b0(0x20a)](_0xacc2b0(0xa7),{'className':f[_0xacc2b0(0x203)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x1e16d4(_0x511166,_0x515678)),'children':i[_0xacc2b0(0x1fb)]('div',{'className':_0xacc2b0(0x1a5),'children':[i[_0xacc2b0(0x20a)]('div',{'className':f[_0xacc2b0(0x203)](_0xacc2b0(0xf2),_0x107400(_0x511166,_0x515678))}),i[_0xacc2b0(0x20a)](_0xacc2b0(0xe8),{'className':_0xacc2b0(0x1ad),'children':_0x1db7ca(_0x511166)})]})}),_0x515678!==s[_0xacc2b0(0x12b)][_0xacc2b0(0xc8)]&&(_0x511166===s[_0xacc2b0(0x1ff)][_0xacc2b0(0xb9)]||_0x515678===s[_0xacc2b0(0x12b)][_0xacc2b0(0x15a)])&&i[_0xacc2b0(0x20a)]('div',{'className':_0xacc2b0(0x102),'children':i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0xf9),'children':[i['jsx'](_0xacc2b0(0xe8),{'className':_0xacc2b0(0x16d),'children':'⚠️'}),i[_0xacc2b0(0x20a)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x3bb6d2(_0x515678)})]})})]}),i[_0xacc2b0(0x20a)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0xf0),'children':i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0xd8),'children':[i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0xa9),'children':[i[_0xacc2b0(0x1fb)](_0xacc2b0(0x1d1),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[i[_0xacc2b0(0x20a)](_0xacc2b0(0xe8),{'children':'🔑'}),'\x20',_0x22f77d['t'](_0xacc2b0(0xe0)),i['jsx'](_0xacc2b0(0xe8),{'className':_0xacc2b0(0x115),'children':'*'}),_0x5ef51c&&i[_0xacc2b0(0x20a)]('a',{'className':_0xacc2b0(0xc2),'title':_0x22f77d['t'](_0xacc2b0(0xdb)),'role':_0xacc2b0(0x1a7),'onClick':()=>_0x5f0427(!0x0),'children':i[_0xacc2b0(0x20a)](F,{})})]}),i[_0xacc2b0(0x20a)](f['Input'],{'type':_0xacc2b0(0x1b8),'placeholder':_0x22f77d['t'](_0xacc2b0(0xed)),'value':_0xea77a9,'disabled':_0x479ca6,'autoComplete':_0xacc2b0(0xe1),'onChange':_0x419eb0}),i['jsx']('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x22f77d['t']('mcpConfig.apiKeyHint')})]}),_0x5ef51c&&_0x135c9&&i['jsxs'](_0xacc2b0(0xa7),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[i[_0xacc2b0(0x20a)]('a',{'className':_0xacc2b0(0xee),'role':'button','onClick':()=>_0x5f0427(!0x1),'children':i[_0xacc2b0(0x20a)](B,{'className':_0xacc2b0(0x1e4)})}),i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x142),'children':[i[_0xacc2b0(0x20a)](_0xacc2b0(0xa7),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':i[_0xacc2b0(0x20a)](_0xacc2b0(0xe8),{'className':_0xacc2b0(0x184),'children':'🚀'})}),i['jsxs'](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x212),'children':[i[_0xacc2b0(0x20a)]('h4',{'className':_0xacc2b0(0x179),'children':_0x22f77d['t'](_0xacc2b0(0xdb))}),i['jsx']('p',{'className':_0xacc2b0(0x199),'children':_0x22f77d['t'](_0xacc2b0(0x126))}),i[_0xacc2b0(0x20a)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x16a),'children':_0x5e2d14&&i[_0xacc2b0(0x1fb)]('a',{'className':'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','href':_0x21adf9,'target':_0xacc2b0(0x165),'rel':_0xacc2b0(0xc7),'children':[i[_0xacc2b0(0x20a)](_0xacc2b0(0xe8),{'children':'🤖'}),_0x22f77d['t'](_0xacc2b0(0x139)),i[_0xacc2b0(0x20a)](_0xacc2b0(0xe8),{'className':_0xacc2b0(0x10e),'children':'↗'})]})}),i['jsxs']('div',{'className':_0xacc2b0(0x17c),'children':['✨','\x20',_0x22f77d['t'](_0xacc2b0(0x18d))]})]})]})]}),_0x6f1294[_0xacc2b0(0x1e8)]&&i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x20e),'children':[i[_0xacc2b0(0x1fb)]('h4',{'className':_0xacc2b0(0xce),'children':[i['jsx'](_0xacc2b0(0xe8),{'children':'🔗'}),'\x20',_0x22f77d['t']('mcpConfig.connectionInfo')]}),i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x98),'children':[i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'className':'univer-space-y-3','children':[i[_0xacc2b0(0x20a)]('p',{'className':_0xacc2b0(0xfc),'children':_0x22f77d['t']('mcpConfig.configInstructions')}),i[_0xacc2b0(0x1fb)]('div',{'className':_0xacc2b0(0xa9),'children':[i['jsx']('div',{'className':_0xacc2b0(0x1e9),'children':_0x22f77d['t'](_0xacc2b0(0x154))}),i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0xe5),'children':[i[_0xacc2b0(0x1fb)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0xacc2b0(0x20a)](_0xacc2b0(0xe8),{'className':_0xacc2b0(0x144),'children':'1'}),_0x22f77d['t'](_0xacc2b0(0x127))]}),i['jsxs'](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x1a5),'children':[i[_0xacc2b0(0x20a)](_0xacc2b0(0xe8),{'className':_0xacc2b0(0x144),'children':'2'}),_0x22f77d['t']('mcpConfig.configStep2')]}),i[_0xacc2b0(0x1fb)]('div',{'className':_0xacc2b0(0x1a5),'children':[i[_0xacc2b0(0x20a)](_0xacc2b0(0xe8),{'className':_0xacc2b0(0x144),'children':'3'}),_0x22f77d['t'](_0xacc2b0(0x1e6))]})]})]})]}),i['jsxs'](_0xacc2b0(0xa7),{'className':_0xacc2b0(0xa9),'children':[i[_0xacc2b0(0x20a)]('div',{'className':_0xacc2b0(0x1e9),'children':_0xacc2b0(0x93)}),i[_0xacc2b0(0x20a)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x16c),'children':i[_0xacc2b0(0x20a)]('pre',{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON[_0xacc2b0(0x171)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x34bcee||_0xacc2b0(0xe4)),'type':'http','headers':{'Authorization':'Bearer\x20'+(_0xea77a9||_0xacc2b0(0x11e))}}}},null,0x2)})})]}),i[_0xacc2b0(0x1fb)]('div',{'className':_0xacc2b0(0x1ee),'children':[i[_0xacc2b0(0x20a)]('div',{'className':_0xacc2b0(0x1e9),'children':_0x22f77d['t'](_0xacc2b0(0x13c))}),i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0xa9),'children':[i[_0xacc2b0(0x1fb)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i[_0xacc2b0(0x20a)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0xfb)}),i[_0xacc2b0(0x1fb)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[i['jsx'](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x1bc),'children':'univer_session_id:'}),i[_0xacc2b0(0x20a)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x22f77d['t'](_0xacc2b0(0x103))})]})]}),i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x1ea),'children':[i['jsx'](_0xacc2b0(0xa7),{'className':_0xacc2b0(0xfb)}),i['jsxs'](_0xacc2b0(0xa7),{'className':_0xacc2b0(0xc5),'children':[i[_0xacc2b0(0x20a)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x1bc),'children':_0xacc2b0(0x15c)}),i[_0xacc2b0(0x20a)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x14f),'children':_0x22f77d['t'](_0xacc2b0(0x213))})]})]})]})]})]})]}),i['jsx'](f[_0xacc2b0(0x208)],{'onClick':_0xf441b6,'disabled':!_0xc0a2a0||_0x479ca6,'className':_0xacc2b0(0x97),'children':_0x479ca6?i[_0xacc2b0(0x1fb)](_0xacc2b0(0xe8),{'className':_0xacc2b0(0x1a5),'children':[i[_0xacc2b0(0x20a)]('span',{'children':'⟲'}),_0x22f77d['t'](_0xacc2b0(0x1d0))]}):i['jsxs'](_0xacc2b0(0xe8),{'className':_0xacc2b0(0x1a5),'children':[i[_0xacc2b0(0x20a)](H,{}),_0x22f77d['t']('mcpConfig.save')]})}),i[_0xacc2b0(0x20a)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x1f4),'children':i['jsxs'](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x10a),'children':[i[_0xacc2b0(0x20a)](_0xacc2b0(0xe8),{'className':_0xacc2b0(0x1fe),'children':'💡'}),i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x99),'children':[i[_0xacc2b0(0x20a)](_0xacc2b0(0xa7),{'className':_0xacc2b0(0x12c),'children':_0xacc2b0(0x1f1)}),i[_0xacc2b0(0x1fb)]('div',{'children':['•',_0x22f77d['t'](_0xacc2b0(0x113))]}),i[_0xacc2b0(0x1fb)](_0xacc2b0(0xa7),{'children':['•',_0x22f77d['t'](_0xacc2b0(0x1be))]})]})]})})]})})]});}const P=_0x375d30(0x110),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x375d30(0x1d6)],xe=(_0x59dca9,_0x10521c,_0x33ed65,_0x3b5909)=>{const _0x342c52=_0x375d30;for(var _0x29a141=_0x3b5909>0x1?void 0x0:_0x3b5909?me(_0x10521c,_0x33ed65):_0x10521c,_0x4daca6=_0x59dca9[_0x342c52(0x196)]-0x1,_0x52b3b0;_0x4daca6>=0x0;_0x4daca6--)(_0x52b3b0=_0x59dca9[_0x4daca6])&&(_0x29a141=_0x52b3b0(_0x29a141)||_0x29a141);return _0x29a141;},g=(_0xfcba54,_0x2c11f6)=>(_0x45f165,_0xb536cd)=>_0x2c11f6(_0x45f165,_0xb536cd,_0xfcba54);const O=_0x375d30(0xff),D=_0x375d30(0x16f);exports[_0x375d30(0x16e)]=class extends u['Disposable']{constructor(_0x1bf6b6,_0x290bc0,_0x21436c,_0x5e6c18,_0x204b77,_0x471d3d,_0x43f187,_0x147dee,_0x23b518,_0x3f7b3c){const _0x1dce33=_0x375d30;super(),I(this,_0x1dce33(0x202),new M[(_0x1dce33(0xd6))](!0x1)),I(this,_0x1dce33(0x9c),new M['BehaviorSubject']({})),I(this,_0x1dce33(0xaf),new M[(_0x1dce33(0xd6))]({})),I(this,_0x1dce33(0x1ed),new M[(_0x1dce33(0xd6))]('')),I(this,'_handleConfigSave',async _0x5bda60=>{const _0x5bfda6=_0x1dce33;var _0x56c1da,_0x13f85f;this['_loading$'][_0x5bfda6(0xab)](!0x0);try{const _0x3ac97f=await this[_0x5bfda6(0x12e)](_0x5bda60);if(!_0x3ac97f[_0x5bfda6(0x1f7)]){this[_0x5bfda6(0x1c6)][_0x5bfda6(0x11b)]({'type':f[_0x5bfda6(0xa5)][_0x5bfda6(0x204)],'content':_0x3ac97f[_0x5bfda6(0x167)]||this[_0x5bfda6(0x137)]['t'](_0x5bfda6(0x129))});return;}_0x5bda60['apiKey']?await this['_localStorageService']['setItem'](O,_0x5bda60[_0x5bfda6(0xe7)][_0x5bfda6(0x214)]()):await this[_0x5bfda6(0x1d8)]['removeItem'](O),this[_0x5bfda6(0x1ed)][_0x5bfda6(0xab)](((_0x56c1da=_0x5bda60[_0x5bfda6(0xe7)])==null?void 0x0:_0x56c1da[_0x5bfda6(0x214)]())||''),this[_0x5bfda6(0x1a1)][_0x5bfda6(0x1cd)]({'Authorization':'Bearer\x20'+((_0x13f85f=_0x5bda60['apiKey'])==null?void 0x0:_0x13f85f[_0x5bfda6(0x214)]())}),this['_messageService']['show']({'type':f['MessageType']['Success'],'content':this[_0x5bfda6(0x137)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x194f2e=_0x5bfda6;this[_0x194f2e(0x185)]['close'](D);},0x320);}catch(_0x28c0ba){this[_0x5bfda6(0xf1)]['error'](_0x5bfda6(0x14c),_0x28c0ba),this['_messageService'][_0x5bfda6(0x11b)]({'type':f['MessageType']['Error'],'content':this[_0x5bfda6(0x137)]['t'](_0x5bfda6(0x1f6))});}finally{this[_0x5bfda6(0x202)][_0x5bfda6(0xab)](!0x1);}}),(this[_0x1dce33(0x1d2)]=_0x1bf6b6,this[_0x1dce33(0x195)]=_0x290bc0,this[_0x1dce33(0x1d3)]=_0x21436c,this['_localStorageService']=_0x5e6c18,this[_0x1dce33(0x185)]=_0x204b77,this[_0x1dce33(0x1c6)]=_0x471d3d,this[_0x1dce33(0x1b3)]=_0x43f187,this[_0x1dce33(0x137)]=_0x147dee,this[_0x1dce33(0xf1)]=_0x23b518,this[_0x1dce33(0x1a1)]=_0x3f7b3c,this[_0x1dce33(0x18b)](),this[_0x1dce33(0xfe)](),this[_0x1dce33(0x168)]());}[_0x375d30(0x17b)](){const _0x5b2b32=_0x375d30,_0x53309a=this['_configService'][_0x5b2b32(0x158)](P);_0x53309a!=null&&_0x53309a[_0x5b2b32(0x1e8)]&&this[_0x5b2b32(0x185)]['open']({'id':D,'title':{'title':this[_0x5b2b32(0x137)]['t'](_0x5b2b32(0x209))},'children':{'label':_0x5b2b32(0xd2)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x598c5d=_0x5b2b32;this[_0x598c5d(0x185)][_0x598c5d(0x1dc)](D);}});}[_0x375d30(0x178)](){const _0x3be264=_0x375d30;return this[_0x3be264(0x9c)][_0x3be264(0xfd)];}[_0x375d30(0x168)](){const _0x5c0120=_0x375d30;this[_0x5c0120(0xcf)](this['_componentManager'][_0x5c0120(0x10f)](_0x5c0120(0xd2),this[_0x5c0120(0x18a)]()));}[_0x375d30(0x18a)](){const _0x336797=_0x375d30;return v[_0x336797(0x1bd)](()=>{const _0x8c11cb=_0x336797;var _0x3692f8,_0x20a4b8,_0x29318c;return i['jsx'](V,{'config':this[_0x8c11cb(0xaf)][_0x8c11cb(0xfd)],'mcpCoreConfig':this[_0x8c11cb(0x9c)][_0x8c11cb(0xfd)],'currentApiKey$':this[_0x8c11cb(0x1ed)],'onSave':this[_0x8c11cb(0xde)],'loading':this[_0x8c11cb(0x202)][_0x8c11cb(0xfd)],'connectionStatus$':(_0x3692f8=this[_0x8c11cb(0x1a1)])==null?void 0x0:_0x3692f8[_0x8c11cb(0xa0)],'connectionError$':(_0x20a4b8=this[_0x8c11cb(0x1a1)])==null?void 0x0:_0x20a4b8[_0x8c11cb(0x12d)],'currentSessionId$':(_0x29318c=this[_0x8c11cb(0x1a1)])==null?void 0x0:_0x29318c['sessionId$']});},this[_0x336797(0x1d2)]);}[_0x375d30(0x18b)](){const _0x4c10aa=_0x375d30;this[_0x4c10aa(0xcf)](this[_0x4c10aa(0x1d3)][_0x4c10aa(0x151)](s[_0x4c10aa(0x1d4)])[_0x4c10aa(0x187)](_0x192a52=>{const _0x1a97e7=_0x4c10aa;this[_0x1a97e7(0x9c)][_0x1a97e7(0xab)](_0x192a52||{});}));const _0x2eac1c=this[_0x4c10aa(0x1d3)]['getConfig'](s['MCP_PLUGIN_CONFIG_KEY']);this['_mcpCoreConfig$'][_0x4c10aa(0xab)](_0x2eac1c||{}),this[_0x4c10aa(0xcf)](this[_0x4c10aa(0x1d3)]['subscribeConfigValue$'](P)[_0x4c10aa(0x187)](_0x169141=>{const _0xcd4f43=_0x4c10aa;this[_0xcd4f43(0xaf)]['next'](_0x169141||{});}));const _0x15f1c9=this[_0x4c10aa(0x1d3)][_0x4c10aa(0x158)](P);this[_0x4c10aa(0xaf)]['next'](_0x15f1c9||{});}async['_loadStoredApiKey'](){const _0x1fcfec=_0x375d30,_0xaa22d8=this[_0x1fcfec(0x1d3)]['getConfig'](P);if(!(_0xaa22d8!=null&&_0xaa22d8[_0x1fcfec(0x1e8)]))return;const _0x20daca=await this[_0x1fcfec(0x1d8)][_0x1fcfec(0x1ce)](O);_0x20daca&&(this['_mcpConnectionController'][_0x1fcfec(0x1cd)]({'Authorization':_0x1fcfec(0x163)+_0x20daca}),this[_0x1fcfec(0x1ed)][_0x1fcfec(0xab)](_0x20daca));}async[_0x375d30(0x12e)](_0x5f48ef){const _0x4a3447=_0x375d30;if(!_0x5f48ef[_0x4a3447(0xe7)]||_0x5f48ef[_0x4a3447(0xe7)][_0x4a3447(0x214)]()[_0x4a3447(0x196)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x4a3447(0x137)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x5f48ef['apiKey'][_0x4a3447(0x214)]()[_0x4a3447(0x196)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4a3447(0x137)]['t'](_0x4a3447(0xd4))};try{const _0x2e2e97=await this[_0x4a3447(0x1d2)][_0x4a3447(0x188)](s[_0x4a3447(0x150)])['validateApiKey'](_0x5f48ef['apiKey'][_0x4a3447(0x214)]());return _0x2e2e97[_0x4a3447(0x1f7)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2e2e97[_0x4a3447(0x1ef)]||this[_0x4a3447(0x137)]['t'](_0x4a3447(0x123))};}catch(_0x5d57c9){return console[_0x4a3447(0xd7)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x5d57c9),{'isValid':!0x0};}}},exports[_0x375d30(0x16e)]=xe([g(0x0,u[_0x375d30(0x9a)](u['Injector'])),g(0x1,v[_0x375d30(0x1c1)]),g(0x2,u[_0x375d30(0xcb)]),g(0x3,u['ILocalStorageService']),g(0x4,v[_0x375d30(0x140)]),g(0x5,v['IMessageService']),g(0x6,u[_0x375d30(0x9a)](v[_0x375d30(0x1aa)])),g(0x7,u[_0x375d30(0x9a)](u[_0x375d30(0x14e)])),g(0x8,u[_0x375d30(0x94)]),g(0x9,u[_0x375d30(0x9a)](s[_0x375d30(0x150)]))],exports['MCPConfigUIController']);const b={'id':'mcp-ui.command.openConfigPanel','type':u[_0x375d30(0x1d7)][_0x375d30(0x145)],'handler':async(_0x5236a9,_0x54f724)=>(_0x5236a9[_0x375d30(0x188)](exports[_0x375d30(0x16e)])[_0x375d30(0x17b)](),!0x0)};function Z(_0x343498,_0x1629a2){const _0x15bbe6=_0x375d30;switch(_0x343498){case s[_0x15bbe6(0x1ff)][_0x15bbe6(0xdc)]:return _0x15bbe6(0x13d);case s[_0x15bbe6(0x1ff)]['CONNECTING']:return'mcpStatus.connecting';case s[_0x15bbe6(0x1ff)][_0x15bbe6(0x1d5)]:return _0x15bbe6(0x10c);case s[_0x15bbe6(0x1ff)][_0x15bbe6(0xb9)]:switch(_0x1629a2){case s[_0x15bbe6(0x12b)][_0x15bbe6(0x15a)]:return _0x15bbe6(0x210);case s[_0x15bbe6(0x12b)][_0x15bbe6(0xe2)]:return'mcpStatus.sessionOccupied';case s[_0x15bbe6(0x12b)]['NETWORK_ERROR']:return'mcpStatus.networkError';case s[_0x15bbe6(0x12b)][_0x15bbe6(0x1af)]:return'mcpStatus.maxRetriesExceeded';default:return _0x15bbe6(0x17f);}case s['MCPConnectionStatus'][_0x15bbe6(0x147)]:return _0x15bbe6(0x125);default:return _0x15bbe6(0xb1);}}function Se(_0x5afd6e,_0xbe1103,_0x5e97d3,_0x17c631=!0x0){const _0x764cb=_0x375d30,_0x2513a0=Z(_0x5afd6e,_0xbe1103),_0x56e11b=_0x5e97d3['t'](_0x2513a0);return _0x17c631?_0x5afd6e===s[_0x764cb(0x1ff)][_0x764cb(0xdc)]&&_0xbe1103===s['MCPConnectionError'][_0x764cb(0x15a)]?_0x56e11b+_0x764cb(0x119)+_0x5e97d3['t'](_0x764cb(0x1a8)):_0x5afd6e===s[_0x764cb(0x1ff)][_0x764cb(0x1d5)]?''+_0x56e11b:_0x5afd6e===s[_0x764cb(0x1ff)][_0x764cb(0xdc)]||_0x5afd6e===s[_0x764cb(0x1ff)][_0x764cb(0xb9)]?_0x56e11b+'\x20-\x20'+_0x5e97d3['t'](_0x764cb(0x15b)):_0x56e11b:_0x56e11b;}function Pe(_0x10d17e){const _0x5e69c4=_0x375d30;switch(_0x10d17e){case s['MCPConnectionStatus'][_0x5e69c4(0x1d5)]:return _0x5e69c4(0x1a3);case s[_0x5e69c4(0x1ff)][_0x5e69c4(0x192)]:case s[_0x5e69c4(0x1ff)][_0x5e69c4(0x147)]:return'univer-text-yellow-500';case s['MCPConnectionStatus']['FAILED']:case s[_0x5e69c4(0x1ff)][_0x5e69c4(0xdc)]:return'univer-text-red-500';default:return _0x5e69c4(0x215);}}function W(_0x25aba7){const _0x180e6b=_0x375d30,{status$:_0x443aad,error$:_0x33b29b,onConfigure:_0x333575,showClickable:_0x45cbf6=!0x0}=_0x25aba7,_0x421916=v['useObservable'](_0x443aad,s[_0x180e6b(0x1ff)]['DISCONNECTED']),_0x2f46be=v[_0x180e6b(0x198)](_0x33b29b,s[_0x180e6b(0x12b)]['NONE']),_0xb6f6f3=v['useDependency'](u[_0x180e6b(0x14e)]),_0x225c27=_0x421916===s[_0x180e6b(0x1ff)][_0x180e6b(0x1d5)];_0x421916===s[_0x180e6b(0x1ff)][_0x180e6b(0x192)]||s['MCPConnectionStatus'][_0x180e6b(0x147)];const _0x30ed4f=_0xb6f6f3['t'](Z(_0x421916,_0x2f46be)),_0x54b55=Se(_0x421916,_0x2f46be,_0xb6f6f3,_0x45cbf6),_0x205ccb=Pe(_0x421916),_0x4c0f92=_0x225c27?i[_0x180e6b(0x20a)](q,{}):i[_0x180e6b(0x20a)](Y,{}),_0x47847d=d[_0x180e6b(0x148)](()=>{_0x45cbf6&&_0x333575&&_0x333575();},[_0x45cbf6,_0x333575]);function _0x172282(){const _0x1b1cfb=_0x180e6b;return i['jsxs'](_0x1b1cfb(0xa7),{'className':f[_0x1b1cfb(0x203)]('univer-flex\x20univer-items-center',_0x45cbf6&&_0x333575&&_0x1b1cfb(0x18e)),'role':_0x1b1cfb(0x1a7),'onClick':_0x45cbf6&&_0x333575?_0x47847d:void 0x0,'children':[i[_0x1b1cfb(0x20a)](_0x1b1cfb(0xa7),{'className':f['clsx'](_0x1b1cfb(0x1ae),_0x205ccb),'children':_0x4c0f92}),i[_0x1b1cfb(0x20a)](_0x1b1cfb(0xa7),{'className':_0x1b1cfb(0xa2),'children':_0x30ed4f})]});}return i[_0x180e6b(0x20a)](f[_0x180e6b(0xc6)],{'title':_0x54b55,'placement':'bottom','children':_0x172282()});}var Ie=Object[_0x375d30(0x1d6)],_e=(_0x16338d,_0x49883f,_0x22761a,_0x13cadd)=>{const _0x576121=_0x375d30;for(var _0x1e2aaf=_0x13cadd>0x1?void 0x0:_0x13cadd?Ie(_0x49883f,_0x22761a):_0x49883f,_0x5a9155=_0x16338d[_0x576121(0x196)]-0x1,_0x4ebce3;_0x5a9155>=0x0;_0x5a9155--)(_0x4ebce3=_0x16338d[_0x5a9155])&&(_0x1e2aaf=_0x4ebce3(_0x1e2aaf)||_0x1e2aaf);return _0x1e2aaf;},N=(_0x768cd,_0x47fd21)=>(_0x535825,_0x5143e3)=>_0x47fd21(_0x535825,_0x5143e3,_0x768cd);exports[_0x375d30(0xb2)]=class extends u[_0x375d30(0x13e)]{constructor(_0x404bb3,_0x2418bf,_0x2ab467,_0x10597c){const _0x1b84de=_0x375d30;super(),this['_injector']=_0x404bb3,this['_connectionController']=_0x2418bf,this[_0x1b84de(0x195)]=_0x2ab467,this[_0x1b84de(0x1d3)]=_0x10597c,this[_0x1b84de(0xef)](),this[_0x1b84de(0x1e7)]();}[_0x375d30(0xef)](){const _0x3fcb3a=_0x375d30,_0x1c021e=this[_0x3fcb3a(0x1d3)][_0x3fcb3a(0x158)](P);_0x1c021e!=null&&_0x1c021e[_0x3fcb3a(0x1e8)]&&(this['_connectionController']['enableAutoConnect']=!0x1);}[_0x375d30(0x1e7)](){const _0x4b32ba=_0x375d30,_0xd54788=this['_configService'][_0x4b32ba(0x158)](P);(_0xd54788==null?void 0x0:_0xd54788[_0x4b32ba(0xb0)])!==!0x1&&this[_0x4b32ba(0xcf)](this['_uiPartsService'][_0x4b32ba(0x10b)](v[_0x4b32ba(0x1b7)][_0x4b32ba(0x181)],()=>{const _0x1397aa=_0x4b32ba;var _0x12d872;return v['connectInjector'](ye({'status$':this[_0x1397aa(0x12f)][_0x1397aa(0xa0)],'error$':this[_0x1397aa(0x12f)][_0x1397aa(0x12d)],'onConfigure':()=>this[_0x1397aa(0xc1)](),'showClickable':(_0x12d872=_0xd54788==null?void 0x0:_0xd54788[_0x1397aa(0x1e8)])!=null?_0x12d872:!0x1}),this[_0x1397aa(0x1d2)]);}));}[_0x375d30(0xc1)](){const _0x233daf=_0x375d30;this[_0x233daf(0x1d2)][_0x233daf(0x188)](exports[_0x233daf(0x16e)])[_0x233daf(0x17b)]();}},exports['MCPConnectionUIController']=_e([N(0x0,u[_0x375d30(0x9a)](u[_0x375d30(0x19c)])),N(0x1,u['Inject'](s[_0x375d30(0x150)])),N(0x2,v[_0x375d30(0x1c1)]),N(0x3,u[_0x375d30(0xcb)])],exports[_0x375d30(0xb2)]);function ye(_0x3b2d58){const {status$:_0x5735b4,error$:_0x3a1624,onConfigure:_0x83ba49,showClickable:_0x4c470c}=_0x3b2d58;return function(){return i['jsx'](W,{'status$':_0x5735b4,'error$':_0x3a1624,'onConfigure':_0x83ba49,'showClickable':_0x4c470c});};}function Me(_0x25009d){const _0x32db85=_0x375d30;return{'id':b['id'],'type':v[_0x32db85(0x132)][_0x32db85(0x193)],'icon':_0x32db85(0x1ec),'title':_0x32db85(0x209),'tooltip':_0x32db85(0x209)};}const Ne={[v[_0x375d30(0x1df)]['OTHERS']]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0x375d30(0x1d6)],je=(_0x3b6696,_0x545dfd,_0x456ae3,_0xe65251)=>{const _0x219884=_0x375d30;for(var _0x4eca58=_0xe65251>0x1?void 0x0:_0xe65251?be(_0x545dfd,_0x456ae3):_0x545dfd,_0x14448e=_0x3b6696[_0x219884(0x196)]-0x1,_0x25fff3;_0x14448e>=0x0;_0x14448e--)(_0x25fff3=_0x3b6696[_0x14448e])&&(_0x4eca58=_0x25fff3(_0x4eca58)||_0x4eca58);return _0x4eca58;},z=(_0x429a8d,_0x293b40)=>(_0x5ad30b,_0x53e3d9)=>_0x293b40(_0x5ad30b,_0x53e3d9,_0x429a8d);exports[_0x375d30(0x11a)]=class extends u[_0x375d30(0x13e)]{constructor(_0x45cf93,_0x37358d){const _0x581c43=_0x375d30;super(),this[_0x581c43(0x1fd)]=_0x45cf93,this['_menuManagerService']=_0x37358d,this[_0x581c43(0x172)](),this[_0x581c43(0x197)]();}['_initializeCommands'](){[b]['forEach'](_0x19ee01=>{const _0x393d06=_0x5121;this[_0x393d06(0xcf)](this[_0x393d06(0x1fd)][_0x393d06(0x1e1)](_0x19ee01));});}['_initializeMenus'](){const _0x21bd2f=_0x375d30;this[_0x21bd2f(0xbe)][_0x21bd2f(0xe3)](Ne);}},exports['MCPUIMenuController']=je([z(0x0,u[_0x375d30(0x1da)]),z(0x1,v[_0x375d30(0xbc)])],exports[_0x375d30(0x11a)]);const Ee={'mcpStatus':{'disconnected':_0x375d30(0x155),'connecting':_0x375d30(0x1cb),'connected':_0x375d30(0x18c),'failed':_0x375d30(0x164),'retrying':'MCP\x20Retrying...','unknown':_0x375d30(0xe6),'unauthorized':_0x375d30(0x121),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x375d30(0x146),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x375d30(0xf3)},'mcpConfig':{'title':_0x375d30(0x93),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x375d30(0x183),'apiKeyPlaceholder':_0x375d30(0x1ab),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x375d30(0xd1),'enableAuthHint':_0x375d30(0xc3),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x375d30(0x1c9),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x375d30(0x14a),'configStep1':_0x375d30(0x130),'configStep2':_0x375d30(0xeb),'configStep3':_0x375d30(0x133),'sessionId':_0x375d30(0x1f9),'sessionIdDescription':_0x375d30(0xf7),'authorizationDescription':_0x375d30(0xd3),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x375d30(0xbf),'save':_0x375d30(0x207),'saving':_0x375d30(0xae),'note1':_0x375d30(0x175),'note2':_0x375d30(0x19f),'configSaved':_0x375d30(0x1f3),'configError':_0x375d30(0x1e3),'apiApplyInfo':{'title':_0x375d30(0x1ac),'description':_0x375d30(0x138),'univerAiLabel':_0x375d30(0x1f2),'getStarted':_0x375d30(0x1fa)},'validation':{'apiKeyRequired':_0x375d30(0xb8),'apiKeyTooShort':_0x375d30(0x1c7),'invalidConfig':_0x375d30(0x201),'invalidApiKey':_0x375d30(0x19a)},'connectionStatus':{'disconnected':_0x375d30(0x20d),'connecting':_0x375d30(0x124),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x375d30(0x9e)},'connectionError':{'unauthorized':_0x375d30(0x1c3),'sessionOccupied':_0x375d30(0xe9),'networkError':_0x375d30(0x15d),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},we={'mcpStatus':{'disconnected':_0x375d30(0x20c),'connecting':_0x375d30(0x174),'connected':'MCP\x20已连接','failed':_0x375d30(0x194),'retrying':_0x375d30(0x161),'unknown':_0x375d30(0x117),'unauthorized':_0x375d30(0x182),'sessionOccupied':_0x375d30(0x149),'networkError':_0x375d30(0x9d),'maxRetriesExceeded':_0x375d30(0xc4),'clickToConnect':_0x375d30(0x1b6),'clickToConfigure':_0x375d30(0xca)},'mcpConfig':{'title':_0x375d30(0xa8),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x375d30(0x1f8),'apiKeyPlaceholder':_0x375d30(0xd9),'apiKeyHint':_0x375d30(0x116),'enableAuth':_0x375d30(0xcc),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x375d30(0x170),'configInstructions':_0x375d30(0x1b4),'configStepTitle':_0x375d30(0x1de),'configStep1':_0x375d30(0x153),'configStep2':_0x375d30(0x1b2),'configStep3':_0x375d30(0x162),'sessionId':_0x375d30(0x108),'sessionIdDescription':_0x375d30(0xdd),'authorizationDescription':_0x375d30(0x1bf),'configParameters':_0x375d30(0xb3),'maxRetries':_0x375d30(0x1b1),'save':_0x375d30(0x186),'saving':_0x375d30(0x106),'note1':_0x375d30(0x1e0),'note2':_0x375d30(0x17a),'configSaved':_0x375d30(0x160),'configError':_0x375d30(0x1a6),'apiApplyInfo':{'title':_0x375d30(0x17d),'description':_0x375d30(0x118),'univerAiLabel':_0x375d30(0xea),'getStarted':_0x375d30(0x12a)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x375d30(0x166),'invalidApiKey':_0x375d30(0xd5)},'connectionStatus':{'disconnected':'未连接','connecting':_0x375d30(0x15e),'connected':_0x375d30(0xfa),'failed':_0x375d30(0x20b),'retrying':_0x375d30(0x1ca)},'connectionError':{'unauthorized':_0x375d30(0x1cf),'sessionOccupied':_0x375d30(0x190),'networkError':_0x375d30(0x1db),'maxRetriesExceeded':_0x375d30(0x157)}}};var Ae=Object[_0x375d30(0x1c5)],Oe=Object['getOwnPropertyDescriptor'],De=(_0x1e040f,_0x464893,_0x10a25e)=>_0x464893 in _0x1e040f?Ae(_0x1e040f,_0x464893,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10a25e}):_0x1e040f[_0x464893]=_0x10a25e,Ue=(_0x2c36ba,_0x32eb05,_0xb381ce,_0x109394)=>{const _0x4021ed=_0x375d30;for(var _0x57b319=_0x109394>0x1?void 0x0:_0x109394?Oe(_0x32eb05,_0xb381ce):_0x32eb05,_0x20138e=_0x2c36ba[_0x4021ed(0x196)]-0x1,_0x54d1e1;_0x20138e>=0x0;_0x20138e--)(_0x54d1e1=_0x2c36ba[_0x20138e])&&(_0x57b319=_0x54d1e1(_0x57b319)||_0x57b319);return _0x57b319;},y=(_0x4949d9,_0x11ce5c)=>(_0x50c1d3,_0x322319)=>_0x11ce5c(_0x50c1d3,_0x322319,_0x4949d9),$e=(_0x4f9cfe,_0x5b62b3,_0x3c36f4)=>De(_0x4f9cfe,_0x5b62b3+'',_0x3c36f4);exports[_0x375d30(0x211)]=class extends u[_0x375d30(0x107)]{constructor(_0x3d0b9c=L,_0xb852c5,_0x31af91,_0x3624df,_0xf4ce2a,_0x4bae91){const _0x53846b=_0x375d30;super(),this['_config']=_0x3d0b9c,this['_injector']=_0xb852c5,this[_0x53846b(0x1d3)]=_0x31af91,this['_uiPartsService']=_0x3624df,this['_localStorageService']=_0xf4ce2a,this[_0x53846b(0x137)]=_0x4bae91;const {..._0xebfda3}=u['merge']({},L,this[_0x53846b(0xbd)]);this[_0x53846b(0x1d3)]['setConfig'](P,_0xebfda3);}async['onStarting'](){const _0x154d12=_0x375d30,_0x211b12=[[exports[_0x154d12(0xb2)]],[exports['MCPConfigUIController']],[exports[_0x154d12(0x11a)]]];this['_injector']['has'](A['ISocketService'])||_0x211b12[_0x154d12(0x206)]([A[_0x154d12(0xb6)],{'useClass':A['WebSocketService']}]),_0x211b12[_0x154d12(0x122)](_0x3aba32=>this['_injector']['add'](_0x3aba32)),this[_0x154d12(0x1d2)]['get'](exports[_0x154d12(0xb2)]),this[_0x154d12(0x1d2)][_0x154d12(0x188)](exports[_0x154d12(0x16e)]),this[_0x154d12(0x1d2)]['get'](exports[_0x154d12(0x11a)]);}},$e(exports[_0x375d30(0x211)],'pluginName',_0x375d30(0x131)),exports['UniverMCPUIPlugin']=Ue([u[_0x375d30(0x1b9)](s['UniverMCPPlugin']),y(0x1,u[_0x375d30(0x9a)](u['Injector'])),y(0x2,u[_0x375d30(0xcb)]),y(0x3,v['IUIPartsService']),y(0x4,u['ILocalStorageService']),y(0x5,u[_0x375d30(0x9a)](u[_0x375d30(0x14e)]))],exports['UniverMCPUIPlugin']),exports[_0x375d30(0xd2)]=V,exports[_0x375d30(0x128)]=W,exports['OpenMCPConfigPanelCommand']=b,exports[_0x375d30(0xac)]=Ee,exports[_0x375d30(0x1dd)]=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 _0x104f58=_0x5b84;(function(_0x31c5f2,_0x4aba6b){const _0x1deae8=_0x5b84,_0x280795=_0x31c5f2();while(!![]){try{const _0xf7ed55=parseInt(_0x1deae8(0x196))/0x1*(parseInt(_0x1deae8(0x1b9))/0x2)+parseInt(_0x1deae8(0x195))/0x3+-parseInt(_0x1deae8(0x197))/0x4*(-parseInt(_0x1deae8(0x1a9))/0x5)+parseInt(_0x1deae8(0x1bb))/0x6+-parseInt(_0x1deae8(0x19a))/0x7*(-parseInt(_0x1deae8(0x192))/0x8)+-parseInt(_0x1deae8(0x1b7))/0x9*(parseInt(_0x1deae8(0x1bc))/0xa)+-parseInt(_0x1deae8(0x1b0))/0xb*(parseInt(_0x1deae8(0x194))/0xc);if(_0xf7ed55===_0x4aba6b)break;else _0x280795['push'](_0x280795['shift']());}catch(_0x9a2562){_0x280795['push'](_0x280795['shift']());}}}(_0x1e11,0xba7b7));function _0x5b84(_0x40c6b8,_0x532f0f){_0x40c6b8=_0x40c6b8-0x191;const _0x1e1136=_0x1e11();let _0x5b8401=_0x1e1136[_0x40c6b8];return _0x5b8401;}function _0x1e11(){const _0x1c522f=['Disconnected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connecting...','Session\x20ID','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','5SLHiZV','MCP\x20Client\x20Configuration','Enable\x20Authentication','API\x20Key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Failed\x20to\x20save\x20configuration','1298NHEgHx','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Retrying...','MCP\x20Connected','Click\x20to\x20configure\x20MCP','Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','2232zaakvJ','exports','2379838CqyHPM','MCP:\x20Session\x20ID\x20Occupied','6668466eiRWoi','11430ibbAEl','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Disconnected','Connected','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','MCP\x20Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','Save\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Click\x20to\x20connect\x20MCP','MCP:\x20Network\x20Error','280PLInDz','MCP:\x20Unauthorized','347340ZOdpSW','4169109kHOJAf','1MuCkBr','2420828woysob','Enter\x20your\x20API\x20key','Enable\x20authentication\x20for\x20secure\x20connections','33313QLcNdu','MCP\x20Configuration','Univer\x20AI\x20Console','Invalid\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20Steps:','Connection\x20Failed','Configuration\x20Parameters:'];_0x1e11=function(){return _0x1c522f;};return _0x1e11();}const e={'mcpStatus':{'disconnected':_0x104f58(0x1be),'connecting':_0x104f58(0x1a4),'connected':_0x104f58(0x1b3),'failed':_0x104f58(0x1c2),'retrying':_0x104f58(0x1b2),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x104f58(0x193),'sessionOccupied':_0x104f58(0x1ba),'networkError':_0x104f58(0x191),'maxRetriesExceeded':_0x104f58(0x1bd),'clickToConnect':_0x104f58(0x1c6),'clickToConfigure':_0x104f58(0x1b4)},'mcpConfig':{'title':_0x104f58(0x19b),'description':_0x104f58(0x1b1),'apiKey':_0x104f58(0x1ac),'apiKeyPlaceholder':_0x104f58(0x198),'apiKeyHint':_0x104f58(0x1a3),'enableAuth':_0x104f58(0x1ab),'enableAuthHint':_0x104f58(0x199),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x104f58(0x1aa),'configInstructions':_0x104f58(0x1a7),'configStepTitle':_0x104f58(0x19f),'configStep1':_0x104f58(0x1b6),'configStep2':_0x104f58(0x1c1),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x104f58(0x1a5),'sessionIdDescription':_0x104f58(0x1c0),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x104f58(0x1a1),'maxRetries':'Max\x20Retries','save':_0x104f58(0x1c4),'saving':_0x104f58(0x1a6),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x104f58(0x1ae),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x104f58(0x1af),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x104f58(0x1ad),'univerAiLabel':_0x104f58(0x19c),'getStarted':_0x104f58(0x1c3)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x104f58(0x19d),'invalidApiKey':_0x104f58(0x1c5)},'connectionStatus':{'disconnected':_0x104f58(0x1a2),'connecting':_0x104f58(0x1b5),'connected':_0x104f58(0x1bf),'failed':_0x104f58(0x1a0),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x104f58(0x1a8),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x104f58(0x19e)}}},n=e;module[_0x104f58(0x1b8)]=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 _0x2d82ee=_0x2d4a;function _0x1ffb(){const _0x35656b=['Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Retrying...','MCP:\x20Session\x20ID\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','1385574YdESyV','4gdbcDT','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','507219VUkFOJ','MCP:\x20Unauthorized','API\x20Key','API\x20key\x20is\x20required','Connecting...','829055ZhWiaA','Enable\x20authentication\x20for\x20secure\x20connections','Enter\x20your\x20API\x20key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session\x20ID','Click\x20to\x20configure\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','2637iuvbuh','Max\x20Retries','344544AGkGTA','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Univer\x20AI\x20Console','Retrying...','MCP\x20Unknown\x20Status','MCP\x20Client\x20Configuration','MCP\x20Connection\x20Failed','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Parameters:','Copy\x20the\x20JSON\x20configuration\x20below','4100QaQlmM','Connected','API\x20key\x20with\x20Bearer\x20prefix.','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.','Saving...','75944BdTcWX','exports','Configuration\x20Steps:','153721UwLzCZ','7lpxgWQ','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.'];_0x1ffb=function(){return _0x35656b;};return _0x1ffb();}function _0x2d4a(_0x57c189,_0x5b0e6a){_0x57c189=_0x57c189-0x136;const _0x1ffbf8=_0x1ffb();let _0x2d4ae6=_0x1ffbf8[_0x57c189];return _0x2d4ae6;}(function(_0x5aba3e,_0x2b48aa){const _0x3b770a=_0x2d4a,_0x1bc2ed=_0x5aba3e();while(!![]){try{const _0x5aaa6d=-parseInt(_0x3b770a(0x151))/0x1+parseInt(_0x3b770a(0x13e))/0x2+-parseInt(_0x3b770a(0x160))/0x3+-parseInt(_0x3b770a(0x159))/0x4*(-parseInt(_0x3b770a(0x165))/0x5)+-parseInt(_0x3b770a(0x158))/0x6*(-parseInt(_0x3b770a(0x152))/0x7)+-parseInt(_0x3b770a(0x14e))/0x8+parseInt(_0x3b770a(0x13c))/0x9*(-parseInt(_0x3b770a(0x148))/0xa);if(_0x5aaa6d===_0x2b48aa)break;else _0x1bc2ed['push'](_0x1bc2ed['shift']());}catch(_0x1410be){_0x1bc2ed['push'](_0x1bc2ed['shift']());}}}(_0x1ffb,0x1c773));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x2d82ee(0x144),'retrying':_0x2d82ee(0x155),'unknown':_0x2d82ee(0x142),'unauthorized':_0x2d82ee(0x161),'sessionOccupied':_0x2d82ee(0x156),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x2d82ee(0x13a)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2d82ee(0x138),'apiKey':_0x2d82ee(0x162),'apiKeyPlaceholder':_0x2d82ee(0x136),'apiKeyHint':_0x2d82ee(0x13f),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2d82ee(0x166),'connectionInfo':_0x2d82ee(0x143),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x2d82ee(0x137),'configStepTitle':_0x2d82ee(0x150),'configStep1':_0x2d82ee(0x147),'configStep2':_0x2d82ee(0x145),'configStep3':_0x2d82ee(0x15c),'sessionId':_0x2d82ee(0x139),'sessionIdDescription':_0x2d82ee(0x153),'authorizationDescription':_0x2d82ee(0x14a),'configParameters':_0x2d82ee(0x146),'maxRetries':_0x2d82ee(0x13d),'save':_0x2d82ee(0x15d),'saving':_0x2d82ee(0x14d),'note1':_0x2d82ee(0x15e),'note2':_0x2d82ee(0x15a),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2d82ee(0x14c),'univerAiLabel':_0x2d82ee(0x140),'getStarted':_0x2d82ee(0x157)},'validation':{'apiKeyRequired':_0x2d82ee(0x163),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2d82ee(0x15b),'invalidApiKey':_0x2d82ee(0x13b)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2d82ee(0x164),'connected':_0x2d82ee(0x149),'failed':'Connection\x20Failed','retrying':_0x2d82ee(0x141)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x2d82ee(0x154),'networkError':_0x2d82ee(0x15f),'maxRetriesExceeded':_0x2d82ee(0x14b)}}};module[_0x2d82ee(0x14f)]=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';function _0x57a8(_0x189a8a,_0x23a623){_0x189a8a=_0x189a8a-0x136;const _0x2b8d40=_0x2b8d();let _0x57a877=_0x2b8d40[_0x189a8a];return _0x57a877;}const _0x5810a=_0x57a8;(function(_0x376b96,_0x882a43){const _0x20e853=_0x57a8,_0x1dea3b=_0x376b96();while(!![]){try{const _0x19241d=parseInt(_0x20e853(0x163))/0x1+-parseInt(_0x20e853(0x161))/0x2+parseInt(_0x20e853(0x13b))/0x3+-parseInt(_0x20e853(0x15a))/0x4*(-parseInt(_0x20e853(0x143))/0x5)+-parseInt(_0x20e853(0x149))/0x6*(parseInt(_0x20e853(0x157))/0x7)+-parseInt(_0x20e853(0x14a))/0x8*(-parseInt(_0x20e853(0x13d))/0x9)+parseInt(_0x20e853(0x142))/0xa*(-parseInt(_0x20e853(0x14f))/0xb);if(_0x19241d===_0x882a43)break;else _0x1dea3b['push'](_0x1dea3b['shift']());}catch(_0x17ca34){_0x1dea3b['push'](_0x1dea3b['shift']());}}}(_0x2b8d,0x5cfea));const e={'mcpStatus':{'disconnected':_0x5810a(0x155),'connecting':'MCP\x20Connecting...','connected':_0x5810a(0x13a),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5810a(0x167),'unknown':_0x5810a(0x164),'unauthorized':_0x5810a(0x140),'sessionOccupied':_0x5810a(0x166),'networkError':_0x5810a(0x160),'maxRetriesExceeded':_0x5810a(0x145),'clickToConnect':_0x5810a(0x147),'clickToConfigure':_0x5810a(0x165)},'mcpConfig':{'title':_0x5810a(0x16b),'description':_0x5810a(0x15c),'apiKey':_0x5810a(0x152),'apiKeyPlaceholder':_0x5810a(0x16a),'apiKeyHint':_0x5810a(0x151),'enableAuth':_0x5810a(0x14b),'enableAuthHint':_0x5810a(0x156),'connectionInfo':_0x5810a(0x168),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x5810a(0x14d),'configStepTitle':_0x5810a(0x141),'configStep1':_0x5810a(0x13c),'configStep2':_0x5810a(0x150),'configStep3':_0x5810a(0x15e),'sessionId':_0x5810a(0x169),'sessionIdDescription':_0x5810a(0x146),'authorizationDescription':_0x5810a(0x14c),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x5810a(0x154),'save':_0x5810a(0x153),'saving':_0x5810a(0x15b),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x5810a(0x148),'configError':_0x5810a(0x13e),'apiApplyInfo':{'title':_0x5810a(0x137),'description':_0x5810a(0x159),'univerAiLabel':_0x5810a(0x144),'getStarted':_0x5810a(0x138)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5810a(0x136),'invalidConfig':_0x5810a(0x13f),'invalidApiKey':_0x5810a(0x14e)},'connectionStatus':{'disconnected':_0x5810a(0x139),'connecting':'Connecting...','connected':'Connected','failed':_0x5810a(0x158),'retrying':_0x5810a(0x15f)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x5810a(0x162),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x5810a(0x15d)]=n;function _0x2b8d(){const _0x106961=['MCP\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds','Disconnected','MCP\x20Connected','234924RoCAAy','Copy\x20the\x20JSON\x20configuration\x20below','6543QXmKWp','Failed\x20to\x20save\x20configuration','Invalid\x20configuration','MCP:\x20Unauthorized','Configuration\x20Steps:','1550scXBVK','19825EqHlKx','Univer\x20AI\x20Console','MCP:\x20Max\x20Retries\x20Exceeded','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Click\x20to\x20connect\x20MCP','Configuration\x20saved\x20successfully','18FvYSxq','4384PVWXCc','Enable\x20Authentication','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','80872cqzPLU','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key','Save\x20Configuration','Max\x20Retries','MCP\x20Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','30940YsJHXz','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.','720upVveN','Saving...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','exports','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Retrying...','MCP:\x20Network\x20Error','219662zIIZpa','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','453153UKmyJf','MCP\x20Unknown\x20Status','Click\x20to\x20configure\x20MCP','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Retrying...','MCP\x20Client\x20Configuration','Session\x20ID','Enter\x20your\x20API\x20key'];_0x2b8d=function(){return _0x106961;};return _0x2b8d();}
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 _0x599b38=_0x260c;(function(_0x56bacf,_0x96cc65){const _0x30b431=_0x260c,_0x5c6c0c=_0x56bacf();while(!![]){try{const _0xfaa5cb=parseInt(_0x30b431(0x1df))/0x1*(-parseInt(_0x30b431(0x1ce))/0x2)+-parseInt(_0x30b431(0x1c7))/0x3*(-parseInt(_0x30b431(0x1f1))/0x4)+parseInt(_0x30b431(0x1c1))/0x5+parseInt(_0x30b431(0x1d3))/0x6+parseInt(_0x30b431(0x1f0))/0x7*(-parseInt(_0x30b431(0x1d9))/0x8)+parseInt(_0x30b431(0x1e7))/0x9*(-parseInt(_0x30b431(0x1ca))/0xa)+-parseInt(_0x30b431(0x1db))/0xb;if(_0xfaa5cb===_0x96cc65)break;else _0x5c6c0c['push'](_0x5c6c0c['shift']());}catch(_0xda4687){_0x5c6c0c['push'](_0x5c6c0c['shift']());}}}(_0x2279,0x42151));function _0x260c(_0x31e304,_0x5db209){_0x31e304=_0x31e304-0x1bf;const _0x2279e1=_0x2279();let _0x260c5a=_0x2279e1[_0x31e304];return _0x260c5a;}const e={'mcpStatus':{'disconnected':_0x599b38(0x1c0),'connecting':_0x599b38(0x1d6),'connected':_0x599b38(0x1c3),'failed':_0x599b38(0x1cd),'retrying':_0x599b38(0x1cb),'unknown':_0x599b38(0x1c6),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x599b38(0x1e4),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x599b38(0x1d5),'clickToConnect':_0x599b38(0x1d0),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x599b38(0x1e0),'description':_0x599b38(0x1cc),'apiKey':_0x599b38(0x1e2),'apiKeyPlaceholder':_0x599b38(0x1dd),'apiKeyHint':_0x599b38(0x1e9),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x599b38(0x1c4),'connectionInfo':_0x599b38(0x1d2),'mcpClientConfig':_0x599b38(0x1d2),'configInstructions':_0x599b38(0x1ea),'configStepTitle':_0x599b38(0x1bf),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x599b38(0x1c8),'sessionId':_0x599b38(0x1e8),'sessionIdDescription':_0x599b38(0x1ec),'authorizationDescription':_0x599b38(0x1c9),'configParameters':_0x599b38(0x1e1),'maxRetries':_0x599b38(0x1f2),'save':_0x599b38(0x1cf),'saving':_0x599b38(0x1d7),'note1':_0x599b38(0x1ed),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x599b38(0x1e3),'apiApplyInfo':{'title':_0x599b38(0x1eb),'description':_0x599b38(0x1da),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x599b38(0x1e5)},'validation':{'apiKeyRequired':_0x599b38(0x1dc),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x599b38(0x1c2),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x599b38(0x1d4),'connected':_0x599b38(0x1ef),'failed':_0x599b38(0x1d8),'retrying':_0x599b38(0x1e6)},'connectionError':{'unauthorized':_0x599b38(0x1de),'sessionOccupied':_0x599b38(0x1c5),'networkError':_0x599b38(0x1d1),'maxRetriesExceeded':_0x599b38(0x1ee)}}},n=e;function _0x2279(){const _0x2cb30f=['Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connected','108535QVfKcw','4PjabaU','Max\x20Retries','Configuration\x20Steps:','MCP\x20Disconnected','2478480SYEykp','Invalid\x20configuration','MCP\x20Connected','Enable\x20authentication\x20for\x20secure\x20connections','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','1350477oJLAvP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','10jCJlYB','MCP\x20Retrying...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connection\x20Failed','5434HPPerH','Save\x20Configuration','Click\x20to\x20connect\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Client\x20Configuration','1655730SyydeJ','Connecting...','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connecting...','Saving...','Connection\x20Failed','184btBwFm','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','2197701RRhAII','API\x20key\x20is\x20required','Enter\x20your\x20API\x20key','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','49sqAYKf','MCP\x20Configuration','Configuration\x20Parameters:','API\x20Key','Failed\x20to\x20save\x20configuration','MCP:\x20Session\x20ID\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','Retrying...','2354382EOJedi','Session\x20ID','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','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.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x2279=function(){return _0x2cb30f;};return _0x2279();}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';const _0x104c93=_0x5df1;(function(_0x14a6e5,_0x39962a){const _0x5bb824=_0x5df1,_0x247212=_0x14a6e5();while(!![]){try{const _0x55eb23=parseInt(_0x5bb824(0x13d))/0x1+-parseInt(_0x5bb824(0x14e))/0x2+-parseInt(_0x5bb824(0x153))/0x3+-parseInt(_0x5bb824(0x162))/0x4+parseInt(_0x5bb824(0x141))/0x5+-parseInt(_0x5bb824(0x152))/0x6+parseInt(_0x5bb824(0x148))/0x7*(parseInt(_0x5bb824(0x15d))/0x8);if(_0x55eb23===_0x39962a)break;else _0x247212['push'](_0x247212['shift']());}catch(_0x347370){_0x247212['push'](_0x247212['shift']());}}}(_0xfde7,0x30151));function _0x5df1(_0x24df05,_0x3e1d0e){_0x24df05=_0x24df05-0x135;const _0xfde715=_0xfde7();let _0x5df15b=_0xfde715[_0x24df05];return _0x5df15b;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x104c93(0x157),'connected':_0x104c93(0x149),'failed':_0x104c93(0x15a),'retrying':_0x104c93(0x163),'unknown':_0x104c93(0x13a),'unauthorized':_0x104c93(0x164),'sessionOccupied':_0x104c93(0x15c),'networkError':_0x104c93(0x13b),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x104c93(0x13c),'clickToConfigure':_0x104c93(0x142)},'mcpConfig':{'title':_0x104c93(0x144),'description':_0x104c93(0x146),'apiKey':_0x104c93(0x161),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x104c93(0x145),'connectionInfo':_0x104c93(0x147),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x104c93(0x154),'configStepTitle':_0x104c93(0x160),'configStep1':_0x104c93(0x13e),'configStep2':_0x104c93(0x13f),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x104c93(0x14c),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x104c93(0x155),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x104c93(0x156),'save':'Save\x20Configuration','saving':_0x104c93(0x14b),'note1':_0x104c93(0x143),'note2':_0x104c93(0x15b),'configSaved':_0x104c93(0x135),'configError':_0x104c93(0x165),'apiApplyInfo':{'title':_0x104c93(0x138),'description':_0x104c93(0x15e),'univerAiLabel':_0x104c93(0x150),'getStarted':_0x104c93(0x140)},'validation':{'apiKeyRequired':_0x104c93(0x14f),'apiKeyTooShort':_0x104c93(0x151),'invalidConfig':_0x104c93(0x14a),'invalidApiKey':_0x104c93(0x159)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x104c93(0x137),'connected':_0x104c93(0x14d),'failed':'Connection\x20Failed','retrying':_0x104c93(0x139)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x104c93(0x15f),'networkError':_0x104c93(0x136),'maxRetriesExceeded':_0x104c93(0x166)}}},n=e;module[_0x104c93(0x158)]=n;function _0xfde7(){const _0x1f5528=['API\x20Key','292128xuSXuP','MCP\x20Retrying...','MCP:\x20Unauthorized','Failed\x20to\x20save\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connecting...','What\x20is\x20API\x20Key?','Retrying...','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','Click\x20to\x20connect\x20MCP','43201jdBCoJ','Copy\x20the\x20JSON\x20configuration\x20below','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Get\x20your\x20API\x20key\x20in\x20seconds','1117100oKcZRM','Click\x20to\x20configure\x20MCP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Client\x20Configuration','607103xfQvFa','MCP\x20Connected','Invalid\x20configuration','Saving...','Session\x20ID','Connected','590956cgPkHN','API\x20key\x20is\x20required','Univer\x20AI\x20Console','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1463286XWrBiR','713538JEvOfG','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20with\x20Bearer\x20prefix.','Max\x20Retries','MCP\x20Connecting...','exports','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connection\x20Failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Session\x20ID\x20Occupied','72TXKIdP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:'];_0xfde7=function(){return _0x1f5528;};return _0xfde7();}
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;
@@ -1 +1 @@
1
- 'use strict';const _0x2863d8=_0x2854;(function(_0x3ae46c,_0x4db4aa){const _0x44ca53=_0x2854,_0x13826a=_0x3ae46c();while(!![]){try{const _0x491014=parseInt(_0x44ca53(0x1d2))/0x1*(parseInt(_0x44ca53(0x1c6))/0x2)+parseInt(_0x44ca53(0x1d0))/0x3*(-parseInt(_0x44ca53(0x1be))/0x4)+parseInt(_0x44ca53(0x1b7))/0x5+-parseInt(_0x44ca53(0x1b2))/0x6*(parseInt(_0x44ca53(0x1ba))/0x7)+parseInt(_0x44ca53(0x1ad))/0x8+parseInt(_0x44ca53(0x1d1))/0x9+-parseInt(_0x44ca53(0x1a8))/0xa;if(_0x491014===_0x4db4aa)break;else _0x13826a['push'](_0x13826a['shift']());}catch(_0x5d6bdf){_0x13826a['push'](_0x13826a['shift']());}}}(_0x5880,0x9cf84));const e={'mcpStatus':{'disconnected':'MCP\x20未接続','connecting':_0x2863d8(0x1a9),'connected':'MCP\x20接続済み','failed':'MCP\x20接続失敗','retrying':_0x2863d8(0x1d4),'unknown':_0x2863d8(0x1c9),'unauthorized':_0x2863d8(0x1d7),'sessionOccupied':'MCP:\x20セッションIDが使用中','networkError':_0x2863d8(0x1cc),'maxRetriesExceeded':_0x2863d8(0x1bd),'clickToConnect':_0x2863d8(0x1cf),'clickToConfigure':_0x2863d8(0x1a5)},'mcpConfig':{'title':_0x2863d8(0x1c8),'description':'MCPを設定してAIでスプレッドシートを操作','apiKey':_0x2863d8(0x1af),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':_0x2863d8(0x1bc),'enableAuth':'認証を有効にする','enableAuthHint':_0x2863d8(0x1ab),'connectionInfo':_0x2863d8(0x1bf),'mcpClientConfig':_0x2863d8(0x1bf),'configInstructions':_0x2863d8(0x1b9),'configStepTitle':_0x2863d8(0x1b4),'configStep1':_0x2863d8(0x1ca),'configStep2':_0x2863d8(0x1cb),'configStep3':_0x2863d8(0x1c7),'sessionId':'セッションID','sessionIdDescription':_0x2863d8(0x1b6),'authorizationDescription':_0x2863d8(0x1d3),'configParameters':_0x2863d8(0x1c5),'maxRetries':_0x2863d8(0x1a7),'save':_0x2863d8(0x1a6),'saving':_0x2863d8(0x1ae),'note1':_0x2863d8(0x1c1),'note2':_0x2863d8(0x1ac),'configSaved':_0x2863d8(0x1c4),'configError':'設定の保存に失敗しました','apiApplyInfo':{'title':_0x2863d8(0x1d5),'description':_0x2863d8(0x1c2),'univerAiLabel':'Univer\x20AIコンソール','getStarted':_0x2863d8(0x1d6)},'validation':{'apiKeyRequired':'APIキーは必須です','apiKeyTooShort':_0x2863d8(0x1b1),'invalidConfig':'無効な設定','invalidApiKey':_0x2863d8(0x1c3)},'connectionStatus':{'disconnected':_0x2863d8(0x1bb),'connecting':_0x2863d8(0x1ce),'connected':_0x2863d8(0x1c0),'failed':_0x2863d8(0x1aa),'retrying':_0x2863d8(0x1b0)},'connectionError':{'unauthorized':_0x2863d8(0x1b3),'sessionOccupied':_0x2863d8(0x1d8),'networkError':_0x2863d8(0x1b8),'maxRetriesExceeded':_0x2863d8(0x1cd)}}};function _0x5880(){const _0x4d8aac=['APIキーはこのブラウザのローカルに保存されます','MCP:\x20最大再試行回数を超過','8tJxVJW','MCPクライアント設定','接続済み','設定の変更は直ちに有効になります','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','無効なAPIキーです。キーが正しいか確認してください','設定が正常に保存されました','設定パラメータ:','1661174vCIzXx','MCPクライアントを再起動して設定を適用','MCP設定','MCP\x20不明な状態','以下のJSON設定をコピー','MCPクライアントの設定ファイルに設定を追加','MCP:\x20ネットワークエラー','最大再試行回数を超過しました。後でもう一度お試しください','接続中...','クリックしてMCPに接続','1780941dElvEk','3462012BACKDE','1ctpkQZ','Bearerプレフィックス付きのAPIキー。','MCP\x20再試行中...','APIキーとは?','数秒でAPIキーを取得','MCP:\x20認証されていません','セッションIDが現在使用中です。後でもう一度お試しください','クリックしてMCPを設定','設定を保存','最大再試行回数','2360790eJvmkT','MCP\x20接続中...','接続失敗','セキュアな接続のために認証を有効にする','APIキーはローカルストレージに安全に保存されます','9905504HcpzCJ','保存中...','APIキー','再試行中...','APIキーは10文字以上である必要があります','6bbbNDZ','認証に失敗しました。APIキーを確認してください','設定手順:','exports','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','110420XCfsEp','ネットワーク接続エラー。インターネット接続を確認してください','MCPクライアントの設定に次の設定を追加してください:','2864442uogLmw','未接続'];_0x5880=function(){return _0x4d8aac;};return _0x5880();}function _0x2854(_0x2b0708,_0x34a981){_0x2b0708=_0x2b0708-0x1a5;const _0x5880bf=_0x5880();let _0x285442=_0x5880bf[_0x2b0708];return _0x285442;}module[_0x2863d8(0x1b5)]=e;
1
+ 'use strict';function _0x4ea9(_0x585134,_0x5ea913){_0x585134=_0x585134-0x109;const _0x2e037e=_0x2e03();let _0x4ea9b8=_0x2e037e[_0x585134];return _0x4ea9b8;}const _0x291b89=_0x4ea9;(function(_0x336a04,_0x61a96d){const _0x471b1d=_0x4ea9,_0x273b0e=_0x336a04();while(!![]){try{const _0x5406bf=parseInt(_0x471b1d(0x116))/0x1*(-parseInt(_0x471b1d(0x123))/0x2)+-parseInt(_0x471b1d(0x138))/0x3+parseInt(_0x471b1d(0x122))/0x4*(parseInt(_0x471b1d(0x12f))/0x5)+parseInt(_0x471b1d(0x120))/0x6+-parseInt(_0x471b1d(0x10f))/0x7*(-parseInt(_0x471b1d(0x133))/0x8)+parseInt(_0x471b1d(0x10c))/0x9*(parseInt(_0x471b1d(0x10e))/0xa)+-parseInt(_0x471b1d(0x121))/0xb*(parseInt(_0x471b1d(0x134))/0xc);if(_0x5406bf===_0x61a96d)break;else _0x273b0e['push'](_0x273b0e['shift']());}catch(_0x4a3bfa){_0x273b0e['push'](_0x273b0e['shift']());}}}(_0x2e03,0x1e51c));function _0x2e03(){const _0x44ba39=['MCP\x20再試行中...','設定パラメータ:','210114dKqeDO','10197OjoLEF','1172iaZBvj','2jtJJQY','設定の変更は直ちに有効になります','以下のJSON設定をコピー','Bearerプレフィックス付きのAPIキー。','MCPクライアント設定','MCPを設定してAIでスプレッドシートを操作','無効な設定','MCP:\x20認証されていません','接続中...','APIキーはこのブラウザのローカルに保存されます','MCP\x20接続中...','MCP\x20未接続','3130SLHNWR','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','未接続','APIキーは必須です','32EbgtNo','60JPtyaW','MCP:\x20セッションIDが使用中','MCP:\x20ネットワークエラー','最大再試行回数を超過しました。後でもう一度お試しください','88236NTRbWg','最大再試行回数','exports','MCPクライアントの設定ファイルに設定を追加','セッションID','APIキーとは?','189DhoEJb','MCPクライアントの設定に次の設定を追加してください:','28810YGwIug','92288sAaxrt','セキュアな接続のために認証を有効にする','MCP\x20不明な状態','APIキー','APIキーを入力してください','認証に失敗しました。APIキーを確認してください','無効なAPIキーです。キーが正しいか確認してください','173439pwbzdi','MCPクライアントを再起動して設定を適用','数秒でAPIキーを取得','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','接続済み','保存中...','再試行中...','設定の保存に失敗しました'];_0x2e03=function(){return _0x44ba39;};return _0x2e03();}const e={'mcpStatus':{'disconnected':_0x291b89(0x12e),'connecting':_0x291b89(0x12d),'connected':'MCP\x20接続済み','failed':'MCP\x20接続失敗','retrying':_0x291b89(0x11e),'unknown':_0x291b89(0x111),'unauthorized':_0x291b89(0x12a),'sessionOccupied':_0x291b89(0x135),'networkError':_0x291b89(0x136),'maxRetriesExceeded':'MCP:\x20最大再試行回数を超過','clickToConnect':'クリックしてMCPに接続','clickToConfigure':'クリックしてMCPを設定'},'mcpConfig':{'title':'MCP設定','description':_0x291b89(0x128),'apiKey':_0x291b89(0x112),'apiKeyPlaceholder':_0x291b89(0x113),'apiKeyHint':_0x291b89(0x12c),'enableAuth':'認証を有効にする','enableAuthHint':_0x291b89(0x110),'connectionInfo':_0x291b89(0x127),'mcpClientConfig':_0x291b89(0x127),'configInstructions':_0x291b89(0x10d),'configStepTitle':'設定手順:','configStep1':_0x291b89(0x125),'configStep2':_0x291b89(0x109),'configStep3':_0x291b89(0x117),'sessionId':_0x291b89(0x10a),'sessionIdDescription':_0x291b89(0x130),'authorizationDescription':_0x291b89(0x126),'configParameters':_0x291b89(0x11f),'maxRetries':_0x291b89(0x139),'save':'設定を保存','saving':_0x291b89(0x11b),'note1':_0x291b89(0x124),'note2':'APIキーはローカルストレージに安全に保存されます','configSaved':'設定が正常に保存されました','configError':_0x291b89(0x11d),'apiApplyInfo':{'title':_0x291b89(0x10b),'description':_0x291b89(0x119),'univerAiLabel':'Univer\x20AIコンソール','getStarted':_0x291b89(0x118)},'validation':{'apiKeyRequired':_0x291b89(0x132),'apiKeyTooShort':'APIキーは10文字以上である必要があります','invalidConfig':_0x291b89(0x129),'invalidApiKey':_0x291b89(0x115)},'connectionStatus':{'disconnected':_0x291b89(0x131),'connecting':_0x291b89(0x12b),'connected':_0x291b89(0x11a),'failed':'接続失敗','retrying':_0x291b89(0x11c)},'connectionError':{'unauthorized':_0x291b89(0x114),'sessionOccupied':'セッションIDが現在使用中です。後でもう一度お試しください','networkError':'ネットワーク接続エラー。インターネット接続を確認してください','maxRetriesExceeded':_0x291b89(0x137)}}};module[_0x291b89(0x13a)]=e;