@univerjs-pro/mcp-ui 0.10.6-experimental.20250904-9591d16 → 0.10.7-nightly.202509080357
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.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x5ce46f,_0x5ed88e){var _0x4564db=_0x125c,_0x2cf5fa=_0x5ce46f();while(!![]){try{var _0x2741b2=parseInt(_0x4564db(0x1d2))/0x1*(-parseInt(_0x4564db(0x270))/0x2)+parseInt(_0x4564db(0x281))/0x3+-parseInt(_0x4564db(0x26e))/0x4*(-parseInt(_0x4564db(0x2a0))/0x5)+-parseInt(_0x4564db(0x30c))/0x6+-parseInt(_0x4564db(0x2a2))/0x7+-parseInt(_0x4564db(0x1ff))/0x8+parseInt(_0x4564db(0x205))/0x9;if(_0x2741b2===_0x5ed88e)break;else _0x2cf5fa['push'](_0x2cf5fa['shift']());}catch(_0x1024ea){_0x2cf5fa['push'](_0x2cf5fa['shift']());}}}(_0x1b4d,0x4c47c),function(_0x17cc7f,_0x516d0a){var _0x446a16=_0x125c;typeof exports==_0x446a16(0x28b)&&typeof module<'u'?_0x516d0a(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react')):typeof define==_0x446a16(0x29c)&&define['amd']?define([_0x446a16(0x321),_0x446a16(0x1d7),_0x446a16(0x211),_0x446a16(0x2a4),_0x446a16(0x32f),_0x446a16(0x315),'rxjs',_0x446a16(0x266)],_0x516d0a):(_0x17cc7f=typeof globalThis<'u'?globalThis:_0x17cc7f||self,_0x516d0a(_0x17cc7f[_0x446a16(0x304)]={},_0x17cc7f[_0x446a16(0x25f)],_0x17cc7f[_0x446a16(0x1c0)],_0x17cc7f[_0x446a16(0x30d)],_0x17cc7f[_0x446a16(0x2a5)],_0x17cc7f[_0x446a16(0x326)],_0x17cc7f[_0x446a16(0x256)],_0x17cc7f['React']));}(this,function(_0x552d6,_0x2ee3fa,_0x47efb8,_0x3800b7,_0xb4ab2c,_0x5bff43,_0x28da4c,_0x358ac3){'use strict';var _0x1c2d09=_0x125c;var _0x271a0e=Object[_0x1c2d09(0x298)],_0x2b53fe=(_0x2108eb,_0x488457,_0x55b4c1)=>_0x488457 in _0x2108eb?_0x271a0e(_0x2108eb,_0x488457,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55b4c1}):_0x2108eb[_0x488457]=_0x55b4c1,_0x2c148e=(_0x5e095f,_0x145198,_0x1a86cb)=>_0x2b53fe(_0x5e095f,typeof _0x145198!=_0x1c2d09(0x1f2)?_0x145198+'':_0x145198,_0x1a86cb),_0x552a4b=function(){var _0x3e0437=_0x1c2d09;return _0x552a4b=Object[_0x3e0437(0x240)]||function(_0x440e00){var _0x3179ae=_0x3e0437;for(var _0x1e415d,_0x2e9b25=0x1,_0x24b084=arguments[_0x3179ae(0x21c)];_0x2e9b25<_0x24b084;_0x2e9b25++){_0x1e415d=arguments[_0x2e9b25];for(var _0x55f1c6 in _0x1e415d)Object[_0x3179ae(0x220)][_0x3179ae(0x25c)]['call'](_0x1e415d,_0x55f1c6)&&(_0x440e00[_0x55f1c6]=_0x1e415d[_0x55f1c6]);}return _0x440e00;},_0x552a4b['apply'](this,arguments);},_0x490268=function(_0x1e87cc,_0x44c3b1){var _0x18114b=_0x1c2d09,_0xb186f9={};for(var _0x5e3817 in _0x1e87cc)Object[_0x18114b(0x220)][_0x18114b(0x25c)][_0x18114b(0x2f8)](_0x1e87cc,_0x5e3817)&&_0x44c3b1[_0x18114b(0x217)](_0x5e3817)<0x0&&(_0xb186f9[_0x5e3817]=_0x1e87cc[_0x5e3817]);if(_0x1e87cc!=null&&typeof Object[_0x18114b(0x244)]==_0x18114b(0x29c)){for(var _0x547182=0x0,_0x5e3817=Object[_0x18114b(0x244)](_0x1e87cc);_0x547182<_0x5e3817[_0x18114b(0x21c)];_0x547182++)_0x44c3b1[_0x18114b(0x217)](_0x5e3817[_0x547182])<0x0&&Object[_0x18114b(0x220)][_0x18114b(0x246)][_0x18114b(0x2f8)](_0x1e87cc,_0x5e3817[_0x547182])&&(_0xb186f9[_0x5e3817[_0x547182]]=_0x1e87cc[_0x5e3817[_0x547182]]);}return _0xb186f9;},_0x5abb0e=_0x358ac3['forwardRef'](function(_0x5f5a1e,_0x485859){var _0x4f6d61=_0x1c2d09,_0xc04927=_0x5f5a1e['icon'],_0x302944=_0x5f5a1e['id'],_0x2663dc=_0x5f5a1e[_0x4f6d61(0x2e8)],_0x2dad2f=_0x5f5a1e[_0x4f6d61(0x336)],_0x38656f=_0x490268(_0x5f5a1e,[_0x4f6d61(0x1e0),'id',_0x4f6d61(0x2e8),'extend']),_0x15ecf6='univerjs-icon\x20univerjs-icon-'[_0x4f6d61(0x229)](_0x302944,'\x20')[_0x4f6d61(0x229)](_0x2663dc||'')[_0x4f6d61(0x228)](),_0x1f9a7d=_0x358ac3['useRef']('_'['concat'](_0x251210()));return _0xb6c51c(_0xc04927,''[_0x4f6d61(0x229)](_0x302944),{'defIds':_0xc04927['defIds'],'idSuffix':_0x1f9a7d[_0x4f6d61(0x310)]},_0x552a4b({'ref':_0x485859,'className':_0x15ecf6},_0x38656f),_0x2dad2f);});function _0xb6c51c(_0x101c44,_0x2f2c81,_0x27dbe0,_0x2054ed,_0x3ba086){var _0x232545=_0x1c2d09;return _0x358ac3[_0x232545(0x1fb)](_0x101c44[_0x232545(0x1d0)],_0x552a4b(_0x552a4b({'key':_0x2f2c81},_0x51c0ca(_0x101c44,_0x27dbe0,_0x3ba086)),_0x2054ed),(_0x2ab418(_0x101c44,_0x27dbe0)['children']||[])[_0x232545(0x1c6)](function(_0x4ea856,_0xa5585e){var _0x1abb1e=_0x232545;return _0xb6c51c(_0x4ea856,''[_0x1abb1e(0x229)](_0x2f2c81,'-')['concat'](_0x101c44['tag'],'-')['concat'](_0xa5585e),_0x27dbe0,void 0x0,_0x3ba086);}));}function _0x51c0ca(_0x39878f,_0x4218a6,_0x26e30){var _0x71d62a=_0x1c2d09,_0x4ed307=_0x552a4b({},_0x39878f[_0x71d62a(0x24f)]);_0x26e30!=null&&_0x26e30[_0x71d62a(0x1bd)]&&_0x4ed307[_0x71d62a(0x289)]===_0x71d62a(0x1bd)&&(_0x4ed307[_0x71d62a(0x289)]=_0x26e30[_0x71d62a(0x1bd)]),_0x39878f[_0x71d62a(0x1d0)]==='mask'&&_0x4ed307['id']&&(_0x4ed307['id']=_0x4ed307['id']+_0x4218a6[_0x71d62a(0x1bf)]),Object[_0x71d62a(0x31e)](_0x4ed307)[_0x71d62a(0x1f9)](function(_0x17a138){var _0x14c9df=_0x71d62a,_0x2f8fd6=_0x17a138[0x0],_0x4d7c60=_0x17a138[0x1];_0x2f8fd6===_0x14c9df(0x22e)&&typeof _0x4d7c60==_0x14c9df(0x22b)&&(_0x4ed307[_0x2f8fd6]=_0x4d7c60[_0x14c9df(0x1bb)](/url\(#(.*)\)/,_0x14c9df(0x31d)[_0x14c9df(0x229)](_0x4218a6[_0x14c9df(0x1bf)],')')));});var _0x19506c=_0x4218a6[_0x71d62a(0x317)];return!_0x19506c||_0x19506c[_0x71d62a(0x21c)]===0x0||(_0x39878f[_0x71d62a(0x1d0)]==='use'&&_0x4ed307[_0x71d62a(0x290)]&&(_0x4ed307[_0x71d62a(0x290)]=_0x4ed307[_0x71d62a(0x290)]+_0x4218a6[_0x71d62a(0x1bf)]),Object[_0x71d62a(0x31e)](_0x4ed307)[_0x71d62a(0x1f9)](function(_0x431d64){var _0x20b679=_0x71d62a,_0x6c4b0f=_0x431d64[0x0],_0x43dcfc=_0x431d64[0x1];typeof _0x43dcfc==_0x20b679(0x22b)&&(_0x4ed307[_0x6c4b0f]=_0x43dcfc['replace'](/url\(#(.*)\)/,_0x20b679(0x31d)[_0x20b679(0x229)](_0x4218a6[_0x20b679(0x1bf)],')')));})),_0x4ed307;}function _0x2ab418(_0x1c2548,_0x3ffcd3){var _0x281ce9=_0x1c2d09,_0xd41f94,_0xd1fe35=_0x3ffcd3['defIds'];return!_0xd1fe35||_0xd1fe35['length']===0x0?_0x1c2548:_0x1c2548[_0x281ce9(0x1d0)]===_0x281ce9(0x2bc)&&(!((_0xd41f94=_0x1c2548['children'])===null||_0xd41f94===void 0x0)&&_0xd41f94['length'])?_0x552a4b(_0x552a4b({},_0x1c2548),{'children':_0x1c2548['children'][_0x281ce9(0x1c6)](function(_0x10212f){var _0x5b9237=_0x281ce9;return typeof _0x10212f[_0x5b9237(0x24f)]['id']==_0x5b9237(0x22b)&&_0xd1fe35&&_0xd1fe35['includes'](_0x10212f[_0x5b9237(0x24f)]['id'])?_0x552a4b(_0x552a4b({},_0x10212f),{'attrs':_0x552a4b(_0x552a4b({},_0x10212f['attrs']),{'id':_0x10212f[_0x5b9237(0x24f)]['id']+_0x3ffcd3[_0x5b9237(0x1bf)]})}):_0x10212f;})}):_0x1c2548;}function _0x251210(){var _0x2e3803=_0x1c2d09;return Math['random']()[_0x2e3803(0x1de)](0x24)[_0x2e3803(0x2ba)](0x2,0x8);}_0x5abb0e[_0x1c2d09(0x282)]=_0x1c2d09(0x24b);var _0x4eb1fd={'tag':_0x1c2d09(0x25b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1c2d09(0x1f7),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1c2d09(0x1e1)},'children':[{'tag':_0x1c2d09(0x2f5),'attrs':{'fill':'currentColor','d':_0x1c2d09(0x1d4),'fillRule':_0x1c2d09(0x20e),'clipRule':_0x1c2d09(0x20e)}}]},_0x32661e=_0x358ac3['forwardRef'](function(_0x169aeb,_0x20064b){var _0x34dcae=_0x1c2d09;return _0x358ac3[_0x34dcae(0x1fb)](_0x5abb0e,Object['assign']({},_0x169aeb,{'id':_0x34dcae(0x272),'ref':_0x20064b,'icon':_0x4eb1fd}));});_0x32661e[_0x1c2d09(0x282)]=_0x1c2d09(0x242);var _0x20ee79={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1c2d09(0x1f7),'viewBox':_0x1c2d09(0x334),'width':'1em','height':_0x1c2d09(0x1e1)},'children':[{'tag':_0x1c2d09(0x2f5),'attrs':{'stroke':_0x1c2d09(0x20c),'d':_0x1c2d09(0x301),'strokeLinecap':_0x1c2d09(0x2d0),'strokeLinejoin':_0x1c2d09(0x2d0),'strokeWidth':1.33}},{'tag':_0x1c2d09(0x2f5),'attrs':{'stroke':_0x1c2d09(0x20c),'d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':_0x1c2d09(0x2d0),'strokeLinejoin':_0x1c2d09(0x2d0),'strokeWidth':1.33}}]},_0x369457=_0x358ac3[_0x1c2d09(0x31f)](function(_0x190d0f,_0x4134b9){var _0x10588a=_0x1c2d09;return _0x358ac3[_0x10588a(0x1fb)](_0x5abb0e,Object['assign']({},_0x190d0f,{'id':_0x10588a(0x21d),'ref':_0x4134b9,'icon':_0x20ee79}));});_0x369457[_0x1c2d09(0x282)]='CloseSmallSingle';var _0x184baa={'tag':'svg','attrs':{'xmlns':_0x1c2d09(0x2db),'fill':_0x1c2d09(0x1f7),'viewBox':'0\x200\x2016\x2016','width':_0x1c2d09(0x1e1),'height':'1em'},'children':[{'tag':_0x1c2d09(0x2f5),'attrs':{'fill':'currentColor','d':_0x1c2d09(0x231)}},{'tag':_0x1c2d09(0x2f5),'attrs':{'fill':_0x1c2d09(0x20c),'d':'M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z'}},{'tag':_0x1c2d09(0x2f5),'attrs':{'fill':_0x1c2d09(0x20c),'d':_0x1c2d09(0x33b),'fillRule':_0x1c2d09(0x20e),'clipRule':_0x1c2d09(0x20e)}}]},_0x302d63=_0x358ac3[_0x1c2d09(0x31f)](function(_0x2cbbae,_0x547d66){var _0x128d12=_0x1c2d09;return _0x358ac3[_0x128d12(0x1fb)](_0x5abb0e,Object[_0x128d12(0x240)]({},_0x2cbbae,{'id':'help-single','ref':_0x547d66,'icon':_0x184baa}));});_0x302d63[_0x1c2d09(0x282)]=_0x1c2d09(0x343);var _0xb04855={'tag':_0x1c2d09(0x25b),'attrs':{'xmlns':_0x1c2d09(0x2db),'fill':_0x1c2d09(0x1f7),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1c2d09(0x2da)},'children':[{'tag':_0x1c2d09(0x2f5),'attrs':{'stroke':_0x1c2d09(0x20c),'d':_0x1c2d09(0x28c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1c2d09(0x2bc),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1c2d09(0x2e7)},'children':[{'tag':_0x1c2d09(0x2f5),'attrs':{'fill':_0x1c2d09(0x267),'d':_0x1c2d09(0x1cd)}}]}]}],'defIds':[_0x1c2d09(0x2e7)]},_0x58cf5d=_0x358ac3[_0x1c2d09(0x31f)](function(_0x4cf1ee,_0x45bf05){var _0x5585e9=_0x1c2d09;return _0x358ac3[_0x5585e9(0x1fb)](_0x5abb0e,Object[_0x5585e9(0x240)]({},_0x4cf1ee,{'id':_0x5585e9(0x28d),'ref':_0x45bf05,'icon':_0xb04855}));});_0x58cf5d[_0x1c2d09(0x282)]='OffLineIcon';var _0x1e8e35={'tag':_0x1c2d09(0x25b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1c2d09(0x1f7),'viewBox':_0x1c2d09(0x332),'width':_0x1c2d09(0x1e1),'height':_0x1c2d09(0x1e1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x1c2d09(0x2f5),'attrs':{'stroke':_0x1c2d09(0x20c),'d':_0x1c2d09(0x286),'strokeLinecap':_0x1c2d09(0x2d0),'strokeLinejoin':_0x1c2d09(0x2d0),'strokeWidth':1.2}}]},{'tag':_0x1c2d09(0x2bc),'attrs':{},'children':[{'tag':_0x1c2d09(0x1c1),'attrs':{'id':_0x1c2d09(0x260)},'children':[{'tag':_0x1c2d09(0x2f5),'attrs':{'fill':'white','d':_0x1c2d09(0x1cd),'transform':_0x1c2d09(0x2e6)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x51bf6d=_0x358ac3[_0x1c2d09(0x31f)](function(_0xc8570f,_0x1a4a8f){var _0x3ddc86=_0x1c2d09;return _0x358ac3['createElement'](_0x5abb0e,Object['assign']({},_0xc8570f,{'id':_0x3ddc86(0x33a),'ref':_0x1a4a8f,'icon':_0x1e8e35}));});_0x51bf6d[_0x1c2d09(0x282)]=_0x1c2d09(0x2eb);function _0x175898(_0x941e47){var _0x3b1939=_0x1c2d09,_0x255138,_0x5870ea;const {mcpCoreConfig:_0x29d277,onSave:_0x2d5fd6,loading:_0x24a44c=!0x1,config:_0x53473f,connectionStatus$:_0x2e7cba,connectionError$:_0x294513}=_0x941e47,_0x55655f=_0x5bff43[_0x3b1939(0x31c)](_0x2ee3fa[_0x3b1939(0x313)]),_0x2f9f36=_0x5bff43[_0x3b1939(0x233)](_0x2e7cba,_0x3800b7['MCPConnectionStatus'][_0x3b1939(0x31b)]),_0x1936a5=_0x5bff43[_0x3b1939(0x233)](_0x294513,_0x3800b7[_0x3b1939(0x26b)][_0x3b1939(0x22f)]),[_0x9758d8,_0x43e39c]=_0x358ac3[_0x3b1939(0x264)](_0x29d277[_0x3b1939(0x1b8)]||''),_0x3dd2bb=!0x0,_0x317f22=_0x53473f['showDeveloperTools']&&_0x29d277[_0x3b1939(0x296)]&&(_0x29d277[_0x3b1939(0x296)][_0x3b1939(0x2c9)](_0x3b1939(0x2ec))||_0x29d277[_0x3b1939(0x296)]['includes'](_0x3b1939(0x2f9))),_0x1e19cf=(_0x255138=_0x29d277[_0x3b1939(0x296)])==null?void 0x0:_0x255138[_0x3b1939(0x2c9)]('univer.plus'),_0x2adda8=(_0x5870ea=_0x29d277['mcpServerUrl'])==null?void 0x0:_0x5870ea[_0x3b1939(0x2c9)]('univer.ai'),_0x35b244=_0x1e19cf?_0x3b1939(0x293):_0x3b1939(0x24e),_0x113282=_0x53473f[_0x3b1939(0x278)]&&(_0x1e19cf||_0x2adda8),[_0x2223f1,_0x39257f]=_0x358ac3[_0x3b1939(0x264)](!_0x9758d8[_0x3b1939(0x228)]()),_0x394be6=(_0x4cf3a0,_0x1fe66c)=>{var _0x443cad=_0x3b1939;if(_0x1fe66c===_0x3800b7[_0x443cad(0x26b)][_0x443cad(0x2e0)]||_0x1fe66c===_0x3800b7['MCPConnectionError'][_0x443cad(0x2b5)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x4cf3a0){case _0x3800b7[_0x443cad(0x2de)][_0x443cad(0x218)]:return _0x443cad(0x1b9);case _0x3800b7[_0x443cad(0x2de)][_0x443cad(0x236)]:case _0x3800b7[_0x443cad(0x2de)]['RETRYING']:return _0x443cad(0x213);case _0x3800b7[_0x443cad(0x2de)][_0x443cad(0x225)]:return _0x443cad(0x1f8);default:return _0x443cad(0x253);}},_0x5b8ef1=(_0x13498b,_0x585af2)=>{var _0x1d467f=_0x3b1939;if(_0x585af2===_0x3800b7[_0x1d467f(0x26b)]['MISSING_API_KEY']||_0x585af2===_0x3800b7['MCPConnectionError'][_0x1d467f(0x2b5)])return _0x1d467f(0x21e);switch(_0x13498b){case _0x3800b7[_0x1d467f(0x2de)]['CONNECTED']:return _0x1d467f(0x311);case _0x3800b7[_0x1d467f(0x2de)][_0x1d467f(0x236)]:case _0x3800b7['MCPConnectionStatus'][_0x1d467f(0x1da)]:return _0x1d467f(0x2d4);case _0x3800b7['MCPConnectionStatus'][_0x1d467f(0x225)]:return _0x1d467f(0x21e);default:return _0x1d467f(0x299);}},_0x2c8a73=_0x4f7f3e=>{var _0x3846e8=_0x3b1939;switch(_0x4f7f3e){case _0x3800b7[_0x3846e8(0x2de)]['CONNECTED']:return _0x55655f['t'](_0x3846e8(0x33c));case _0x3800b7['MCPConnectionStatus'][_0x3846e8(0x236)]:return _0x55655f['t'](_0x3846e8(0x29e));case _0x3800b7[_0x3846e8(0x2de)][_0x3846e8(0x225)]:return _0x55655f['t']('mcpConfig.connectionStatus.failed');case _0x3800b7[_0x3846e8(0x2de)][_0x3846e8(0x1da)]:return _0x55655f['t'](_0x3846e8(0x2d7));default:return _0x55655f['t'](_0x3846e8(0x20d));}},_0x549dc3=_0x26590c=>{var _0xf27bdf=_0x3b1939;switch(_0x26590c){case _0x3800b7[_0xf27bdf(0x26b)][_0xf27bdf(0x2e0)]:return _0x55655f['t'](_0xf27bdf(0x330));case _0x3800b7[_0xf27bdf(0x26b)][_0xf27bdf(0x2b5)]:return _0x55655f['t'](_0xf27bdf(0x2ea));case _0x3800b7[_0xf27bdf(0x26b)][_0xf27bdf(0x234)]:return _0x55655f['t'](_0xf27bdf(0x21f));case _0x3800b7[_0xf27bdf(0x26b)][_0xf27bdf(0x1c3)]:return _0x55655f['t'](_0xf27bdf(0x1d8));case _0x3800b7[_0xf27bdf(0x26b)][_0xf27bdf(0x237)]:return _0x55655f['t'](_0xf27bdf(0x303));default:return'';}},_0x5367c0=_0x358ac3[_0x3b1939(0x25d)](()=>{var _0x2335d0=_0x3b1939;const _0x3df2cc={..._0x29d277,'apiKey':_0x9758d8[_0x2335d0(0x228)](),'enableAuth':_0x3dd2bb};_0x2d5fd6(_0x3df2cc);},[_0x29d277,_0x9758d8,_0x3dd2bb,_0x2d5fd6]),_0x448c98=_0x9758d8['trim']()[_0x3b1939(0x21c)]>0x0;return _0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x276),'children':[_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x338),'children':_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x1cc),'children':[_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x1ea),'children':_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x2ac),{'className':_0x3b1939(0x318),'children':'⚙'})}),_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x1e8),{'children':_0x47efb8['jsx']('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x55655f['t']('mcpConfig.description')})})]})}),_0x47efb8['jsxs'](_0x3b1939(0x1e8),{'className':_0x3b1939(0x1fe),'children':[_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x2c0)+_0x394be6(_0x2f9f36,_0x1936a5)+_0x3b1939(0x221),'children':_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x207),'children':[_0x47efb8[_0x3b1939(0x2b6)]('div',{'className':_0x3b1939(0x241)+_0x5b8ef1(_0x2f9f36,_0x1936a5)+_0x3b1939(0x2fd)}),_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x2ac),{'className':_0x3b1939(0x200),'children':_0x2c8a73(_0x2f9f36)})]})}),_0x1936a5!==_0x3800b7['MCPConnectionError'][_0x3b1939(0x22f)]&&(_0x2f9f36===_0x3800b7[_0x3b1939(0x2de)]['FAILED']||_0x1936a5===_0x3800b7[_0x3b1939(0x26b)][_0x3b1939(0x2e0)]||_0x1936a5===_0x3800b7[_0x3b1939(0x26b)]['INVALID_API_KEY'])&&_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x1e8),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x47efb8[_0x3b1939(0x27e)]('div',{'className':_0x3b1939(0x259),'children':[_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x2ac),{'className':_0x3b1939(0x258),'children':'⚠️'}),_0x47efb8['jsx']('p',{'className':_0x3b1939(0x2cf),'children':_0x549dc3(_0x1936a5)})]})})]}),_0x47efb8['jsx'](_0x3b1939(0x1e8),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x47efb8[_0x3b1939(0x27e)]('div',{'className':_0x3b1939(0x239),'children':[_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x30b),'children':[_0x47efb8['jsxs']('label',{'className':_0x3b1939(0x2d3),'children':[_0x47efb8['jsx'](_0x3b1939(0x2ac),{'children':'🔑'}),'\x20',_0x55655f['t'](_0x3b1939(0x2a7)),_0x47efb8['jsx'](_0x3b1939(0x2ac),{'className':_0x3b1939(0x294),'children':'*'}),_0x317f22&&_0x47efb8[_0x3b1939(0x2b6)]('a',{'href':'javascript:void(0)','onClick':()=>_0x39257f(!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':_0x55655f['t'](_0x3b1939(0x324)),'children':_0x47efb8[_0x3b1939(0x2b6)](_0x302d63,{})})]}),_0x47efb8['jsx'](_0xb4ab2c[_0x3b1939(0x32d)],{'type':_0x3b1939(0x26f),'placeholder':_0x55655f['t'](_0x3b1939(0x2ce)),'value':_0x9758d8,'onChange':_0x43e39c,'disabled':_0x24a44c,'autoComplete':_0x3b1939(0x2d9)}),_0x47efb8[_0x3b1939(0x2b6)]('p',{'className':_0x3b1939(0x250),'children':_0x55655f['t'](_0x3b1939(0x238))})]}),_0x317f22&&_0x2223f1&&_0x47efb8[_0x3b1939(0x27e)]('div',{'className':_0x3b1939(0x312),'children':[_0x47efb8[_0x3b1939(0x2b6)]('a',{'href':_0x3b1939(0x219),'onClick':()=>_0x39257f(!0x1),'className':_0x3b1939(0x212),'title':_0x3b1939(0x277),'children':_0x47efb8[_0x3b1939(0x2b6)](_0x369457,{})}),_0x47efb8[_0x3b1939(0x27e)]('div',{'className':_0x3b1939(0x2a3),'children':[_0x47efb8[_0x3b1939(0x2b6)]('div',{'className':_0x3b1939(0x1f4),'children':_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x2ac),{'className':_0x3b1939(0x20f),'children':'🚀'})}),_0x47efb8[_0x3b1939(0x27e)]('div',{'className':_0x3b1939(0x323),'children':[_0x47efb8[_0x3b1939(0x2b6)]('h4',{'className':_0x3b1939(0x344),'children':_0x55655f['t']('mcpConfig.apiApplyInfo.title')}),_0x47efb8['jsx']('p',{'className':_0x3b1939(0x1ba),'children':_0x55655f['t'](_0x3b1939(0x2a1))}),_0x47efb8[_0x3b1939(0x2b6)]('div',{'className':_0x3b1939(0x2f1),'children':_0x113282&&_0x47efb8[_0x3b1939(0x27e)]('a',{'href':_0x35b244,'target':_0x3b1939(0x2e3),'rel':'noopener\x20noreferrer','className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','children':[_0x47efb8['jsx'](_0x3b1939(0x2ac),{'children':'🤖'}),_0x55655f['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x47efb8['jsx'](_0x3b1939(0x2ac),{'className':_0x3b1939(0x2f6),'children':'↗'})]})}),_0x47efb8[_0x3b1939(0x27e)]('div',{'className':_0x3b1939(0x284),'children':['✨','\x20',_0x55655f['t'](_0x3b1939(0x1be))]})]})]})]}),_0x53473f[_0x3b1939(0x278)]&&_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x1e8),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x47efb8[_0x3b1939(0x27e)]('h4',{'className':_0x3b1939(0x23c),'children':[_0x47efb8['jsx']('span',{'children':'🔗'}),'\x20',_0x55655f['t'](_0x3b1939(0x2bd))]}),_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x21b),'children':[_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x245),'children':[_0x47efb8['jsx'](_0x3b1939(0x1e8),{'className':_0x3b1939(0x1dc)}),_0x47efb8['jsxs'](_0x3b1939(0x1e8),{'className':_0x3b1939(0x20a),'children':[_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x342),'children':_0x55655f['t'](_0x3b1939(0x1fd))}),_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x30f),{'className':'univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','children':_0x29d277['mcpServerUrl']})]})]}),_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x245),'children':[_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x1dc)}),_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x1e8),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x342),'children':_0x55655f['t'](_0x3b1939(0x28a))}),_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x30f),{'className':_0x3b1939(0x2c1),'children':_0x29d277[_0x3b1939(0x2bb)]||_0x3b1939(0x1c7)})]})]})]})]}),_0x47efb8['jsx'](_0xb4ab2c[_0x3b1939(0x2c5)],{'onClick':_0x5367c0,'disabled':!_0x448c98||_0x24a44c,'className':_0x3b1939(0x23b),'children':_0x24a44c?_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x2ac),{'className':_0x3b1939(0x207),'children':[_0x47efb8[_0x3b1939(0x2b6)]('span',{'children':'⟲'}),_0x55655f['t'](_0x3b1939(0x202))]}):_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x2ac),{'className':_0x3b1939(0x207),'children':[_0x47efb8['jsx'](_0x32661e,{}),_0x55655f['t'](_0x3b1939(0x29b))]})}),_0x47efb8[_0x3b1939(0x2b6)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x26d),'children':_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x1e8),{'className':_0x3b1939(0x1d1),'children':[_0x47efb8['jsx'](_0x3b1939(0x2ac),{'className':_0x3b1939(0x1e3),'children':'💡'}),_0x47efb8['jsxs'](_0x3b1939(0x1e8),{'className':_0x3b1939(0x268),'children':[_0x47efb8[_0x3b1939(0x2b6)]('div',{'className':_0x3b1939(0x251),'children':_0x3b1939(0x1bc)}),_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x1e8),{'children':['•',_0x55655f['t'](_0x3b1939(0x328))]}),_0x47efb8[_0x3b1939(0x27e)](_0x3b1939(0x1e8),{'children':['•',_0x55655f['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x57da0c='mcp-ui.config',_0x371c36={'showDeveloperTools':!0x1};var _0x3b3f7c=Object[_0x1c2d09(0x2e5)],_0x299b33=(_0x5851b3,_0x2eb138,_0x528159,_0x8f9414)=>{var _0x26c77a=_0x1c2d09;for(var _0x5ac005=_0x8f9414>0x1?void 0x0:_0x8f9414?_0x3b3f7c(_0x2eb138,_0x528159):_0x2eb138,_0x1b6705=_0x5851b3[_0x26c77a(0x21c)]-0x1,_0x5827cb;_0x1b6705>=0x0;_0x1b6705--)(_0x5827cb=_0x5851b3[_0x1b6705])&&(_0x5ac005=_0x5827cb(_0x5ac005)||_0x5ac005);return _0x5ac005;},_0x5b1caf=(_0x4b40ef,_0x51aadf)=>(_0x2f277b,_0x4d7b92)=>_0x51aadf(_0x2f277b,_0x4d7b92,_0x4b40ef);const _0xb6cf09=_0x1c2d09(0x2d2),_0x1974ff=_0x1c2d09(0x29f);_0x552d6['MCPConfigUIController']=class extends _0x2ee3fa[_0x1c2d09(0x2b7)]{constructor(_0x1c73b7,_0x332cc2,_0x19615b,_0x587a25,_0x360692,_0x83a491,_0x31b1b5,_0x528b2c,_0x1828cf,_0x379e5b){var _0x3b7133=_0x1c2d09;super(),_0x2c148e(this,'_loading$',new _0x28da4c[(_0x3b7133(0x23f))](!0x1)),_0x2c148e(this,_0x3b7133(0x23a),new _0x28da4c['BehaviorSubject']({})),_0x2c148e(this,'_config$',new _0x28da4c[(_0x3b7133(0x23f))]({})),_0x2c148e(this,'_handleConfigSave',async _0x1e26f9=>{var _0x281893=_0x3b7133;this['_loading$']['next'](!0x0);try{const _0x372f73=await this['_validateConfig'](_0x1e26f9);if(!_0x372f73[_0x281893(0x292)]){this[_0x281893(0x22d)][_0x281893(0x1f6)]({'type':_0xb4ab2c[_0x281893(0x274)]['Error'],'content':_0x372f73[_0x281893(0x203)]||this[_0x281893(0x206)]['t'](_0x281893(0x297))});return;}_0x1e26f9[_0x281893(0x1b8)]?await this['_localStorageService'][_0x281893(0x222)](_0xb6cf09,_0x1e26f9['apiKey'][_0x281893(0x228)]()):await this[_0x281893(0x1d3)][_0x281893(0x1df)](_0xb6cf09),this[_0x281893(0x210)][_0x281893(0x32c)](_0x3800b7[_0x281893(0x2e2)],{..._0x1e26f9,'apiKey':_0x1e26f9[_0x281893(0x1b8)][_0x281893(0x228)]()}),this[_0x281893(0x23a)]['next']({..._0x1e26f9,'apiKey':_0x1e26f9[_0x281893(0x1b8)][_0x281893(0x228)]()}),this[_0x281893(0x22d)][_0x281893(0x1f6)]({'type':_0xb4ab2c[_0x281893(0x274)][_0x281893(0x2df)],'content':this[_0x281893(0x206)]['t'](_0x281893(0x2b3))}),setTimeout(()=>{var _0x1d1bb6=_0x281893;this[_0x1d1bb6(0x22c)][_0x1d1bb6(0x2f2)](_0x1974ff);},0x320);}catch(_0x4ea86c){this[_0x281893(0x283)][_0x281893(0x265)](_0x281893(0x23d),_0x4ea86c),this[_0x281893(0x22d)][_0x281893(0x1f6)]({'type':_0xb4ab2c['MessageType'][_0x281893(0x33e)],'content':this[_0x281893(0x206)]['t'](_0x281893(0x1e2))});}finally{this[_0x281893(0x2d6)][_0x281893(0x27c)](!0x1);}}),(this[_0x3b7133(0x1e4)]=_0x1c73b7,this['_uiPartsService']=_0x332cc2,this['_configService']=_0x19615b,this[_0x3b7133(0x1d3)]=_0x587a25,this[_0x3b7133(0x22c)]=_0x360692,this[_0x3b7133(0x22d)]=_0x83a491,this['_componentManager']=_0x31b1b5,this[_0x3b7133(0x206)]=_0x528b2c,this[_0x3b7133(0x283)]=_0x1828cf,this[_0x3b7133(0x285)]=_0x379e5b,this['_initConfigSync'](),this[_0x3b7133(0x249)](),this['_registerComponent']());}[_0x1c2d09(0x2ca)](){var _0x38f99f=_0x1c2d09;this[_0x38f99f(0x22c)][_0x38f99f(0x226)]({'id':_0x1974ff,'title':{'title':this['_localeService']['t'](_0x38f99f(0x27a))},'children':{'label':_0x38f99f(0x2b1)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x484bba=_0x38f99f;this[_0x484bba(0x22c)][_0x484bba(0x2f2)](_0x1974ff);}});}['getCurrentConfig'](){var _0x27985f=_0x1c2d09;return this[_0x27985f(0x23a)]['value'];}['_registerComponent'](){var _0x1146a8=_0x1c2d09;this[_0x1146a8(0x27d)](this[_0x1146a8(0x340)][_0x1146a8(0x2f3)](_0x1146a8(0x2b1),this[_0x1146a8(0x257)]()));}[_0x1c2d09(0x257)](){var _0x43499d=_0x1c2d09;return _0x5bff43['connectInjector'](()=>{var _0x168014=_0x125c,_0x1bc5fc,_0x45e34a;return _0x47efb8[_0x168014(0x2b6)](_0x175898,{'config':this[_0x168014(0x2ab)][_0x168014(0x271)],'mcpCoreConfig':this[_0x168014(0x23a)][_0x168014(0x271)],'onSave':this['_handleConfigSave'],'loading':this[_0x168014(0x2d6)][_0x168014(0x271)],'connectionStatus$':(_0x1bc5fc=this[_0x168014(0x285)])==null?void 0x0:_0x1bc5fc[_0x168014(0x2e1)],'connectionError$':(_0x45e34a=this[_0x168014(0x285)])==null?void 0x0:_0x45e34a[_0x168014(0x341)]});},this[_0x43499d(0x1e4)]);}[_0x1c2d09(0x269)](){var _0x5a42d8=_0x1c2d09;this[_0x5a42d8(0x27d)](this[_0x5a42d8(0x210)][_0x5a42d8(0x1e5)](_0x3800b7[_0x5a42d8(0x2e2)])['subscribe'](_0xbb5b06=>{var _0x1b8cdb=_0x5a42d8;this[_0x1b8cdb(0x23a)][_0x1b8cdb(0x27c)](_0xbb5b06||{});}));const _0x4d42ba=this[_0x5a42d8(0x210)]['getConfig'](_0x3800b7[_0x5a42d8(0x2e2)]);this[_0x5a42d8(0x23a)][_0x5a42d8(0x27c)](_0x4d42ba||{}),this['disposeWithMe'](this['_configService'][_0x5a42d8(0x1e5)](_0x57da0c)[_0x5a42d8(0x262)](_0x50529a=>{var _0x245728=_0x5a42d8;this[_0x245728(0x2ab)][_0x245728(0x27c)](_0x50529a||{});}));const _0x140d41=this[_0x5a42d8(0x210)]['getConfig'](_0x57da0c);this[_0x5a42d8(0x2ab)][_0x5a42d8(0x27c)](_0x140d41||{});}async['_loadStoredApiKey'](){var _0x233596=_0x1c2d09;const _0x414d19=await this['_localStorageService'][_0x233596(0x308)](_0xb6cf09);if(_0x414d19){const _0x365aca={...this['_mcpCoreConfig$'][_0x233596(0x271)],'apiKey':_0x414d19};this[_0x233596(0x210)][_0x233596(0x32c)](_0x3800b7[_0x233596(0x2e2)],_0x365aca),this[_0x233596(0x23a)]['next'](_0x365aca);}}async[_0x1c2d09(0x26a)](_0x24630b){var _0x6714b4=_0x1c2d09;if(!_0x24630b[_0x6714b4(0x1b8)]||_0x24630b[_0x6714b4(0x1b8)][_0x6714b4(0x228)]()[_0x6714b4(0x21c)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x6714b4(0x206)]['t'](_0x6714b4(0x2c6))};if(_0x24630b[_0x6714b4(0x1b8)][_0x6714b4(0x228)]()[_0x6714b4(0x21c)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x6714b4(0x206)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x30f7f3=await this[_0x6714b4(0x1e4)][_0x6714b4(0x2a8)](_0x3800b7[_0x6714b4(0x33f)])[_0x6714b4(0x2fb)](_0x24630b[_0x6714b4(0x1b8)]['trim']());return _0x30f7f3['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x30f7f3[_0x6714b4(0x265)]||this[_0x6714b4(0x206)]['t'](_0x6714b4(0x1e7))};}catch(_0x780c86){return console['warn'](_0x6714b4(0x307),_0x780c86),{'isValid':!0x0};}}},_0x552d6[_0x1c2d09(0x1c4)]=_0x299b33([_0x5b1caf(0x0,_0x2ee3fa[_0x1c2d09(0x1ee)](_0x2ee3fa[_0x1c2d09(0x27b)])),_0x5b1caf(0x1,_0x5bff43['IUIPartsService']),_0x5b1caf(0x2,_0x2ee3fa[_0x1c2d09(0x2b9)]),_0x5b1caf(0x3,_0x2ee3fa[_0x1c2d09(0x2b4)]),_0x5b1caf(0x4,_0x5bff43[_0x1c2d09(0x1d6)]),_0x5b1caf(0x5,_0x5bff43['IMessageService']),_0x5b1caf(0x6,_0x2ee3fa[_0x1c2d09(0x1ee)](_0x5bff43[_0x1c2d09(0x2ee)])),_0x5b1caf(0x7,_0x2ee3fa['Inject'](_0x2ee3fa[_0x1c2d09(0x313)])),_0x5b1caf(0x8,_0x2ee3fa[_0x1c2d09(0x337)]),_0x5b1caf(0x9,_0x2ee3fa[_0x1c2d09(0x1ee)](_0x3800b7[_0x1c2d09(0x33f)]))],_0x552d6[_0x1c2d09(0x1c4)]);const _0x456c8a={'id':_0x1c2d09(0x287),'type':_0x2ee3fa[_0x1c2d09(0x2cd)][_0x1c2d09(0x1f5)],'handler':async(_0x2bb7c9,_0x2a5eaf)=>(_0x2bb7c9[_0x1c2d09(0x2a8)](_0x552d6[_0x1c2d09(0x1c4)])[_0x1c2d09(0x2ca)](),!0x0)};function _0x11cffe(_0x38b277,_0x461938){var _0x323c84=_0x1c2d09;switch(_0x38b277){case _0x3800b7[_0x323c84(0x2de)][_0x323c84(0x31b)]:return _0x461938===_0x3800b7[_0x323c84(0x26b)][_0x323c84(0x2e0)]?_0x323c84(0x2fe):_0x323c84(0x2fc);case _0x3800b7[_0x323c84(0x2de)]['CONNECTING']:return _0x323c84(0x309);case _0x3800b7[_0x323c84(0x2de)][_0x323c84(0x218)]:return _0x323c84(0x1e6);case _0x3800b7['MCPConnectionStatus'][_0x323c84(0x225)]:switch(_0x461938){case _0x3800b7['MCPConnectionError'][_0x323c84(0x2b5)]:return _0x323c84(0x23e);case _0x3800b7[_0x323c84(0x26b)][_0x323c84(0x234)]:return _0x323c84(0x2a6);case _0x3800b7[_0x323c84(0x26b)][_0x323c84(0x1c3)]:return _0x323c84(0x306);case _0x3800b7[_0x323c84(0x26b)]['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return _0x323c84(0x1c5);}case _0x3800b7[_0x323c84(0x2de)][_0x323c84(0x1da)]:return _0x323c84(0x295);default:return _0x323c84(0x2ef);}}function _0x262cd7(_0x3541bf,_0x401cd1,_0x3a287f){var _0x331441=_0x1c2d09;const _0x3c9c97=_0x11cffe(_0x3541bf,_0x401cd1),_0x477803=_0x3a287f['t'](_0x3c9c97);return _0x3541bf===_0x3800b7[_0x331441(0x2de)][_0x331441(0x31b)]&&_0x401cd1===_0x3800b7[_0x331441(0x26b)][_0x331441(0x2e0)]?_0x477803+'\x20-\x20'+_0x3a287f['t']('mcpStatus.clickToConfigure'):_0x3541bf===_0x3800b7[_0x331441(0x2de)][_0x331441(0x218)]?''+_0x477803:_0x3541bf===_0x3800b7[_0x331441(0x2de)]['DISCONNECTED']||_0x3541bf===_0x3800b7[_0x331441(0x2de)]['FAILED']?_0x477803+_0x331441(0x29d)+_0x3a287f['t'](_0x331441(0x2e9)):_0x477803;}function _0x1ec36f(_0x2a4cdc){var _0x35b78e=_0x1c2d09;switch(_0x2a4cdc){case _0x3800b7['MCPConnectionStatus'][_0x35b78e(0x218)]:return _0x35b78e(0x1f1);case _0x3800b7[_0x35b78e(0x2de)][_0x35b78e(0x236)]:case _0x3800b7[_0x35b78e(0x2de)][_0x35b78e(0x1da)]:return _0x35b78e(0x32e);case _0x3800b7[_0x35b78e(0x2de)][_0x35b78e(0x225)]:case _0x3800b7['MCPConnectionStatus'][_0x35b78e(0x31b)]:return _0x35b78e(0x294);default:return _0x35b78e(0x1ed);}}function _0x39e408(_0x3a2f3d){var _0x28683e=_0x1c2d09;const {status$:_0x5e0b81,error$:_0x15ed69,onConfigure:_0x44b40d}=_0x3a2f3d,_0x7fbe25=_0x5bff43[_0x28683e(0x233)](_0x5e0b81,_0x3800b7[_0x28683e(0x2de)][_0x28683e(0x31b)]),_0x5eb9cd=_0x5bff43[_0x28683e(0x233)](_0x15ed69,_0x3800b7[_0x28683e(0x26b)]['NONE']),_0x987da4=_0x5bff43['useDependency'](_0x2ee3fa[_0x28683e(0x313)]),_0x4e69ce=_0x7fbe25===_0x3800b7[_0x28683e(0x2de)][_0x28683e(0x218)],_0xf03a1=_0x7fbe25===_0x3800b7[_0x28683e(0x2de)][_0x28683e(0x236)]||_0x7fbe25===_0x3800b7[_0x28683e(0x2de)][_0x28683e(0x1da)],_0x34c38f=_0x987da4['t'](_0x11cffe(_0x7fbe25,_0x5eb9cd)),_0x31db25=_0x262cd7(_0x7fbe25,_0x5eb9cd,_0x987da4),_0x41611f=_0x1ec36f(_0x7fbe25),_0x30ef13=_0x4e69ce?_0x47efb8[_0x28683e(0x2b6)](_0x51bf6d,{}):_0x47efb8['jsx'](_0x58cf5d,{}),_0x466b08=_0x358ac3[_0x28683e(0x25d)](()=>{_0x44b40d&&_0x44b40d();},[_0x4e69ce,_0xf03a1,_0x44b40d]);function _0xbc0496(){var _0x509a29=_0x28683e;return _0x47efb8[_0x509a29(0x27e)]('div',{'className':_0xb4ab2c[_0x509a29(0x248)]('univer-flex\x20univer-cursor-pointer\x20univer-items-center',_0x44b40d&&_0x509a29(0x33d)),'onClick':_0x44b40d?_0x466b08:void 0x0,'children':[_0x47efb8[_0x509a29(0x2b6)](_0x509a29(0x1e8),{'className':_0xb4ab2c[_0x509a29(0x248)](_0x509a29(0x279),_0x41611f),'children':_0x30ef13}),_0x47efb8['jsx'](_0x509a29(0x1e8),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x34c38f})]});}return _0x47efb8['jsx'](_0xb4ab2c['Tooltip'],{'title':_0x31db25,'placement':'bottom','children':_0xbc0496()});}var _0x2dca1f=Object[_0x1c2d09(0x2e5)],_0x110e03=(_0xb02a22,_0x2f8004,_0x2faa5e,_0x535a46)=>{for(var _0x120703=_0x535a46>0x1?void 0x0:_0x535a46?_0x2dca1f(_0x2f8004,_0x2faa5e):_0x2f8004,_0x534cab=_0xb02a22['length']-0x1,_0x5f066a;_0x534cab>=0x0;_0x534cab--)(_0x5f066a=_0xb02a22[_0x534cab])&&(_0x120703=_0x5f066a(_0x120703)||_0x120703);return _0x120703;},_0x5bc878=(_0x58141c,_0x178077)=>(_0x204d3f,_0x28e37c)=>_0x178077(_0x204d3f,_0x28e37c,_0x58141c);_0x552d6['MCPConnectionUIController']=class extends _0x2ee3fa[_0x1c2d09(0x2b7)]{constructor(_0xda1257,_0x2812b8,_0x220b6e){var _0x39cfbc=_0x1c2d09;super(),this[_0x39cfbc(0x1e4)]=_0xda1257,this[_0x39cfbc(0x1ec)]=_0x2812b8,this[_0x39cfbc(0x288)]=_0x220b6e,this[_0x39cfbc(0x314)]();}[_0x1c2d09(0x314)](){var _0x1146d5=_0x1c2d09;this[_0x1146d5(0x27d)](this[_0x1146d5(0x288)]['registerComponent'](_0x5bff43[_0x1146d5(0x2f0)][_0x1146d5(0x1fa)],()=>_0x5bff43['connectInjector'](_0x110ee4({'status$':this[_0x1146d5(0x1ec)][_0x1146d5(0x2e1)],'error$':this['_connectionController']['connectionError$'],'onConfigure':()=>this[_0x1146d5(0x1d9)]()}),this[_0x1146d5(0x1e4)])));}[_0x1c2d09(0x1d9)](){var _0x1b6c0d=_0x1c2d09;this[_0x1b6c0d(0x1e4)][_0x1b6c0d(0x2a8)](_0x552d6[_0x1b6c0d(0x1c4)])[_0x1b6c0d(0x2ca)]();}},_0x552d6[_0x1c2d09(0x339)]=_0x110e03([_0x5bc878(0x0,_0x2ee3fa[_0x1c2d09(0x1ee)](_0x2ee3fa[_0x1c2d09(0x27b)])),_0x5bc878(0x1,_0x2ee3fa[_0x1c2d09(0x1ee)](_0x3800b7[_0x1c2d09(0x33f)])),_0x5bc878(0x2,_0x5bff43[_0x1c2d09(0x227)])],_0x552d6[_0x1c2d09(0x339)]);function _0x110ee4(_0x18ac5c){const {status$:_0x2c79c1,error$:_0x5f29fd,onConfigure:_0x470856}=_0x18ac5c;return function(){var _0x54497a=_0x125c;return _0x47efb8[_0x54497a(0x2b6)](_0x39e408,{'status$':_0x2c79c1,'error$':_0x5f29fd,'onConfigure':_0x470856});};}function _0x2bd4bd(_0x252837){var _0x3cbd6a=_0x1c2d09;return{'id':_0x456c8a['id'],'type':_0x5bff43[_0x3cbd6a(0x261)]['BUTTON'],'icon':_0x3cbd6a(0x2b0),'title':_0x3cbd6a(0x27a),'tooltip':_0x3cbd6a(0x27a)};}const _0x46c85a={[_0x5bff43[_0x1c2d09(0x204)][_0x1c2d09(0x243)]]:{[_0x456c8a['id']]:{'order':0xa,'menuItemFactory':_0x2bd4bd}}};var _0xc216f5=Object[_0x1c2d09(0x2e5)],_0x21524c=(_0x3ee3d1,_0x187a67,_0x498db7,_0xdd525a)=>{var _0x8c9799=_0x1c2d09;for(var _0x4d1bec=_0xdd525a>0x1?void 0x0:_0xdd525a?_0xc216f5(_0x187a67,_0x498db7):_0x187a67,_0x173c06=_0x3ee3d1[_0x8c9799(0x21c)]-0x1,_0x273391;_0x173c06>=0x0;_0x173c06--)(_0x273391=_0x3ee3d1[_0x173c06])&&(_0x4d1bec=_0x273391(_0x4d1bec)||_0x4d1bec);return _0x4d1bec;},_0x3d7f6a=(_0x427ae8,_0x466466)=>(_0x49e6ac,_0x54afa5)=>_0x466466(_0x49e6ac,_0x54afa5,_0x427ae8);_0x552d6[_0x1c2d09(0x2d8)]=class extends _0x2ee3fa[_0x1c2d09(0x2b7)]{constructor(_0x13ffd2,_0x1be0a0){var _0x90c31e=_0x1c2d09;super(),this[_0x90c31e(0x25e)]=_0x13ffd2,this['_menuManagerService']=_0x1be0a0,this['_initializeCommands'](),this[_0x90c31e(0x305)]();}[_0x1c2d09(0x215)](){var _0x70bf4=_0x1c2d09;[_0x456c8a][_0x70bf4(0x1f9)](_0x531e4b=>{var _0x2a2f40=_0x70bf4;this[_0x2a2f40(0x27d)](this[_0x2a2f40(0x25e)]['registerCommand'](_0x531e4b));});}[_0x1c2d09(0x305)](){var _0x2db64c=_0x1c2d09;this['_menuManagerService'][_0x2db64c(0x2cb)](_0x46c85a);}},_0x552d6['MCPUIMenuController']=_0x21524c([_0x3d7f6a(0x0,_0x2ee3fa[_0x1c2d09(0x232)]),_0x3d7f6a(0x1,_0x5bff43[_0x1c2d09(0x2dd)])],_0x552d6[_0x1c2d09(0x2d8)]);const _0x503e00={'mcpStatus':{'disconnected':_0x1c2d09(0x1cb),'connecting':_0x1c2d09(0x22a),'connected':_0x1c2d09(0x28e),'failed':_0x1c2d09(0x273),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x1c2d09(0x2c2),'invalidApiKey':_0x1c2d09(0x1ce),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x1c2d09(0x1ca),'maxRetriesExceeded':_0x1c2d09(0x24d),'clickToConnect':_0x1c2d09(0x1e9),'clickToConfigure':_0x1c2d09(0x2be)},'mcpConfig':{'title':_0x1c2d09(0x2ff),'description':_0x1c2d09(0x2dc),'apiKey':_0x1c2d09(0x327),'apiKeyPlaceholder':_0x1c2d09(0x316),'apiKeyHint':_0x1c2d09(0x235),'enableAuth':_0x1c2d09(0x2d1),'enableAuthHint':_0x1c2d09(0x1c2),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x1c2d09(0x2c3),'sessionId':'Session\x20ID','maxRetries':_0x1c2d09(0x20b),'save':_0x1c2d09(0x24c),'saving':_0x1c2d09(0x252),'note1':_0x1c2d09(0x214),'note2':_0x1c2d09(0x1b7),'configSaved':_0x1c2d09(0x208),'configError':_0x1c2d09(0x2f4),'apiApplyInfo':{'title':_0x1c2d09(0x2b8),'description':_0x1c2d09(0x224),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x1c2d09(0x1c8)},'validation':{'apiKeyRequired':_0x1c2d09(0x1f0),'apiKeyTooShort':_0x1c2d09(0x29a),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x1c2d09(0x319)},'connectionStatus':{'disconnected':_0x1c2d09(0x302),'connecting':_0x1c2d09(0x329),'connected':_0x1c2d09(0x26c),'failed':_0x1c2d09(0x216),'retrying':_0x1c2d09(0x275)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x1c2d09(0x27f),'sessionOccupied':_0x1c2d09(0x30a),'networkError':_0x1c2d09(0x333),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x504dfe={'mcpStatus':{'disconnected':_0x1c2d09(0x1f3),'connecting':_0x1c2d09(0x32a),'connected':_0x1c2d09(0x322),'failed':_0x1c2d09(0x2fa),'retrying':_0x1c2d09(0x255),'unknown':_0x1c2d09(0x24a),'missingApiKey':_0x1c2d09(0x2a9),'invalidApiKey':_0x1c2d09(0x201),'sessionOccupied':_0x1c2d09(0x31a),'networkError':_0x1c2d09(0x280),'maxRetriesExceeded':_0x1c2d09(0x291),'clickToConnect':_0x1c2d09(0x1d5),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':'MCP\x20配置','description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x1c2d09(0x209),'apiKeyPlaceholder':_0x1c2d09(0x2ae),'apiKeyHint':_0x1c2d09(0x2e4),'enableAuth':'启用身份验证','enableAuthHint':_0x1c2d09(0x1fc),'connectionInfo':_0x1c2d09(0x1eb),'serverEndpoint':'服务器端点','sessionId':_0x1c2d09(0x2cc),'maxRetries':_0x1c2d09(0x25a),'save':_0x1c2d09(0x223),'saving':_0x1c2d09(0x230),'note1':_0x1c2d09(0x300),'note2':_0x1c2d09(0x2d5),'configSaved':_0x1c2d09(0x1cf),'configError':_0x1c2d09(0x2af),'apiApplyInfo':{'title':_0x1c2d09(0x2bf),'description':_0x1c2d09(0x21a),'univerAiLabel':_0x1c2d09(0x247),'getStarted':_0x1c2d09(0x1c9)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x1c2d09(0x2c4),'invalidConfig':'配置无效','invalidApiKey':_0x1c2d09(0x254)},'connectionStatus':{'disconnected':'未连接','connecting':_0x1c2d09(0x32b),'connected':'已连接','failed':_0x1c2d09(0x320),'retrying':'重连中...'},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':_0x1c2d09(0x2f7),'sessionOccupied':_0x1c2d09(0x335),'networkError':_0x1c2d09(0x331),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0xd768ff=Object[_0x1c2d09(0x298)],_0x45525d=Object[_0x1c2d09(0x2e5)],_0x76f056=(_0x20d9d8,_0x41717a,_0x2e02d9)=>_0x41717a in _0x20d9d8?_0xd768ff(_0x20d9d8,_0x41717a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e02d9}):_0x20d9d8[_0x41717a]=_0x2e02d9,_0x10a98c=(_0x3f5dad,_0x2854b8,_0x1c831b,_0x40ab49)=>{var _0x56db69=_0x1c2d09;for(var _0x17004f=_0x40ab49>0x1?void 0x0:_0x40ab49?_0x45525d(_0x2854b8,_0x1c831b):_0x2854b8,_0x4959aa=_0x3f5dad[_0x56db69(0x21c)]-0x1,_0x474e5a;_0x4959aa>=0x0;_0x4959aa--)(_0x474e5a=_0x3f5dad[_0x4959aa])&&(_0x17004f=_0x474e5a(_0x17004f)||_0x17004f);return _0x17004f;},_0x331ed5=(_0x1ebfa8,_0x35142f)=>(_0x1647b0,_0x5ef119)=>_0x35142f(_0x1647b0,_0x5ef119,_0x1ebfa8),_0x2b4cc5=(_0x3ceaa8,_0x7554ca,_0x19b862)=>_0x76f056(_0x3ceaa8,_0x7554ca+'',_0x19b862);_0x552d6['UniverMCPUIPlugin']=class extends _0x2ee3fa[_0x1c2d09(0x1ef)]{constructor(_0x1e0f49=_0x371c36,_0x3bdd2c,_0x4645c1,_0x22708a,_0x15ddd6,_0x55b66d){var _0x3606e2=_0x1c2d09;super(),this[_0x3606e2(0x2aa)]=_0x1e0f49,this[_0x3606e2(0x1e4)]=_0x3bdd2c,this[_0x3606e2(0x210)]=_0x4645c1,this['_uiPartsService']=_0x22708a,this[_0x3606e2(0x1d3)]=_0x15ddd6,this[_0x3606e2(0x206)]=_0x55b66d;const {..._0x53223f}=_0x2ee3fa[_0x3606e2(0x325)]({},_0x371c36,this[_0x3606e2(0x2aa)]);this[_0x3606e2(0x210)][_0x3606e2(0x32c)](_0x57da0c,_0x53223f);}async['onStarting'](){var _0x330c37=_0x1c2d09;[[_0x552d6[_0x330c37(0x339)]],[_0x552d6[_0x330c37(0x1c4)]],[_0x552d6[_0x330c37(0x2d8)]]]['forEach'](_0x394eff=>this['_injector'][_0x330c37(0x30e)](_0x394eff)),this[_0x330c37(0x1e4)][_0x330c37(0x2a8)](_0x552d6[_0x330c37(0x339)]),this['_injector'][_0x330c37(0x2a8)](_0x552d6['MCPConfigUIController']),this[_0x330c37(0x1e4)][_0x330c37(0x2a8)](_0x552d6[_0x330c37(0x2d8)]);}},_0x2b4cc5(_0x552d6[_0x1c2d09(0x2c7)],'pluginName',_0x1c2d09(0x28f)),_0x552d6[_0x1c2d09(0x2c7)]=_0x10a98c([_0x2ee3fa[_0x1c2d09(0x2c8)](_0x3800b7['UniverMCPPlugin']),_0x331ed5(0x1,_0x2ee3fa[_0x1c2d09(0x1ee)](_0x2ee3fa[_0x1c2d09(0x27b)])),_0x331ed5(0x2,_0x2ee3fa['IConfigService']),_0x331ed5(0x3,_0x5bff43[_0x1c2d09(0x227)]),_0x331ed5(0x4,_0x2ee3fa[_0x1c2d09(0x2b4)]),_0x331ed5(0x5,_0x2ee3fa[_0x1c2d09(0x1ee)](_0x2ee3fa[_0x1c2d09(0x313)]))],_0x552d6[_0x1c2d09(0x2c7)]),_0x552d6[_0x1c2d09(0x2b1)]=_0x175898,_0x552d6[_0x1c2d09(0x1dd)]=_0x39e408,_0x552d6[_0x1c2d09(0x2ad)]=_0x456c8a,_0x552d6[_0x1c2d09(0x2ed)]=_0x503e00,_0x552d6[_0x1c2d09(0x1db)]=_0x504dfe,Object['defineProperty'](_0x552d6,Symbol[_0x1c2d09(0x263)],{'value':_0x1c2d09(0x2b2)});}));function _0x125c(_0x358e54,_0x406a10){var _0x1b4df3=_0x1b4d();return _0x125c=function(_0x125c1f,_0x19622f){_0x125c1f=_0x125c1f-0x1b7;var _0x400036=_0x1b4df3[_0x125c1f];return _0x400036;},_0x125c(_0x358e54,_0x406a10);}function _0x1b4d(){var _0x4a9bb0=['保存中...','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','ICommandService','useObservable','SESSION_ID_OCCUPIED','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','CONNECTING','MAX_RETRIES_EXCEEDED','mcpConfig.apiKeyHint','univer-space-y-5','_mcpCoreConfig$','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','mcpStatus.invalidApiKey','BehaviorSubject','assign','\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','CheckMarkIcon','OTHERS','getOwnPropertySymbols','univer-flex\x20univer-items-start\x20univer-gap-3','propertyIsEnumerable','Univer\x20AI\x20控制台','clsx','_loadStoredApiKey','MCP\x20状态未知','UniverIcon','Save\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','https://console.univer.ai','attrs','univer-text-xs\x20univer-text-gray-500','univer-font-medium','Saving...','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','API\x20密钥无效,请检查密钥是否正确','MCP\x20重连中...','rxjs','_createConfigPanelComponent','univer-flex-shrink-0\x20univer-text-red-500','univer-flex\x20univer-items-start\x20univer-gap-2','最大重试次数','svg','hasOwnProperty','useCallback','_commandService','UniverCore','on-line-icon_clip0_910_349','MenuItemType','subscribe','toStringTag','useState','error','react','white','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','_initConfigSync','_validateConfig','MCPConnectionError','Connected','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','4684HWstwM','text','106EVVvQm','value','check-mark-icon','MCP\x20Connection\x20Failed','MessageType','Retrying...','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','Close','showDeveloperTools','univer-mr-2\x20univer-flex\x20univer-text-xl','mcpConfig.title','Injector','next','disposeWithMe','jsxs','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP:\x20网络错误','1084134zNUKjO','displayName','_logService','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','_mcpConnectionController','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','mcp-ui.command.openConfigPanel','_uiPartsService','fill','mcpConfig.sessionId','object','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','off-line-icon','MCP\x20Connected','MCP_UI_PLUGIN','xlink:href','MCP:\x20超出最大重试次数','isValid','https://console.univer.plus','univer-text-red-500','mcpStatus.retrying','mcpServerUrl','mcpConfig.validation.invalidConfig','defineProperty','univer-bg-gray-500','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcpConfig.save','function','\x20-\x20','mcpConfig.connectionStatus.connecting','mcp-config-dialog','605haLHmY','mcpConfig.apiApplyInfo.description','4330599DLARyB','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','@univerjs-pro/mcp','UniverDesign','mcpStatus.sessionOccupied','mcpConfig.apiKey','get','MCP:\x20缺少\x20API\x20密钥','_config','_config$','span','OpenMCPConfigPanelCommand','请输入您的\x20API\x20密钥','配置保存失败','MenuIcon','MCPConfigPanel','Module','mcpConfig.configSaved','ILocalStorageService','INVALID_API_KEY','jsx','Disposable','What\x20is\x20API\x20Key?','IConfigService','substring','sessionId','defs','mcpConfig.connectionInfo','Click\x20to\x20configure\x20MCP','什么是\x20API\x20密钥?','\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','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','MCP:\x20API\x20Key\x20Missing','Server\x20Endpoint','API\x20密钥长度至少需要\x2010\x20位','Button','mcpConfig.validation.apiKeyRequired','UniverMCPUIPlugin','DependentOn','includes','showConfigPanel','mergeMenu','会话ID','CommandType','mcpConfig.apiKeyPlaceholder','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','round','Enable\x20Authentication','mcp.apiKey','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-bg-blue-500','您的\x20API\x20密钥安全存储在本地存储中','_loading$','mcpConfig.connectionStatus.retrying','MCPUIMenuController','off','url(#off-line-icon_clip0_910_343)','http://www.w3.org/2000/svg','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','IMenuManagerService','MCPConnectionStatus','Success','MISSING_API_KEY','connectionStatus$','MCP_PLUGIN_CONFIG_KEY','_blank','您的\x20API\x20密钥将在此浏览器中本地存储','getOwnPropertyDescriptor','translate(.97)','off-line-icon_clip0_910_343','className','mcpStatus.clickToConnect','mcpConfig.connectionError.invalidApiKey','OnLineIcon','univer.plus','enUS','ComponentManager','mcpStatus.unknown','BuiltInUIPart','univer-flex\x20univer-flex-wrap\x20univer-gap-2','close','register','Failed\x20to\x20save\x20configuration','path','univer-text-gray-400','API\x20密钥无效,请检查您的密钥后重试','call','univer.ai','MCP\x20连接失败','validateApiKey','mcpStatus.disconnected','\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','mcpStatus.missingApiKey','MCP\x20Configuration','配置更改将立即生效','M5.21243\x205.62036L11.8791\x2012.287','Disconnected','mcpConfig.connectionError.maxRetriesExceeded','UniverProMcpUi','_initializeMenus','mcpStatus.networkError','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','getItem','mcpStatus.connecting','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','univer-space-y-2','2785098gRzczx','UniverProMcp','add','code','current','univer-bg-green-500','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','LocaleService','_initStatusComponent','@univerjs/ui','Enter\x20your\x20API\x20key','defIds','univer-text-white','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20会话被占用','DISCONNECTED','useDependency','url(#$1','entries','forwardRef','连接失败','exports','MCP\x20已连接','univer-flex-1','mcpConfig.apiApplyInfo.title','merge','UniverUi','API\x20Key','mcpConfig.note1','Connecting...','MCP\x20连接中...','连接中...','setConfig','Input','univer-text-yellow-500','@univerjs/design','mcpConfig.connectionError.missingApiKey','网络连接错误,请检查您的网络连接','0\x200\x2017\x2016','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','0\x200\x2017\x2017','会话当前被占用,请稍后再试','extend','ILogService','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','MCPConnectionUIController','on-line-icon','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','mcpConfig.connectionStatus.connected','hover:univer-opacity-80','Error','MCPConnectionController','_componentManager','connectionError$','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','HelpSingle','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','apiKey','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','replace','Configuration\x20Notes:','colorChannel1','mcpConfig.apiApplyInfo.getStarted','idSuffix','React','clipPath','Enable\x20authentication\x20for\x20secure\x20connections','NETWORK_ERROR','MCPConfigUIController','mcpStatus.failed','map','default','Get\x20your\x20API\x20key\x20in\x20seconds','几秒钟内获取您的\x20API\x20密钥','MCP:\x20Network\x20Error','MCP\x20Disconnected','univer-flex\x20univer-items-center\x20univer-gap-3','M0\x200H16V16H0z','MCP:\x20Invalid\x20API\x20Key','配置保存成功','tag','univer-flex\x20univer-gap-3','4009LculhE','_localStorageService','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','点击连接\x20MCP','IDialogService','@univerjs/core','mcpConfig.connectionError.networkError','_handleConfigure','RETRYING','zhCN','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','MCPStatusDisplay','toString','removeItem','icon','1em','mcpConfig.configError','univer-flex-shrink-0\x20univer-text-blue-500','_injector','subscribeConfigValue$','mcpStatus.connected','mcpConfig.validation.invalidApiKey','div','Click\x20to\x20connect\x20MCP','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','连接信息','_connectionController','univer-text-gray-500','Inject','Plugin','API\x20key\x20is\x20required','univer-text-green-500','symbol','MCP\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','COMMAND','show','none','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','forEach','HEADER_MENU','createElement','启用身份验证以获得安全连接','mcpConfig.serverEndpoint','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','3626768KaKVXd','univer-text-sm\x20univer-font-medium','MCP:\x20无效的\x20API\x20密钥','mcpConfig.saving','errorMessage','RibbonStartGroup','14022342JjRAED','_localeService','univer-flex\x20univer-items-center\x20univer-gap-2','Configuration\x20saved\x20successfully','API\x20密钥','univer-min-w-0\x20univer-flex-1','Max\x20Retries','currentColor','mcpConfig.connectionStatus.disconnected','evenodd','univer-text-blue-600','_configService','react/jsx-runtime','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-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','_initializeCommands','Connection\x20Failed','indexOf','CONNECTED','javascript:void(0)','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-space-y-3','length','close-small-single','univer-bg-red-500','mcpConfig.connectionError.sessionOccupied','prototype','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','setItem','保存配置','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','open','IUIPartsService','trim','concat','MCP\x20Connecting...','string','_dialogService','_messageService','mask','NONE'];_0x1b4d=function(){return _0x4a9bb0;};return _0x1b4d();}
|
|
1
|
+
(function(_0x3aa616,_0x1fb6ae){var _0x2c9079=_0x59b3,_0x3263ae=_0x3aa616();while(!![]){try{var _0x15dff9=-parseInt(_0x2c9079(0x128))/0x1*(-parseInt(_0x2c9079(0x1e1))/0x2)+parseInt(_0x2c9079(0x247))/0x3*(-parseInt(_0x2c9079(0x11e))/0x4)+-parseInt(_0x2c9079(0x141))/0x5+-parseInt(_0x2c9079(0x157))/0x6*(parseInt(_0x2c9079(0x12b))/0x7)+-parseInt(_0x2c9079(0x15d))/0x8+parseInt(_0x2c9079(0xfb))/0x9+-parseInt(_0x2c9079(0x116))/0xa*(-parseInt(_0x2c9079(0x15c))/0xb);if(_0x15dff9===_0x1fb6ae)break;else _0x3263ae['push'](_0x3263ae['shift']());}catch(_0x48a19c){_0x3263ae['push'](_0x3263ae['shift']());}}}(_0x4723,0xaad74),function(_0x3e753b,_0x206f26){var _0x58718f=_0x59b3;typeof exports==_0x58718f(0x253)&&typeof module<'u'?_0x206f26(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react')):typeof define=='function'&&define[_0x58718f(0x1cb)]?define([_0x58718f(0xed),_0x58718f(0x17b),_0x58718f(0x174),'@univerjs-pro/mcp',_0x58718f(0xf0),_0x58718f(0xfe),_0x58718f(0x197),_0x58718f(0x25d)],_0x206f26):(_0x3e753b=typeof globalThis<'u'?globalThis:_0x3e753b||self,_0x206f26(_0x3e753b[_0x58718f(0x22d)]={},_0x3e753b[_0x58718f(0x10f)],_0x3e753b[_0x58718f(0xf4)],_0x3e753b[_0x58718f(0x148)],_0x3e753b['UniverDesign'],_0x3e753b['UniverUi'],_0x3e753b[_0x58718f(0x197)],_0x3e753b[_0x58718f(0xf4)]));}(this,function(_0x3268fb,_0x2891a4,_0x2aa594,_0xf5456e,_0x5d7edd,_0x2c04f0,_0x9ebfb8,_0x11275e){'use strict';var _0xba39c4=_0x59b3;var _0x31c54f=Object['defineProperty'],_0x52c97b=(_0x5f5897,_0x1b26ff,_0x3e02fd)=>_0x1b26ff in _0x5f5897?_0x31c54f(_0x5f5897,_0x1b26ff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e02fd}):_0x5f5897[_0x1b26ff]=_0x3e02fd,_0x41c3ff=(_0x390df6,_0x1c8d3d,_0x24e051)=>_0x52c97b(_0x390df6,typeof _0x1c8d3d!=_0xba39c4(0x232)?_0x1c8d3d+'':_0x1c8d3d,_0x24e051),_0x1fcc1a=function(){var _0x50d023=_0xba39c4;return _0x1fcc1a=Object[_0x50d023(0x11b)]||function(_0x2a4d55){var _0x214d2e=_0x50d023;for(var _0x5bdc25,_0x40be50=0x1,_0x352045=arguments[_0x214d2e(0x110)];_0x40be50<_0x352045;_0x40be50++){_0x5bdc25=arguments[_0x40be50];for(var _0x22b118 in _0x5bdc25)Object['prototype'][_0x214d2e(0xeb)][_0x214d2e(0x21a)](_0x5bdc25,_0x22b118)&&(_0x2a4d55[_0x22b118]=_0x5bdc25[_0x22b118]);}return _0x2a4d55;},_0x1fcc1a['apply'](this,arguments);},_0x306d4b=function(_0x3f1809,_0x22a20f){var _0x2d80bc=_0xba39c4,_0xf429ea={};for(var _0x2144c1 in _0x3f1809)Object[_0x2d80bc(0x246)][_0x2d80bc(0xeb)][_0x2d80bc(0x21a)](_0x3f1809,_0x2144c1)&&_0x22a20f[_0x2d80bc(0x17c)](_0x2144c1)<0x0&&(_0xf429ea[_0x2144c1]=_0x3f1809[_0x2144c1]);if(_0x3f1809!=null&&typeof Object[_0x2d80bc(0x120)]==_0x2d80bc(0x13e)){for(var _0x4c3ec4=0x0,_0x2144c1=Object[_0x2d80bc(0x120)](_0x3f1809);_0x4c3ec4<_0x2144c1['length'];_0x4c3ec4++)_0x22a20f[_0x2d80bc(0x17c)](_0x2144c1[_0x4c3ec4])<0x0&&Object['prototype'][_0x2d80bc(0x1c7)][_0x2d80bc(0x21a)](_0x3f1809,_0x2144c1[_0x4c3ec4])&&(_0xf429ea[_0x2144c1[_0x4c3ec4]]=_0x3f1809[_0x2144c1[_0x4c3ec4]]);}return _0xf429ea;},_0x361a83=_0x11275e[_0xba39c4(0x267)](function(_0x300aee,_0x379748){var _0x2967b3=_0xba39c4,_0x81658b=_0x300aee[_0x2967b3(0x190)],_0x17e742=_0x300aee['id'],_0x254887=_0x300aee['className'],_0x5e8316=_0x300aee['extend'],_0x3473cd=_0x306d4b(_0x300aee,['icon','id',_0x2967b3(0x264),_0x2967b3(0x22e)]),_0x506431=_0x2967b3(0x1f8)[_0x2967b3(0x228)](_0x17e742,'\x20')['concat'](_0x254887||'')[_0x2967b3(0x165)](),_0xc24b27=_0x11275e[_0x2967b3(0x1d7)]('_'[_0x2967b3(0x228)](_0xa4bf4f()));return _0x2d41b8(_0x81658b,''['concat'](_0x17e742),{'defIds':_0x81658b[_0x2967b3(0xf9)],'idSuffix':_0xc24b27[_0x2967b3(0x1c5)]},_0x1fcc1a({'ref':_0x379748,'className':_0x506431},_0x3473cd),_0x5e8316);});function _0x2d41b8(_0x105db5,_0x5019d2,_0x521851,_0x47b2f1,_0x340832){var _0x26f0d6=_0xba39c4;return _0x11275e[_0x26f0d6(0x195)](_0x105db5[_0x26f0d6(0x1ff)],_0x1fcc1a(_0x1fcc1a({'key':_0x5019d2},_0x10a6cb(_0x105db5,_0x521851,_0x340832)),_0x47b2f1),(_0x1a68cf(_0x105db5,_0x521851)[_0x26f0d6(0x156)]||[])[_0x26f0d6(0x1ae)](function(_0x161fc4,_0x1fcb34){var _0x5840e7=_0x26f0d6;return _0x2d41b8(_0x161fc4,''[_0x5840e7(0x228)](_0x5019d2,'-')['concat'](_0x105db5[_0x5840e7(0x1ff)],'-')[_0x5840e7(0x228)](_0x1fcb34),_0x521851,void 0x0,_0x340832);}));}function _0x10a6cb(_0x5e7798,_0x5b69df,_0x53b94b){var _0x5b25ad=_0xba39c4,_0x572109=_0x1fcc1a({},_0x5e7798[_0x5b25ad(0x252)]);_0x53b94b!=null&&_0x53b94b[_0x5b25ad(0x1e3)]&&_0x572109[_0x5b25ad(0x1e2)]===_0x5b25ad(0x1e3)&&(_0x572109[_0x5b25ad(0x1e2)]=_0x53b94b[_0x5b25ad(0x1e3)]),_0x5e7798[_0x5b25ad(0x1ff)]===_0x5b25ad(0x12f)&&_0x572109['id']&&(_0x572109['id']=_0x572109['id']+_0x5b69df['idSuffix']),Object[_0x5b25ad(0x167)](_0x572109)[_0x5b25ad(0x234)](function(_0x25df49){var _0x1aa1ca=_0x5b25ad,_0xbad3bf=_0x25df49[0x0],_0xf41dd=_0x25df49[0x1];_0xbad3bf==='mask'&&typeof _0xf41dd==_0x1aa1ca(0x241)&&(_0x572109[_0xbad3bf]=_0xf41dd['replace'](/url\(#(.*)\)/,_0x1aa1ca(0x22b)[_0x1aa1ca(0x228)](_0x5b69df[_0x1aa1ca(0x229)],')')));});var _0x1a7779=_0x5b69df[_0x5b25ad(0xf9)];return!_0x1a7779||_0x1a7779['length']===0x0||(_0x5e7798[_0x5b25ad(0x1ff)]===_0x5b25ad(0x18e)&&_0x572109['xlink:href']&&(_0x572109[_0x5b25ad(0x262)]=_0x572109[_0x5b25ad(0x262)]+_0x5b69df['idSuffix']),Object[_0x5b25ad(0x167)](_0x572109)['forEach'](function(_0x57f712){var _0x2000fa=_0x5b25ad,_0x1e8f41=_0x57f712[0x0],_0x37ef41=_0x57f712[0x1];typeof _0x37ef41==_0x2000fa(0x241)&&(_0x572109[_0x1e8f41]=_0x37ef41[_0x2000fa(0x10a)](/url\(#(.*)\)/,'url(#$1'[_0x2000fa(0x228)](_0x5b69df[_0x2000fa(0x229)],')')));})),_0x572109;}function _0x1a68cf(_0x5ae3e6,_0x447668){var _0x551eb1=_0xba39c4,_0x23fb60,_0xc33936=_0x447668['defIds'];return!_0xc33936||_0xc33936[_0x551eb1(0x110)]===0x0?_0x5ae3e6:_0x5ae3e6[_0x551eb1(0x1ff)]===_0x551eb1(0x14a)&&(!((_0x23fb60=_0x5ae3e6[_0x551eb1(0x156)])===null||_0x23fb60===void 0x0)&&_0x23fb60[_0x551eb1(0x110)])?_0x1fcc1a(_0x1fcc1a({},_0x5ae3e6),{'children':_0x5ae3e6[_0x551eb1(0x156)][_0x551eb1(0x1ae)](function(_0x513495){var _0x377521=_0x551eb1;return typeof _0x513495[_0x377521(0x252)]['id']==_0x377521(0x241)&&_0xc33936&&_0xc33936['includes'](_0x513495['attrs']['id'])?_0x1fcc1a(_0x1fcc1a({},_0x513495),{'attrs':_0x1fcc1a(_0x1fcc1a({},_0x513495[_0x377521(0x252)]),{'id':_0x513495[_0x377521(0x252)]['id']+_0x447668['idSuffix']})}):_0x513495;})}):_0x5ae3e6;}function _0xa4bf4f(){var _0x4d9dab=_0xba39c4;return Math[_0x4d9dab(0x13b)]()['toString'](0x24)[_0x4d9dab(0x121)](0x2,0x8);}_0x361a83[_0xba39c4(0x169)]=_0xba39c4(0x1ea);var _0xead6e2={'tag':_0xba39c4(0xf3),'attrs':{'xmlns':_0xba39c4(0x153),'fill':_0xba39c4(0x1e4),'viewBox':_0xba39c4(0x1b1),'width':_0xba39c4(0x185),'height':'1em'},'children':[{'tag':_0xba39c4(0x155),'attrs':{'fill':_0xba39c4(0x16b),'d':_0xba39c4(0x130),'fillRule':_0xba39c4(0x163),'clipRule':_0xba39c4(0x163)}}]},_0x5d96a9=_0x11275e[_0xba39c4(0x267)](function(_0xbc346a,_0xa9c2a5){var _0x4621f8=_0xba39c4;return _0x11275e[_0x4621f8(0x195)](_0x361a83,Object[_0x4621f8(0x11b)]({},_0xbc346a,{'id':_0x4621f8(0x18d),'ref':_0xa9c2a5,'icon':_0xead6e2}));});_0x5d96a9[_0xba39c4(0x169)]=_0xba39c4(0x20a);var _0x3baab6={'tag':_0xba39c4(0xf3),'attrs':{'xmlns':_0xba39c4(0x153),'fill':_0xba39c4(0x1e4),'viewBox':_0xba39c4(0xef),'width':_0xba39c4(0x185),'height':_0xba39c4(0x185)},'children':[{'tag':_0xba39c4(0x155),'attrs':{'stroke':'currentColor','d':_0xba39c4(0x12c),'strokeLinecap':_0xba39c4(0x101),'strokeLinejoin':_0xba39c4(0x101),'strokeWidth':1.33}},{'tag':_0xba39c4(0x155),'attrs':{'stroke':_0xba39c4(0x16b),'d':_0xba39c4(0xf5),'strokeLinecap':_0xba39c4(0x101),'strokeLinejoin':_0xba39c4(0x101),'strokeWidth':1.33}}]},_0x474378=_0x11275e[_0xba39c4(0x267)](function(_0x3ed6d6,_0x2fd424){var _0x502091=_0xba39c4;return _0x11275e[_0x502091(0x195)](_0x361a83,Object[_0x502091(0x11b)]({},_0x3ed6d6,{'id':_0x502091(0x24a),'ref':_0x2fd424,'icon':_0x3baab6}));});_0x474378[_0xba39c4(0x169)]='CloseSmallSingle';var _0x1da5f2={'tag':'svg','attrs':{'xmlns':_0xba39c4(0x153),'fill':_0xba39c4(0x1e4),'viewBox':_0xba39c4(0x1b1),'width':_0xba39c4(0x185),'height':'1em'},'children':[{'tag':_0xba39c4(0x155),'attrs':{'fill':'currentColor','d':_0xba39c4(0x210)}},{'tag':'path','attrs':{'fill':_0xba39c4(0x16b),'d':_0xba39c4(0x103)}},{'tag':_0xba39c4(0x155),'attrs':{'fill':_0xba39c4(0x16b),'d':_0xba39c4(0x100),'fillRule':_0xba39c4(0x163),'clipRule':_0xba39c4(0x163)}}]},_0x42619f=_0x11275e[_0xba39c4(0x267)](function(_0xe321fc,_0x406cb3){var _0x10de10=_0xba39c4;return _0x11275e[_0x10de10(0x195)](_0x361a83,Object['assign']({},_0xe321fc,{'id':_0x10de10(0x249),'ref':_0x406cb3,'icon':_0x1da5f2}));});_0x42619f[_0xba39c4(0x169)]=_0xba39c4(0x1f3);var _0x632ef4={'tag':'svg','attrs':{'xmlns':_0xba39c4(0x153),'fill':_0xba39c4(0x1e4),'viewBox':_0xba39c4(0x1b1),'width':_0xba39c4(0x185),'height':_0xba39c4(0x185)},'children':[{'tag':'g','attrs':{'clipPath':_0xba39c4(0x161)},'children':[{'tag':'path','attrs':{'stroke':_0xba39c4(0x16b),'d':_0xba39c4(0x23a),'strokeLinecap':_0xba39c4(0x101),'strokeLinejoin':_0xba39c4(0x101),'strokeWidth':1.2}}]},{'tag':_0xba39c4(0x14a),'attrs':{},'children':[{'tag':_0xba39c4(0x1d6),'attrs':{'id':_0xba39c4(0x107)},'children':[{'tag':_0xba39c4(0x155),'attrs':{'fill':'white','d':_0xba39c4(0x188)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2dd78c=_0x11275e[_0xba39c4(0x267)](function(_0x49bbf8,_0x45e57e){var _0xd82c0f=_0xba39c4;return _0x11275e[_0xd82c0f(0x195)](_0x361a83,Object[_0xd82c0f(0x11b)]({},_0x49bbf8,{'id':_0xd82c0f(0x26f),'ref':_0x45e57e,'icon':_0x632ef4}));});_0x2dd78c[_0xba39c4(0x169)]=_0xba39c4(0x25a);var _0x2a0598={'tag':_0xba39c4(0xf3),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0xba39c4(0x185),'height':_0xba39c4(0x185)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xba39c4(0x155),'attrs':{'stroke':_0xba39c4(0x16b),'d':_0xba39c4(0x1f7),'strokeLinecap':'round','strokeLinejoin':_0xba39c4(0x101),'strokeWidth':1.2}}]},{'tag':_0xba39c4(0x14a),'attrs':{},'children':[{'tag':_0xba39c4(0x1d6),'attrs':{'id':_0xba39c4(0x1cc)},'children':[{'tag':_0xba39c4(0x155),'attrs':{'fill':'white','d':_0xba39c4(0x188),'transform':_0xba39c4(0x1d5)}}]}]}],'defIds':[_0xba39c4(0x1cc)]},_0x644978=_0x11275e['forwardRef'](function(_0x158100,_0x466762){var _0x1f9009=_0xba39c4;return _0x11275e[_0x1f9009(0x195)](_0x361a83,Object[_0x1f9009(0x11b)]({},_0x158100,{'id':_0x1f9009(0x10e),'ref':_0x466762,'icon':_0x2a0598}));});_0x644978['displayName']=_0xba39c4(0x1e6);function _0x47d1cc(_0xb51e8d){var _0x3a80cf=_0xba39c4,_0x10e722,_0x4a5d05;const {mcpCoreConfig:_0x1b954d,onSave:_0x5622d3,loading:_0x187777=!0x1,config:_0x12ac51,connectionStatus$:_0xe9aa6c,connectionError$:_0x453756}=_0xb51e8d,_0xc1551d=_0x2c04f0[_0x3a80cf(0x258)](_0x2891a4[_0x3a80cf(0x235)]),_0x555ebe=_0x2c04f0[_0x3a80cf(0x217)](_0xe9aa6c,_0xf5456e[_0x3a80cf(0x1b6)][_0x3a80cf(0x1f4)]),_0x10e442=_0x2c04f0[_0x3a80cf(0x217)](_0x453756,_0xf5456e['MCPConnectionError'][_0x3a80cf(0x19f)]),[_0x23a53b,_0x4dd62e]=_0x11275e[_0x3a80cf(0x129)](_0x1b954d['apiKey']||''),_0x37d038=!0x0,_0x4649e3=_0x12ac51[_0x3a80cf(0x142)]&&_0x1b954d[_0x3a80cf(0x18c)]&&(_0x1b954d[_0x3a80cf(0x18c)][_0x3a80cf(0x132)](_0x3a80cf(0x17a))||_0x1b954d[_0x3a80cf(0x18c)][_0x3a80cf(0x132)]('univer.ai')),_0x5dc56c=(_0x10e722=_0x1b954d[_0x3a80cf(0x18c)])==null?void 0x0:_0x10e722[_0x3a80cf(0x132)](_0x3a80cf(0x17a)),_0x3c5583=(_0x4a5d05=_0x1b954d['mcpServerUrl'])==null?void 0x0:_0x4a5d05['includes'](_0x3a80cf(0x20e)),_0x119cea=_0x5dc56c?_0x3a80cf(0x1e0):_0x3a80cf(0x1b8),_0xaa5cf3=_0x12ac51[_0x3a80cf(0x142)]&&(_0x5dc56c||_0x3c5583),[_0x5b2b0d,_0x1c95fa]=_0x11275e[_0x3a80cf(0x129)](!_0x23a53b[_0x3a80cf(0x165)]()),_0x4ade84=(_0x1e6363,_0x333b9a)=>{var _0x1203a4=_0x3a80cf;if(_0x333b9a===_0xf5456e[_0x1203a4(0x182)]['MISSING_API_KEY']||_0x333b9a===_0xf5456e[_0x1203a4(0x182)]['INVALID_API_KEY'])return _0x1203a4(0x26a);switch(_0x1e6363){case _0xf5456e[_0x1203a4(0x1b6)][_0x1203a4(0x1a0)]:return _0x1203a4(0x127);case _0xf5456e[_0x1203a4(0x1b6)][_0x1203a4(0x1a5)]:case _0xf5456e[_0x1203a4(0x1b6)][_0x1203a4(0x134)]:return _0x1203a4(0x21d);case _0xf5456e[_0x1203a4(0x1b6)][_0x1203a4(0x1a4)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x1203a4(0x1ab);}},_0x522b56=(_0x1406a6,_0x153be8)=>{var _0xe43f44=_0x3a80cf;if(_0x153be8===_0xf5456e[_0xe43f44(0x182)][_0xe43f44(0xe6)]||_0x153be8===_0xf5456e[_0xe43f44(0x182)]['INVALID_API_KEY'])return _0xe43f44(0x11f);switch(_0x1406a6){case _0xf5456e[_0xe43f44(0x1b6)][_0xe43f44(0x1a0)]:return'univer-bg-green-500';case _0xf5456e[_0xe43f44(0x1b6)]['CONNECTING']:case _0xf5456e['MCPConnectionStatus'][_0xe43f44(0x134)]:return _0xe43f44(0x154);case _0xf5456e[_0xe43f44(0x1b6)][_0xe43f44(0x1a4)]:return _0xe43f44(0x11f);default:return _0xe43f44(0x15b);}},_0x2d1de4=_0x5acddf=>{var _0x25c2ba=_0x3a80cf;switch(_0x5acddf){case _0xf5456e[_0x25c2ba(0x1b6)]['CONNECTED']:return _0xc1551d['t'](_0x25c2ba(0x1bb));case _0xf5456e[_0x25c2ba(0x1b6)][_0x25c2ba(0x1a5)]:return _0xc1551d['t'](_0x25c2ba(0x22a));case _0xf5456e[_0x25c2ba(0x1b6)][_0x25c2ba(0x1a4)]:return _0xc1551d['t'](_0x25c2ba(0x16d));case _0xf5456e[_0x25c2ba(0x1b6)][_0x25c2ba(0x134)]:return _0xc1551d['t'](_0x25c2ba(0x239));default:return _0xc1551d['t'](_0x25c2ba(0x233));}},_0x290894=_0x45c208=>{var _0x14427c=_0x3a80cf;switch(_0x45c208){case _0xf5456e[_0x14427c(0x182)]['MISSING_API_KEY']:return _0xc1551d['t'](_0x14427c(0x1f2));case _0xf5456e[_0x14427c(0x182)][_0x14427c(0x20c)]:return _0xc1551d['t']('mcpConfig.connectionError.invalidApiKey');case _0xf5456e['MCPConnectionError'][_0x14427c(0x171)]:return _0xc1551d['t'](_0x14427c(0xfd));case _0xf5456e[_0x14427c(0x182)][_0x14427c(0x15a)]:return _0xc1551d['t'](_0x14427c(0x21c));case _0xf5456e['MCPConnectionError'][_0x14427c(0x227)]:return _0xc1551d['t'](_0x14427c(0x222));default:return'';}},_0x40e2b7=_0x11275e['useCallback'](()=>{var _0x2595bd=_0x3a80cf;const _0x4bc292={..._0x1b954d,'apiKey':_0x23a53b[_0x2595bd(0x165)](),'enableAuth':_0x37d038};_0x5622d3(_0x4bc292);},[_0x1b954d,_0x23a53b,_0x37d038,_0x5622d3]),_0x51a5aa=_0x23a53b[_0x3a80cf(0x165)]()['length']>0x0;return _0x2aa594['jsxs'](_0x3a80cf(0x207),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x10b),'children':_0x2aa594['jsxs'](_0x3a80cf(0x207),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x2aa594[_0x3a80cf(0x21b)]('div',{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x1cd),{'className':_0x3a80cf(0x1df),'children':'⚙'})}),_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x207),{'children':_0x2aa594[_0x3a80cf(0x21b)]('p',{'className':_0x3a80cf(0x191),'children':_0xc1551d['t']('mcpConfig.description')})})]})}),_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x207),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x111)+_0x4ade84(_0x555ebe,_0x10e442)+_0x3a80cf(0x223),'children':_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x226),'children':[_0x2aa594[_0x3a80cf(0x21b)]('div',{'className':_0x3a80cf(0x16f)+_0x522b56(_0x555ebe,_0x10e442)+_0x3a80cf(0x1ed)}),_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x1cd),{'className':_0x3a80cf(0x265),'children':_0x2d1de4(_0x555ebe)})]})}),_0x10e442!==_0xf5456e[_0x3a80cf(0x182)][_0x3a80cf(0x19f)]&&(_0x555ebe===_0xf5456e[_0x3a80cf(0x1b6)]['FAILED']||_0x10e442===_0xf5456e[_0x3a80cf(0x182)][_0x3a80cf(0xe6)]||_0x10e442===_0xf5456e[_0x3a80cf(0x182)][_0x3a80cf(0x20c)])&&_0x2aa594[_0x3a80cf(0x21b)]('div',{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x24d),'children':[_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x1cd),{'className':_0x3a80cf(0x17d),'children':'⚠️'}),_0x2aa594[_0x3a80cf(0x21b)]('p',{'className':_0x3a80cf(0x13a),'children':_0x290894(_0x10e442)})]})})]}),_0x2aa594['jsx']('div',{'className':_0x3a80cf(0x140),'children':_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x126),'children':[_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x207),{'className':'univer-space-y-2','children':[_0x2aa594['jsxs'](_0x3a80cf(0x10c),{'className':_0x3a80cf(0x269),'children':[_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x1cd),{'children':'🔑'}),'\x20',_0xc1551d['t'](_0x3a80cf(0x1a8)),_0x2aa594['jsx'](_0x3a80cf(0x1cd),{'className':'univer-text-red-500','children':'*'}),_0x4649e3&&_0x2aa594[_0x3a80cf(0x21b)]('a',{'href':'javascript:void(0)','onClick':()=>_0x1c95fa(!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':_0xc1551d['t']('mcpConfig.apiApplyInfo.title'),'children':_0x2aa594[_0x3a80cf(0x21b)](_0x42619f,{})})]}),_0x2aa594[_0x3a80cf(0x21b)](_0x5d7edd[_0x3a80cf(0x198)],{'type':_0x3a80cf(0x16a),'placeholder':_0xc1551d['t'](_0x3a80cf(0x14d)),'value':_0x23a53b,'onChange':_0x4dd62e,'disabled':_0x187777,'autoComplete':_0x3a80cf(0x205)}),_0x2aa594['jsx']('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0xc1551d['t'](_0x3a80cf(0x221))})]}),_0x4649e3&&_0x5b2b0d&&_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x207),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x2aa594[_0x3a80cf(0x21b)]('a',{'href':_0x3a80cf(0x1d9),'onClick':()=>_0x1c95fa(!0x1),'className':_0x3a80cf(0x21f),'title':_0x3a80cf(0x23c),'children':_0x2aa594[_0x3a80cf(0x21b)](_0x474378,{})}),_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x26c),'children':[_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x1c9),'children':_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x1cd),{'className':'univer-text-blue-600','children':'🚀'})}),_0x2aa594[_0x3a80cf(0x19b)]('div',{'className':_0x3a80cf(0x17e),'children':[_0x2aa594[_0x3a80cf(0x21b)]('h4',{'className':_0x3a80cf(0x1b0),'children':_0xc1551d['t'](_0x3a80cf(0x1f1))}),_0x2aa594[_0x3a80cf(0x21b)]('p',{'className':_0x3a80cf(0xe8),'children':_0xc1551d['t'](_0x3a80cf(0x12d))}),_0x2aa594[_0x3a80cf(0x21b)]('div',{'className':_0x3a80cf(0x123),'children':_0xaa5cf3&&_0x2aa594[_0x3a80cf(0x19b)]('a',{'href':_0x119cea,'target':_0x3a80cf(0x243),'rel':_0x3a80cf(0x143),'className':_0x3a80cf(0x16e),'children':[_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x1cd),{'children':'🤖'}),_0xc1551d['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x1cd),{'className':_0x3a80cf(0x180),'children':'↗'})]})}),_0x2aa594[_0x3a80cf(0x19b)]('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0xc1551d['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x12ac51[_0x3a80cf(0x142)]&&_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x20f),'children':[_0x2aa594[_0x3a80cf(0x19b)]('h4',{'className':_0x3a80cf(0x1c0),'children':[_0x2aa594[_0x3a80cf(0x21b)]('span',{'children':'🔗'}),'\x20',_0xc1551d['t'](_0x3a80cf(0x203))]}),_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x192),'children':[_0x2aa594['jsxs'](_0x3a80cf(0x207),{'className':_0x3a80cf(0x1ca),'children':[_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x201)}),_0x2aa594['jsxs']('div',{'className':_0x3a80cf(0x200),'children':[_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x237),'children':_0xc1551d['t']('mcpConfig.serverEndpoint')}),_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x133),{'className':'univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','children':_0x1b954d['mcpServerUrl']})]})]}),_0x2aa594['jsxs']('div',{'className':_0x3a80cf(0x1ca),'children':[_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x201)}),_0x2aa594['jsxs'](_0x3a80cf(0x207),{'className':_0x3a80cf(0x200),'children':[_0x2aa594['jsx'](_0x3a80cf(0x207),{'className':_0x3a80cf(0x237),'children':_0xc1551d['t'](_0x3a80cf(0x162))}),_0x2aa594[_0x3a80cf(0x21b)]('code',{'className':_0x3a80cf(0x1ee),'children':_0x1b954d['sessionId']||_0x3a80cf(0xf6)})]})]})]})]}),_0x2aa594[_0x3a80cf(0x21b)](_0x5d7edd[_0x3a80cf(0x135)],{'onClick':_0x40e2b7,'disabled':!_0x51a5aa||_0x187777,'className':_0x3a80cf(0x1de),'children':_0x187777?_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x1cd),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x1cd),{'children':'⟲'}),_0xc1551d['t'](_0x3a80cf(0x19d))]}):_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x1cd),{'className':_0x3a80cf(0x226),'children':[_0x2aa594[_0x3a80cf(0x21b)](_0x5d96a9,{}),_0xc1551d['t'](_0x3a80cf(0x1fb))]})}),_0x2aa594['jsx'](_0x3a80cf(0x207),{'className':_0x3a80cf(0x224),'children':_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x20d),'children':[_0x2aa594[_0x3a80cf(0x21b)]('span',{'className':_0x3a80cf(0x14c),'children':'💡'}),_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x1da),'children':[_0x2aa594[_0x3a80cf(0x21b)](_0x3a80cf(0x207),{'className':_0x3a80cf(0x21e),'children':_0x3a80cf(0x1a1)}),_0x2aa594[_0x3a80cf(0x19b)](_0x3a80cf(0x207),{'children':['•',_0xc1551d['t'](_0x3a80cf(0x1be))]}),_0x2aa594[_0x3a80cf(0x19b)]('div',{'children':['•',_0xc1551d['t'](_0x3a80cf(0x151))]})]})]})})]})})]});}const _0x5b53b2='mcp-ui.config',_0x1c45fc={'showDeveloperTools':!0x1};var _0x27e38c=Object['getOwnPropertyDescriptor'],_0xac44cb=(_0x528d11,_0x30c9f8,_0x2c0cff,_0x5e92b9)=>{var _0x4786e0=_0xba39c4;for(var _0x42158a=_0x5e92b9>0x1?void 0x0:_0x5e92b9?_0x27e38c(_0x30c9f8,_0x2c0cff):_0x30c9f8,_0x449a2a=_0x528d11[_0x4786e0(0x110)]-0x1,_0x2bea6b;_0x449a2a>=0x0;_0x449a2a--)(_0x2bea6b=_0x528d11[_0x449a2a])&&(_0x42158a=_0x2bea6b(_0x42158a)||_0x42158a);return _0x42158a;},_0x1a0682=(_0x42ca12,_0x2f0eda)=>(_0x2af9ec,_0x127e96)=>_0x2f0eda(_0x2af9ec,_0x127e96,_0x42ca12);const _0x240de8=_0xba39c4(0x199),_0x3096d1=_0xba39c4(0x251);_0x3268fb[_0xba39c4(0x25c)]=class extends _0x2891a4[_0xba39c4(0x254)]{constructor(_0x467dce,_0x51b6c4,_0x3cf287,_0x1961af,_0x268052,_0x250c47,_0x18e2ff,_0xe35bf7,_0x311422,_0x2c5764){var _0x3a1564=_0xba39c4;super(),_0x41c3ff(this,_0x3a1564(0x268),new _0x9ebfb8['BehaviorSubject'](!0x1)),_0x41c3ff(this,_0x3a1564(0x184),new _0x9ebfb8[(_0x3a1564(0x1b3))]({})),_0x41c3ff(this,_0x3a1564(0x1bd),new _0x9ebfb8[(_0x3a1564(0x1b3))]({})),_0x41c3ff(this,'_handleConfigSave',async _0x547982=>{var _0x30167d=_0x3a1564;this[_0x30167d(0x268)][_0x30167d(0x138)](!0x0);try{const _0x214733=await this[_0x30167d(0x26b)](_0x547982);if(!_0x214733[_0x30167d(0x259)]){this['_messageService'][_0x30167d(0x1c4)]({'type':_0x5d7edd['MessageType']['Error'],'content':_0x214733[_0x30167d(0x1ec)]||this[_0x30167d(0xea)]['t'](_0x30167d(0x19a))});return;}_0x547982[_0x30167d(0x1fd)]?await this['_localStorageService']['setItem'](_0x240de8,_0x547982[_0x30167d(0x1fd)][_0x30167d(0x165)]()):await this[_0x30167d(0x219)][_0x30167d(0x1a7)](_0x240de8),this[_0x30167d(0x172)][_0x30167d(0xee)](_0xf5456e[_0x30167d(0x146)],{..._0x547982,'apiKey':_0x547982['apiKey'][_0x30167d(0x165)]()}),this[_0x30167d(0x184)][_0x30167d(0x138)]({..._0x547982,'apiKey':_0x547982['apiKey'][_0x30167d(0x165)]()}),this[_0x30167d(0x1ce)]['show']({'type':_0x5d7edd[_0x30167d(0x1ef)][_0x30167d(0x159)],'content':this[_0x30167d(0xea)]['t'](_0x30167d(0x24b))}),setTimeout(()=>{this['_dialogService']['close'](_0x3096d1);},0x320);}catch(_0x2bb484){this[_0x30167d(0x1bf)][_0x30167d(0x1d2)](_0x30167d(0x23d),_0x2bb484),this[_0x30167d(0x1ce)][_0x30167d(0x1c4)]({'type':_0x5d7edd[_0x30167d(0x1ef)][_0x30167d(0x14e)],'content':this['_localeService']['t']('mcpConfig.configError')});}finally{this[_0x30167d(0x268)][_0x30167d(0x138)](!0x1);}}),(this[_0x3a1564(0x1a2)]=_0x467dce,this[_0x3a1564(0x215)]=_0x51b6c4,this['_configService']=_0x3cf287,this['_localStorageService']=_0x1961af,this[_0x3a1564(0x166)]=_0x268052,this['_messageService']=_0x250c47,this[_0x3a1564(0x147)]=_0x18e2ff,this[_0x3a1564(0xea)]=_0xe35bf7,this[_0x3a1564(0x1bf)]=_0x311422,this['_mcpConnectionController']=_0x2c5764,this['_initConfigSync'](),this[_0x3a1564(0xe7)](),this[_0x3a1564(0x1d3)]());}['showConfigPanel'](){var _0x4694ca=_0xba39c4;this[_0x4694ca(0x166)]['open']({'id':_0x3096d1,'title':{'title':this[_0x4694ca(0xea)]['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x45dda8=_0x4694ca;this[_0x45dda8(0x166)]['close'](_0x3096d1);}});}[_0xba39c4(0x137)](){var _0x4bdf41=_0xba39c4;return this[_0x4bdf41(0x184)][_0x4bdf41(0x1ad)];}['_registerComponent'](){var _0x160d2b=_0xba39c4;this[_0x160d2b(0x218)](this[_0x160d2b(0x147)][_0x160d2b(0xf2)](_0x160d2b(0x238),this[_0x160d2b(0x211)]()));}[_0xba39c4(0x211)](){var _0x432b4f=_0xba39c4;return _0x2c04f0[_0x432b4f(0x242)](()=>{var _0x44c25b=_0x432b4f,_0x4d860c,_0x53b393;return _0x2aa594[_0x44c25b(0x21b)](_0x47d1cc,{'config':this['_config$'][_0x44c25b(0x1ad)],'mcpCoreConfig':this[_0x44c25b(0x184)][_0x44c25b(0x1ad)],'onSave':this[_0x44c25b(0x196)],'loading':this[_0x44c25b(0x268)]['value'],'connectionStatus$':(_0x4d860c=this[_0x44c25b(0x257)])==null?void 0x0:_0x4d860c[_0x44c25b(0x1c1)],'connectionError$':(_0x53b393=this[_0x44c25b(0x257)])==null?void 0x0:_0x53b393[_0x44c25b(0x11d)]});},this['_injector']);}[_0xba39c4(0x187)](){var _0x3b6739=_0xba39c4;this[_0x3b6739(0x218)](this['_configService']['subscribeConfigValue$'](_0xf5456e[_0x3b6739(0x146)])[_0x3b6739(0x1a6)](_0x5a89e1=>{var _0x54b1d7=_0x3b6739;this[_0x54b1d7(0x184)][_0x54b1d7(0x138)](_0x5a89e1||{});}));const _0x5d90dd=this[_0x3b6739(0x172)][_0x3b6739(0x144)](_0xf5456e['MCP_PLUGIN_CONFIG_KEY']);this[_0x3b6739(0x184)]['next'](_0x5d90dd||{}),this[_0x3b6739(0x218)](this[_0x3b6739(0x172)][_0x3b6739(0x12a)](_0x5b53b2)[_0x3b6739(0x1a6)](_0x4f3d95=>{var _0x4a5d60=_0x3b6739;this[_0x4a5d60(0x1bd)][_0x4a5d60(0x138)](_0x4f3d95||{});}));const _0xca4f50=this[_0x3b6739(0x172)][_0x3b6739(0x144)](_0x5b53b2);this[_0x3b6739(0x1bd)]['next'](_0xca4f50||{});}async[_0xba39c4(0xe7)](){var _0x8d954=_0xba39c4;const _0x14a892=await this['_localStorageService'][_0x8d954(0x1bc)](_0x240de8);if(_0x14a892){const _0x6abe9d={...this[_0x8d954(0x184)]['value'],'apiKey':_0x14a892};this[_0x8d954(0x172)][_0x8d954(0xee)](_0xf5456e['MCP_PLUGIN_CONFIG_KEY'],_0x6abe9d),this['_mcpCoreConfig$'][_0x8d954(0x138)](_0x6abe9d);}}async[_0xba39c4(0x26b)](_0x51b4ea){var _0x10c34f=_0xba39c4;if(!_0x51b4ea[_0x10c34f(0x1fd)]||_0x51b4ea['apiKey'][_0x10c34f(0x165)]()[_0x10c34f(0x110)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x10c34f(0xea)]['t'](_0x10c34f(0x170))};if(_0x51b4ea[_0x10c34f(0x1fd)][_0x10c34f(0x165)]()[_0x10c34f(0x110)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x10c34f(0xea)]['t'](_0x10c34f(0x266))};try{const _0x336ce1=await this['_injector'][_0x10c34f(0xff)](_0xf5456e[_0x10c34f(0x24f)])[_0x10c34f(0x24c)](_0x51b4ea[_0x10c34f(0x1fd)][_0x10c34f(0x165)]());return _0x336ce1[_0x10c34f(0x259)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x336ce1['error']||this[_0x10c34f(0xea)]['t'](_0x10c34f(0xec))};}catch(_0x4e7d40){return console[_0x10c34f(0x18b)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x4e7d40),{'isValid':!0x0};}}},_0x3268fb['MCPConfigUIController']=_0xac44cb([_0x1a0682(0x0,_0x2891a4[_0xba39c4(0x1e7)](_0x2891a4[_0xba39c4(0x17f)])),_0x1a0682(0x1,_0x2c04f0[_0xba39c4(0x158)]),_0x1a0682(0x2,_0x2891a4[_0xba39c4(0x122)]),_0x1a0682(0x3,_0x2891a4[_0xba39c4(0x270)]),_0x1a0682(0x4,_0x2c04f0[_0xba39c4(0x152)]),_0x1a0682(0x5,_0x2c04f0[_0xba39c4(0x1c3)]),_0x1a0682(0x6,_0x2891a4['Inject'](_0x2c04f0[_0xba39c4(0x109)])),_0x1a0682(0x7,_0x2891a4[_0xba39c4(0x1e7)](_0x2891a4[_0xba39c4(0x235)])),_0x1a0682(0x8,_0x2891a4['ILogService']),_0x1a0682(0x9,_0x2891a4[_0xba39c4(0x1e7)](_0xf5456e[_0xba39c4(0x24f)]))],_0x3268fb[_0xba39c4(0x25c)]);const _0x340499={'id':_0xba39c4(0x178),'type':_0x2891a4[_0xba39c4(0x19e)][_0xba39c4(0x1b5)],'handler':async(_0x12ad75,_0x26c2ca)=>(_0x12ad75[_0xba39c4(0xff)](_0x3268fb[_0xba39c4(0x25c)])['showConfigPanel'](),!0x0)};function _0x5ae1f6(_0x348e51,_0x32f860){var _0x2544eb=_0xba39c4;switch(_0x348e51){case _0xf5456e[_0x2544eb(0x1b6)][_0x2544eb(0x1f4)]:return _0x32f860===_0xf5456e['MCPConnectionError'][_0x2544eb(0xe6)]?_0x2544eb(0x173):_0x2544eb(0x240);case _0xf5456e[_0x2544eb(0x1b6)][_0x2544eb(0x1a5)]:return _0x2544eb(0x1e9);case _0xf5456e[_0x2544eb(0x1b6)]['CONNECTED']:return'mcpStatus.connected';case _0xf5456e[_0x2544eb(0x1b6)]['FAILED']:switch(_0x32f860){case _0xf5456e[_0x2544eb(0x182)][_0x2544eb(0x20c)]:return'mcpStatus.invalidApiKey';case _0xf5456e[_0x2544eb(0x182)]['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case _0xf5456e[_0x2544eb(0x182)][_0x2544eb(0x15a)]:return'mcpStatus.networkError';case _0xf5456e[_0x2544eb(0x182)]['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case _0xf5456e[_0x2544eb(0x1b6)][_0x2544eb(0x134)]:return'mcpStatus.retrying';default:return _0x2544eb(0x244);}}function _0x2609b0(_0x322abd,_0x57530a,_0x581fbc){var _0x5633f9=_0xba39c4;const _0x142df5=_0x5ae1f6(_0x322abd,_0x57530a),_0x2d0c0d=_0x581fbc['t'](_0x142df5);return _0x322abd===_0xf5456e[_0x5633f9(0x1b6)][_0x5633f9(0x1f4)]&&_0x57530a===_0xf5456e[_0x5633f9(0x182)][_0x5633f9(0xe6)]?_0x2d0c0d+_0x5633f9(0x181)+_0x581fbc['t']('mcpStatus.clickToConfigure'):_0x322abd===_0xf5456e[_0x5633f9(0x1b6)][_0x5633f9(0x1a0)]?''+_0x2d0c0d:_0x322abd===_0xf5456e['MCPConnectionStatus'][_0x5633f9(0x1f4)]||_0x322abd===_0xf5456e[_0x5633f9(0x1b6)]['FAILED']?_0x2d0c0d+'\x20-\x20'+_0x581fbc['t'](_0x5633f9(0x1c6)):_0x2d0c0d;}function _0x1d6632(_0x1b8a37){var _0x166850=_0xba39c4;switch(_0x1b8a37){case _0xf5456e[_0x166850(0x1b6)][_0x166850(0x1a0)]:return _0x166850(0x1e8);case _0xf5456e[_0x166850(0x1b6)][_0x166850(0x1a5)]:case _0xf5456e[_0x166850(0x1b6)]['RETRYING']:return'univer-text-yellow-500';case _0xf5456e[_0x166850(0x1b6)]['FAILED']:case _0xf5456e[_0x166850(0x1b6)][_0x166850(0x1f4)]:return _0x166850(0x23b);default:return'univer-text-gray-500';}}function _0x565e51(_0xa87d6f){var _0x8ca329=_0xba39c4;const {status$:_0x4e4985,error$:_0x341863,onConfigure:_0x3f5d5b}=_0xa87d6f,_0x43a55f=_0x2c04f0[_0x8ca329(0x217)](_0x4e4985,_0xf5456e[_0x8ca329(0x1b6)][_0x8ca329(0x1f4)]),_0x8fbfa2=_0x2c04f0['useObservable'](_0x341863,_0xf5456e['MCPConnectionError'][_0x8ca329(0x19f)]),_0x50353a=_0x2c04f0[_0x8ca329(0x258)](_0x2891a4['LocaleService']),_0x463642=_0x43a55f===_0xf5456e[_0x8ca329(0x1b6)][_0x8ca329(0x1a0)],_0x4ebcef=_0x43a55f===_0xf5456e[_0x8ca329(0x1b6)]['CONNECTING']||_0x43a55f===_0xf5456e[_0x8ca329(0x1b6)][_0x8ca329(0x134)],_0x3af6e1=_0x50353a['t'](_0x5ae1f6(_0x43a55f,_0x8fbfa2)),_0x3a92b0=_0x2609b0(_0x43a55f,_0x8fbfa2,_0x50353a),_0x1c71d7=_0x1d6632(_0x43a55f),_0x1266de=_0x463642?_0x2aa594['jsx'](_0x644978,{}):_0x2aa594[_0x8ca329(0x21b)](_0x2dd78c,{}),_0x3de407=_0x11275e[_0x8ca329(0x183)](()=>{_0x3f5d5b&&_0x3f5d5b();},[_0x463642,_0x4ebcef,_0x3f5d5b]);function _0x506293(){var _0x3aa3d0=_0x8ca329;return _0x2aa594[_0x3aa3d0(0x19b)]('div',{'className':_0x5d7edd[_0x3aa3d0(0x231)](_0x3aa3d0(0x186),_0x3f5d5b&&'hover:univer-opacity-80'),'onClick':_0x3f5d5b?_0x3de407:void 0x0,'children':[_0x2aa594[_0x3aa3d0(0x21b)]('div',{'className':_0x5d7edd[_0x3aa3d0(0x231)](_0x3aa3d0(0x168),_0x1c71d7),'children':_0x1266de}),_0x2aa594[_0x3aa3d0(0x21b)](_0x3aa3d0(0x207),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3af6e1})]});}return _0x2aa594[_0x8ca329(0x21b)](_0x5d7edd['Tooltip'],{'title':_0x3a92b0,'placement':'bottom','children':_0x506293()});}var _0x1f3656=Object['getOwnPropertyDescriptor'],_0x2b09f3=(_0x513027,_0x19f1d8,_0x1fd7ed,_0x1bdc84)=>{for(var _0xddc3d4=_0x1bdc84>0x1?void 0x0:_0x1bdc84?_0x1f3656(_0x19f1d8,_0x1fd7ed):_0x19f1d8,_0x4f2596=_0x513027['length']-0x1,_0xb4a4c0;_0x4f2596>=0x0;_0x4f2596--)(_0xb4a4c0=_0x513027[_0x4f2596])&&(_0xddc3d4=_0xb4a4c0(_0xddc3d4)||_0xddc3d4);return _0xddc3d4;},_0x13118d=(_0x3701fd,_0x26ddc7)=>(_0x57ebe4,_0x3d1969)=>_0x26ddc7(_0x57ebe4,_0x3d1969,_0x3701fd);_0x3268fb[_0xba39c4(0x25b)]=class extends _0x2891a4['Disposable']{constructor(_0x5076a9,_0x22d473,_0x1ce9b0){var _0xd917e=_0xba39c4;super(),this[_0xd917e(0x1a2)]=_0x5076a9,this[_0xd917e(0x1fa)]=_0x22d473,this['_uiPartsService']=_0x1ce9b0,this['_initStatusComponent']();}[_0xba39c4(0x255)](){var _0x17f974=_0xba39c4;this[_0x17f974(0x218)](this['_uiPartsService'][_0x17f974(0x1af)](_0x2c04f0[_0x17f974(0x214)][_0x17f974(0x125)],()=>_0x2c04f0['connectInjector'](_0x4e1041({'status$':this['_connectionController'][_0x17f974(0x1c1)],'error$':this[_0x17f974(0x1fa)][_0x17f974(0x11d)],'onConfigure':()=>this[_0x17f974(0x160)]()}),this[_0x17f974(0x1a2)])));}[_0xba39c4(0x160)](){var _0x5306d8=_0xba39c4;this['_injector'][_0x5306d8(0xff)](_0x3268fb[_0x5306d8(0x25c)])[_0x5306d8(0x230)]();}},_0x3268fb[_0xba39c4(0x25b)]=_0x2b09f3([_0x13118d(0x0,_0x2891a4[_0xba39c4(0x1e7)](_0x2891a4[_0xba39c4(0x17f)])),_0x13118d(0x1,_0x2891a4['Inject'](_0xf5456e['MCPConnectionController'])),_0x13118d(0x2,_0x2c04f0[_0xba39c4(0x158)])],_0x3268fb['MCPConnectionUIController']);function _0x4e1041(_0x22b537){const {status$:_0x4bd21a,error$:_0x5f522a,onConfigure:_0x113071}=_0x22b537;return function(){return _0x2aa594['jsx'](_0x565e51,{'status$':_0x4bd21a,'error$':_0x5f522a,'onConfigure':_0x113071});};}function _0x9ba92f(_0x5f4840){var _0x5d76a0=_0xba39c4;return{'id':_0x340499['id'],'type':_0x2c04f0[_0x5d76a0(0x13c)][_0x5d76a0(0xe9)],'icon':_0x5d76a0(0x105),'title':'mcpConfig.title','tooltip':_0x5d76a0(0x245)};}const _0x3c17cb={[_0x2c04f0[_0xba39c4(0x102)][_0xba39c4(0x117)]]:{[_0x340499['id']]:{'order':0xa,'menuItemFactory':_0x9ba92f}}};var _0x19eae1=Object['getOwnPropertyDescriptor'],_0x2ee712=(_0x500fd5,_0x104941,_0x56fc4a,_0x19ba10)=>{var _0x2bc484=_0xba39c4;for(var _0x2f665a=_0x19ba10>0x1?void 0x0:_0x19ba10?_0x19eae1(_0x104941,_0x56fc4a):_0x104941,_0xf3925=_0x500fd5[_0x2bc484(0x110)]-0x1,_0x349887;_0xf3925>=0x0;_0xf3925--)(_0x349887=_0x500fd5[_0xf3925])&&(_0x2f665a=_0x349887(_0x2f665a)||_0x2f665a);return _0x2f665a;},_0x37e00b=(_0x325fbe,_0x4968dc)=>(_0x3f51f0,_0x559fc4)=>_0x4968dc(_0x3f51f0,_0x559fc4,_0x325fbe);_0x3268fb['MCPUIMenuController']=class extends _0x2891a4['Disposable']{constructor(_0x2f9a1e,_0x40caad){var _0x5499b9=_0xba39c4;super(),this['_commandService']=_0x2f9a1e,this[_0x5499b9(0x220)]=_0x40caad,this[_0x5499b9(0x164)](),this[_0x5499b9(0x10d)]();}[_0xba39c4(0x164)](){var _0x2222e2=_0xba39c4;[_0x340499][_0x2222e2(0x234)](_0x14acdf=>{var _0x2859fd=_0x2222e2;this['disposeWithMe'](this[_0x2859fd(0x1b7)][_0x2859fd(0x1aa)](_0x14acdf));});}['_initializeMenus'](){var _0x1d3c5a=_0xba39c4;this[_0x1d3c5a(0x220)]['mergeMenu'](_0x3c17cb);}},_0x3268fb['MCPUIMenuController']=_0x2ee712([_0x37e00b(0x0,_0x2891a4['ICommandService']),_0x37e00b(0x1,_0x2c04f0[_0xba39c4(0x22f)])],_0x3268fb[_0xba39c4(0x1fc)]);const _0x5cff62={'mcpStatus':{'disconnected':_0xba39c4(0x1e5),'connecting':_0xba39c4(0x1c2),'connected':_0xba39c4(0x209),'failed':_0xba39c4(0x149),'retrying':_0xba39c4(0x15e),'unknown':_0xba39c4(0x208),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0xba39c4(0x1eb),'sessionOccupied':_0xba39c4(0x1d0),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xba39c4(0x12e),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0xba39c4(0x136)},'mcpConfig':{'title':_0xba39c4(0x16c),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xba39c4(0x131),'apiKeyPlaceholder':_0xba39c4(0x15f),'apiKeyHint':_0xba39c4(0x189),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0xba39c4(0x19c),'connectionInfo':'Connection\x20Information','serverEndpoint':_0xba39c4(0x212),'sessionId':_0xba39c4(0x26e),'maxRetries':_0xba39c4(0x177),'save':_0xba39c4(0x14f),'saving':_0xba39c4(0x194),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xba39c4(0x202),'configSaved':_0xba39c4(0x112),'configError':_0xba39c4(0x150),'apiApplyInfo':{'title':_0xba39c4(0x193),'description':_0xba39c4(0x176),'univerAiLabel':_0xba39c4(0x213),'getStarted':_0xba39c4(0x18a)},'validation':{'apiKeyRequired':_0xba39c4(0x1f5),'apiKeyTooShort':_0xba39c4(0x1dd),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0xba39c4(0x1a3)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0xba39c4(0x114),'connected':_0xba39c4(0x1fe),'failed':'Connection\x20Failed','retrying':_0xba39c4(0x1dc)},'connectionError':{'missingApiKey':_0xba39c4(0x1ac),'invalidApiKey':_0xba39c4(0xfc),'sessionOccupied':_0xba39c4(0x23f),'networkError':_0xba39c4(0x145),'maxRetriesExceeded':_0xba39c4(0x104)}}},_0x562c13={'mcpStatus':{'disconnected':_0xba39c4(0x113),'connecting':_0xba39c4(0x11c),'connected':_0xba39c4(0x119),'failed':_0xba39c4(0x261),'retrying':_0xba39c4(0x1b2),'unknown':'MCP\x20状态未知','missingApiKey':_0xba39c4(0xf8),'invalidApiKey':_0xba39c4(0x1d8),'sessionOccupied':_0xba39c4(0x179),'networkError':_0xba39c4(0x23e),'maxRetriesExceeded':_0xba39c4(0x1ba),'clickToConnect':_0xba39c4(0x1f0),'clickToConfigure':_0xba39c4(0x1b9)},'mcpConfig':{'title':_0xba39c4(0x1db),'description':_0xba39c4(0x20b),'apiKey':_0xba39c4(0x118),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0xba39c4(0x13f),'enableAuth':_0xba39c4(0x13d),'enableAuthHint':_0xba39c4(0x115),'connectionInfo':'连接信息','serverEndpoint':_0xba39c4(0x26d),'sessionId':_0xba39c4(0x14b),'maxRetries':_0xba39c4(0x11a),'save':_0xba39c4(0x225),'saving':_0xba39c4(0x1f9),'note1':_0xba39c4(0xfa),'note2':_0xba39c4(0x216),'configSaved':_0xba39c4(0x1d1),'configError':'配置保存失败','apiApplyInfo':{'title':_0xba39c4(0x256),'description':_0xba39c4(0x24e),'univerAiLabel':_0xba39c4(0x263),'getStarted':_0xba39c4(0x1b4)},'validation':{'apiKeyRequired':_0xba39c4(0x1f6),'apiKeyTooShort':_0xba39c4(0x204),'invalidConfig':'配置无效','invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0xba39c4(0x206),'connecting':_0xba39c4(0x175),'connected':'已连接','failed':_0xba39c4(0x25f),'retrying':'重连中...'},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':'会话当前被占用,请稍后再试','networkError':_0xba39c4(0x1cf),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x5b421f=Object['defineProperty'],_0x34e86c=Object[_0xba39c4(0x250)],_0x91d815=(_0x24cba8,_0x397c6a,_0xcef36)=>_0x397c6a in _0x24cba8?_0x5b421f(_0x24cba8,_0x397c6a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcef36}):_0x24cba8[_0x397c6a]=_0xcef36,_0x207797=(_0x52ce47,_0x5293ca,_0x57974e,_0x9247eb)=>{var _0x338cc9=_0xba39c4;for(var _0x14eac4=_0x9247eb>0x1?void 0x0:_0x9247eb?_0x34e86c(_0x5293ca,_0x57974e):_0x5293ca,_0x3784f7=_0x52ce47[_0x338cc9(0x110)]-0x1,_0x3edfe1;_0x3784f7>=0x0;_0x3784f7--)(_0x3edfe1=_0x52ce47[_0x3784f7])&&(_0x14eac4=_0x3edfe1(_0x14eac4)||_0x14eac4);return _0x14eac4;},_0x4e0e43=(_0x42b49f,_0x41cde9)=>(_0x82c064,_0x4ca12e)=>_0x41cde9(_0x82c064,_0x4ca12e,_0x42b49f),_0x1debdc=(_0x21cac4,_0x458fa4,_0x23f5ee)=>_0x91d815(_0x21cac4,_0x458fa4+'',_0x23f5ee);_0x3268fb[_0xba39c4(0x25e)]=class extends _0x2891a4[_0xba39c4(0x1a9)]{constructor(_0x1db57d=_0x1c45fc,_0x371f87,_0x38400c,_0x15a374,_0x55e3ac,_0x13272b){var _0x13ad6e=_0xba39c4;super(),this[_0x13ad6e(0x236)]=_0x1db57d,this[_0x13ad6e(0x1a2)]=_0x371f87,this[_0x13ad6e(0x172)]=_0x38400c,this[_0x13ad6e(0x215)]=_0x15a374,this['_localStorageService']=_0x55e3ac,this[_0x13ad6e(0xea)]=_0x13272b;const {..._0x1fd1c7}=_0x2891a4[_0x13ad6e(0x124)]({},_0x1c45fc,this[_0x13ad6e(0x236)]);this['_configService'][_0x13ad6e(0xee)](_0x5b53b2,_0x1fd1c7);}async[_0xba39c4(0x22c)](){var _0x307e86=_0xba39c4;[[_0x3268fb[_0x307e86(0x25b)]],[_0x3268fb[_0x307e86(0x25c)]],[_0x3268fb[_0x307e86(0x1fc)]]][_0x307e86(0x234)](_0x2d3a4b=>this[_0x307e86(0x1a2)][_0x307e86(0xf1)](_0x2d3a4b)),this[_0x307e86(0x1a2)][_0x307e86(0xff)](_0x3268fb[_0x307e86(0x25b)]),this[_0x307e86(0x1a2)][_0x307e86(0xff)](_0x3268fb[_0x307e86(0x25c)]),this[_0x307e86(0x1a2)][_0x307e86(0xff)](_0x3268fb[_0x307e86(0x1fc)]);}},_0x1debdc(_0x3268fb[_0xba39c4(0x25e)],_0xba39c4(0xf7),_0xba39c4(0x1d4)),_0x3268fb[_0xba39c4(0x25e)]=_0x207797([_0x2891a4[_0xba39c4(0x260)](_0xf5456e[_0xba39c4(0x108)]),_0x4e0e43(0x1,_0x2891a4[_0xba39c4(0x1e7)](_0x2891a4[_0xba39c4(0x17f)])),_0x4e0e43(0x2,_0x2891a4[_0xba39c4(0x122)]),_0x4e0e43(0x3,_0x2c04f0[_0xba39c4(0x158)]),_0x4e0e43(0x4,_0x2891a4[_0xba39c4(0x270)]),_0x4e0e43(0x5,_0x2891a4['Inject'](_0x2891a4['LocaleService']))],_0x3268fb['UniverMCPUIPlugin']),_0x3268fb[_0xba39c4(0x238)]=_0x47d1cc,_0x3268fb['MCPStatusDisplay']=_0x565e51,_0x3268fb[_0xba39c4(0x1c8)]=_0x340499,_0x3268fb['enUS']=_0x5cff62,_0x3268fb[_0xba39c4(0x18f)]=_0x562c13,Object[_0xba39c4(0x139)](_0x3268fb,Symbol[_0xba39c4(0x106)],{'value':_0xba39c4(0x248)});}));function _0x59b3(_0x409aa2,_0x380751){var _0x47231f=_0x4723();return _0x59b3=function(_0x59b3d4,_0xd1f343){_0x59b3d4=_0x59b3d4-0xe6;var _0x3f8a50=_0x47231f[_0x59b3d4];return _0x3f8a50;},_0x59b3(_0x409aa2,_0x380751);}function _0x4723(){var _0x3c5973=['mcpConfig.validation.invalidConfig','jsxs','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.saving','CommandType','NONE','CONNECTED','Configuration\x20Notes:','_injector','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','FAILED','CONNECTING','subscribe','removeItem','mcpConfig.apiKey','Plugin','registerCommand','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','API\x20key\x20is\x20required\x20to\x20connect','value','map','registerComponent','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','0\x200\x2016\x2016','MCP\x20重连中...','BehaviorSubject','几秒钟内获取您的\x20API\x20密钥','COMMAND','MCPConnectionStatus','_commandService','https://console.univer.ai','点击配置\x20MCP','MCP:\x20超出最大重试次数','mcpConfig.connectionStatus.connected','getItem','_config$','mcpConfig.note1','_logService','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','connectionStatus$','MCP\x20Connecting...','IMessageService','show','current','mcpStatus.clickToConnect','propertyIsEnumerable','OpenMCPConfigPanelCommand','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','univer-flex\x20univer-items-start\x20univer-gap-3','amd','on-line-icon_clip0_910_349','span','_messageService','网络连接错误,请检查您的网络连接','MCP:\x20Session\x20Occupied','配置保存成功','error','_registerComponent','MCP_UI_PLUGIN','translate(.97)','clipPath','useRef','MCP:\x20无效的\x20API\x20密钥','javascript:void(0)','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','MCP\x20配置','Retrying...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer-text-white','https://console.univer.plus','594744zZEzEH','fill','colorChannel1','none','MCP\x20Disconnected','OnLineIcon','Inject','univer-text-green-500','mcpStatus.connecting','UniverIcon','MCP:\x20Invalid\x20API\x20Key','errorMessage','\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','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','MessageType','点击连接\x20MCP','mcpConfig.apiApplyInfo.title','mcpConfig.connectionError.missingApiKey','HelpSingle','DISCONNECTED','API\x20key\x20is\x20required','API\x20密钥不能为空','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','univerjs-icon\x20univerjs-icon-','保存中...','_connectionController','mcpConfig.save','MCPUIMenuController','apiKey','Connected','tag','univer-min-w-0\x20univer-flex-1','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpConfig.connectionInfo','API\x20密钥长度至少需要\x2010\x20位','off','未连接','div','MCP\x20Unknown\x20Status','MCP\x20Connected','CheckMarkIcon','配置\x20MCP\x20使用\x20AI\x20操作电子表格','INVALID_API_KEY','univer-flex\x20univer-gap-3','univer.ai','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','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','_createConfigPanelComponent','Server\x20Endpoint','Univer\x20AI\x20Console','BuiltInUIPart','_uiPartsService','您的\x20API\x20密钥安全存储在本地存储中','useObservable','disposeWithMe','_localStorageService','call','jsx','mcpConfig.connectionError.networkError','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-font-medium','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','_menuManagerService','mcpConfig.apiKeyHint','mcpConfig.connectionError.maxRetriesExceeded','\x0a\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-flex\x20univer-items-center\x20univer-gap-2','MAX_RETRIES_EXCEEDED','concat','idSuffix','mcpConfig.connectionStatus.connecting','url(#$1','onStarting','UniverProMcpUi','extend','IMenuManagerService','showConfigPanel','clsx','symbol','mcpConfig.connectionStatus.disconnected','forEach','LocaleService','_config','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','MCPConfigPanel','mcpConfig.connectionStatus.retrying','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','univer-text-red-500','Close','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','MCP:\x20网络错误','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','mcpStatus.disconnected','string','connectInjector','_blank','mcpStatus.unknown','mcpConfig.title','prototype','359412xhtPwh','Module','help-single','close-small-single','mcpConfig.configSaved','validateApiKey','univer-flex\x20univer-items-start\x20univer-gap-2','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MCPConnectionController','getOwnPropertyDescriptor','mcp-config-dialog','attrs','object','Disposable','_initStatusComponent','什么是\x20API\x20密钥?','_mcpConnectionController','useDependency','isValid','OffLineIcon','MCPConnectionUIController','MCPConfigUIController','react','UniverMCPUIPlugin','连接失败','DependentOn','MCP\x20连接失败','xlink:href','Univer\x20AI\x20控制台','className','univer-text-sm\x20univer-font-medium','mcpConfig.validation.apiKeyTooShort','forwardRef','_loading$','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','_validateConfig','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','服务器端点','Session\x20ID','off-line-icon','ILocalStorageService','MISSING_API_KEY','_loadStoredApiKey','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','BUTTON','_localeService','hasOwnProperty','mcpConfig.validation.invalidApiKey','exports','setConfig','0\x200\x2017\x2017','@univerjs/design','add','register','svg','React','M5.21243\x2012.287L11.8791\x205.62036','default','pluginName','MCP:\x20缺少\x20API\x20密钥','defIds','配置更改将立即生效','3821859sBTxBN','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','mcpConfig.connectionError.sessionOccupied','@univerjs/ui','get','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','round','RibbonStartGroup','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','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MenuIcon','toStringTag','off-line-icon_clip0_910_343','UniverMCPPlugin','ComponentManager','replace','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','label','_initializeMenus','on-line-icon','UniverCore','length','\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','Configuration\x20saved\x20successfully','MCP\x20已断开','Connecting...','启用身份验证以获得安全连接','19610860bWqWby','OTHERS','API\x20密钥','MCP\x20已连接','最大重试次数','assign','MCP\x20连接中...','connectionError$','24oXrJbh','univer-bg-red-500','getOwnPropertySymbols','substring','IConfigService','univer-flex\x20univer-flex-wrap\x20univer-gap-2','merge','HEADER_MENU','univer-space-y-5','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','3WmvqRR','useState','subscribeConfigValue$','723821SRNXgv','M5.21243\x205.62036L11.8791\x2012.287','mcpConfig.apiApplyInfo.description','MCP:\x20Max\x20Retries\x20Exceeded','mask','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','API\x20Key','includes','code','RETRYING','Button','Click\x20to\x20configure\x20MCP','getCurrentConfig','next','defineProperty','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','random','MenuItemType','启用身份验证','function','您的\x20API\x20密钥将在此浏览器中本地存储','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','4339240CMBvAF','showDeveloperTools','noopener\x20noreferrer','getConfig','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP_PLUGIN_CONFIG_KEY','_componentManager','UniverProMcp','MCP\x20Connection\x20Failed','defs','会话ID','univer-flex-shrink-0\x20univer-text-blue-500','mcpConfig.apiKeyPlaceholder','Error','Save\x20Configuration','Failed\x20to\x20save\x20configuration','mcpConfig.note2','IDialogService','http://www.w3.org/2000/svg','univer-bg-blue-500','path','children','12iDzxDI','IUIPartsService','Success','NETWORK_ERROR','univer-bg-gray-500','11upoyTX','6276888RgweeI','MCP\x20Retrying...','Enter\x20your\x20API\x20key','_handleConfigure','url(#off-line-icon_clip0_910_343)','mcpConfig.sessionId','evenodd','_initializeCommands','trim','_dialogService','entries','univer-mr-2\x20univer-flex\x20univer-text-xl','displayName','text','currentColor','MCP\x20Configuration','mcpConfig.connectionStatus.failed','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','\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.validation.apiKeyRequired','SESSION_ID_OCCUPIED','_configService','mcpStatus.missingApiKey','react/jsx-runtime','连接中...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Max\x20Retries','mcp-ui.command.openConfigPanel','MCP:\x20会话被占用','univer.plus','@univerjs/core','indexOf','univer-flex-shrink-0\x20univer-text-red-500','univer-flex-1','Injector','univer-text-gray-400','\x20-\x20','MCPConnectionError','useCallback','_mcpCoreConfig$','1em','univer-flex\x20univer-cursor-pointer\x20univer-items-center','_initConfigSync','M0\x200H16V16H0z','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Get\x20your\x20API\x20key\x20in\x20seconds','warn','mcpServerUrl','check-mark-icon','use','zhCN','icon','univer-text-sm\x20univer-text-gray-500','univer-space-y-3','What\x20is\x20API\x20Key?','Saving...','createElement','_handleConfigSave','rxjs','Input','mcp.apiKey'];_0x4723=function(){return _0x3c5973;};return _0x4723();}
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x26bd(_0xd9c7ae,_0x33a5d9){var _0x4d6cfa=_0x4d6c();return _0x26bd=function(_0x26bd79,_0x4f2fe5){_0x26bd79=_0x26bd79-0x6c;var _0x5e1ca7=_0x4d6cfa[_0x26bd79];return _0x5e1ca7;},_0x26bd(_0xd9c7ae,_0x33a5d9);}function _0x4d6c(){var _0x394ecf=['Server\x20Endpoint','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Saving...','3344SfwMbx','3329640GqeTdk','Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Session\x20Occupied','MCP\x20Disconnected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','What\x20is\x20API\x20Key?','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connection\x20Failed','42sUigAs','API\x20key\x20is\x20required\x20to\x20connect','763640cjIhze','Connected','MCP\x20Configuration','Connection\x20Information','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Disconnected','MCP\x20Unknown\x20Status','MCP\x20Retrying...','Configuration\x20saved\x20successfully','function','Max\x20Retries','205125RRfTOx','MCP:\x20API\x20Key\x20Missing','1917042TnkmVR','Univer\x20AI\x20Console','exports','MCP\x20Connected','MCP:\x20Network\x20Error','Click\x20to\x20configure\x20MCP','5xGwmRG','492948rpAYGp','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20is\x20required','Save\x20Configuration','MCP\x20Connection\x20Failed','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','7MzOhot','Enable\x20Authentication','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Session\x20ID','MCP\x20Connecting...','API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','UniverProMcpUiCaES','2359356oERBGA'];_0x4d6c=function(){return _0x394ecf;};return _0x4d6c();}(function(_0x389b6f,_0x4dfab1){var _0x22656c=_0x26bd,_0x22181f=_0x389b6f();while(!![]){try{var _0x49e6c8=parseInt(_0x22656c(0x9b))/0x1+-parseInt(_0x22656c(0x83))/0x2*(-parseInt(_0x22656c(0x8e))/0x3)+parseInt(_0x22656c(0x7f))/0x4*(parseInt(_0x22656c(0x6f))/0x5)+-parseInt(_0x22656c(0x9d))/0x6+-parseInt(_0x22656c(0x76))/0x7*(-parseInt(_0x22656c(0x90))/0x8)+parseInt(_0x22656c(0x70))/0x9+-parseInt(_0x22656c(0x84))/0xa;if(_0x49e6c8===_0x4dfab1)break;else _0x22181f['push'](_0x22181f['shift']());}catch(_0x1f6e42){_0x22181f['push'](_0x22181f['shift']());}}}(_0x4d6c,0x4d2e0),function(_0x26c4c3,_0x130343){var _0x4d1c9c=_0x26bd;typeof exports=='object'&&typeof module<'u'?module[_0x4d1c9c(0x9f)]=_0x130343():typeof define==_0x4d1c9c(0x99)&&define['amd']?define(_0x130343):(_0x26c4c3=typeof globalThis<'u'?globalThis:_0x26c4c3||self,_0x26c4c3[_0x4d1c9c(0x7e)]=_0x130343());}(this,function(){'use strict';var _0x20bed4=_0x26bd;return{'mcpStatus':{'disconnected':_0x20bed4(0x88),'connecting':_0x20bed4(0x7a),'connected':_0x20bed4(0x6c),'failed':_0x20bed4(0x74),'retrying':_0x20bed4(0x97),'unknown':_0x20bed4(0x96),'missingApiKey':_0x20bed4(0x9c),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x20bed4(0x87),'networkError':_0x20bed4(0x6d),'maxRetriesExceeded':_0x20bed4(0x71),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x20bed4(0x6e)},'mcpConfig':{'title':_0x20bed4(0x92),'description':_0x20bed4(0x89),'apiKey':_0x20bed4(0x7b),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x20bed4(0x7d),'enableAuth':_0x20bed4(0x77),'enableAuthHint':_0x20bed4(0x86),'connectionInfo':_0x20bed4(0x93),'serverEndpoint':_0x20bed4(0x80),'sessionId':_0x20bed4(0x79),'maxRetries':_0x20bed4(0x9a),'save':_0x20bed4(0x73),'saving':_0x20bed4(0x82),'note1':_0x20bed4(0x8c),'note2':_0x20bed4(0x8a),'configSaved':_0x20bed4(0x98),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x20bed4(0x8b),'description':_0x20bed4(0x81),'univerAiLabel':_0x20bed4(0x9e),'getStarted':_0x20bed4(0x7c)},'validation':{'apiKeyRequired':_0x20bed4(0x72),'apiKeyTooShort':_0x20bed4(0x94),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x20bed4(0x95),'connecting':_0x20bed4(0x85),'connected':_0x20bed4(0x91),'failed':_0x20bed4(0x8d),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x20bed4(0x8f),'invalidApiKey':_0x20bed4(0x78),'sessionOccupied':_0x20bed4(0x75),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2843(_0x4a4f71,_0x26c2fc){var _0x10080a=_0x1008();return _0x2843=function(_0x2843bb,_0x2f1ed0){_0x2843bb=_0x2843bb-0x6c;var _0x1a8b8b=_0x10080a[_0x2843bb];return _0x1a8b8b;},_0x2843(_0x4a4f71,_0x26c2fc);}(function(_0x723680,_0x49eaec){var _0x2f0408=_0x2843,_0x5196cb=_0x723680();while(!![]){try{var _0x4e912f=-parseInt(_0x2f0408(0x9a))/0x1+-parseInt(_0x2f0408(0x7d))/0x2+-parseInt(_0x2f0408(0x76))/0x3+-parseInt(_0x2f0408(0x7c))/0x4+-parseInt(_0x2f0408(0x8a))/0x5*(parseInt(_0x2f0408(0x87))/0x6)+-parseInt(_0x2f0408(0x9e))/0x7+parseInt(_0x2f0408(0x6e))/0x8;if(_0x4e912f===_0x49eaec)break;else _0x5196cb['push'](_0x5196cb['shift']());}catch(_0x11b8c9){_0x5196cb['push'](_0x5196cb['shift']());}}}(_0x1008,0x39fe7),function(_0x16be7f,_0x1fb897){var _0x2ba751=_0x2843;typeof exports==_0x2ba751(0x92)&&typeof module<'u'?module[_0x2ba751(0x93)]=_0x1fb897():typeof define==_0x2ba751(0x8c)&&define[_0x2ba751(0x80)]?define(_0x1fb897):(_0x16be7f=typeof globalThis<'u'?globalThis:_0x16be7f||self,_0x16be7f['UniverProMcpUiEnUS']=_0x1fb897());}(this,function(){'use strict';var _0x25eadc=_0x2843;return{'mcpStatus':{'disconnected':_0x25eadc(0x9d),'connecting':_0x25eadc(0x95),'connected':_0x25eadc(0x7a),'failed':_0x25eadc(0x84),'retrying':_0x25eadc(0x72),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x25eadc(0x86),'invalidApiKey':_0x25eadc(0x85),'sessionOccupied':_0x25eadc(0x71),'networkError':_0x25eadc(0x7e),'maxRetriesExceeded':_0x25eadc(0x96),'clickToConnect':_0x25eadc(0x90),'clickToConfigure':_0x25eadc(0x9b)},'mcpConfig':{'title':_0x25eadc(0x7b),'description':_0x25eadc(0x89),'apiKey':_0x25eadc(0x73),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x25eadc(0x97),'enableAuth':_0x25eadc(0x6f),'enableAuthHint':_0x25eadc(0x99),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x25eadc(0x6c),'sessionId':_0x25eadc(0x83),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x25eadc(0x94),'note1':_0x25eadc(0x82),'note2':_0x25eadc(0x8d),'configSaved':_0x25eadc(0x7f),'configError':_0x25eadc(0x74),'apiApplyInfo':{'title':_0x25eadc(0x8b),'description':_0x25eadc(0x79),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x25eadc(0x81)},'validation':{'apiKeyRequired':_0x25eadc(0x75),'apiKeyTooShort':_0x25eadc(0x91),'invalidConfig':_0x25eadc(0x98),'invalidApiKey':_0x25eadc(0x8e)},'connectionStatus':{'disconnected':_0x25eadc(0x6d),'connecting':_0x25eadc(0x77),'connected':_0x25eadc(0x8f),'failed':_0x25eadc(0x88),'retrying':'Retrying...'},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x25eadc(0x78),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x25eadc(0x70),'maxRetriesExceeded':_0x25eadc(0x9c)}}};}));function _0x1008(){var _0x1f414e=['MCP\x20Connecting...','MCP:\x20Max\x20Retries\x20Exceeded','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','284558rRpMGi','Click\x20to\x20configure\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Disconnected','1009358OBfwEL','Server\x20Endpoint','Disconnected','9164672XcJIxU','Enable\x20Authentication','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Session\x20Occupied','MCP\x20Retrying...','API\x20Key','Failed\x20to\x20save\x20configuration','API\x20key\x20is\x20required','11676vwifpX','Connecting...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','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\x20Connected','MCP\x20Configuration','25028shpbAA','533818VqxLzP','MCP:\x20Network\x20Error','Configuration\x20saved\x20successfully','amd','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session\x20ID','MCP\x20Connection\x20Failed','MCP:\x20Invalid\x20API\x20Key','MCP:\x20API\x20Key\x20Missing','6rQbuGW','Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','1011155MJWffh','What\x20is\x20API\x20Key?','function','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connected','Click\x20to\x20connect\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','object','exports','Saving...'];_0x1008=function(){return _0x1f414e;};return _0x1008();}
|
package/lib/umd/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4326(_0x4964ab,_0x5c7b1f){var _0x1e896e=_0x1e89();return _0x4326=function(_0x4326d6,_0x469ce2){_0x4326d6=_0x4326d6-0x194;var _0x5538a0=_0x1e896e[_0x4326d6];return _0x5538a0;},_0x4326(_0x4964ab,_0x5c7b1f);}(function(_0x4c670d,_0x5b0de1){var _0x172b15=_0x4326,_0x2277a8=_0x4c670d();while(!![]){try{var _0x3c5849=-parseInt(_0x172b15(0x1c4))/0x1+-parseInt(_0x172b15(0x1bf))/0x2*(parseInt(_0x172b15(0x1b6))/0x3)+parseInt(_0x172b15(0x1ba))/0x4+-parseInt(_0x172b15(0x1b9))/0x5*(-parseInt(_0x172b15(0x1c2))/0x6)+-parseInt(_0x172b15(0x1a9))/0x7*(-parseInt(_0x172b15(0x1b2))/0x8)+-parseInt(_0x172b15(0x1b1))/0x9+parseInt(_0x172b15(0x19c))/0xa*(parseInt(_0x172b15(0x1af))/0xb);if(_0x3c5849===_0x5b0de1)break;else _0x2277a8['push'](_0x2277a8['shift']());}catch(_0x49de2d){_0x2277a8['push'](_0x2277a8['shift']());}}}(_0x1e89,0xb2d6d),function(_0x5a29df,_0x4a8434){var _0x532885=_0x4326;typeof exports==_0x532885(0x196)&&typeof module<'u'?module[_0x532885(0x1bc)]=_0x4a8434():typeof define==_0x532885(0x1a0)&&define['amd']?define(_0x4a8434):(_0x5a29df=typeof globalThis<'u'?globalThis:_0x5a29df||self,_0x5a29df['UniverProMcpUiEsES']=_0x4a8434());}(this,function(){'use strict';var _0x570109=_0x4326;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x570109(0x1aa),'connected':_0x570109(0x194),'failed':_0x570109(0x198),'retrying':_0x570109(0x1c0),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x570109(0x1b5),'invalidApiKey':_0x570109(0x1c1),'sessionOccupied':_0x570109(0x1be),'networkError':_0x570109(0x1ab),'maxRetriesExceeded':_0x570109(0x1ae),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x570109(0x1b3)},'mcpConfig':{'title':_0x570109(0x197),'description':_0x570109(0x1ad),'apiKey':_0x570109(0x19e),'apiKeyPlaceholder':_0x570109(0x19b),'apiKeyHint':_0x570109(0x1b0),'enableAuth':_0x570109(0x195),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x570109(0x1b8),'serverEndpoint':_0x570109(0x1b4),'sessionId':_0x570109(0x1a3),'maxRetries':_0x570109(0x1b7),'save':'Save\x20Configuration','saving':_0x570109(0x19a),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x570109(0x1a8),'configSaved':_0x570109(0x199),'configError':_0x570109(0x19d),'apiApplyInfo':{'title':_0x570109(0x1ac),'description':_0x570109(0x1a5),'univerAiLabel':_0x570109(0x1a4),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x570109(0x1a1),'invalidConfig':_0x570109(0x1a7),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x570109(0x1bb),'connecting':'Connecting...','connected':'Connected','failed':_0x570109(0x19f),'retrying':_0x570109(0x1bd)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x570109(0x1c3),'sessionOccupied':_0x570109(0x1a6),'networkError':_0x570109(0x1a2),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));function _0x1e89(){var _0x2e9437=['MCP\x20Connection\x20Failed','Configuration\x20saved\x20successfully','Saving...','Enter\x20your\x20API\x20key','1490820HVSmqe','Failed\x20to\x20save\x20configuration','API\x20Key','Connection\x20Failed','function','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session\x20ID','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.','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Invalid\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','10003lHMlqR','MCP\x20Connecting...','MCP:\x20Network\x20Error','What\x20is\x20API\x20Key?','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Max\x20Retries\x20Exceeded','55FTPPlN','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','3828951FYlwzr','968dQkcwC','Click\x20to\x20configure\x20MCP','Server\x20Endpoint','MCP:\x20API\x20Key\x20Missing','6xMowLX','Max\x20Retries','Connection\x20Information','10TrrGMr','2903616GCmiQJ','Disconnected','exports','Retrying...','MCP:\x20Session\x20Occupied','533394SwUlpD','MCP\x20Retrying...','MCP:\x20Invalid\x20API\x20Key','2468112iFMIAR','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','775569LtwIqC','MCP\x20Connected','Enable\x20Authentication','object','MCP\x20Configuration'];_0x1e89=function(){return _0x2e9437;};return _0x1e89();}
|
package/lib/umd/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4828(_0x52c5bd,_0x3e360f){var _0x22b44f=_0x22b4();return _0x4828=function(_0x482848,_0x559f50){_0x482848=_0x482848-0x1ee;var _0x12e029=_0x22b44f[_0x482848];return _0x12e029;},_0x4828(_0x52c5bd,_0x3e360f);}function _0x22b4(){var _0xe0f191=['UniverProMcpUiFaIR','object','Connecting...','2564109GgTDaq','1616526WZsBoc','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Retrying...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Invalid\x20configuration','Session\x20ID','56KGjifU','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Univer\x20AI\x20Console','542118DaMQUz','MCP\x20Connecting...','MCP:\x20Session\x20Occupied','Click\x20to\x20connect\x20MCP','What\x20is\x20API\x20Key?','6395059ASAMAV','2744660ZzawIf','393CuGTDR','Saving...','Server\x20Endpoint','Enable\x20Authentication','exports','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Click\x20to\x20configure\x20MCP','MCP\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','Connection\x20Information','MCP\x20Connection\x20Failed','MCP\x20Unknown\x20Status','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20authentication\x20for\x20secure\x20connections','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Disconnected','Connection\x20Failed','16sKxuxT','2612tlnsqQ','Failed\x20to\x20save\x20configuration','MCP\x20Connected','Connected','6445OIurVf','8GKZSNI','API\x20key\x20is\x20required\x20to\x20connect','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Save\x20Configuration','MCP:\x20API\x20Key\x20Missing','MCP:\x20Network\x20Error','MCP\x20Disconnected','function','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again'];_0x22b4=function(){return _0xe0f191;};return _0x22b4();}(function(_0x3e6276,_0x598306){var _0x573305=_0x4828,_0x2f9c3f=_0x3e6276();while(!![]){try{var _0x3be57f=parseInt(_0x573305(0x221))/0x1*(-parseInt(_0x573305(0x204))/0x2)+parseInt(_0x573305(0x210))/0x3+-parseInt(_0x573305(0x1ff))/0x4*(parseInt(_0x573305(0x203))/0x5)+-parseInt(_0x573305(0x21a))/0x6*(parseInt(_0x573305(0x217))/0x7)+-parseInt(_0x573305(0x1fe))/0x8*(-parseInt(_0x573305(0x211))/0x9)+parseInt(_0x573305(0x220))/0xa+parseInt(_0x573305(0x21f))/0xb;if(_0x3be57f===_0x598306)break;else _0x2f9c3f['push'](_0x2f9c3f['shift']());}catch(_0x574d6c){_0x2f9c3f['push'](_0x2f9c3f['shift']());}}}(_0x22b4,0x7af65),function(_0x9aa7a9,_0x5e6ba7){var _0x40df76=_0x4828;typeof exports==_0x40df76(0x20e)&&typeof module<'u'?module[_0x40df76(0x1f1)]=_0x5e6ba7():typeof define==_0x40df76(0x20b)&&define['amd']?define(_0x5e6ba7):(_0x9aa7a9=typeof globalThis<'u'?globalThis:_0x9aa7a9||self,_0x9aa7a9[_0x40df76(0x20d)]=_0x5e6ba7());}(this,function(){'use strict';var _0x5215db=_0x4828;return{'mcpStatus':{'disconnected':_0x5215db(0x20a),'connecting':_0x5215db(0x21b),'connected':_0x5215db(0x201),'failed':_0x5215db(0x1f7),'retrying':'MCP\x20Retrying...','unknown':_0x5215db(0x1f8),'missingApiKey':_0x5215db(0x208),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x5215db(0x21c),'networkError':_0x5215db(0x209),'maxRetriesExceeded':_0x5215db(0x1f5),'clickToConnect':_0x5215db(0x21d),'clickToConfigure':_0x5215db(0x1f3)},'mcpConfig':{'title':_0x5215db(0x1f4),'description':_0x5215db(0x218),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x5215db(0x1f0),'enableAuthHint':_0x5215db(0x1fa),'connectionInfo':_0x5215db(0x1f6),'serverEndpoint':_0x5215db(0x1ef),'sessionId':_0x5215db(0x216),'maxRetries':'Max\x20Retries','save':_0x5215db(0x207),'saving':_0x5215db(0x1ee),'note1':_0x5215db(0x214),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x5215db(0x200),'apiApplyInfo':{'title':_0x5215db(0x21e),'description':_0x5215db(0x212),'univerAiLabel':_0x5215db(0x219),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x5215db(0x215),'invalidApiKey':_0x5215db(0x1f9)},'connectionStatus':{'disconnected':_0x5215db(0x1fc),'connecting':_0x5215db(0x20f),'connected':_0x5215db(0x202),'failed':_0x5215db(0x1fd),'retrying':_0x5215db(0x213)},'connectionError':{'missingApiKey':_0x5215db(0x205),'invalidApiKey':_0x5215db(0x20c),'sessionOccupied':_0x5215db(0x206),'networkError':_0x5215db(0x1fb),'maxRetriesExceeded':_0x5215db(0x1f2)}}};}));
|
package/lib/umd/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2e47(_0x45a29a,_0x147c16){var _0x3a0938=_0x3a09();return _0x2e47=function(_0x2e4709,_0x4d2875){_0x2e4709=_0x2e4709-0x179;var _0x52cb32=_0x3a0938[_0x2e4709];return _0x52cb32;},_0x2e47(_0x45a29a,_0x147c16);}(function(_0x1d195a,_0x1df6f2){var _0xb8d228=_0x2e47,_0x53db48=_0x1d195a();while(!![]){try{var _0x34f837=parseInt(_0xb8d228(0x199))/0x1*(-parseInt(_0xb8d228(0x181))/0x2)+-parseInt(_0xb8d228(0x17a))/0x3*(-parseInt(_0xb8d228(0x17c))/0x4)+-parseInt(_0xb8d228(0x19d))/0x5+parseInt(_0xb8d228(0x188))/0x6*(parseInt(_0xb8d228(0x197))/0x7)+-parseInt(_0xb8d228(0x18a))/0x8*(-parseInt(_0xb8d228(0x184))/0x9)+-parseInt(_0xb8d228(0x19b))/0xa+parseInt(_0xb8d228(0x18d))/0xb;if(_0x34f837===_0x1df6f2)break;else _0x53db48['push'](_0x53db48['shift']());}catch(_0x1f9576){_0x53db48['push'](_0x53db48['shift']());}}}(_0x3a09,0x6fa81),function(_0x44b0c6,_0x1a5e4c){var _0x23e312=_0x2e47;typeof exports==_0x23e312(0x192)&&typeof module<'u'?module[_0x23e312(0x19f)]=_0x1a5e4c():typeof define==_0x23e312(0x186)&&define['amd']?define(_0x1a5e4c):(_0x44b0c6=typeof globalThis<'u'?globalThis:_0x44b0c6||self,_0x44b0c6['UniverProMcpUiFrFR']=_0x1a5e4c());}(this,function(){'use strict';var _0x5ee850=_0x2e47;return{'mcpStatus':{'disconnected':_0x5ee850(0x193),'connecting':'MCP\x20Connecting...','connected':_0x5ee850(0x1a5),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x5ee850(0x187),'missingApiKey':_0x5ee850(0x183),'invalidApiKey':_0x5ee850(0x19c),'sessionOccupied':_0x5ee850(0x195),'networkError':_0x5ee850(0x180),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5ee850(0x189),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x5ee850(0x18c),'description':_0x5ee850(0x1a6),'apiKey':_0x5ee850(0x18b),'apiKeyPlaceholder':_0x5ee850(0x185),'apiKeyHint':_0x5ee850(0x179),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5ee850(0x17e),'connectionInfo':_0x5ee850(0x17b),'serverEndpoint':'Server\x20Endpoint','sessionId':_0x5ee850(0x1a4),'maxRetries':_0x5ee850(0x17d),'save':_0x5ee850(0x1a3),'saving':_0x5ee850(0x17f),'note1':_0x5ee850(0x198),'note2':_0x5ee850(0x1a2),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x5ee850(0x1a1),'apiApplyInfo':{'title':_0x5ee850(0x18f),'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':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5ee850(0x1a0),'invalidConfig':_0x5ee850(0x1a7),'invalidApiKey':_0x5ee850(0x182)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x5ee850(0x191),'failed':_0x5ee850(0x19a),'retrying':_0x5ee850(0x194)},'connectionError':{'missingApiKey':_0x5ee850(0x19e),'invalidApiKey':_0x5ee850(0x190),'sessionOccupied':_0x5ee850(0x18e),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x5ee850(0x196)}}};}));function _0x3a09(){var _0x5950d2=['5676mufkJl','Click\x20to\x20connect\x20MCP','7249120ODUmlQ','API\x20Key','MCP\x20Configuration','1778414EshEAg','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Connected','object','MCP\x20Disconnected','Retrying...','MCP:\x20Session\x20Occupied','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','5523Zixjme','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1AvAWZV','Connection\x20Failed','5010180HponkJ','MCP:\x20Invalid\x20API\x20Key','3177430yCBQxm','API\x20key\x20is\x20required\x20to\x20connect','exports','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Failed\x20to\x20save\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Save\x20Configuration','Session\x20ID','MCP\x20Connected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Invalid\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','6Qphykd','Connection\x20Information','194504lsRrMp','Max\x20Retries','Enable\x20authentication\x20for\x20secure\x20connections','Saving...','MCP:\x20Network\x20Error','635222VshvVT','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20API\x20Key\x20Missing','9VDDoXD','Enter\x20your\x20API\x20key','function','MCP\x20Unknown\x20Status'];_0x3a09=function(){return _0x5950d2;};return _0x3a09();}
|
package/lib/umd/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4679(_0x148440,_0x46d9f8){var _0xafc268=_0xafc2();return _0x4679=function(_0x4679e8,_0xbcbc7b){_0x4679e8=_0x4679e8-0x163;var _0x22e52d=_0xafc268[_0x4679e8];return _0x22e52d;},_0x4679(_0x148440,_0x46d9f8);}function _0xafc2(){var _0x12161f=['Retrying...','1787195lDQOxz','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','100605KcYvaY','Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','160490XyzIyn','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','740IiGpuR','Enter\x20your\x20API\x20key','Failed\x20to\x20save\x20configuration','Max\x20Retries','API\x20Key','1283076vcWGjA','Save\x20Configuration','Configuration\x20saved\x20successfully','MCP\x20Configuration','Session\x20ID','MCP:\x20Session\x20Occupied','24bvbpRQ','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','What\x20is\x20API\x20Key?','880292nuZHfz','Click\x20to\x20configure\x20MCP','Connecting...','MCP\x20Connected','MCP\x20Connecting...','Click\x20to\x20connect\x20MCP','Connection\x20Failed','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','UniverProMcpUiKoKR','8fOLVGw','Univer\x20AI\x20Console','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','exports','API\x20key\x20is\x20required\x20to\x20connect','Saving...','612764WXLUwA','MCP:\x20Invalid\x20API\x20Key','15sZmnsK','254492kpvvEL','Connected','object','Invalid\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','amd','function','Get\x20your\x20API\x20key\x20in\x20seconds','Server\x20Endpoint'];_0xafc2=function(){return _0x12161f;};return _0xafc2();}(function(_0x324986,_0xf26625){var _0x1fb143=_0x4679,_0x52497c=_0x324986();while(!![]){try{var _0x283c39=-parseInt(_0x1fb143(0x165))/0x1+-parseInt(_0x1fb143(0x18c))/0x2+parseInt(_0x1fb143(0x18e))/0x3*(-parseInt(_0x1fb143(0x18f))/0x4)+-parseInt(_0x1fb143(0x163))/0x5+parseInt(_0x1fb143(0x179))/0x6*(parseInt(_0x1fb143(0x17c))/0x7)+-parseInt(_0x1fb143(0x185))/0x8*(parseInt(_0x1fb143(0x173))/0x9)+-parseInt(_0x1fb143(0x16e))/0xa*(-parseInt(_0x1fb143(0x16c))/0xb);if(_0x283c39===_0xf26625)break;else _0x52497c['push'](_0x52497c['shift']());}catch(_0x52d87b){_0x52497c['push'](_0x52497c['shift']());}}}(_0xafc2,0x574cb),function(_0x2c3087,_0x4d7ae6){var _0x57ee13=_0x4679;typeof exports==_0x57ee13(0x191)&&typeof module<'u'?module[_0x57ee13(0x189)]=_0x4d7ae6():typeof define==_0x57ee13(0x195)&&define[_0x57ee13(0x194)]?define(_0x4d7ae6):(_0x2c3087=typeof globalThis<'u'?globalThis:_0x2c3087||self,_0x2c3087[_0x57ee13(0x184)]=_0x4d7ae6());}(this,function(){'use strict';var _0x5eb9f7=_0x4679;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x5eb9f7(0x180),'connected':_0x5eb9f7(0x17f),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5eb9f7(0x168),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x5eb9f7(0x18d),'sessionOccupied':_0x5eb9f7(0x178),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5eb9f7(0x181),'clickToConfigure':_0x5eb9f7(0x17d)},'mcpConfig':{'title':_0x5eb9f7(0x176),'description':_0x5eb9f7(0x187),'apiKey':_0x5eb9f7(0x172),'apiKeyPlaceholder':_0x5eb9f7(0x16f),'apiKeyHint':_0x5eb9f7(0x169),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5eb9f7(0x193),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x5eb9f7(0x197),'sessionId':_0x5eb9f7(0x177),'maxRetries':_0x5eb9f7(0x171),'save':_0x5eb9f7(0x174),'saving':_0x5eb9f7(0x18b),'note1':_0x5eb9f7(0x167),'note2':_0x5eb9f7(0x16b),'configSaved':_0x5eb9f7(0x175),'configError':_0x5eb9f7(0x170),'apiApplyInfo':{'title':_0x5eb9f7(0x17b),'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':_0x5eb9f7(0x186),'getStarted':_0x5eb9f7(0x196)},'validation':{'apiKeyRequired':_0x5eb9f7(0x188),'apiKeyTooShort':_0x5eb9f7(0x17a),'invalidConfig':_0x5eb9f7(0x192),'invalidApiKey':_0x5eb9f7(0x16d)},'connectionStatus':{'disconnected':_0x5eb9f7(0x166),'connecting':_0x5eb9f7(0x17e),'connected':_0x5eb9f7(0x190),'failed':_0x5eb9f7(0x182),'retrying':_0x5eb9f7(0x198)},'connectionError':{'missingApiKey':_0x5eb9f7(0x18a),'invalidApiKey':_0x5eb9f7(0x164),'sessionOccupied':_0x5eb9f7(0x183),'networkError':_0x5eb9f7(0x16a),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
|