@univerjs-pro/mcp-ui 0.10.7 → 0.10.8-nightly.202509200616

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.css +1 -1
  24. package/lib/index.js +1 -1
  25. package/lib/locale/ca-ES.js +1 -1
  26. package/lib/locale/en-US.js +1 -1
  27. package/lib/locale/es-ES.js +1 -1
  28. package/lib/locale/fa-IR.js +1 -1
  29. package/lib/locale/fr-FR.js +1 -1
  30. package/lib/locale/ko-KR.js +1 -1
  31. package/lib/locale/ru-RU.js +1 -1
  32. package/lib/locale/vi-VN.js +1 -1
  33. package/lib/locale/zh-CN.js +1 -1
  34. package/lib/locale/zh-TW.js +1 -1
  35. package/lib/types/controllers/mcp-config-ui.controller.d.ts +1 -0
  36. package/lib/types/locale/en-US.d.ts +9 -1
  37. package/lib/types/locale/zh-CN.d.ts +9 -1
  38. package/lib/types/views/components/mcp-config.d.ts +7 -1
  39. package/lib/umd/index.js +1 -1
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +8 -7
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x16be13=_0x7f10;(function(_0x138450,_0x26e085){var _0x5bab12=_0x7f10,_0x21b44a=_0x138450();while(!![]){try{var _0x52f372=-parseInt(_0x5bab12(0x2df))/0x1+parseInt(_0x5bab12(0x280))/0x2*(parseInt(_0x5bab12(0x1f8))/0x3)+parseInt(_0x5bab12(0x21f))/0x4+parseInt(_0x5bab12(0x2e6))/0x5+-parseInt(_0x5bab12(0x2aa))/0x6*(-parseInt(_0x5bab12(0x287))/0x7)+-parseInt(_0x5bab12(0x296))/0x8*(parseInt(_0x5bab12(0x306))/0x9)+-parseInt(_0x5bab12(0x239))/0xa;if(_0x52f372===_0x26e085)break;else _0x21b44a['push'](_0x21b44a['shift']());}catch(_0x4d41a1){_0x21b44a['push'](_0x21b44a['shift']());}}}(_0x3ab2,0x77550));var te=Object[_0x16be13(0x22b)],oe=(_0x31e082,_0x4572ff,_0xada88f)=>_0x4572ff in _0x31e082?te(_0x31e082,_0x4572ff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xada88f}):_0x31e082[_0x4572ff]=_0xada88f,_=(_0x4f4130,_0x79a68a,_0x796b0b)=>oe(_0x4f4130,typeof _0x79a68a!=_0x16be13(0x2f1)?_0x79a68a+'':_0x79a68a,_0x796b0b);Object[_0x16be13(0x22b)](exports,Symbol[_0x16be13(0x33c)],{'value':'Module'});const u=require('@univerjs/core'),o=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),x=require('@univerjs/design'),v=require('@univerjs/ui'),j=require('rxjs'),d=require('react');function _0x7f10(_0x368642,_0x5aec35){var _0x3ab2c2=_0x3ab2();return _0x7f10=function(_0x7f100d,_0x2b6262){_0x7f100d=_0x7f100d-0x1f0;var _0x96647e=_0x3ab2c2[_0x7f100d];return _0x96647e;},_0x7f10(_0x368642,_0x5aec35);}var C=function(){var _0x2f03ce=_0x16be13;return C=Object[_0x2f03ce(0x229)]||function(_0x5b8404){var _0x39971d=_0x2f03ce;for(var _0x47abf9,_0x370ca8=0x1,_0x3f09e2=arguments[_0x39971d(0x2b6)];_0x370ca8<_0x3f09e2;_0x370ca8++){_0x47abf9=arguments[_0x370ca8];for(var _0x451c2f in _0x47abf9)Object[_0x39971d(0x205)][_0x39971d(0x2f7)][_0x39971d(0x245)](_0x47abf9,_0x451c2f)&&(_0x5b8404[_0x451c2f]=_0x47abf9[_0x451c2f]);}return _0x5b8404;},C[_0x2f03ce(0x317)](this,arguments);},se=function(_0x4124ba,_0x4897c9){var _0xe34540=_0x16be13,_0xe0fd65={};for(var _0x321a44 in _0x4124ba)Object[_0xe34540(0x205)][_0xe34540(0x2f7)][_0xe34540(0x245)](_0x4124ba,_0x321a44)&&_0x4897c9[_0xe34540(0x365)](_0x321a44)<0x0&&(_0xe0fd65[_0x321a44]=_0x4124ba[_0x321a44]);if(_0x4124ba!=null&&typeof Object[_0xe34540(0x1f2)]==_0xe34540(0x28c)){for(var _0x460bb0=0x0,_0x321a44=Object['getOwnPropertySymbols'](_0x4124ba);_0x460bb0<_0x321a44[_0xe34540(0x2b6)];_0x460bb0++)_0x4897c9[_0xe34540(0x365)](_0x321a44[_0x460bb0])<0x0&&Object[_0xe34540(0x205)][_0xe34540(0x335)]['call'](_0x4124ba,_0x321a44[_0x460bb0])&&(_0xe0fd65[_0x321a44[_0x460bb0]]=_0x4124ba[_0x321a44[_0x460bb0]]);}return _0xe0fd65;},P=d[_0x16be13(0x2e1)](function(_0x47bc8e,_0x4ea48d){var _0x736eaf=_0x16be13,_0x24f7f8=_0x47bc8e[_0x736eaf(0x29d)],_0x56e27c=_0x47bc8e['id'],_0x41b40c=_0x47bc8e['className'],_0x499559=_0x47bc8e['extend'],_0x597cb5=se(_0x47bc8e,[_0x736eaf(0x29d),'id',_0x736eaf(0x251),_0x736eaf(0x309)]),_0x56fd9d='univerjs-icon\x20univerjs-icon-'[_0x736eaf(0x342)](_0x56e27c,'\x20')[_0x736eaf(0x342)](_0x41b40c||'')[_0x736eaf(0x252)](),_0x2fdb71=d[_0x736eaf(0x202)]('_'[_0x736eaf(0x342)](le()));return $(_0x24f7f8,''[_0x736eaf(0x342)](_0x56e27c),{'defIds':_0x24f7f8['defIds'],'idSuffix':_0x2fdb71[_0x736eaf(0x316)]},C({'ref':_0x4ea48d,'className':_0x56fd9d},_0x597cb5),_0x499559);});function $(_0x515fa,_0x4a04ff,_0x34ec0d,_0x1f0640,_0x4711ac){var _0x4dff4c=_0x16be13;return d['createElement'](_0x515fa['tag'],C(C({'key':_0x4a04ff},ce(_0x515fa,_0x34ec0d,_0x4711ac)),_0x1f0640),(ae(_0x515fa,_0x34ec0d)[_0x4dff4c(0x360)]||[])[_0x4dff4c(0x31e)](function(_0x51c488,_0x16e2df){var _0x4cdd11=_0x4dff4c;return $(_0x51c488,''['concat'](_0x4a04ff,'-')['concat'](_0x515fa[_0x4cdd11(0x34a)],'-')['concat'](_0x16e2df),_0x34ec0d,void 0x0,_0x4711ac);}));}function ce(_0x434cb0,_0x34e0a5,_0x34017d){var _0x19912a=_0x16be13,_0x1e05bb=C({},_0x434cb0[_0x19912a(0x31d)]);_0x34017d!=null&&_0x34017d[_0x19912a(0x2ef)]&&_0x1e05bb[_0x19912a(0x31b)]==='colorChannel1'&&(_0x1e05bb[_0x19912a(0x31b)]=_0x34017d[_0x19912a(0x2ef)]),_0x434cb0[_0x19912a(0x34a)]===_0x19912a(0x20b)&&_0x1e05bb['id']&&(_0x1e05bb['id']=_0x1e05bb['id']+_0x34e0a5[_0x19912a(0x2d7)]),Object[_0x19912a(0x210)](_0x1e05bb)[_0x19912a(0x234)](function(_0x10a6c9){var _0x1621f9=_0x19912a,_0x599ba8=_0x10a6c9[0x0],_0x1af015=_0x10a6c9[0x1];_0x599ba8===_0x1621f9(0x20b)&&typeof _0x1af015=='string'&&(_0x1e05bb[_0x599ba8]=_0x1af015['replace'](/url\(#(.*)\)/,_0x1621f9(0x320)[_0x1621f9(0x342)](_0x34e0a5[_0x1621f9(0x2d7)],')')));});var _0x2f7f50=_0x34e0a5[_0x19912a(0x1f1)];return!_0x2f7f50||_0x2f7f50['length']===0x0||(_0x434cb0[_0x19912a(0x34a)]==='use'&&_0x1e05bb['xlink:href']&&(_0x1e05bb[_0x19912a(0x2e8)]=_0x1e05bb[_0x19912a(0x2e8)]+_0x34e0a5[_0x19912a(0x2d7)]),Object[_0x19912a(0x210)](_0x1e05bb)['forEach'](function(_0x4cb840){var _0x263989=_0x19912a,_0x35e14c=_0x4cb840[0x0],_0x562fc5=_0x4cb840[0x1];typeof _0x562fc5=='string'&&(_0x1e05bb[_0x35e14c]=_0x562fc5[_0x263989(0x327)](/url\(#(.*)\)/,_0x263989(0x320)['concat'](_0x34e0a5[_0x263989(0x2d7)],')')));})),_0x1e05bb;}function ae(_0x40ac99,_0x147770){var _0x12d0a0=_0x16be13,_0x477adc,_0x2598d6=_0x147770[_0x12d0a0(0x1f1)];return!_0x2598d6||_0x2598d6['length']===0x0?_0x40ac99:_0x40ac99[_0x12d0a0(0x34a)]===_0x12d0a0(0x1fe)&&(!((_0x477adc=_0x40ac99[_0x12d0a0(0x360)])===null||_0x477adc===void 0x0)&&_0x477adc['length'])?C(C({},_0x40ac99),{'children':_0x40ac99[_0x12d0a0(0x360)]['map'](function(_0x3c8a20){var _0xb5a6f1=_0x12d0a0;return typeof _0x3c8a20[_0xb5a6f1(0x31d)]['id']==_0xb5a6f1(0x32d)&&_0x2598d6&&_0x2598d6[_0xb5a6f1(0x349)](_0x3c8a20[_0xb5a6f1(0x31d)]['id'])?C(C({},_0x3c8a20),{'attrs':C(C({},_0x3c8a20[_0xb5a6f1(0x31d)]),{'id':_0x3c8a20[_0xb5a6f1(0x31d)]['id']+_0x147770['idSuffix']})}):_0x3c8a20;})}):_0x40ac99;}function le(){var _0x216e32=_0x16be13;return Math[_0x216e32(0x35a)]()[_0x216e32(0x2fa)](0x24)[_0x216e32(0x243)](0x2,0x8);}function _0x3ab2(){var _0x52b3de=['createElement','_initConfigSync','146817mxAkhE','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-space-y-3','extend','Saving...','univer-space-y-2','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','IUIPartsService','setConfig','useDependency','NETWORK_ERROR','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','sessionId','mcpConfig.apiApplyInfo.getStarted','CONNECTING','M5.21243\x2012.287L11.8791\x205.62036','current','apply','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20saved\x20successfully','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','fill','check-mark-icon','attrs','map','univer-flex-1','url(#$1','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','Inject','保存配置','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Max\x20Retries','IMessageService','replace','label','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer.plus','MCPConnectionController','mcpStatus.clickToConnect','string','Server\x20Endpoint','showConfigPanel','univer-text-xs\x20univer-text-gray-500','showDeveloperTools','univer-text-white','配置保存成功','get','propertyIsEnumerable','univer-text-red-500','Connecting...','mcpStatus.disconnected','ILogService','mcpConfig.apiKeyHint','DependentOn','toStringTag','univer-flex\x20univer-items-center\x20univer-gap-2','Univer\x20AI\x20Console','span','_mcpCoreConfig$','useCallback','concat','CheckMarkIcon','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','http://www.w3.org/2000/svg','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','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpConfig.connectionStatus.connecting','includes','tag','mcp-config-dialog','mcpConfig.description','MCP:\x20Network\x20Error','univer-flex\x20univer-items-center\x20univer-gap-3','_config$','on-line-icon_clip0_910_349','会话当前被占用,请稍后再试','on-line-icon','_validateConfig','_handleConfigSave','univer-flex-shrink-0\x20univer-text-red-500','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','API\x20key\x20is\x20required','OnLineIcon','_blank','random','_mcpConnectionController','_initializeMenus','Plugin','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','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','children','Enter\x20your\x20API\x20key','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','svg','help-single','indexOf','mcpStatus.maxRetriesExceeded','univer-bg-green-500','displayName','CloseSmallSingle','MCP_PLUGIN_CONFIG_KEY','ICommandService','jsxs','useObservable','\x20-\x20','noopener\x20noreferrer','启用身份验证以获得安全连接','HEADER_MENU','IMenuManagerService','getConfig','defIds','getOwnPropertySymbols','mcpConfig.title','M0\x200H16V16H0z','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','MCPUIMenuController','MCP_UI_PLUGIN','15EIUFjf','mcpConfig.connectionInfo','Click\x20to\x20configure\x20MCP','COMMAND','请输入您的\x20API\x20密钥','配置\x20MCP\x20使用\x20AI\x20操作电子表格','defs','几秒钟内获取您的\x20API\x20密钥','https://console.univer.plus','UniverIcon','useRef','您的\x20API\x20密钥安全存储在本地存储中','none','prototype','配置保存失败','API\x20密钥无效,请检查密钥是否正确','mcp-ui.command.openConfigPanel','apiKey','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mask','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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','clipPath','LocaleService','entries','isValid','OpenMCPConfigPanelCommand','1em','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','_messageService','MCP:\x20Invalid\x20API\x20Key','_initStatusComponent','MAX_RETRIES_EXCEEDED','MCP:\x20缺少\x20API\x20密钥','mcpConfig.note2','univer-min-w-0\x20univer-flex-1','MCPConnectionStatus','univer-text-sm\x20univer-text-gray-500','Configuration\x20Notes:','3054828eBUwLN','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','ILocalStorageService','univer-bg-red-500','close','Disposable','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','Input','_createConfigPanelComponent','_connectionController','assign','mcpStatus.sessionOccupied','defineProperty','CommandType','DISCONNECTED','点击连接\x20MCP','MCP:\x20API\x20Key\x20Missing','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','API\x20密钥长度至少需要\x2010\x20位','mcpStatus.connected','code','forEach','mcpStatus.networkError','Error','API\x20密钥','value','13693340pyvcKb','univer-flex\x20univer-gap-3','getItem','MessageType','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','mcpConfig.validation.invalidApiKey','Tooltip','clsx','OTHERS','substring','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','call','网络连接错误,请检查您的网络连接','MCPConfigPanel','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','connectionError$','_localStorageService','mcpConfig.note1','Session\x20ID','_handleConfigure','MCP\x20Connecting...','MCP\x20配置','univer-flex\x20univer-flex-wrap\x20univer-gap-2','className','trim','0\x200\x2017\x2016','0\x200\x2017\x2017','mcpConfig.connectionStatus.retrying','_logService','next','_initializeCommands','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','最大重试次数','BUTTON','text','univer-text-sm\x20univer-font-medium','IConfigService','连接失败','INVALID_API_KEY','zhCN','currentColor','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpStatus.connecting','_menuManagerService','mcpStatus.clickToConfigure','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','BuiltInUIPart','validateApiKey','onStarting','mcpConfig.validation.apiKeyTooShort','registerComponent','mcp-ui.config','connectInjector','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','univer-mr-2\x20univer-flex\x20univer-text-xl','mcpConfig.connectionError.invalidApiKey','NONE','mcpStatus.failed','CONNECTED','_config','mcpStatus.missingApiKey','getOwnPropertyDescriptor','MCP:\x20超出最大重试次数','white','univer-font-medium','off-line-icon','Click\x20to\x20connect\x20MCP','MCPStatusDisplay','MCP:\x20会话被占用','univer-flex\x20univer-items-start\x20univer-gap-2','79138VqurDj','_componentManager','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Connection\x20Failed','mcpConfig.apiApplyInfo.title','add','MCPConnectionUIController','173761GMPUQM','MenuIcon','配置更改将立即生效','MISSING_API_KEY','Connected','function','univer-text-blue-600','mcpConfig.connectionError.sessionOccupied','Failed\x20to\x20save\x20configuration','MCP\x20重连中...','round','_registerComponent','translate(.97)','HelpSingle','Injector','40dmfoSF','保存中...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20连接失败','超出最大重试次数,请稍后再试','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','close-small-single','icon','mcpStatus.invalidApiKey','BehaviorSubject','univer-flex\x20univer-items-start\x20univer-gap-3','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCP\x20Connected','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-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','hover:univer-opacity-80','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','evenodd','RETRYING','registerCommand','univer-flex-shrink-0\x20univer-text-blue-500','174HDJbon','Retrying...','_commandService','MCP\x20连接中...','_dialogService','已连接','mcpConfig.apiApplyInfo.univerAiLabel','bottom','连接信息','error','mcpConfig.configError','off-line-icon_clip0_910_343','length','什么是\x20API\x20密钥?','mcpConfig.saving','div','MCP:\x20Session\x20Occupied','MCP\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','_loading$','mcpConfig.apiApplyInfo.description','_loadStoredApiKey','errorMessage','mcpConfig.connectionError.missingApiKey','univer-text-green-500','univer-bg-gray-500','您的\x20API\x20密钥将在此浏览器中本地存储','mcpConfig.connectionError.networkError','MCP\x20已连接','jsx','API\x20密钥无效,请检查您的密钥后重试','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-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','MCP\x20Connection\x20Failed','0\x200\x2016\x2016','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','subscribeConfigValue$','_injector','MCP:\x20网络错误','mcpConfig.apiKeyPlaceholder','path','配置无效','Connection\x20Information','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','idSuffix','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Save\x20Configuration','connectionStatus$','FAILED','MCPConnectionError','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','未连接','51367IZnVNU','mcpServerUrl','forwardRef','show','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','点击配置\x20MCP','mcpConfig.connectionStatus.disconnected','1548155QdLYLa','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','xlink:href','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds','https://console.univer.ai','MCP\x20已断开','mcpConfig.validation.invalidConfig','javascript:void(0)','colorChannel1','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','symbol','_configService','disposeWithMe','MCPConfigUIController','OffLineIcon','useState','hasOwnProperty','_localeService','mcpConfig.connectionStatus.failed','toString','subscribe','mergeMenu','mcpConfig.validation.apiKeyRequired','univer.ai','Invalid\x20configuration','MenuItemType','_uiPartsService','univer-flex\x20univer-cursor-pointer\x20univer-items-center','mcpConfig.connectionStatus.connected'];_0x3ab2=function(){return _0x52b3de;};return _0x3ab2();}P[_0x16be13(0x368)]=_0x16be13(0x201);var ue={'tag':_0x16be13(0x363),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x16be13(0x204),'viewBox':_0x16be13(0x2cb),'width':_0x16be13(0x213),'height':'1em'},'children':[{'tag':_0x16be13(0x2d3),'attrs':{'fill':_0x16be13(0x262),'d':_0x16be13(0x35e),'fillRule':'evenodd','clipRule':_0x16be13(0x2a6)}}]},L=d[_0x16be13(0x2e1)](function(_0x642883,_0x4528e3){var _0xae0da8=_0x16be13;return d[_0xae0da8(0x304)](P,Object[_0xae0da8(0x229)]({},_0x642883,{'id':_0xae0da8(0x31c),'ref':_0x4528e3,'icon':ue}));});L[_0x16be13(0x368)]=_0x16be13(0x343);var ve={'tag':'svg','attrs':{'xmlns':_0x16be13(0x345),'fill':_0x16be13(0x204),'viewBox':_0x16be13(0x254),'width':_0x16be13(0x213),'height':_0x16be13(0x213)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':_0x16be13(0x291),'strokeLinejoin':'round','strokeWidth':1.33}},{'tag':_0x16be13(0x2d3),'attrs':{'stroke':_0x16be13(0x262),'d':_0x16be13(0x315),'strokeLinecap':_0x16be13(0x291),'strokeLinejoin':_0x16be13(0x291),'strokeWidth':1.33}}]},G=d[_0x16be13(0x2e1)](function(_0x25f52b,_0x40c297){var _0x920073=_0x16be13;return d[_0x920073(0x304)](P,Object[_0x920073(0x229)]({},_0x25f52b,{'id':_0x920073(0x29c),'ref':_0x40c297,'icon':ve}));});G['displayName']=_0x16be13(0x369);var de={'tag':_0x16be13(0x363),'attrs':{'xmlns':_0x16be13(0x345),'fill':'none','viewBox':_0x16be13(0x2cb),'width':'1em','height':'1em'},'children':[{'tag':_0x16be13(0x2d3),'attrs':{'fill':_0x16be13(0x262),'d':_0x16be13(0x344)}},{'tag':_0x16be13(0x2d3),'attrs':{'fill':_0x16be13(0x262),'d':_0x16be13(0x346)}},{'tag':_0x16be13(0x2d3),'attrs':{'fill':_0x16be13(0x262),'d':_0x16be13(0x20c),'fillRule':_0x16be13(0x2a6),'clipRule':_0x16be13(0x2a6)}}]},Y=d[_0x16be13(0x2e1)](function(_0x3cdc0a,_0x5476ed){var _0x59206d=_0x16be13;return d[_0x59206d(0x304)](P,Object[_0x59206d(0x229)]({},_0x3cdc0a,{'id':_0x59206d(0x364),'ref':_0x5476ed,'icon':de}));});Y[_0x16be13(0x368)]=_0x16be13(0x294);var Ce={'tag':_0x16be13(0x363),'attrs':{'xmlns':_0x16be13(0x345),'fill':_0x16be13(0x204),'viewBox':'0\x200\x2016\x2016','width':_0x16be13(0x213),'height':_0x16be13(0x213)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x16be13(0x2d3),'attrs':{'stroke':_0x16be13(0x262),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x16be13(0x1fe),'attrs':{},'children':[{'tag':_0x16be13(0x20e),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x16be13(0x2d3),'attrs':{'fill':_0x16be13(0x279),'d':_0x16be13(0x1f4)}}]}]}],'defIds':[_0x16be13(0x2b5)]},F=d['forwardRef'](function(_0x311974,_0x22b573){var _0x259860=_0x16be13;return d[_0x259860(0x304)](P,Object['assign']({},_0x311974,{'id':_0x259860(0x27b),'ref':_0x22b573,'icon':Ce}));});F[_0x16be13(0x368)]=_0x16be13(0x2f5);var ge={'tag':_0x16be13(0x363),'attrs':{'xmlns':_0x16be13(0x345),'fill':'none','viewBox':_0x16be13(0x253),'width':_0x16be13(0x213),'height':_0x16be13(0x213)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x16be13(0x2d3),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':'round','strokeLinejoin':_0x16be13(0x291),'strokeWidth':1.2}}]},{'tag':_0x16be13(0x1fe),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x16be13(0x350)},'children':[{'tag':'path','attrs':{'fill':_0x16be13(0x279),'d':'M0\x200H16V16H0z','transform':_0x16be13(0x293)}}]}]}],'defIds':[_0x16be13(0x350)]},V=d['forwardRef'](function(_0x16d35b,_0x28a56a){var _0x15355c=_0x16be13;return d[_0x15355c(0x304)](P,Object['assign']({},_0x16d35b,{'id':_0x15355c(0x352),'ref':_0x28a56a,'icon':ge}));});V[_0x16be13(0x368)]=_0x16be13(0x358);function B(_0x1c5211){var _0x1a7b27=_0x16be13,_0x3ba3fb,_0x27a9f3;const {mcpCoreConfig:_0x4d8230,onSave:_0x3b2e3d,loading:_0x23b2c0=!0x1,config:_0x2893a1,connectionStatus$:_0x341e83,connectionError$:_0x12817b}=_0x1c5211,_0x589666=v[_0x1a7b27(0x30f)](u[_0x1a7b27(0x20f)]),_0x2b15ce=v[_0x1a7b27(0x36d)](_0x341e83,s[_0x1a7b27(0x21c)][_0x1a7b27(0x22d)]),_0x3138c0=v[_0x1a7b27(0x36d)](_0x12817b,s[_0x1a7b27(0x2dc)][_0x1a7b27(0x272)]),[_0xbe6878,_0x20a262]=d[_0x1a7b27(0x2f6)](_0x4d8230[_0x1a7b27(0x209)]||''),_0x264b55=!0x0,_0x21ef98=_0x2893a1[_0x1a7b27(0x331)]&&_0x4d8230['mcpServerUrl']&&(_0x4d8230['mcpServerUrl'][_0x1a7b27(0x349)](_0x1a7b27(0x32a))||_0x4d8230['mcpServerUrl'][_0x1a7b27(0x349)](_0x1a7b27(0x2fe))),_0x21d28b=(_0x3ba3fb=_0x4d8230['mcpServerUrl'])==null?void 0x0:_0x3ba3fb[_0x1a7b27(0x349)](_0x1a7b27(0x32a)),_0x2318c8=(_0x27a9f3=_0x4d8230[_0x1a7b27(0x2e0)])==null?void 0x0:_0x27a9f3[_0x1a7b27(0x349)](_0x1a7b27(0x2fe)),_0x259f46=_0x21d28b?_0x1a7b27(0x200):_0x1a7b27(0x2eb),_0x4de1b5=_0x2893a1['showDeveloperTools']&&(_0x21d28b||_0x2318c8),[_0xf9668d,_0x37a6d0]=d[_0x1a7b27(0x2f6)](!_0xbe6878[_0x1a7b27(0x252)]()),_0x12d0a8=(_0x480e54,_0x51a743)=>{var _0x2292bd=_0x1a7b27;if(_0x51a743===s['MCPConnectionError'][_0x2292bd(0x28a)]||_0x51a743===s[_0x2292bd(0x2dc)][_0x2292bd(0x260)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x480e54){case s[_0x2292bd(0x21c)]['CONNECTED']:return _0x2292bd(0x230);case s['MCPConnectionStatus']['CONNECTING']:case s['MCPConnectionStatus'][_0x2292bd(0x2a7)]:return _0x2292bd(0x324);case s['MCPConnectionStatus']['FAILED']:return _0x2292bd(0x23d);default:return _0x2292bd(0x282);}},_0x10d3df=(_0x3759cb,_0x2360b8)=>{var _0x4e1aa6=_0x1a7b27;if(_0x2360b8===s[_0x4e1aa6(0x2dc)][_0x4e1aa6(0x28a)]||_0x2360b8===s[_0x4e1aa6(0x2dc)][_0x4e1aa6(0x260)])return _0x4e1aa6(0x222);switch(_0x3759cb){case s[_0x4e1aa6(0x21c)]['CONNECTED']:return _0x4e1aa6(0x367);case s[_0x4e1aa6(0x21c)][_0x4e1aa6(0x314)]:case s[_0x4e1aa6(0x21c)][_0x4e1aa6(0x2a7)]:return'univer-bg-blue-500';case s['MCPConnectionStatus'][_0x4e1aa6(0x2db)]:return _0x4e1aa6(0x222);default:return _0x4e1aa6(0x2c3);}},_0x37eba0=_0x1430a4=>{var _0x22c07f=_0x1a7b27;switch(_0x1430a4){case s[_0x22c07f(0x21c)][_0x22c07f(0x274)]:return _0x589666['t'](_0x22c07f(0x303));case s[_0x22c07f(0x21c)]['CONNECTING']:return _0x589666['t'](_0x22c07f(0x348));case s[_0x22c07f(0x21c)]['FAILED']:return _0x589666['t'](_0x22c07f(0x2f9));case s[_0x22c07f(0x21c)]['RETRYING']:return _0x589666['t'](_0x22c07f(0x255));default:return _0x589666['t'](_0x22c07f(0x2e5));}},_0x3d4ce7=_0x3e787f=>{var _0x16c557=_0x1a7b27;switch(_0x3e787f){case s[_0x16c557(0x2dc)][_0x16c557(0x28a)]:return _0x589666['t'](_0x16c557(0x2c1));case s[_0x16c557(0x2dc)]['INVALID_API_KEY']:return _0x589666['t'](_0x16c557(0x271));case s[_0x16c557(0x2dc)]['SESSION_ID_OCCUPIED']:return _0x589666['t'](_0x16c557(0x28e));case s['MCPConnectionError']['NETWORK_ERROR']:return _0x589666['t'](_0x16c557(0x2c5));case s[_0x16c557(0x2dc)][_0x16c557(0x218)]:return _0x589666['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x59a130=d[_0x1a7b27(0x341)](()=>{const _0x2efb67={..._0x4d8230,'apiKey':_0xbe6878['trim'](),'enableAuth':_0x264b55};_0x3b2e3d(_0x2efb67);},[_0x4d8230,_0xbe6878,_0x264b55,_0x3b2e3d]),_0x22ce8f=_0xbe6878[_0x1a7b27(0x252)]()[_0x1a7b27(0x2b6)]>0x0;return o[_0x1a7b27(0x36c)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x311),'children':[o[_0x1a7b27(0x2c7)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x2a5),'children':o[_0x1a7b27(0x36c)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x34e),'children':[o['jsx'](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x248),'children':o['jsx'](_0x1a7b27(0x33f),{'className':_0x1a7b27(0x332),'children':'⚙'})}),o[_0x1a7b27(0x2c7)](_0x1a7b27(0x2b9),{'children':o['jsx']('p',{'className':_0x1a7b27(0x21d),'children':_0x589666['t'](_0x1a7b27(0x34c))})})]})}),o[_0x1a7b27(0x36c)]('div',{'className':_0x1a7b27(0x2e7),'children':[o[_0x1a7b27(0x2c7)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x2dd)+_0x12d0a8(_0x2b15ce,_0x3138c0)+_0x1a7b27(0x356),'children':o[_0x1a7b27(0x36c)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[o[_0x1a7b27(0x2c7)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x20d)+_0x10d3df(_0x2b15ce,_0x3138c0)+_0x1a7b27(0x267)}),o[_0x1a7b27(0x2c7)](_0x1a7b27(0x33f),{'className':_0x1a7b27(0x25d),'children':_0x37eba0(_0x2b15ce)})]})}),_0x3138c0!==s[_0x1a7b27(0x2dc)][_0x1a7b27(0x272)]&&(_0x2b15ce===s[_0x1a7b27(0x21c)][_0x1a7b27(0x2db)]||_0x3138c0===s[_0x1a7b27(0x2dc)][_0x1a7b27(0x28a)]||_0x3138c0===s[_0x1a7b27(0x2dc)]['INVALID_API_KEY'])&&o['jsx']('div',{'className':_0x1a7b27(0x29b),'children':o['jsxs'](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x27f),'children':[o[_0x1a7b27(0x2c7)]('span',{'className':_0x1a7b27(0x355),'children':'⚠️'}),o[_0x1a7b27(0x2c7)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x3d4ce7(_0x3138c0)})]})})]}),o['jsx'](_0x1a7b27(0x2b9),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':o['jsxs'](_0x1a7b27(0x2b9),{'className':'univer-space-y-5','children':[o['jsxs'](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x30b),'children':[o[_0x1a7b27(0x36c)](_0x1a7b27(0x328),{'className':_0x1a7b27(0x329),'children':[o[_0x1a7b27(0x2c7)](_0x1a7b27(0x33f),{'children':'🔑'}),'\x20',_0x589666['t']('mcpConfig.apiKey'),o[_0x1a7b27(0x2c7)]('span',{'className':_0x1a7b27(0x336),'children':'*'}),_0x21ef98&&o['jsx']('a',{'href':_0x1a7b27(0x2ee),'onClick':()=>_0x37a6d0(!0x0),'className':_0x1a7b27(0x2a3),'title':_0x589666['t'](_0x1a7b27(0x284)),'children':o[_0x1a7b27(0x2c7)](Y,{})})]}),o['jsx'](x[_0x1a7b27(0x226)],{'type':_0x1a7b27(0x25c),'placeholder':_0x589666['t'](_0x1a7b27(0x2d2)),'value':_0xbe6878,'onChange':_0x20a262,'disabled':_0x23b2c0,'autoComplete':'off'}),o[_0x1a7b27(0x2c7)]('p',{'className':_0x1a7b27(0x330),'children':_0x589666['t'](_0x1a7b27(0x33a))})]}),_0x21ef98&&_0xf9668d&&o[_0x1a7b27(0x36c)]('div',{'className':_0x1a7b27(0x2e3),'children':[o[_0x1a7b27(0x2c7)]('a',{'href':_0x1a7b27(0x2ee),'onClick':()=>_0x37a6d0(!0x1),'className':_0x1a7b27(0x2c9),'title':'Close','children':o[_0x1a7b27(0x2c7)](G,{})}),o[_0x1a7b27(0x36c)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x2cc),'children':[o[_0x1a7b27(0x2c7)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x1f5),'children':o['jsx'](_0x1a7b27(0x33f),{'className':_0x1a7b27(0x28d),'children':'🚀'})}),o[_0x1a7b27(0x36c)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x31f),'children':[o[_0x1a7b27(0x2c7)]('h4',{'className':_0x1a7b27(0x2ce),'children':_0x589666['t']('mcpConfig.apiApplyInfo.title')}),o[_0x1a7b27(0x2c7)]('p',{'className':_0x1a7b27(0x214),'children':_0x589666['t'](_0x1a7b27(0x2be))}),o[_0x1a7b27(0x2c7)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x250),'children':_0x4de1b5&&o[_0x1a7b27(0x36c)]('a',{'href':_0x259f46,'target':_0x1a7b27(0x359),'rel':_0x1a7b27(0x36f),'className':_0x1a7b27(0x362),'children':[o[_0x1a7b27(0x2c7)](_0x1a7b27(0x33f),{'children':'🤖'}),_0x589666['t'](_0x1a7b27(0x2b0)),o['jsx'](_0x1a7b27(0x33f),{'className':'univer-text-gray-400','children':'↗'})]})}),o[_0x1a7b27(0x36c)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x20a),'children':['✨','\x20',_0x589666['t'](_0x1a7b27(0x313))]})]})]})]}),_0x2893a1['showDeveloperTools']&&o[_0x1a7b27(0x36c)]('div',{'className':_0x1a7b27(0x321),'children':[o[_0x1a7b27(0x36c)]('h4',{'className':_0x1a7b27(0x2a1),'children':[o[_0x1a7b27(0x2c7)](_0x1a7b27(0x33f),{'children':'🔗'}),'\x20',_0x589666['t'](_0x1a7b27(0x1f9))]}),o[_0x1a7b27(0x36c)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x308),'children':[o['jsxs']('div',{'className':_0x1a7b27(0x2a0),'children':[o[_0x1a7b27(0x2c7)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x307)}),o['jsxs']('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[o[_0x1a7b27(0x2c7)](_0x1a7b27(0x2b9),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x589666['t']('mcpConfig.serverEndpoint')}),o['jsx'](_0x1a7b27(0x233),{'className':_0x1a7b27(0x220),'children':_0x4d8230[_0x1a7b27(0x2e0)]})]})]}),o[_0x1a7b27(0x36c)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[o['jsx']('div',{'className':_0x1a7b27(0x307)}),o[_0x1a7b27(0x36c)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x21b),'children':[o[_0x1a7b27(0x2c7)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x31a),'children':_0x589666['t']('mcpConfig.sessionId')}),o[_0x1a7b27(0x2c7)](_0x1a7b27(0x233),{'className':'univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','children':_0x4d8230[_0x1a7b27(0x312)]||'default'})]})]})]})]}),o[_0x1a7b27(0x2c7)](x['Button'],{'onClick':_0x59a130,'disabled':!_0x22ce8f||_0x23b2c0,'className':_0x1a7b27(0x2d6),'children':_0x23b2c0?o[_0x1a7b27(0x36c)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[o['jsx'](_0x1a7b27(0x33f),{'children':'⟲'}),_0x589666['t'](_0x1a7b27(0x2b8))]}):o[_0x1a7b27(0x36c)](_0x1a7b27(0x33f),{'className':_0x1a7b27(0x33d),'children':[o[_0x1a7b27(0x2c7)](L,{}),_0x589666['t']('mcpConfig.save')]})}),o[_0x1a7b27(0x2c7)](_0x1a7b27(0x2b9),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':o['jsxs']('div',{'className':_0x1a7b27(0x23a),'children':[o[_0x1a7b27(0x2c7)](_0x1a7b27(0x33f),{'className':_0x1a7b27(0x2a9),'children':'💡'}),o[_0x1a7b27(0x36c)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x2f0),'children':[o[_0x1a7b27(0x2c7)](_0x1a7b27(0x2b9),{'className':_0x1a7b27(0x27a),'children':_0x1a7b27(0x21e)}),o[_0x1a7b27(0x36c)](_0x1a7b27(0x2b9),{'children':['•',_0x589666['t'](_0x1a7b27(0x24b))]}),o[_0x1a7b27(0x36c)](_0x1a7b27(0x2b9),{'children':['•',_0x589666['t'](_0x1a7b27(0x21a))]})]})]})})]})})]});}const k=_0x16be13(0x26d),T={'showDeveloperTools':!0x1};var fe=Object['getOwnPropertyDescriptor'],pe=(_0x1187ff,_0xe3f767,_0x4542ba,_0x238925)=>{var _0x26f4a4=_0x16be13;for(var _0x345f6b=_0x238925>0x1?void 0x0:_0x238925?fe(_0xe3f767,_0x4542ba):_0xe3f767,_0x1b5c66=_0x1187ff[_0x26f4a4(0x2b6)]-0x1,_0x54ad65;_0x1b5c66>=0x0;_0x1b5c66--)(_0x54ad65=_0x1187ff[_0x1b5c66])&&(_0x345f6b=_0x54ad65(_0x345f6b)||_0x345f6b);return _0x345f6b;},p=(_0x5ef43f,_0x2c3e9e)=>(_0x3dca4e,_0x423bf5)=>_0x2c3e9e(_0x3dca4e,_0x423bf5,_0x5ef43f);const w='mcp.apiKey',A=_0x16be13(0x34b);exports['MCPConfigUIController']=class extends u[_0x16be13(0x224)]{constructor(_0x5dcb89,_0xb6bfeb,_0x22e877,_0x132a3c,_0x22c777,_0x24009a,_0x19bac1,_0x8bfd8b,_0x276a3c,_0x3295d5){var _0x19da82=_0x16be13;super(),_(this,_0x19da82(0x2bd),new j[(_0x19da82(0x29f))](!0x1)),_(this,_0x19da82(0x340),new j['BehaviorSubject']({})),_(this,'_config$',new j[(_0x19da82(0x29f))]({})),_(this,_0x19da82(0x354),async _0x5ad63e=>{var _0x1b91c1=_0x19da82;this[_0x1b91c1(0x2bd)]['next'](!0x0);try{const _0x2fd2e2=await this[_0x1b91c1(0x353)](_0x5ad63e);if(!_0x2fd2e2[_0x1b91c1(0x211)]){this[_0x1b91c1(0x215)][_0x1b91c1(0x2e2)]({'type':x['MessageType'][_0x1b91c1(0x236)],'content':_0x2fd2e2[_0x1b91c1(0x2c0)]||this[_0x1b91c1(0x2f8)]['t'](_0x1b91c1(0x2ed))});return;}_0x5ad63e[_0x1b91c1(0x209)]?await this[_0x1b91c1(0x24a)]['setItem'](w,_0x5ad63e[_0x1b91c1(0x209)]['trim']()):await this[_0x1b91c1(0x24a)]['removeItem'](w),this[_0x1b91c1(0x2f2)][_0x1b91c1(0x30e)](s[_0x1b91c1(0x36a)],{..._0x5ad63e,'apiKey':_0x5ad63e['apiKey'][_0x1b91c1(0x252)]()}),this[_0x1b91c1(0x340)][_0x1b91c1(0x257)]({..._0x5ad63e,'apiKey':_0x5ad63e[_0x1b91c1(0x209)]['trim']()}),this['_messageService'][_0x1b91c1(0x2e2)]({'type':x[_0x1b91c1(0x23c)]['Success'],'content':this['_localeService']['t']('mcpConfig.configSaved')}),setTimeout(()=>{var _0x339be9=_0x1b91c1;this[_0x339be9(0x2ae)][_0x339be9(0x223)](A);},0x320);}catch(_0x425779){this[_0x1b91c1(0x256)][_0x1b91c1(0x2b3)](_0x1b91c1(0x244),_0x425779),this[_0x1b91c1(0x215)][_0x1b91c1(0x2e2)]({'type':x[_0x1b91c1(0x23c)][_0x1b91c1(0x236)],'content':this[_0x1b91c1(0x2f8)]['t'](_0x1b91c1(0x2b4))});}finally{this[_0x1b91c1(0x2bd)][_0x1b91c1(0x257)](!0x1);}}),(this[_0x19da82(0x2d0)]=_0x5dcb89,this[_0x19da82(0x301)]=_0xb6bfeb,this[_0x19da82(0x2f2)]=_0x22e877,this[_0x19da82(0x24a)]=_0x132a3c,this['_dialogService']=_0x22c777,this[_0x19da82(0x215)]=_0x24009a,this[_0x19da82(0x281)]=_0x19bac1,this[_0x19da82(0x2f8)]=_0x8bfd8b,this['_logService']=_0x276a3c,this[_0x19da82(0x35b)]=_0x3295d5,this[_0x19da82(0x305)](),this[_0x19da82(0x2bf)](),this[_0x19da82(0x292)]());}[_0x16be13(0x32f)](){var _0xdd3b46=_0x16be13;this[_0xdd3b46(0x2ae)]['open']({'id':A,'title':{'title':this[_0xdd3b46(0x2f8)]['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x53bf5b=_0xdd3b46;this[_0x53bf5b(0x2ae)][_0x53bf5b(0x223)](A);}});}['getCurrentConfig'](){return this['_mcpCoreConfig$']['value'];}[_0x16be13(0x292)](){var _0x5028cc=_0x16be13;this[_0x5028cc(0x2f3)](this['_componentManager']['register'](_0x5028cc(0x247),this[_0x5028cc(0x227)]()));}[_0x16be13(0x227)](){var _0x45e003=_0x16be13;return v['connectInjector'](()=>{var _0x55fd84=_0x7f10,_0x151339,_0x3a10a9;return o[_0x55fd84(0x2c7)](B,{'config':this[_0x55fd84(0x34f)][_0x55fd84(0x238)],'mcpCoreConfig':this[_0x55fd84(0x340)][_0x55fd84(0x238)],'onSave':this[_0x55fd84(0x354)],'loading':this[_0x55fd84(0x2bd)][_0x55fd84(0x238)],'connectionStatus$':(_0x151339=this['_mcpConnectionController'])==null?void 0x0:_0x151339[_0x55fd84(0x2da)],'connectionError$':(_0x3a10a9=this[_0x55fd84(0x35b)])==null?void 0x0:_0x3a10a9[_0x55fd84(0x249)]});},this[_0x45e003(0x2d0)]);}['_initConfigSync'](){var _0x299920=_0x16be13;this[_0x299920(0x2f3)](this['_configService'][_0x299920(0x2cf)](s['MCP_PLUGIN_CONFIG_KEY'])[_0x299920(0x2fb)](_0x1a02cb=>{var _0x373478=_0x299920;this[_0x373478(0x340)][_0x373478(0x257)](_0x1a02cb||{});}));const _0x4da551=this[_0x299920(0x2f2)][_0x299920(0x1f0)](s['MCP_PLUGIN_CONFIG_KEY']);this[_0x299920(0x340)][_0x299920(0x257)](_0x4da551||{}),this[_0x299920(0x2f3)](this['_configService'][_0x299920(0x2cf)](k)[_0x299920(0x2fb)](_0xd5fd62=>{var _0x220865=_0x299920;this[_0x220865(0x34f)]['next'](_0xd5fd62||{});}));const _0xd3be31=this[_0x299920(0x2f2)][_0x299920(0x1f0)](k);this['_config$']['next'](_0xd3be31||{});}async[_0x16be13(0x2bf)](){var _0x355480=_0x16be13;const _0x5a54f3=await this[_0x355480(0x24a)][_0x355480(0x23b)](w);if(_0x5a54f3){const _0x150031={...this[_0x355480(0x340)][_0x355480(0x238)],'apiKey':_0x5a54f3};this[_0x355480(0x2f2)][_0x355480(0x30e)](s[_0x355480(0x36a)],_0x150031),this[_0x355480(0x340)][_0x355480(0x257)](_0x150031);}}async['_validateConfig'](_0x4ad894){var _0x58dfc4=_0x16be13;if(!_0x4ad894[_0x58dfc4(0x209)]||_0x4ad894[_0x58dfc4(0x209)][_0x58dfc4(0x252)]()[_0x58dfc4(0x2b6)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x58dfc4(0x2f8)]['t'](_0x58dfc4(0x2fd))};if(_0x4ad894[_0x58dfc4(0x209)][_0x58dfc4(0x252)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x58dfc4(0x2f8)]['t'](_0x58dfc4(0x26b))};try{const _0x59e733=await this[_0x58dfc4(0x2d0)][_0x58dfc4(0x334)](s['MCPConnectionController'])[_0x58dfc4(0x269)](_0x4ad894[_0x58dfc4(0x209)]['trim']());return _0x59e733[_0x58dfc4(0x211)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x59e733['error']||this[_0x58dfc4(0x2f8)]['t'](_0x58dfc4(0x23f))};}catch(_0x34d2d7){return console['warn'](_0x58dfc4(0x225),_0x34d2d7),{'isValid':!0x0};}}},exports['MCPConfigUIController']=pe([p(0x0,u[_0x16be13(0x322)](u[_0x16be13(0x295)])),p(0x1,v[_0x16be13(0x30d)]),p(0x2,u['IConfigService']),p(0x3,u[_0x16be13(0x221)]),p(0x4,v['IDialogService']),p(0x5,v[_0x16be13(0x326)]),p(0x6,u[_0x16be13(0x322)](v['ComponentManager'])),p(0x7,u[_0x16be13(0x322)](u['LocaleService'])),p(0x8,u[_0x16be13(0x339)]),p(0x9,u[_0x16be13(0x322)](s['MCPConnectionController']))],exports[_0x16be13(0x2f4)]);const b={'id':_0x16be13(0x208),'type':u[_0x16be13(0x22c)][_0x16be13(0x1fb)],'handler':async(_0x474cc8,_0xe07f1)=>(_0x474cc8['get'](exports[_0x16be13(0x2f4)])[_0x16be13(0x32f)](),!0x0)};function H(_0x159886,_0x1bfab6){var _0x47ede8=_0x16be13;switch(_0x159886){case s[_0x47ede8(0x21c)][_0x47ede8(0x22d)]:return _0x1bfab6===s[_0x47ede8(0x2dc)]['MISSING_API_KEY']?_0x47ede8(0x276):_0x47ede8(0x338);case s[_0x47ede8(0x21c)][_0x47ede8(0x314)]:return _0x47ede8(0x264);case s['MCPConnectionStatus'][_0x47ede8(0x274)]:return _0x47ede8(0x232);case s['MCPConnectionStatus'][_0x47ede8(0x2db)]:switch(_0x1bfab6){case s[_0x47ede8(0x2dc)][_0x47ede8(0x260)]:return _0x47ede8(0x29e);case s['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x47ede8(0x22a);case s[_0x47ede8(0x2dc)][_0x47ede8(0x310)]:return _0x47ede8(0x235);case s[_0x47ede8(0x2dc)][_0x47ede8(0x218)]:return _0x47ede8(0x366);default:return _0x47ede8(0x273);}case s[_0x47ede8(0x21c)][_0x47ede8(0x2a7)]:return'mcpStatus.retrying';default:return'mcpStatus.unknown';}}function he(_0x289f4e,_0x1d3857,_0x53d9a7){var _0x925078=_0x16be13;const _0x4b2fb=H(_0x289f4e,_0x1d3857),_0x493091=_0x53d9a7['t'](_0x4b2fb);return _0x289f4e===s['MCPConnectionStatus'][_0x925078(0x22d)]&&_0x1d3857===s[_0x925078(0x2dc)]['MISSING_API_KEY']?_0x493091+_0x925078(0x36e)+_0x53d9a7['t'](_0x925078(0x266)):_0x289f4e===s[_0x925078(0x21c)][_0x925078(0x274)]?''+_0x493091:_0x289f4e===s[_0x925078(0x21c)]['DISCONNECTED']||_0x289f4e===s['MCPConnectionStatus'][_0x925078(0x2db)]?_0x493091+_0x925078(0x36e)+_0x53d9a7['t'](_0x925078(0x32c)):_0x493091;}function me(_0x3a8514){var _0x295516=_0x16be13;switch(_0x3a8514){case s['MCPConnectionStatus']['CONNECTED']:return _0x295516(0x2c2);case s[_0x295516(0x21c)][_0x295516(0x314)]:case s[_0x295516(0x21c)][_0x295516(0x2a7)]:return'univer-text-yellow-500';case s[_0x295516(0x21c)][_0x295516(0x2db)]:case s['MCPConnectionStatus'][_0x295516(0x22d)]:return'univer-text-red-500';default:return'univer-text-gray-500';}}function q(_0x2b3897){var _0x460267=_0x16be13;const {status$:_0x236a1c,error$:_0x4b60ca,onConfigure:_0x6c9ae8}=_0x2b3897,_0x5a256d=v[_0x460267(0x36d)](_0x236a1c,s[_0x460267(0x21c)][_0x460267(0x22d)]),_0x2622e1=v[_0x460267(0x36d)](_0x4b60ca,s[_0x460267(0x2dc)][_0x460267(0x272)]),_0xb4a1a9=v[_0x460267(0x30f)](u['LocaleService']),_0xc76b2c=_0x5a256d===s[_0x460267(0x21c)][_0x460267(0x274)],_0x36c64c=_0x5a256d===s[_0x460267(0x21c)][_0x460267(0x314)]||_0x5a256d===s[_0x460267(0x21c)][_0x460267(0x2a7)],_0x4724c0=_0xb4a1a9['t'](H(_0x5a256d,_0x2622e1)),_0x5c9f1b=he(_0x5a256d,_0x2622e1,_0xb4a1a9),_0x1194e9=me(_0x5a256d),_0x3d0417=_0xc76b2c?o[_0x460267(0x2c7)](V,{}):o[_0x460267(0x2c7)](F,{}),_0x80662a=d['useCallback'](()=>{_0x6c9ae8&&_0x6c9ae8();},[_0xc76b2c,_0x36c64c,_0x6c9ae8]);function _0x56cb52(){var _0x4a098b=_0x460267;return o[_0x4a098b(0x36c)](_0x4a098b(0x2b9),{'className':x[_0x4a098b(0x241)](_0x4a098b(0x302),_0x6c9ae8&&_0x4a098b(0x2a4)),'onClick':_0x6c9ae8?_0x80662a:void 0x0,'children':[o[_0x4a098b(0x2c7)]('div',{'className':x[_0x4a098b(0x241)](_0x4a098b(0x270),_0x1194e9),'children':_0x3d0417}),o['jsx'](_0x4a098b(0x2b9),{'className':_0x4a098b(0x263),'children':_0x4724c0})]});}return o[_0x460267(0x2c7)](x[_0x460267(0x240)],{'title':_0x5c9f1b,'placement':_0x460267(0x2b1),'children':_0x56cb52()});}var xe=Object[_0x16be13(0x277)],Pe=(_0x4d62f2,_0x26f6ee,_0xba9ca8,_0x4793bd)=>{for(var _0x57da02=_0x4793bd>0x1?void 0x0:_0x4793bd?xe(_0x26f6ee,_0xba9ca8):_0x26f6ee,_0x289d3f=_0x4d62f2['length']-0x1,_0x1df0d5;_0x289d3f>=0x0;_0x289d3f--)(_0x1df0d5=_0x4d62f2[_0x289d3f])&&(_0x57da02=_0x1df0d5(_0x57da02)||_0x57da02);return _0x57da02;},O=(_0x47b0d3,_0x147e98)=>(_0x3357d4,_0xf7f51f)=>_0x147e98(_0x3357d4,_0xf7f51f,_0x47b0d3);exports[_0x16be13(0x286)]=class extends u[_0x16be13(0x224)]{constructor(_0x4e6148,_0x4ef72c,_0x500792){var _0x1006a1=_0x16be13;super(),this[_0x1006a1(0x2d0)]=_0x4e6148,this[_0x1006a1(0x228)]=_0x4ef72c,this[_0x1006a1(0x301)]=_0x500792,this[_0x1006a1(0x217)]();}['_initStatusComponent'](){var _0x3e79bc=_0x16be13;this[_0x3e79bc(0x2f3)](this[_0x3e79bc(0x301)][_0x3e79bc(0x26c)](v[_0x3e79bc(0x268)][_0x3e79bc(0x371)],()=>v[_0x3e79bc(0x26e)](Ie({'status$':this['_connectionController'][_0x3e79bc(0x2da)],'error$':this[_0x3e79bc(0x228)][_0x3e79bc(0x249)],'onConfigure':()=>this[_0x3e79bc(0x24d)]()}),this[_0x3e79bc(0x2d0)])));}['_handleConfigure'](){var _0x4f0f75=_0x16be13;this[_0x4f0f75(0x2d0)][_0x4f0f75(0x334)](exports[_0x4f0f75(0x2f4)])['showConfigPanel']();}},exports[_0x16be13(0x286)]=Pe([O(0x0,u[_0x16be13(0x322)](u['Injector'])),O(0x1,u['Inject'](s[_0x16be13(0x32b)])),O(0x2,v['IUIPartsService'])],exports[_0x16be13(0x286)]);function Ie(_0x5dc85b){const {status$:_0xa66a32,error$:_0x4e334b,onConfigure:_0x4cf047}=_0x5dc85b;return function(){var _0x1afdd9=_0x7f10;return o[_0x1afdd9(0x2c7)](q,{'status$':_0xa66a32,'error$':_0x4e334b,'onConfigure':_0x4cf047});};}function Se(_0x44b90f){var _0x24f6fc=_0x16be13;return{'id':b['id'],'type':v[_0x24f6fc(0x300)][_0x24f6fc(0x25b)],'icon':_0x24f6fc(0x288),'title':_0x24f6fc(0x1f3),'tooltip':_0x24f6fc(0x1f3)};}const _e={[v['RibbonStartGroup'][_0x16be13(0x242)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Se}}};var ye=Object[_0x16be13(0x277)],Me=(_0x4a1b8f,_0x32e3f4,_0x40d601,_0x31e515)=>{var _0x235026=_0x16be13;for(var _0x9681ce=_0x31e515>0x1?void 0x0:_0x31e515?ye(_0x32e3f4,_0x40d601):_0x32e3f4,_0x5aebb9=_0x4a1b8f[_0x235026(0x2b6)]-0x1,_0x577f18;_0x5aebb9>=0x0;_0x5aebb9--)(_0x577f18=_0x4a1b8f[_0x5aebb9])&&(_0x9681ce=_0x577f18(_0x9681ce)||_0x9681ce);return _0x9681ce;},R=(_0x212b8a,_0x4ac05b)=>(_0x185d01,_0x59a0ca)=>_0x4ac05b(_0x185d01,_0x59a0ca,_0x212b8a);exports[_0x16be13(0x1f6)]=class extends u[_0x16be13(0x224)]{constructor(_0x5432d7,_0x33794c){var _0x4c9138=_0x16be13;super(),this['_commandService']=_0x5432d7,this[_0x4c9138(0x265)]=_0x33794c,this['_initializeCommands'](),this[_0x4c9138(0x35c)]();}[_0x16be13(0x258)](){var _0x2ee13c=_0x16be13;[b][_0x2ee13c(0x234)](_0x38e434=>{var _0x129d84=_0x2ee13c;this[_0x129d84(0x2f3)](this[_0x129d84(0x2ac)][_0x129d84(0x2a8)](_0x38e434));});}['_initializeMenus'](){var _0x233cac=_0x16be13;this[_0x233cac(0x265)][_0x233cac(0x2fc)](_e);}},exports[_0x16be13(0x1f6)]=Me([R(0x0,u[_0x16be13(0x36b)]),R(0x1,v[_0x16be13(0x372)])],exports[_0x16be13(0x1f6)]);const Ee={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x16be13(0x24e),'connected':_0x16be13(0x2a2),'failed':_0x16be13(0x2ca),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x16be13(0x22f),'invalidApiKey':_0x16be13(0x216),'sessionOccupied':_0x16be13(0x2ba),'networkError':_0x16be13(0x34d),'maxRetriesExceeded':_0x16be13(0x318),'clickToConnect':_0x16be13(0x27c),'clickToConfigure':_0x16be13(0x1fa)},'mcpConfig':{'title':_0x16be13(0x2bb),'description':_0x16be13(0x23e),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x16be13(0x361),'apiKeyHint':_0x16be13(0x298),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x16be13(0x2bc),'connectionInfo':_0x16be13(0x2d5),'serverEndpoint':_0x16be13(0x32e),'sessionId':_0x16be13(0x24c),'maxRetries':_0x16be13(0x325),'save':_0x16be13(0x2d9),'saving':_0x16be13(0x30a),'note1':_0x16be13(0x30c),'note2':_0x16be13(0x347),'configSaved':_0x16be13(0x319),'configError':_0x16be13(0x28f),'apiApplyInfo':{'title':_0x16be13(0x2e9),'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':_0x16be13(0x33e),'getStarted':_0x16be13(0x2ea)},'validation':{'apiKeyRequired':_0x16be13(0x357),'apiKeyTooShort':_0x16be13(0x2d8),'invalidConfig':_0x16be13(0x2ff),'invalidApiKey':_0x16be13(0x2cd)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x16be13(0x337),'connected':_0x16be13(0x28b),'failed':_0x16be13(0x283),'retrying':_0x16be13(0x2ab)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x16be13(0x26f),'networkError':_0x16be13(0x35f),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},Ne={'mcpStatus':{'disconnected':_0x16be13(0x2ec),'connecting':_0x16be13(0x2ad),'connected':_0x16be13(0x2c6),'failed':_0x16be13(0x299),'retrying':_0x16be13(0x290),'unknown':'MCP\x20状态未知','missingApiKey':_0x16be13(0x219),'invalidApiKey':'MCP:\x20无效的\x20API\x20密钥','sessionOccupied':_0x16be13(0x27e),'networkError':_0x16be13(0x2d1),'maxRetriesExceeded':_0x16be13(0x278),'clickToConnect':_0x16be13(0x22e),'clickToConfigure':_0x16be13(0x2e4)},'mcpConfig':{'title':_0x16be13(0x24f),'description':_0x16be13(0x1fd),'apiKey':_0x16be13(0x237),'apiKeyPlaceholder':_0x16be13(0x1fc),'apiKeyHint':_0x16be13(0x2c4),'enableAuth':'启用身份验证','enableAuthHint':_0x16be13(0x370),'connectionInfo':_0x16be13(0x2b2),'serverEndpoint':'服务器端点','sessionId':'会话ID','maxRetries':_0x16be13(0x25a),'save':_0x16be13(0x323),'saving':_0x16be13(0x297),'note1':_0x16be13(0x289),'note2':_0x16be13(0x203),'configSaved':_0x16be13(0x333),'configError':_0x16be13(0x206),'apiApplyInfo':{'title':_0x16be13(0x2b7),'description':_0x16be13(0x259),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x16be13(0x1ff)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x16be13(0x231),'invalidConfig':_0x16be13(0x2d4),'invalidApiKey':_0x16be13(0x207)},'connectionStatus':{'disconnected':_0x16be13(0x2de),'connecting':'连接中...','connected':_0x16be13(0x2af),'failed':_0x16be13(0x25f),'retrying':'重连中...'},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':_0x16be13(0x2c8),'sessionOccupied':_0x16be13(0x351),'networkError':_0x16be13(0x246),'maxRetriesExceeded':_0x16be13(0x29a)}}};var be=Object['defineProperty'],je=Object['getOwnPropertyDescriptor'],we=(_0x4f761f,_0x21371a,_0x25c0bb)=>_0x21371a in _0x4f761f?be(_0x4f761f,_0x21371a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25c0bb}):_0x4f761f[_0x21371a]=_0x25c0bb,Ae=(_0x300067,_0x5bf7a6,_0x2638ff,_0x4ceafc)=>{var _0x556f13=_0x16be13;for(var _0x5b3b01=_0x4ceafc>0x1?void 0x0:_0x4ceafc?je(_0x5bf7a6,_0x2638ff):_0x5bf7a6,_0x78b792=_0x300067[_0x556f13(0x2b6)]-0x1,_0x3b88f1;_0x78b792>=0x0;_0x78b792--)(_0x3b88f1=_0x300067[_0x78b792])&&(_0x5b3b01=_0x3b88f1(_0x5b3b01)||_0x5b3b01);return _0x5b3b01;},y=(_0x58f5cb,_0x4955f3)=>(_0x2ed414,_0x289bd6)=>_0x4955f3(_0x2ed414,_0x289bd6,_0x58f5cb),Oe=(_0xd505fa,_0x331007,_0x284553)=>we(_0xd505fa,_0x331007+'',_0x284553);exports['UniverMCPUIPlugin']=class extends u[_0x16be13(0x35d)]{constructor(_0x39d696=T,_0x1a7743,_0x1dd86a,_0x38e524,_0x513922,_0x5c5443){var _0x1eba7d=_0x16be13;super(),this[_0x1eba7d(0x275)]=_0x39d696,this[_0x1eba7d(0x2d0)]=_0x1a7743,this[_0x1eba7d(0x2f2)]=_0x1dd86a,this['_uiPartsService']=_0x38e524,this[_0x1eba7d(0x24a)]=_0x513922,this['_localeService']=_0x5c5443;const {..._0x3e367b}=u['merge']({},T,this[_0x1eba7d(0x275)]);this[_0x1eba7d(0x2f2)][_0x1eba7d(0x30e)](k,_0x3e367b);}async[_0x16be13(0x26a)](){var _0x536e2b=_0x16be13;[[exports[_0x536e2b(0x286)]],[exports['MCPConfigUIController']],[exports[_0x536e2b(0x1f6)]]][_0x536e2b(0x234)](_0x20ae7b=>this['_injector'][_0x536e2b(0x285)](_0x20ae7b)),this[_0x536e2b(0x2d0)][_0x536e2b(0x334)](exports[_0x536e2b(0x286)]),this[_0x536e2b(0x2d0)]['get'](exports[_0x536e2b(0x2f4)]),this[_0x536e2b(0x2d0)][_0x536e2b(0x334)](exports[_0x536e2b(0x1f6)]);}},Oe(exports['UniverMCPUIPlugin'],'pluginName',_0x16be13(0x1f7)),exports['UniverMCPUIPlugin']=Ae([u[_0x16be13(0x33b)](s['UniverMCPPlugin']),y(0x1,u['Inject'](u['Injector'])),y(0x2,u[_0x16be13(0x25e)]),y(0x3,v[_0x16be13(0x30d)]),y(0x4,u[_0x16be13(0x221)]),y(0x5,u['Inject'](u[_0x16be13(0x20f)]))],exports['UniverMCPUIPlugin']),exports[_0x16be13(0x247)]=B,exports[_0x16be13(0x27d)]=q,exports[_0x16be13(0x212)]=b,exports['enUS']=Ee,exports[_0x16be13(0x261)]=Ne;
1
+ 'use strict';var _0x409006=_0x5eff;(function(_0x95b359,_0x15c9c7){var _0x52ad14=_0x5eff,_0xf29189=_0x95b359();while(!![]){try{var _0x50e3c2=-parseInt(_0x52ad14(0x1ce))/0x1*(-parseInt(_0x52ad14(0x10c))/0x2)+parseInt(_0x52ad14(0xef))/0x3*(parseInt(_0x52ad14(0x143))/0x4)+-parseInt(_0x52ad14(0xe9))/0x5*(-parseInt(_0x52ad14(0x24d))/0x6)+-parseInt(_0x52ad14(0x201))/0x7+-parseInt(_0x52ad14(0xed))/0x8*(-parseInt(_0x52ad14(0x26b))/0x9)+parseInt(_0x52ad14(0x226))/0xa*(-parseInt(_0x52ad14(0x13b))/0xb)+-parseInt(_0x52ad14(0x25e))/0xc;if(_0x50e3c2===_0x15c9c7)break;else _0xf29189['push'](_0xf29189['shift']());}catch(_0x4b8e79){_0xf29189['push'](_0xf29189['shift']());}}}(_0x25ff,0x59ce6));var le=Object[_0x409006(0x24a)],ue=(_0xa3348a,_0x540138,_0x671ef6)=>_0x540138 in _0xa3348a?le(_0xa3348a,_0x540138,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x671ef6}):_0xa3348a[_0x540138]=_0x671ef6,y=(_0x387aef,_0x266b95,_0x3a6f88)=>ue(_0x387aef,typeof _0x266b95!='symbol'?_0x266b95+'':_0x266b95,_0x3a6f88);Object[_0x409006(0x24a)](exports,Symbol[_0x409006(0x1ba)],{'value':_0x409006(0x12f)});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),P=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),w=require('@univerjs/network');var g=function(){var _0xd17a72=_0x409006;return g=Object[_0xd17a72(0x139)]||function(_0x12f0fc){var _0x440ad1=_0xd17a72;for(var _0x2eb922,_0x579aee=0x1,_0xe5622f=arguments[_0x440ad1(0x20b)];_0x579aee<_0xe5622f;_0x579aee++){_0x2eb922=arguments[_0x579aee];for(var _0x411a80 in _0x2eb922)Object['prototype'][_0x440ad1(0x210)]['call'](_0x2eb922,_0x411a80)&&(_0x12f0fc[_0x411a80]=_0x2eb922[_0x411a80]);}return _0x12f0fc;},g[_0xd17a72(0xf1)](this,arguments);},ve=function(_0x58ee63,_0x13bda0){var _0x386a0a=_0x409006,_0xf5383f={};for(var _0x1c52fd in _0x58ee63)Object[_0x386a0a(0x23e)][_0x386a0a(0x210)][_0x386a0a(0x263)](_0x58ee63,_0x1c52fd)&&_0x13bda0[_0x386a0a(0x18b)](_0x1c52fd)<0x0&&(_0xf5383f[_0x1c52fd]=_0x58ee63[_0x1c52fd]);if(_0x58ee63!=null&&typeof Object['getOwnPropertySymbols']==_0x386a0a(0x1a5)){for(var _0x35d1bb=0x0,_0x1c52fd=Object[_0x386a0a(0x256)](_0x58ee63);_0x35d1bb<_0x1c52fd[_0x386a0a(0x20b)];_0x35d1bb++)_0x13bda0['indexOf'](_0x1c52fd[_0x35d1bb])<0x0&&Object[_0x386a0a(0x23e)][_0x386a0a(0x228)][_0x386a0a(0x263)](_0x58ee63,_0x1c52fd[_0x35d1bb])&&(_0xf5383f[_0x1c52fd[_0x35d1bb]]=_0x58ee63[_0x1c52fd[_0x35d1bb]]);}return _0xf5383f;},I=d[_0x409006(0x1d6)](function(_0x39f811,_0x3af133){var _0x25e340=_0x409006,_0x5b93ac=_0x39f811['icon'],_0x455fd4=_0x39f811['id'],_0xa544f1=_0x39f811[_0x25e340(0x1cb)],_0x3720c4=_0x39f811[_0x25e340(0x116)],_0x32ce44=ve(_0x39f811,[_0x25e340(0x1da),'id',_0x25e340(0x1cb),_0x25e340(0x116)]),_0x22ee9f=_0x25e340(0x198)[_0x25e340(0x25b)](_0x455fd4,'\x20')[_0x25e340(0x25b)](_0xa544f1||'')[_0x25e340(0x245)](),_0x21ae07=d[_0x25e340(0x1f5)]('_'['concat'](ge()));return B(_0x5b93ac,''[_0x25e340(0x25b)](_0x455fd4),{'defIds':_0x5b93ac[_0x25e340(0x216)],'idSuffix':_0x21ae07[_0x25e340(0x268)]},g({'ref':_0x3af133,'className':_0x22ee9f},_0x32ce44),_0x3720c4);});function B(_0x3c6244,_0x2bec9f,_0x5b227d,_0x4dce7b,_0x550a41){var _0x9d61aa=_0x409006;return d[_0x9d61aa(0x231)](_0x3c6244['tag'],g(g({'key':_0x2bec9f},de(_0x3c6244,_0x5b227d,_0x550a41)),_0x4dce7b),(Ce(_0x3c6244,_0x5b227d)['children']||[])[_0x9d61aa(0x1ca)](function(_0x5140d6,_0x59ebc0){var _0x3bd02f=_0x9d61aa;return B(_0x5140d6,''['concat'](_0x2bec9f,'-')[_0x3bd02f(0x25b)](_0x3c6244[_0x3bd02f(0x257)],'-')['concat'](_0x59ebc0),_0x5b227d,void 0x0,_0x550a41);}));}function de(_0xc07405,_0x24e23f,_0x210762){var _0x1ece03=_0x409006,_0x44da6f=g({},_0xc07405[_0x1ece03(0x11d)]);_0x210762!=null&&_0x210762[_0x1ece03(0x181)]&&_0x44da6f[_0x1ece03(0x103)]===_0x1ece03(0x181)&&(_0x44da6f['fill']=_0x210762[_0x1ece03(0x181)]),_0xc07405[_0x1ece03(0x257)]===_0x1ece03(0x1bb)&&_0x44da6f['id']&&(_0x44da6f['id']=_0x44da6f['id']+_0x24e23f[_0x1ece03(0xe6)]),Object[_0x1ece03(0x169)](_0x44da6f)['forEach'](function(_0x70d486){var _0x173bd6=_0x1ece03,_0x149c68=_0x70d486[0x0],_0x4116fa=_0x70d486[0x1];_0x149c68===_0x173bd6(0x1bb)&&typeof _0x4116fa==_0x173bd6(0x202)&&(_0x44da6f[_0x149c68]=_0x4116fa['replace'](/url\(#(.*)\)/,_0x173bd6(0x264)[_0x173bd6(0x25b)](_0x24e23f[_0x173bd6(0xe6)],')')));});var _0x2e4b7f=_0x24e23f[_0x1ece03(0x216)];return!_0x2e4b7f||_0x2e4b7f['length']===0x0||(_0xc07405[_0x1ece03(0x257)]===_0x1ece03(0x22f)&&_0x44da6f['xlink:href']&&(_0x44da6f[_0x1ece03(0x1d9)]=_0x44da6f[_0x1ece03(0x1d9)]+_0x24e23f['idSuffix']),Object[_0x1ece03(0x169)](_0x44da6f)[_0x1ece03(0x26c)](function(_0x2f65de){var _0x5a44dd=_0x1ece03,_0x2a462c=_0x2f65de[0x0],_0xe6ac37=_0x2f65de[0x1];typeof _0xe6ac37==_0x5a44dd(0x202)&&(_0x44da6f[_0x2a462c]=_0xe6ac37[_0x5a44dd(0x17d)](/url\(#(.*)\)/,_0x5a44dd(0x264)[_0x5a44dd(0x25b)](_0x24e23f[_0x5a44dd(0xe6)],')')));})),_0x44da6f;}function Ce(_0x1b4ebb,_0x37feee){var _0x595e2a=_0x409006,_0x22d98f,_0x57a224=_0x37feee['defIds'];return!_0x57a224||_0x57a224[_0x595e2a(0x20b)]===0x0?_0x1b4ebb:_0x1b4ebb['tag']===_0x595e2a(0x1fb)&&(!((_0x22d98f=_0x1b4ebb[_0x595e2a(0x119)])===null||_0x22d98f===void 0x0)&&_0x22d98f['length'])?g(g({},_0x1b4ebb),{'children':_0x1b4ebb[_0x595e2a(0x119)][_0x595e2a(0x1ca)](function(_0x26f5ac){var _0x45cc65=_0x595e2a;return typeof _0x26f5ac['attrs']['id']=='string'&&_0x57a224&&_0x57a224['includes'](_0x26f5ac[_0x45cc65(0x11d)]['id'])?g(g({},_0x26f5ac),{'attrs':g(g({},_0x26f5ac['attrs']),{'id':_0x26f5ac[_0x45cc65(0x11d)]['id']+_0x37feee[_0x45cc65(0xe6)]})}):_0x26f5ac;})}):_0x1b4ebb;}function ge(){var _0x3232aa=_0x409006;return Math[_0x3232aa(0x110)]()[_0x3232aa(0x183)](0x24)[_0x3232aa(0x157)](0x2,0x8);}I[_0x409006(0x18c)]='UniverIcon';function _0x5eff(_0x24ed3d,_0x32a9f2){var _0x25ff37=_0x25ff();return _0x5eff=function(_0x5eff17,_0x5af38b){_0x5eff17=_0x5eff17-0xe6;var _0x5c49b4=_0x25ff37[_0x5eff17];return _0x5c49b4;},_0x5eff(_0x24ed3d,_0x32a9f2);}var fe={'tag':_0x409006(0x1c4),'attrs':{'xmlns':_0x409006(0x1e4),'fill':'none','viewBox':_0x409006(0x1cd),'width':_0x409006(0x238),'height':_0x409006(0x238)},'children':[{'tag':_0x409006(0x265),'attrs':{'fill':_0x409006(0x208),'d':_0x409006(0x16e),'fillRule':_0x409006(0x17a),'clipRule':_0x409006(0x17a)}}]},V=d[_0x409006(0x1d6)](function(_0x24251e,_0x3202a8){var _0x43dc4d=_0x409006;return d[_0x43dc4d(0x231)](I,Object[_0x43dc4d(0x139)]({},_0x24251e,{'id':_0x43dc4d(0x23c),'ref':_0x3202a8,'icon':fe}));});V[_0x409006(0x18c)]=_0x409006(0x16f);var pe={'tag':_0x409006(0x1c4),'attrs':{'xmlns':_0x409006(0x1e4),'fill':_0x409006(0x1e6),'viewBox':_0x409006(0x148),'width':_0x409006(0x238),'height':_0x409006(0x238)},'children':[{'tag':_0x409006(0x265),'attrs':{'stroke':_0x409006(0x208),'d':_0x409006(0x21f),'strokeLinecap':_0x409006(0x218),'strokeLinejoin':_0x409006(0x218),'strokeWidth':1.33}},{'tag':_0x409006(0x265),'attrs':{'stroke':_0x409006(0x208),'d':_0x409006(0x128),'strokeLinecap':'round','strokeLinejoin':_0x409006(0x218),'strokeWidth':1.33}}]},F=d[_0x409006(0x1d6)](function(_0x3524a1,_0x1bb905){var _0x3d8c09=_0x409006;return d['createElement'](I,Object[_0x3d8c09(0x139)]({},_0x3524a1,{'id':_0x3d8c09(0x142),'ref':_0x1bb905,'icon':pe}));});function _0x25ff(){var _0x4a2b4f=['sessionId$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpStatus.clickToConnect','ILogService','univerjs-icon\x20univerjs-icon-','Enable\x20Authentication','univer_session_id:','Disposable','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','重连中...','MCPConfigUIController','connectionStatus$','mcpConfig.authorizationDescription','Copy\x20the\x20JSON\x20configuration\x20below','CloseSmallSingle','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','function','mcp-config-dialog','配置无效','MCP:\x20Max\x20Retries\x20Exceeded','text','subscribeConfigValue$','disposeWithMe','mcpConfig.configStep3','mcpConfig.connectionStatus.disconnected','MCPUIMenuController','Failed\x20to\x20save\x20configuration','_validateConfig','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Disconnected','_loadStoredApiKey','useCallback','univer-text-xs\x20univer-text-gray-600','mcpStatus.networkError','_mcpCoreConfig$','translate(.97)','_apiKey$','toStringTag','mask','BuiltInUIPart','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','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20saved\x20successfully','_config','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','setItem','svg','mergeMenu','RETRYING','您的\x20API\x20密钥将在此浏览器中本地存储','mcpStatus.maxRetriesExceeded','mcpStatus.disconnected','map','className','API\x20key\x20is\x20required\x20to\x20connect','0\x200\x2016\x2016','311919OvpjQc','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','0\x200\x2017\x2016','MCPStatusDisplay','useObservable','配置保存失败','Tooltip','_injector','forwardRef','mcpConfig.apiApplyInfo.univerAiLabel','mcpConfig.configSaved','xlink:href','icon','url(#off-line-icon_clip0_910_343)','univer.plus','mcpConfig.configStep1','showDeveloperTools','配置更改将立即生效','_config$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','subscribe','onStarting','http://www.w3.org/2000/svg','mcpConfig.validation.apiKeyTooShort','none','COMMAND','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','MCP:\x20API\x20Key\x20Missing','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-bg-green-500','_registerComponent','Univer\x20AI\x20控制台','Plugin','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP:\x20无效的\x20API\x20密钥','\x20-\x20','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','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','API\x20Key','useRef','mcpStatus.connected','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','isValid','ILocalStorageService','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','defs','_menuManagerService','push','CONNECTING','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpConfig.connectionError.invalidApiKey','4342625JRxqhL','string','add','ComponentManager','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','has','bottom','currentColor','errorMessage','mcpConfig.validation.invalidApiKey','length','MCP\x20状态未知','open','未连接','mcpConfig.validation.apiKeyRequired','hasOwnProperty','apiKey','span','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20超出最大重试次数','UniverMCPUIPlugin','defIds','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','round','univer-min-w-0\x20univer-flex-1','MenuIcon','HEADER_MENU','RibbonStartGroup','API\x20key\x20with\x20Bearer\x20prefix.','CommandType','M5.21243\x205.62036L11.8791\x2012.287','需要\x20API\x20密钥才能连接','Univer\x20AI\x20Console','INVALID_API_KEY','Input','value','_messageService','627920CNKINN','div','propertyIsEnumerable','univer-space-y-5','useState','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','showConfigPanel','MAX_RETRIES_EXCEEDED','mcpConfig.apiApplyInfo.getStarted','use','_initializeCommands','createElement','Saving...','mcpStatus.retrying','MCP_PLUGIN_CONFIG_KEY','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20密钥无效,请检查密钥是否正确','univer-flex\x20univer-items-start\x20univer-gap-2','1em','mcpConfig.configInstructions','off','univer-text-sm\x20univer-text-gray-500','check-mark-icon','SESSION_ID_OCCUPIED','prototype','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','clipPath','_localeService','ICommandService','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','mcpStatus.sessionOccupied','trim','Get\x20your\x20API\x20key\x20in\x20seconds','NETWORK_ERROR','会话ID','连接失败','defineProperty','WebSocketService','mcpConfig.description','608334myyHtA','最大重试次数','univer-text-white','Configuration\x20Parameters:','_initializeMenus','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','hover:univer-opacity-80','univer-text-gray-500','CONNECTED','getOwnPropertySymbols','tag','mcpStatus.failed','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','getOwnPropertyDescriptor','concat','show','off-line-icon_clip0_910_343','7566276WsLzqw','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','MCP:\x20会话被占用','您的\x20API\x20密钥安全存储在本地存储中','Enter\x20your\x20API\x20key','call','url(#$1','path','OffLineIcon','BUTTON','current','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','7767sjohvZ','forEach','clsx','idSuffix','MCP\x20Retrying...','pluginName','25htWpNz','MCP_UI_PLUGIN','mcpConfig.connectionStatus.failed','MCP\x20连接中...','3512nVFDEr','univer-flex-shrink-0\x20univer-text-blue-500','69537naMFJi','univer-space-y-2','apply','配置\x20MCP\x20使用\x20AI\x20操作电子表格','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-bg-red-500','setConfig','MCP:\x20Invalid\x20API\x20Key','zhCN','mcpConfig.title','getCurrentConfig','_loading$','MessageType','M0\x200H16V16H0z','enUS','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','mcpConfig.configStep2','mcpConfig.apiApplyInfo.description','DISCONNECTED','univer-text-yellow-500','fill','_dialogService','MCP\x20Configuration','_handleConfigSave','includes','error','MCP\x20Client\x20Configuration','LocaleService','OpenMCPConfigPanelCommand','2TcaOiG','将配置添加到您的\x20MCP\x20客户端设置文件中','Error','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','random','Success','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univer-font-medium','OTHERS','merge','extend','超出最大重试次数,请稍后再试','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','children','_initConfigSync','Inject','univer-flex\x20univer-items-center\x20univer-gap-3','attrs','Injector','MCP\x20客户端配置','get','off-line-icon','Session\x20ID','MCPConnectionStatus','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_connectionController','connectionError$','带有\x20Bearer\x20前缀的\x20API\x20密钥。','M5.21243\x2012.287L11.8791\x205.62036','univer-text-xs\x20univer-text-gray-500','配置参数:','jsx','mcpStatus.connecting','univer-flex-shrink-0\x20univer-text-red-500','保存配置','Module','点击配置\x20MCP','API\x20密钥长度至少需要\x2010\x20位','IConfigService','mcpConfig.connectionError.sessionOccupied','mcpConfig.configParameters','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcp-ui.command.openConfigPanel','useDependency','univer-flex\x20univer-items-center\x20univer-gap-2','assign','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','44PsNseC','https://console.univer.ai','javascript:void(0)','validateApiKey','mcpConfig.apiApplyInfo.title','_uiPartsService','_handleConfigure','close-small-single','116NcDKFf','_configService','mcpConfig.validation.invalidConfig','MCP\x20配置','univer-bg-blue-500','0\x200\x2017\x2017','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-flex\x20univer-items-start\x20univer-gap-3','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','mcpConfig.configError','What\x20is\x20API\x20Key?','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','Max\x20Retries','重启您的\x20MCP\x20客户端以使配置生效','univer-space-y-4','white','点击连接\x20MCP','MCPConnectionError','_initStatusComponent','Bearer\x20','substring','Connection\x20Failed','jsxs','Configuration\x20Steps:','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','univer-flex\x20univer-gap-3','MCP\x20Disconnected','网络连接错误,请检查您的网络连接','Click\x20to\x20connect\x20MCP','_logService','mcpServerUrl','mcpConfig.note1','next','connectInjector','mcpConfig.connectionStatus.connecting','MCP\x20已断开','getConfig','保存中...','entries','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','HelpSingle','close','univer-text-red-500','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','CheckMarkIcon','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.apiKeyPlaceholder','IUIPartsService','Configuration\x20Notes:','__setCustomHeaders','_mcpConnectionController','MCPConfigPanel','url(#on-line-icon_clip0_910_349)','register','evenodd','mcpConfig.saving','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','replace','mcpConfig.connectionStatus.retrying','Save\x20Configuration','_componentManager','colorChannel1','on-line-icon_clip0_910_349','toString','配置步骤:','FAILED','_commandService','MCPConnectionUIController','Close','MCP\x20已连接','BehaviorSubject','indexOf','displayName','mcpConfig.apiKeyHint','启用身份验证以获得安全连接','MCPConnectionController','https://console.univer.plus','Button','_localStorageService','univer-flex-1'];_0x25ff=function(){return _0x4a2b4f;};return _0x25ff();}F[_0x409006(0x18c)]=_0x409006(0x1a2);var he={'tag':_0x409006(0x1c4),'attrs':{'xmlns':_0x409006(0x1e4),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x409006(0x238),'height':_0x409006(0x238)},'children':[{'tag':_0x409006(0x265),'attrs':{'fill':'currentColor','d':_0x409006(0x118)}},{'tag':'path','attrs':{'fill':_0x409006(0x208),'d':'M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z'}},{'tag':'path','attrs':{'fill':_0x409006(0x208),'d':_0x409006(0x243),'fillRule':'evenodd','clipRule':'evenodd'}}]},H=d[_0x409006(0x1d6)](function(_0x4f7968,_0x9d3f66){var _0x4106a2=_0x409006;return d[_0x4106a2(0x231)](I,Object[_0x4106a2(0x139)]({},_0x4f7968,{'id':'help-single','ref':_0x9d3f66,'icon':he}));});H[_0x409006(0x18c)]=_0x409006(0x16b);var me={'tag':_0x409006(0x1c4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x409006(0x1e6),'viewBox':_0x409006(0x1cd),'width':_0x409006(0x238),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x409006(0x1db)},'children':[{'tag':_0x409006(0x265),'attrs':{'stroke':_0x409006(0x208),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x409006(0x218),'strokeLinejoin':_0x409006(0x218),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x409006(0x240),'attrs':{'id':_0x409006(0x25d)},'children':[{'tag':'path','attrs':{'fill':_0x409006(0x152),'d':_0x409006(0xfc)}}]}]}],'defIds':[_0x409006(0x25d)]},q=d[_0x409006(0x1d6)](function(_0x2e1aaf,_0x38a682){var _0x2c90f7=_0x409006;return d['createElement'](I,Object[_0x2c90f7(0x139)]({},_0x2e1aaf,{'id':_0x2c90f7(0x121),'ref':_0x38a682,'icon':me}));});q['displayName']=_0x409006(0x266);var xe={'tag':_0x409006(0x1c4),'attrs':{'xmlns':_0x409006(0x1e4),'fill':_0x409006(0x1e6),'viewBox':_0x409006(0x1d0),'width':_0x409006(0x238),'height':_0x409006(0x238)},'children':[{'tag':'g','attrs':{'clipPath':_0x409006(0x178)},'children':[{'tag':'path','attrs':{'stroke':_0x409006(0x208),'d':_0x409006(0x1f3),'strokeLinecap':_0x409006(0x218),'strokeLinejoin':_0x409006(0x218),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x409006(0x240),'attrs':{'id':_0x409006(0x182)},'children':[{'tag':_0x409006(0x265),'attrs':{'fill':_0x409006(0x152),'d':_0x409006(0xfc),'transform':_0x409006(0x1b8)}}]}]}],'defIds':[_0x409006(0x182)]},z=d[_0x409006(0x1d6)](function(_0x3122a2,_0x10f12e){var _0x39ac0c=_0x409006;return d[_0x39ac0c(0x231)](I,Object[_0x39ac0c(0x139)]({},_0x3122a2,{'id':'on-line-icon','ref':_0x10f12e,'icon':xe}));});z[_0x409006(0x18c)]='OnLineIcon';function W(_0xbbe59c){var _0x230aac=_0x409006,_0x42ded8,_0x4c9d87;const {mcpCoreConfig:_0x1aba04,onSave:_0x2daba7,loading:_0x2231df=!0x1,config:_0x39f1f1,connectionStatus$:_0x364af9,connectionError$:_0x5ae445,currentApiKey$:_0x53f8c8,currentSessionId$:_0x3aeb6b}=_0xbbe59c,_0x471639=v[_0x230aac(0x137)](u[_0x230aac(0x10a)]),_0x248b1c=v['useObservable'](_0x364af9,s[_0x230aac(0x123)]['DISCONNECTED']),_0x1616c9=v[_0x230aac(0x1d2)](_0x5ae445,s[_0x230aac(0x154)]['NONE']),_0x3f65be=v[_0x230aac(0x1d2)](_0x3aeb6b,''),_0x547980=v[_0x230aac(0x1d2)](_0x53f8c8,''),[_0x30b52b,_0x2a1b87]=d[_0x230aac(0x22a)](_0x547980||''),_0x562c3f=!0x0,_0x399ffc=_0x39f1f1[_0x230aac(0x1de)]&&_0x1aba04[_0x230aac(0x161)]&&(_0x1aba04[_0x230aac(0x161)][_0x230aac(0x107)](_0x230aac(0x1dc))||_0x1aba04['mcpServerUrl'][_0x230aac(0x107)]('univer.ai')),_0x5e071b=(_0x42ded8=_0x1aba04['mcpServerUrl'])==null?void 0x0:_0x42ded8[_0x230aac(0x107)]('univer.plus'),_0x2027ba=(_0x4c9d87=_0x1aba04['mcpServerUrl'])==null?void 0x0:_0x4c9d87[_0x230aac(0x107)]('univer.ai'),_0x99373f=_0x5e071b?_0x230aac(0x190):_0x230aac(0x13c),_0xbd1c51=_0x39f1f1[_0x230aac(0x1de)]&&(_0x5e071b||_0x2027ba),[_0x4da052,_0x1e5e59]=d[_0x230aac(0x22a)](!_0x30b52b[_0x230aac(0x245)]()),_0x67cae8=(_0x4108c1,_0x542375)=>{var _0x1efb3f=_0x230aac;if(_0x542375===s[_0x1efb3f(0x154)]['INVALID_API_KEY'])return _0x1efb3f(0x205);switch(_0x4108c1){case s[_0x1efb3f(0x123)][_0x1efb3f(0x255)]:return _0x1efb3f(0x1fa);case s['MCPConnectionStatus'][_0x1efb3f(0x1fe)]:case s[_0x1efb3f(0x123)][_0x1efb3f(0x1c6)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s[_0x1efb3f(0x123)]['FAILED']:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x210c95=(_0x471a7,_0x3f64ae)=>{var _0x152c7d=_0x230aac;if(_0x3f64ae===s[_0x152c7d(0x154)][_0x152c7d(0x222)])return _0x152c7d(0xf4);switch(_0x471a7){case s[_0x152c7d(0x123)][_0x152c7d(0x255)]:return _0x152c7d(0x1eb);case s[_0x152c7d(0x123)][_0x152c7d(0x1fe)]:case s['MCPConnectionStatus'][_0x152c7d(0x1c6)]:return _0x152c7d(0x147);case s[_0x152c7d(0x123)][_0x152c7d(0x185)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x29e536=_0x1a0406=>{var _0x26d596=_0x230aac;switch(_0x1a0406){case s[_0x26d596(0x123)][_0x26d596(0x255)]:return _0x471639['t']('mcpConfig.connectionStatus.connected');case s[_0x26d596(0x123)][_0x26d596(0x1fe)]:return _0x471639['t'](_0x26d596(0x165));case s['MCPConnectionStatus']['FAILED']:return _0x471639['t'](_0x26d596(0xeb));case s[_0x26d596(0x123)][_0x26d596(0x1c6)]:return _0x471639['t'](_0x26d596(0x17e));default:return _0x471639['t'](_0x26d596(0x1ad));}},_0xc7b0b2=_0x397670=>{var _0x300794=_0x230aac;switch(_0x397670){case s[_0x300794(0x154)][_0x300794(0x222)]:return _0x471639['t'](_0x300794(0x200));case s[_0x300794(0x154)][_0x300794(0x23d)]:return _0x471639['t'](_0x300794(0x133));case s['MCPConnectionError'][_0x300794(0x247)]:return _0x471639['t']('mcpConfig.connectionError.networkError');case s[_0x300794(0x154)]['MAX_RETRIES_EXCEEDED']:return _0x471639['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x2670dd=d[_0x230aac(0x1b4)](()=>{var _0x5be7ae=_0x230aac;const _0x5e2ae6={..._0x1aba04,'apiKey':_0x30b52b[_0x5be7ae(0x245)](),'enableAuth':_0x562c3f};_0x2daba7(_0x5e2ae6);},[_0x1aba04,_0x30b52b,_0x562c3f,_0x2daba7]),_0x3fb436=_0x30b52b['trim']()[_0x230aac(0x20b)]>0x0;return i[_0x230aac(0x159)]('div',{'className':_0x230aac(0x1c1),'children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x1cf),'children':i['jsxs'](_0x230aac(0x227),{'className':_0x230aac(0x11c),'children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':i[_0x230aac(0x12b)](_0x230aac(0x212),{'className':_0x230aac(0x24f),'children':'⚙'})}),i[_0x230aac(0x12b)](_0x230aac(0x227),{'children':i[_0x230aac(0x12b)]('p',{'className':_0x230aac(0x23b),'children':_0x471639['t'](_0x230aac(0x24c))})})]})}),i['jsxs']('div',{'className':_0x230aac(0x14b),'children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x1ff)+_0x67cae8(_0x248b1c,_0x1616c9)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':i['jsxs'](_0x230aac(0x227),{'className':_0x230aac(0x138),'children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x195)+_0x210c95(_0x248b1c,_0x1616c9)+_0x230aac(0x17c)}),i[_0x230aac(0x12b)](_0x230aac(0x212),{'className':'univer-text-sm\x20univer-font-medium','children':_0x29e536(_0x248b1c)})]})}),_0x1616c9!==s[_0x230aac(0x154)]['NONE']&&(_0x248b1c===s[_0x230aac(0x123)][_0x230aac(0x185)]||_0x1616c9===s['MCPConnectionError']['INVALID_API_KEY'])&&i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x1ea),'children':i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x237),'children':[i[_0x230aac(0x12b)]('span',{'className':_0x230aac(0x12d),'children':'⚠️'}),i[_0x230aac(0x12b)]('p',{'className':_0x230aac(0x14e),'children':_0xc7b0b2(_0x1616c9)})]})})]}),i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x1a4),'children':i[_0x230aac(0x159)]('div',{'className':_0x230aac(0x229),'children':[i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0xf0),'children':[i[_0x230aac(0x159)]('label',{'className':_0x230aac(0x25f),'children':[i['jsx']('span',{'children':'🔑'}),'\x20',_0x471639['t']('mcpConfig.apiKey'),i[_0x230aac(0x12b)]('span',{'className':_0x230aac(0x16d),'children':'*'}),_0x399ffc&&i['jsx']('a',{'href':_0x230aac(0x13d),'onClick':()=>_0x1e5e59(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-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','title':_0x471639['t'](_0x230aac(0x13f)),'children':i['jsx'](H,{})})]}),i[_0x230aac(0x12b)](P[_0x230aac(0x223)],{'type':_0x230aac(0x1a9),'placeholder':_0x471639['t'](_0x230aac(0x172)),'value':_0x30b52b,'onChange':_0x2a1b87,'disabled':_0x2231df,'autoComplete':_0x230aac(0x23a)}),i[_0x230aac(0x12b)]('p',{'className':_0x230aac(0x129),'children':_0x471639['t'](_0x230aac(0x18d))})]}),_0x399ffc&&_0x4da052&&i[_0x230aac(0x159)]('div',{'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[_0x230aac(0x12b)]('a',{'href':'javascript:void(0)','onClick':()=>_0x1e5e59(!0x1),'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-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','title':_0x230aac(0x188),'children':i['jsx'](F,{})}),i['jsxs']('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x135),'children':i['jsx'](_0x230aac(0x212),{'className':'univer-text-blue-600','children':'🚀'})}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x193),'children':[i[_0x230aac(0x12b)]('h4',{'className':_0x230aac(0x1f7),'children':_0x471639['t'](_0x230aac(0x13f))}),i['jsx']('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x471639['t'](_0x230aac(0x100))}),i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0xbd1c51&&i['jsxs']('a',{'href':_0x99373f,'target':'_blank','rel':'noopener\x20noreferrer','className':_0x230aac(0x1bd),'children':[i[_0x230aac(0x12b)](_0x230aac(0x212),{'children':'🤖'}),_0x471639['t'](_0x230aac(0x1d7)),i[_0x230aac(0x12b)](_0x230aac(0x212),{'className':'univer-text-gray-400','children':'↗'})]})}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x22b),'children':['✨','\x20',_0x471639['t'](_0x230aac(0x22e))]})]})]})]}),_0x39f1f1['showDeveloperTools']&&i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x217),'children':[i[_0x230aac(0x159)]('h4',{'className':_0x230aac(0x259),'children':[i[_0x230aac(0x12b)]('span',{'children':'🔗'}),'\x20',_0x471639['t']('mcpConfig.connectionInfo')]}),i['jsxs'](_0x230aac(0x227),{'className':_0x230aac(0x151),'children':[i['jsxs'](_0x230aac(0x227),{'className':'univer-space-y-3','children':[i['jsx']('p',{'className':_0x230aac(0x1b5),'children':_0x471639['t'](_0x230aac(0x239))}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':'univer-space-y-2','children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x13a),'children':_0x471639['t']('mcpConfig.configStepTitle')}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[i[_0x230aac(0x159)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x230aac(0x12b)](_0x230aac(0x212),{'className':_0x230aac(0xfe),'children':'1'}),_0x471639['t'](_0x230aac(0x1dd))]}),i['jsxs']('div',{'className':_0x230aac(0x138),'children':[i['jsx'](_0x230aac(0x212),{'className':_0x230aac(0xfe),'children':'2'}),_0x471639['t'](_0x230aac(0xff))]}),i['jsxs'](_0x230aac(0x227),{'className':_0x230aac(0x138),'children':[i[_0x230aac(0x12b)](_0x230aac(0x212),{'className':_0x230aac(0xfe),'children':'3'}),_0x471639['t'](_0x230aac(0x1ac))]})]})]})]}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':'univer-space-y-2','children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x13a),'children':_0x230aac(0x105)}),i['jsx']('div',{'className':_0x230aac(0x1f2),'children':i['jsx']('pre',{'className':_0x230aac(0x1b1),'children':_0x230aac(0x15b)+_0x3f65be+_0x230aac(0x1e8)+(_0x30b52b||'<API_KEY>')+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':'univer-space-y-3','children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x13a),'children':_0x471639['t'](_0x230aac(0x134))}),i['jsxs']('div',{'className':_0x230aac(0xf0),'children':[i['jsxs'](_0x230aac(0x227),{'className':_0x230aac(0x14a),'children':[i[_0x230aac(0x12b)]('div',{'className':_0x230aac(0x16a)}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x219),'children':[i['jsx'](_0x230aac(0x227),{'className':_0x230aac(0x1c2),'children':_0x230aac(0x19a)}),i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x129),'children':_0x471639['t']('mcpConfig.sessionIdDescription')})]})]}),i['jsxs'](_0x230aac(0x227),{'className':_0x230aac(0x14a),'children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x219),'children':[i['jsx'](_0x230aac(0x227),{'className':_0x230aac(0x1c2),'children':'Authorization:'}),i['jsx'](_0x230aac(0x227),{'className':_0x230aac(0x129),'children':_0x471639['t'](_0x230aac(0x1a0))})]})]})]})]})]})]}),i[_0x230aac(0x12b)](P[_0x230aac(0x191)],{'onClick':_0x2670dd,'disabled':!_0x3fb436||_0x2231df,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x2231df?i[_0x230aac(0x159)]('span',{'className':_0x230aac(0x138),'children':[i[_0x230aac(0x12b)](_0x230aac(0x212),{'children':'⟲'}),_0x471639['t'](_0x230aac(0x17b))]}):i[_0x230aac(0x159)](_0x230aac(0x212),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x230aac(0x12b)](V,{}),_0x471639['t']('mcpConfig.save')]})}),i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x10f),'children':i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x15c),'children':[i['jsx'](_0x230aac(0x212),{'className':_0x230aac(0xee),'children':'💡'}),i[_0x230aac(0x159)](_0x230aac(0x227),{'className':_0x230aac(0x149),'children':[i[_0x230aac(0x12b)](_0x230aac(0x227),{'className':_0x230aac(0x113),'children':_0x230aac(0x174)}),i[_0x230aac(0x159)]('div',{'children':['•',_0x471639['t'](_0x230aac(0x162))]}),i['jsxs'](_0x230aac(0x227),{'children':['•',_0x471639['t']('mcpConfig.note2')]})]})]})})]})})]});}const D='mcp-ui.config',G={'showDeveloperTools':!0x1};var Pe=Object[_0x409006(0x25a)],Se=(_0x12a1a6,_0x309f0e,_0x3a64ef,_0x4d3303)=>{var _0xae8e48=_0x409006;for(var _0x4d3f78=_0x4d3303>0x1?void 0x0:_0x4d3303?Pe(_0x309f0e,_0x3a64ef):_0x309f0e,_0x41fef8=_0x12a1a6[_0xae8e48(0x20b)]-0x1,_0x5c52b8;_0x41fef8>=0x0;_0x41fef8--)(_0x5c52b8=_0x12a1a6[_0x41fef8])&&(_0x4d3f78=_0x5c52b8(_0x4d3f78)||_0x4d3f78);return _0x4d3f78;},f=(_0x2a92b4,_0x899595)=>(_0x537376,_0x19d7f3)=>_0x899595(_0x537376,_0x19d7f3,_0x2a92b4);const A='mcp.apiKey',O=_0x409006(0x1a6);exports['MCPConfigUIController']=class extends u[_0x409006(0x19b)]{constructor(_0x4fc180,_0x49a7b0,_0x409860,_0x49369c,_0x1ea318,_0xd00589,_0x1a41ca,_0x48f8e9,_0xca1cbe,_0x13c93c){var _0x56a332=_0x409006;super(),y(this,_0x56a332(0xfa),new M['BehaviorSubject'](!0x1)),y(this,_0x56a332(0x1b7),new M[(_0x56a332(0x18a))]({})),y(this,_0x56a332(0x1e0),new M[(_0x56a332(0x18a))]({})),y(this,'_apiKey$',new M[(_0x56a332(0x18a))]('')),y(this,_0x56a332(0x106),async _0x165e08=>{var _0x3c87f2=_0x56a332,_0x258836,_0x44eddc;this[_0x3c87f2(0xfa)][_0x3c87f2(0x163)](!0x0);try{const _0x5711d9=await this[_0x3c87f2(0x1b0)](_0x165e08);if(!_0x5711d9[_0x3c87f2(0x1f8)]){this[_0x3c87f2(0x225)][_0x3c87f2(0x25c)]({'type':P[_0x3c87f2(0xfb)]['Error'],'content':_0x5711d9[_0x3c87f2(0x209)]||this[_0x3c87f2(0x241)]['t'](_0x3c87f2(0x145))});return;}_0x165e08['apiKey']?await this[_0x3c87f2(0x192)][_0x3c87f2(0x1c3)](A,_0x165e08['apiKey']['trim']()):await this['_localStorageService']['removeItem'](A),this[_0x3c87f2(0x1b9)][_0x3c87f2(0x163)](((_0x258836=_0x165e08[_0x3c87f2(0x211)])==null?void 0x0:_0x258836['trim']())||''),this['_mcpConnectionController'][_0x3c87f2(0x175)]({'Authorization':'Bearer\x20'+((_0x44eddc=_0x165e08[_0x3c87f2(0x211)])==null?void 0x0:_0x44eddc[_0x3c87f2(0x245)]())}),this[_0x3c87f2(0x225)][_0x3c87f2(0x25c)]({'type':P['MessageType'][_0x3c87f2(0x111)],'content':this[_0x3c87f2(0x241)]['t'](_0x3c87f2(0x1d8))}),setTimeout(()=>{var _0x139326=_0x3c87f2;this[_0x139326(0x104)][_0x139326(0x16c)](O);},0x320);}catch(_0x2b7afc){this[_0x3c87f2(0x160)][_0x3c87f2(0x108)](_0x3c87f2(0x124),_0x2b7afc),this['_messageService']['show']({'type':P['MessageType'][_0x3c87f2(0x10e)],'content':this['_localeService']['t'](_0x3c87f2(0x14c))});}finally{this[_0x3c87f2(0xfa)][_0x3c87f2(0x163)](!0x1);}}),(this[_0x56a332(0x1d5)]=_0x4fc180,this[_0x56a332(0x140)]=_0x49a7b0,this[_0x56a332(0x144)]=_0x409860,this[_0x56a332(0x192)]=_0x49369c,this['_dialogService']=_0x1ea318,this[_0x56a332(0x225)]=_0xd00589,this[_0x56a332(0x180)]=_0x1a41ca,this[_0x56a332(0x241)]=_0x48f8e9,this[_0x56a332(0x160)]=_0xca1cbe,this[_0x56a332(0x176)]=_0x13c93c,this['_initConfigSync'](),this[_0x56a332(0x1b3)](),this[_0x56a332(0x1ec)]());}['showConfigPanel'](){var _0x5b7d3e=_0x409006;this[_0x5b7d3e(0x104)][_0x5b7d3e(0x20d)]({'id':O,'title':{'title':this[_0x5b7d3e(0x241)]['t'](_0x5b7d3e(0xf8))},'children':{'label':_0x5b7d3e(0x177)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x5e1cf0=_0x5b7d3e;this[_0x5e1cf0(0x104)]['close'](O);}});}[_0x409006(0xf9)](){var _0x1fb74b=_0x409006;return this[_0x1fb74b(0x1b7)][_0x1fb74b(0x224)];}[_0x409006(0x1ec)](){var _0x48f368=_0x409006;this[_0x48f368(0x1ab)](this['_componentManager'][_0x48f368(0x179)]('MCPConfigPanel',this['_createConfigPanelComponent']()));}['_createConfigPanelComponent'](){var _0x5a7e2f=_0x409006;return v[_0x5a7e2f(0x164)](()=>{var _0x346a08=_0x5a7e2f,_0x18566a,_0x7fd517,_0x49690f;return i[_0x346a08(0x12b)](W,{'config':this['_config$']['value'],'mcpCoreConfig':this[_0x346a08(0x1b7)]['value'],'currentApiKey$':this[_0x346a08(0x1b9)],'onSave':this[_0x346a08(0x106)],'loading':this[_0x346a08(0xfa)][_0x346a08(0x224)],'connectionStatus$':(_0x18566a=this[_0x346a08(0x176)])==null?void 0x0:_0x18566a[_0x346a08(0x19f)],'connectionError$':(_0x7fd517=this['_mcpConnectionController'])==null?void 0x0:_0x7fd517[_0x346a08(0x126)],'currentSessionId$':(_0x49690f=this[_0x346a08(0x176)])==null?void 0x0:_0x49690f[_0x346a08(0x194)]});},this['_injector']);}[_0x409006(0x11a)](){var _0x5e03b5=_0x409006;this[_0x5e03b5(0x1ab)](this[_0x5e03b5(0x144)]['subscribeConfigValue$'](s[_0x5e03b5(0x234)])[_0x5e03b5(0x1e2)](_0x2c7bf7=>{var _0x2b17ac=_0x5e03b5;this[_0x2b17ac(0x1b7)][_0x2b17ac(0x163)](_0x2c7bf7||{});}));const _0x3d4968=this[_0x5e03b5(0x144)]['getConfig'](s['MCP_PLUGIN_CONFIG_KEY']);this[_0x5e03b5(0x1b7)][_0x5e03b5(0x163)](_0x3d4968||{}),this[_0x5e03b5(0x1ab)](this[_0x5e03b5(0x144)][_0x5e03b5(0x1aa)](D)[_0x5e03b5(0x1e2)](_0x58f50d=>{var _0x11ec09=_0x5e03b5;this[_0x11ec09(0x1e0)][_0x11ec09(0x163)](_0x58f50d||{});}));const _0x2b8c7a=this[_0x5e03b5(0x144)][_0x5e03b5(0x167)](D);this['_config$'][_0x5e03b5(0x163)](_0x2b8c7a||{});}async[_0x409006(0x1b3)](){var _0x4d777b=_0x409006;const _0x2dce99=await this[_0x4d777b(0x192)]['getItem'](A);_0x2dce99&&(this[_0x4d777b(0x176)][_0x4d777b(0x175)]({'Authorization':_0x4d777b(0x156)+_0x2dce99}),this[_0x4d777b(0x1b9)][_0x4d777b(0x163)](_0x2dce99));}async['_validateConfig'](_0xc5bf56){var _0x424bd9=_0x409006;if(!_0xc5bf56[_0x424bd9(0x211)]||_0xc5bf56[_0x424bd9(0x211)][_0x424bd9(0x245)]()[_0x424bd9(0x20b)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x424bd9(0x241)]['t'](_0x424bd9(0x20f))};if(_0xc5bf56['apiKey'][_0x424bd9(0x245)]()[_0x424bd9(0x20b)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x424bd9(0x241)]['t'](_0x424bd9(0x1e5))};try{const _0x24128f=await this[_0x424bd9(0x1d5)][_0x424bd9(0x120)](s['MCPConnectionController'])[_0x424bd9(0x13e)](_0xc5bf56[_0x424bd9(0x211)]['trim']());return _0x24128f['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x24128f[_0x424bd9(0x108)]||this[_0x424bd9(0x241)]['t'](_0x424bd9(0x20a))};}catch(_0x2ee5b4){return console['warn'](_0x424bd9(0x23f),_0x2ee5b4),{'isValid':!0x0};}}},exports[_0x409006(0x19e)]=Se([f(0x0,u[_0x409006(0x11b)](u[_0x409006(0x11e)])),f(0x1,v['IUIPartsService']),f(0x2,u['IConfigService']),f(0x3,u[_0x409006(0x1f9)]),f(0x4,v['IDialogService']),f(0x5,v['IMessageService']),f(0x6,u[_0x409006(0x11b)](v[_0x409006(0x204)])),f(0x7,u['Inject'](u['LocaleService'])),f(0x8,u[_0x409006(0x197)]),f(0x9,u[_0x409006(0x11b)](s[_0x409006(0x18f)]))],exports[_0x409006(0x19e)]);const N={'id':_0x409006(0x136),'type':u[_0x409006(0x21e)][_0x409006(0x1e7)],'handler':async(_0x38168e,_0x3651ce)=>(_0x38168e['get'](exports[_0x409006(0x19e)])['showConfigPanel'](),!0x0)};function Z(_0x57fe11,_0x5a541c){var _0x1b4cbf=_0x409006;switch(_0x57fe11){case s[_0x1b4cbf(0x123)]['DISCONNECTED']:return _0x1b4cbf(0x1c9);case s[_0x1b4cbf(0x123)][_0x1b4cbf(0x1fe)]:return _0x1b4cbf(0x12c);case s['MCPConnectionStatus'][_0x1b4cbf(0x255)]:return _0x1b4cbf(0x1f6);case s[_0x1b4cbf(0x123)]['FAILED']:switch(_0x5a541c){case s['MCPConnectionError'][_0x1b4cbf(0x222)]:return'mcpStatus.invalidApiKey';case s['MCPConnectionError'][_0x1b4cbf(0x23d)]:return _0x1b4cbf(0x244);case s['MCPConnectionError'][_0x1b4cbf(0x247)]:return _0x1b4cbf(0x1b6);case s[_0x1b4cbf(0x154)][_0x1b4cbf(0x22d)]:return _0x1b4cbf(0x1c8);default:return _0x1b4cbf(0x258);}case s[_0x1b4cbf(0x123)][_0x1b4cbf(0x1c6)]:return _0x1b4cbf(0x233);default:return'mcpStatus.unknown';}}function ye(_0x112491,_0x32c9aa,_0x5f4bc5){var _0x2e0488=_0x409006;const _0xc3790a=Z(_0x112491,_0x32c9aa),_0x3ea591=_0x5f4bc5['t'](_0xc3790a);return _0x112491===s['MCPConnectionStatus']['DISCONNECTED']&&_0x32c9aa===s[_0x2e0488(0x154)][_0x2e0488(0x222)]?_0x3ea591+_0x2e0488(0x1f1)+_0x5f4bc5['t']('mcpStatus.clickToConfigure'):_0x112491===s[_0x2e0488(0x123)][_0x2e0488(0x255)]?''+_0x3ea591:_0x112491===s['MCPConnectionStatus']['DISCONNECTED']||_0x112491===s[_0x2e0488(0x123)][_0x2e0488(0x185)]?_0x3ea591+'\x20-\x20'+_0x5f4bc5['t'](_0x2e0488(0x196)):_0x3ea591;}function Ie(_0xf1959d){var _0x35655e=_0x409006;switch(_0xf1959d){case s[_0x35655e(0x123)]['CONNECTED']:return'univer-text-green-500';case s['MCPConnectionStatus'][_0x35655e(0x1fe)]:case s['MCPConnectionStatus'][_0x35655e(0x1c6)]:return _0x35655e(0x102);case s[_0x35655e(0x123)][_0x35655e(0x185)]:case s[_0x35655e(0x123)][_0x35655e(0x101)]:return _0x35655e(0x16d);default:return _0x35655e(0x254);}}function X(_0x335efc){var _0x314ff4=_0x409006;const {status$:_0x37ba23,error$:_0xe142dc,onConfigure:_0x107b48}=_0x335efc,_0x5a2f0b=v[_0x314ff4(0x1d2)](_0x37ba23,s['MCPConnectionStatus'][_0x314ff4(0x101)]),_0x4842ba=v['useObservable'](_0xe142dc,s['MCPConnectionError']['NONE']),_0x1fadbc=v['useDependency'](u[_0x314ff4(0x10a)]),_0xdf5829=_0x5a2f0b===s[_0x314ff4(0x123)][_0x314ff4(0x255)],_0x8f42e2=_0x5a2f0b===s[_0x314ff4(0x123)]['CONNECTING']||_0x5a2f0b===s[_0x314ff4(0x123)][_0x314ff4(0x1c6)],_0x5dd25b=_0x1fadbc['t'](Z(_0x5a2f0b,_0x4842ba)),_0x38dd85=ye(_0x5a2f0b,_0x4842ba,_0x1fadbc),_0xa6aa00=Ie(_0x5a2f0b),_0x36531e=_0xdf5829?i[_0x314ff4(0x12b)](z,{}):i[_0x314ff4(0x12b)](q,{}),_0x4cefd5=d[_0x314ff4(0x1b4)](()=>{_0x107b48&&_0x107b48();},[_0xdf5829,_0x8f42e2,_0x107b48]);function _0x47b9b5(){var _0xa1751e=_0x314ff4;return i[_0xa1751e(0x159)](_0xa1751e(0x227),{'className':P[_0xa1751e(0x26d)]('univer-flex\x20univer-cursor-pointer\x20univer-items-center',_0x107b48&&_0xa1751e(0x253)),'onClick':_0x107b48?_0x4cefd5:void 0x0,'children':[i['jsx'](_0xa1751e(0x227),{'className':P[_0xa1751e(0x26d)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0xa6aa00),'children':_0x36531e}),i[_0xa1751e(0x12b)]('div',{'className':_0xa1751e(0x1e1),'children':_0x5dd25b})]});}return i['jsx'](P[_0x314ff4(0x1d4)],{'title':_0x38dd85,'placement':_0x314ff4(0x207),'children':_0x47b9b5()});}var _e=Object[_0x409006(0x25a)],Me=(_0x221bc6,_0x10b6fa,_0x4ddfa3,_0x1c5a0f)=>{var _0x124417=_0x409006;for(var _0x39f384=_0x1c5a0f>0x1?void 0x0:_0x1c5a0f?_e(_0x10b6fa,_0x4ddfa3):_0x10b6fa,_0x2b395f=_0x221bc6[_0x124417(0x20b)]-0x1,_0x2a7fa7;_0x2b395f>=0x0;_0x2b395f--)(_0x2a7fa7=_0x221bc6[_0x2b395f])&&(_0x39f384=_0x2a7fa7(_0x39f384)||_0x39f384);return _0x39f384;},k=(_0x1bdb62,_0x2eb74e)=>(_0x24b8c2,_0x221912)=>_0x2eb74e(_0x24b8c2,_0x221912,_0x1bdb62);exports[_0x409006(0x187)]=class extends u['Disposable']{constructor(_0x3bc6e2,_0x4616b0,_0x462a5a){var _0x1ea8bb=_0x409006;super(),this['_injector']=_0x3bc6e2,this[_0x1ea8bb(0x125)]=_0x4616b0,this[_0x1ea8bb(0x140)]=_0x462a5a,this[_0x1ea8bb(0x125)]['enableAutoConnect']=!0x1,this[_0x1ea8bb(0x155)]();}[_0x409006(0x155)](){var _0x556d7e=_0x409006;this['disposeWithMe'](this[_0x556d7e(0x140)]['registerComponent'](v[_0x556d7e(0x1bc)][_0x556d7e(0x21b)],()=>v[_0x556d7e(0x164)](Ne({'status$':this[_0x556d7e(0x125)]['connectionStatus$'],'error$':this['_connectionController'][_0x556d7e(0x126)],'onConfigure':()=>this[_0x556d7e(0x141)]()}),this[_0x556d7e(0x1d5)])));}[_0x409006(0x141)](){var _0x804efa=_0x409006;this[_0x804efa(0x1d5)]['get'](exports[_0x804efa(0x19e)])[_0x804efa(0x22c)]();}},exports[_0x409006(0x187)]=Me([k(0x0,u['Inject'](u[_0x409006(0x11e)])),k(0x1,u['Inject'](s[_0x409006(0x18f)])),k(0x2,v[_0x409006(0x173)])],exports[_0x409006(0x187)]);function Ne(_0x3b1154){const {status$:_0x69a3b7,error$:_0x46e3ce,onConfigure:_0x92774a}=_0x3b1154;return function(){var _0x2280d4=_0x5eff;return i[_0x2280d4(0x12b)](X,{'status$':_0x69a3b7,'error$':_0x46e3ce,'onConfigure':_0x92774a});};}function be(_0x27eae3){var _0x44521c=_0x409006;return{'id':N['id'],'type':v['MenuItemType'][_0x44521c(0x267)],'icon':_0x44521c(0x21a),'title':_0x44521c(0xf8),'tooltip':_0x44521c(0xf8)};}const je={[v[_0x409006(0x21c)][_0x409006(0x114)]]:{[N['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object[_0x409006(0x25a)],we=(_0x38afc2,_0x3504aa,_0xef1d7a,_0x516433)=>{var _0x3fb4ae=_0x409006;for(var _0x3160b8=_0x516433>0x1?void 0x0:_0x516433?Ee(_0x3504aa,_0xef1d7a):_0x3504aa,_0xd3063=_0x38afc2[_0x3fb4ae(0x20b)]-0x1,_0x367962;_0xd3063>=0x0;_0xd3063--)(_0x367962=_0x38afc2[_0xd3063])&&(_0x3160b8=_0x367962(_0x3160b8)||_0x3160b8);return _0x3160b8;},Y=(_0x26d3b2,_0x54e308)=>(_0x2f7193,_0x1488a4)=>_0x54e308(_0x2f7193,_0x1488a4,_0x26d3b2);exports['MCPUIMenuController']=class extends u['Disposable']{constructor(_0x442881,_0xc68778){var _0x19f37b=_0x409006;super(),this[_0x19f37b(0x186)]=_0x442881,this[_0x19f37b(0x1fc)]=_0xc68778,this['_initializeCommands'](),this['_initializeMenus']();}[_0x409006(0x230)](){[N]['forEach'](_0x31d554=>{var _0x2c9475=_0x5eff;this['disposeWithMe'](this[_0x2c9475(0x186)]['registerCommand'](_0x31d554));});}[_0x409006(0x251)](){var _0x4e7c9d=_0x409006;this[_0x4e7c9d(0x1fc)][_0x4e7c9d(0x1c5)](je);}},exports[_0x409006(0x1ae)]=we([Y(0x0,u[_0x409006(0x242)]),Y(0x1,v['IMenuManagerService'])],exports[_0x409006(0x1ae)]);const Ae={'mcpStatus':{'disconnected':_0x409006(0x15d),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x409006(0xe7),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x409006(0x1e9),'invalidApiKey':_0x409006(0xf6),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x409006(0x1a8),'clickToConnect':_0x409006(0x15f),'clickToConfigure':_0x409006(0x170)},'mcpConfig':{'title':_0x409006(0x105),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x409006(0x1f4),'apiKeyPlaceholder':_0x409006(0x262),'apiKeyHint':_0x409006(0x252),'enableAuth':_0x409006(0x199),'enableAuthHint':_0x409006(0x171),'connectionInfo':_0x409006(0x109),'mcpClientConfig':_0x409006(0x109),'configInstructions':_0x409006(0x213),'configStepTitle':_0x409006(0x15a),'configStep1':_0x409006(0x1a1),'configStep2':_0x409006(0x112),'configStep3':_0x409006(0x235),'sessionId':_0x409006(0x122),'sessionIdDescription':_0x409006(0x19c),'authorizationDescription':_0x409006(0x21d),'configParameters':_0x409006(0x250),'maxRetries':_0x409006(0x14f),'save':_0x409006(0x17f),'saving':_0x409006(0x232),'note1':_0x409006(0x1be),'note2':_0x409006(0x269),'configSaved':_0x409006(0x1bf),'configError':_0x409006(0x1af),'apiApplyInfo':{'title':_0x409006(0x14d),'description':_0x409006(0x1a3),'univerAiLabel':_0x409006(0x221),'getStarted':_0x409006(0x246)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x409006(0x1b2),'connecting':'Connecting...','connected':'Connected','failed':_0x409006(0x158),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x409006(0x1cc),'invalidApiKey':_0x409006(0x1ef),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x409006(0x26a)}}},Oe={'mcpStatus':{'disconnected':_0x409006(0x166),'connecting':_0x409006(0xec),'connected':_0x409006(0x189),'failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':_0x409006(0x20c),'missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':_0x409006(0x1f0),'sessionOccupied':_0x409006(0x260),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x409006(0x214),'clickToConnect':_0x409006(0x153),'clickToConfigure':_0x409006(0x130)},'mcpConfig':{'title':_0x409006(0x146),'description':_0x409006(0xf2),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x409006(0x1c7),'enableAuth':'启用身份验证','enableAuthHint':_0x409006(0x18e),'connectionInfo':_0x409006(0x11f),'mcpClientConfig':_0x409006(0x11f),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x409006(0x184),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x409006(0x10d),'configStep3':_0x409006(0x150),'sessionId':_0x409006(0x248),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x409006(0x127),'configParameters':_0x409006(0x12a),'maxRetries':_0x409006(0x24e),'save':_0x409006(0x12e),'saving':_0x409006(0x168),'note1':_0x409006(0x1df),'note2':_0x409006(0x261),'configSaved':'配置保存成功','configError':_0x409006(0x1d3),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x409006(0xf3),'univerAiLabel':_0x409006(0x1ed),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x409006(0x131),'invalidConfig':_0x409006(0x1a7),'invalidApiKey':_0x409006(0x236)},'connectionStatus':{'disconnected':_0x409006(0x20e),'connecting':'连接中...','connected':'已连接','failed':_0x409006(0x249),'retrying':_0x409006(0x19d)},'connectionError':{'missingApiKey':_0x409006(0x220),'invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':'会话当前被占用,请稍后再试','networkError':_0x409006(0x15e),'maxRetriesExceeded':_0x409006(0x117)}}};var ke=Object[_0x409006(0x24a)],De=Object[_0x409006(0x25a)],Ke=(_0x80a1e,_0xbe2766,_0x1d3941)=>_0xbe2766 in _0x80a1e?ke(_0x80a1e,_0xbe2766,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d3941}):_0x80a1e[_0xbe2766]=_0x1d3941,Ue=(_0x51b719,_0x2baced,_0xcbbb93,_0x4d8a1a)=>{for(var _0x3ff1e6=_0x4d8a1a>0x1?void 0x0:_0x4d8a1a?De(_0x2baced,_0xcbbb93):_0x2baced,_0x5d787d=_0x51b719['length']-0x1,_0x2f22d8;_0x5d787d>=0x0;_0x5d787d--)(_0x2f22d8=_0x51b719[_0x5d787d])&&(_0x3ff1e6=_0x2f22d8(_0x3ff1e6)||_0x3ff1e6);return _0x3ff1e6;},_=(_0x5bd954,_0x5bdc69)=>(_0x58a587,_0x463f4c)=>_0x5bdc69(_0x58a587,_0x463f4c,_0x5bd954),Te=(_0x3b7feb,_0xae9a99,_0x401c6e)=>Ke(_0x3b7feb,_0xae9a99+'',_0x401c6e);exports[_0x409006(0x215)]=class extends u[_0x409006(0x1ee)]{constructor(_0x31fcb2=G,_0x179396,_0x599c64,_0x9bc94,_0x15109f,_0x37557d){var _0x535b30=_0x409006;super(),this['_config']=_0x31fcb2,this[_0x535b30(0x1d5)]=_0x179396,this[_0x535b30(0x144)]=_0x599c64,this['_uiPartsService']=_0x9bc94,this[_0x535b30(0x192)]=_0x15109f,this[_0x535b30(0x241)]=_0x37557d;const {..._0xc63e0e}=u[_0x535b30(0x115)]({},G,this[_0x535b30(0x1c0)]);this[_0x535b30(0x144)][_0x535b30(0xf5)](D,_0xc63e0e);}async[_0x409006(0x1e3)](){var _0x1ec47c=_0x409006;const _0x50360f=[[exports[_0x1ec47c(0x187)]],[exports[_0x1ec47c(0x19e)]],[exports[_0x1ec47c(0x1ae)]]];this['_injector'][_0x1ec47c(0x206)](w['ISocketService'])||_0x50360f[_0x1ec47c(0x1fd)]([w['ISocketService'],{'useClass':w[_0x1ec47c(0x24b)]}]),_0x50360f[_0x1ec47c(0x26c)](_0x3797a8=>this[_0x1ec47c(0x1d5)][_0x1ec47c(0x203)](_0x3797a8)),this[_0x1ec47c(0x1d5)][_0x1ec47c(0x120)](exports[_0x1ec47c(0x187)]),this[_0x1ec47c(0x1d5)][_0x1ec47c(0x120)](exports[_0x1ec47c(0x19e)]),this[_0x1ec47c(0x1d5)][_0x1ec47c(0x120)](exports['MCPUIMenuController']);}},Te(exports[_0x409006(0x215)],_0x409006(0xe8),_0x409006(0xea)),exports['UniverMCPUIPlugin']=Ue([u['DependentOn'](s['UniverMCPPlugin']),_(0x1,u[_0x409006(0x11b)](u['Injector'])),_(0x2,u[_0x409006(0x132)]),_(0x3,v[_0x409006(0x173)]),_(0x4,u[_0x409006(0x1f9)]),_(0x5,u['Inject'](u[_0x409006(0x10a)]))],exports[_0x409006(0x215)]),exports[_0x409006(0x177)]=W,exports[_0x409006(0x1d1)]=X,exports[_0x409006(0x10b)]=N,exports[_0x409006(0xfd)]=Ae,exports[_0x409006(0xf7)]=Oe;
@@ -1 +1 @@
1
- 'use strict';const _0x18fccc=_0x4d71;(function(_0x37d0c0,_0x2bd6d0){const _0x42abec=_0x4d71,_0x46f782=_0x37d0c0();while(!![]){try{const _0x233087=-parseInt(_0x42abec(0x1b8))/0x1*(-parseInt(_0x42abec(0x1b1))/0x2)+parseInt(_0x42abec(0x1a6))/0x3*(-parseInt(_0x42abec(0x1bb))/0x4)+parseInt(_0x42abec(0x1bc))/0x5*(-parseInt(_0x42abec(0x1b2))/0x6)+parseInt(_0x42abec(0x1a3))/0x7*(parseInt(_0x42abec(0x1a4))/0x8)+-parseInt(_0x42abec(0x1b9))/0x9*(-parseInt(_0x42abec(0x1af))/0xa)+parseInt(_0x42abec(0x198))/0xb+parseInt(_0x42abec(0x1c5))/0xc*(-parseInt(_0x42abec(0x1b4))/0xd);if(_0x233087===_0x2bd6d0)break;else _0x46f782['push'](_0x46f782['shift']());}catch(_0xdf871f){_0x46f782['push'](_0x46f782['shift']());}}}(_0x50b1,0xb0381));function _0x4d71(_0x207199,_0x2b6ad1){const _0x50b1b1=_0x50b1();return _0x4d71=function(_0x4d71fd,_0x69d4cc){_0x4d71fd=_0x4d71fd-0x190;let _0xf8d2b1=_0x50b1b1[_0x4d71fd];return _0xf8d2b1;},_0x4d71(_0x207199,_0x2b6ad1);}const e={'mcpStatus':{'disconnected':_0x18fccc(0x1a2),'connecting':_0x18fccc(0x191),'connected':_0x18fccc(0x1a1),'failed':_0x18fccc(0x19b),'retrying':_0x18fccc(0x1c3),'unknown':_0x18fccc(0x19e),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x18fccc(0x1bd),'sessionOccupied':_0x18fccc(0x190),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x18fccc(0x1a9),'clickToConnect':_0x18fccc(0x19a),'clickToConfigure':_0x18fccc(0x1b6)},'mcpConfig':{'title':_0x18fccc(0x197),'description':_0x18fccc(0x1ae),'apiKey':_0x18fccc(0x1b3),'apiKeyPlaceholder':_0x18fccc(0x193),'apiKeyHint':_0x18fccc(0x1c2),'enableAuth':_0x18fccc(0x1ba),'enableAuthHint':_0x18fccc(0x1b7),'connectionInfo':_0x18fccc(0x194),'serverEndpoint':_0x18fccc(0x1c1),'sessionId':_0x18fccc(0x196),'maxRetries':_0x18fccc(0x19c),'save':_0x18fccc(0x1c4),'saving':_0x18fccc(0x19f),'note1':_0x18fccc(0x1c0),'note2':_0x18fccc(0x195),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x18fccc(0x1a0),'description':_0x18fccc(0x1b5),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x18fccc(0x19d)},'validation':{'apiKeyRequired':_0x18fccc(0x1ab),'apiKeyTooShort':_0x18fccc(0x1a7),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x18fccc(0x199)},'connectionStatus':{'disconnected':_0x18fccc(0x1b0),'connecting':_0x18fccc(0x1aa),'connected':_0x18fccc(0x1be),'failed':_0x18fccc(0x1ad),'retrying':_0x18fccc(0x1ac)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x18fccc(0x1a5),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x18fccc(0x192),'maxRetriesExceeded':_0x18fccc(0x1bf)}}},n=e;module[_0x18fccc(0x1a8)]=n;function _0x50b1(){const _0x112872=['3997jPTXZB','13024tQEUTS','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','20343pkIvkU','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','exports','MCP:\x20Max\x20Retries\x20Exceeded','Connecting...','API\x20key\x20is\x20required','Retrying...','Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','20mJkbpJ','Disconnected','12590YuZpwf','281418FXBChI','API\x20Key','3172AbppiA','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','112pBvdfJ','2425941cftHIN','Enable\x20Authentication','56WhjoNq','105vsHPzL','MCP:\x20Invalid\x20API\x20Key','Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Server\x20Endpoint','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Retrying...','Save\x20Configuration','21156mvbWar','MCP:\x20Session\x20Occupied','MCP\x20Connecting...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enter\x20your\x20API\x20key','Connection\x20Information','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','MCP\x20Configuration','639496ytBcHG','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Click\x20to\x20connect\x20MCP','MCP\x20Connection\x20Failed','Max\x20Retries','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Unknown\x20Status','Saving...','What\x20is\x20API\x20Key?','MCP\x20Connected','MCP\x20Disconnected'];_0x50b1=function(){return _0x112872;};return _0x50b1();}
1
+ 'use strict';function _0x2c61(_0xee0c25,_0x1bd7bc){const _0x258979=_0x2589();return _0x2c61=function(_0x2c61b5,_0x24194f){_0x2c61b5=_0x2c61b5-0xc8;let _0x217246=_0x258979[_0x2c61b5];return _0x217246;},_0x2c61(_0xee0c25,_0x1bd7bc);}const _0x28b657=_0x2c61;(function(_0xac844c,_0x7d93a4){const _0xe8ac7e=_0x2c61,_0x3db7c5=_0xac844c();while(!![]){try{const _0x3fef64=-parseInt(_0xe8ac7e(0xdf))/0x1+-parseInt(_0xe8ac7e(0xf2))/0x2+-parseInt(_0xe8ac7e(0xef))/0x3*(-parseInt(_0xe8ac7e(0xd9))/0x4)+-parseInt(_0xe8ac7e(0xcb))/0x5*(parseInt(_0xe8ac7e(0xc8))/0x6)+-parseInt(_0xe8ac7e(0xf9))/0x7+-parseInt(_0xe8ac7e(0xd5))/0x8+parseInt(_0xe8ac7e(0xd7))/0x9*(parseInt(_0xe8ac7e(0xd1))/0xa);if(_0x3fef64===_0x7d93a4)break;else _0x3db7c5['push'](_0x3db7c5['shift']());}catch(_0x1e7d72){_0x3db7c5['push'](_0x3db7c5['shift']());}}}(_0x2589,0xb868d));const e={'mcpStatus':{'disconnected':_0x28b657(0xcf),'connecting':_0x28b657(0xd0),'connected':'MCP\x20Connected','failed':_0x28b657(0xd4),'retrying':_0x28b657(0xce),'unknown':_0x28b657(0xd2),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x28b657(0xda),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x28b657(0xcd),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x28b657(0xea)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x28b657(0xfa),'apiKey':_0x28b657(0xd3),'apiKeyPlaceholder':_0x28b657(0xcc),'apiKeyHint':_0x28b657(0xd8),'enableAuth':_0x28b657(0xe7),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x28b657(0xeb),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x28b657(0xee),'configStepTitle':_0x28b657(0xf3),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x28b657(0xf8),'configStep3':_0x28b657(0xde),'sessionId':_0x28b657(0xdb),'sessionIdDescription':_0x28b657(0xe4),'authorizationDescription':_0x28b657(0xe5),'configParameters':_0x28b657(0xe9),'maxRetries':_0x28b657(0xdc),'save':'Save\x20Configuration','saving':_0x28b657(0xc9),'note1':_0x28b657(0xe3),'note2':_0x28b657(0xe8),'configSaved':_0x28b657(0xe2),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x28b657(0xf7),'description':_0x28b657(0xed),'univerAiLabel':_0x28b657(0xf1),'getStarted':_0x28b657(0xf5)},'validation':{'apiKeyRequired':_0x28b657(0xfb),'apiKeyTooShort':_0x28b657(0xdd),'invalidConfig':_0x28b657(0xd6),'invalidApiKey':_0x28b657(0xfc)},'connectionStatus':{'disconnected':_0x28b657(0xe1),'connecting':_0x28b657(0xf6),'connected':_0x28b657(0xe6),'failed':_0x28b657(0xe0),'retrying':'Retrying...'},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x28b657(0xf4),'sessionOccupied':_0x28b657(0xf0),'networkError':_0x28b657(0xca),'maxRetriesExceeded':_0x28b657(0xec)}}},n=e;module['exports']=n;function _0x2589(){const _0x1f8507=['Disconnected','Configuration\x20saved\x20successfully','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.','API\x20key\x20with\x20Bearer\x20prefix.','Connected','Enable\x20Authentication','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20Parameters:','Click\x20to\x20configure\x20MCP','MCP\x20Client\x20Configuration','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\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','300LeyqjR','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Univer\x20AI\x20Console','2579454ZDTDWQ','Configuration\x20Steps:','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Get\x20your\x20API\x20key\x20in\x20seconds','Connecting...','What\x20is\x20API\x20Key?','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','8391810ssTXOt','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','4032816nKQbHr','Saving...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','5GfochE','Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Retrying...','MCP\x20Disconnected','MCP\x20Connecting...','144950Lkdomf','MCP\x20Unknown\x20Status','API\x20Key','MCP\x20Connection\x20Failed','3326920wcIdNl','Invalid\x20configuration','3222OEMWMq','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','6452fjERMn','MCP:\x20Invalid\x20API\x20Key','Session\x20ID','Max\x20Retries','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1018611kXIeuM','Connection\x20Failed'];_0x2589=function(){return _0x1f8507;};return _0x2589();}
@@ -1 +1 @@
1
- 'use strict';const _0x2577e3=_0x53d6;(function(_0x218820,_0x41331a){const _0x301e6a=_0x53d6,_0x2fbbff=_0x218820();while(!![]){try{const _0x343a37=parseInt(_0x301e6a(0x142))/0x1+parseInt(_0x301e6a(0x13d))/0x2*(-parseInt(_0x301e6a(0x13b))/0x3)+parseInt(_0x301e6a(0x143))/0x4+-parseInt(_0x301e6a(0x137))/0x5+-parseInt(_0x301e6a(0x123))/0x6*(-parseInt(_0x301e6a(0x12a))/0x7)+parseInt(_0x301e6a(0x141))/0x8+-parseInt(_0x301e6a(0x147))/0x9;if(_0x343a37===_0x41331a)break;else _0x2fbbff['push'](_0x2fbbff['shift']());}catch(_0x59a9db){_0x2fbbff['push'](_0x2fbbff['shift']());}}}(_0x3b73,0xd883f));function _0x3b73(){const _0x35d9d=['API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20is\x20required','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','4129900BCwWqt','MCP\x20Connection\x20Failed','Connected','MCP\x20Disconnected','4162827bCRTxz','Connection\x20Failed','2oOTaGw','exports','MCP\x20Configuration','MCP:\x20Network\x20Error','8071512vIePxr','1669176bACUGQ','3543348cXizxw','MCP\x20Unknown\x20Status','Retrying...','API\x20key\x20is\x20required\x20to\x20connect','7353720noQVzh','Disconnected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Max\x20Retries','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connected','API\x20Key','Session\x20ID','Click\x20to\x20connect\x20MCP','Click\x20to\x20configure\x20MCP','24fuwSRm','Saving...','Invalid\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','Enter\x20your\x20API\x20key','618737MpQqiT','MCP:\x20API\x20Key\x20Missing','Save\x20Configuration','MCP:\x20Session\x20Occupied','Server\x20Endpoint','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20saved\x20successfully','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connecting...','Univer\x20AI\x20Console'];_0x3b73=function(){return _0x35d9d;};return _0x3b73();}const e={'mcpStatus':{'disconnected':_0x2577e3(0x13a),'connecting':_0x2577e3(0x132),'connected':_0x2577e3(0x14e),'failed':_0x2577e3(0x138),'retrying':_0x2577e3(0x128),'unknown':_0x2577e3(0x144),'missingApiKey':_0x2577e3(0x12b),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x2577e3(0x12d),'networkError':_0x2577e3(0x140),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x2577e3(0x151),'clickToConfigure':_0x2577e3(0x152)},'mcpConfig':{'title':_0x2577e3(0x13f),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2577e3(0x14f),'apiKeyPlaceholder':_0x2577e3(0x129),'apiKeyHint':_0x2577e3(0x149),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2577e3(0x12f),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x2577e3(0x12e),'sessionId':_0x2577e3(0x150),'maxRetries':_0x2577e3(0x14c),'save':_0x2577e3(0x12c),'saving':_0x2577e3(0x124),'note1':_0x2577e3(0x131),'note2':_0x2577e3(0x126),'configSaved':_0x2577e3(0x130),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x2577e3(0x133),'getStarted':_0x2577e3(0x14d)},'validation':{'apiKeyRequired':_0x2577e3(0x135),'apiKeyTooShort':_0x2577e3(0x134),'invalidConfig':_0x2577e3(0x125),'invalidApiKey':_0x2577e3(0x127)},'connectionStatus':{'disconnected':_0x2577e3(0x148),'connecting':'Connecting...','connected':_0x2577e3(0x139),'failed':_0x2577e3(0x13c),'retrying':_0x2577e3(0x145)},'connectionError':{'missingApiKey':_0x2577e3(0x146),'invalidApiKey':_0x2577e3(0x136),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x2577e3(0x14a),'maxRetriesExceeded':_0x2577e3(0x14b)}}};function _0x53d6(_0x5d5e97,_0x35d553){const _0x3b7336=_0x3b73();return _0x53d6=function(_0x53d68d,_0x5ca9d1){_0x53d68d=_0x53d68d-0x123;let _0x3e390d=_0x3b7336[_0x53d68d];return _0x3e390d;},_0x53d6(_0x5d5e97,_0x35d553);}module[_0x2577e3(0x13e)]=e;
1
+ 'use strict';const _0xc76cbb=_0x2a77;function _0x180f(){const _0x3a086d=['Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Session\x20ID','exports','169807YlghqE','1893080VOVrnq','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Retrying...','8702832sykhXS','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Configuration','Univer\x20AI\x20Console','Failed\x20to\x20save\x20configuration','Click\x20to\x20configure\x20MCP','API\x20Key','7gorvDW','API\x20key\x20is\x20required','40JayXyf','MCP\x20Client\x20Configuration','Connecting...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Retrying...','MCP:\x20Session\x20Occupied','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Invalid\x20API\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.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connection\x20Failed','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Unknown\x20Status','180srBSLp','Connected','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20saved\x20successfully','215626CTCSgy','1323747veSsbm','Enter\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20is\x20required\x20to\x20connect','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20authentication\x20for\x20secure\x20connections','8FypIQv','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20API\x20Key\x20Missing','MCP\x20Connecting...','33063OiDQmD','MCP:\x20Network\x20Error','Invalid\x20configuration','4XYmoFe','MCP\x20Connected','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','2970666HsEdqI','Disconnected'];_0x180f=function(){return _0x3a086d;};return _0x180f();}(function(_0x17cb23,_0x248443){const _0x5d1c31=_0x2a77,_0x56579f=_0x17cb23();while(!![]){try{const _0x2b9dd8=parseInt(_0x5d1c31(0xd1))/0x1*(parseInt(_0x5d1c31(0xfc))/0x2)+parseInt(_0x5d1c31(0xce))/0x3*(parseInt(_0x5d1c31(0xe7))/0x4)+-parseInt(_0x5d1c31(0xdb))/0x5+parseInt(_0x5d1c31(0xd5))/0x6*(-parseInt(_0x5d1c31(0xe5))/0x7)+-parseInt(_0x5d1c31(0xca))/0x8*(-parseInt(_0x5d1c31(0xfd))/0x9)+-parseInt(_0x5d1c31(0xf8))/0xa*(parseInt(_0x5d1c31(0xda))/0xb)+parseInt(_0x5d1c31(0xde))/0xc;if(_0x2b9dd8===_0x248443)break;else _0x56579f['push'](_0x56579f['shift']());}catch(_0x513181){_0x56579f['push'](_0x56579f['shift']());}}}(_0x180f,0x4002c));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0xc76cbb(0xcd),'connected':_0xc76cbb(0xd2),'failed':_0xc76cbb(0xf4),'retrying':_0xc76cbb(0xdd),'unknown':_0xc76cbb(0xf7),'missingApiKey':_0xc76cbb(0xcc),'invalidApiKey':_0xc76cbb(0xef),'sessionOccupied':_0xc76cbb(0xec),'networkError':_0xc76cbb(0xcf),'maxRetriesExceeded':_0xc76cbb(0xfa),'clickToConnect':_0xc76cbb(0xd3),'clickToConfigure':_0xc76cbb(0xe3)},'mcpConfig':{'title':_0xc76cbb(0xe0),'description':_0xc76cbb(0xd4),'apiKey':_0xc76cbb(0xe4),'apiKeyPlaceholder':_0xc76cbb(0xfe),'apiKeyHint':_0xc76cbb(0xc8),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0xc76cbb(0xc9),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0xc76cbb(0xe8),'configInstructions':_0xc76cbb(0xea),'configStepTitle':'Configuration\x20Steps:','configStep1':_0xc76cbb(0x101),'configStep2':_0xc76cbb(0xf6),'configStep3':_0xc76cbb(0xcb),'sessionId':_0xc76cbb(0xd8),'sessionIdDescription':_0xc76cbb(0xf1),'authorizationDescription':_0xc76cbb(0xf5),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':_0xc76cbb(0xff),'note2':_0xc76cbb(0xf3),'configSaved':_0xc76cbb(0xfb),'configError':_0xc76cbb(0xe2),'apiApplyInfo':{'title':_0xc76cbb(0xf0),'description':_0xc76cbb(0xdc),'univerAiLabel':_0xc76cbb(0xe1),'getStarted':_0xc76cbb(0xee)},'validation':{'apiKeyRequired':_0xc76cbb(0xe6),'apiKeyTooShort':_0xc76cbb(0xed),'invalidConfig':_0xc76cbb(0xd0),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0xc76cbb(0xd6),'connecting':_0xc76cbb(0xe9),'connected':_0xc76cbb(0xf9),'failed':'Connection\x20Failed','retrying':_0xc76cbb(0xeb)},'connectionError':{'missingApiKey':_0xc76cbb(0x100),'invalidApiKey':_0xc76cbb(0x102),'sessionOccupied':_0xc76cbb(0xd7),'networkError':_0xc76cbb(0xf2),'maxRetriesExceeded':_0xc76cbb(0xdf)}}};function _0x2a77(_0x2e4e91,_0x51085f){const _0x180f66=_0x180f();return _0x2a77=function(_0x2a772b,_0x21c95c){_0x2a772b=_0x2a772b-0xc8;let _0x3a0293=_0x180f66[_0x2a772b];return _0x3a0293;},_0x2a77(_0x2e4e91,_0x51085f);}module[_0xc76cbb(0xd9)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x32fa2e=_0x5cf5;(function(_0x2a3a0d,_0x256b3a){const _0x2b8b23=_0x5cf5,_0x3c1446=_0x2a3a0d();while(!![]){try{const _0xdfd643=parseInt(_0x2b8b23(0x158))/0x1+parseInt(_0x2b8b23(0x155))/0x2*(parseInt(_0x2b8b23(0x14a))/0x3)+parseInt(_0x2b8b23(0x145))/0x4*(parseInt(_0x2b8b23(0x13f))/0x5)+parseInt(_0x2b8b23(0x138))/0x6+parseInt(_0x2b8b23(0x146))/0x7*(parseInt(_0x2b8b23(0x150))/0x8)+-parseInt(_0x2b8b23(0x143))/0x9*(-parseInt(_0x2b8b23(0x141))/0xa)+parseInt(_0x2b8b23(0x14d))/0xb*(-parseInt(_0x2b8b23(0x135))/0xc);if(_0xdfd643===_0x256b3a)break;else _0x3c1446['push'](_0x3c1446['shift']());}catch(_0xde0672){_0x3c1446['push'](_0x3c1446['shift']());}}}(_0x49e4,0x4d60f));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x32fa2e(0x136),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x32fa2e(0x156),'networkError':_0x32fa2e(0x133),'maxRetriesExceeded':_0x32fa2e(0x13c),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x32fa2e(0x149)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x32fa2e(0x12b),'apiKey':_0x32fa2e(0x134),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x32fa2e(0x131),'enableAuth':_0x32fa2e(0x13d),'enableAuthHint':_0x32fa2e(0x13e),'connectionInfo':_0x32fa2e(0x14b),'serverEndpoint':'Server\x20Endpoint','sessionId':_0x32fa2e(0x139),'maxRetries':_0x32fa2e(0x14c),'save':_0x32fa2e(0x12e),'saving':_0x32fa2e(0x151),'note1':_0x32fa2e(0x137),'note2':_0x32fa2e(0x12d),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x32fa2e(0x132),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x32fa2e(0x148),'univerAiLabel':_0x32fa2e(0x154),'getStarted':_0x32fa2e(0x130)},'validation':{'apiKeyRequired':_0x32fa2e(0x12f),'apiKeyTooShort':_0x32fa2e(0x147),'invalidConfig':_0x32fa2e(0x13b),'invalidApiKey':_0x32fa2e(0x157)},'connectionStatus':{'disconnected':_0x32fa2e(0x152),'connecting':_0x32fa2e(0x153),'connected':_0x32fa2e(0x144),'failed':_0x32fa2e(0x13a),'retrying':_0x32fa2e(0x14f)},'connectionError':{'missingApiKey':_0x32fa2e(0x142),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x32fa2e(0x12c),'networkError':_0x32fa2e(0x14e),'maxRetriesExceeded':_0x32fa2e(0x140)}}},n=e;function _0x49e4(){const _0x50cb91=['Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Retrying...','8dXnbRf','Saving...','Disconnected','Connecting...','Univer\x20AI\x20Console','506JDswde','MCP:\x20Session\x20Occupied','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','581845kIesMj','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Save\x20Configuration','API\x20key\x20is\x20required','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Failed\x20to\x20save\x20configuration','MCP:\x20Network\x20Error','API\x20Key','26943852GFzagI','MCP\x20Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','2073288TRGlrz','Session\x20ID','Connection\x20Failed','Invalid\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20Authentication','Enable\x20authentication\x20for\x20secure\x20connections','1000eyHdLF','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','6161270ueKcxn','API\x20key\x20is\x20required\x20to\x20connect','9sxsllW','Connected','5476DwUpKm','912849HkEwLf','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20configure\x20MCP','7287AZBEaB','Connection\x20Information','Max\x20Retries','11qiYcfE'];_0x49e4=function(){return _0x50cb91;};return _0x49e4();}function _0x5cf5(_0x3e88fb,_0x32412b){const _0x49e4e8=_0x49e4();return _0x5cf5=function(_0x5cf501,_0x296e03){_0x5cf501=_0x5cf501-0x12b;let _0x2f3dd5=_0x49e4e8[_0x5cf501];return _0x2f3dd5;},_0x5cf5(_0x3e88fb,_0x32412b);}module['exports']=n;
1
+ 'use strict';const _0x3cb8be=_0x5933;(function(_0x23695b,_0x3be0c7){const _0xb1cdfb=_0x5933,_0x504ee8=_0x23695b();while(!![]){try{const _0x53e42d=parseInt(_0xb1cdfb(0x142))/0x1*(parseInt(_0xb1cdfb(0x164))/0x2)+-parseInt(_0xb1cdfb(0x153))/0x3+-parseInt(_0xb1cdfb(0x156))/0x4+-parseInt(_0xb1cdfb(0x152))/0x5+parseInt(_0xb1cdfb(0x158))/0x6+-parseInt(_0xb1cdfb(0x15b))/0x7*(-parseInt(_0xb1cdfb(0x143))/0x8)+parseInt(_0xb1cdfb(0x162))/0x9*(parseInt(_0xb1cdfb(0x15e))/0xa);if(_0x53e42d===_0x3be0c7)break;else _0x504ee8['push'](_0x504ee8['shift']());}catch(_0x2d8ea1){_0x504ee8['push'](_0x504ee8['shift']());}}}(_0x5c36,0x89adf));function _0x5933(_0x3cf7a8,_0x56752d){const _0x5c36ff=_0x5c36();return _0x5933=function(_0x59338c,_0x2721a1){_0x59338c=_0x59338c-0x142;let _0x2991c2=_0x5c36ff[_0x59338c];return _0x2991c2;},_0x5933(_0x3cf7a8,_0x56752d);}const e={'mcpStatus':{'disconnected':_0x3cb8be(0x146),'connecting':_0x3cb8be(0x15c),'connected':_0x3cb8be(0x172),'failed':_0x3cb8be(0x176),'retrying':'MCP\x20Retrying...','unknown':_0x3cb8be(0x175),'missingApiKey':_0x3cb8be(0x150),'invalidApiKey':_0x3cb8be(0x147),'sessionOccupied':_0x3cb8be(0x169),'networkError':_0x3cb8be(0x149),'maxRetriesExceeded':_0x3cb8be(0x179),'clickToConnect':_0x3cb8be(0x16c),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x3cb8be(0x166),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x3cb8be(0x163),'apiKeyPlaceholder':_0x3cb8be(0x145),'apiKeyHint':_0x3cb8be(0x159),'enableAuth':_0x3cb8be(0x154),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x3cb8be(0x151),'mcpClientConfig':_0x3cb8be(0x151),'configInstructions':_0x3cb8be(0x177),'configStepTitle':_0x3cb8be(0x14b),'configStep1':_0x3cb8be(0x16d),'configStep2':_0x3cb8be(0x14c),'configStep3':_0x3cb8be(0x165),'sessionId':_0x3cb8be(0x171),'sessionIdDescription':_0x3cb8be(0x16e),'authorizationDescription':_0x3cb8be(0x178),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x3cb8be(0x16a),'save':'Save\x20Configuration','saving':_0x3cb8be(0x173),'note1':_0x3cb8be(0x174),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x3cb8be(0x16b),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3cb8be(0x16f),'description':_0x3cb8be(0x14d),'univerAiLabel':_0x3cb8be(0x157),'getStarted':_0x3cb8be(0x148)},'validation':{'apiKeyRequired':_0x3cb8be(0x168),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x3cb8be(0x14a)},'connectionStatus':{'disconnected':_0x3cb8be(0x170),'connecting':_0x3cb8be(0x161),'connected':_0x3cb8be(0x167),'failed':_0x3cb8be(0x15f),'retrying':_0x3cb8be(0x160)},'connectionError':{'missingApiKey':_0x3cb8be(0x144),'invalidApiKey':_0x3cb8be(0x155),'sessionOccupied':_0x3cb8be(0x15a),'networkError':_0x3cb8be(0x14f),'maxRetriesExceeded':_0x3cb8be(0x15d)}}},n=e;function _0x5c36(){const _0x1c5c25=['84810UjtzTR','Enable\x20Authentication','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','2316920IbwGte','Univer\x20AI\x20Console','679662UyaIvt','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','14pdpEZa','MCP\x20Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','4750uRjIcp','Connection\x20Failed','Retrying...','Connecting...','25101LGTRef','API\x20Key','26DpGyIP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Configuration','Connected','API\x20key\x20is\x20required','MCP:\x20Session\x20Occupied','Max\x20Retries','Configuration\x20saved\x20successfully','Click\x20to\x20connect\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','What\x20is\x20API\x20Key?','Disconnected','Session\x20ID','MCP\x20Connected','Saving...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Unknown\x20Status','MCP\x20Connection\x20Failed','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Max\x20Retries\x20Exceeded','827sVPTFv','3299448OqFXgS','API\x20key\x20is\x20required\x20to\x20connect','Enter\x20your\x20API\x20key','MCP\x20Disconnected','MCP:\x20Invalid\x20API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20Steps:','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.','exports','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20API\x20Key\x20Missing','MCP\x20Client\x20Configuration','5511150IEMxKQ'];_0x5c36=function(){return _0x1c5c25;};return _0x5c36();}module[_0x3cb8be(0x14e)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x4daf(_0x2a8876,_0xaa1dc5){const _0x1408a3=_0x1408();return _0x4daf=function(_0x4dafa1,_0x260837){_0x4dafa1=_0x4dafa1-0x190;let _0x21c9cd=_0x1408a3[_0x4dafa1];return _0x21c9cd;},_0x4daf(_0x2a8876,_0xaa1dc5);}const _0x20f318=_0x4daf;(function(_0xfff242,_0x29934b){const _0x5c5eeb=_0x4daf,_0x367bb8=_0xfff242();while(!![]){try{const _0x3606e4=parseInt(_0x5c5eeb(0x192))/0x1+parseInt(_0x5c5eeb(0x1bb))/0x2+parseInt(_0x5c5eeb(0x1a4))/0x3*(parseInt(_0x5c5eeb(0x19a))/0x4)+parseInt(_0x5c5eeb(0x1ba))/0x5+-parseInt(_0x5c5eeb(0x1b6))/0x6+parseInt(_0x5c5eeb(0x1b1))/0x7*(-parseInt(_0x5c5eeb(0x1b4))/0x8)+-parseInt(_0x5c5eeb(0x193))/0x9;if(_0x3606e4===_0x29934b)break;else _0x367bb8['push'](_0x367bb8['shift']());}catch(_0x54a543){_0x367bb8['push'](_0x367bb8['shift']());}}}(_0x1408,0xe44d4));function _0x1408(){const _0x1e0b5a=['Connected','exports','Connection\x20Failed','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','2959281zwKmIX','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connecting...','Server\x20Endpoint','Enter\x20your\x20API\x20key','Enable\x20Authentication','Session\x20ID','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','394527vEFodD','What\x20is\x20API\x20Key?','Max\x20Retries','152akIVEz','Disconnected','8284428pbJPEU','Invalid\x20configuration','MCP\x20Retrying...','Configuration\x20saved\x20successfully','8148555xEaHDE','719646CHmNZl','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Failed\x20to\x20save\x20configuration','Save\x20Configuration','MCP:\x20Session\x20Occupied','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Disconnected','API\x20Key','1440331tvfRML','9266139EQHYet','MCP\x20Connected','MCP\x20Unknown\x20Status','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP:\x20Max\x20Retries\x20Exceeded','Connection\x20Information','MCP\x20Connection\x20Failed','4iXbYHJ','MCP:\x20API\x20Key\x20Missing','Saving...','API\x20key\x20is\x20required\x20to\x20connect','Click\x20to\x20connect\x20MCP','Click\x20to\x20configure\x20MCP'];_0x1408=function(){return _0x1e0b5a;};return _0x1408();}const e={'mcpStatus':{'disconnected':_0x20f318(0x190),'connecting':_0x20f318(0x1a8),'connected':_0x20f318(0x194),'failed':_0x20f318(0x199),'retrying':_0x20f318(0x1b8),'unknown':_0x20f318(0x195),'missingApiKey':_0x20f318(0x19b),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x20f318(0x1bf),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x20f318(0x197),'clickToConnect':_0x20f318(0x19e),'clickToConfigure':_0x20f318(0x19f)},'mcpConfig':{'title':_0x20f318(0x1a6),'description':_0x20f318(0x1b0),'apiKey':_0x20f318(0x191),'apiKeyPlaceholder':_0x20f318(0x1aa),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x20f318(0x1ab),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x20f318(0x198),'serverEndpoint':_0x20f318(0x1a9),'sessionId':_0x20f318(0x1ac),'maxRetries':_0x20f318(0x1b3),'save':_0x20f318(0x1be),'saving':_0x20f318(0x19c),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x20f318(0x1bc),'configSaved':_0x20f318(0x1b9),'configError':_0x20f318(0x1bd),'apiApplyInfo':{'title':_0x20f318(0x1b2),'description':_0x20f318(0x1c0),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x20f318(0x1ad),'apiKeyTooShort':_0x20f318(0x1af),'invalidConfig':_0x20f318(0x1b7),'invalidApiKey':_0x20f318(0x1ae)},'connectionStatus':{'disconnected':_0x20f318(0x1b5),'connecting':'Connecting...','connected':_0x20f318(0x1a0),'failed':_0x20f318(0x1a2),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x20f318(0x19d),'invalidApiKey':_0x20f318(0x196),'sessionOccupied':_0x20f318(0x1a3),'networkError':_0x20f318(0x1a7),'maxRetriesExceeded':_0x20f318(0x1a5)}}},n=e;module[_0x20f318(0x1a1)]=n;
1
+ 'use strict';const _0x39da72=_0xbdbd;(function(_0x2e8659,_0x31b6e1){const _0x490685=_0xbdbd,_0x173b07=_0x2e8659();while(!![]){try{const _0x586b82=-parseInt(_0x490685(0x104))/0x1+-parseInt(_0x490685(0x10f))/0x2*(-parseInt(_0x490685(0xf1))/0x3)+-parseInt(_0x490685(0x10c))/0x4*(parseInt(_0x490685(0xf2))/0x5)+parseInt(_0x490685(0xe3))/0x6+-parseInt(_0x490685(0xfb))/0x7+parseInt(_0x490685(0x103))/0x8*(-parseInt(_0x490685(0xff))/0x9)+parseInt(_0x490685(0xf4))/0xa;if(_0x586b82===_0x31b6e1)break;else _0x173b07['push'](_0x173b07['shift']());}catch(_0x282c37){_0x173b07['push'](_0x173b07['shift']());}}}(_0xea1e,0xb0176));function _0xbdbd(_0x4abec5,_0x4942b2){const _0xea1e81=_0xea1e();return _0xbdbd=function(_0xbdbd90,_0x27ffd8){_0xbdbd90=_0xbdbd90-0xe1;let _0x225c6e=_0xea1e81[_0xbdbd90];return _0x225c6e;},_0xbdbd(_0x4abec5,_0x4942b2);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x39da72(0xf8),'connected':_0x39da72(0xe6),'failed':_0x39da72(0xfc),'retrying':_0x39da72(0x102),'unknown':_0x39da72(0xfe),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x39da72(0xf7),'sessionOccupied':_0x39da72(0xf5),'networkError':_0x39da72(0x109),'maxRetriesExceeded':_0x39da72(0x111),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x39da72(0x112),'apiKeyPlaceholder':_0x39da72(0xe1),'apiKeyHint':_0x39da72(0x114),'enableAuth':_0x39da72(0x105),'enableAuthHint':_0x39da72(0x10d),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x39da72(0x107),'configInstructions':_0x39da72(0xf0),'configStepTitle':_0x39da72(0xf6),'configStep1':_0x39da72(0x106),'configStep2':_0x39da72(0x108),'configStep3':_0x39da72(0xe9),'sessionId':_0x39da72(0x10e),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x39da72(0xe5),'configParameters':_0x39da72(0xe8),'maxRetries':_0x39da72(0xe4),'save':_0x39da72(0x100),'saving':_0x39da72(0x101),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x39da72(0xe7),'configSaved':_0x39da72(0xfd),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x39da72(0x113),'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':_0x39da72(0x10a),'getStarted':_0x39da72(0xf9)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x39da72(0xef),'invalidConfig':_0x39da72(0xfa),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x39da72(0x110),'connecting':'Connecting...','connected':'Connected','failed':_0x39da72(0xed),'retrying':_0x39da72(0xeb)},'connectionError':{'missingApiKey':_0x39da72(0xee),'invalidApiKey':_0x39da72(0xec),'sessionOccupied':_0x39da72(0xe2),'networkError':_0x39da72(0xf3),'maxRetriesExceeded':_0x39da72(0xea)}}},n=e;module[_0x39da72(0x10b)]=n;function _0xea1e(){const _0xc055c3=['687112TjhLTO','Enable\x20Authentication','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Network\x20Error','Univer\x20AI\x20Console','exports','16VnFfgY','Enable\x20authentication\x20for\x20secure\x20connections','Session\x20ID','2xJrjid','Disconnected','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enter\x20your\x20API\x20key','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','1017672rKYPZr','Max\x20Retries','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20Parameters:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Connection\x20Failed','API\x20key\x20is\x20required\x20to\x20connect','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','2885514dhPkRg','1133935mEESfJ','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','20917480GnsdFI','MCP:\x20Session\x20Occupied','Configuration\x20Steps:','MCP:\x20Invalid\x20API\x20Key','MCP\x20Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','6123971cGWyDy','MCP\x20Connection\x20Failed','Configuration\x20saved\x20successfully','MCP\x20Unknown\x20Status','45RVRSFE','Save\x20Configuration','Saving...','MCP\x20Retrying...','52504GiDmDf'];_0xea1e=function(){return _0xc055c3;};return _0xea1e();}
@@ -1 +1 @@
1
- 'use strict';function _0x5495(_0x498d8e,_0x173734){const _0x16d2ea=_0x16d2();return _0x5495=function(_0x549572,_0x2943f1){_0x549572=_0x549572-0x153;let _0x12649d=_0x16d2ea[_0x549572];return _0x12649d;},_0x5495(_0x498d8e,_0x173734);}const _0x177c90=_0x5495;(function(_0xd13de2,_0x473f66){const _0x452bff=_0x5495,_0x27a6af=_0xd13de2();while(!![]){try{const _0xeac42d=-parseInt(_0x452bff(0x15c))/0x1+parseInt(_0x452bff(0x15f))/0x2*(-parseInt(_0x452bff(0x175))/0x3)+-parseInt(_0x452bff(0x17d))/0x4+-parseInt(_0x452bff(0x172))/0x5*(-parseInt(_0x452bff(0x16c))/0x6)+-parseInt(_0x452bff(0x17c))/0x7*(-parseInt(_0x452bff(0x16b))/0x8)+parseInt(_0x452bff(0x154))/0x9*(-parseInt(_0x452bff(0x167))/0xa)+-parseInt(_0x452bff(0x17a))/0xb*(-parseInt(_0x452bff(0x166))/0xc);if(_0xeac42d===_0x473f66)break;else _0x27a6af['push'](_0x27a6af['shift']());}catch(_0x53e3b9){_0x27a6af['push'](_0x27a6af['shift']());}}}(_0x16d2,0xc41f5));function _0x16d2(){const _0x3301d9=['Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','MCP\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Get\x20your\x20API\x20key\x20in\x20seconds','1167245uMAQvD','API\x20key\x20is\x20required','Max\x20Retries','21261etmEpO','Univer\x20AI\x20Console','MCP:\x20API\x20Key\x20Missing','MCP:\x20Invalid\x20API\x20Key','Invalid\x20configuration','932734wDakXe','API\x20key\x20is\x20required\x20to\x20connect','2117633IavaYd','1309512iOejKv','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connecting...','What\x20is\x20API\x20Key?','6518088EpusGN','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20connect\x20MCP','MCP\x20Disconnected','MCP:\x20Network\x20Error','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Save\x20Configuration','Server\x20Endpoint','1081261KkvFCi','Enter\x20your\x20API\x20key','MCP\x20Connection\x20Failed','346cQcOsk','MCP\x20Unknown\x20Status','exports','Retrying...','Connection\x20Failed','Configuration\x20saved\x20successfully','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','348NqeyUD','10cVPVAi','Connected','Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','8hLvWxx','36pvHVSm'];_0x16d2=function(){return _0x3301d9;};return _0x16d2();}const e={'mcpStatus':{'disconnected':_0x177c90(0x157),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x177c90(0x15e),'retrying':'MCP\x20Retrying...','unknown':_0x177c90(0x160),'missingApiKey':_0x177c90(0x177),'invalidApiKey':_0x177c90(0x178),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x177c90(0x158),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x177c90(0x156),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x177c90(0x16f),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x177c90(0x15d),'apiKeyHint':_0x177c90(0x159),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x177c90(0x155),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x177c90(0x15b),'sessionId':_0x177c90(0x16e),'maxRetries':_0x177c90(0x174),'save':_0x177c90(0x15a),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x177c90(0x16d),'configSaved':_0x177c90(0x164),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x177c90(0x153),'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':_0x177c90(0x176),'getStarted':_0x177c90(0x171)},'validation':{'apiKeyRequired':_0x177c90(0x173),'apiKeyTooShort':_0x177c90(0x165),'invalidConfig':_0x177c90(0x179),'invalidApiKey':_0x177c90(0x170)},'connectionStatus':{'disconnected':_0x177c90(0x169),'connecting':_0x177c90(0x17f),'connected':_0x177c90(0x168),'failed':_0x177c90(0x163),'retrying':_0x177c90(0x162)},'connectionError':{'missingApiKey':_0x177c90(0x17b),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x177c90(0x17e),'maxRetriesExceeded':_0x177c90(0x16a)}}},n=e;module[_0x177c90(0x161)]=n;
1
+ 'use strict';const _0x1c9470=_0x1616;function _0x921d(){const _0x464753=['API\x20key\x20is\x20required\x20to\x20connect','3333148BpbHXk','378116gpoJeI','MCP:\x20Max\x20Retries\x20Exceeded','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','4980424utJfzJ','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Disconnected','30fwRsjj','MCP\x20Unknown\x20Status','API\x20Key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','What\x20is\x20API\x20Key?','MCP\x20Connection\x20Failed','MCP:\x20API\x20Key\x20Missing','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','2425130VzqimU','Save\x20Configuration','63zCwRoD','Configuration\x20saved\x20successfully','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Session\x20ID','MCP:\x20Invalid\x20API\x20Key','Univer\x20AI\x20Console','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20with\x20Bearer\x20prefix.','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Client\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','10502328mmiURH','272048lVXQzY','Disconnected','265288GOqLHL','MCP\x20Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Parameters:','MCP\x20Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Max\x20Retries','MCP\x20Configuration','API\x20key\x20is\x20required','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Saving...','MCP:\x20Network\x20Error','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Retrying...','Failed\x20to\x20save\x20configuration','Click\x20to\x20connect\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','Connection\x20Failed'];_0x921d=function(){return _0x464753;};return _0x921d();}(function(_0x395b90,_0x19655a){const _0xb03f81=_0x1616,_0x881f8=_0x395b90();while(!![]){try{const _0x3e41c1=-parseInt(_0xb03f81(0xf3))/0x1+parseInt(_0xb03f81(0xf5))/0x2*(-parseInt(_0xb03f81(0x10f))/0x3)+-parseInt(_0xb03f81(0x109))/0x4+parseInt(_0xb03f81(0x117))/0x5+-parseInt(_0xb03f81(0xf2))/0x6+-parseInt(_0xb03f81(0x108))/0x7+-parseInt(_0xb03f81(0x10c))/0x8*(-parseInt(_0xb03f81(0xe3))/0x9);if(_0x3e41c1===_0x19655a)break;else _0x881f8['push'](_0x881f8['shift']());}catch(_0x22d8bb){_0x881f8['push'](_0x881f8['shift']());}}}(_0x921d,0xe16c0));function _0x1616(_0x5dfccb,_0x3903e5){const _0x921dc5=_0x921d();return _0x1616=function(_0x161658,_0x552ef5){_0x161658=_0x161658-0xe2;let _0x59ff7c=_0x921dc5[_0x161658];return _0x59ff7c;},_0x1616(_0x5dfccb,_0x3903e5);}const e={'mcpStatus':{'disconnected':_0x1c9470(0x10e),'connecting':'MCP\x20Connecting...','connected':_0x1c9470(0xf6),'failed':_0x1c9470(0x114),'retrying':_0x1c9470(0xf9),'unknown':_0x1c9470(0x110),'missingApiKey':_0x1c9470(0x115),'invalidApiKey':_0x1c9470(0xe8),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x1c9470(0x100),'maxRetriesExceeded':_0x1c9470(0x10a),'clickToConnect':_0x1c9470(0x104),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1c9470(0xfc),'description':_0x1c9470(0x10b),'apiKey':_0x1c9470(0x111),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1c9470(0x112),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x1c9470(0xea),'connectionInfo':_0x1c9470(0xef),'mcpClientConfig':_0x1c9470(0xef),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x1c9470(0x105),'configStep2':_0x1c9470(0xf7),'configStep3':_0x1c9470(0x116),'sessionId':_0x1c9470(0xe7),'sessionIdDescription':_0x1c9470(0xf1),'authorizationDescription':_0x1c9470(0xeb),'configParameters':_0x1c9470(0xf8),'maxRetries':_0x1c9470(0xfb),'save':_0x1c9470(0xe2),'saving':_0x1c9470(0xff),'note1':_0x1c9470(0xed),'note2':_0x1c9470(0xe5),'configSaved':_0x1c9470(0xe4),'configError':_0x1c9470(0x103),'apiApplyInfo':{'title':_0x1c9470(0x113),'description':_0x1c9470(0xfa),'univerAiLabel':_0x1c9470(0xe9),'getStarted':_0x1c9470(0x10d)},'validation':{'apiKeyRequired':_0x1c9470(0xfd),'apiKeyTooShort':_0x1c9470(0xf0),'invalidConfig':_0x1c9470(0xec),'invalidApiKey':_0x1c9470(0xe6)},'connectionStatus':{'disconnected':_0x1c9470(0xf4),'connecting':'Connecting...','connected':'Connected','failed':_0x1c9470(0x106),'retrying':_0x1c9470(0x102)},'connectionError':{'missingApiKey':_0x1c9470(0x107),'invalidApiKey':_0x1c9470(0x101),'sessionOccupied':_0x1c9470(0xfe),'networkError':_0x1c9470(0xee),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';function _0x554f(){const _0x18600d=['55330WBksiZ','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','2681wZPERt','90SafpzM','MCP:\x20Session\x20Occupied','Enable\x20authentication\x20for\x20secure\x20connections','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','5666580yBtSBh','API\x20key\x20is\x20required','10542552RDUnDZ','Saving...','MCP\x20Connected','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Unknown\x20Status','Click\x20to\x20connect\x20MCP','26232AsWeXk','Retrying...','What\x20is\x20API\x20Key?','11860mVaxpY','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','35873nUJKnP','Disconnected','19940LVCVdB','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Server\x20Endpoint','MCP:\x20Max\x20Retries\x20Exceeded','Enter\x20your\x20API\x20key','Save\x20Configuration','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Get\x20your\x20API\x20key\x20in\x20seconds','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connection\x20Information','MCP\x20Disconnected','3932316wLnMQl','Connected','244gxvmPQ','Connection\x20Failed'];_0x554f=function(){return _0x18600d;};return _0x554f();}const _0xc2424a=_0x1261;(function(_0x2ebb7f,_0x1edde4){const _0x500618=_0x1261,_0x40dca3=_0x2ebb7f();while(!![]){try{const _0x339606=-parseInt(_0x500618(0x1b5))/0x1*(parseInt(_0x500618(0x1a1))/0x2)+-parseInt(_0x500618(0x1c3))/0x3+-parseInt(_0x500618(0x1c5))/0x4*(-parseInt(_0x500618(0x1b7))/0x5)+-parseInt(_0x500618(0x1a8))/0x6+parseInt(_0x500618(0x1ca))/0x7*(-parseInt(_0x500618(0x1b0))/0x8)+parseInt(_0x500618(0x1a6))/0x9+-parseInt(_0x500618(0x1b3))/0xa*(-parseInt(_0x500618(0x1c7))/0xb);if(_0x339606===_0x1edde4)break;else _0x40dca3['push'](_0x40dca3['shift']());}catch(_0x41001c){_0x40dca3['push'](_0x40dca3['shift']());}}}(_0x554f,0xdbd6e));function _0x1261(_0x5417c5,_0x4423b1){const _0x554f27=_0x554f();return _0x1261=function(_0x12610c,_0x433960){_0x12610c=_0x12610c-0x1a1;let _0x3a55e1=_0x554f27[_0x12610c];return _0x3a55e1;},_0x1261(_0x5417c5,_0x4423b1);}const e={'mcpStatus':{'disconnected':_0xc2424a(0x1c2),'connecting':_0xc2424a(0x1ac),'connected':_0xc2424a(0x1aa),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0xc2424a(0x1ae),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0xc2424a(0x1a2),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xc2424a(0x1ba),'clickToConnect':_0xc2424a(0x1af),'clickToConfigure':_0xc2424a(0x1bd)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xc2424a(0x1c0),'apiKey':'API\x20Key','apiKeyPlaceholder':_0xc2424a(0x1bb),'apiKeyHint':_0xc2424a(0x1c8),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0xc2424a(0x1a3),'connectionInfo':_0xc2424a(0x1c1),'serverEndpoint':_0xc2424a(0x1b9),'sessionId':'Session\x20ID','maxRetries':'Max\x20Retries','save':_0xc2424a(0x1bc),'saving':_0xc2424a(0x1a9),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xc2424a(0x1be),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xc2424a(0x1b2),'description':_0xc2424a(0x1ad),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0xc2424a(0x1bf)},'validation':{'apiKeyRequired':_0xc2424a(0x1a7),'apiKeyTooShort':_0xc2424a(0x1c9),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0xc2424a(0x1a5)},'connectionStatus':{'disconnected':_0xc2424a(0x1b6),'connecting':'Connecting...','connected':_0xc2424a(0x1c4),'failed':_0xc2424a(0x1c6),'retrying':_0xc2424a(0x1b1)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0xc2424a(0x1b4),'sessionOccupied':_0xc2424a(0x1ab),'networkError':_0xc2424a(0x1a4),'maxRetriesExceeded':_0xc2424a(0x1b8)}}},n=e;module['exports']=n;
1
+ 'use strict';function _0x4d8b(){const _0x2709ce=['MCP\x20Client\x20Configuration','Connection\x20Failed','Configuration\x20Parameters:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20Steps:','MCP:\x20API\x20Key\x20Missing','Click\x20to\x20configure\x20MCP','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','160DCrfdY','API\x20key\x20is\x20required','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Session\x20ID','Connected','MCP\x20Connecting...','MCP\x20Unknown\x20Status','335007tpUrMB','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disconnected','64600yFGrOe','397425MiwsGd','1705272GZTBKW','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed','1405236vJnlZp','MCP\x20Connected','API\x20Key','3106eDOTql','Copy\x20the\x20JSON\x20configuration\x20below','139794zxmnqi','MCP\x20Disconnected','Failed\x20to\x20save\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Invalid\x20API\x20Key','Click\x20to\x20connect\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Retrying...','MCP:\x20Max\x20Retries\x20Exceeded','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20is\x20required\x20to\x20connect','Max\x20Retries','Enable\x20Authentication','MCP:\x20Session\x20Occupied','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','93dOxCAl','Enter\x20your\x20API\x20key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','5fpjDjH','Saving...','Retrying...','MCP\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20saved\x20successfully','Get\x20your\x20API\x20key\x20in\x20seconds','exports'];_0x4d8b=function(){return _0x2709ce;};return _0x4d8b();}const _0x598b52=_0x1c9b;(function(_0x443f32,_0x457d0a){const _0xceb966=_0x1c9b,_0xbf104c=_0x443f32();while(!![]){try{const _0x77ee78=parseInt(_0xceb966(0x1fa))/0x1+-parseInt(_0xceb966(0x202))/0x2*(parseInt(_0xceb966(0x213))/0x3)+parseInt(_0xceb966(0x1f9))/0x4*(parseInt(_0xceb966(0x218))/0x5)+parseInt(_0xceb966(0x204))/0x6+parseInt(_0xceb966(0x1ff))/0x7+parseInt(_0xceb966(0x1fb))/0x8+-parseInt(_0xceb966(0x1f5))/0x9*(parseInt(_0xceb966(0x1ee))/0xa);if(_0x77ee78===_0x457d0a)break;else _0xbf104c['push'](_0xbf104c['shift']());}catch(_0x2c5282){_0xbf104c['push'](_0xbf104c['shift']());}}}(_0x4d8b,0x328de));function _0x1c9b(_0x4f4040,_0x9f4205){const _0x4d8b19=_0x4d8b();return _0x1c9b=function(_0x1c9b80,_0x250767){_0x1c9b80=_0x1c9b80-0x1e7;let _0x22aa5a=_0x4d8b19[_0x1c9b80];return _0x22aa5a;},_0x1c9b(_0x4f4040,_0x9f4205);}const e={'mcpStatus':{'disconnected':_0x598b52(0x205),'connecting':_0x598b52(0x1f3),'connected':_0x598b52(0x200),'failed':_0x598b52(0x1fe),'retrying':_0x598b52(0x20b),'unknown':_0x598b52(0x1f4),'missingApiKey':_0x598b52(0x1ea),'invalidApiKey':_0x598b52(0x208),'sessionOccupied':_0x598b52(0x211),'networkError':_0x598b52(0x1fd),'maxRetriesExceeded':_0x598b52(0x20c),'clickToConnect':_0x598b52(0x209),'clickToConfigure':_0x598b52(0x1eb)},'mcpConfig':{'title':_0x598b52(0x21b),'description':_0x598b52(0x1fc),'apiKey':_0x598b52(0x201),'apiKeyPlaceholder':_0x598b52(0x214),'apiKeyHint':_0x598b52(0x21c),'enableAuth':_0x598b52(0x210),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x598b52(0x220),'mcpClientConfig':_0x598b52(0x220),'configInstructions':_0x598b52(0x1f6),'configStepTitle':_0x598b52(0x1e9),'configStep1':_0x598b52(0x203),'configStep2':_0x598b52(0x215),'configStep3':_0x598b52(0x1f7),'sessionId':_0x598b52(0x1f1),'sessionIdDescription':_0x598b52(0x217),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x598b52(0x222),'maxRetries':_0x598b52(0x20f),'save':'Save\x20Configuration','saving':_0x598b52(0x219),'note1':_0x598b52(0x207),'note2':_0x598b52(0x1e7),'configSaved':_0x598b52(0x21d),'configError':_0x598b52(0x206),'apiApplyInfo':{'title':_0x598b52(0x1ec),'description':_0x598b52(0x212),'univerAiLabel':_0x598b52(0x1ed),'getStarted':_0x598b52(0x21e)},'validation':{'apiKeyRequired':_0x598b52(0x1ef),'apiKeyTooShort':_0x598b52(0x20a),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x598b52(0x1e8)},'connectionStatus':{'disconnected':_0x598b52(0x1f8),'connecting':'Connecting...','connected':_0x598b52(0x1f2),'failed':_0x598b52(0x221),'retrying':_0x598b52(0x21a)},'connectionError':{'missingApiKey':_0x598b52(0x20e),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x598b52(0x1f0),'networkError':_0x598b52(0x216),'maxRetriesExceeded':_0x598b52(0x20d)}}},n=e;module[_0x598b52(0x21f)]=n;