@univerjs-pro/mcp-ui 0.10.10-nightly.202510180256 → 0.10.10-nightly.202510180327

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 (45) 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.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +6 -6
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x1309ae=_0x2f24;(function(_0x355ad8,_0x54f662){var _0x59ca0b=_0x2f24,_0x2932f7=_0x355ad8();while(!![]){try{var _0x4f2e46=parseInt(_0x59ca0b(0x241))/0x1+-parseInt(_0x59ca0b(0x1d0))/0x2*(-parseInt(_0x59ca0b(0x2e7))/0x3)+parseInt(_0x59ca0b(0x2bd))/0x4+-parseInt(_0x59ca0b(0x1e4))/0x5*(parseInt(_0x59ca0b(0x216))/0x6)+-parseInt(_0x59ca0b(0x294))/0x7*(-parseInt(_0x59ca0b(0x2f1))/0x8)+parseInt(_0x59ca0b(0x24a))/0x9+-parseInt(_0x59ca0b(0x246))/0xa;if(_0x4f2e46===_0x54f662)break;else _0x2932f7['push'](_0x2932f7['shift']());}catch(_0x263d9d){_0x2932f7['push'](_0x2932f7['shift']());}}}(_0x107b,0x6592c));var we=Object['defineProperty'],Ee=(_0x5304c6,_0x24b92f,_0x36ae9d)=>_0x24b92f in _0x5304c6?we(_0x5304c6,_0x24b92f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36ae9d}):_0x5304c6[_0x24b92f]=_0x36ae9d,S=(_0x2a197d,_0x1e87e7,_0x2a0be7)=>Ee(_0x2a197d,typeof _0x1e87e7!=_0x1309ae(0x2f8)?_0x1e87e7+'':_0x1e87e7,_0x2a0be7);import{LocaleService as _0xf977e4,Inject as _0x4931cc,Injector as _0x1f954f,IConfigService as _0x2175db,ILocalStorageService as _0xa7ade8,ILogService as _0x14cd60,Disposable as _0x3a008a,CommandType as _0x5940b2,ICommandService as _0x40a3fa,DependentOn as _0x24dc6d,Plugin as _0x4aee90,merge as _0x110f1d}from'@univerjs/core';import{jsxs as _0x175b0e,jsx as _0x34e56f}from'react/jsx-runtime';import{MCPConnectionStatus as _0x3d189a,MCPConnectionError as _0x155156,MCPConnectionController as _0x53598a,MCP_PLUGIN_CONFIG_KEY as _0x334268,UniverMCPPlugin as _0x2a9637}from'@univerjs-pro/mcp';import{Input as _0x35a55a,Button as _0x17f7d8,MessageType as _0x4cc1c0,Tooltip as _0x2c9432,clsx as _0x5522f7}from'@univerjs/design';import{useDependency as _0x38e73c,useObservable as _0x3c85ef,IUIPartsService as _0x161e40,IDialogService as _0x1fe55e,IMessageService as _0x3bf398,ComponentManager as _0x5c9bc8,connectInjector as _0x86d210,BuiltInUIPart as _0x514c0e,MenuItemType as _0x5c186e,RibbonStartGroup as _0xc438f2,IMenuManagerService as _0x51b9b5}from'@univerjs/ui';import{BehaviorSubject as _0x3a2994}from'rxjs';import{forwardRef as _0x51e8a4,useRef as _0x1199df,createElement as _0x19bf9d,useState as _0x33f5c1,useCallback as _0x5d99d5}from'react';import{ISocketService as _0x395c9c,WebSocketService as _0x1f4e9c}from'@univerjs/network';function _0x2f24(_0x465b54,_0x588758){var _0x107b74=_0x107b();return _0x2f24=function(_0x2f24eb,_0x1efbbb){_0x2f24eb=_0x2f24eb-0x1cb;var _0x35565d=_0x107b74[_0x2f24eb];return _0x35565d;},_0x2f24(_0x465b54,_0x588758);}var f=function(){var _0x5d5e49=_0x1309ae;return f=Object['assign']||function(_0x4e0816){var _0x4a52e6=_0x2f24;for(var _0x247858,_0x37c8ea=0x1,_0x1138fd=arguments[_0x4a52e6(0x28e)];_0x37c8ea<_0x1138fd;_0x37c8ea++){_0x247858=arguments[_0x37c8ea];for(var _0x24211e in _0x247858)Object[_0x4a52e6(0x1eb)][_0x4a52e6(0x213)][_0x4a52e6(0x212)](_0x247858,_0x24211e)&&(_0x4e0816[_0x24211e]=_0x247858[_0x24211e]);}return _0x4e0816;},f[_0x5d5e49(0x202)](this,arguments);},Ye=function(_0xddfccd,_0x18cd67){var _0x1bf49f=_0x1309ae,_0x331a8b={};for(var _0x3cff1c in _0xddfccd)Object[_0x1bf49f(0x1eb)][_0x1bf49f(0x213)]['call'](_0xddfccd,_0x3cff1c)&&_0x18cd67[_0x1bf49f(0x26d)](_0x3cff1c)<0x0&&(_0x331a8b[_0x3cff1c]=_0xddfccd[_0x3cff1c]);if(_0xddfccd!=null&&typeof Object['getOwnPropertySymbols']==_0x1bf49f(0x2a7)){for(var _0x5a9aea=0x0,_0x3cff1c=Object[_0x1bf49f(0x2ad)](_0xddfccd);_0x5a9aea<_0x3cff1c[_0x1bf49f(0x28e)];_0x5a9aea++)_0x18cd67['indexOf'](_0x3cff1c[_0x5a9aea])<0x0&&Object['prototype'][_0x1bf49f(0x1f3)][_0x1bf49f(0x212)](_0xddfccd,_0x3cff1c[_0x5a9aea])&&(_0x331a8b[_0x3cff1c[_0x5a9aea]]=_0xddfccd[_0x3cff1c[_0x5a9aea]]);}return _0x331a8b;},w=_0x51e8a4(function(_0xc0bf50,_0x62a0ea){var _0x2ae5ba=_0x1309ae,_0x2bb181=_0xc0bf50['icon'],_0x2d1d2b=_0xc0bf50['id'],_0x12cbe7=_0xc0bf50[_0x2ae5ba(0x2f9)],_0x272810=_0xc0bf50[_0x2ae5ba(0x1dc)],_0x4cec1d=Ye(_0xc0bf50,[_0x2ae5ba(0x323),'id','className','extend']),_0x34a8ff='univerjs-icon\x20univerjs-icon-'[_0x2ae5ba(0x273)](_0x2d1d2b,'\x20')[_0x2ae5ba(0x273)](_0x12cbe7||'')[_0x2ae5ba(0x23c)](),_0x52cba1=_0x1199df('_'[_0x2ae5ba(0x273)](Xe()));return ue(_0x2bb181,''[_0x2ae5ba(0x273)](_0x2d1d2b),{'defIds':_0x2bb181[_0x2ae5ba(0x251)],'idSuffix':_0x52cba1[_0x2ae5ba(0x309)]},f({'ref':_0x62a0ea,'className':_0x34a8ff},_0x4cec1d),_0x272810);});function ue(_0x11c253,_0x32096c,_0x4bcd2c,_0x1ca4a5,_0x2c67f0){var _0x176501=_0x1309ae;return _0x19bf9d(_0x11c253[_0x176501(0x1fc)],f(f({'key':_0x32096c},Ze(_0x11c253,_0x4bcd2c,_0x2c67f0)),_0x1ca4a5),(qe(_0x11c253,_0x4bcd2c)[_0x176501(0x1ea)]||[])[_0x176501(0x2a9)](function(_0x2cea90,_0x5e1cce){var _0x533e85=_0x176501;return ue(_0x2cea90,''[_0x533e85(0x273)](_0x32096c,'-')[_0x533e85(0x273)](_0x11c253[_0x533e85(0x1fc)],'-')['concat'](_0x5e1cce),_0x4bcd2c,void 0x0,_0x2c67f0);}));}function Ze(_0x573c23,_0x2041f7,_0xec8fcc){var _0x37e649=_0x1309ae,_0x2aa01f=f({},_0x573c23[_0x37e649(0x1f1)]);_0xec8fcc!=null&&_0xec8fcc[_0x37e649(0x306)]&&_0x2aa01f['fill']==='colorChannel1'&&(_0x2aa01f[_0x37e649(0x2fa)]=_0xec8fcc[_0x37e649(0x306)]),_0x573c23[_0x37e649(0x1fc)]==='mask'&&_0x2aa01f['id']&&(_0x2aa01f['id']=_0x2aa01f['id']+_0x2041f7[_0x37e649(0x2d3)]),Object['entries'](_0x2aa01f)[_0x37e649(0x217)](function(_0x5c01b2){var _0x854bce=_0x37e649,_0x48b8dd=_0x5c01b2[0x0],_0x284143=_0x5c01b2[0x1];_0x48b8dd==='mask'&&typeof _0x284143==_0x854bce(0x2eb)&&(_0x2aa01f[_0x48b8dd]=_0x284143[_0x854bce(0x1e6)](/url\(#(.*)\)/,_0x854bce(0x281)['concat'](_0x2041f7[_0x854bce(0x2d3)],')')));});var _0x5e2e17=_0x2041f7[_0x37e649(0x251)];return!_0x5e2e17||_0x5e2e17[_0x37e649(0x28e)]===0x0||(_0x573c23[_0x37e649(0x1fc)]===_0x37e649(0x2c3)&&_0x2aa01f[_0x37e649(0x254)]&&(_0x2aa01f[_0x37e649(0x254)]=_0x2aa01f['xlink:href']+_0x2041f7[_0x37e649(0x2d3)]),Object[_0x37e649(0x207)](_0x2aa01f)[_0x37e649(0x217)](function(_0x39b947){var _0x256ddd=_0x37e649,_0x526d8c=_0x39b947[0x0],_0x2d5b54=_0x39b947[0x1];typeof _0x2d5b54==_0x256ddd(0x2eb)&&(_0x2aa01f[_0x526d8c]=_0x2d5b54['replace'](/url\(#(.*)\)/,_0x256ddd(0x281)[_0x256ddd(0x273)](_0x2041f7[_0x256ddd(0x2d3)],')')));})),_0x2aa01f;}function qe(_0x417fc4,_0x5a6590){var _0x5dd5f9=_0x1309ae,_0x417f26,_0x11f11a=_0x5a6590[_0x5dd5f9(0x251)];return!_0x11f11a||_0x11f11a[_0x5dd5f9(0x28e)]===0x0?_0x417fc4:_0x417fc4['tag']==='defs'&&(!((_0x417f26=_0x417fc4[_0x5dd5f9(0x1ea)])===null||_0x417f26===void 0x0)&&_0x417f26[_0x5dd5f9(0x28e)])?f(f({},_0x417fc4),{'children':_0x417fc4[_0x5dd5f9(0x1ea)][_0x5dd5f9(0x2a9)](function(_0x3c4778){var _0x5f1447=_0x5dd5f9;return typeof _0x3c4778[_0x5f1447(0x1f1)]['id']=='string'&&_0x11f11a&&_0x11f11a[_0x5f1447(0x2e0)](_0x3c4778[_0x5f1447(0x1f1)]['id'])?f(f({},_0x3c4778),{'attrs':f(f({},_0x3c4778[_0x5f1447(0x1f1)]),{'id':_0x3c4778[_0x5f1447(0x1f1)]['id']+_0x5a6590[_0x5f1447(0x2d3)]})}):_0x3c4778;})}):_0x417fc4;}function Xe(){var _0x1e1cb2=_0x1309ae;return Math[_0x1e1cb2(0x308)]()[_0x1e1cb2(0x250)](0x24)[_0x1e1cb2(0x1ce)](0x2,0x8);}w[_0x1309ae(0x2f4)]='UniverIcon';var Je={'tag':_0x1309ae(0x22a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1309ae(0x2ff),'width':_0x1309ae(0x2c6),'height':_0x1309ae(0x2c6)},'children':[{'tag':_0x1309ae(0x2b3),'attrs':{'fill':'currentColor','d':_0x1309ae(0x303),'fillRule':_0x1309ae(0x2ea),'clipRule':_0x1309ae(0x2ea)}}]},le=_0x51e8a4(function(_0x29c287,_0x2618e1){return _0x19bf9d(w,Object['assign']({},_0x29c287,{'id':'check-mark-icon','ref':_0x2618e1,'icon':Je}));});le[_0x1309ae(0x2f4)]=_0x1309ae(0x329);var Qe={'tag':_0x1309ae(0x22a),'attrs':{'xmlns':_0x1309ae(0x1fb),'fill':_0x1309ae(0x1d8),'viewBox':'0\x200\x2017\x2017','width':'1em','height':_0x1309ae(0x2c6)},'children':[{'tag':_0x1309ae(0x2b3),'attrs':{'stroke':_0x1309ae(0x2c4),'d':_0x1309ae(0x2cd),'strokeLinecap':'round','strokeLinejoin':_0x1309ae(0x245),'strokeWidth':1.33}},{'tag':_0x1309ae(0x2b3),'attrs':{'stroke':_0x1309ae(0x2c4),'d':_0x1309ae(0x328),'strokeLinecap':_0x1309ae(0x245),'strokeLinejoin':'round','strokeWidth':1.33}}]},ve=_0x51e8a4(function(_0xd6e1ac,_0x22a7d9){var _0x1ac9e6=_0x1309ae;return _0x19bf9d(w,Object[_0x1ac9e6(0x228)]({},_0xd6e1ac,{'id':_0x1ac9e6(0x31d),'ref':_0x22a7d9,'icon':Qe}));});ve[_0x1309ae(0x2f4)]=_0x1309ae(0x27b);var en={'tag':_0x1309ae(0x22a),'attrs':{'xmlns':_0x1309ae(0x1fb),'fill':_0x1309ae(0x1d8),'viewBox':_0x1309ae(0x2ff),'width':_0x1309ae(0x2c6),'height':_0x1309ae(0x2c6)},'children':[{'tag':_0x1309ae(0x2b3),'attrs':{'fill':_0x1309ae(0x2c4),'d':_0x1309ae(0x2b1)}},{'tag':'path','attrs':{'fill':_0x1309ae(0x2c4),'d':_0x1309ae(0x2f5)}},{'tag':_0x1309ae(0x2b3),'attrs':{'fill':_0x1309ae(0x2c4),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':'evenodd','clipRule':'evenodd'}}]},de=_0x51e8a4(function(_0x59376f,_0x3f4864){var _0x113917=_0x1309ae;return _0x19bf9d(w,Object[_0x113917(0x228)]({},_0x59376f,{'id':_0x113917(0x27a),'ref':_0x3f4864,'icon':en}));});de[_0x1309ae(0x2f4)]=_0x1309ae(0x22d);var nn={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1309ae(0x1d8),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1309ae(0x253)},'children':[{'tag':_0x1309ae(0x2b3),'attrs':{'stroke':'currentColor','d':_0x1309ae(0x293),'strokeLinecap':_0x1309ae(0x245),'strokeLinejoin':_0x1309ae(0x245),'strokeWidth':1.2}}]},{'tag':_0x1309ae(0x2ee),'attrs':{},'children':[{'tag':_0x1309ae(0x26b),'attrs':{'id':_0x1309ae(0x31b)},'children':[{'tag':_0x1309ae(0x2b3),'attrs':{'fill':_0x1309ae(0x1d6),'d':_0x1309ae(0x25a)}}]}]}],'defIds':[_0x1309ae(0x31b)]},fe=_0x51e8a4(function(_0x115d6a,_0x1ed07d){var _0x56f46a=_0x1309ae;return _0x19bf9d(w,Object[_0x56f46a(0x228)]({},_0x115d6a,{'id':_0x56f46a(0x227),'ref':_0x1ed07d,'icon':nn}));});fe['displayName']=_0x1309ae(0x22f);var rn={'tag':_0x1309ae(0x22a),'attrs':{'xmlns':_0x1309ae(0x1fb),'fill':_0x1309ae(0x1d8),'viewBox':_0x1309ae(0x258),'width':'1em','height':_0x1309ae(0x2c6)},'children':[{'tag':'g','attrs':{'clipPath':_0x1309ae(0x240)},'children':[{'tag':'path','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':_0x1309ae(0x245),'strokeLinejoin':_0x1309ae(0x245),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1309ae(0x26b),'attrs':{'id':_0x1309ae(0x314)},'children':[{'tag':_0x1309ae(0x2b3),'attrs':{'fill':'white','d':_0x1309ae(0x25a),'transform':_0x1309ae(0x27f)}}]}]}],'defIds':[_0x1309ae(0x314)]},ge=_0x51e8a4(function(_0xc28205,_0x36043a){var _0x4f3f69=_0x1309ae;return _0x19bf9d(w,Object['assign']({},_0xc28205,{'id':_0x4f3f69(0x2b2),'ref':_0x36043a,'icon':rn}));});ge['displayName']='OnLineIcon';function tn(_0x5df7ad){var _0x5f84cb=_0x1309ae,_0x250194,_0x413ed7;const {mcpCoreConfig:_0xf9824e,onSave:_0x3e53cd,loading:_0x42b851=!0x1,config:_0x25a9a1,connectionStatus$:_0x43a87a,connectionError$:_0x4cb8a6,currentApiKey$:_0x2e7ae0,currentSessionId$:_0x2f68de}=_0x5df7ad,_0x49496e=_0x38e73c(_0xf977e4),_0x20e34b=_0x3c85ef(_0x43a87a,_0x3d189a[_0x5f84cb(0x27c)]),_0x341142=_0x3c85ef(_0x4cb8a6,_0x155156[_0x5f84cb(0x30c)]),_0x4e2a3d=_0x3c85ef(_0x2f68de,''),_0x74f075=_0x3c85ef(_0x2e7ae0,''),[_0x1c4484,_0x237d3b]=_0x33f5c1(_0x74f075||''),_0x108d91=!0x0,_0x7c3e91=_0x25a9a1[_0x5f84cb(0x2de)]&&_0xf9824e[_0x5f84cb(0x2bb)]&&(_0xf9824e[_0x5f84cb(0x2bb)][_0x5f84cb(0x2e0)]('univer.plus')||_0xf9824e[_0x5f84cb(0x2bb)][_0x5f84cb(0x2e0)](_0x5f84cb(0x2ca))),_0x34e80c=(_0x250194=_0xf9824e['mcpServerUrl'])==null?void 0x0:_0x250194['includes'](_0x5f84cb(0x1fd)),_0x49e8ce=(_0x413ed7=_0xf9824e['mcpServerUrl'])==null?void 0x0:_0x413ed7[_0x5f84cb(0x2e0)](_0x5f84cb(0x2ca)),_0x4eeb84=_0x34e80c?_0x5f84cb(0x315):'https://console.univer.ai',_0x3521bf=_0x25a9a1[_0x5f84cb(0x2de)]&&(_0x34e80c||_0x49e8ce),[_0x3529cc,_0x26fafd]=_0x33f5c1(!_0x1c4484['trim']()),_0x211ad0=(_0x117966,_0x234f7b)=>{var _0x506457=_0x5f84cb;if(_0x234f7b===_0x155156[_0x506457(0x2b4)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x117966){case _0x3d189a['CONNECTED']:return _0x506457(0x25e);case _0x3d189a[_0x506457(0x2e4)]:case _0x3d189a[_0x506457(0x2a0)]:return _0x506457(0x1cb);case _0x3d189a['FAILED']:return _0x506457(0x1f4);default:return _0x506457(0x2f0);}},_0x34a70a=(_0x394696,_0xbd57ad)=>{var _0x214cfa=_0x5f84cb;if(_0xbd57ad===_0x155156[_0x214cfa(0x2b4)])return'univer-bg-red-500';switch(_0x394696){case _0x3d189a[_0x214cfa(0x312)]:return'univer-bg-green-500';case _0x3d189a[_0x214cfa(0x2e4)]:case _0x3d189a[_0x214cfa(0x2a0)]:return _0x214cfa(0x289);case _0x3d189a[_0x214cfa(0x265)]:return _0x214cfa(0x280);default:return _0x214cfa(0x2fd);}},_0x4312ec=_0x3b4e4b=>{var _0x6d4db1=_0x5f84cb;switch(_0x3b4e4b){case _0x3d189a[_0x6d4db1(0x312)]:return _0x49496e['t'](_0x6d4db1(0x2b9));case _0x3d189a['CONNECTING']:return _0x49496e['t'](_0x6d4db1(0x201));case _0x3d189a[_0x6d4db1(0x265)]:return _0x49496e['t'](_0x6d4db1(0x20d));case _0x3d189a[_0x6d4db1(0x2a0)]:return _0x49496e['t'](_0x6d4db1(0x29a));default:return _0x49496e['t'](_0x6d4db1(0x1f8));}},_0x3c8f99=_0x3fc759=>{var _0x507b15=_0x5f84cb;switch(_0x3fc759){case _0x155156['UNAUTHORIZED']:return _0x49496e['t']('mcpConfig.connectionError.unauthorized');case _0x155156[_0x507b15(0x325)]:return _0x49496e['t'](_0x507b15(0x1df));case _0x155156[_0x507b15(0x29f)]:return _0x49496e['t'](_0x507b15(0x20a));case _0x155156[_0x507b15(0x23b)]:return _0x49496e['t'](_0x507b15(0x307));default:return'';}},_0x2ab70f=_0x5d99d5(()=>{var _0x55cb35=_0x5f84cb;const _0x3fa351={..._0xf9824e,'apiKey':_0x1c4484[_0x55cb35(0x23c)](),'enableAuth':_0x108d91};_0x3e53cd(_0x3fa351);},[_0xf9824e,_0x1c4484,_0x108d91,_0x3e53cd]),_0x37b652=_0x1c4484[_0x5f84cb(0x23c)]()[_0x5f84cb(0x28e)]>0x0;return _0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x1fa),'children':[_0x34e56f('div',{'className':_0x5f84cb(0x1d2),'children':_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x1cc),'children':[_0x34e56f('div',{'className':_0x5f84cb(0x2f3),'children':_0x34e56f(_0x5f84cb(0x31c),{'className':_0x5f84cb(0x2b5),'children':'⚙'})}),_0x34e56f(_0x5f84cb(0x25c),{'children':_0x34e56f('p',{'className':_0x5f84cb(0x215),'children':_0x49496e['t']('mcpConfig.description')})})]})}),_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x232),'children':[_0x34e56f(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x1f2)+_0x211ad0(_0x20e34b,_0x341142)+_0x5f84cb(0x32a),'children':_0x175b0e('div',{'className':_0x5f84cb(0x2ac),'children':[_0x34e56f(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x25f)+_0x34a70a(_0x20e34b,_0x341142)+_0x5f84cb(0x1e7)}),_0x34e56f(_0x5f84cb(0x31c),{'className':'univer-text-sm\x20univer-font-medium','children':_0x4312ec(_0x20e34b)})]})}),_0x341142!==_0x155156['NONE']&&(_0x20e34b===_0x3d189a[_0x5f84cb(0x265)]||_0x341142===_0x155156[_0x5f84cb(0x2b4)])&&_0x34e56f(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x24e),'children':_0x175b0e(_0x5f84cb(0x25c),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x34e56f(_0x5f84cb(0x31c),{'className':_0x5f84cb(0x2c1),'children':'⚠️'}),_0x34e56f('p',{'className':_0x5f84cb(0x2d0),'children':_0x3c8f99(_0x341142)})]})})]}),_0x34e56f('div',{'className':_0x5f84cb(0x28f),'children':_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x2c9),'children':[_0x175b0e('div',{'className':'univer-space-y-2','children':[_0x175b0e(_0x5f84cb(0x2dd),{'className':_0x5f84cb(0x224),'children':[_0x34e56f(_0x5f84cb(0x31c),{'children':'🔑'}),'\x20',_0x49496e['t'](_0x5f84cb(0x1d9)),_0x34e56f(_0x5f84cb(0x31c),{'className':_0x5f84cb(0x22b),'children':'*'}),_0x7c3e91&&_0x34e56f('a',{'href':_0x5f84cb(0x2f2),'onClick':()=>_0x26fafd(!0x0),'className':_0x5f84cb(0x304),'title':_0x49496e['t']('mcpConfig.apiApplyInfo.title'),'children':_0x34e56f(de,{})})]}),_0x34e56f(_0x35a55a,{'type':_0x5f84cb(0x1ec),'placeholder':_0x49496e['t'](_0x5f84cb(0x2c7)),'value':_0x1c4484,'onChange':_0x237d3b,'disabled':_0x42b851,'autoComplete':_0x5f84cb(0x29c)}),_0x34e56f('p',{'className':_0x5f84cb(0x226),'children':_0x49496e['t']('mcpConfig.apiKeyHint')})]}),_0x7c3e91&&_0x3529cc&&_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x1d5),'children':[_0x34e56f('a',{'href':_0x5f84cb(0x2f2),'onClick':()=>_0x26fafd(!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':_0x5f84cb(0x31e),'children':_0x34e56f(ve,{})}),_0x175b0e('div',{'className':_0x5f84cb(0x2b0),'children':[_0x34e56f(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x322),'children':_0x34e56f(_0x5f84cb(0x31c),{'className':_0x5f84cb(0x2fb),'children':'🚀'})}),_0x175b0e('div',{'className':_0x5f84cb(0x298),'children':[_0x34e56f('h4',{'className':_0x5f84cb(0x30d),'children':_0x49496e['t'](_0x5f84cb(0x30f))}),_0x34e56f('p',{'className':_0x5f84cb(0x1ff),'children':_0x49496e['t']('mcpConfig.apiApplyInfo.description')}),_0x34e56f('div',{'className':_0x5f84cb(0x316),'children':_0x3521bf&&_0x175b0e('a',{'href':_0x4eeb84,'target':_0x5f84cb(0x21e),'rel':_0x5f84cb(0x297),'className':_0x5f84cb(0x239),'children':[_0x34e56f(_0x5f84cb(0x31c),{'children':'🤖'}),_0x49496e['t'](_0x5f84cb(0x268)),_0x34e56f(_0x5f84cb(0x31c),{'className':_0x5f84cb(0x272),'children':'↗'})]})}),_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x24d),'children':['✨','\x20',_0x49496e['t'](_0x5f84cb(0x1e8))]})]})]})]}),_0x25a9a1[_0x5f84cb(0x2de)]&&_0x175b0e('div',{'className':_0x5f84cb(0x2ef),'children':[_0x175b0e('h4',{'className':_0x5f84cb(0x2b6),'children':[_0x34e56f(_0x5f84cb(0x31c),{'children':'🔗'}),'\x20',_0x49496e['t']('mcpConfig.connectionInfo')]}),_0x175b0e('div',{'className':_0x5f84cb(0x23a),'children':[_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x1f0),'children':[_0x34e56f('p',{'className':_0x5f84cb(0x218),'children':_0x49496e['t'](_0x5f84cb(0x260))}),_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x205),'children':[_0x34e56f(_0x5f84cb(0x25c),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x49496e['t'](_0x5f84cb(0x1cd))}),_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x2ba),'children':[_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x2ac),'children':[_0x34e56f(_0x5f84cb(0x31c),{'className':'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','children':'1'}),_0x49496e['t']('mcpConfig.configStep1')]}),_0x175b0e('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x34e56f(_0x5f84cb(0x31c),{'className':'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','children':'2'}),_0x49496e['t'](_0x5f84cb(0x2c5))]}),_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x2ac),'children':[_0x34e56f(_0x5f84cb(0x31c),{'className':_0x5f84cb(0x286),'children':'3'}),_0x49496e['t'](_0x5f84cb(0x317))]})]})]})]}),_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x205),'children':[_0x34e56f(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x21f),'children':_0x5f84cb(0x1db)}),_0x34e56f(_0x5f84cb(0x25c),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x34e56f(_0x5f84cb(0x29b),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':_0x5f84cb(0x23f)+_0x4e2a3d+_0x5f84cb(0x305)+(_0x1c4484||_0x5f84cb(0x2a2))+_0x5f84cb(0x277)})})]}),_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x1f0),'children':[_0x34e56f(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x21f),'children':_0x49496e['t'](_0x5f84cb(0x2ec))}),_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x205),'children':[_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x2be),'children':[_0x34e56f('div',{'className':_0x5f84cb(0x32b)}),_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x2c8),'children':[_0x34e56f(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x221),'children':'univer_session_id:'}),_0x34e56f(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x226),'children':_0x49496e['t']('mcpConfig.sessionIdDescription')})]})]}),_0x175b0e('div',{'className':_0x5f84cb(0x2be),'children':[_0x34e56f(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x32b)}),_0x175b0e(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x2c8),'children':[_0x34e56f(_0x5f84cb(0x25c),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x5f84cb(0x248)}),_0x34e56f(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x226),'children':_0x49496e['t'](_0x5f84cb(0x1e0))})]})]})]})]})]})]}),_0x34e56f(_0x17f7d8,{'onClick':_0x2ab70f,'disabled':!_0x37b652||_0x42b851,'className':_0x5f84cb(0x2a1),'children':_0x42b851?_0x175b0e(_0x5f84cb(0x31c),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x34e56f(_0x5f84cb(0x31c),{'children':'⟲'}),_0x49496e['t'](_0x5f84cb(0x270))]}):_0x175b0e(_0x5f84cb(0x31c),{'className':_0x5f84cb(0x2ac),'children':[_0x34e56f(le,{}),_0x49496e['t']('mcpConfig.save')]})}),_0x34e56f(_0x5f84cb(0x25c),{'className':_0x5f84cb(0x26f),'children':_0x175b0e(_0x5f84cb(0x25c),{'className':'univer-flex\x20univer-gap-3','children':[_0x34e56f(_0x5f84cb(0x31c),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x175b0e(_0x5f84cb(0x25c),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x34e56f('div',{'className':'univer-font-medium','children':_0x5f84cb(0x237)}),_0x175b0e('div',{'children':['•',_0x49496e['t'](_0x5f84cb(0x30a))]}),_0x175b0e(_0x5f84cb(0x25c),{'children':['•',_0x49496e['t'](_0x5f84cb(0x263))]})]})]})})]})})]});}const x='mcp-ui.config',re={'showDeveloperTools':!0x1,'showStatus':!0x0};var on=Object['getOwnPropertyDescriptor'],sn=(_0x53ab6b,_0x16f56c,_0x6d3a85,_0x3d82fe)=>{var _0x59da7f=_0x1309ae;for(var _0x3a6647=_0x3d82fe>0x1?void 0x0:_0x3d82fe?on(_0x16f56c,_0x6d3a85):_0x16f56c,_0x15f001=_0x53ab6b[_0x59da7f(0x28e)]-0x1,_0x1d9f59;_0x15f001>=0x0;_0x15f001--)(_0x1d9f59=_0x53ab6b[_0x15f001])&&(_0x3a6647=_0x1d9f59(_0x3a6647)||_0x3a6647);return _0x3a6647;},g=(_0x56901d,_0x2364c2)=>(_0x363e7c,_0x1b78fd)=>_0x2364c2(_0x363e7c,_0x1b78fd,_0x56901d);const j=_0x1309ae(0x2cf),U=_0x1309ae(0x28d);let I=class extends _0x3a008a{constructor(_0x5464bc,_0x2d7def,_0x4f7e23,_0x5abbf9,_0x1c4f37,_0x59106c,_0x534e36,_0x5464a3,_0x3a669d,_0x53af43){var _0x1ee21c=_0x1309ae;super(),S(this,_0x1ee21c(0x2f7),new _0x3a2994(!0x1)),S(this,_0x1ee21c(0x233),new _0x3a2994({})),S(this,_0x1ee21c(0x2d8),new _0x3a2994({})),S(this,'_apiKey$',new _0x3a2994('')),S(this,'_handleConfigSave',async _0x45806b=>{var _0x8893a8=_0x1ee21c,_0x382e95,_0x1e5578;this[_0x8893a8(0x2f7)][_0x8893a8(0x21c)](!0x0);try{const _0xfa8373=await this[_0x8893a8(0x28a)](_0x45806b);if(!_0xfa8373['isValid']){this['_messageService'][_0x8893a8(0x29e)]({'type':_0x4cc1c0[_0x8893a8(0x203)],'content':_0xfa8373[_0x8893a8(0x292)]||this['_localeService']['t'](_0x8893a8(0x208))});return;}_0x45806b[_0x8893a8(0x261)]?await this[_0x8893a8(0x1de)][_0x8893a8(0x1e9)](j,_0x45806b[_0x8893a8(0x261)][_0x8893a8(0x23c)]()):await this['_localStorageService'][_0x8893a8(0x271)](j),this[_0x8893a8(0x249)][_0x8893a8(0x21c)](((_0x382e95=_0x45806b['apiKey'])==null?void 0x0:_0x382e95[_0x8893a8(0x23c)]())||''),this[_0x8893a8(0x2a8)][_0x8893a8(0x23d)]({'Authorization':_0x8893a8(0x287)+((_0x1e5578=_0x45806b[_0x8893a8(0x261)])==null?void 0x0:_0x1e5578[_0x8893a8(0x23c)]())}),this[_0x8893a8(0x2bf)][_0x8893a8(0x29e)]({'type':_0x4cc1c0[_0x8893a8(0x2e9)],'content':this[_0x8893a8(0x1d4)]['t'](_0x8893a8(0x26c))}),setTimeout(()=>{var _0xb3715f=_0x8893a8;this[_0xb3715f(0x2d4)][_0xb3715f(0x2db)](U);},0x320);}catch(_0x5c601b){this[_0x8893a8(0x2d2)][_0x8893a8(0x1cf)](_0x8893a8(0x313),_0x5c601b),this[_0x8893a8(0x2bf)][_0x8893a8(0x29e)]({'type':_0x4cc1c0[_0x8893a8(0x203)],'content':this[_0x8893a8(0x1d4)]['t']('mcpConfig.configError')});}finally{this[_0x8893a8(0x2f7)][_0x8893a8(0x21c)](!0x1);}}),(this[_0x1ee21c(0x266)]=_0x5464bc,this[_0x1ee21c(0x22c)]=_0x2d7def,this[_0x1ee21c(0x283)]=_0x4f7e23,this[_0x1ee21c(0x1de)]=_0x5abbf9,this[_0x1ee21c(0x2d4)]=_0x1c4f37,this[_0x1ee21c(0x2bf)]=_0x59106c,this['_componentManager']=_0x534e36,this['_localeService']=_0x5464a3,this[_0x1ee21c(0x2d2)]=_0x3a669d,this['_mcpConnectionController']=_0x53af43,this[_0x1ee21c(0x24c)](),this[_0x1ee21c(0x1e3)](),this[_0x1ee21c(0x1d1)]());}['showConfigPanel'](){var _0x3d5004=_0x1309ae;const _0x2944e7=this[_0x3d5004(0x283)][_0x3d5004(0x32c)](x);_0x2944e7!=null&&_0x2944e7[_0x3d5004(0x2de)]&&this[_0x3d5004(0x2d4)][_0x3d5004(0x262)]({'id':U,'title':{'title':this[_0x3d5004(0x1d4)]['t'](_0x3d5004(0x20c))},'children':{'label':_0x3d5004(0x236)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x39af88=_0x3d5004;this[_0x39af88(0x2d4)][_0x39af88(0x2db)](U);}});}[_0x1309ae(0x275)](){var _0x43bbbd=_0x1309ae;return this[_0x43bbbd(0x233)][_0x43bbbd(0x1f7)];}['_registerComponent'](){var _0x4dd666=_0x1309ae;this[_0x4dd666(0x291)](this[_0x4dd666(0x1d7)]['register'](_0x4dd666(0x236),this[_0x4dd666(0x28b)]()));}[_0x1309ae(0x28b)](){var _0x1a7a50=_0x1309ae;return _0x86d210(()=>{var _0x5ceabb=_0x2f24,_0x56609,_0x5de857,_0x27bb3d;return _0x34e56f(tn,{'config':this[_0x5ceabb(0x2d8)][_0x5ceabb(0x1f7)],'mcpCoreConfig':this[_0x5ceabb(0x233)][_0x5ceabb(0x1f7)],'currentApiKey$':this[_0x5ceabb(0x249)],'onSave':this['_handleConfigSave'],'loading':this[_0x5ceabb(0x2f7)][_0x5ceabb(0x1f7)],'connectionStatus$':(_0x56609=this[_0x5ceabb(0x2a8)])==null?void 0x0:_0x56609[_0x5ceabb(0x206)],'connectionError$':(_0x5de857=this['_mcpConnectionController'])==null?void 0x0:_0x5de857[_0x5ceabb(0x252)],'currentSessionId$':(_0x27bb3d=this[_0x5ceabb(0x2a8)])==null?void 0x0:_0x27bb3d['sessionId$']});},this[_0x1a7a50(0x266)]);}[_0x1309ae(0x24c)](){var _0x11d7b4=_0x1309ae;this[_0x11d7b4(0x291)](this[_0x11d7b4(0x283)][_0x11d7b4(0x27d)](_0x334268)[_0x11d7b4(0x24b)](_0xb2f3a5=>{var _0x1e7ad5=_0x11d7b4;this['_mcpCoreConfig$'][_0x1e7ad5(0x21c)](_0xb2f3a5||{});}));const _0x1c2ac0=this[_0x11d7b4(0x283)][_0x11d7b4(0x32c)](_0x334268);this[_0x11d7b4(0x233)][_0x11d7b4(0x21c)](_0x1c2ac0||{}),this[_0x11d7b4(0x291)](this[_0x11d7b4(0x283)][_0x11d7b4(0x27d)](x)[_0x11d7b4(0x24b)](_0x1689da=>{var _0x3f74fe=_0x11d7b4;this['_config$'][_0x3f74fe(0x21c)](_0x1689da||{});}));const _0x481eb7=this['_configService'][_0x11d7b4(0x32c)](x);this[_0x11d7b4(0x2d8)][_0x11d7b4(0x21c)](_0x481eb7||{});}async[_0x1309ae(0x1e3)](){var _0x37ee9d=_0x1309ae;const _0x459221=this[_0x37ee9d(0x283)]['getConfig'](x);if(!(_0x459221!=null&&_0x459221[_0x37ee9d(0x2de)]))return;const _0x1206ff=await this[_0x37ee9d(0x1de)][_0x37ee9d(0x326)](j);_0x1206ff&&(this[_0x37ee9d(0x2a8)][_0x37ee9d(0x23d)]({'Authorization':_0x37ee9d(0x287)+_0x1206ff}),this[_0x37ee9d(0x249)][_0x37ee9d(0x21c)](_0x1206ff));}async['_validateConfig'](_0xfa12d6){var _0x35a91f=_0x1309ae;if(!_0xfa12d6[_0x35a91f(0x261)]||_0xfa12d6[_0x35a91f(0x261)][_0x35a91f(0x23c)]()[_0x35a91f(0x28e)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x35a91f(0x290))};if(_0xfa12d6[_0x35a91f(0x261)][_0x35a91f(0x23c)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x35a91f(0x1d4)]['t'](_0x35a91f(0x26a))};try{const _0x42d134=await this[_0x35a91f(0x266)][_0x35a91f(0x278)](_0x53598a)[_0x35a91f(0x2d1)](_0xfa12d6[_0x35a91f(0x261)][_0x35a91f(0x23c)]());return _0x42d134[_0x35a91f(0x231)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x42d134[_0x35a91f(0x1cf)]||this[_0x35a91f(0x1d4)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x35102d){return console['warn'](_0x35a91f(0x214),_0x35102d),{'isValid':!0x0};}}};I=sn([g(0x0,_0x4931cc(_0x1f954f)),g(0x1,_0x161e40),g(0x2,_0x2175db),g(0x3,_0xa7ade8),g(0x4,_0x1fe55e),g(0x5,_0x3bf398),g(0x6,_0x4931cc(_0x5c9bc8)),g(0x7,_0x4931cc(_0xf977e4)),g(0x8,_0x14cd60),g(0x9,_0x4931cc(_0x53598a))],I);const V={'id':'mcp-ui.command.openConfigPanel','type':_0x5940b2[_0x1309ae(0x204)],'handler':async(_0x3f6853,_0x1c0a46)=>(_0x3f6853['get'](I)[_0x1309ae(0x1f6)](),!0x0)};function pe(_0xe73c6b,_0x4b9874){var _0x164f13=_0x1309ae;switch(_0xe73c6b){case _0x3d189a[_0x164f13(0x27c)]:return _0x164f13(0x21d);case _0x3d189a[_0x164f13(0x2e4)]:return _0x164f13(0x2ce);case _0x3d189a['CONNECTED']:return _0x164f13(0x230);case _0x3d189a[_0x164f13(0x265)]:switch(_0x4b9874){case _0x155156[_0x164f13(0x2b4)]:return'mcpStatus.unauthorized';case _0x155156[_0x164f13(0x325)]:return _0x164f13(0x210);case _0x155156[_0x164f13(0x29f)]:return _0x164f13(0x27e);case _0x155156['MAX_RETRIES_EXCEEDED']:return _0x164f13(0x1f9);default:return _0x164f13(0x288);}case _0x3d189a[_0x164f13(0x2a0)]:return _0x164f13(0x222);default:return'mcpStatus.unknown';}}function cn(_0x381fa0,_0x2372f7,_0x4e591f,_0x5a7035=!0x0){var _0x5a585a=_0x1309ae;const _0x5926e2=pe(_0x381fa0,_0x2372f7),_0xa7f00b=_0x4e591f['t'](_0x5926e2);return _0x5a7035?_0x381fa0===_0x3d189a['DISCONNECTED']&&_0x2372f7===_0x155156['UNAUTHORIZED']?_0xa7f00b+'\x20-\x20'+_0x4e591f['t'](_0x5a585a(0x20b)):_0x381fa0===_0x3d189a[_0x5a585a(0x312)]?''+_0xa7f00b:_0x381fa0===_0x3d189a[_0x5a585a(0x27c)]||_0x381fa0===_0x3d189a[_0x5a585a(0x265)]?_0xa7f00b+_0x5a585a(0x255)+_0x4e591f['t'](_0x5a585a(0x28c)):_0xa7f00b:_0xa7f00b;}function an(_0x594497){var _0x3b1efb=_0x1309ae;switch(_0x594497){case _0x3d189a[_0x3b1efb(0x312)]:return _0x3b1efb(0x22e);case _0x3d189a[_0x3b1efb(0x2e4)]:case _0x3d189a[_0x3b1efb(0x2a0)]:return _0x3b1efb(0x320);case _0x3d189a[_0x3b1efb(0x265)]:case _0x3d189a[_0x3b1efb(0x27c)]:return _0x3b1efb(0x22b);default:return'univer-text-gray-500';}}function un(_0x15eacc){var _0x378663=_0x1309ae;const {status$:_0x12701f,error$:_0x1cc678,onConfigure:_0x121626,showClickable:_0x2fb446=!0x0}=_0x15eacc,_0x46c627=_0x3c85ef(_0x12701f,_0x3d189a[_0x378663(0x27c)]),_0x4009d7=_0x3c85ef(_0x1cc678,_0x155156[_0x378663(0x30c)]),_0x33129e=_0x38e73c(_0xf977e4),_0x21800e=_0x46c627===_0x3d189a[_0x378663(0x312)];_0x46c627===_0x3d189a['CONNECTING']||_0x3d189a[_0x378663(0x2a0)];const _0x10f420=_0x33129e['t'](pe(_0x46c627,_0x4009d7)),_0xf6b6ae=cn(_0x46c627,_0x4009d7,_0x33129e,_0x2fb446),_0x3cbc93=an(_0x46c627),_0x350880=_0x21800e?_0x34e56f(ge,{}):_0x34e56f(fe,{}),_0x565964=_0x5d99d5(()=>{_0x2fb446&&_0x121626&&_0x121626();},[_0x2fb446,_0x121626]);function _0x56eec1(){var _0x1b8e88=_0x378663;return _0x175b0e(_0x1b8e88(0x25c),{'className':_0x5522f7(_0x1b8e88(0x242),_0x2fb446&&_0x121626&&_0x1b8e88(0x30e)),'onClick':_0x2fb446&&_0x121626?_0x565964:void 0x0,'children':[_0x34e56f(_0x1b8e88(0x25c),{'className':_0x5522f7('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x3cbc93),'children':_0x350880}),_0x34e56f(_0x1b8e88(0x25c),{'className':_0x1b8e88(0x229),'children':_0x10f420})]});}return _0x34e56f(_0x2c9432,{'title':_0xf6b6ae,'placement':_0x378663(0x2fc),'children':_0x56eec1()});}var ln=Object[_0x1309ae(0x225)],vn=(_0x2602ef,_0x545fdd,_0x5e07d1,_0x391c8e)=>{var _0x3e1b06=_0x1309ae;for(var _0x470b50=_0x391c8e>0x1?void 0x0:_0x391c8e?ln(_0x545fdd,_0x5e07d1):_0x545fdd,_0x46e277=_0x2602ef[_0x3e1b06(0x28e)]-0x1,_0x2652f1;_0x46e277>=0x0;_0x46e277--)(_0x2652f1=_0x2602ef[_0x46e277])&&(_0x470b50=_0x2652f1(_0x470b50)||_0x470b50);return _0x470b50;},A=(_0x172245,_0x47a4b9)=>(_0x51218d,_0x4c4b38)=>_0x47a4b9(_0x51218d,_0x4c4b38,_0x172245);let O=class extends _0x3a008a{constructor(_0x2f48ec,_0xae34f7,_0x586b03,_0x4c4ee3){var _0x1516d2=_0x1309ae;super(),this[_0x1516d2(0x266)]=_0x2f48ec,this[_0x1516d2(0x2a3)]=_0xae34f7,this[_0x1516d2(0x22c)]=_0x586b03,this['_configService']=_0x4c4ee3,this[_0x1516d2(0x2a6)](),this[_0x1516d2(0x32f)]();}['_initAutoConnect'](){var _0x308045=_0x1309ae;const _0x11b274=this['_configService']['getConfig'](x);_0x11b274!=null&&_0x11b274[_0x308045(0x2de)]&&(this[_0x308045(0x2a3)][_0x308045(0x257)]=!0x1);}[_0x1309ae(0x32f)](){var _0x3b0ba4=_0x1309ae;const _0x50b39a=this['_configService'][_0x3b0ba4(0x32c)](x);(_0x50b39a==null?void 0x0:_0x50b39a[_0x3b0ba4(0x2fe)])!==!0x1&&this[_0x3b0ba4(0x291)](this[_0x3b0ba4(0x22c)][_0x3b0ba4(0x247)](_0x514c0e[_0x3b0ba4(0x2d9)],()=>{var _0x1197f=_0x3b0ba4,_0x1bb32a;return _0x86d210(dn({'status$':this['_connectionController'][_0x1197f(0x206)],'error$':this[_0x1197f(0x2a3)][_0x1197f(0x252)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x1bb32a=_0x50b39a==null?void 0x0:_0x50b39a[_0x1197f(0x2de)])!=null?_0x1bb32a:!0x1}),this[_0x1197f(0x266)]);}));}[_0x1309ae(0x200)](){var _0x49595f=_0x1309ae;this[_0x49595f(0x266)][_0x49595f(0x278)](I)[_0x49595f(0x1f6)]();}};O=vn([A(0x0,_0x4931cc(_0x1f954f)),A(0x1,_0x4931cc(_0x53598a)),A(0x2,_0x161e40),A(0x3,_0x2175db)],O);function dn(_0x3ab3dc){const {status$:_0x34f348,error$:_0x1c4c11,onConfigure:_0x20778d,showClickable:_0x5e6dab}=_0x3ab3dc;return function(){return _0x34e56f(un,{'status$':_0x34f348,'error$':_0x1c4c11,'onConfigure':_0x20778d,'showClickable':_0x5e6dab});};}function fn(_0x13ff44){var _0x26d0bc=_0x1309ae;return{'id':V['id'],'type':_0x5c186e['BUTTON'],'icon':_0x26d0bc(0x285),'title':_0x26d0bc(0x20c),'tooltip':_0x26d0bc(0x20c)};}const gn={[_0xc438f2[_0x1309ae(0x1ed)]]:{[V['id']]:{'order':0xa,'menuItemFactory':fn}}};var pn=Object['getOwnPropertyDescriptor'],hn=(_0x3d6e08,_0x12f109,_0x3c29f1,_0x153c28)=>{var _0x2c6cb0=_0x1309ae;for(var _0x579fdf=_0x153c28>0x1?void 0x0:_0x153c28?pn(_0x12f109,_0x3c29f1):_0x12f109,_0x19a217=_0x3d6e08[_0x2c6cb0(0x28e)]-0x1,_0x49e6b0;_0x19a217>=0x0;_0x19a217--)(_0x49e6b0=_0x3d6e08[_0x19a217])&&(_0x579fdf=_0x49e6b0(_0x579fdf)||_0x579fdf);return _0x579fdf;},te=(_0x1d2a5,_0x169d6a)=>(_0x32271f,_0x47aca2)=>_0x169d6a(_0x32271f,_0x47aca2,_0x1d2a5);let k=class extends _0x3a008a{constructor(_0x463ad9,_0x5f1959){var _0x2f362e=_0x1309ae;super(),this['_commandService']=_0x463ad9,this['_menuManagerService']=_0x5f1959,this['_initializeCommands'](),this[_0x2f362e(0x235)]();}[_0x1309ae(0x234)](){var _0x40e4f1=_0x1309ae;[V][_0x40e4f1(0x217)](_0x5e2a95=>{var _0x109697=_0x40e4f1;this[_0x109697(0x291)](this[_0x109697(0x310)]['registerCommand'](_0x5e2a95));});}['_initializeMenus'](){var _0x3864ae=_0x1309ae;this[_0x3864ae(0x25b)][_0x3864ae(0x21a)](gn);}};function _0x107b(){var _0x2a5612=['path','UNAUTHORIZED','univer-text-white','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','onStarting','setConfig','mcpConfig.connectionStatus.connected','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','mcpServerUrl','点击配置\x20MCP','2434724PrETRQ','univer-flex\x20univer-items-start\x20univer-gap-3','_messageService','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-flex-shrink-0\x20univer-text-red-500','配置参数:','use','currentColor','mcpConfig.configStep2','1em','mcpConfig.apiKeyPlaceholder','univer-min-w-0\x20univer-flex-1','univer-space-y-5','univer.ai','最大重试次数','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','M5.21243\x205.62036L11.8791\x2012.287','mcpStatus.connecting','mcp.apiKey','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','validateApiKey','_logService','idSuffix','_dialogService','Copy\x20the\x20JSON\x20configuration\x20below','复制以下\x20JSON\x20配置','Failed\x20to\x20save\x20configuration','_config$','HEADER_MENU','Connecting...','close','MCP\x20Disconnected','label','showDeveloperTools','Enable\x20Authentication','includes','配置步骤:','MCP\x20重连中...','Invalid\x20configuration','CONNECTING','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','配置无效','9tNSrdb','MCP\x20已连接','Success','evenodd','string','mcpConfig.configParameters','Disconnected','defs','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','37816ZMJVhc','javascript:void(0)','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','displayName','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','Get\x20your\x20API\x20key\x20in\x20seconds','_loading$','symbol','className','fill','univer-text-blue-600','bottom','univer-bg-gray-500','showStatus','0\x200\x2016\x2016','Configuration\x20Steps:','API\x20密钥长度至少需要\x2010\x20位','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-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','\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','colorChannel1','mcpConfig.connectionError.maxRetriesExceeded','random','current','mcpConfig.note1','MCP:\x20Max\x20Retries\x20Exceeded','NONE','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpConfig.apiApplyInfo.title','_commandService','MCP:\x20Session\x20ID\x20Occupied','CONNECTED','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','on-line-icon_clip0_910_349','https://console.univer.plus','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpConfig.configStep3','_config','MCP\x20客户端配置','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','off-line-icon_clip0_910_343','span','close-small-single','Close','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-text-yellow-500','权限验证失败,请检查您的\x20API\x20密钥','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','icon','MCP\x20Retrying...','SESSION_ID_OCCUPIED','getItem','MCP\x20已断开','M5.21243\x2012.287L11.8791\x205.62036','CheckMarkIcon','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','getConfig','点击连接\x20MCP','未连接','_initStatusComponent','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-flex\x20univer-items-center\x20univer-gap-3','mcpConfig.configStepTitle','substring','error','525246AFiEPA','_registerComponent','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_localeService','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','white','_componentManager','none','mcpConfig.apiKey','重连中...','MCP\x20Configuration','extend','Max\x20Retries','_localStorageService','mcpConfig.connectionError.sessionOccupied','mcpConfig.authorizationDescription','MCP:\x20网络错误','MCP\x20Unknown\x20Status','_loadStoredApiKey','25GaCuOC','启用身份验证','replace','\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','mcpConfig.apiApplyInfo.getStarted','setItem','children','prototype','text','OTHERS','What\x20is\x20API\x20Key?','MCP\x20Connecting...','univer-space-y-3','attrs','\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','propertyIsEnumerable','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Configuration\x20saved\x20successfully','showConfigPanel','value','mcpConfig.connectionStatus.disconnected','mcpStatus.maxRetriesExceeded','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','http://www.w3.org/2000/svg','tag','univer.plus','请输入您的\x20API\x20密钥','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','_handleConfigure','mcpConfig.connectionStatus.connecting','apply','Error','COMMAND','univer-space-y-2','connectionStatus$','entries','mcpConfig.validation.invalidConfig','会话ID','mcpConfig.connectionError.networkError','mcpStatus.clickToConfigure','mcpConfig.title','mcpConfig.connectionStatus.failed','MCP\x20Connected','push','mcpStatus.sessionOccupied','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','call','hasOwnProperty','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-text-sm\x20univer-text-gray-500','756948bdVLZm','forEach','univer-text-xs\x20univer-text-gray-600','MCP:\x20未授权','mergeMenu','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','next','mcpStatus.disconnected','_blank','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','将配置添加到您的\x20MCP\x20客户端设置文件中','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpStatus.retrying','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','getOwnPropertyDescriptor','univer-text-xs\x20univer-text-gray-500','off-line-icon','assign','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','svg','univer-text-red-500','_uiPartsService','HelpSingle','univer-text-green-500','OffLineIcon','mcpStatus.connected','isValid','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','_mcpCoreConfig$','_initializeCommands','_initializeMenus','MCPConfigPanel','Configuration\x20Notes:','保存配置','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','univer-space-y-4','MAX_RETRIES_EXCEEDED','trim','__setCustomHeaders','保存中...','{\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=','url(#on-line-icon_clip0_910_349)','523094BuFVnN','univer-flex\x20univer-items-center','has','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','round','16894320wCbzSh','registerComponent','Authorization:','_apiKey$','5732964oZZIwp','subscribe','_initConfigSync','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','您的\x20API\x20密钥将在此浏览器中本地存储','toString','defIds','connectionError$','url(#off-line-icon_clip0_910_343)','xlink:href','\x20-\x20','连接中...','enableAutoConnect','0\x200\x2017\x2016','MCP\x20Client\x20Configuration','M0\x200H16V16H0z','_menuManagerService','div','会话\x20ID\x20已被占用,请稍后再试','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','\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','mcpConfig.configInstructions','apiKey','open','mcpConfig.note2','Univer\x20AI\x20Console','FAILED','_injector','API\x20密钥','mcpConfig.apiApplyInfo.univerAiLabel','MCP:\x20会话\x20ID\x20已被占用','mcpConfig.validation.apiKeyTooShort','clipPath','mcpConfig.configSaved','indexOf','API\x20Key','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpConfig.saving','removeItem','univer-text-gray-400','concat','网络连接错误,请检查您的网络连接','getCurrentConfig','带有\x20Bearer\x20前缀的\x20API\x20密钥。','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','get','MCP\x20Connection\x20Failed','help-single','CloseSmallSingle','DISCONNECTED','subscribeConfigValue$','mcpStatus.networkError','translate(.97)','univer-bg-red-500','url(#$1','API\x20密钥无效,请检查密钥是否正确','_configService','Enable\x20authentication\x20for\x20secure\x20connections','MenuIcon','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','Bearer\x20','mcpStatus.failed','univer-bg-blue-500','_validateConfig','_createConfigPanelComponent','mcpStatus.clickToConnect','mcp-config-dialog','length','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','mcpConfig.validation.apiKeyRequired','disposeWithMe','errorMessage','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','266eltoQT','Saving...','Click\x20to\x20configure\x20MCP','noopener\x20noreferrer','univer-flex-1','MCP:\x20Network\x20Error','mcpConfig.connectionStatus.retrying','pre','off','连接失败','show','NETWORK_ERROR','RETRYING','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','<API_KEY>','_connectionController','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20配置','_initAutoConnect','function','_mcpConnectionController','map','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','将以下配置添加到您的\x20MCP\x20客户端设置中:','univer-flex\x20univer-items-center\x20univer-gap-2','getOwnPropertySymbols','配置\x20MCP\x20使用\x20AI\x20操作电子表格','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','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','on-line-icon'];_0x107b=function(){return _0x2a5612;};return _0x107b();}k=hn([te(0x0,_0x40a3fa),te(0x1,_0x51b9b5)],k);const On={'mcpStatus':{'disconnected':_0x1309ae(0x2dc),'connecting':_0x1309ae(0x1ef),'connected':_0x1309ae(0x20e),'failed':_0x1309ae(0x279),'retrying':_0x1309ae(0x324),'unknown':_0x1309ae(0x1e2),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x1309ae(0x311),'networkError':_0x1309ae(0x299),'maxRetriesExceeded':_0x1309ae(0x30b),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x1309ae(0x296)},'mcpConfig':{'title':_0x1309ae(0x1db),'description':_0x1309ae(0x31f),'apiKey':_0x1309ae(0x26e),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1309ae(0x302),'enableAuth':_0x1309ae(0x2df),'enableAuthHint':_0x1309ae(0x284),'connectionInfo':_0x1309ae(0x259),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x1309ae(0x1d3),'configStepTitle':_0x1309ae(0x300),'configStep1':_0x1309ae(0x2d5),'configStep2':_0x1309ae(0x2e5),'configStep3':_0x1309ae(0x223),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x1309ae(0x2a4),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x1309ae(0x1dd),'save':'Save\x20Configuration','saving':_0x1309ae(0x295),'note1':_0x1309ae(0x211),'note2':_0x1309ae(0x2cc),'configSaved':_0x1309ae(0x1f5),'configError':_0x1309ae(0x2d7),'apiApplyInfo':{'title':_0x1309ae(0x1ee),'description':_0x1309ae(0x2af),'univerAiLabel':_0x1309ae(0x264),'getStarted':_0x1309ae(0x2f6)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x1309ae(0x2e3),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1309ae(0x2ed),'connecting':_0x1309ae(0x2da),'connected':'Connected','failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x1309ae(0x31a),'sessionOccupied':_0x1309ae(0x21b),'networkError':_0x1309ae(0x244),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},kn={'mcpStatus':{'disconnected':_0x1309ae(0x327),'connecting':'MCP\x20连接中...','connected':_0x1309ae(0x2e8),'failed':'MCP\x20连接失败','retrying':_0x1309ae(0x2e2),'unknown':'MCP\x20状态未知','unauthorized':_0x1309ae(0x219),'sessionOccupied':_0x1309ae(0x269),'networkError':_0x1309ae(0x1e1),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x1309ae(0x32d),'clickToConfigure':_0x1309ae(0x2bc)},'mcpConfig':{'title':_0x1309ae(0x2a5),'description':_0x1309ae(0x2ae),'apiKey':_0x1309ae(0x267),'apiKeyPlaceholder':_0x1309ae(0x1fe),'apiKeyHint':_0x1309ae(0x24f),'enableAuth':_0x1309ae(0x1e5),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x1309ae(0x319),'configInstructions':_0x1309ae(0x2ab),'configStepTitle':_0x1309ae(0x2e1),'configStep1':_0x1309ae(0x2d6),'configStep2':_0x1309ae(0x220),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x1309ae(0x209),'sessionIdDescription':_0x1309ae(0x2aa),'authorizationDescription':_0x1309ae(0x276),'configParameters':_0x1309ae(0x2c2),'maxRetries':_0x1309ae(0x2cb),'save':_0x1309ae(0x238),'saving':_0x1309ae(0x23e),'note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x1309ae(0x2c0),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x1309ae(0x301),'invalidConfig':_0x1309ae(0x2e6),'invalidApiKey':_0x1309ae(0x282)},'connectionStatus':{'disconnected':_0x1309ae(0x32e),'connecting':_0x1309ae(0x256),'connected':'已连接','failed':_0x1309ae(0x29d),'retrying':_0x1309ae(0x1da)},'connectionError':{'unauthorized':_0x1309ae(0x321),'sessionOccupied':_0x1309ae(0x25d),'networkError':_0x1309ae(0x274),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var mn=Object['defineProperty'],Cn=Object[_0x1309ae(0x225)],yn=(_0x33c5d6,_0x594183,_0x78c921)=>_0x594183 in _0x33c5d6?mn(_0x33c5d6,_0x594183,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x78c921}):_0x33c5d6[_0x594183]=_0x78c921,_n=(_0x41a6d1,_0x3fa9db,_0x7cf12e,_0x1165bd)=>{var _0x2255e6=_0x1309ae;for(var _0x2dd6b7=_0x1165bd>0x1?void 0x0:_0x1165bd?Cn(_0x3fa9db,_0x7cf12e):_0x3fa9db,_0x2170e4=_0x41a6d1[_0x2255e6(0x28e)]-0x1,_0x2d9839;_0x2170e4>=0x0;_0x2170e4--)(_0x2d9839=_0x41a6d1[_0x2170e4])&&(_0x2dd6b7=_0x2d9839(_0x2dd6b7)||_0x2dd6b7);return _0x2dd6b7;},E=(_0x569558,_0x1b0343)=>(_0x3e4a0b,_0x33df4b)=>_0x1b0343(_0x3e4a0b,_0x33df4b,_0x569558),xn=(_0xd0d043,_0x3c5647,_0x4b5b4e)=>yn(_0xd0d043,_0x3c5647+'',_0x4b5b4e);let L=class extends _0x4aee90{constructor(_0x11eca1=re,_0x316e36,_0x21ac63,_0x4bf183,_0x5100b5,_0x32313c){var _0xaadf5a=_0x1309ae;super(),this['_config']=_0x11eca1,this[_0xaadf5a(0x266)]=_0x316e36,this[_0xaadf5a(0x283)]=_0x21ac63,this[_0xaadf5a(0x22c)]=_0x4bf183,this[_0xaadf5a(0x1de)]=_0x5100b5,this['_localeService']=_0x32313c;const {..._0x167905}=_0x110f1d({},re,this[_0xaadf5a(0x318)]);this[_0xaadf5a(0x283)][_0xaadf5a(0x2b8)](x,_0x167905);}async[_0x1309ae(0x2b7)](){var _0x20ec76=_0x1309ae;const _0x24e1a4=[[O],[I],[k]];this['_injector'][_0x20ec76(0x243)](_0x395c9c)||_0x24e1a4[_0x20ec76(0x20f)]([_0x395c9c,{'useClass':_0x1f4e9c}]),_0x24e1a4[_0x20ec76(0x217)](_0x3a0794=>this[_0x20ec76(0x266)]['add'](_0x3a0794)),this['_injector']['get'](O),this[_0x20ec76(0x266)][_0x20ec76(0x278)](I),this[_0x20ec76(0x266)]['get'](k);}};xn(L,'pluginName','MCP_UI_PLUGIN'),L=_n([_0x24dc6d(_0x2a9637),E(0x1,_0x4931cc(_0x1f954f)),E(0x2,_0x2175db),E(0x3,_0x161e40),E(0x4,_0xa7ade8),E(0x5,_0x4931cc(_0xf977e4))],L);export{tn as MCPConfigPanel,I as MCPConfigUIController,O as MCPConnectionUIController,un as MCPStatusDisplay,k as MCPUIMenuController,V as OpenMCPConfigPanelCommand,L as UniverMCPUIPlugin,On as enUS,kn as zhCN};
1
+ var _0x6bbf25=_0x3ed9;(function(_0x1fb7a3,_0x528a27){var _0x1769bf=_0x3ed9,_0x524ff3=_0x1fb7a3();while(!![]){try{var _0x311e80=-parseInt(_0x1769bf(0x238))/0x1*(parseInt(_0x1769bf(0x266))/0x2)+-parseInt(_0x1769bf(0x2fe))/0x3*(-parseInt(_0x1769bf(0x1eb))/0x4)+-parseInt(_0x1769bf(0x1f8))/0x5+-parseInt(_0x1769bf(0x2f5))/0x6*(parseInt(_0x1769bf(0x2d6))/0x7)+parseInt(_0x1769bf(0x1ed))/0x8+-parseInt(_0x1769bf(0x200))/0x9+parseInt(_0x1769bf(0x29c))/0xa;if(_0x311e80===_0x528a27)break;else _0x524ff3['push'](_0x524ff3['shift']());}catch(_0x44cb8d){_0x524ff3['push'](_0x524ff3['shift']());}}}(_0x4830,0x8bc43));var we=Object['defineProperty'],Ee=(_0x487b68,_0x4f5d40,_0x4cbb43)=>_0x4f5d40 in _0x487b68?we(_0x487b68,_0x4f5d40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cbb43}):_0x487b68[_0x4f5d40]=_0x4cbb43,S=(_0x22dc66,_0x1fb0ff,_0x249ee9)=>Ee(_0x22dc66,typeof _0x1fb0ff!=_0x6bbf25(0x1f9)?_0x1fb0ff+'':_0x1fb0ff,_0x249ee9);import{LocaleService as _0x284497,Inject as _0x4d025e,Injector as _0x5a27ce,IConfigService as _0x4e1f02,ILocalStorageService as _0x433a37,ILogService as _0x5ca8a5,Disposable as _0x39aa33,CommandType as _0x4705af,ICommandService as _0x40f98b,DependentOn as _0x24faf9,Plugin as _0x5de8df,merge as _0x2f1dad}from'@univerjs/core';function _0x4830(){var _0x3fd6e0=['mcpConfig.configInstructions','indexOf','会话ID','点击配置\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','evenodd','mcpConfig.connectionError.sessionOccupied','mcpConfig.sessionIdDescription','7273jBwsmJ','mcpConfig.validation.invalidConfig','mcpConfig.configStep2','\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','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','univer-text-sm\x20univer-text-gray-500','tag','mcpStatus.failed','_uiPartsService','univer-space-y-3','Invalid\x20configuration','univer-bg-red-500','get','配置保存失败','Enter\x20your\x20API\x20key','icon','connectionStatus$','register','Connection\x20Failed','close-small-single','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-text-yellow-500','UniverIcon','univer-text-blue-600','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','M0\x200H16V16H0z','mcpStatus.sessionOccupied','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','mcpConfig.connectionStatus.disconnected','_messageService','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','1818lpfEyO','What\x20is\x20API\x20Key?','mcpConfig.connectionStatus.retrying','defs','Failed\x20to\x20save\x20configuration','path','showDeveloperTools','MCP\x20Unknown\x20Status','_loadStoredApiKey','3gpDmZZ','配置步骤:','OTHERS','Univer\x20AI\x20控制台','round','validateApiKey','_initializeMenus','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.configSaved','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Univer\x20AI\x20Console','MCP:\x20未授权','univer-flex\x20univer-items-start\x20univer-gap-3','setItem','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','mask','colorChannel1','带有\x20Bearer\x20前缀的\x20API\x20密钥。','_menuManagerService','_configService','mcpStatus.disconnected','Max\x20Retries','Close','mcp.apiKey','univer.plus','mcpConfig.configStep3','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','registerComponent','mcpConfig.configError','Click\x20to\x20configure\x20MCP','javascript:void(0)','univer-text-xs\x20univer-text-gray-500','mcp-ui.config','_mcpCoreConfig$','Configuration\x20saved\x20successfully','registerCommand','0\x200\x2017\x2017','MCP:\x20网络错误','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','保存配置','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20密钥无效,请检查密钥是否正确','启用身份验证','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCP\x20客户端配置','MCP\x20连接中...','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','CloseSmallSingle','__setCustomHeaders','url(#off-line-icon_clip0_910_343)','MCP:\x20Max\x20Retries\x20Exceeded','bottom','on-line-icon_clip0_910_349','mcpConfig.connectionStatus.failed','help-single','MCP\x20Retrying...','MCP\x20重连中...','xlink:href','clipPath','mcpConfig.connectionError.maxRetriesExceeded','error','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-bg-green-500','close','substring','\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','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-mr-2\x20univer-flex\x20univer-text-xl','配置保存成功','_componentManager','Error','1em','entries','http://www.w3.org/2000/svg','Disconnected','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','\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','showConfigPanel','value','1592148yDYXBL','API\x20密钥','3946912CoXLjU','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','call','NONE','连接中...','div','Session\x20ID','length','MenuIcon','Bearer\x20','RETRYING','695780DstDIw','symbol','displayName','Connecting...','mcpConfig.connectionInfo','_blank','https://console.univer.plus','fill','1874529PcwknV','mcpStatus.clickToConfigure','mergeMenu','SESSION_ID_OCCUPIED','mcpStatus.clickToConnect','mcpStatus.unknown','_logService','mcpStatus.maxRetriesExceeded','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','_handleConfigSave','mcpConfig.connectionStatus.connected','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','mcp-ui.command.openConfigPanel','subscribeConfigValue$','权限验证失败,请检查您的\x20API\x20密钥','_createConfigPanelComponent','_apiKey$','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','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','Enable\x20Authentication','pluginName','MCP\x20Disconnected','OnLineIcon','translate(.97)','您的\x20API\x20密钥安全存储在本地存储中','univer.ai','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','启用身份验证以获得安全连接','mcpConfig.apiApplyInfo.univerAiLabel','Connected','has','isValid','currentColor','MCP\x20配置','_dialogService','univer-flex-1','Retrying...','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-flex\x20univer-items-center\x20univer-gap-3','\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','Copy\x20the\x20JSON\x20configuration\x20below','MAX_RETRIES_EXCEEDED','mcpStatus.networkError','mcpConfig.title','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','mcpStatus.connected','warn','MCPConfigPanel','setConfig','MCP\x20Connecting...','univer-text-sm\x20univer-font-medium','0\x200\x2016\x2016','API\x20key\x20is\x20required','已连接','25wnRsji','univer-flex\x20univer-items-center\x20univer-gap-2','_mcpConnectionController','MCP_UI_PLUGIN','hasOwnProperty','univer-text-white','CONNECTED','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','BUTTON','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','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20已断开','_localStorageService','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','_injector','propertyIsEnumerable','超出最大重试次数,请稍后再试','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','MCP:\x20Unauthorized','children','mcpConfig.apiKey','svg','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','extend','open','_connectionController','push','none','getItem','FAILED','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','onStarting','_initStatusComponent','trim','replace','_config','next','API\x20key\x20with\x20Bearer\x20prefix.','univer-text-green-500','Success','mcpConfig.note1','assign','DISCONNECTED','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','_initAutoConnect','60396pZefKP','use','prototype','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpConfig.validation.invalidApiKey','univer-flex\x20univer-items-center','CONNECTING','mcpConfig.authorizationDescription','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','concat','https://console.univer.ai','span','univer-text-gray-500','_loading$','apiKey','apply','idSuffix','showStatus','url(#on-line-icon_clip0_910_349)','保存中...','配置参数:','includes','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','MCP\x20连接失败','Configuration\x20Steps:','几秒钟内获取您的\x20API\x20密钥','MCP\x20Connected','_handleConfigure','MCP:\x20超出最大重试次数','mcpConfig.apiApplyInfo.description','Enable\x20authentication\x20for\x20secure\x20connections','mcp-config-dialog','_validateConfig','url(#$1','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.apiApplyInfo.title','removeItem','mcpServerUrl','_localeService','getConfig','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','map','mcpConfig.saving','Saving...','MCP:\x20会话\x20ID\x20已被占用','pre','univer-bg-gray-500','univer-space-y-4','defIds','univer-text-gray-400','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_commandService','mcpConfig.validation.apiKeyRequired','10982860jEKqtf','mcpConfig.configParameters','univer-space-y-2','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','\x20-\x20','show','UNAUTHORIZED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','配置无效','mcpStatus.connecting','current','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20密钥不能为空','string','univer_session_id:','mcpConfig.configStep1','MCP\x20Configuration','mcpConfig.connectionError.networkError','univer-flex\x20univer-items-start\x20univer-gap-2','<API_KEY>','Click\x20to\x20connect\x20MCP','_initializeCommands','mcpConfig.configStepTitle','text','forEach','className','connectionError$','white','disposeWithMe','MCP\x20Client\x20Configuration','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Parameters:','getOwnPropertySymbols','univerjs-icon\x20univerjs-icon-','enableAutoConnect','mcpConfig.connectionStatus.connecting','univer-text-red-500','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','univer-min-w-0\x20univer-flex-1','getOwnPropertyDescriptor','noopener\x20noreferrer','最大重试次数','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','attrs','HelpSingle','label','_config$','function','连接失败'];_0x4830=function(){return _0x3fd6e0;};return _0x4830();}import{jsxs as _0x2d894b,jsx as _0x425d62}from'react/jsx-runtime';import{MCPConnectionStatus as _0x523148,MCPConnectionError as _0xc52ba5,MCPConnectionController as _0x2171de,MCP_PLUGIN_CONFIG_KEY as _0x309bb1,UniverMCPPlugin as _0x3ef5b4}from'@univerjs-pro/mcp';import{Input as _0x4de878,Button as _0x51105a,MessageType as _0x24fd02,Tooltip as _0x49cca2,clsx as _0x2a2431}from'@univerjs/design';import{useDependency as _0x25ed8b,useObservable as _0x4a9727,IUIPartsService as _0x3b888b,IDialogService as _0x597781,IMessageService as _0x3ed138,ComponentManager as _0x5c1940,connectInjector as _0x49fe7d,BuiltInUIPart as _0x277f90,MenuItemType as _0x5ed2a3,RibbonStartGroup as _0x1efcb9,IMenuManagerService as _0x185272}from'@univerjs/ui';import{BehaviorSubject as _0x50324c}from'rxjs';import{forwardRef as _0x11fd9a,useRef as _0x1b5b92,createElement as _0x165f6f,useState as _0x34fbfa,useCallback as _0x8c9d31}from'react';import{ISocketService as _0x26a59c,WebSocketService as _0x5d5f85}from'@univerjs/network';var f=function(){var _0x586cef=_0x6bbf25;return f=Object[_0x586cef(0x262)]||function(_0xc83ed5){var _0xfc460d=_0x586cef;for(var _0x407faa,_0x3317d4=0x1,_0x5cddf9=arguments['length'];_0x3317d4<_0x5cddf9;_0x3317d4++){_0x407faa=arguments[_0x3317d4];for(var _0xdb7aac in _0x407faa)Object[_0xfc460d(0x268)][_0xfc460d(0x23c)][_0xfc460d(0x1ef)](_0x407faa,_0xdb7aac)&&(_0xc83ed5[_0xdb7aac]=_0x407faa[_0xdb7aac]);}return _0xc83ed5;},f[_0x586cef(0x275)](this,arguments);},Ye=function(_0x4021f7,_0x26923c){var _0x3d2c04=_0x6bbf25,_0x4ab63c={};for(var _0x266485 in _0x4021f7)Object[_0x3d2c04(0x268)][_0x3d2c04(0x23c)]['call'](_0x4021f7,_0x266485)&&_0x26923c[_0x3d2c04(0x2cf)](_0x266485)<0x0&&(_0x4ab63c[_0x266485]=_0x4021f7[_0x266485]);if(_0x4021f7!=null&&typeof Object[_0x3d2c04(0x2bd)]==_0x3d2c04(0x2cc)){for(var _0x42ca37=0x0,_0x266485=Object[_0x3d2c04(0x2bd)](_0x4021f7);_0x42ca37<_0x266485['length'];_0x42ca37++)_0x26923c['indexOf'](_0x266485[_0x42ca37])<0x0&&Object[_0x3d2c04(0x268)][_0x3d2c04(0x248)]['call'](_0x4021f7,_0x266485[_0x42ca37])&&(_0x4ab63c[_0x266485[_0x42ca37]]=_0x4021f7[_0x266485[_0x42ca37]]);}return _0x4ab63c;},w=_0x11fd9a(function(_0x2745c1,_0x379e3c){var _0x218ec2=_0x6bbf25,_0x458daf=_0x2745c1[_0x218ec2(0x2e5)],_0x12f47d=_0x2745c1['id'],_0x4d91a9=_0x2745c1[_0x218ec2(0x2b5)],_0x4172ff=_0x2745c1[_0x218ec2(0x250)],_0x5ceaa2=Ye(_0x2745c1,[_0x218ec2(0x2e5),'id',_0x218ec2(0x2b5),_0x218ec2(0x250)]),_0x5a89d1=_0x218ec2(0x2be)[_0x218ec2(0x26f)](_0x12f47d,'\x20')[_0x218ec2(0x26f)](_0x4d91a9||'')[_0x218ec2(0x25a)](),_0x251af1=_0x1b5b92('_'[_0x218ec2(0x26f)](Xe()));return ue(_0x458daf,''[_0x218ec2(0x26f)](_0x12f47d),{'defIds':_0x458daf['defIds'],'idSuffix':_0x251af1[_0x218ec2(0x2a6)]},f({'ref':_0x379e3c,'className':_0x5a89d1},_0x5ceaa2),_0x4172ff);});function ue(_0x21cdcc,_0x49e3f6,_0x3db90e,_0x166ce8,_0x283020){var _0x1419e7=_0x6bbf25;return _0x165f6f(_0x21cdcc[_0x1419e7(0x2dc)],f(f({'key':_0x49e3f6},Ze(_0x21cdcc,_0x3db90e,_0x283020)),_0x166ce8),(qe(_0x21cdcc,_0x3db90e)[_0x1419e7(0x24c)]||[])[_0x1419e7(0x290)](function(_0x294a09,_0x5d6ab1){var _0x2dfbd4=_0x1419e7;return ue(_0x294a09,''[_0x2dfbd4(0x26f)](_0x49e3f6,'-')[_0x2dfbd4(0x26f)](_0x21cdcc[_0x2dfbd4(0x2dc)],'-')['concat'](_0x5d6ab1),_0x3db90e,void 0x0,_0x283020);}));}function Ze(_0x1cf54b,_0x1a3cbf,_0x4a0540){var _0x2b0a1e=_0x6bbf25,_0x34f3d7=f({},_0x1cf54b[_0x2b0a1e(0x2c8)]);_0x4a0540!=null&&_0x4a0540['colorChannel1']&&_0x34f3d7[_0x2b0a1e(0x1ff)]===_0x2b0a1e(0x30f)&&(_0x34f3d7[_0x2b0a1e(0x1ff)]=_0x4a0540['colorChannel1']),_0x1cf54b['tag']===_0x2b0a1e(0x30e)&&_0x34f3d7['id']&&(_0x34f3d7['id']=_0x34f3d7['id']+_0x1a3cbf[_0x2b0a1e(0x276)]),Object[_0x2b0a1e(0x1e4)](_0x34f3d7)[_0x2b0a1e(0x2b4)](function(_0x133338){var _0x52550d=_0x2b0a1e,_0xe96710=_0x133338[0x0],_0x17aab8=_0x133338[0x1];_0xe96710===_0x52550d(0x30e)&&typeof _0x17aab8==_0x52550d(0x2a9)&&(_0x34f3d7[_0xe96710]=_0x17aab8[_0x52550d(0x25b)](/url\(#(.*)\)/,_0x52550d(0x287)[_0x52550d(0x26f)](_0x1a3cbf[_0x52550d(0x276)],')')));});var _0x9e0c18=_0x1a3cbf[_0x2b0a1e(0x297)];return!_0x9e0c18||_0x9e0c18[_0x2b0a1e(0x1f4)]===0x0||(_0x1cf54b[_0x2b0a1e(0x2dc)]===_0x2b0a1e(0x267)&&_0x34f3d7[_0x2b0a1e(0x1d4)]&&(_0x34f3d7[_0x2b0a1e(0x1d4)]=_0x34f3d7[_0x2b0a1e(0x1d4)]+_0x1a3cbf[_0x2b0a1e(0x276)]),Object['entries'](_0x34f3d7)[_0x2b0a1e(0x2b4)](function(_0x41eb14){var _0x698253=_0x2b0a1e,_0x4c7074=_0x41eb14[0x0],_0x45cec2=_0x41eb14[0x1];typeof _0x45cec2==_0x698253(0x2a9)&&(_0x34f3d7[_0x4c7074]=_0x45cec2[_0x698253(0x25b)](/url\(#(.*)\)/,_0x698253(0x287)[_0x698253(0x26f)](_0x1a3cbf[_0x698253(0x276)],')')));})),_0x34f3d7;}function qe(_0x44b57a,_0x42ba3f){var _0x2b7dd3=_0x6bbf25,_0x245626,_0xde9812=_0x42ba3f[_0x2b7dd3(0x297)];return!_0xde9812||_0xde9812[_0x2b7dd3(0x1f4)]===0x0?_0x44b57a:_0x44b57a['tag']==='defs'&&(!((_0x245626=_0x44b57a['children'])===null||_0x245626===void 0x0)&&_0x245626['length'])?f(f({},_0x44b57a),{'children':_0x44b57a[_0x2b7dd3(0x24c)][_0x2b7dd3(0x290)](function(_0x1c0ac9){var _0x2945e7=_0x2b7dd3;return typeof _0x1c0ac9[_0x2945e7(0x2c8)]['id']==_0x2945e7(0x2a9)&&_0xde9812&&_0xde9812[_0x2945e7(0x27b)](_0x1c0ac9[_0x2945e7(0x2c8)]['id'])?f(f({},_0x1c0ac9),{'attrs':f(f({},_0x1c0ac9[_0x2945e7(0x2c8)]),{'id':_0x1c0ac9[_0x2945e7(0x2c8)]['id']+_0x42ba3f['idSuffix']})}):_0x1c0ac9;})}):_0x44b57a;}function Xe(){var _0x22c813=_0x6bbf25;return Math['random']()['toString'](0x24)[_0x22c813(0x1dc)](0x2,0x8);}w[_0x6bbf25(0x1fa)]=_0x6bbf25(0x2ec);var Je={'tag':_0x6bbf25(0x24e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x6bbf25(0x254),'viewBox':_0x6bbf25(0x235),'width':_0x6bbf25(0x1e3),'height':'1em'},'children':[{'tag':_0x6bbf25(0x2fa),'attrs':{'fill':_0x6bbf25(0x221),'d':_0x6bbf25(0x26e),'fillRule':_0x6bbf25(0x2d3),'clipRule':_0x6bbf25(0x2d3)}}]},le=_0x11fd9a(function(_0x284afb,_0x4ad26c){var _0x4ec4ed=_0x6bbf25;return _0x165f6f(w,Object[_0x4ec4ed(0x262)]({},_0x284afb,{'id':'check-mark-icon','ref':_0x4ad26c,'icon':Je}));});le[_0x6bbf25(0x1fa)]='CheckMarkIcon';var Qe={'tag':_0x6bbf25(0x24e),'attrs':{'xmlns':_0x6bbf25(0x1e5),'fill':'none','viewBox':_0x6bbf25(0x323),'width':_0x6bbf25(0x1e3),'height':'1em'},'children':[{'tag':_0x6bbf25(0x2fa),'attrs':{'stroke':_0x6bbf25(0x221),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':_0x6bbf25(0x302),'strokeLinejoin':_0x6bbf25(0x302),'strokeWidth':1.33}},{'tag':_0x6bbf25(0x2fa),'attrs':{'stroke':_0x6bbf25(0x221),'d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':_0x6bbf25(0x302),'strokeLinejoin':_0x6bbf25(0x302),'strokeWidth':1.33}}]},ve=_0x11fd9a(function(_0x54afcd,_0x499431){var _0x22cd72=_0x6bbf25;return _0x165f6f(w,Object[_0x22cd72(0x262)]({},_0x54afcd,{'id':_0x22cd72(0x2e9),'ref':_0x499431,'icon':Qe}));});ve['displayName']=_0x6bbf25(0x1ca);var en={'tag':'svg','attrs':{'xmlns':_0x6bbf25(0x1e5),'fill':_0x6bbf25(0x254),'viewBox':_0x6bbf25(0x235),'width':_0x6bbf25(0x1e3),'height':_0x6bbf25(0x1e3)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x6bbf25(0x2fa),'attrs':{'fill':_0x6bbf25(0x221),'d':_0x6bbf25(0x2c7)}},{'tag':'path','attrs':{'fill':_0x6bbf25(0x221),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':'evenodd','clipRule':'evenodd'}}]},de=_0x11fd9a(function(_0x5eadb6,_0x59f899){var _0x1f2be4=_0x6bbf25;return _0x165f6f(w,Object[_0x1f2be4(0x262)]({},_0x5eadb6,{'id':_0x1f2be4(0x1d1),'ref':_0x59f899,'icon':en}));});de[_0x6bbf25(0x1fa)]=_0x6bbf25(0x2c9);var nn={'tag':_0x6bbf25(0x24e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x6bbf25(0x254),'viewBox':_0x6bbf25(0x235),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x6bbf25(0x1cc)},'children':[{'tag':_0x6bbf25(0x2fa),'attrs':{'stroke':'currentColor','d':_0x6bbf25(0x32e),'strokeLinecap':'round','strokeLinejoin':_0x6bbf25(0x302),'strokeWidth':1.2}}]},{'tag':_0x6bbf25(0x2f8),'attrs':{},'children':[{'tag':_0x6bbf25(0x1d5),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x6bbf25(0x2fa),'attrs':{'fill':_0x6bbf25(0x2b7),'d':_0x6bbf25(0x2ef)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},fe=_0x11fd9a(function(_0x331307,_0x42c80c){var _0x308f31=_0x6bbf25;return _0x165f6f(w,Object[_0x308f31(0x262)]({},_0x331307,{'id':'off-line-icon','ref':_0x42c80c,'icon':nn}));});fe[_0x6bbf25(0x1fa)]='OffLineIcon';var rn={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x6bbf25(0x254),'viewBox':'0\x200\x2017\x2016','width':_0x6bbf25(0x1e3),'height':_0x6bbf25(0x1e3)},'children':[{'tag':'g','attrs':{'clipPath':_0x6bbf25(0x278)},'children':[{'tag':_0x6bbf25(0x2fa),'attrs':{'stroke':_0x6bbf25(0x221),'d':_0x6bbf25(0x241),'strokeLinecap':_0x6bbf25(0x302),'strokeLinejoin':_0x6bbf25(0x302),'strokeWidth':1.2}}]},{'tag':_0x6bbf25(0x2f8),'attrs':{},'children':[{'tag':_0x6bbf25(0x1d5),'attrs':{'id':_0x6bbf25(0x1cf)},'children':[{'tag':_0x6bbf25(0x2fa),'attrs':{'fill':'white','d':_0x6bbf25(0x2ef),'transform':_0x6bbf25(0x217)}}]}]}],'defIds':[_0x6bbf25(0x1cf)]},ge=_0x11fd9a(function(_0x5230bf,_0x81e353){var _0x20caa2=_0x6bbf25;return _0x165f6f(w,Object[_0x20caa2(0x262)]({},_0x5230bf,{'id':'on-line-icon','ref':_0x81e353,'icon':rn}));});ge['displayName']=_0x6bbf25(0x216);function tn(_0x1edf71){var _0x1fb3da=_0x6bbf25,_0x2cb908,_0x30f54c;const {mcpCoreConfig:_0x3a811d,onSave:_0x3d8673,loading:_0x11700b=!0x1,config:_0x1db39f,connectionStatus$:_0x2552e8,connectionError$:_0x3dd24b,currentApiKey$:_0x19594e,currentSessionId$:_0x8feabe}=_0x1edf71,_0x13ad23=_0x25ed8b(_0x284497),_0xa7bd19=_0x4a9727(_0x2552e8,_0x523148[_0x1fb3da(0x263)]),_0x4be85b=_0x4a9727(_0x3dd24b,_0xc52ba5[_0x1fb3da(0x1f0)]),_0x4b4bcc=_0x4a9727(_0x8feabe,''),_0xca997e=_0x4a9727(_0x19594e,''),[_0x36e437,_0x49073f]=_0x34fbfa(_0xca997e||''),_0x4ab868=!0x0,_0x5d1835=_0x1db39f[_0x1fb3da(0x2fb)]&&_0x3a811d['mcpServerUrl']&&(_0x3a811d[_0x1fb3da(0x28b)]['includes'](_0x1fb3da(0x317))||_0x3a811d['mcpServerUrl'][_0x1fb3da(0x27b)](_0x1fb3da(0x219))),_0x1ee7d8=(_0x2cb908=_0x3a811d[_0x1fb3da(0x28b)])==null?void 0x0:_0x2cb908[_0x1fb3da(0x27b)](_0x1fb3da(0x317)),_0x3c104d=(_0x30f54c=_0x3a811d[_0x1fb3da(0x28b)])==null?void 0x0:_0x30f54c[_0x1fb3da(0x27b)](_0x1fb3da(0x219)),_0x1b1489=_0x1ee7d8?_0x1fb3da(0x1fe):_0x1fb3da(0x270),_0x5a6064=_0x1db39f[_0x1fb3da(0x2fb)]&&(_0x1ee7d8||_0x3c104d),[_0x504ab2,_0x6fc2cd]=_0x34fbfa(!_0x36e437['trim']()),_0x3c43a2=(_0xafc2a,_0x3fd7d4)=>{var _0xd2088c=_0x1fb3da;if(_0x3fd7d4===_0xc52ba5['UNAUTHORIZED'])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0xafc2a){case _0x523148[_0xd2088c(0x23e)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x523148[_0xd2088c(0x26c)]:case _0x523148[_0xd2088c(0x1f7)]:return _0xd2088c(0x1e7);case _0x523148['FAILED']:return _0xd2088c(0x22e);default:return _0xd2088c(0x21b);}},_0x51b032=(_0xe61236,_0x18c1dc)=>{var _0x3eaaf1=_0x1fb3da;if(_0x18c1dc===_0xc52ba5[_0x3eaaf1(0x2a2)])return _0x3eaaf1(0x2e1);switch(_0xe61236){case _0x523148[_0x3eaaf1(0x23e)]:return _0x3eaaf1(0x1da);case _0x523148['CONNECTING']:case _0x523148['RETRYING']:return'univer-bg-blue-500';case _0x523148[_0x3eaaf1(0x256)]:return _0x3eaaf1(0x2e1);default:return _0x3eaaf1(0x295);}},_0x3a17b0=_0x1b62cd=>{var _0x4a9d08=_0x1fb3da;switch(_0x1b62cd){case _0x523148[_0x4a9d08(0x23e)]:return _0x13ad23['t'](_0x4a9d08(0x20a));case _0x523148[_0x4a9d08(0x26c)]:return _0x13ad23['t'](_0x4a9d08(0x2c0));case _0x523148['FAILED']:return _0x13ad23['t'](_0x4a9d08(0x1d0));case _0x523148[_0x4a9d08(0x1f7)]:return _0x13ad23['t'](_0x4a9d08(0x2f7));default:return _0x13ad23['t'](_0x4a9d08(0x2f2));}},_0x20e390=_0x41708b=>{var _0x54868b=_0x1fb3da;switch(_0x41708b){case _0xc52ba5[_0x54868b(0x2a2)]:return _0x13ad23['t']('mcpConfig.connectionError.unauthorized');case _0xc52ba5[_0x54868b(0x203)]:return _0x13ad23['t'](_0x54868b(0x2d4));case _0xc52ba5['NETWORK_ERROR']:return _0x13ad23['t'](_0x54868b(0x2ad));case _0xc52ba5[_0x54868b(0x22b)]:return _0x13ad23['t'](_0x54868b(0x1d6));default:return'';}},_0x245bd8=_0x8c9d31(()=>{var _0x30dc71=_0x1fb3da;const _0x1de47e={..._0x3a811d,'apiKey':_0x36e437[_0x30dc71(0x25a)](),'enableAuth':_0x4ab868};_0x3d8673(_0x1de47e);},[_0x3a811d,_0x36e437,_0x4ab868,_0x3d8673]),_0x1e4cfd=_0x36e437['trim']()['length']>0x0;return _0x2d894b('div',{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x425d62('div',{'className':_0x1fb3da(0x28f),'children':_0x2d894b(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x228),'children':[_0x425d62(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x20b),'children':_0x425d62(_0x1fb3da(0x271),{'className':_0x1fb3da(0x23d),'children':'⚙'})}),_0x425d62('div',{'children':_0x425d62('p',{'className':_0x1fb3da(0x2db),'children':_0x13ad23['t']('mcpConfig.description')})})]})}),_0x2d894b(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x27c),'children':[_0x425d62('div',{'className':_0x1fb3da(0x1e8)+_0x3c43a2(_0xa7bd19,_0x4be85b)+_0x1fb3da(0x227),'children':_0x2d894b(_0x1fb3da(0x1f2),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x425d62(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x1dd)+_0x51b032(_0xa7bd19,_0x4be85b)+_0x1fb3da(0x229)}),_0x425d62(_0x1fb3da(0x271),{'className':_0x1fb3da(0x234),'children':_0x3a17b0(_0xa7bd19)})]})}),_0x4be85b!==_0xc52ba5[_0x1fb3da(0x1f0)]&&(_0xa7bd19===_0x523148[_0x1fb3da(0x256)]||_0x4be85b===_0xc52ba5[_0x1fb3da(0x2a2)])&&_0x425d62('div',{'className':_0x1fb3da(0x2f4),'children':_0x2d894b(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x2ae),'children':[_0x425d62(_0x1fb3da(0x271),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x425d62('p',{'className':_0x1fb3da(0x24a),'children':_0x20e390(_0x4be85b)})]})})]}),_0x425d62(_0x1fb3da(0x1f2),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x2d894b('div',{'className':'univer-space-y-5','children':[_0x2d894b('div',{'className':_0x1fb3da(0x29e),'children':[_0x2d894b(_0x1fb3da(0x2ca),{'className':_0x1fb3da(0x2ee),'children':[_0x425d62(_0x1fb3da(0x271),{'children':'🔑'}),'\x20',_0x13ad23['t'](_0x1fb3da(0x24d)),_0x425d62(_0x1fb3da(0x271),{'className':_0x1fb3da(0x2c1),'children':'*'}),_0x5d1835&&_0x425d62('a',{'href':_0x1fb3da(0x31d),'onClick':()=>_0x6fc2cd(!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':_0x13ad23['t']('mcpConfig.apiApplyInfo.title'),'children':_0x425d62(de,{})})]}),_0x425d62(_0x4de878,{'type':_0x1fb3da(0x2b3),'placeholder':_0x13ad23['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x36e437,'onChange':_0x49073f,'disabled':_0x11700b,'autoComplete':'off'}),_0x425d62('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x13ad23['t']('mcpConfig.apiKeyHint')})]}),_0x5d1835&&_0x504ab2&&_0x2d894b(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x212),'children':[_0x425d62('a',{'href':_0x1fb3da(0x31d),'onClick':()=>_0x6fc2cd(!0x1),'className':_0x1fb3da(0x2c2),'title':_0x1fb3da(0x315),'children':_0x425d62(ve,{})}),_0x2d894b('div',{'className':_0x1fb3da(0x29f),'children':[_0x425d62(_0x1fb3da(0x1f2),{'className':'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','children':_0x425d62('span',{'className':_0x1fb3da(0x2ed),'children':'🚀'})}),_0x2d894b('div',{'className':_0x1fb3da(0x224),'children':[_0x425d62('h4',{'className':_0x1fb3da(0x288),'children':_0x13ad23['t'](_0x1fb3da(0x289))}),_0x425d62('p',{'className':_0x1fb3da(0x32a),'children':_0x13ad23['t'](_0x1fb3da(0x283))}),_0x425d62(_0x1fb3da(0x1f2),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x5a6064&&_0x2d894b('a',{'href':_0x1b1489,'target':_0x1fb3da(0x1fd),'rel':_0x1fb3da(0x2c5),'className':_0x1fb3da(0x211),'children':[_0x425d62(_0x1fb3da(0x271),{'children':'🤖'}),_0x13ad23['t'](_0x1fb3da(0x21d)),_0x425d62('span',{'className':_0x1fb3da(0x298),'children':'↗'})]})}),_0x2d894b(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x208),'children':['✨','\x20',_0x13ad23['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x1db39f[_0x1fb3da(0x2fb)]&&_0x2d894b('div',{'className':_0x1fb3da(0x246),'children':[_0x2d894b('h4',{'className':_0x1fb3da(0x1d9),'children':[_0x425d62(_0x1fb3da(0x271),{'children':'🔗'}),'\x20',_0x13ad23['t'](_0x1fb3da(0x1fc))]}),_0x2d894b('div',{'className':_0x1fb3da(0x296),'children':[_0x2d894b(_0x1fb3da(0x1f2),{'className':'univer-space-y-3','children':[_0x425d62('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x13ad23['t'](_0x1fb3da(0x2ce))}),_0x2d894b(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x29e),'children':[_0x425d62(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x245),'children':_0x13ad23['t'](_0x1fb3da(0x2b2))}),_0x2d894b(_0x1fb3da(0x1f2),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x2d894b(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x239),'children':[_0x425d62(_0x1fb3da(0x271),{'className':_0x1fb3da(0x325),'children':'1'}),_0x13ad23['t'](_0x1fb3da(0x2ab))]}),_0x2d894b(_0x1fb3da(0x1f2),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x425d62(_0x1fb3da(0x271),{'className':_0x1fb3da(0x325),'children':'2'}),_0x13ad23['t'](_0x1fb3da(0x2d8))]}),_0x2d894b(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x239),'children':[_0x425d62(_0x1fb3da(0x271),{'className':_0x1fb3da(0x325),'children':'3'}),_0x13ad23['t'](_0x1fb3da(0x318))]})]})]})]}),_0x2d894b('div',{'className':'univer-space-y-2','children':[_0x425d62(_0x1fb3da(0x1f2),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x1fb3da(0x2ac)}),_0x425d62(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x1d8),'children':_0x425d62(_0x1fb3da(0x294),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':'{\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='+_0x4b4bcc+_0x1fb3da(0x2d9)+(_0x36e437||_0x1fb3da(0x2af))+_0x1fb3da(0x30c)})})]}),_0x2d894b(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x2df),'children':[_0x425d62(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x245),'children':_0x13ad23['t'](_0x1fb3da(0x29d))}),_0x2d894b('div',{'className':_0x1fb3da(0x29e),'children':[_0x2d894b(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x30a),'children':[_0x425d62(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x269)}),_0x2d894b('div',{'className':_0x1fb3da(0x2c3),'children':[_0x425d62(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x299),'children':_0x1fb3da(0x2aa)}),_0x425d62(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x31e),'children':_0x13ad23['t'](_0x1fb3da(0x2d5))})]})]}),_0x2d894b('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x425d62('div',{'className':_0x1fb3da(0x269)}),_0x2d894b('div',{'className':_0x1fb3da(0x2c3),'children':[_0x425d62(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x299),'children':'Authorization:'}),_0x425d62(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x31e),'children':_0x13ad23['t'](_0x1fb3da(0x26d))})]})]})]})]})]})]}),_0x425d62(_0x51105a,{'onClick':_0x245bd8,'disabled':!_0x1e4cfd||_0x11700b,'className':_0x1fb3da(0x24f),'children':_0x11700b?_0x2d894b(_0x1fb3da(0x271),{'className':_0x1fb3da(0x239),'children':[_0x425d62('span',{'children':'⟲'}),_0x13ad23['t'](_0x1fb3da(0x291))]}):_0x2d894b(_0x1fb3da(0x271),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x425d62(le,{}),_0x13ad23['t']('mcpConfig.save')]})}),_0x425d62(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x1de),'children':_0x2d894b(_0x1fb3da(0x1f2),{'className':'univer-flex\x20univer-gap-3','children':[_0x425d62(_0x1fb3da(0x271),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x2d894b(_0x1fb3da(0x1f2),{'className':_0x1fb3da(0x257),'children':[_0x425d62(_0x1fb3da(0x1f2),{'className':'univer-font-medium','children':'Configuration\x20Notes:'}),_0x2d894b(_0x1fb3da(0x1f2),{'children':['•',_0x13ad23['t'](_0x1fb3da(0x261))]}),_0x2d894b(_0x1fb3da(0x1f2),{'children':['•',_0x13ad23['t']('mcpConfig.note2')]})]})]})})]})})]});}const x=_0x6bbf25(0x31f),re={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0x3ed9(_0x270720,_0x4eae4b){var _0x483056=_0x4830();return _0x3ed9=function(_0x3ed933,_0x17fff8){_0x3ed933=_0x3ed933-0x1ca;var _0xe6d62d=_0x483056[_0x3ed933];return _0xe6d62d;},_0x3ed9(_0x270720,_0x4eae4b);}var on=Object[_0x6bbf25(0x2c4)],sn=(_0x320ba4,_0x5774ca,_0x107237,_0x4c98bd)=>{for(var _0x400310=_0x4c98bd>0x1?void 0x0:_0x4c98bd?on(_0x5774ca,_0x107237):_0x5774ca,_0x2b0aa7=_0x320ba4['length']-0x1,_0x280eaa;_0x2b0aa7>=0x0;_0x2b0aa7--)(_0x280eaa=_0x320ba4[_0x2b0aa7])&&(_0x400310=_0x280eaa(_0x400310)||_0x400310);return _0x400310;},g=(_0x11b265,_0x514164)=>(_0x438627,_0x54b4e3)=>_0x514164(_0x438627,_0x54b4e3,_0x11b265);const j=_0x6bbf25(0x316),U=_0x6bbf25(0x285);let I=class extends _0x39aa33{constructor(_0x2956b6,_0x2bdbcf,_0x293c54,_0x26e75d,_0x3a5a8d,_0x505bd8,_0x3a72b5,_0x4d031e,_0x1fdce5,_0x46d998){var _0x2ec786=_0x6bbf25;super(),S(this,_0x2ec786(0x273),new _0x50324c(!0x1)),S(this,_0x2ec786(0x320),new _0x50324c({})),S(this,_0x2ec786(0x2cb),new _0x50324c({})),S(this,'_apiKey$',new _0x50324c('')),S(this,'_handleConfigSave',async _0x41fe38=>{var _0x56c3f4=_0x2ec786,_0xbe7dd5,_0x1a1da4;this[_0x56c3f4(0x273)][_0x56c3f4(0x25d)](!0x0);try{const _0x5c12ff=await this['_validateConfig'](_0x41fe38);if(!_0x5c12ff['isValid']){this[_0x56c3f4(0x2f3)][_0x56c3f4(0x2a1)]({'type':_0x24fd02[_0x56c3f4(0x1e2)],'content':_0x5c12ff['errorMessage']||this[_0x56c3f4(0x28c)]['t'](_0x56c3f4(0x2d7))});return;}_0x41fe38[_0x56c3f4(0x274)]?await this['_localStorageService'][_0x56c3f4(0x30b)](j,_0x41fe38[_0x56c3f4(0x274)]['trim']()):await this['_localStorageService'][_0x56c3f4(0x28a)](j),this[_0x56c3f4(0x210)][_0x56c3f4(0x25d)](((_0xbe7dd5=_0x41fe38['apiKey'])==null?void 0x0:_0xbe7dd5[_0x56c3f4(0x25a)]())||''),this[_0x56c3f4(0x23a)][_0x56c3f4(0x1cb)]({'Authorization':_0x56c3f4(0x1f6)+((_0x1a1da4=_0x41fe38[_0x56c3f4(0x274)])==null?void 0x0:_0x1a1da4[_0x56c3f4(0x25a)]())}),this[_0x56c3f4(0x2f3)][_0x56c3f4(0x2a1)]({'type':_0x24fd02[_0x56c3f4(0x260)],'content':this['_localeService']['t'](_0x56c3f4(0x306))}),setTimeout(()=>{var _0x1f77a3=_0x56c3f4;this[_0x1f77a3(0x223)][_0x1f77a3(0x1db)](U);},0x320);}catch(_0x3fd54a){this[_0x56c3f4(0x206)][_0x56c3f4(0x1d7)](_0x56c3f4(0x23f),_0x3fd54a),this[_0x56c3f4(0x2f3)][_0x56c3f4(0x2a1)]({'type':_0x24fd02[_0x56c3f4(0x1e2)],'content':this['_localeService']['t'](_0x56c3f4(0x31b))});}finally{this[_0x56c3f4(0x273)]['next'](!0x1);}}),(this[_0x2ec786(0x247)]=_0x2956b6,this[_0x2ec786(0x2de)]=_0x2bdbcf,this[_0x2ec786(0x312)]=_0x293c54,this[_0x2ec786(0x244)]=_0x26e75d,this['_dialogService']=_0x3a5a8d,this[_0x2ec786(0x2f3)]=_0x505bd8,this[_0x2ec786(0x1e1)]=_0x3a72b5,this['_localeService']=_0x4d031e,this[_0x2ec786(0x206)]=_0x1fdce5,this[_0x2ec786(0x23a)]=_0x46d998,this['_initConfigSync'](),this[_0x2ec786(0x2fd)](),this['_registerComponent']());}[_0x6bbf25(0x1e9)](){var _0x21bdb7=_0x6bbf25;const _0x22a529=this[_0x21bdb7(0x312)]['getConfig'](x);_0x22a529!=null&&_0x22a529[_0x21bdb7(0x2fb)]&&this[_0x21bdb7(0x223)][_0x21bdb7(0x251)]({'id':U,'title':{'title':this['_localeService']['t'](_0x21bdb7(0x22d))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x5a17cc=_0x21bdb7;this['_dialogService'][_0x5a17cc(0x1db)](U);}});}['getCurrentConfig'](){var _0x1d0bf6=_0x6bbf25;return this[_0x1d0bf6(0x320)][_0x1d0bf6(0x1ea)];}['_registerComponent'](){var _0x12b7f0=_0x6bbf25;this[_0x12b7f0(0x2b8)](this['_componentManager'][_0x12b7f0(0x2e7)](_0x12b7f0(0x231),this['_createConfigPanelComponent']()));}[_0x6bbf25(0x20f)](){var _0x108cd3=_0x6bbf25;return _0x49fe7d(()=>{var _0x41af69=_0x3ed9,_0x3c5cbd,_0x3d66a8,_0x5f09c6;return _0x425d62(tn,{'config':this[_0x41af69(0x2cb)][_0x41af69(0x1ea)],'mcpCoreConfig':this[_0x41af69(0x320)]['value'],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x41af69(0x209)],'loading':this['_loading$'][_0x41af69(0x1ea)],'connectionStatus$':(_0x3c5cbd=this[_0x41af69(0x23a)])==null?void 0x0:_0x3c5cbd[_0x41af69(0x2e6)],'connectionError$':(_0x3d66a8=this[_0x41af69(0x23a)])==null?void 0x0:_0x3d66a8['connectionError$'],'currentSessionId$':(_0x5f09c6=this[_0x41af69(0x23a)])==null?void 0x0:_0x5f09c6['sessionId$']});},this[_0x108cd3(0x247)]);}['_initConfigSync'](){var _0x4e0e36=_0x6bbf25;this[_0x4e0e36(0x2b8)](this[_0x4e0e36(0x312)][_0x4e0e36(0x20d)](_0x309bb1)['subscribe'](_0x310e94=>{var _0x3d74bc=_0x4e0e36;this[_0x3d74bc(0x320)][_0x3d74bc(0x25d)](_0x310e94||{});}));const _0x121f68=this['_configService']['getConfig'](_0x309bb1);this[_0x4e0e36(0x320)][_0x4e0e36(0x25d)](_0x121f68||{}),this['disposeWithMe'](this['_configService'][_0x4e0e36(0x20d)](x)['subscribe'](_0x19cd86=>{var _0x363894=_0x4e0e36;this[_0x363894(0x2cb)][_0x363894(0x25d)](_0x19cd86||{});}));const _0x33d676=this[_0x4e0e36(0x312)][_0x4e0e36(0x28d)](x);this[_0x4e0e36(0x2cb)]['next'](_0x33d676||{});}async[_0x6bbf25(0x2fd)](){var _0x233870=_0x6bbf25;const _0x23ee9b=this[_0x233870(0x312)]['getConfig'](x);if(!(_0x23ee9b!=null&&_0x23ee9b[_0x233870(0x2fb)]))return;const _0x53230b=await this[_0x233870(0x244)][_0x233870(0x255)](j);_0x53230b&&(this[_0x233870(0x23a)][_0x233870(0x1cb)]({'Authorization':_0x233870(0x1f6)+_0x53230b}),this[_0x233870(0x210)][_0x233870(0x25d)](_0x53230b));}async[_0x6bbf25(0x286)](_0x559cca){var _0x2019cc=_0x6bbf25;if(!_0x559cca[_0x2019cc(0x274)]||_0x559cca['apiKey'][_0x2019cc(0x25a)]()[_0x2019cc(0x1f4)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x2019cc(0x28c)]['t'](_0x2019cc(0x29b))};if(_0x559cca['apiKey'][_0x2019cc(0x25a)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x2019cc(0x28c)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x22a387=await this[_0x2019cc(0x247)][_0x2019cc(0x2e2)](_0x2171de)[_0x2019cc(0x303)](_0x559cca['apiKey'][_0x2019cc(0x25a)]());return _0x22a387[_0x2019cc(0x220)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x22a387[_0x2019cc(0x1d7)]||this[_0x2019cc(0x28c)]['t'](_0x2019cc(0x26a))};}catch(_0x42edec){return console[_0x2019cc(0x230)](_0x2019cc(0x264),_0x42edec),{'isValid':!0x0};}}};I=sn([g(0x0,_0x4d025e(_0x5a27ce)),g(0x1,_0x3b888b),g(0x2,_0x4e1f02),g(0x3,_0x433a37),g(0x4,_0x597781),g(0x5,_0x3ed138),g(0x6,_0x4d025e(_0x5c1940)),g(0x7,_0x4d025e(_0x284497)),g(0x8,_0x5ca8a5),g(0x9,_0x4d025e(_0x2171de))],I);const V={'id':_0x6bbf25(0x20c),'type':_0x4705af['COMMAND'],'handler':async(_0x1dd15c,_0x375988)=>(_0x1dd15c['get'](I)['showConfigPanel'](),!0x0)};function pe(_0x393fac,_0x1cd73f){var _0x2b1a99=_0x6bbf25;switch(_0x393fac){case _0x523148[_0x2b1a99(0x263)]:return _0x2b1a99(0x313);case _0x523148[_0x2b1a99(0x26c)]:return _0x2b1a99(0x2a5);case _0x523148[_0x2b1a99(0x23e)]:return _0x2b1a99(0x22f);case _0x523148[_0x2b1a99(0x256)]:switch(_0x1cd73f){case _0xc52ba5[_0x2b1a99(0x2a2)]:return'mcpStatus.unauthorized';case _0xc52ba5[_0x2b1a99(0x203)]:return _0x2b1a99(0x2f0);case _0xc52ba5['NETWORK_ERROR']:return _0x2b1a99(0x22c);case _0xc52ba5[_0x2b1a99(0x22b)]:return _0x2b1a99(0x207);default:return _0x2b1a99(0x2dd);}case _0x523148[_0x2b1a99(0x1f7)]:return'mcpStatus.retrying';default:return _0x2b1a99(0x205);}}function cn(_0x5ed2a0,_0x1cf415,_0x3b8b5f,_0x536354=!0x0){var _0x2f4392=_0x6bbf25;const _0x3fb643=pe(_0x5ed2a0,_0x1cf415),_0x5db3d3=_0x3b8b5f['t'](_0x3fb643);return _0x536354?_0x5ed2a0===_0x523148[_0x2f4392(0x263)]&&_0x1cf415===_0xc52ba5[_0x2f4392(0x2a2)]?_0x5db3d3+'\x20-\x20'+_0x3b8b5f['t'](_0x2f4392(0x201)):_0x5ed2a0===_0x523148[_0x2f4392(0x23e)]?''+_0x5db3d3:_0x5ed2a0===_0x523148[_0x2f4392(0x263)]||_0x5ed2a0===_0x523148['FAILED']?_0x5db3d3+_0x2f4392(0x2a0)+_0x3b8b5f['t'](_0x2f4392(0x204)):_0x5db3d3:_0x5db3d3;}function an(_0x53bdee){var _0x19b167=_0x6bbf25;switch(_0x53bdee){case _0x523148[_0x19b167(0x23e)]:return _0x19b167(0x25f);case _0x523148[_0x19b167(0x26c)]:case _0x523148['RETRYING']:return _0x19b167(0x2eb);case _0x523148[_0x19b167(0x256)]:case _0x523148['DISCONNECTED']:return _0x19b167(0x2c1);default:return _0x19b167(0x272);}}function un(_0x1b979f){var _0x5edfbf=_0x6bbf25;const {status$:_0xa4c946,error$:_0x53b583,onConfigure:_0x2aff79,showClickable:_0x3b3102=!0x0}=_0x1b979f,_0x9336ec=_0x4a9727(_0xa4c946,_0x523148[_0x5edfbf(0x263)]),_0x33bf61=_0x4a9727(_0x53b583,_0xc52ba5[_0x5edfbf(0x1f0)]),_0x4c598b=_0x25ed8b(_0x284497),_0x32afbf=_0x9336ec===_0x523148['CONNECTED'];_0x9336ec===_0x523148[_0x5edfbf(0x26c)]||_0x523148['RETRYING'];const _0x563bb0=_0x4c598b['t'](pe(_0x9336ec,_0x33bf61)),_0x30f809=cn(_0x9336ec,_0x33bf61,_0x4c598b,_0x3b3102),_0x5a16ea=an(_0x9336ec),_0x45d8d4=_0x32afbf?_0x425d62(ge,{}):_0x425d62(fe,{}),_0x14c325=_0x8c9d31(()=>{_0x3b3102&&_0x2aff79&&_0x2aff79();},[_0x3b3102,_0x2aff79]);function _0x1fa57a(){var _0x4ce1ea=_0x5edfbf;return _0x2d894b(_0x4ce1ea(0x1f2),{'className':_0x2a2431(_0x4ce1ea(0x26b),_0x3b3102&&_0x2aff79&&_0x4ce1ea(0x226)),'onClick':_0x3b3102&&_0x2aff79?_0x14c325:void 0x0,'children':[_0x425d62(_0x4ce1ea(0x1f2),{'className':_0x2a2431(_0x4ce1ea(0x1df),_0x5a16ea),'children':_0x45d8d4}),_0x425d62(_0x4ce1ea(0x1f2),{'className':_0x4ce1ea(0x2a3),'children':_0x563bb0})]});}return _0x425d62(_0x49cca2,{'title':_0x30f809,'placement':_0x5edfbf(0x1ce),'children':_0x1fa57a()});}var ln=Object[_0x6bbf25(0x2c4)],vn=(_0x22e6b4,_0x4be2a7,_0x3c36cd,_0x365352)=>{var _0x392ed=_0x6bbf25;for(var _0xd69f8e=_0x365352>0x1?void 0x0:_0x365352?ln(_0x4be2a7,_0x3c36cd):_0x4be2a7,_0xec105=_0x22e6b4[_0x392ed(0x1f4)]-0x1,_0x213229;_0xec105>=0x0;_0xec105--)(_0x213229=_0x22e6b4[_0xec105])&&(_0xd69f8e=_0x213229(_0xd69f8e)||_0xd69f8e);return _0xd69f8e;},A=(_0x342df6,_0x1b9f38)=>(_0x5c3e6a,_0x3aaa55)=>_0x1b9f38(_0x5c3e6a,_0x3aaa55,_0x342df6);let O=class extends _0x39aa33{constructor(_0x2ef7f7,_0x47da94,_0x410c9f,_0x5dae80){var _0x28f970=_0x6bbf25;super(),this[_0x28f970(0x247)]=_0x2ef7f7,this[_0x28f970(0x252)]=_0x47da94,this['_uiPartsService']=_0x410c9f,this[_0x28f970(0x312)]=_0x5dae80,this[_0x28f970(0x265)](),this[_0x28f970(0x259)]();}['_initAutoConnect'](){var _0xb35571=_0x6bbf25;const _0x1ee4ee=this[_0xb35571(0x312)][_0xb35571(0x28d)](x);_0x1ee4ee!=null&&_0x1ee4ee['showDeveloperTools']&&(this[_0xb35571(0x252)][_0xb35571(0x2bf)]=!0x1);}[_0x6bbf25(0x259)](){var _0x2f07fa=_0x6bbf25;const _0x4c4b3c=this[_0x2f07fa(0x312)][_0x2f07fa(0x28d)](x);(_0x4c4b3c==null?void 0x0:_0x4c4b3c[_0x2f07fa(0x277)])!==!0x1&&this[_0x2f07fa(0x2b8)](this['_uiPartsService'][_0x2f07fa(0x31a)](_0x277f90['HEADER_MENU'],()=>{var _0x2be21d=_0x2f07fa,_0x8ded5d;return _0x49fe7d(dn({'status$':this[_0x2be21d(0x252)][_0x2be21d(0x2e6)],'error$':this['_connectionController'][_0x2be21d(0x2b6)],'onConfigure':()=>this[_0x2be21d(0x281)](),'showClickable':(_0x8ded5d=_0x4c4b3c==null?void 0x0:_0x4c4b3c['showDeveloperTools'])!=null?_0x8ded5d:!0x1}),this[_0x2be21d(0x247)]);}));}['_handleConfigure'](){var _0x15e0e2=_0x6bbf25;this[_0x15e0e2(0x247)]['get'](I)[_0x15e0e2(0x1e9)]();}};O=vn([A(0x0,_0x4d025e(_0x5a27ce)),A(0x1,_0x4d025e(_0x2171de)),A(0x2,_0x3b888b),A(0x3,_0x4e1f02)],O);function dn(_0x14c90a){const {status$:_0x296b54,error$:_0x80cb65,onConfigure:_0x1a1c17,showClickable:_0x29cdd8}=_0x14c90a;return function(){return _0x425d62(un,{'status$':_0x296b54,'error$':_0x80cb65,'onConfigure':_0x1a1c17,'showClickable':_0x29cdd8});};}function fn(_0x16eee1){var _0x5517fc=_0x6bbf25;return{'id':V['id'],'type':_0x5ed2a3[_0x5517fc(0x240)],'icon':_0x5517fc(0x1f5),'title':'mcpConfig.title','tooltip':'mcpConfig.title'};}const gn={[_0x1efcb9[_0x6bbf25(0x300)]]:{[V['id']]:{'order':0xa,'menuItemFactory':fn}}};var pn=Object[_0x6bbf25(0x2c4)],hn=(_0x348931,_0x561a8e,_0x375eba,_0x469b91)=>{for(var _0x2014e9=_0x469b91>0x1?void 0x0:_0x469b91?pn(_0x561a8e,_0x375eba):_0x561a8e,_0x36779c=_0x348931['length']-0x1,_0x26659e;_0x36779c>=0x0;_0x36779c--)(_0x26659e=_0x348931[_0x36779c])&&(_0x2014e9=_0x26659e(_0x2014e9)||_0x2014e9);return _0x2014e9;},te=(_0x1678a9,_0x4608ed)=>(_0x3170c6,_0x3fb1d2)=>_0x4608ed(_0x3170c6,_0x3fb1d2,_0x1678a9);let k=class extends _0x39aa33{constructor(_0x1c6878,_0x590519){var _0xbd5f31=_0x6bbf25;super(),this[_0xbd5f31(0x29a)]=_0x1c6878,this[_0xbd5f31(0x311)]=_0x590519,this[_0xbd5f31(0x2b1)](),this[_0xbd5f31(0x304)]();}['_initializeCommands'](){var _0x3cab8c=_0x6bbf25;[V][_0x3cab8c(0x2b4)](_0x166710=>{var _0x3e291e=_0x3cab8c;this[_0x3e291e(0x2b8)](this[_0x3e291e(0x29a)][_0x3e291e(0x322)](_0x166710));});}[_0x6bbf25(0x304)](){var _0x119ab1=_0x6bbf25;this[_0x119ab1(0x311)][_0x119ab1(0x202)](gn);}};k=hn([te(0x0,_0x40f98b),te(0x1,_0x185272)],k);const On={'mcpStatus':{'disconnected':_0x6bbf25(0x215),'connecting':_0x6bbf25(0x233),'connected':_0x6bbf25(0x280),'failed':'MCP\x20Connection\x20Failed','retrying':_0x6bbf25(0x1d2),'unknown':_0x6bbf25(0x2fc),'unauthorized':_0x6bbf25(0x24b),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x6bbf25(0x1cd),'clickToConnect':_0x6bbf25(0x2b0),'clickToConfigure':_0x6bbf25(0x31c)},'mcpConfig':{'title':_0x6bbf25(0x2ac),'description':_0x6bbf25(0x2ea),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x6bbf25(0x2e4),'apiKeyHint':_0x6bbf25(0x21a),'enableAuth':_0x6bbf25(0x213),'enableAuthHint':_0x6bbf25(0x284),'connectionInfo':_0x6bbf25(0x2b9),'mcpClientConfig':_0x6bbf25(0x2b9),'configInstructions':_0x6bbf25(0x327),'configStepTitle':_0x6bbf25(0x27e),'configStep1':_0x6bbf25(0x22a),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x6bbf25(0x30d),'sessionId':_0x6bbf25(0x1f3),'sessionIdDescription':_0x6bbf25(0x28e),'authorizationDescription':_0x6bbf25(0x25e),'configParameters':_0x6bbf25(0x2bc),'maxRetries':_0x6bbf25(0x314),'save':'Save\x20Configuration','saving':_0x6bbf25(0x292),'note1':_0x6bbf25(0x2bb),'note2':_0x6bbf25(0x2a7),'configSaved':_0x6bbf25(0x321),'configError':_0x6bbf25(0x2f9),'apiApplyInfo':{'title':_0x6bbf25(0x2f6),'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':_0x6bbf25(0x308),'getStarted':_0x6bbf25(0x242)},'validation':{'apiKeyRequired':_0x6bbf25(0x236),'apiKeyTooShort':_0x6bbf25(0x307),'invalidConfig':_0x6bbf25(0x2e0),'invalidApiKey':_0x6bbf25(0x2d2)},'connectionStatus':{'disconnected':_0x6bbf25(0x1e6),'connecting':_0x6bbf25(0x1fb),'connected':_0x6bbf25(0x21e),'failed':_0x6bbf25(0x2e8),'retrying':_0x6bbf25(0x225)},'connectionError':{'unauthorized':_0x6bbf25(0x2da),'sessionOccupied':_0x6bbf25(0x2f1),'networkError':_0x6bbf25(0x319),'maxRetriesExceeded':_0x6bbf25(0x1ee)}}},kn={'mcpStatus':{'disconnected':_0x6bbf25(0x243),'connecting':_0x6bbf25(0x32d),'connected':'MCP\x20已连接','failed':_0x6bbf25(0x27d),'retrying':_0x6bbf25(0x1d3),'unknown':'MCP\x20状态未知','unauthorized':_0x6bbf25(0x309),'sessionOccupied':_0x6bbf25(0x293),'networkError':_0x6bbf25(0x324),'maxRetriesExceeded':_0x6bbf25(0x282),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x6bbf25(0x2d1)},'mcpConfig':{'title':_0x6bbf25(0x222),'description':_0x6bbf25(0x305),'apiKey':_0x6bbf25(0x1ec),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x6bbf25(0x329),'enableAuthHint':_0x6bbf25(0x21c),'connectionInfo':_0x6bbf25(0x32c),'mcpClientConfig':_0x6bbf25(0x32c),'configInstructions':_0x6bbf25(0x32b),'configStepTitle':_0x6bbf25(0x2ff),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x6bbf25(0x2d0),'sessionIdDescription':_0x6bbf25(0x2ba),'authorizationDescription':_0x6bbf25(0x310),'configParameters':_0x6bbf25(0x27a),'maxRetries':_0x6bbf25(0x2c6),'save':_0x6bbf25(0x326),'saving':_0x6bbf25(0x279),'note1':'配置更改将立即生效','note2':_0x6bbf25(0x218),'configSaved':_0x6bbf25(0x1e0),'configError':_0x6bbf25(0x2e3),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x6bbf25(0x301),'getStarted':_0x6bbf25(0x27f)},'validation':{'apiKeyRequired':_0x6bbf25(0x2a8),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x6bbf25(0x2a4),'invalidApiKey':_0x6bbf25(0x328)},'connectionStatus':{'disconnected':'未连接','connecting':_0x6bbf25(0x1f1),'connected':_0x6bbf25(0x237),'failed':_0x6bbf25(0x2cd),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x6bbf25(0x20e),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x6bbf25(0x249)}}};var mn=Object['defineProperty'],Cn=Object[_0x6bbf25(0x2c4)],yn=(_0x4c85f1,_0x3e632e,_0x5d19c7)=>_0x3e632e in _0x4c85f1?mn(_0x4c85f1,_0x3e632e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d19c7}):_0x4c85f1[_0x3e632e]=_0x5d19c7,_n=(_0x3c7955,_0xe2748e,_0x2fa061,_0x1d487b)=>{for(var _0x2152d2=_0x1d487b>0x1?void 0x0:_0x1d487b?Cn(_0xe2748e,_0x2fa061):_0xe2748e,_0x58fe4d=_0x3c7955['length']-0x1,_0x3c747f;_0x58fe4d>=0x0;_0x58fe4d--)(_0x3c747f=_0x3c7955[_0x58fe4d])&&(_0x2152d2=_0x3c747f(_0x2152d2)||_0x2152d2);return _0x2152d2;},E=(_0x55df7c,_0x2e9c30)=>(_0x3c27b1,_0x5108a6)=>_0x2e9c30(_0x3c27b1,_0x5108a6,_0x55df7c),xn=(_0x5d7ab8,_0x1e11b8,_0x4209e7)=>yn(_0x5d7ab8,_0x1e11b8+'',_0x4209e7);let L=class extends _0x5de8df{constructor(_0x4a0983=re,_0x1176cf,_0x4b5efc,_0x5b29b2,_0x1dc0c3,_0x266bc8){var _0x283d09=_0x6bbf25;super(),this[_0x283d09(0x25c)]=_0x4a0983,this[_0x283d09(0x247)]=_0x1176cf,this[_0x283d09(0x312)]=_0x4b5efc,this['_uiPartsService']=_0x5b29b2,this['_localStorageService']=_0x1dc0c3,this[_0x283d09(0x28c)]=_0x266bc8;const {..._0xa84cbe}=_0x2f1dad({},re,this['_config']);this[_0x283d09(0x312)][_0x283d09(0x232)](x,_0xa84cbe);}async[_0x6bbf25(0x258)](){var _0x513dc5=_0x6bbf25;const _0x580af7=[[O],[I],[k]];this[_0x513dc5(0x247)][_0x513dc5(0x21f)](_0x26a59c)||_0x580af7[_0x513dc5(0x253)]([_0x26a59c,{'useClass':_0x5d5f85}]),_0x580af7[_0x513dc5(0x2b4)](_0x857dfe=>this[_0x513dc5(0x247)]['add'](_0x857dfe)),this[_0x513dc5(0x247)]['get'](O),this[_0x513dc5(0x247)][_0x513dc5(0x2e2)](I),this[_0x513dc5(0x247)]['get'](k);}};xn(L,_0x6bbf25(0x214),_0x6bbf25(0x23b)),L=_n([_0x24faf9(_0x3ef5b4),E(0x1,_0x4d025e(_0x5a27ce)),E(0x2,_0x4e1f02),E(0x3,_0x3b888b),E(0x4,_0x433a37),E(0x5,_0x4d025e(_0x284497))],L);export{tn as MCPConfigPanel,I as MCPConfigUIController,O as MCPConnectionUIController,un as MCPStatusDisplay,k as MCPUIMenuController,V as OpenMCPConfigPanelCommand,L as UniverMCPUIPlugin,On as enUS,kn as zhCN};
@@ -1 +1 @@
1
- const _0xf3c4c0=_0x3a7a;(function(_0x2a06ac,_0x10c3ec){const _0x264760=_0x3a7a,_0x3fa3f2=_0x2a06ac();while(!![]){try{const _0x30e915=parseInt(_0x264760(0xfe))/0x1*(parseInt(_0x264760(0x102))/0x2)+-parseInt(_0x264760(0xe5))/0x3+parseInt(_0x264760(0x104))/0x4*(-parseInt(_0x264760(0xec))/0x5)+parseInt(_0x264760(0xe7))/0x6*(parseInt(_0x264760(0x108))/0x7)+-parseInt(_0x264760(0xed))/0x8*(parseInt(_0x264760(0x107))/0x9)+parseInt(_0x264760(0x105))/0xa+parseInt(_0x264760(0xf7))/0xb*(parseInt(_0x264760(0x101))/0xc);if(_0x30e915===_0x10c3ec)break;else _0x3fa3f2['push'](_0x3fa3f2['shift']());}catch(_0x5e4d45){_0x3fa3f2['push'](_0x3fa3f2['shift']());}}}(_0x5463,0xc1200));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0xf3c4c0(0x109),'connected':_0xf3c4c0(0xeb),'failed':_0xf3c4c0(0xfb),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0xf3c4c0(0xfa),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0xf3c4c0(0xe9),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xf3c4c0(0x10f),'clickToConfigure':_0xf3c4c0(0x10d)},'mcpConfig':{'title':_0xf3c4c0(0x100),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xf3c4c0(0xf3),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0xf3c4c0(0x10c),'enableAuthHint':_0xf3c4c0(0xf6),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0xf3c4c0(0xf0),'configStepTitle':_0xf3c4c0(0xfc),'configStep1':_0xf3c4c0(0xea),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0xf3c4c0(0x114),'sessionId':_0xf3c4c0(0x115),'sessionIdDescription':_0xf3c4c0(0xf9),'authorizationDescription':_0xf3c4c0(0xf1),'configParameters':_0xf3c4c0(0xf5),'maxRetries':_0xf3c4c0(0x113),'save':_0xf3c4c0(0xf2),'saving':_0xf3c4c0(0xef),'note1':_0xf3c4c0(0xff),'note2':_0xf3c4c0(0x110),'configSaved':'Configuration\x20saved\x20successfully','configError':_0xf3c4c0(0x116),'apiApplyInfo':{'title':_0xf3c4c0(0xf4),'description':_0xf3c4c0(0x10e),'univerAiLabel':_0xf3c4c0(0x10b),'getStarted':_0xf3c4c0(0xe8)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xf3c4c0(0xe6),'invalidConfig':_0xf3c4c0(0xf8),'invalidApiKey':_0xf3c4c0(0x111)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0xf3c4c0(0x106),'connected':_0xf3c4c0(0x10a),'failed':'Connection\x20Failed','retrying':_0xf3c4c0(0x103)},'connectionError':{'unauthorized':_0xf3c4c0(0x112),'sessionOccupied':_0xf3c4c0(0xee),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0xf3c4c0(0xfd)}}},n=e;function _0x3a7a(_0x4c32e5,_0x24391c){const _0x54633b=_0x5463();return _0x3a7a=function(_0x3a7ac8,_0x419a9d){_0x3a7ac8=_0x3a7ac8-0xe5;let _0x5126f7=_0x54633b[_0x3a7ac8];return _0x5126f7;},_0x3a7a(_0x4c32e5,_0x24391c);}export{n as default};function _0x5463(){const _0x296151=['Save\x20Configuration','API\x20Key','What\x20is\x20API\x20Key?','Configuration\x20Parameters:','Enable\x20authentication\x20for\x20secure\x20connections','66055HCKCTK','Invalid\x20configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Unauthorized','MCP\x20Connection\x20Failed','Configuration\x20Steps:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','366243NvlDsR','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Configuration','60acXttu','2EVsYnI','Retrying...','148tKteTw','15378040FAvNsG','Connecting...','27pTMzYL','763658CdaMVN','MCP\x20Connecting...','Connected','Univer\x20AI\x20Console','Enable\x20Authentication','Click\x20to\x20configure\x20MCP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Max\x20Retries','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session\x20ID','Failed\x20to\x20save\x20configuration','788550hPhyCk','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','66zJpwIX','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connected','100505SfXdOw','3563944SbFoNC','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20with\x20Bearer\x20prefix.'];_0x5463=function(){return _0x296151;};return _0x5463();}
1
+ const _0x255f7b=_0xee89;function _0xee89(_0x1beac8,_0x45f19f){const _0x44a943=_0x44a9();return _0xee89=function(_0xee8935,_0x38cc0e){_0xee8935=_0xee8935-0xe5;let _0x488080=_0x44a943[_0xee8935];return _0x488080;},_0xee89(_0x1beac8,_0x45f19f);}(function(_0x2548ed,_0x58632c){const _0x377574=_0xee89,_0x48b8e6=_0x2548ed();while(!![]){try{const _0x4be706=-parseInt(_0x377574(0xfd))/0x1*(parseInt(_0x377574(0x10b))/0x2)+-parseInt(_0x377574(0xeb))/0x3+parseInt(_0x377574(0xf3))/0x4*(-parseInt(_0x377574(0xff))/0x5)+parseInt(_0x377574(0xfa))/0x6*(parseInt(_0x377574(0x110))/0x7)+-parseInt(_0x377574(0xf8))/0x8+parseInt(_0x377574(0xfb))/0x9*(parseInt(_0x377574(0xea))/0xa)+-parseInt(_0x377574(0x10a))/0xb*(-parseInt(_0x377574(0xf2))/0xc);if(_0x4be706===_0x58632c)break;else _0x48b8e6['push'](_0x48b8e6['shift']());}catch(_0x1cb008){_0x48b8e6['push'](_0x48b8e6['shift']());}}}(_0x44a9,0x8d218));const e={'mcpStatus':{'disconnected':_0x255f7b(0xf4),'connecting':_0x255f7b(0x107),'connected':_0x255f7b(0x10c),'failed':_0x255f7b(0x112),'retrying':_0x255f7b(0x103),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x255f7b(0xf1),'sessionOccupied':_0x255f7b(0xf6),'networkError':_0x255f7b(0x102),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x255f7b(0xfe),'clickToConfigure':_0x255f7b(0xed)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x255f7b(0xf9),'apiKey':_0x255f7b(0x106),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x255f7b(0x104),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x255f7b(0x115),'connectionInfo':_0x255f7b(0x101),'mcpClientConfig':_0x255f7b(0x101),'configInstructions':_0x255f7b(0xe8),'configStepTitle':_0x255f7b(0xec),'configStep1':_0x255f7b(0xe6),'configStep2':_0x255f7b(0xf0),'configStep3':_0x255f7b(0x114),'sessionId':_0x255f7b(0x100),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x255f7b(0x111),'configParameters':_0x255f7b(0xee),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x255f7b(0xe5),'configError':_0x255f7b(0x109),'apiApplyInfo':{'title':_0x255f7b(0xef),'description':_0x255f7b(0x108),'univerAiLabel':_0x255f7b(0xfc),'getStarted':_0x255f7b(0x113)},'validation':{'apiKeyRequired':_0x255f7b(0xe9),'apiKeyTooShort':_0x255f7b(0x10f),'invalidConfig':_0x255f7b(0x116),'invalidApiKey':_0x255f7b(0xe7)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x255f7b(0x10d),'connected':'Connected','failed':_0x255f7b(0x105),'retrying':_0x255f7b(0xf7)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x255f7b(0x10e),'networkError':_0x255f7b(0xf5),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};function _0x44a9(){const _0x175925=['API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','Configuration\x20saved\x20successfully','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20is\x20required','810020HHwSay','2121867kwiSRz','Configuration\x20Steps:','Click\x20to\x20configure\x20MCP','Configuration\x20Parameters:','What\x20is\x20API\x20Key?','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Unauthorized','1932cHhFTD','532DZhEhl','MCP\x20Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Session\x20ID\x20Occupied','Retrying...','5971784ysCUON','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','2428650CCcJsh','117sfJmtB','Univer\x20AI\x20Console','56239nDhqBl','Click\x20to\x20connect\x20MCP','16595gCafJp','Session\x20ID','MCP\x20Client\x20Configuration','MCP:\x20Network\x20Error','MCP\x20Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connection\x20Failed','API\x20Key','MCP\x20Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Failed\x20to\x20save\x20configuration','103961MIKOrd','18TRBhqi','MCP\x20Connected','Connecting...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','7rPVeJO'];_0x44a9=function(){return _0x175925;};return _0x44a9();}
@@ -1 +1 @@
1
- const _0x402e59=_0x42d3;function _0x42d3(_0xd9d044,_0x496639){const _0x4e1401=_0x4e14();return _0x42d3=function(_0x42d357,_0x30e719){_0x42d357=_0x42d357-0x17a;let _0x5471ee=_0x4e1401[_0x42d357];return _0x5471ee;},_0x42d3(_0xd9d044,_0x496639);}function _0x4e14(){const _0x4d3569=['Copy\x20the\x20JSON\x20configuration\x20below','191830PuszcW','Configuration\x20saved\x20successfully','Max\x20Retries','Saving...','623162qAqczl','Click\x20to\x20configure\x20MCP','88xykXrS','API\x20key\x20is\x20required','Failed\x20to\x20save\x20configuration','MCP\x20Disconnected','MCP\x20Retrying...','MCP:\x20Session\x20ID\x20Occupied','Click\x20to\x20connect\x20MCP','45Vfensa','Enable\x20authentication\x20for\x20secure\x20connections','6sMuvBs','What\x20is\x20API\x20Key?','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','29334qFPtXA','4ZkvGNF','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connection\x20Failed','226ZpohED','36ssAqPQ','MCP\x20Connecting...','MCP\x20Client\x20Configuration','818671GIyLwo','Get\x20your\x20API\x20key\x20in\x20seconds','Save\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20Authentication','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Unauthorized','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','4544510pleYra','21709207xTrWYY','Configuration\x20Parameters:','Connecting...','MCP\x20Unknown\x20Status','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2406440xbvBRh','Invalid\x20configuration','MCP\x20Configuration'];_0x4e14=function(){return _0x4d3569;};return _0x4e14();}(function(_0x49769f,_0x7ae58){const _0x38cd75=_0x42d3,_0x262c62=_0x49769f();while(!![]){try{const _0x32effd=-parseInt(_0x38cd75(0x191))/0x1+parseInt(_0x38cd75(0x1a4))/0x2*(-parseInt(_0x38cd75(0x19f))/0x3)+parseInt(_0x38cd75(0x1a0))/0x4*(-parseInt(_0x38cd75(0x180))/0x5)+parseInt(_0x38cd75(0x19c))/0x6*(parseInt(_0x38cd75(0x1a8))/0x7)+-parseInt(_0x38cd75(0x189))/0x8*(parseInt(_0x38cd75(0x19a))/0x9)+parseInt(_0x38cd75(0x18d))/0xa*(-parseInt(_0x38cd75(0x193))/0xb)+-parseInt(_0x38cd75(0x1a5))/0xc*(-parseInt(_0x38cd75(0x181))/0xd);if(_0x32effd===_0x7ae58)break;else _0x262c62['push'](_0x262c62['shift']());}catch(_0x47a415){_0x262c62['push'](_0x262c62['shift']());}}}(_0x4e14,0xcb32f));const e={'mcpStatus':{'disconnected':_0x402e59(0x196),'connecting':_0x402e59(0x1a6),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x402e59(0x197),'unknown':_0x402e59(0x184),'unauthorized':_0x402e59(0x17e),'sessionOccupied':_0x402e59(0x198),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x402e59(0x1ac),'clickToConnect':_0x402e59(0x199),'clickToConfigure':_0x402e59(0x192)},'mcpConfig':{'title':_0x402e59(0x18b),'description':_0x402e59(0x187),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x402e59(0x17d),'enableAuth':_0x402e59(0x17b),'enableAuthHint':_0x402e59(0x19b),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x402e59(0x1a7),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x402e59(0x17c),'configStep1':_0x402e59(0x18c),'configStep2':_0x402e59(0x185),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x402e59(0x17a),'configParameters':_0x402e59(0x182),'maxRetries':_0x402e59(0x18f),'save':_0x402e59(0x1aa),'saving':_0x402e59(0x190),'note1':_0x402e59(0x1a2),'note2':_0x402e59(0x17f),'configSaved':_0x402e59(0x18e),'configError':_0x402e59(0x195),'apiApplyInfo':{'title':_0x402e59(0x19d),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x402e59(0x1a9)},'validation':{'apiKeyRequired':_0x402e59(0x194),'apiKeyTooShort':_0x402e59(0x186),'invalidConfig':_0x402e59(0x18a),'invalidApiKey':_0x402e59(0x1a1)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x402e59(0x183),'connected':'Connected','failed':_0x402e59(0x1a3),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x402e59(0x19e),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x402e59(0x188),'maxRetriesExceeded':_0x402e59(0x1ab)}}};export{e as default};
1
+ const _0x242209=_0x57af;(function(_0x1910a0,_0x23eb5d){const _0x35538a=_0x57af,_0x1f995e=_0x1910a0();while(!![]){try{const _0xc1abfa=-parseInt(_0x35538a(0x9f))/0x1+-parseInt(_0x35538a(0xc2))/0x2*(parseInt(_0x35538a(0xc8))/0x3)+parseInt(_0x35538a(0xae))/0x4*(parseInt(_0x35538a(0xba))/0x5)+parseInt(_0x35538a(0xb9))/0x6+-parseInt(_0x35538a(0xaf))/0x7*(-parseInt(_0x35538a(0x9c))/0x8)+-parseInt(_0x35538a(0x99))/0x9*(-parseInt(_0x35538a(0xbd))/0xa)+parseInt(_0x35538a(0xc5))/0xb*(-parseInt(_0x35538a(0xbe))/0xc);if(_0xc1abfa===_0x23eb5d)break;else _0x1f995e['push'](_0x1f995e['shift']());}catch(_0x13213b){_0x1f995e['push'](_0x1f995e['shift']());}}}(_0x1de3,0x94952));const e={'mcpStatus':{'disconnected':_0x242209(0xc4),'connecting':'MCP\x20Connecting...','connected':_0x242209(0xbb),'failed':_0x242209(0xb4),'retrying':_0x242209(0xa6),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x242209(0xb1),'sessionOccupied':_0x242209(0xa3),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x242209(0x9e),'clickToConnect':_0x242209(0xbc),'clickToConfigure':_0x242209(0xb0)},'mcpConfig':{'title':_0x242209(0xcb),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x242209(0xc7),'apiKeyPlaceholder':_0x242209(0xa5),'apiKeyHint':_0x242209(0xab),'enableAuth':_0x242209(0xaa),'enableAuthHint':_0x242209(0xc3),'connectionInfo':_0x242209(0xa2),'mcpClientConfig':_0x242209(0xa2),'configInstructions':_0x242209(0xc6),'configStepTitle':_0x242209(0x9b),'configStep1':_0x242209(0xa1),'configStep2':_0x242209(0x98),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x242209(0xb3),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x242209(0xac),'configParameters':_0x242209(0x9d),'maxRetries':_0x242209(0xbf),'save':_0x242209(0x9a),'saving':_0x242209(0xa8),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x242209(0xb2),'configSaved':_0x242209(0xc9),'configError':_0x242209(0xb8),'apiApplyInfo':{'title':_0x242209(0xa4),'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':_0x242209(0xb5),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x242209(0xa7),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x242209(0xca),'invalidApiKey':_0x242209(0xa0)},'connectionStatus':{'disconnected':_0x242209(0xa9),'connecting':_0x242209(0xb7),'connected':_0x242209(0xc1),'failed':'Connection\x20Failed','retrying':_0x242209(0xb6)},'connectionError':{'unauthorized':_0x242209(0xc0),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x242209(0xad),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};function _0x57af(_0x38a56f,_0x4218d0){const _0x1de384=_0x1de3();return _0x57af=function(_0x57af9e,_0x3bc231){_0x57af9e=_0x57af9e-0x98;let _0x5d5dc8=_0x1de384[_0x57af9e];return _0x5d5dc8;},_0x57af(_0x38a56f,_0x4218d0);}export{e as default};function _0x1de3(){const _0x45967a=['Configuration\x20Steps:','64DgFSPi','Configuration\x20Parameters:','MCP:\x20Max\x20Retries\x20Exceeded','647226LcwTng','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','What\x20is\x20API\x20Key?','Enter\x20your\x20API\x20key','MCP\x20Retrying...','API\x20key\x20is\x20required','Saving...','Disconnected','Enable\x20Authentication','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20with\x20Bearer\x20prefix.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','561304TEALPG','79779ivrZjn','Click\x20to\x20configure\x20MCP','MCP:\x20Unauthorized','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','MCP\x20Connection\x20Failed','Univer\x20AI\x20Console','Retrying...','Connecting...','Failed\x20to\x20save\x20configuration','6294042AHiuub','10WHjprr','MCP\x20Connected','Click\x20to\x20connect\x20MCP','10wGoxSo','24cXITQO','Max\x20Retries','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connected','15118kBbEfZ','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Disconnected','1983278wkmsQW','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20Key','18BTZLHy','Configuration\x20saved\x20successfully','Invalid\x20configuration','MCP\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','2168415BpFtkk','Save\x20Configuration'];_0x1de3=function(){return _0x45967a;};return _0x1de3();}
@@ -1 +1 @@
1
- const _0x4e0afe=_0x180a;(function(_0x7dbf,_0x17b93b){const _0x4ab5b5=_0x180a,_0x8f2ced=_0x7dbf();while(!![]){try{const _0x2060f5=-parseInt(_0x4ab5b5(0x19b))/0x1+-parseInt(_0x4ab5b5(0x199))/0x2+parseInt(_0x4ab5b5(0x1a0))/0x3+-parseInt(_0x4ab5b5(0x18f))/0x4+-parseInt(_0x4ab5b5(0x1a5))/0x5+parseInt(_0x4ab5b5(0x1ab))/0x6+parseInt(_0x4ab5b5(0x193))/0x7*(parseInt(_0x4ab5b5(0x190))/0x8);if(_0x2060f5===_0x17b93b)break;else _0x8f2ced['push'](_0x8f2ced['shift']());}catch(_0x20e637){_0x8f2ced['push'](_0x8f2ced['shift']());}}}(_0x5905,0xd0da7));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x4e0afe(0x1a8),'failed':_0x4e0afe(0x1a7),'retrying':_0x4e0afe(0x194),'unknown':_0x4e0afe(0x19a),'unauthorized':_0x4e0afe(0x195),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4e0afe(0x188),'maxRetriesExceeded':_0x4e0afe(0x192),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4e0afe(0x1a9)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4e0afe(0x1aa),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x4e0afe(0x185),'enableAuthHint':_0x4e0afe(0x19e),'connectionInfo':_0x4e0afe(0x18c),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4e0afe(0x1a3),'configStepTitle':_0x4e0afe(0x19f),'configStep1':_0x4e0afe(0x1a1),'configStep2':_0x4e0afe(0x1a2),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4e0afe(0x191),'sessionIdDescription':_0x4e0afe(0x197),'authorizationDescription':_0x4e0afe(0x19d),'configParameters':_0x4e0afe(0x19c),'maxRetries':_0x4e0afe(0x1ad),'save':_0x4e0afe(0x1a4),'saving':'Saving...','note1':_0x4e0afe(0x184),'note2':_0x4e0afe(0x189),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x4e0afe(0x196),'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':_0x4e0afe(0x18a),'getStarted':_0x4e0afe(0x1a6)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4e0afe(0x187)},'connectionStatus':{'disconnected':_0x4e0afe(0x18e),'connecting':_0x4e0afe(0x18d),'connected':_0x4e0afe(0x186),'failed':'Connection\x20Failed','retrying':_0x4e0afe(0x1ac)},'connectionError':{'unauthorized':_0x4e0afe(0x18b),'sessionOccupied':_0x4e0afe(0x1ae),'networkError':_0x4e0afe(0x198),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};function _0x180a(_0x1dbf0e,_0x5e3b12){const _0x590569=_0x5905();return _0x180a=function(_0x180abb,_0x50cd48){_0x180abb=_0x180abb-0x184;let _0x22638e=_0x590569[_0x180abb];return _0x22638e;},_0x180a(_0x1dbf0e,_0x5e3b12);}function _0x5905(){const _0x6b7b51=['MCP\x20Client\x20Configuration','Connecting...','Disconnected','1583428QHTlGH','24wksxnr','Session\x20ID','MCP:\x20Max\x20Retries\x20Exceeded','5536433zpCRvu','MCP\x20Retrying...','MCP:\x20Unauthorized','Failed\x20to\x20save\x20configuration','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','3301382vDVvrV','MCP\x20Unknown\x20Status','531803snOdMi','Configuration\x20Parameters:','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20Steps:','2813640xSHkRp','Copy\x20the\x20JSON\x20configuration\x20below','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Save\x20Configuration','4683190zJuTQm','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','MCP\x20Connected','Click\x20to\x20configure\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','6358890wrifvP','Retrying...','Max\x20Retries','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20Authentication','Connected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Network\x20Error','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Univer\x20AI\x20Console','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key'];_0x5905=function(){return _0x6b7b51;};return _0x5905();}
1
+ const _0x2608b3=_0x45bd;(function(_0x1d5086,_0x4b8a5c){const _0x18d4e2=_0x45bd,_0x9f531f=_0x1d5086();while(!![]){try{const _0x184f06=parseInt(_0x18d4e2(0xcf))/0x1*(-parseInt(_0x18d4e2(0xbb))/0x2)+-parseInt(_0x18d4e2(0xc2))/0x3*(-parseInt(_0x18d4e2(0xc1))/0x4)+parseInt(_0x18d4e2(0xc5))/0x5*(-parseInt(_0x18d4e2(0xcc))/0x6)+-parseInt(_0x18d4e2(0xd3))/0x7+-parseInt(_0x18d4e2(0xb0))/0x8+-parseInt(_0x18d4e2(0xa7))/0x9+parseInt(_0x18d4e2(0xd5))/0xa;if(_0x184f06===_0x4b8a5c)break;else _0x9f531f['push'](_0x9f531f['shift']());}catch(_0x4b3f77){_0x9f531f['push'](_0x9f531f['shift']());}}}(_0xabbe,0x63489));const e={'mcpStatus':{'disconnected':_0x2608b3(0xa8),'connecting':_0x2608b3(0xcb),'connected':_0x2608b3(0xb7),'failed':_0x2608b3(0xd0),'retrying':'MCP\x20Retrying...','unknown':_0x2608b3(0xa9),'unauthorized':_0x2608b3(0xc0),'sessionOccupied':_0x2608b3(0xb8),'networkError':_0x2608b3(0xd6),'maxRetriesExceeded':_0x2608b3(0xbc),'clickToConnect':_0x2608b3(0xce),'clickToConfigure':_0x2608b3(0xba)},'mcpConfig':{'title':_0x2608b3(0xb3),'description':_0x2608b3(0xb9),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2608b3(0xad),'apiKeyHint':_0x2608b3(0xd1),'enableAuth':_0x2608b3(0xc7),'enableAuthHint':_0x2608b3(0xd2),'connectionInfo':_0x2608b3(0xc3),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x2608b3(0xb6),'configStepTitle':_0x2608b3(0xb5),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x2608b3(0xac),'sessionId':_0x2608b3(0xd4),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x2608b3(0xb4),'maxRetries':'Max\x20Retries','save':_0x2608b3(0xc9),'saving':_0x2608b3(0xbf),'note1':_0x2608b3(0xb2),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x2608b3(0xa6),'configError':_0x2608b3(0xae),'apiApplyInfo':{'title':_0x2608b3(0xc6),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x2608b3(0xab)},'validation':{'apiKeyRequired':_0x2608b3(0xbd),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2608b3(0xcd),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2608b3(0xaf),'connecting':_0x2608b3(0xca),'connected':_0x2608b3(0xbe),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2608b3(0xc4),'sessionOccupied':_0x2608b3(0xc8),'networkError':_0x2608b3(0xb1),'maxRetriesExceeded':_0x2608b3(0xaa)}}},n=e;function _0x45bd(_0x8069dc,_0x5b351e){const _0xabbee=_0xabbe();return _0x45bd=function(_0x45bd01,_0x40e5d5){_0x45bd01=_0x45bd01-0xa6;let _0x11d71a=_0xabbee[_0x45bd01];return _0x11d71a;},_0x45bd(_0x8069dc,_0x5b351e);}function _0xabbe(){const _0xd8d86e=['Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20authentication\x20for\x20secure\x20connections','1669920FiaIGy','Session\x20ID','18264290zUxLLA','MCP:\x20Network\x20Error','Configuration\x20saved\x20successfully','4410342vAxuAr','MCP\x20Disconnected','MCP\x20Unknown\x20Status','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Get\x20your\x20API\x20key\x20in\x20seconds','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enter\x20your\x20API\x20key','Failed\x20to\x20save\x20configuration','Disconnected','1738832RQqjdk','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Configuration','Configuration\x20Parameters:','Configuration\x20Steps:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connected','MCP:\x20Session\x20ID\x20Occupied','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Click\x20to\x20configure\x20MCP','2198eIvTiU','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20is\x20required','Connected','Saving...','MCP:\x20Unauthorized','1025292ZBTDBE','3GyqapK','MCP\x20Client\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','2380mBMTnF','What\x20is\x20API\x20Key?','Enable\x20Authentication','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Save\x20Configuration','Connecting...','MCP\x20Connecting...','4812wjGWBX','Invalid\x20configuration','Click\x20to\x20connect\x20MCP','317rBiKjP','MCP\x20Connection\x20Failed'];_0xabbe=function(){return _0xd8d86e;};return _0xabbe();}export{n as default};
@@ -1 +1 @@
1
- const _0x18c0df=_0x435c;function _0x435c(_0x529272,_0x56752c){const _0xfca3cc=_0xfca3();return _0x435c=function(_0x435c52,_0x333570){_0x435c52=_0x435c52-0x1ea;let _0x3cfba4=_0xfca3cc[_0x435c52];return _0x3cfba4;},_0x435c(_0x529272,_0x56752c);}(function(_0x977f66,_0x1321f6){const _0x3938a6=_0x435c,_0x5e9353=_0x977f66();while(!![]){try{const _0x314054=parseInt(_0x3938a6(0x1ed))/0x1*(parseInt(_0x3938a6(0x20f))/0x2)+parseInt(_0x3938a6(0x1f1))/0x3*(-parseInt(_0x3938a6(0x1fd))/0x4)+parseInt(_0x3938a6(0x1f9))/0x5*(parseInt(_0x3938a6(0x1f7))/0x6)+-parseInt(_0x3938a6(0x214))/0x7+-parseInt(_0x3938a6(0x1ee))/0x8*(parseInt(_0x3938a6(0x20a))/0x9)+parseInt(_0x3938a6(0x1f8))/0xa*(-parseInt(_0x3938a6(0x1ff))/0xb)+parseInt(_0x3938a6(0x1f5))/0xc;if(_0x314054===_0x1321f6)break;else _0x5e9353['push'](_0x5e9353['shift']());}catch(_0x5aa6f9){_0x5e9353['push'](_0x5e9353['shift']());}}}(_0xfca3,0xc6a4c));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x18c0df(0x20e),'failed':'MCP\x20Connection\x20Failed','retrying':_0x18c0df(0x1fc),'unknown':_0x18c0df(0x200),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x18c0df(0x1f0),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x18c0df(0x1fe)},'mcpConfig':{'title':_0x18c0df(0x20b),'description':_0x18c0df(0x207),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x18c0df(0x205),'apiKeyHint':_0x18c0df(0x20d),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x18c0df(0x1ec),'connectionInfo':_0x18c0df(0x210),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x18c0df(0x1fb),'configStepTitle':_0x18c0df(0x215),'configStep1':_0x18c0df(0x217),'configStep2':_0x18c0df(0x206),'configStep3':_0x18c0df(0x1f6),'sessionId':_0x18c0df(0x1eb),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x18c0df(0x1f4),'maxRetries':'Max\x20Retries','save':_0x18c0df(0x1ef),'saving':_0x18c0df(0x208),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x18c0df(0x216),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x18c0df(0x1f3),'apiApplyInfo':{'title':_0x18c0df(0x1ea),'description':_0x18c0df(0x218),'univerAiLabel':_0x18c0df(0x212),'getStarted':_0x18c0df(0x1f2)},'validation':{'apiKeyRequired':_0x18c0df(0x202),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x18c0df(0x213),'invalidApiKey':_0x18c0df(0x203)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x18c0df(0x211),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x18c0df(0x201)},'connectionError':{'unauthorized':_0x18c0df(0x204),'sessionOccupied':_0x18c0df(0x20c),'networkError':_0x18c0df(0x1fa),'maxRetriesExceeded':_0x18c0df(0x209)}}},n=e;export{n as default};function _0xfca3(){const _0x2d3f65=['51sVpBNw','Get\x20your\x20API\x20key\x20in\x20seconds','Failed\x20to\x20save\x20configuration','Configuration\x20Parameters:','18841200VpxAgL','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1502706CvUDed','875780unzbkV','20rEUYYy','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Retrying...','4740gpaqqI','Click\x20to\x20configure\x20MCP','99tSzPJN','MCP\x20Unknown\x20Status','Retrying...','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enter\x20your\x20API\x20key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Saving...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','3228939nyqcZh','MCP\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connected','2aeYRZy','MCP\x20Client\x20Configuration','Connecting...','Univer\x20AI\x20Console','Invalid\x20configuration','4630416VSLmGI','Configuration\x20Steps:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Copy\x20the\x20JSON\x20configuration\x20below','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','What\x20is\x20API\x20Key?','Session\x20ID','Enable\x20authentication\x20for\x20secure\x20connections','70346OePHzy','8caHeEP','Save\x20Configuration','MCP:\x20Network\x20Error'];_0xfca3=function(){return _0x2d3f65;};return _0xfca3();}
1
+ const _0x1b694a=_0x21c0;(function(_0x507279,_0x442b75){const _0x3c5b3b=_0x21c0,_0x469ea=_0x507279();while(!![]){try{const _0xe76cb1=-parseInt(_0x3c5b3b(0x1b3))/0x1+-parseInt(_0x3c5b3b(0x1af))/0x2*(-parseInt(_0x3c5b3b(0x1a0))/0x3)+-parseInt(_0x3c5b3b(0x1b6))/0x4+-parseInt(_0x3c5b3b(0x19a))/0x5+parseInt(_0x3c5b3b(0x1a4))/0x6+parseInt(_0x3c5b3b(0x19e))/0x7+parseInt(_0x3c5b3b(0x19b))/0x8;if(_0xe76cb1===_0x442b75)break;else _0x469ea['push'](_0x469ea['shift']());}catch(_0x5dcd6d){_0x469ea['push'](_0x469ea['shift']());}}}(_0x5b02,0x609ca));const e={'mcpStatus':{'disconnected':_0x1b694a(0x1ab),'connecting':_0x1b694a(0x1b0),'connected':_0x1b694a(0x198),'failed':_0x1b694a(0x1ad),'retrying':_0x1b694a(0x1aa),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x1b694a(0x19d),'sessionOccupied':_0x1b694a(0x1b5),'networkError':_0x1b694a(0x193),'maxRetriesExceeded':_0x1b694a(0x1a8),'clickToConnect':_0x1b694a(0x1a9),'clickToConfigure':_0x1b694a(0x1ac)},'mcpConfig':{'title':_0x1b694a(0x19c),'description':_0x1b694a(0x191),'apiKey':_0x1b694a(0x197),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1b694a(0x18a),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x1b694a(0x194),'connectionInfo':_0x1b694a(0x1b2),'mcpClientConfig':_0x1b694a(0x1b2),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x1b694a(0x1b1),'configStep1':_0x1b694a(0x18e),'configStep2':_0x1b694a(0x18c),'configStep3':_0x1b694a(0x18f),'sessionId':_0x1b694a(0x199),'sessionIdDescription':_0x1b694a(0x196),'authorizationDescription':_0x1b694a(0x1ae),'configParameters':_0x1b694a(0x1a7),'maxRetries':'Max\x20Retries','save':_0x1b694a(0x18b),'saving':_0x1b694a(0x19f),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x1b694a(0x192),'configSaved':_0x1b694a(0x1a3),'configError':_0x1b694a(0x187),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x1b694a(0x1b4),'univerAiLabel':_0x1b694a(0x190),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x1b694a(0x1a1),'apiKeyTooShort':_0x1b694a(0x18d),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1b694a(0x1a5),'connecting':_0x1b694a(0x1a6),'connected':_0x1b694a(0x195),'failed':_0x1b694a(0x188),'retrying':_0x1b694a(0x189)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1b694a(0x186),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x1b694a(0x1a2)}}},n=e;function _0x5b02(){const _0x5147bc=['Univer\x20AI\x20Console','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Network\x20Error','Enable\x20authentication\x20for\x20secure\x20connections','Connected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20Key','MCP\x20Connected','Session\x20ID','388290fXdAEk','4221664Vuhbwe','MCP\x20Configuration','MCP:\x20Unauthorized','1414021KiEqNS','Saving...','165mmunWU','API\x20key\x20is\x20required','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','1874784bDfLMd','Disconnected','Connecting...','Configuration\x20Parameters:','MCP:\x20Max\x20Retries\x20Exceeded','Click\x20to\x20connect\x20MCP','MCP\x20Retrying...','MCP\x20Disconnected','Click\x20to\x20configure\x20MCP','MCP\x20Connection\x20Failed','API\x20key\x20with\x20Bearer\x20prefix.','1286uwHXUe','MCP\x20Connecting...','Configuration\x20Steps:','MCP\x20Client\x20Configuration','592533AFjZmP','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:\x20Session\x20ID\x20Occupied','46508hXeeyn','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','Connection\x20Failed','Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Save\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Copy\x20the\x20JSON\x20configuration\x20below','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration'];_0x5b02=function(){return _0x5147bc;};return _0x5b02();}function _0x21c0(_0x205a95,_0x488201){const _0x5b02ba=_0x5b02();return _0x21c0=function(_0x21c075,_0x488091){_0x21c075=_0x21c075-0x186;let _0x5cbd2e=_0x5b02ba[_0x21c075];return _0x5cbd2e;},_0x21c0(_0x205a95,_0x488201);}export{n as default};
@@ -1 +1 @@
1
- function _0x298c(_0x33221a,_0x209e7c){const _0x59d955=_0x59d9();return _0x298c=function(_0x298c3a,_0x4a710c){_0x298c3a=_0x298c3a-0x93;let _0x27460e=_0x59d955[_0x298c3a];return _0x27460e;},_0x298c(_0x33221a,_0x209e7c);}const _0x49a0ac=_0x298c;function _0x59d9(){const _0x1f396f=['MCP:\x20Unauthorized','Connected','Configuration\x20Steps:','7227300qCTPEG','Disconnected','Click\x20to\x20connect\x20MCP','Invalid\x20configuration','Save\x20Configuration','Saving...','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','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Client\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Retrying...','36xhDAwa','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20is\x20required','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','2HMDkxp','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Univer\x20AI\x20Console','Copy\x20the\x20JSON\x20configuration\x20below','7710LFVrUG','250789SiBHDU','Max\x20Retries','Session\x20ID','MCP\x20Connecting...','Connection\x20Failed','API\x20Key','Enable\x20Authentication','322358yqGrXn','1013672jddSbd','80BlhLhf','MCP\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','1162OUUscz','103188mLYDKU','5DnRfNy','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Unknown\x20Status','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1502595XwEnDn','MCP\x20Connected','Connecting...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection'];_0x59d9=function(){return _0x1f396f;};return _0x59d9();}(function(_0x3f70d6,_0x5b37a2){const _0x42a76a=_0x298c,_0xacd898=_0x3f70d6();while(!![]){try{const _0x1ac242=-parseInt(_0x42a76a(0xc4))/0x1+parseInt(_0x42a76a(0xb8))/0x2*(parseInt(_0x42a76a(0x9b))/0x3)+parseInt(_0x42a76a(0x96))/0x4*(-parseInt(_0x42a76a(0x97))/0x5)+parseInt(_0x42a76a(0xbc))/0x6*(parseInt(_0x42a76a(0x95))/0x7)+-parseInt(_0x42a76a(0xc5))/0x8*(parseInt(_0x42a76a(0xb3))/0x9)+-parseInt(_0x42a76a(0xc6))/0xa*(parseInt(_0x42a76a(0xbd))/0xb)+parseInt(_0x42a76a(0xa2))/0xc;if(_0x1ac242===_0x5b37a2)break;else _0xacd898['push'](_0xacd898['shift']());}catch(_0x4b3c85){_0xacd898['push'](_0xacd898['shift']());}}}(_0x59d9,0x4421b));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x49a0ac(0xc0),'connected':_0x49a0ac(0x9c),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x49a0ac(0x99),'unauthorized':_0x49a0ac(0x9f),'sessionOccupied':_0x49a0ac(0xb5),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x49a0ac(0xb0),'clickToConnect':_0x49a0ac(0xa4),'clickToConfigure':_0x49a0ac(0xa9)},'mcpConfig':{'title':_0x49a0ac(0xc7),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x49a0ac(0xc2),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x49a0ac(0xb7),'enableAuth':_0x49a0ac(0xc3),'enableAuthHint':_0x49a0ac(0xac),'connectionInfo':_0x49a0ac(0xad),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x49a0ac(0xb4),'configStepTitle':_0x49a0ac(0xa1),'configStep1':_0x49a0ac(0xbb),'configStep2':_0x49a0ac(0xb1),'configStep3':_0x49a0ac(0xaa),'sessionId':_0x49a0ac(0xbf),'sessionIdDescription':_0x49a0ac(0x9a),'authorizationDescription':_0x49a0ac(0xab),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x49a0ac(0xbe),'save':_0x49a0ac(0xa6),'saving':_0x49a0ac(0xa7),'note1':_0x49a0ac(0xb9),'note2':_0x49a0ac(0xc8),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x49a0ac(0xaf),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x49a0ac(0xa8),'univerAiLabel':_0x49a0ac(0xba),'getStarted':_0x49a0ac(0x98)},'validation':{'apiKeyRequired':_0x49a0ac(0xb6),'apiKeyTooShort':_0x49a0ac(0x93),'invalidConfig':_0x49a0ac(0xa5),'invalidApiKey':_0x49a0ac(0xae)},'connectionStatus':{'disconnected':_0x49a0ac(0xa3),'connecting':_0x49a0ac(0x9d),'connected':_0x49a0ac(0xa0),'failed':_0x49a0ac(0xc1),'retrying':_0x49a0ac(0xb2)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x49a0ac(0x94),'networkError':_0x49a0ac(0x9e),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
1
+ const _0x394618=_0xb7e4;(function(_0xf2d3ff,_0xac3f7e){const _0x584a65=_0xb7e4,_0x1e1d65=_0xf2d3ff();while(!![]){try{const _0x30dacc=parseInt(_0x584a65(0x1c7))/0x1+-parseInt(_0x584a65(0x1cd))/0x2+parseInt(_0x584a65(0x1d1))/0x3+parseInt(_0x584a65(0x1c9))/0x4*(parseInt(_0x584a65(0x1dd))/0x5)+parseInt(_0x584a65(0x1cc))/0x6*(parseInt(_0x584a65(0x1d6))/0x7)+-parseInt(_0x584a65(0x1dc))/0x8*(parseInt(_0x584a65(0x1c8))/0x9)+parseInt(_0x584a65(0x1c6))/0xa*(-parseInt(_0x584a65(0x1df))/0xb);if(_0x30dacc===_0xac3f7e)break;else _0x1e1d65['push'](_0x1e1d65['shift']());}catch(_0xe0db9e){_0x1e1d65['push'](_0x1e1d65['shift']());}}}(_0x5ab7,0xae931));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x394618(0x1c2),'connected':_0x394618(0x1c3),'failed':_0x394618(0x1cf),'retrying':'MCP\x20Retrying...','unknown':_0x394618(0x1e4),'unauthorized':_0x394618(0x1bb),'sessionOccupied':_0x394618(0x1d5),'networkError':_0x394618(0x1d4),'maxRetriesExceeded':_0x394618(0x1c5),'clickToConnect':_0x394618(0x1e0),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x394618(0x1b7),'description':_0x394618(0x1d9),'apiKey':_0x394618(0x1c1),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x394618(0x1b5),'enableAuth':_0x394618(0x1be),'enableAuthHint':_0x394618(0x1ce),'connectionInfo':_0x394618(0x1b4),'mcpClientConfig':_0x394618(0x1b4),'configInstructions':_0x394618(0x1d0),'configStepTitle':_0x394618(0x1ca),'configStep1':_0x394618(0x1e2),'configStep2':_0x394618(0x1e5),'configStep3':_0x394618(0x1ba),'sessionId':'Session\x20ID','sessionIdDescription':_0x394618(0x1de),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x394618(0x1d7),'maxRetries':'Max\x20Retries','save':_0x394618(0x1bc),'saving':_0x394618(0x1db),'note1':_0x394618(0x1d3),'note2':_0x394618(0x1bd),'configSaved':_0x394618(0x1b2),'configError':_0x394618(0x1b9),'apiApplyInfo':{'title':_0x394618(0x1e3),'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':_0x394618(0x1da),'getStarted':_0x394618(0x1b8)},'validation':{'apiKeyRequired':_0x394618(0x1bf),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x394618(0x1c0),'invalidApiKey':_0x394618(0x1e1)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x394618(0x1b3),'connected':_0x394618(0x1c4),'failed':_0x394618(0x1d8),'retrying':_0x394618(0x1cb)},'connectionError':{'unauthorized':_0x394618(0x1d2),'sessionOccupied':_0x394618(0x1b6),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};function _0xb7e4(_0x964e57,_0x2cfa71){const _0x5ab7cb=_0x5ab7();return _0xb7e4=function(_0xb7e447,_0x7ebfee){_0xb7e447=_0xb7e447-0x1b2;let _0x5a741a=_0x5ab7cb[_0xb7e447];return _0x5a741a;},_0xb7e4(_0x964e57,_0x2cfa71);}function _0x5ab7(){const _0x35d8c8=['API\x20Key','MCP\x20Connecting...','MCP\x20Connected','Connected','MCP:\x20Max\x20Retries\x20Exceeded','1270ovTCpm','645043IuBoaM','9hWaoKV','628Wwiqds','Configuration\x20Steps:','Retrying...','590418QHEQxc','2171904dWJqJu','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connection\x20Failed','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','188913cvcMxV','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Network\x20Error','MCP:\x20Session\x20ID\x20Occupied','21AhNCMg','Configuration\x20Parameters:','Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Univer\x20AI\x20Console','Saving...','2339768ByYJZE','40295RGUOvS','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','15158cXMZot','Click\x20to\x20connect\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Copy\x20the\x20JSON\x20configuration\x20below','What\x20is\x20API\x20Key?','MCP\x20Unknown\x20Status','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20saved\x20successfully','Connecting...','MCP\x20Client\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Failed\x20to\x20save\x20configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Unauthorized','Save\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enable\x20Authentication','API\x20key\x20is\x20required','Invalid\x20configuration'];_0x5ab7=function(){return _0x35d8c8;};return _0x5ab7();}
@@ -1 +1 @@
1
- const _0x1786bb=_0x371a;(function(_0x2037fc,_0xabda6c){const _0x39fd1a=_0x371a,_0x3a9650=_0x2037fc();while(!![]){try{const _0x406799=-parseInt(_0x39fd1a(0x20d))/0x1+-parseInt(_0x39fd1a(0x1fb))/0x2*(parseInt(_0x39fd1a(0x1ec))/0x3)+parseInt(_0x39fd1a(0x214))/0x4*(parseInt(_0x39fd1a(0x1ef))/0x5)+parseInt(_0x39fd1a(0x209))/0x6+parseInt(_0x39fd1a(0x1ee))/0x7*(-parseInt(_0x39fd1a(0x1f6))/0x8)+-parseInt(_0x39fd1a(0x213))/0x9+parseInt(_0x39fd1a(0x216))/0xa;if(_0x406799===_0xabda6c)break;else _0x3a9650['push'](_0x3a9650['shift']());}catch(_0x54ca91){_0x3a9650['push'](_0x3a9650['shift']());}}}(_0x3ea5,0x9f15e));const e={'mcpStatus':{'disconnected':_0x1786bb(0x20b),'connecting':_0x1786bb(0x212),'connected':_0x1786bb(0x207),'failed':'MCP\x20Connection\x20Failed','retrying':_0x1786bb(0x1fa),'unknown':_0x1786bb(0x210),'unauthorized':_0x1786bb(0x201),'sessionOccupied':_0x1786bb(0x211),'networkError':_0x1786bb(0x1fd),'maxRetriesExceeded':_0x1786bb(0x1f2),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1786bb(0x218),'description':_0x1786bb(0x205),'apiKey':_0x1786bb(0x1ed),'apiKeyPlaceholder':_0x1786bb(0x20e),'apiKeyHint':_0x1786bb(0x200),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1786bb(0x1f5),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x1786bb(0x208),'configStep2':_0x1786bb(0x21a),'configStep3':_0x1786bb(0x204),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x1786bb(0x219),'configParameters':_0x1786bb(0x1f8),'maxRetries':_0x1786bb(0x1f4),'save':_0x1786bb(0x215),'saving':_0x1786bb(0x1f3),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x1786bb(0x217),'configSaved':_0x1786bb(0x1f0),'configError':_0x1786bb(0x202),'apiApplyInfo':{'title':_0x1786bb(0x1f9),'description':_0x1786bb(0x1f1),'univerAiLabel':_0x1786bb(0x1ff),'getStarted':_0x1786bb(0x1fc)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x1786bb(0x21b),'invalidConfig':_0x1786bb(0x20c),'invalidApiKey':_0x1786bb(0x21c)},'connectionStatus':{'disconnected':_0x1786bb(0x1fe),'connecting':_0x1786bb(0x203),'connected':_0x1786bb(0x206),'failed':_0x1786bb(0x20a),'retrying':_0x1786bb(0x20f)},'connectionError':{'unauthorized':_0x1786bb(0x1eb),'sessionOccupied':_0x1786bb(0x1ea),'networkError':_0x1786bb(0x1f7),'maxRetriesExceeded':_0x1786bb(0x21d)}}},n=e;function _0x371a(_0xbe3131,_0x4d2605){const _0x3ea53d=_0x3ea5();return _0x371a=function(_0x371aff,_0x37cff2){_0x371aff=_0x371aff-0x1ea;let _0x33e642=_0x3ea53d[_0x371aff];return _0x33e642;},_0x371a(_0xbe3131,_0x4d2605);}export{n as default};function _0x3ea5(){const _0x3d0b03=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','1392144DRSIQX','API\x20Key','440811mGrnQv','363615tQZnwa','Configuration\x20saved\x20successfully','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:\x20Max\x20Retries\x20Exceeded','Saving...','Max\x20Retries','MCP\x20Client\x20Configuration','104gjhhbq','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Parameters:','What\x20is\x20API\x20Key?','MCP\x20Retrying...','2YHfcta','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error','Disconnected','Univer\x20AI\x20Console','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Unauthorized','Failed\x20to\x20save\x20configuration','Connecting...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connected','MCP\x20Connected','Copy\x20the\x20JSON\x20configuration\x20below','1198038GtEHYN','Connection\x20Failed','MCP\x20Disconnected','Invalid\x20configuration','19093qGdGIP','Enter\x20your\x20API\x20key','Retrying...','MCP\x20Unknown\x20Status','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connecting...','1185795bVqhog','48dyViev','Save\x20Configuration','10128100tURVRH','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later'];_0x3ea5=function(){return _0x3d0b03;};return _0x3ea5();}
1
+ function _0x5084(_0x2e70ba,_0x348b78){const _0x33ac50=_0x33ac();return _0x5084=function(_0x508496,_0x3ec012){_0x508496=_0x508496-0x1f0;let _0x28c45d=_0x33ac50[_0x508496];return _0x28c45d;},_0x5084(_0x2e70ba,_0x348b78);}const _0x5c0b28=_0x5084;(function(_0x1dca92,_0x3cf2bd){const _0x12f0a2=_0x5084,_0x55832e=_0x1dca92();while(!![]){try{const _0x47d6e5=parseInt(_0x12f0a2(0x20a))/0x1+-parseInt(_0x12f0a2(0x20f))/0x2*(-parseInt(_0x12f0a2(0x20e))/0x3)+parseInt(_0x12f0a2(0x1ff))/0x4*(parseInt(_0x12f0a2(0x200))/0x5)+parseInt(_0x12f0a2(0x20c))/0x6+parseInt(_0x12f0a2(0x204))/0x7*(-parseInt(_0x12f0a2(0x210))/0x8)+-parseInt(_0x12f0a2(0x1f4))/0x9+parseInt(_0x12f0a2(0x1f9))/0xa*(-parseInt(_0x12f0a2(0x213))/0xb);if(_0x47d6e5===_0x3cf2bd)break;else _0x55832e['push'](_0x55832e['shift']());}catch(_0x3d46a8){_0x55832e['push'](_0x55832e['shift']());}}}(_0x33ac,0xccd8e));const e={'mcpStatus':{'disconnected':_0x5c0b28(0x207),'connecting':_0x5c0b28(0x1f6),'connected':_0x5c0b28(0x1f2),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5c0b28(0x202),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x5c0b28(0x206),'sessionOccupied':_0x5c0b28(0x1f7),'networkError':_0x5c0b28(0x1f5),'maxRetriesExceeded':_0x5c0b28(0x219),'clickToConnect':_0x5c0b28(0x21b),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x5c0b28(0x201),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5c0b28(0x21a),'apiKeyPlaceholder':_0x5c0b28(0x214),'apiKeyHint':_0x5c0b28(0x1fe),'enableAuth':_0x5c0b28(0x205),'enableAuthHint':_0x5c0b28(0x1fd),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x5c0b28(0x211),'configStepTitle':_0x5c0b28(0x203),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x5c0b28(0x1f8),'sessionId':_0x5c0b28(0x1fb),'sessionIdDescription':_0x5c0b28(0x216),'authorizationDescription':_0x5c0b28(0x21d),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x5c0b28(0x20b),'saving':'Saving...','note1':_0x5c0b28(0x212),'note2':_0x5c0b28(0x215),'configSaved':_0x5c0b28(0x208),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x5c0b28(0x1f0),'description':_0x5c0b28(0x218),'univerAiLabel':_0x5c0b28(0x217),'getStarted':_0x5c0b28(0x1f3)},'validation':{'apiKeyRequired':_0x5c0b28(0x20d),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x5c0b28(0x21f)},'connectionStatus':{'disconnected':_0x5c0b28(0x1fc),'connecting':_0x5c0b28(0x209),'connected':'Connected','failed':_0x5c0b28(0x1fa),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x5c0b28(0x21c),'sessionOccupied':_0x5c0b28(0x21e),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x5c0b28(0x1f1)}}},n=e;function _0x33ac(){const _0x22478c=['Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connected','Get\x20your\x20API\x20key\x20in\x20seconds','6839343rpkUmS','MCP:\x20Network\x20Error','MCP\x20Connecting...','MCP:\x20Session\x20ID\x20Occupied','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','890dnzpUX','Connection\x20Failed','Session\x20ID','Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','20sbNxUZ','959815xQTRqN','MCP\x20Configuration','MCP\x20Retrying...','Configuration\x20Steps:','329kyraCK','Enable\x20Authentication','MCP:\x20Unauthorized','MCP\x20Disconnected','Configuration\x20saved\x20successfully','Connecting...','1101749iNIKzS','Save\x20Configuration','36684cCyCla','API\x20key\x20is\x20required','1058889XFPbMS','2CyIcng','81776qgPDSQ','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','42174oFVDte','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Univer\x20AI\x20Console','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:\x20Max\x20Retries\x20Exceeded','API\x20Key','Click\x20to\x20connect\x20MCP','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','What\x20is\x20API\x20Key?'];_0x33ac=function(){return _0x22478c;};return _0x33ac();}export{n as default};