@univerjs-pro/mcp-ui 0.10.6-nightly.202509060832 → 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.
Files changed (45) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +6 -6
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x54abe0=_0x1566;(function(_0x5b5dee,_0x32de27){var _0x3ff57a=_0x1566,_0xb268ce=_0x5b5dee();while(!![]){try{var _0x2e9afd=-parseInt(_0x3ff57a(0x2e3))/0x1+parseInt(_0x3ff57a(0x2ea))/0x2+parseInt(_0x3ff57a(0x2a4))/0x3*(parseInt(_0x3ff57a(0x20c))/0x4)+parseInt(_0x3ff57a(0x2f9))/0x5+-parseInt(_0x3ff57a(0x2ba))/0x6+parseInt(_0x3ff57a(0x23b))/0x7*(-parseInt(_0x3ff57a(0x1e5))/0x8)+parseInt(_0x3ff57a(0x1b8))/0x9*(parseInt(_0x3ff57a(0x22e))/0xa);if(_0x2e9afd===_0x32de27)break;else _0xb268ce['push'](_0xb268ce['shift']());}catch(_0x1bc6c3){_0xb268ce['push'](_0xb268ce['shift']());}}}(_0x5c13,0xae128));var te=Object['defineProperty'],oe=(_0x301f88,_0x14684a,_0x239d5b)=>_0x14684a in _0x301f88?te(_0x301f88,_0x14684a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x239d5b}):_0x301f88[_0x14684a]=_0x239d5b,_=(_0x444be4,_0x1ec96a,_0x4aa569)=>oe(_0x444be4,typeof _0x1ec96a!=_0x54abe0(0x1c8)?_0x1ec96a+'':_0x1ec96a,_0x4aa569);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const u=require('@univerjs/core'),o=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),x=require('@univerjs/design'),v=require('@univerjs/ui'),j=require('rxjs'),d=require('react');var C=function(){var _0x410d92=_0x54abe0;return C=Object[_0x410d92(0x23d)]||function(_0x1815bc){var _0x3b4a24=_0x410d92;for(var _0x330909,_0x36a4f5=0x1,_0x4c38cb=arguments[_0x3b4a24(0x2c3)];_0x36a4f5<_0x4c38cb;_0x36a4f5++){_0x330909=arguments[_0x36a4f5];for(var _0x1d6e78 in _0x330909)Object['prototype'][_0x3b4a24(0x292)][_0x3b4a24(0x1f0)](_0x330909,_0x1d6e78)&&(_0x1815bc[_0x1d6e78]=_0x330909[_0x1d6e78]);}return _0x1815bc;},C[_0x410d92(0x2ab)](this,arguments);},se=function(_0xcaa0e4,_0x50860a){var _0x5da1c1=_0x54abe0,_0x108edd={};for(var _0x18495f in _0xcaa0e4)Object['prototype'][_0x5da1c1(0x292)][_0x5da1c1(0x1f0)](_0xcaa0e4,_0x18495f)&&_0x50860a[_0x5da1c1(0x1f4)](_0x18495f)<0x0&&(_0x108edd[_0x18495f]=_0xcaa0e4[_0x18495f]);if(_0xcaa0e4!=null&&typeof Object['getOwnPropertySymbols']==_0x5da1c1(0x1c9)){for(var _0x4439e8=0x0,_0x18495f=Object[_0x5da1c1(0x1af)](_0xcaa0e4);_0x4439e8<_0x18495f[_0x5da1c1(0x2c3)];_0x4439e8++)_0x50860a['indexOf'](_0x18495f[_0x4439e8])<0x0&&Object[_0x5da1c1(0x298)][_0x5da1c1(0x2b0)][_0x5da1c1(0x1f0)](_0xcaa0e4,_0x18495f[_0x4439e8])&&(_0x108edd[_0x18495f[_0x4439e8]]=_0xcaa0e4[_0x18495f[_0x4439e8]]);}return _0x108edd;},P=d['forwardRef'](function(_0x1cd91d,_0xbab72e){var _0x39b53c=_0x54abe0,_0xfcc997=_0x1cd91d[_0x39b53c(0x225)],_0x4041a1=_0x1cd91d['id'],_0x401887=_0x1cd91d[_0x39b53c(0x29a)],_0x284b56=_0x1cd91d[_0x39b53c(0x21c)],_0x167bc7=se(_0x1cd91d,['icon','id','className',_0x39b53c(0x21c)]),_0x2ae3b4=_0x39b53c(0x1f3)[_0x39b53c(0x301)](_0x4041a1,'\x20')[_0x39b53c(0x301)](_0x401887||'')['trim'](),_0x24f130=d[_0x39b53c(0x214)]('_'[_0x39b53c(0x301)](le()));return $(_0xfcc997,''['concat'](_0x4041a1),{'defIds':_0xfcc997['defIds'],'idSuffix':_0x24f130[_0x39b53c(0x272)]},C({'ref':_0xbab72e,'className':_0x2ae3b4},_0x167bc7),_0x284b56);});function $(_0x1c0477,_0x7b5beb,_0x530e1e,_0x32ffad,_0x3b2d21){var _0x37bf4f=_0x54abe0;return d['createElement'](_0x1c0477[_0x37bf4f(0x202)],C(C({'key':_0x7b5beb},ce(_0x1c0477,_0x530e1e,_0x3b2d21)),_0x32ffad),(ae(_0x1c0477,_0x530e1e)['children']||[])[_0x37bf4f(0x27f)](function(_0x3a9c0d,_0x1924dc){var _0x2e7399=_0x37bf4f;return $(_0x3a9c0d,''[_0x2e7399(0x301)](_0x7b5beb,'-')[_0x2e7399(0x301)](_0x1c0477[_0x2e7399(0x202)],'-')[_0x2e7399(0x301)](_0x1924dc),_0x530e1e,void 0x0,_0x3b2d21);}));}function ce(_0x26eb39,_0x355f8e,_0x4d766a){var _0x2b88bb=_0x54abe0,_0x4cb0a5=C({},_0x26eb39['attrs']);_0x4d766a!=null&&_0x4d766a[_0x2b88bb(0x257)]&&_0x4cb0a5['fill']===_0x2b88bb(0x257)&&(_0x4cb0a5[_0x2b88bb(0x1e9)]=_0x4d766a[_0x2b88bb(0x257)]),_0x26eb39[_0x2b88bb(0x202)]==='mask'&&_0x4cb0a5['id']&&(_0x4cb0a5['id']=_0x4cb0a5['id']+_0x355f8e[_0x2b88bb(0x2cd)]),Object[_0x2b88bb(0x263)](_0x4cb0a5)[_0x2b88bb(0x2da)](function(_0x36ead){var _0x4f8e58=_0x2b88bb,_0x39be26=_0x36ead[0x0],_0x3526da=_0x36ead[0x1];_0x39be26==='mask'&&typeof _0x3526da==_0x4f8e58(0x2d1)&&(_0x4cb0a5[_0x39be26]=_0x3526da[_0x4f8e58(0x2fa)](/url\(#(.*)\)/,_0x4f8e58(0x245)[_0x4f8e58(0x301)](_0x355f8e['idSuffix'],')')));});var _0x449d09=_0x355f8e['defIds'];return!_0x449d09||_0x449d09[_0x2b88bb(0x2c3)]===0x0||(_0x26eb39[_0x2b88bb(0x202)]==='use'&&_0x4cb0a5[_0x2b88bb(0x271)]&&(_0x4cb0a5['xlink:href']=_0x4cb0a5[_0x2b88bb(0x271)]+_0x355f8e[_0x2b88bb(0x2cd)]),Object[_0x2b88bb(0x263)](_0x4cb0a5)[_0x2b88bb(0x2da)](function(_0x5ebee7){var _0x2362b4=_0x2b88bb,_0xdd3f54=_0x5ebee7[0x0],_0x2823b9=_0x5ebee7[0x1];typeof _0x2823b9==_0x2362b4(0x2d1)&&(_0x4cb0a5[_0xdd3f54]=_0x2823b9[_0x2362b4(0x2fa)](/url\(#(.*)\)/,_0x2362b4(0x245)[_0x2362b4(0x301)](_0x355f8e[_0x2362b4(0x2cd)],')')));})),_0x4cb0a5;}function ae(_0x508cbe,_0x38550b){var _0x2cbd63=_0x54abe0,_0x29bf73,_0x248e6b=_0x38550b['defIds'];return!_0x248e6b||_0x248e6b[_0x2cbd63(0x2c3)]===0x0?_0x508cbe:_0x508cbe[_0x2cbd63(0x202)]===_0x2cbd63(0x2e2)&&(!((_0x29bf73=_0x508cbe['children'])===null||_0x29bf73===void 0x0)&&_0x29bf73['length'])?C(C({},_0x508cbe),{'children':_0x508cbe['children'][_0x2cbd63(0x27f)](function(_0x3e2960){var _0x17d452=_0x2cbd63;return typeof _0x3e2960[_0x17d452(0x2b6)]['id']=='string'&&_0x248e6b&&_0x248e6b[_0x17d452(0x246)](_0x3e2960[_0x17d452(0x2b6)]['id'])?C(C({},_0x3e2960),{'attrs':C(C({},_0x3e2960['attrs']),{'id':_0x3e2960[_0x17d452(0x2b6)]['id']+_0x38550b[_0x17d452(0x2cd)]})}):_0x3e2960;})}):_0x508cbe;}function le(){var _0x2906a9=_0x54abe0;return Math[_0x2906a9(0x200)]()[_0x2906a9(0x1d2)](0x24)[_0x2906a9(0x305)](0x2,0x8);}function _0x1566(_0x18c5ad,_0x213a22){var _0x5c1315=_0x5c13();return _0x1566=function(_0x15669d,_0x22d21c){_0x15669d=_0x15669d-0x1ad;var _0x300803=_0x5c1315[_0x15669d];return _0x300803;},_0x1566(_0x18c5ad,_0x213a22);}P[_0x54abe0(0x317)]=_0x54abe0(0x311);var ue={'tag':_0x54abe0(0x2d9),'attrs':{'xmlns':_0x54abe0(0x2c2),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x54abe0(0x2ee),'height':_0x54abe0(0x2ee)},'children':[{'tag':_0x54abe0(0x219),'attrs':{'fill':_0x54abe0(0x24e),'d':'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','fillRule':_0x54abe0(0x2c5),'clipRule':_0x54abe0(0x2c5)}}]},L=d['forwardRef'](function(_0xffdcf7,_0x26b261){var _0x196b27=_0x54abe0;return d[_0x196b27(0x2e1)](P,Object[_0x196b27(0x23d)]({},_0xffdcf7,{'id':'check-mark-icon','ref':_0x26b261,'icon':ue}));});L[_0x54abe0(0x317)]=_0x54abe0(0x228);var ve={'tag':'svg','attrs':{'xmlns':_0x54abe0(0x2c2),'fill':_0x54abe0(0x233),'viewBox':_0x54abe0(0x218),'width':_0x54abe0(0x2ee),'height':_0x54abe0(0x2ee)},'children':[{'tag':_0x54abe0(0x219),'attrs':{'stroke':_0x54abe0(0x24e),'d':_0x54abe0(0x287),'strokeLinecap':_0x54abe0(0x2af),'strokeLinejoin':_0x54abe0(0x2af),'strokeWidth':1.33}},{'tag':_0x54abe0(0x219),'attrs':{'stroke':_0x54abe0(0x24e),'d':_0x54abe0(0x30a),'strokeLinecap':_0x54abe0(0x2af),'strokeLinejoin':_0x54abe0(0x2af),'strokeWidth':1.33}}]},G=d['forwardRef'](function(_0x4efec6,_0x928dec){var _0x3b5d0e=_0x54abe0;return d[_0x3b5d0e(0x2e1)](P,Object['assign']({},_0x4efec6,{'id':'close-small-single','ref':_0x928dec,'icon':ve}));});G['displayName']=_0x54abe0(0x29f);var de={'tag':_0x54abe0(0x2d9),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x54abe0(0x233),'viewBox':'0\x200\x2016\x2016','width':_0x54abe0(0x2ee),'height':_0x54abe0(0x2ee)},'children':[{'tag':'path','attrs':{'fill':_0x54abe0(0x24e),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x54abe0(0x219),'attrs':{'fill':_0x54abe0(0x24e),'d':'M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z'}},{'tag':'path','attrs':{'fill':_0x54abe0(0x24e),'d':_0x54abe0(0x1e1),'fillRule':_0x54abe0(0x2c5),'clipRule':_0x54abe0(0x2c5)}}]},Y=d[_0x54abe0(0x24d)](function(_0xb5d97,_0x5e75e6){var _0xace264=_0x54abe0;return d[_0xace264(0x2e1)](P,Object[_0xace264(0x23d)]({},_0xb5d97,{'id':'help-single','ref':_0x5e75e6,'icon':de}));});Y[_0x54abe0(0x317)]=_0x54abe0(0x2c7);var Ce={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x54abe0(0x233),'viewBox':_0x54abe0(0x242),'width':_0x54abe0(0x2ee),'height':_0x54abe0(0x2ee)},'children':[{'tag':'g','attrs':{'clipPath':_0x54abe0(0x1d5)},'children':[{'tag':_0x54abe0(0x219),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x54abe0(0x2af),'strokeLinejoin':_0x54abe0(0x2af),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x54abe0(0x268),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x54abe0(0x219),'attrs':{'fill':_0x54abe0(0x253),'d':_0x54abe0(0x299)}}]}]}],'defIds':[_0x54abe0(0x28f)]},F=d[_0x54abe0(0x24d)](function(_0x45c498,_0x51a1a6){var _0x1c1e78=_0x54abe0;return d[_0x1c1e78(0x2e1)](P,Object[_0x1c1e78(0x23d)]({},_0x45c498,{'id':_0x1c1e78(0x261),'ref':_0x51a1a6,'icon':Ce}));});F[_0x54abe0(0x317)]=_0x54abe0(0x1c2);var ge={'tag':'svg','attrs':{'xmlns':_0x54abe0(0x2c2),'fill':_0x54abe0(0x233),'viewBox':_0x54abe0(0x1fc),'width':_0x54abe0(0x2ee),'height':_0x54abe0(0x2ee)},'children':[{'tag':'g','attrs':{'clipPath':_0x54abe0(0x266)},'children':[{'tag':_0x54abe0(0x219),'attrs':{'stroke':_0x54abe0(0x24e),'d':_0x54abe0(0x2c9),'strokeLinecap':_0x54abe0(0x2af),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x54abe0(0x2e2),'attrs':{},'children':[{'tag':_0x54abe0(0x268),'attrs':{'id':_0x54abe0(0x1dd)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x54abe0(0x299),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},V=d[_0x54abe0(0x24d)](function(_0x4eb512,_0x172fc4){var _0x53454b=_0x54abe0;return d['createElement'](P,Object[_0x53454b(0x23d)]({},_0x4eb512,{'id':'on-line-icon','ref':_0x172fc4,'icon':ge}));});V[_0x54abe0(0x317)]=_0x54abe0(0x1db);function B(_0x3a3cf6){var _0x47badb=_0x54abe0,_0x4886e9,_0x5c2b84;const {mcpCoreConfig:_0x20e802,onSave:_0x591248,loading:_0xbed7dc=!0x1,config:_0xaf560d,connectionStatus$:_0x5076b4,connectionError$:_0x4b86c5}=_0x3a3cf6,_0x226199=v[_0x47badb(0x1e6)](u[_0x47badb(0x280)]),_0xd4a676=v['useObservable'](_0x5076b4,s[_0x47badb(0x1b6)][_0x47badb(0x207)]),_0x3c3bea=v[_0x47badb(0x248)](_0x4b86c5,s['MCPConnectionError']['NONE']),[_0x1be683,_0xa5780b]=d[_0x47badb(0x303)](_0x20e802[_0x47badb(0x300)]||''),_0x1a6885=!0x0,_0x58319f=_0xaf560d[_0x47badb(0x1fa)]&&_0x20e802['mcpServerUrl']&&(_0x20e802[_0x47badb(0x2c1)]['includes'](_0x47badb(0x2e7))||_0x20e802[_0x47badb(0x2c1)][_0x47badb(0x246)](_0x47badb(0x26c))),_0x44f2fd=(_0x4886e9=_0x20e802[_0x47badb(0x2c1)])==null?void 0x0:_0x4886e9[_0x47badb(0x246)](_0x47badb(0x2e7)),_0x57377d=(_0x5c2b84=_0x20e802[_0x47badb(0x2c1)])==null?void 0x0:_0x5c2b84[_0x47badb(0x246)](_0x47badb(0x26c)),_0x44847b=_0x44f2fd?_0x47badb(0x2b1):_0x47badb(0x295),_0x12457f=_0xaf560d[_0x47badb(0x1fa)]&&(_0x44f2fd||_0x57377d),[_0x2c7899,_0x2ee8c0]=d[_0x47badb(0x303)](!_0x1be683[_0x47badb(0x309)]()),_0x53d682=(_0x523d73,_0x4de863)=>{var _0xc08537=_0x47badb;if(_0x4de863===s[_0xc08537(0x2cb)][_0xc08537(0x1f7)]||_0x4de863===s[_0xc08537(0x2cb)]['INVALID_API_KEY'])return _0xc08537(0x2be);switch(_0x523d73){case s[_0xc08537(0x1b6)][_0xc08537(0x24a)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case s[_0xc08537(0x1b6)][_0xc08537(0x2aa)]:case s[_0xc08537(0x1b6)][_0xc08537(0x1e8)]:return _0xc08537(0x1b2);case s[_0xc08537(0x1b6)][_0xc08537(0x1fe)]:return _0xc08537(0x2be);default:return _0xc08537(0x20f);}},_0x49a07d=(_0x3ed96c,_0x3e5535)=>{var _0x1a1625=_0x47badb;if(_0x3e5535===s['MCPConnectionError'][_0x1a1625(0x1f7)]||_0x3e5535===s[_0x1a1625(0x2cb)][_0x1a1625(0x1e4)])return _0x1a1625(0x313);switch(_0x3ed96c){case s['MCPConnectionStatus'][_0x1a1625(0x24a)]:return'univer-bg-green-500';case s[_0x1a1625(0x1b6)][_0x1a1625(0x2aa)]:case s['MCPConnectionStatus'][_0x1a1625(0x1e8)]:return _0x1a1625(0x220);case s['MCPConnectionStatus'][_0x1a1625(0x1fe)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x5c0f68=_0x273ff8=>{var _0xca6894=_0x47badb;switch(_0x273ff8){case s['MCPConnectionStatus'][_0xca6894(0x24a)]:return _0x226199['t'](_0xca6894(0x1f5));case s[_0xca6894(0x1b6)][_0xca6894(0x2aa)]:return _0x226199['t'](_0xca6894(0x230));case s[_0xca6894(0x1b6)][_0xca6894(0x1fe)]:return _0x226199['t'](_0xca6894(0x1f1));case s[_0xca6894(0x1b6)][_0xca6894(0x1e8)]:return _0x226199['t']('mcpConfig.connectionStatus.retrying');default:return _0x226199['t'](_0xca6894(0x2b5));}},_0x599ad7=_0x3d0f8f=>{var _0xc6d7d8=_0x47badb;switch(_0x3d0f8f){case s[_0xc6d7d8(0x2cb)][_0xc6d7d8(0x1f7)]:return _0x226199['t'](_0xc6d7d8(0x28a));case s[_0xc6d7d8(0x2cb)]['INVALID_API_KEY']:return _0x226199['t'](_0xc6d7d8(0x26e));case s[_0xc6d7d8(0x2cb)][_0xc6d7d8(0x2a7)]:return _0x226199['t']('mcpConfig.connectionError.sessionOccupied');case s[_0xc6d7d8(0x2cb)][_0xc6d7d8(0x1df)]:return _0x226199['t'](_0xc6d7d8(0x1cb));case s['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x226199['t'](_0xc6d7d8(0x2c0));default:return'';}},_0x3483e6=d[_0x47badb(0x310)](()=>{var _0x2ccb39=_0x47badb;const _0xee7ed2={..._0x20e802,'apiKey':_0x1be683[_0x2ccb39(0x309)](),'enableAuth':_0x1a6885};_0x591248(_0xee7ed2);},[_0x20e802,_0x1be683,_0x1a6885,_0x591248]),_0x56c8df=_0x1be683['trim']()[_0x47badb(0x2c3)]>0x0;return o[_0x47badb(0x234)](_0x47badb(0x255),{'className':_0x47badb(0x1dc),'children':[o[_0x47badb(0x1ee)](_0x47badb(0x255),{'className':_0x47badb(0x1be),'children':o[_0x47badb(0x234)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[o[_0x47badb(0x1ee)]('div',{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':o['jsx']('span',{'className':'univer-text-white','children':'⚙'})}),o[_0x47badb(0x1ee)]('div',{'children':o['jsx']('p',{'className':_0x47badb(0x29e),'children':_0x226199['t'](_0x47badb(0x2b8))})})]})}),o['jsxs'](_0x47badb(0x255),{'className':_0x47badb(0x244),'children':[o['jsx'](_0x47badb(0x255),{'className':'\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'+_0x53d682(_0xd4a676,_0x3c3bea)+_0x47badb(0x2e8),'children':o[_0x47badb(0x234)](_0x47badb(0x255),{'className':_0x47badb(0x1f8),'children':[o[_0x47badb(0x1ee)](_0x47badb(0x255),{'className':_0x47badb(0x239)+_0x49a07d(_0xd4a676,_0x3c3bea)+_0x47badb(0x23f)}),o[_0x47badb(0x1ee)](_0x47badb(0x203),{'className':_0x47badb(0x27b),'children':_0x5c0f68(_0xd4a676)})]})}),_0x3c3bea!==s['MCPConnectionError'][_0x47badb(0x208)]&&(_0xd4a676===s[_0x47badb(0x1b6)][_0x47badb(0x1fe)]||_0x3c3bea===s[_0x47badb(0x2cb)]['MISSING_API_KEY']||_0x3c3bea===s[_0x47badb(0x2cb)][_0x47badb(0x1e4)])&&o[_0x47badb(0x1ee)]('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':o[_0x47badb(0x234)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[o[_0x47badb(0x1ee)](_0x47badb(0x203),{'className':_0x47badb(0x27a),'children':'⚠️'}),o[_0x47badb(0x1ee)]('p',{'className':_0x47badb(0x25e),'children':_0x599ad7(_0x3c3bea)})]})})]}),o[_0x47badb(0x1ee)](_0x47badb(0x255),{'className':_0x47badb(0x2b9),'children':o[_0x47badb(0x234)](_0x47badb(0x255),{'className':_0x47badb(0x285),'children':[o[_0x47badb(0x234)](_0x47badb(0x255),{'className':'univer-space-y-2','children':[o['jsxs'](_0x47badb(0x21b),{'className':_0x47badb(0x2a9),'children':[o[_0x47badb(0x1ee)](_0x47badb(0x203),{'children':'🔑'}),'\x20',_0x226199['t'](_0x47badb(0x2dd)),o['jsx'](_0x47badb(0x203),{'className':'univer-text-red-500','children':'*'}),_0x58319f&&o[_0x47badb(0x1ee)]('a',{'href':_0x47badb(0x2f0),'onClick':()=>_0x2ee8c0(!0x0),'className':_0x47badb(0x2fe),'title':_0x226199['t']('mcpConfig.apiApplyInfo.title'),'children':o[_0x47badb(0x1ee)](Y,{})})]}),o[_0x47badb(0x1ee)](x['Input'],{'type':'text','placeholder':_0x226199['t'](_0x47badb(0x25b)),'value':_0x1be683,'onChange':_0xa5780b,'disabled':_0xbed7dc,'autoComplete':'off'}),o[_0x47badb(0x1ee)]('p',{'className':_0x47badb(0x265),'children':_0x226199['t']('mcpConfig.apiKeyHint')})]}),_0x58319f&&_0x2c7899&&o[_0x47badb(0x234)](_0x47badb(0x255),{'className':_0x47badb(0x21d),'children':[o[_0x47badb(0x1ee)]('a',{'href':'javascript:void(0)','onClick':()=>_0x2ee8c0(!0x1),'className':_0x47badb(0x223),'title':_0x47badb(0x1cc),'children':o[_0x47badb(0x1ee)](G,{})}),o[_0x47badb(0x234)](_0x47badb(0x255),{'className':_0x47badb(0x319),'children':[o[_0x47badb(0x1ee)]('div',{'className':'univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':o[_0x47badb(0x1ee)](_0x47badb(0x203),{'className':_0x47badb(0x26d),'children':'🚀'})}),o[_0x47badb(0x234)](_0x47badb(0x255),{'className':_0x47badb(0x209),'children':[o[_0x47badb(0x1ee)]('h4',{'className':_0x47badb(0x27e),'children':_0x226199['t'](_0x47badb(0x1e3))}),o[_0x47badb(0x1ee)]('p',{'className':_0x47badb(0x249),'children':_0x226199['t'](_0x47badb(0x30d))}),o[_0x47badb(0x1ee)](_0x47badb(0x255),{'className':_0x47badb(0x27c),'children':_0x12457f&&o[_0x47badb(0x234)]('a',{'href':_0x44847b,'target':'_blank','rel':_0x47badb(0x1ba),'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':[o[_0x47badb(0x1ee)](_0x47badb(0x203),{'children':'🤖'}),_0x226199['t'](_0x47badb(0x2b2)),o[_0x47badb(0x1ee)](_0x47badb(0x203),{'className':_0x47badb(0x25f),'children':'↗'})]})}),o[_0x47badb(0x234)]('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x226199['t'](_0x47badb(0x282))]})]})]})]}),_0xaf560d[_0x47badb(0x1fa)]&&o[_0x47badb(0x234)](_0x47badb(0x255),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[o['jsxs']('h4',{'className':_0x47badb(0x2ec),'children':[o['jsx'](_0x47badb(0x203),{'children':'🔗'}),'\x20',_0x226199['t'](_0x47badb(0x1ef))]}),o['jsxs']('div',{'className':_0x47badb(0x1ce),'children':[o[_0x47badb(0x234)](_0x47badb(0x255),{'className':_0x47badb(0x216),'children':[o['jsx']('div',{'className':_0x47badb(0x1c1)}),o[_0x47badb(0x234)](_0x47badb(0x255),{'className':_0x47badb(0x2e4),'children':[o[_0x47badb(0x1ee)](_0x47badb(0x255),{'className':_0x47badb(0x2f5),'children':_0x226199['t'](_0x47badb(0x290))}),o[_0x47badb(0x1ee)](_0x47badb(0x26b),{'className':_0x47badb(0x22f),'children':_0x20e802[_0x47badb(0x2c1)]})]})]}),o[_0x47badb(0x234)](_0x47badb(0x255),{'className':_0x47badb(0x216),'children':[o[_0x47badb(0x1ee)]('div',{'className':_0x47badb(0x1c1)}),o[_0x47badb(0x234)](_0x47badb(0x255),{'className':'univer-min-w-0\x20univer-flex-1','children':[o['jsx'](_0x47badb(0x255),{'className':_0x47badb(0x2f5),'children':_0x226199['t'](_0x47badb(0x2e9))}),o[_0x47badb(0x1ee)](_0x47badb(0x26b),{'className':_0x47badb(0x1bc),'children':_0x20e802[_0x47badb(0x29b)]||_0x47badb(0x315)})]})]})]})]}),o[_0x47badb(0x1ee)](x[_0x47badb(0x2d5)],{'onClick':_0x3483e6,'disabled':!_0x56c8df||_0xbed7dc,'className':_0x47badb(0x29d),'children':_0xbed7dc?o[_0x47badb(0x234)](_0x47badb(0x203),{'className':_0x47badb(0x1f8),'children':[o['jsx']('span',{'children':'⟲'}),_0x226199['t']('mcpConfig.saving')]}):o[_0x47badb(0x234)](_0x47badb(0x203),{'className':_0x47badb(0x1f8),'children':[o[_0x47badb(0x1ee)](L,{}),_0x226199['t']('mcpConfig.save')]})}),o[_0x47badb(0x1ee)](_0x47badb(0x255),{'className':_0x47badb(0x2ad),'children':o[_0x47badb(0x234)](_0x47badb(0x255),{'className':_0x47badb(0x1b1),'children':[o[_0x47badb(0x1ee)](_0x47badb(0x203),{'className':_0x47badb(0x2ce),'children':'💡'}),o[_0x47badb(0x234)](_0x47badb(0x255),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[o[_0x47badb(0x1ee)](_0x47badb(0x255),{'className':_0x47badb(0x204),'children':'Configuration\x20Notes:'}),o[_0x47badb(0x234)]('div',{'children':['•',_0x226199['t'](_0x47badb(0x2d2))]}),o[_0x47badb(0x234)]('div',{'children':['•',_0x226199['t'](_0x47badb(0x28c))]})]})]})})]})})]});}const k='mcp-ui.config',T={'showDeveloperTools':!0x1};var fe=Object['getOwnPropertyDescriptor'],pe=(_0x1f7f39,_0x308d7a,_0x2eda18,_0x290a2f)=>{var _0x2ef328=_0x54abe0;for(var _0x48fa9e=_0x290a2f>0x1?void 0x0:_0x290a2f?fe(_0x308d7a,_0x2eda18):_0x308d7a,_0x149d92=_0x1f7f39[_0x2ef328(0x2c3)]-0x1,_0x3f7b92;_0x149d92>=0x0;_0x149d92--)(_0x3f7b92=_0x1f7f39[_0x149d92])&&(_0x48fa9e=_0x3f7b92(_0x48fa9e)||_0x48fa9e);return _0x48fa9e;},p=(_0x3e724d,_0x10eba2)=>(_0x52ae51,_0x4d05de)=>_0x10eba2(_0x52ae51,_0x4d05de,_0x3e724d);const w=_0x54abe0(0x297),A=_0x54abe0(0x2a6);exports[_0x54abe0(0x224)]=class extends u[_0x54abe0(0x291)]{constructor(_0x578027,_0x3df076,_0x24cc15,_0x1e3522,_0x3f6439,_0x412fc5,_0xfba303,_0x27f736,_0x144488,_0x1f81fe){var _0x1c31ca=_0x54abe0;super(),_(this,'_loading$',new j[(_0x1c31ca(0x267))](!0x1)),_(this,_0x1c31ca(0x1c3),new j[(_0x1c31ca(0x267))]({})),_(this,_0x1c31ca(0x2c4),new j[(_0x1c31ca(0x267))]({})),_(this,_0x1c31ca(0x286),async _0x3eeb60=>{var _0x333069=_0x1c31ca;this['_loading$'][_0x333069(0x30c)](!0x0);try{const _0xe11c06=await this[_0x333069(0x283)](_0x3eeb60);if(!_0xe11c06[_0x333069(0x2eb)]){this['_messageService'][_0x333069(0x2ed)]({'type':x[_0x333069(0x279)][_0x333069(0x269)],'content':_0xe11c06[_0x333069(0x30f)]||this[_0x333069(0x20a)]['t'](_0x333069(0x288))});return;}_0x3eeb60[_0x333069(0x300)]?await this[_0x333069(0x1c5)][_0x333069(0x22c)](w,_0x3eeb60[_0x333069(0x300)][_0x333069(0x309)]()):await this[_0x333069(0x1c5)][_0x333069(0x2e6)](w),this[_0x333069(0x2ca)][_0x333069(0x1f2)](s[_0x333069(0x28b)],{..._0x3eeb60,'apiKey':_0x3eeb60[_0x333069(0x300)]['trim']()}),this[_0x333069(0x1c3)]['next']({..._0x3eeb60,'apiKey':_0x3eeb60[_0x333069(0x300)][_0x333069(0x309)]()}),this[_0x333069(0x1e2)][_0x333069(0x2ed)]({'type':x[_0x333069(0x279)][_0x333069(0x2b7)],'content':this[_0x333069(0x20a)]['t'](_0x333069(0x259))}),setTimeout(()=>{var _0x148fea=_0x333069;this[_0x148fea(0x2f2)]['close'](A);},0x320);}catch(_0x61440d){this[_0x333069(0x2a8)][_0x333069(0x2bc)](_0x333069(0x306),_0x61440d),this[_0x333069(0x1e2)][_0x333069(0x2ed)]({'type':x[_0x333069(0x279)][_0x333069(0x269)],'content':this[_0x333069(0x20a)]['t']('mcpConfig.configError')});}finally{this[_0x333069(0x281)][_0x333069(0x30c)](!0x1);}}),(this['_injector']=_0x578027,this['_uiPartsService']=_0x3df076,this[_0x1c31ca(0x2ca)]=_0x24cc15,this[_0x1c31ca(0x1c5)]=_0x1e3522,this[_0x1c31ca(0x2f2)]=_0x3f6439,this['_messageService']=_0x412fc5,this[_0x1c31ca(0x256)]=_0xfba303,this[_0x1c31ca(0x20a)]=_0x27f736,this[_0x1c31ca(0x2a8)]=_0x144488,this['_mcpConnectionController']=_0x1f81fe,this['_initConfigSync'](),this[_0x1c31ca(0x2a3)](),this[_0x1c31ca(0x254)]());}[_0x54abe0(0x278)](){var _0x18d0dd=_0x54abe0;this[_0x18d0dd(0x2f2)][_0x18d0dd(0x24f)]({'id':A,'title':{'title':this[_0x18d0dd(0x20a)]['t'](_0x18d0dd(0x2db))},'children':{'label':_0x18d0dd(0x1f9)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{this['_dialogService']['close'](A);}});}[_0x54abe0(0x1fd)](){var _0x4ead36=_0x54abe0;return this[_0x4ead36(0x1c3)][_0x4ead36(0x302)];}[_0x54abe0(0x254)](){var _0x649b5a=_0x54abe0;this['disposeWithMe'](this[_0x649b5a(0x256)][_0x649b5a(0x20e)](_0x649b5a(0x1f9),this[_0x649b5a(0x20d)]()));}[_0x54abe0(0x20d)](){var _0x2f6935=_0x54abe0;return v[_0x2f6935(0x1c4)](()=>{var _0x5e97b6=_0x2f6935,_0x37a91c,_0x4261ff;return o[_0x5e97b6(0x1ee)](B,{'config':this[_0x5e97b6(0x2c4)][_0x5e97b6(0x302)],'mcpCoreConfig':this[_0x5e97b6(0x1c3)][_0x5e97b6(0x302)],'onSave':this['_handleConfigSave'],'loading':this[_0x5e97b6(0x281)][_0x5e97b6(0x302)],'connectionStatus$':(_0x37a91c=this['_mcpConnectionController'])==null?void 0x0:_0x37a91c['connectionStatus$'],'connectionError$':(_0x4261ff=this['_mcpConnectionController'])==null?void 0x0:_0x4261ff['connectionError$']});},this['_injector']);}['_initConfigSync'](){var _0x112d8a=_0x54abe0;this[_0x112d8a(0x2b4)](this[_0x112d8a(0x2ca)][_0x112d8a(0x20b)](s[_0x112d8a(0x28b)])['subscribe'](_0x148a56=>{var _0x21fa3a=_0x112d8a;this['_mcpCoreConfig$'][_0x21fa3a(0x30c)](_0x148a56||{});}));const _0x27d43f=this[_0x112d8a(0x2ca)][_0x112d8a(0x2cf)](s[_0x112d8a(0x28b)]);this[_0x112d8a(0x1c3)][_0x112d8a(0x30c)](_0x27d43f||{}),this[_0x112d8a(0x2b4)](this[_0x112d8a(0x2ca)]['subscribeConfigValue$'](k)['subscribe'](_0xa93874=>{var _0xd5749c=_0x112d8a;this['_config$'][_0xd5749c(0x30c)](_0xa93874||{});}));const _0x2d8c9d=this[_0x112d8a(0x2ca)][_0x112d8a(0x2cf)](k);this['_config$'][_0x112d8a(0x30c)](_0x2d8c9d||{});}async[_0x54abe0(0x2a3)](){var _0x54ee50=_0x54abe0;const _0x8c1e2b=await this[_0x54ee50(0x1c5)][_0x54ee50(0x289)](w);if(_0x8c1e2b){const _0x4e4220={...this['_mcpCoreConfig$'][_0x54ee50(0x302)],'apiKey':_0x8c1e2b};this[_0x54ee50(0x2ca)][_0x54ee50(0x1f2)](s[_0x54ee50(0x28b)],_0x4e4220),this[_0x54ee50(0x1c3)]['next'](_0x4e4220);}}async[_0x54abe0(0x283)](_0x2d83c3){var _0x23b80a=_0x54abe0;if(!_0x2d83c3[_0x23b80a(0x300)]||_0x2d83c3[_0x23b80a(0x300)]['trim']()[_0x23b80a(0x2c3)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x23b80a(0x20a)]['t'](_0x23b80a(0x2dc))};if(_0x2d83c3['apiKey'][_0x23b80a(0x309)]()[_0x23b80a(0x2c3)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x23b80a(0x20a)]['t'](_0x23b80a(0x2ae))};try{const _0x17ef96=await this[_0x23b80a(0x23e)][_0x23b80a(0x1ff)](s[_0x23b80a(0x1cd)])[_0x23b80a(0x211)](_0x2d83c3[_0x23b80a(0x300)][_0x23b80a(0x309)]());return _0x17ef96[_0x23b80a(0x2eb)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x17ef96['error']||this['_localeService']['t'](_0x23b80a(0x277))};}catch(_0x3f4880){return console['warn'](_0x23b80a(0x2df),_0x3f4880),{'isValid':!0x0};}}},exports[_0x54abe0(0x224)]=pe([p(0x0,u[_0x54abe0(0x294)](u[_0x54abe0(0x227)])),p(0x1,v[_0x54abe0(0x26a)]),p(0x2,u['IConfigService']),p(0x3,u[_0x54abe0(0x25d)]),p(0x4,v[_0x54abe0(0x1b5)]),p(0x5,v[_0x54abe0(0x217)]),p(0x6,u[_0x54abe0(0x294)](v[_0x54abe0(0x30b)])),p(0x7,u[_0x54abe0(0x294)](u[_0x54abe0(0x280)])),p(0x8,u['ILogService']),p(0x9,u['Inject'](s[_0x54abe0(0x1cd)]))],exports[_0x54abe0(0x224)]);const b={'id':_0x54abe0(0x2a5),'type':u['CommandType'][_0x54abe0(0x1ec)],'handler':async(_0x18301c,_0x3cd972)=>(_0x18301c[_0x54abe0(0x1ff)](exports[_0x54abe0(0x224)])[_0x54abe0(0x278)](),!0x0)};function H(_0xb19c00,_0x1051ab){var _0x2ee65f=_0x54abe0;switch(_0xb19c00){case s[_0x2ee65f(0x1b6)][_0x2ee65f(0x207)]:return _0x1051ab===s[_0x2ee65f(0x2cb)]['MISSING_API_KEY']?_0x2ee65f(0x1eb):'mcpStatus.disconnected';case s[_0x2ee65f(0x1b6)]['CONNECTING']:return _0x2ee65f(0x2d4);case s[_0x2ee65f(0x1b6)][_0x2ee65f(0x24a)]:return'mcpStatus.connected';case s[_0x2ee65f(0x1b6)][_0x2ee65f(0x1fe)]:switch(_0x1051ab){case s[_0x2ee65f(0x2cb)][_0x2ee65f(0x1e4)]:return _0x2ee65f(0x23c);case s[_0x2ee65f(0x2cb)][_0x2ee65f(0x2a7)]:return'mcpStatus.sessionOccupied';case s[_0x2ee65f(0x2cb)][_0x2ee65f(0x1df)]:return'mcpStatus.networkError';case s[_0x2ee65f(0x2cb)][_0x2ee65f(0x304)]:return'mcpStatus.maxRetriesExceeded';default:return _0x2ee65f(0x2c8);}case s[_0x2ee65f(0x1b6)][_0x2ee65f(0x1e8)]:return'mcpStatus.retrying';default:return _0x2ee65f(0x24c);}}function he(_0x4c1eac,_0x38bcf9,_0x43196e){var _0x9ae671=_0x54abe0;const _0x33aa91=H(_0x4c1eac,_0x38bcf9),_0x48b5e8=_0x43196e['t'](_0x33aa91);return _0x4c1eac===s[_0x9ae671(0x1b6)][_0x9ae671(0x207)]&&_0x38bcf9===s[_0x9ae671(0x2cb)][_0x9ae671(0x1f7)]?_0x48b5e8+_0x9ae671(0x22a)+_0x43196e['t']('mcpStatus.clickToConfigure'):_0x4c1eac===s[_0x9ae671(0x1b6)][_0x9ae671(0x24a)]?''+_0x48b5e8:_0x4c1eac===s[_0x9ae671(0x1b6)]['DISCONNECTED']||_0x4c1eac===s[_0x9ae671(0x1b6)][_0x9ae671(0x1fe)]?_0x48b5e8+_0x9ae671(0x22a)+_0x43196e['t']('mcpStatus.clickToConnect'):_0x48b5e8;}function me(_0x4dfa9f){var _0x3881f0=_0x54abe0;switch(_0x4dfa9f){case s[_0x3881f0(0x1b6)][_0x3881f0(0x24a)]:return _0x3881f0(0x2f3);case s[_0x3881f0(0x1b6)][_0x3881f0(0x2aa)]:case s[_0x3881f0(0x1b6)][_0x3881f0(0x1e8)]:return _0x3881f0(0x240);case s[_0x3881f0(0x1b6)]['FAILED']:case s['MCPConnectionStatus']['DISCONNECTED']:return _0x3881f0(0x1c7);default:return _0x3881f0(0x241);}}function q(_0x24fd53){var _0x52ada0=_0x54abe0;const {status$:_0x317ef8,error$:_0x1c53a9,onConfigure:_0xc40a92}=_0x24fd53,_0x2fc74b=v[_0x52ada0(0x248)](_0x317ef8,s['MCPConnectionStatus'][_0x52ada0(0x207)]),_0x57daa2=v[_0x52ada0(0x248)](_0x1c53a9,s['MCPConnectionError'][_0x52ada0(0x208)]),_0x44eebe=v[_0x52ada0(0x1e6)](u['LocaleService']),_0x5bc73f=_0x2fc74b===s[_0x52ada0(0x1b6)][_0x52ada0(0x24a)],_0xac6260=_0x2fc74b===s[_0x52ada0(0x1b6)]['CONNECTING']||_0x2fc74b===s[_0x52ada0(0x1b6)][_0x52ada0(0x1e8)],_0x61069f=_0x44eebe['t'](H(_0x2fc74b,_0x57daa2)),_0x8e8a13=he(_0x2fc74b,_0x57daa2,_0x44eebe),_0x5b9077=me(_0x2fc74b),_0x4f3a74=_0x5bc73f?o['jsx'](V,{}):o[_0x52ada0(0x1ee)](F,{}),_0x68e783=d[_0x52ada0(0x310)](()=>{_0xc40a92&&_0xc40a92();},[_0x5bc73f,_0xac6260,_0xc40a92]);function _0x51a6cc(){var _0x47c495=_0x52ada0;return o[_0x47c495(0x234)]('div',{'className':x['clsx'](_0x47c495(0x1b3),_0xc40a92&&_0x47c495(0x2fc)),'onClick':_0xc40a92?_0x68e783:void 0x0,'children':[o['jsx'](_0x47c495(0x255),{'className':x[_0x47c495(0x1b0)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x5b9077),'children':_0x4f3a74}),o[_0x47c495(0x1ee)](_0x47c495(0x255),{'className':_0x47c495(0x1bb),'children':_0x61069f})]});}return o[_0x52ada0(0x1ee)](x[_0x52ada0(0x2e5)],{'title':_0x8e8a13,'placement':_0x52ada0(0x264),'children':_0x51a6cc()});}var xe=Object[_0x54abe0(0x1d0)],Pe=(_0x3c6f3d,_0x33e65d,_0x4c80f9,_0x5b3be7)=>{var _0x35307a=_0x54abe0;for(var _0x2f0c47=_0x5b3be7>0x1?void 0x0:_0x5b3be7?xe(_0x33e65d,_0x4c80f9):_0x33e65d,_0x468a4c=_0x3c6f3d[_0x35307a(0x2c3)]-0x1,_0x120702;_0x468a4c>=0x0;_0x468a4c--)(_0x120702=_0x3c6f3d[_0x468a4c])&&(_0x2f0c47=_0x120702(_0x2f0c47)||_0x2f0c47);return _0x2f0c47;},O=(_0x7d21e5,_0x2d0e23)=>(_0x9fd618,_0x57a0c3)=>_0x2d0e23(_0x9fd618,_0x57a0c3,_0x7d21e5);exports[_0x54abe0(0x21e)]=class extends u['Disposable']{constructor(_0x2c2b8f,_0x4162d6,_0x1704c7){var _0x4320b1=_0x54abe0;super(),this[_0x4320b1(0x23e)]=_0x2c2b8f,this['_connectionController']=_0x4162d6,this[_0x4320b1(0x231)]=_0x1704c7,this[_0x4320b1(0x229)]();}[_0x54abe0(0x229)](){var _0x3ed77e=_0x54abe0;this['disposeWithMe'](this[_0x3ed77e(0x231)][_0x3ed77e(0x2de)](v[_0x3ed77e(0x1d4)][_0x3ed77e(0x205)],()=>v[_0x3ed77e(0x1c4)](Ie({'status$':this[_0x3ed77e(0x1bd)]['connectionStatus$'],'error$':this[_0x3ed77e(0x1bd)][_0x3ed77e(0x274)],'onConfigure':()=>this[_0x3ed77e(0x2f1)]()}),this[_0x3ed77e(0x23e)])));}[_0x54abe0(0x2f1)](){var _0x1f67e8=_0x54abe0;this['_injector'][_0x1f67e8(0x1ff)](exports[_0x1f67e8(0x224)])[_0x1f67e8(0x278)]();}},exports[_0x54abe0(0x21e)]=Pe([O(0x0,u[_0x54abe0(0x294)](u[_0x54abe0(0x227)])),O(0x1,u[_0x54abe0(0x294)](s['MCPConnectionController'])),O(0x2,v[_0x54abe0(0x26a)])],exports[_0x54abe0(0x21e)]);function _0x5c13(){var _0x33d708=['univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-flex\x20univer-cursor-pointer\x20univer-items-center','MenuIcon','IDialogService','MCPConnectionStatus','enUS','3104460qYsOcE','mergeMenu','noopener\x20noreferrer','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','_connectionController','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','UniverMCPPlugin','MCPStatusDisplay','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','OffLineIcon','_mcpCoreConfig$','connectInjector','_localStorageService','Plugin','univer-text-red-500','symbol','function','网络连接错误,请检查您的网络连接','mcpConfig.connectionError.networkError','Close','MCPConnectionController','univer-space-y-3','已连接','getOwnPropertyDescriptor','MCP:\x20超出最大重试次数','toString','BUTTON','BuiltInUIPart','url(#off-line-icon_clip0_910_343)','IMenuManagerService','MCP\x20已连接','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connection\x20Failed','MCP\x20状态未知','OnLineIcon','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','on-line-icon_clip0_910_349','MCP\x20重连中...','NETWORK_ERROR','What\x20is\x20API\x20Key?','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','_messageService','mcpConfig.apiApplyInfo.title','INVALID_API_KEY','2759208UJtxZr','useDependency','服务器端点','RETRYING','fill','Click\x20to\x20connect\x20MCP','mcpStatus.missingApiKey','COMMAND','Connected','jsx','mcpConfig.connectionInfo','call','mcpConfig.connectionStatus.failed','setConfig','univerjs-icon\x20univerjs-icon-','indexOf','mcpConfig.connectionStatus.connected','保存配置','MISSING_API_KEY','univer-flex\x20univer-items-center\x20univer-gap-2','MCPConfigPanel','showDeveloperTools','保存中...','0\x200\x2017\x2016','getCurrentConfig','FAILED','get','random','onStarting','tag','span','univer-font-medium','HEADER_MENU','MCP\x20Unknown\x20Status','DISCONNECTED','NONE','univer-flex-1','_localeService','subscribeConfigValue$','104396gGhpwi','_createConfigPanelComponent','register','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','_initializeMenus','validateApiKey','_menuManagerService','Univer\x20AI\x20Console','useRef','配置保存失败','univer-flex\x20univer-items-start\x20univer-gap-3','IMessageService','0\x200\x2017\x2017','path','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','label','extend','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','MCPConnectionUIController','最大重试次数','univer-bg-blue-500','超出最大重试次数,请稍后再试','MCP\x20Disconnected','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','MCPConfigUIController','icon','add','Injector','CheckMarkIcon','_initStatusComponent','\x20-\x20','MCP:\x20Max\x20Retries\x20Exceeded','setItem','registerCommand','20zdlWLw','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','mcpConfig.connectionStatus.connecting','_uiPartsService','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','none','jsxs','MCP\x20Connecting...','配置保存成功','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20密钥无效,请检查密钥是否正确','\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','MCP\x20连接失败','21KnqvnN','mcpStatus.invalidApiKey','assign','_injector','\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-text-yellow-500','univer-text-gray-500','0\x200\x2016\x2016','连接失败','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','url(#$1','includes','Enable\x20authentication\x20for\x20secure\x20connections','useObservable','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','CONNECTED','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpStatus.unknown','forwardRef','currentColor','open','Session\x20ID','Server\x20Endpoint','MenuItemType','white','_registerComponent','div','_componentManager','colorChannel1','MCP:\x20API\x20Key\x20Missing','mcpConfig.configSaved','_config','mcpConfig.apiKeyPlaceholder','MCP\x20Retrying...','ILocalStorageService','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-text-gray-400','MCPUIMenuController','off-line-icon','OTHERS','entries','bottom','univer-text-xs\x20univer-text-gray-500','url(#on-line-icon_clip0_910_349)','BehaviorSubject','clipPath','Error','IUIPartsService','code','univer.ai','univer-text-blue-600','mcpConfig.connectionError.invalidApiKey','Retrying...','MCP:\x20Network\x20Error','xlink:href','current','启用身份验证以获得安全连接','connectionError$','MCP:\x20Invalid\x20API\x20Key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','mcpConfig.validation.invalidApiKey','showConfigPanel','MessageType','univer-flex-shrink-0\x20univer-text-red-500','univer-text-sm\x20univer-font-medium','univer-flex\x20univer-flex-wrap\x20univer-gap-2','需要\x20API\x20密钥才能连接','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','map','LocaleService','_loading$','mcpConfig.apiApplyInfo.getStarted','_validateConfig','点击连接\x20MCP','univer-space-y-5','_handleConfigSave','M5.21243\x205.62036L11.8791\x2012.287','mcpConfig.validation.invalidConfig','getItem','mcpConfig.connectionError.missingApiKey','MCP_PLUGIN_CONFIG_KEY','mcpConfig.note2','Invalid\x20configuration','Saving...','off-line-icon_clip0_910_343','mcpConfig.serverEndpoint','Disposable','hasOwnProperty','配置更改将立即生效','Inject','https://console.univer.ai','DependentOn','mcp.apiKey','prototype','M0\x200H16V16H0z','className','sessionId','会话ID','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-sm\x20univer-text-gray-500','CloseSmallSingle','UniverMCPUIPlugin','zhCN','API\x20密钥长度至少需要\x2010\x20位','_loadStoredApiKey','39XUEiAp','mcp-ui.command.openConfigPanel','mcp-config-dialog','SESSION_ID_OCCUPIED','_logService','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','CONNECTING','apply','MCP\x20已断开','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpConfig.validation.apiKeyTooShort','round','propertyIsEnumerable','https://console.univer.plus','mcpConfig.apiApplyInfo.univerAiLabel','未连接','disposeWithMe','mcpConfig.connectionStatus.disconnected','attrs','Success','mcpConfig.description','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','3586326TdtIMP','MCP\x20配置','error','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','API\x20Key','mcpConfig.connectionError.maxRetriesExceeded','mcpServerUrl','http://www.w3.org/2000/svg','length','_config$','evenodd','Enter\x20your\x20API\x20key','HelpSingle','mcpStatus.failed','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','_configService','MCPConnectionError','配置无效','idSuffix','univer-flex-shrink-0\x20univer-text-blue-500','getConfig','merge','string','mcpConfig.note1','API\x20密钥','mcpStatus.connecting','Button','_commandService','MCP:\x20会话被占用','Connecting...','svg','forEach','mcpConfig.title','mcpConfig.validation.apiKeyRequired','mcpConfig.apiKey','registerComponent','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','IConfigService','createElement','defs','961386sTDDLg','univer-min-w-0\x20univer-flex-1','Tooltip','removeItem','univer.plus','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpConfig.sessionId','1797392BQzPXx','isValid','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','show','1em','连接中...','javascript:void(0)','_handleConfigure','_dialogService','univer-text-green-500','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','API\x20key\x20is\x20required','RibbonStartGroup','API\x20key\x20is\x20required\x20to\x20connect','6894735tnpoJG','replace','Click\x20to\x20configure\x20MCP','hover:univer-opacity-80','Max\x20Retries','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','MCP:\x20网络错误','apiKey','concat','value','useState','MAX_RETRIES_EXCEEDED','substring','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','API\x20密钥无效,请检查您的密钥后重试','重连中...','trim','M5.21243\x2012.287L11.8791\x205.62036','ComponentManager','next','mcpConfig.apiApplyInfo.description','Disconnected','errorMessage','useCallback','UniverIcon','pluginName','univer-bg-red-500','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','default','MCP\x20Connection\x20Failed','displayName','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','MCP\x20连接中...','API\x20密钥不能为空','getOwnPropertySymbols','clsx','univer-flex\x20univer-gap-3'];_0x5c13=function(){return _0x33d708;};return _0x5c13();}function Ie(_0x384a42){const {status$:_0x18f965,error$:_0x4ab97e,onConfigure:_0x2faba}=_0x384a42;return function(){return o['jsx'](q,{'status$':_0x18f965,'error$':_0x4ab97e,'onConfigure':_0x2faba});};}function Se(_0x3ecdc4){var _0x26d967=_0x54abe0;return{'id':b['id'],'type':v[_0x26d967(0x252)][_0x26d967(0x1d3)],'icon':_0x26d967(0x1b4),'title':_0x26d967(0x2db),'tooltip':_0x26d967(0x2db)};}const _e={[v[_0x54abe0(0x2f7)][_0x54abe0(0x262)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Se}}};var ye=Object[_0x54abe0(0x1d0)],Me=(_0x233456,_0x359c18,_0x1bb924,_0x66ee29)=>{var _0x4de572=_0x54abe0;for(var _0x259529=_0x66ee29>0x1?void 0x0:_0x66ee29?ye(_0x359c18,_0x1bb924):_0x359c18,_0x36da02=_0x233456[_0x4de572(0x2c3)]-0x1,_0x17a036;_0x36da02>=0x0;_0x36da02--)(_0x17a036=_0x233456[_0x36da02])&&(_0x259529=_0x17a036(_0x259529)||_0x259529);return _0x259529;},R=(_0x457845,_0x149d22)=>(_0x474efd,_0x5a88c9)=>_0x149d22(_0x474efd,_0x5a88c9,_0x457845);exports[_0x54abe0(0x260)]=class extends u['Disposable']{constructor(_0x2c72fd,_0x4b173f){var _0x300484=_0x54abe0;super(),this['_commandService']=_0x2c72fd,this[_0x300484(0x212)]=_0x4b173f,this['_initializeCommands'](),this['_initializeMenus']();}['_initializeCommands'](){[b]['forEach'](_0x2ef27=>{var _0x193fd3=_0x1566;this['disposeWithMe'](this[_0x193fd3(0x2d6)][_0x193fd3(0x22d)](_0x2ef27));});}[_0x54abe0(0x210)](){var _0x25b200=_0x54abe0;this[_0x25b200(0x212)][_0x25b200(0x1b9)](_e);}},exports['MCPUIMenuController']=Me([R(0x0,u['ICommandService']),R(0x1,v[_0x54abe0(0x1d6)])],exports[_0x54abe0(0x260)]);const Ee={'mcpStatus':{'disconnected':_0x54abe0(0x222),'connecting':_0x54abe0(0x235),'connected':'MCP\x20Connected','failed':_0x54abe0(0x316),'retrying':_0x54abe0(0x25c),'unknown':_0x54abe0(0x206),'missingApiKey':_0x54abe0(0x258),'invalidApiKey':_0x54abe0(0x275),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x54abe0(0x270),'maxRetriesExceeded':_0x54abe0(0x22b),'clickToConnect':_0x54abe0(0x1ea),'clickToConfigure':_0x54abe0(0x2fb)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x54abe0(0x1d8),'apiKey':_0x54abe0(0x2bf),'apiKeyPlaceholder':_0x54abe0(0x2c6),'apiKeyHint':_0x54abe0(0x2f4),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x54abe0(0x247),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x54abe0(0x251),'sessionId':_0x54abe0(0x250),'maxRetries':_0x54abe0(0x2fd),'save':'Save\x20Configuration','saving':_0x54abe0(0x28e),'note1':_0x54abe0(0x314),'note2':_0x54abe0(0x318),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x54abe0(0x1e0),'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':_0x54abe0(0x213),'getStarted':_0x54abe0(0x237)},'validation':{'apiKeyRequired':_0x54abe0(0x2f6),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x54abe0(0x28d),'invalidApiKey':_0x54abe0(0x276)},'connectionStatus':{'disconnected':_0x54abe0(0x30e),'connecting':_0x54abe0(0x2d8),'connected':_0x54abe0(0x1ed),'failed':_0x54abe0(0x1d9),'retrying':_0x54abe0(0x26f)},'connectionError':{'missingApiKey':_0x54abe0(0x2f8),'invalidApiKey':_0x54abe0(0x232),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x54abe0(0x21a),'maxRetriesExceeded':_0x54abe0(0x2bd)}}},Ne={'mcpStatus':{'disconnected':_0x54abe0(0x2ac),'connecting':_0x54abe0(0x1ad),'connected':_0x54abe0(0x1d7),'failed':_0x54abe0(0x23a),'retrying':_0x54abe0(0x1de),'unknown':_0x54abe0(0x1da),'missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':'MCP:\x20无效的\x20API\x20密钥','sessionOccupied':_0x54abe0(0x2d7),'networkError':_0x54abe0(0x2ff),'maxRetriesExceeded':_0x54abe0(0x1d1),'clickToConnect':_0x54abe0(0x284),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x54abe0(0x2bb),'description':_0x54abe0(0x24b),'apiKey':_0x54abe0(0x2d3),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x54abe0(0x273),'connectionInfo':'连接信息','serverEndpoint':_0x54abe0(0x1e7),'sessionId':_0x54abe0(0x29c),'maxRetries':_0x54abe0(0x21f),'save':_0x54abe0(0x1f6),'saving':_0x54abe0(0x1fb),'note1':_0x54abe0(0x293),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x54abe0(0x236),'configError':_0x54abe0(0x215),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x54abe0(0x1ae),'apiKeyTooShort':_0x54abe0(0x2a2),'invalidConfig':_0x54abe0(0x2cc),'invalidApiKey':_0x54abe0(0x238)},'connectionStatus':{'disconnected':_0x54abe0(0x2b3),'connecting':_0x54abe0(0x2ef),'connected':_0x54abe0(0x1cf),'failed':_0x54abe0(0x243),'retrying':_0x54abe0(0x308)},'connectionError':{'missingApiKey':_0x54abe0(0x27d),'invalidApiKey':_0x54abe0(0x307),'sessionOccupied':'会话当前被占用,请稍后再试','networkError':_0x54abe0(0x1ca),'maxRetriesExceeded':_0x54abe0(0x221)}}};var be=Object['defineProperty'],je=Object['getOwnPropertyDescriptor'],we=(_0x4814cd,_0x557545,_0x420d87)=>_0x557545 in _0x4814cd?be(_0x4814cd,_0x557545,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x420d87}):_0x4814cd[_0x557545]=_0x420d87,Ae=(_0x5d74d8,_0x48fec4,_0x352bd3,_0x588101)=>{var _0x4bec07=_0x54abe0;for(var _0x40c329=_0x588101>0x1?void 0x0:_0x588101?je(_0x48fec4,_0x352bd3):_0x48fec4,_0x2d7509=_0x5d74d8[_0x4bec07(0x2c3)]-0x1,_0xcd4e06;_0x2d7509>=0x0;_0x2d7509--)(_0xcd4e06=_0x5d74d8[_0x2d7509])&&(_0x40c329=_0xcd4e06(_0x40c329)||_0x40c329);return _0x40c329;},y=(_0x4e1032,_0x58d216)=>(_0xb79f38,_0x1c4f58)=>_0x58d216(_0xb79f38,_0x1c4f58,_0x4e1032),Oe=(_0x35dd6a,_0x3ef152,_0x392882)=>we(_0x35dd6a,_0x3ef152+'',_0x392882);exports['UniverMCPUIPlugin']=class extends u[_0x54abe0(0x1c6)]{constructor(_0x1a16c7=T,_0x57505c,_0x56b923,_0xfe5b95,_0x358573,_0x798e8d){var _0x497c6b=_0x54abe0;super(),this[_0x497c6b(0x25a)]=_0x1a16c7,this[_0x497c6b(0x23e)]=_0x57505c,this[_0x497c6b(0x2ca)]=_0x56b923,this[_0x497c6b(0x231)]=_0xfe5b95,this[_0x497c6b(0x1c5)]=_0x358573,this['_localeService']=_0x798e8d;const {..._0x4da1bd}=u[_0x497c6b(0x2d0)]({},T,this['_config']);this['_configService'][_0x497c6b(0x1f2)](k,_0x4da1bd);}async[_0x54abe0(0x201)](){var _0x1f516c=_0x54abe0;[[exports['MCPConnectionUIController']],[exports[_0x1f516c(0x224)]],[exports[_0x1f516c(0x260)]]][_0x1f516c(0x2da)](_0x23bb25=>this['_injector'][_0x1f516c(0x226)](_0x23bb25)),this[_0x1f516c(0x23e)]['get'](exports['MCPConnectionUIController']),this[_0x1f516c(0x23e)]['get'](exports['MCPConfigUIController']),this[_0x1f516c(0x23e)][_0x1f516c(0x1ff)](exports['MCPUIMenuController']);}},Oe(exports[_0x54abe0(0x2a0)],_0x54abe0(0x312),'MCP_UI_PLUGIN'),exports['UniverMCPUIPlugin']=Ae([u[_0x54abe0(0x296)](s[_0x54abe0(0x1bf)]),y(0x1,u['Inject'](u['Injector'])),y(0x2,u[_0x54abe0(0x2e0)]),y(0x3,v[_0x54abe0(0x26a)]),y(0x4,u['ILocalStorageService']),y(0x5,u['Inject'](u[_0x54abe0(0x280)]))],exports[_0x54abe0(0x2a0)]),exports[_0x54abe0(0x1f9)]=B,exports[_0x54abe0(0x1c0)]=q,exports['OpenMCPConfigPanelCommand']=b,exports[_0x54abe0(0x1b7)]=Ee,exports[_0x54abe0(0x2a1)]=Ne;
1
+ 'use strict';var _0x2a6b16=_0xcf39;(function(_0x402f04,_0x2501a7){var _0x58dbc1=_0xcf39,_0x31eb1d=_0x402f04();while(!![]){try{var _0x21d5b3=-parseInt(_0x58dbc1(0x193))/0x1*(-parseInt(_0x58dbc1(0x1fe))/0x2)+-parseInt(_0x58dbc1(0x1a3))/0x3+-parseInt(_0x58dbc1(0x143))/0x4+parseInt(_0x58dbc1(0x17b))/0x5+parseInt(_0x58dbc1(0xed))/0x6*(parseInt(_0x58dbc1(0x1ba))/0x7)+parseInt(_0x58dbc1(0xce))/0x8+-parseInt(_0x58dbc1(0xef))/0x9*(-parseInt(_0x58dbc1(0x183))/0xa);if(_0x21d5b3===_0x2501a7)break;else _0x31eb1d['push'](_0x31eb1d['shift']());}catch(_0x1096dc){_0x31eb1d['push'](_0x31eb1d['shift']());}}}(_0x2d64,0x9b732));var te=Object['defineProperty'],oe=(_0x21f02c,_0x5b21cc,_0x5bf097)=>_0x5b21cc in _0x21f02c?te(_0x21f02c,_0x5b21cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bf097}):_0x21f02c[_0x5b21cc]=_0x5bf097,_=(_0x59f7d0,_0x59bf7b,_0x2d8676)=>oe(_0x59f7d0,typeof _0x59bf7b!=_0x2a6b16(0x189)?_0x59bf7b+'':_0x59bf7b,_0x2d8676);Object[_0x2a6b16(0xad)](exports,Symbol[_0x2a6b16(0x117)],{'value':_0x2a6b16(0x1b6)});const u=require('@univerjs/core'),o=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),x=require('@univerjs/design'),v=require('@univerjs/ui'),j=require('rxjs'),d=require('react');var C=function(){var _0x5ad5ff=_0x2a6b16;return C=Object[_0x5ad5ff(0x134)]||function(_0x14303d){var _0x387d6d=_0x5ad5ff;for(var _0x44c949,_0xcb7661=0x1,_0x527a6a=arguments[_0x387d6d(0x1d2)];_0xcb7661<_0x527a6a;_0xcb7661++){_0x44c949=arguments[_0xcb7661];for(var _0x50cf9f in _0x44c949)Object[_0x387d6d(0x118)]['hasOwnProperty'][_0x387d6d(0x179)](_0x44c949,_0x50cf9f)&&(_0x14303d[_0x50cf9f]=_0x44c949[_0x50cf9f]);}return _0x14303d;},C[_0x5ad5ff(0x166)](this,arguments);},se=function(_0x226002,_0x49b122){var _0x39b9e8=_0x2a6b16,_0x4dfb1c={};for(var _0x1e4bca in _0x226002)Object[_0x39b9e8(0x118)][_0x39b9e8(0xd2)][_0x39b9e8(0x179)](_0x226002,_0x1e4bca)&&_0x49b122[_0x39b9e8(0x153)](_0x1e4bca)<0x0&&(_0x4dfb1c[_0x1e4bca]=_0x226002[_0x1e4bca]);if(_0x226002!=null&&typeof Object['getOwnPropertySymbols']==_0x39b9e8(0x1bb)){for(var _0x1a3f43=0x0,_0x1e4bca=Object['getOwnPropertySymbols'](_0x226002);_0x1a3f43<_0x1e4bca[_0x39b9e8(0x1d2)];_0x1a3f43++)_0x49b122[_0x39b9e8(0x153)](_0x1e4bca[_0x1a3f43])<0x0&&Object['prototype'][_0x39b9e8(0x11c)]['call'](_0x226002,_0x1e4bca[_0x1a3f43])&&(_0x4dfb1c[_0x1e4bca[_0x1a3f43]]=_0x226002[_0x1e4bca[_0x1a3f43]]);}return _0x4dfb1c;},P=d[_0x2a6b16(0x171)](function(_0xa773d8,_0x1b4bc8){var _0xe4f32=_0x2a6b16,_0x45e005=_0xa773d8[_0xe4f32(0x9f)],_0x7c302=_0xa773d8['id'],_0x297029=_0xa773d8[_0xe4f32(0x15b)],_0x3952df=_0xa773d8[_0xe4f32(0x18a)],_0x465405=se(_0xa773d8,[_0xe4f32(0x9f),'id',_0xe4f32(0x15b),_0xe4f32(0x18a)]),_0x160241=_0xe4f32(0xbc)[_0xe4f32(0x1e8)](_0x7c302,'\x20')[_0xe4f32(0x1e8)](_0x297029||'')[_0xe4f32(0xc1)](),_0x46d662=d[_0xe4f32(0x210)]('_'[_0xe4f32(0x1e8)](le()));return $(_0x45e005,''['concat'](_0x7c302),{'defIds':_0x45e005[_0xe4f32(0x15a)],'idSuffix':_0x46d662[_0xe4f32(0x17e)]},C({'ref':_0x1b4bc8,'className':_0x160241},_0x465405),_0x3952df);});function $(_0x5ef232,_0x19e08f,_0x2390c1,_0x499c9c,_0x186701){var _0x5b7658=_0x2a6b16;return d[_0x5b7658(0x16c)](_0x5ef232['tag'],C(C({'key':_0x19e08f},ce(_0x5ef232,_0x2390c1,_0x186701)),_0x499c9c),(ae(_0x5ef232,_0x2390c1)[_0x5b7658(0x18f)]||[])['map'](function(_0x3044d8,_0x1705d0){var _0x55510c=_0x5b7658;return $(_0x3044d8,''[_0x55510c(0x1e8)](_0x19e08f,'-')['concat'](_0x5ef232[_0x55510c(0x1c1)],'-')[_0x55510c(0x1e8)](_0x1705d0),_0x2390c1,void 0x0,_0x186701);}));}function ce(_0x27720d,_0x219eaf,_0x3dda87){var _0x2715ae=_0x2a6b16,_0x280866=C({},_0x27720d[_0x2715ae(0x1c8)]);_0x3dda87!=null&&_0x3dda87['colorChannel1']&&_0x280866[_0x2715ae(0x142)]===_0x2715ae(0x18c)&&(_0x280866[_0x2715ae(0x142)]=_0x3dda87[_0x2715ae(0x18c)]),_0x27720d[_0x2715ae(0x1c1)]===_0x2715ae(0xc7)&&_0x280866['id']&&(_0x280866['id']=_0x280866['id']+_0x219eaf[_0x2715ae(0x1b8)]),Object['entries'](_0x280866)[_0x2715ae(0x1e7)](function(_0x195ef0){var _0xeb3b55=_0x2715ae,_0x358076=_0x195ef0[0x0],_0x900dfe=_0x195ef0[0x1];_0x358076==='mask'&&typeof _0x900dfe==_0xeb3b55(0xb3)&&(_0x280866[_0x358076]=_0x900dfe[_0xeb3b55(0x104)](/url\(#(.*)\)/,_0xeb3b55(0x146)['concat'](_0x219eaf[_0xeb3b55(0x1b8)],')')));});var _0x5e4942=_0x219eaf[_0x2715ae(0x15a)];return!_0x5e4942||_0x5e4942[_0x2715ae(0x1d2)]===0x0||(_0x27720d[_0x2715ae(0x1c1)]===_0x2715ae(0x127)&&_0x280866[_0x2715ae(0x116)]&&(_0x280866[_0x2715ae(0x116)]=_0x280866[_0x2715ae(0x116)]+_0x219eaf[_0x2715ae(0x1b8)]),Object[_0x2715ae(0x20f)](_0x280866)[_0x2715ae(0x1e7)](function(_0x310707){var _0x40f7d7=_0x2715ae,_0x46b293=_0x310707[0x0],_0x313c65=_0x310707[0x1];typeof _0x313c65==_0x40f7d7(0xb3)&&(_0x280866[_0x46b293]=_0x313c65[_0x40f7d7(0x104)](/url\(#(.*)\)/,_0x40f7d7(0x146)[_0x40f7d7(0x1e8)](_0x219eaf[_0x40f7d7(0x1b8)],')')));})),_0x280866;}function ae(_0x46ec6c,_0x30fbf0){var _0x256eda=_0x2a6b16,_0x593d45,_0x1b3be1=_0x30fbf0[_0x256eda(0x15a)];return!_0x1b3be1||_0x1b3be1['length']===0x0?_0x46ec6c:_0x46ec6c['tag']===_0x256eda(0x106)&&(!((_0x593d45=_0x46ec6c[_0x256eda(0x18f)])===null||_0x593d45===void 0x0)&&_0x593d45[_0x256eda(0x1d2)])?C(C({},_0x46ec6c),{'children':_0x46ec6c[_0x256eda(0x18f)][_0x256eda(0x95)](function(_0xefd43b){var _0x59d26c=_0x256eda;return typeof _0xefd43b[_0x59d26c(0x1c8)]['id']==_0x59d26c(0xb3)&&_0x1b3be1&&_0x1b3be1['includes'](_0xefd43b[_0x59d26c(0x1c8)]['id'])?C(C({},_0xefd43b),{'attrs':C(C({},_0xefd43b[_0x59d26c(0x1c8)]),{'id':_0xefd43b[_0x59d26c(0x1c8)]['id']+_0x30fbf0['idSuffix']})}):_0xefd43b;})}):_0x46ec6c;}function le(){var _0x494870=_0x2a6b16;return Math[_0x494870(0xaa)]()[_0x494870(0xc6)](0x24)[_0x494870(0x1d9)](0x2,0x8);}P[_0x2a6b16(0x12a)]=_0x2a6b16(0xda);var ue={'tag':_0x2a6b16(0x20a),'attrs':{'xmlns':_0x2a6b16(0x202),'fill':'none','viewBox':_0x2a6b16(0x196),'width':_0x2a6b16(0x13c),'height':_0x2a6b16(0x13c)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x2a6b16(0x20e),'fillRule':_0x2a6b16(0xf8),'clipRule':_0x2a6b16(0xf8)}}]},L=d[_0x2a6b16(0x171)](function(_0x2c6a64,_0x498068){var _0x43dcb5=_0x2a6b16;return d[_0x43dcb5(0x16c)](P,Object[_0x43dcb5(0x134)]({},_0x2c6a64,{'id':_0x43dcb5(0x16b),'ref':_0x498068,'icon':ue}));});L['displayName']=_0x2a6b16(0x204);var ve={'tag':'svg','attrs':{'xmlns':_0x2a6b16(0x202),'fill':_0x2a6b16(0xc5),'viewBox':_0x2a6b16(0x213),'width':_0x2a6b16(0x13c),'height':'1em'},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'stroke':_0x2a6b16(0xab),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':'round','strokeLinejoin':_0x2a6b16(0xeb),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2a6b16(0x1f2),'strokeLinecap':_0x2a6b16(0xeb),'strokeLinejoin':_0x2a6b16(0xeb),'strokeWidth':1.33}}]},G=d['forwardRef'](function(_0x2bd68a,_0x1adc23){var _0x38a012=_0x2a6b16;return d[_0x38a012(0x16c)](P,Object[_0x38a012(0x134)]({},_0x2bd68a,{'id':_0x38a012(0xcc),'ref':_0x1adc23,'icon':ve}));});G['displayName']=_0x2a6b16(0x123);var de={'tag':_0x2a6b16(0x20a),'attrs':{'xmlns':_0x2a6b16(0x202),'fill':_0x2a6b16(0xc5),'viewBox':'0\x200\x2016\x2016','width':_0x2a6b16(0x13c),'height':_0x2a6b16(0x13c)},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'fill':_0x2a6b16(0xab),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':'path','attrs':{'fill':_0x2a6b16(0xab),'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':_0x2a6b16(0xfb),'attrs':{'fill':_0x2a6b16(0xab),'d':_0x2a6b16(0x11e),'fillRule':_0x2a6b16(0xf8),'clipRule':_0x2a6b16(0xf8)}}]},Y=d[_0x2a6b16(0x171)](function(_0x11524e,_0x1bed65){var _0x4e364d=_0x2a6b16;return d[_0x4e364d(0x16c)](P,Object[_0x4e364d(0x134)]({},_0x11524e,{'id':_0x4e364d(0x98),'ref':_0x1bed65,'icon':de}));});Y['displayName']='HelpSingle';var Ce={'tag':_0x2a6b16(0x20a),'attrs':{'xmlns':_0x2a6b16(0x202),'fill':'none','viewBox':_0x2a6b16(0x196),'width':_0x2a6b16(0x13c),'height':_0x2a6b16(0x13c)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a6b16(0xe1)},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'stroke':_0x2a6b16(0xab),'d':_0x2a6b16(0xee),'strokeLinecap':_0x2a6b16(0xeb),'strokeLinejoin':_0x2a6b16(0xeb),'strokeWidth':1.2}}]},{'tag':_0x2a6b16(0x106),'attrs':{},'children':[{'tag':_0x2a6b16(0x1e3),'attrs':{'id':_0x2a6b16(0x12c)},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'fill':_0x2a6b16(0x97),'d':_0x2a6b16(0x1e0)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},F=d[_0x2a6b16(0x171)](function(_0x1aff9e,_0x2ff39e){var _0x2b2673=_0x2a6b16;return d[_0x2b2673(0x16c)](P,Object[_0x2b2673(0x134)]({},_0x1aff9e,{'id':_0x2b2673(0x13b),'ref':_0x2ff39e,'icon':Ce}));});F[_0x2a6b16(0x12a)]='OffLineIcon';var ge={'tag':_0x2a6b16(0x20a),'attrs':{'xmlns':_0x2a6b16(0x202),'fill':_0x2a6b16(0xc5),'viewBox':_0x2a6b16(0x178),'width':_0x2a6b16(0x13c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2a6b16(0xa9)},'children':[{'tag':_0x2a6b16(0xfb),'attrs':{'stroke':_0x2a6b16(0xab),'d':_0x2a6b16(0x9d),'strokeLinecap':_0x2a6b16(0xeb),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2a6b16(0x106),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2a6b16(0x160)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x2a6b16(0x1e0),'transform':_0x2a6b16(0x148)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},V=d[_0x2a6b16(0x171)](function(_0x308bd7,_0x73ede3){var _0x2a105a=_0x2a6b16;return d['createElement'](P,Object[_0x2a105a(0x134)]({},_0x308bd7,{'id':_0x2a105a(0x19f),'ref':_0x73ede3,'icon':ge}));});V[_0x2a6b16(0x12a)]=_0x2a6b16(0xae);function B(_0x1f5321){var _0x36a411=_0x2a6b16,_0x25fdfe,_0x48a985;const {mcpCoreConfig:_0x21e240,onSave:_0x3eac32,loading:_0x3fd1c4=!0x1,config:_0x518e4c,connectionStatus$:_0x2d3b75,connectionError$:_0x54df2b}=_0x1f5321,_0x4fdf14=v[_0x36a411(0x161)](u['LocaleService']),_0x333770=v[_0x36a411(0x1b5)](_0x2d3b75,s[_0x36a411(0xd4)][_0x36a411(0x1e1)]),_0x1c0fda=v[_0x36a411(0x1b5)](_0x54df2b,s[_0x36a411(0x119)][_0x36a411(0x13d)]),[_0xe3b53,_0xe38caa]=d[_0x36a411(0xa8)](_0x21e240[_0x36a411(0x164)]||''),_0x5e9c2f=!0x0,_0x2a9a3b=_0x518e4c[_0x36a411(0x136)]&&_0x21e240[_0x36a411(0xa6)]&&(_0x21e240[_0x36a411(0xa6)][_0x36a411(0xcd)](_0x36a411(0x1d0))||_0x21e240[_0x36a411(0xa6)][_0x36a411(0xcd)](_0x36a411(0x17c))),_0x3f6042=(_0x25fdfe=_0x21e240['mcpServerUrl'])==null?void 0x0:_0x25fdfe[_0x36a411(0xcd)](_0x36a411(0x1d0)),_0x4420b6=(_0x48a985=_0x21e240['mcpServerUrl'])==null?void 0x0:_0x48a985[_0x36a411(0xcd)](_0x36a411(0x17c)),_0x51c9bf=_0x3f6042?_0x36a411(0x154):_0x36a411(0x1fa),_0x31b6ca=_0x518e4c['showDeveloperTools']&&(_0x3f6042||_0x4420b6),[_0x4f9b01,_0x53d672]=d[_0x36a411(0xa8)](!_0xe3b53[_0x36a411(0xc1)]()),_0x5c73b3=(_0x57425e,_0x5808ed)=>{var _0x31c1bf=_0x36a411;if(_0x5808ed===s[_0x31c1bf(0x119)][_0x31c1bf(0x133)]||_0x5808ed===s[_0x31c1bf(0x119)][_0x31c1bf(0x9c)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x57425e){case s[_0x31c1bf(0xd4)][_0x31c1bf(0xb0)]:return _0x31c1bf(0x1e6);case s['MCPConnectionStatus'][_0x31c1bf(0xbb)]:case s[_0x31c1bf(0xd4)]['RETRYING']:return _0x31c1bf(0xb5);case s[_0x31c1bf(0xd4)][_0x31c1bf(0x199)]:return _0x31c1bf(0x1c0);default:return _0x31c1bf(0x16e);}},_0x49242f=(_0x401e84,_0x135717)=>{var _0x172459=_0x36a411;if(_0x135717===s[_0x172459(0x119)][_0x172459(0x133)]||_0x135717===s[_0x172459(0x119)][_0x172459(0x9c)])return _0x172459(0xe6);switch(_0x401e84){case s['MCPConnectionStatus'][_0x172459(0xb0)]:return _0x172459(0x108);case s[_0x172459(0xd4)][_0x172459(0xbb)]:case s['MCPConnectionStatus'][_0x172459(0xc3)]:return _0x172459(0x1a5);case s['MCPConnectionStatus'][_0x172459(0x199)]:return _0x172459(0xe6);default:return _0x172459(0xbe);}},_0x22065c=_0x287231=>{var _0xfcb5ee=_0x36a411;switch(_0x287231){case s[_0xfcb5ee(0xd4)]['CONNECTED']:return _0x4fdf14['t']('mcpConfig.connectionStatus.connected');case s[_0xfcb5ee(0xd4)][_0xfcb5ee(0xbb)]:return _0x4fdf14['t'](_0xfcb5ee(0x159));case s['MCPConnectionStatus']['FAILED']:return _0x4fdf14['t'](_0xfcb5ee(0x191));case s[_0xfcb5ee(0xd4)][_0xfcb5ee(0xc3)]:return _0x4fdf14['t'](_0xfcb5ee(0x186));default:return _0x4fdf14['t']('mcpConfig.connectionStatus.disconnected');}},_0x48a14a=_0x57273f=>{var _0x49bf87=_0x36a411;switch(_0x57273f){case s[_0x49bf87(0x119)][_0x49bf87(0x133)]:return _0x4fdf14['t'](_0x49bf87(0x15d));case s[_0x49bf87(0x119)]['INVALID_API_KEY']:return _0x4fdf14['t']('mcpConfig.connectionError.invalidApiKey');case s[_0x49bf87(0x119)]['SESSION_ID_OCCUPIED']:return _0x4fdf14['t']('mcpConfig.connectionError.sessionOccupied');case s[_0x49bf87(0x119)][_0x49bf87(0x1f1)]:return _0x4fdf14['t'](_0x49bf87(0xf7));case s[_0x49bf87(0x119)][_0x49bf87(0xec)]:return _0x4fdf14['t'](_0x49bf87(0x185));default:return'';}},_0x329b36=d['useCallback'](()=>{var _0x4ab4c3=_0x36a411;const _0x513afb={..._0x21e240,'apiKey':_0xe3b53[_0x4ab4c3(0xc1)](),'enableAuth':_0x5e9c2f};_0x3eac32(_0x513afb);},[_0x21e240,_0xe3b53,_0x5e9c2f,_0x3eac32]),_0x44c867=_0xe3b53[_0x36a411(0xc1)]()['length']>0x0;return o[_0x36a411(0xf0)]('div',{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x1f0),'children':[o['jsx']('div',{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':o[_0x36a411(0x214)](_0x36a411(0x206),{'className':'univer-text-white','children':'⚙'})}),o[_0x36a411(0x214)](_0x36a411(0x1d1),{'children':o['jsx']('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x4fdf14['t'](_0x36a411(0x1ef))})})]})}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x9a),'children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':_0x36a411(0x1bc)+_0x5c73b3(_0x333770,_0x1c0fda)+_0x36a411(0x10a),'children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x1a8),'children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':'\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'+_0x49242f(_0x333770,_0x1c0fda)+_0x36a411(0xd5)}),o[_0x36a411(0x214)](_0x36a411(0x206),{'className':_0x36a411(0x1d8),'children':_0x22065c(_0x333770)})]})}),_0x1c0fda!==s[_0x36a411(0x119)][_0x36a411(0x13d)]&&(_0x333770===s[_0x36a411(0xd4)]['FAILED']||_0x1c0fda===s[_0x36a411(0x119)][_0x36a411(0x133)]||_0x1c0fda===s[_0x36a411(0x119)][_0x36a411(0x9c)])&&o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x203),'children':[o[_0x36a411(0x214)](_0x36a411(0x206),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),o['jsx']('p',{'className':_0x36a411(0x14d),'children':_0x48a14a(_0x1c0fda)})]})})]}),o[_0x36a411(0x214)]('div',{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':'univer-space-y-5','children':[o['jsxs']('div',{'className':'univer-space-y-2','children':[o[_0x36a411(0xf0)]('label',{'className':_0x36a411(0x172),'children':[o[_0x36a411(0x214)](_0x36a411(0x206),{'children':'🔑'}),'\x20',_0x4fdf14['t'](_0x36a411(0x1b3)),o[_0x36a411(0x214)](_0x36a411(0x206),{'className':_0x36a411(0x17a),'children':'*'}),_0x2a9a3b&&o[_0x36a411(0x214)]('a',{'href':_0x36a411(0x1c3),'onClick':()=>_0x53d672(!0x0),'className':_0x36a411(0x10e),'title':_0x4fdf14['t'](_0x36a411(0x121)),'children':o[_0x36a411(0x214)](Y,{})})]}),o[_0x36a411(0x214)](x[_0x36a411(0x1ce)],{'type':_0x36a411(0xfd),'placeholder':_0x4fdf14['t']('mcpConfig.apiKeyPlaceholder'),'value':_0xe3b53,'onChange':_0xe38caa,'disabled':_0x3fd1c4,'autoComplete':_0x36a411(0x99)}),o['jsx']('p',{'className':_0x36a411(0x1ad),'children':_0x4fdf14['t']('mcpConfig.apiKeyHint')})]}),_0x2a9a3b&&_0x4f9b01&&o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'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':[o[_0x36a411(0x214)]('a',{'href':'javascript:void(0)','onClick':()=>_0x53d672(!0x1),'className':_0x36a411(0xfe),'title':_0x36a411(0x1ed),'children':o[_0x36a411(0x214)](G,{})}),o[_0x36a411(0xf0)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':_0x36a411(0x1f5),'children':o[_0x36a411(0x214)](_0x36a411(0x206),{'className':_0x36a411(0x17f),'children':'🚀'})}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x207),'children':[o[_0x36a411(0x214)]('h4',{'className':_0x36a411(0x1d4),'children':_0x4fdf14['t'](_0x36a411(0x121))}),o[_0x36a411(0x214)]('p',{'className':_0x36a411(0x18d),'children':_0x4fdf14['t'](_0x36a411(0x138))}),o['jsx'](_0x36a411(0x1d1),{'className':_0x36a411(0xe5),'children':_0x31b6ca&&o['jsxs']('a',{'href':_0x51c9bf,'target':_0x36a411(0x212),'rel':_0x36a411(0x102),'className':_0x36a411(0x168),'children':[o['jsx']('span',{'children':'🤖'}),_0x4fdf14['t'](_0x36a411(0x187)),o[_0x36a411(0x214)]('span',{'className':'univer-text-gray-400','children':'↗'})]})}),o['jsxs'](_0x36a411(0x1d1),{'className':_0x36a411(0x122),'children':['✨','\x20',_0x4fdf14['t'](_0x36a411(0x13e))]})]})]})]}),_0x518e4c[_0x36a411(0x136)]&&o['jsxs'](_0x36a411(0x1d1),{'className':_0x36a411(0xf3),'children':[o[_0x36a411(0xf0)]('h4',{'className':_0x36a411(0x145),'children':[o['jsx']('span',{'children':'🔗'}),'\x20',_0x4fdf14['t']('mcpConfig.connectionInfo')]}),o['jsxs'](_0x36a411(0x1d1),{'className':'univer-space-y-3','children':[o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[o['jsx'](_0x36a411(0x1d1),{'className':_0x36a411(0x1aa)}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0xea),'children':[o['jsx'](_0x36a411(0x1d1),{'className':_0x36a411(0xe2),'children':_0x4fdf14['t'](_0x36a411(0x169))}),o[_0x36a411(0x214)]('code',{'className':_0x36a411(0x208),'children':_0x21e240[_0x36a411(0xa6)]})]})]}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0x1a7),'children':[o[_0x36a411(0x214)]('div',{'className':_0x36a411(0x1aa)}),o['jsxs']('div',{'className':_0x36a411(0xea),'children':[o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x4fdf14['t']('mcpConfig.sessionId')}),o['jsx'](_0x36a411(0x1dc),{'className':_0x36a411(0xb7),'children':_0x21e240[_0x36a411(0x192)]||'default'})]})]})]})]}),o[_0x36a411(0x214)](x[_0x36a411(0x1f6)],{'onClick':_0x329b36,'disabled':!_0x44c867||_0x3fd1c4,'className':_0x36a411(0x1ea),'children':_0x3fd1c4?o[_0x36a411(0xf0)](_0x36a411(0x206),{'className':_0x36a411(0x1a8),'children':[o['jsx'](_0x36a411(0x206),{'children':'⟲'}),_0x4fdf14['t'](_0x36a411(0x20b))]}):o[_0x36a411(0xf0)]('span',{'className':_0x36a411(0x1a8),'children':[o[_0x36a411(0x214)](L,{}),_0x4fdf14['t'](_0x36a411(0x109))]})}),o[_0x36a411(0x214)](_0x36a411(0x1d1),{'className':_0x36a411(0x1ac),'children':o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'className':_0x36a411(0xc8),'children':[o['jsx'](_0x36a411(0x206),{'className':_0x36a411(0x14c),'children':'💡'}),o['jsxs'](_0x36a411(0x1d1),{'className':_0x36a411(0x10c),'children':[o['jsx'](_0x36a411(0x1d1),{'className':_0x36a411(0xac),'children':_0x36a411(0x1f7)}),o[_0x36a411(0xf0)](_0x36a411(0x1d1),{'children':['•',_0x4fdf14['t'](_0x36a411(0x19c))]}),o['jsxs'](_0x36a411(0x1d1),{'children':['•',_0x4fdf14['t'](_0x36a411(0x11a))]})]})]})})]})})]});}const k=_0x2a6b16(0xfa),T={'showDeveloperTools':!0x1};var fe=Object[_0x2a6b16(0x155)],pe=(_0x4781c8,_0x17e354,_0x40c70c,_0x3158b7)=>{var _0x24ec27=_0x2a6b16;for(var _0x481b30=_0x3158b7>0x1?void 0x0:_0x3158b7?fe(_0x17e354,_0x40c70c):_0x17e354,_0x2fe44b=_0x4781c8[_0x24ec27(0x1d2)]-0x1,_0x4f2cb2;_0x2fe44b>=0x0;_0x2fe44b--)(_0x4f2cb2=_0x4781c8[_0x2fe44b])&&(_0x481b30=_0x4f2cb2(_0x481b30)||_0x481b30);return _0x481b30;},p=(_0x1469dc,_0x1a93b8)=>(_0x10d7a9,_0x31b788)=>_0x1a93b8(_0x10d7a9,_0x31b788,_0x1469dc);const w=_0x2a6b16(0x1ec),A=_0x2a6b16(0xf2);exports['MCPConfigUIController']=class extends u[_0x2a6b16(0xe9)]{constructor(_0x25dbff,_0x109ad6,_0x408d86,_0x2c6587,_0x5e1a44,_0x3bec43,_0x152606,_0xf0c514,_0x5776a9,_0x4a2be6){var _0x59d81f=_0x2a6b16;super(),_(this,'_loading$',new j[(_0x59d81f(0xbd))](!0x1)),_(this,_0x59d81f(0x1c6),new j[(_0x59d81f(0xbd))]({})),_(this,_0x59d81f(0x211),new j[(_0x59d81f(0xbd))]({})),_(this,_0x59d81f(0x149),async _0x305e6b=>{var _0x2ae02c=_0x59d81f;this[_0x2ae02c(0x197)][_0x2ae02c(0xf1)](!0x0);try{const _0x1ace24=await this[_0x2ae02c(0xe7)](_0x305e6b);if(!_0x1ace24[_0x2ae02c(0x163)]){this['_messageService']['show']({'type':x[_0x2ae02c(0x162)][_0x2ae02c(0xc9)],'content':_0x1ace24[_0x2ae02c(0x184)]||this[_0x2ae02c(0x1c7)]['t'](_0x2ae02c(0x111))});return;}_0x305e6b[_0x2ae02c(0x164)]?await this['_localStorageService'][_0x2ae02c(0xf5)](w,_0x305e6b['apiKey'][_0x2ae02c(0xc1)]()):await this[_0x2ae02c(0x1fd)]['removeItem'](w),this[_0x2ae02c(0x14b)][_0x2ae02c(0x1fc)](s['MCP_PLUGIN_CONFIG_KEY'],{..._0x305e6b,'apiKey':_0x305e6b[_0x2ae02c(0x164)][_0x2ae02c(0xc1)]()}),this[_0x2ae02c(0x1c6)][_0x2ae02c(0xf1)]({..._0x305e6b,'apiKey':_0x305e6b[_0x2ae02c(0x164)][_0x2ae02c(0xc1)]()}),this[_0x2ae02c(0x100)]['show']({'type':x['MessageType'][_0x2ae02c(0xd7)],'content':this[_0x2ae02c(0x1c7)]['t'](_0x2ae02c(0xb8))}),setTimeout(()=>{var _0x2ee10b=_0x2ae02c;this[_0x2ee10b(0x1d6)]['close'](A);},0x320);}catch(_0x4e2cd4){this[_0x2ae02c(0x1b4)][_0x2ae02c(0x19a)](_0x2ae02c(0x1b0),_0x4e2cd4),this[_0x2ae02c(0x100)][_0x2ae02c(0x1ab)]({'type':x[_0x2ae02c(0x162)][_0x2ae02c(0xc9)],'content':this[_0x2ae02c(0x1c7)]['t'](_0x2ae02c(0x174))});}finally{this[_0x2ae02c(0x197)][_0x2ae02c(0xf1)](!0x1);}}),(this['_injector']=_0x25dbff,this[_0x59d81f(0x15e)]=_0x109ad6,this[_0x59d81f(0x14b)]=_0x408d86,this[_0x59d81f(0x1fd)]=_0x2c6587,this[_0x59d81f(0x1d6)]=_0x5e1a44,this[_0x59d81f(0x100)]=_0x3bec43,this[_0x59d81f(0xc0)]=_0x152606,this['_localeService']=_0xf0c514,this['_logService']=_0x5776a9,this['_mcpConnectionController']=_0x4a2be6,this[_0x59d81f(0xff)](),this[_0x59d81f(0x113)](),this[_0x59d81f(0x147)]());}[_0x2a6b16(0xb4)](){var _0x34cd7d=_0x2a6b16;this[_0x34cd7d(0x1d6)][_0x34cd7d(0x1a4)]({'id':A,'title':{'title':this[_0x34cd7d(0x1c7)]['t'](_0x34cd7d(0x12e))},'children':{'label':_0x34cd7d(0x1d3)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x21e5c7=_0x34cd7d;this['_dialogService'][_0x21e5c7(0x20d)](A);}});}[_0x2a6b16(0xe3)](){var _0xe27953=_0x2a6b16;return this['_mcpCoreConfig$'][_0xe27953(0x9b)];}[_0x2a6b16(0x147)](){var _0x5941d0=_0x2a6b16;this[_0x5941d0(0x1db)](this[_0x5941d0(0xc0)][_0x5941d0(0x175)](_0x5941d0(0x1d3),this[_0x5941d0(0x128)]()));}[_0x2a6b16(0x128)](){var _0x58d28f=_0x2a6b16;return v[_0x58d28f(0x11d)](()=>{var _0x138a68=_0x58d28f,_0x587ec2,_0x6c694f;return o[_0x138a68(0x214)](B,{'config':this[_0x138a68(0x211)][_0x138a68(0x9b)],'mcpCoreConfig':this[_0x138a68(0x1c6)][_0x138a68(0x9b)],'onSave':this['_handleConfigSave'],'loading':this[_0x138a68(0x197)]['value'],'connectionStatus$':(_0x587ec2=this[_0x138a68(0x157)])==null?void 0x0:_0x587ec2[_0x138a68(0x1ca)],'connectionError$':(_0x6c694f=this[_0x138a68(0x157)])==null?void 0x0:_0x6c694f[_0x138a68(0x1c4)]});},this[_0x58d28f(0xdc)]);}['_initConfigSync'](){var _0x4ae775=_0x2a6b16;this[_0x4ae775(0x1db)](this[_0x4ae775(0x14b)][_0x4ae775(0x12f)](s['MCP_PLUGIN_CONFIG_KEY'])[_0x4ae775(0x1da)](_0x3426a5=>{var _0x24a4ef=_0x4ae775;this[_0x24a4ef(0x1c6)][_0x24a4ef(0xf1)](_0x3426a5||{});}));const _0x29cabe=this[_0x4ae775(0x14b)][_0x4ae775(0x114)](s[_0x4ae775(0x107)]);this['_mcpCoreConfig$']['next'](_0x29cabe||{}),this[_0x4ae775(0x1db)](this['_configService']['subscribeConfigValue$'](k)['subscribe'](_0x54f2e1=>{var _0x32abc6=_0x4ae775;this[_0x32abc6(0x211)]['next'](_0x54f2e1||{});}));const _0x357a5c=this['_configService'][_0x4ae775(0x114)](k);this[_0x4ae775(0x211)][_0x4ae775(0xf1)](_0x357a5c||{});}async[_0x2a6b16(0x113)](){var _0x5306fe=_0x2a6b16;const _0x48cd3f=await this[_0x5306fe(0x1fd)][_0x5306fe(0x1ee)](w);if(_0x48cd3f){const _0x27e63e={...this[_0x5306fe(0x1c6)]['value'],'apiKey':_0x48cd3f};this[_0x5306fe(0x14b)]['setConfig'](s[_0x5306fe(0x107)],_0x27e63e),this[_0x5306fe(0x1c6)]['next'](_0x27e63e);}}async[_0x2a6b16(0xe7)](_0x4f892d){var _0xcc18ba=_0x2a6b16;if(!_0x4f892d[_0xcc18ba(0x164)]||_0x4f892d[_0xcc18ba(0x164)][_0xcc18ba(0xc1)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0xcc18ba(0x16a))};if(_0x4f892d['apiKey'][_0xcc18ba(0xc1)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0xcc18ba(0x1c7)]['t'](_0xcc18ba(0x18e))};try{const _0x18a2da=await this['_injector'][_0xcc18ba(0x96)](s[_0xcc18ba(0x200)])['validateApiKey'](_0x4f892d['apiKey'][_0xcc18ba(0xc1)]());return _0x18a2da[_0xcc18ba(0x163)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x18a2da[_0xcc18ba(0x19a)]||this[_0xcc18ba(0x1c7)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x1af5b5){return console['warn']('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x1af5b5),{'isValid':!0x0};}}},exports[_0x2a6b16(0x1cb)]=pe([p(0x0,u[_0x2a6b16(0x16d)](u[_0x2a6b16(0x1b2)])),p(0x1,v[_0x2a6b16(0xb2)]),p(0x2,u['IConfigService']),p(0x3,u[_0x2a6b16(0xd3)]),p(0x4,v['IDialogService']),p(0x5,v[_0x2a6b16(0x14a)]),p(0x6,u['Inject'](v['ComponentManager'])),p(0x7,u[_0x2a6b16(0x16d)](u[_0x2a6b16(0x10b)])),p(0x8,u[_0x2a6b16(0x103)]),p(0x9,u[_0x2a6b16(0x16d)](s['MCPConnectionController']))],exports[_0x2a6b16(0x1cb)]);const b={'id':_0x2a6b16(0x11f),'type':u[_0x2a6b16(0x15c)]['COMMAND'],'handler':async(_0x8f122e,_0x3022e9)=>(_0x8f122e[_0x2a6b16(0x96)](exports[_0x2a6b16(0x1cb)])[_0x2a6b16(0xb4)](),!0x0)};function H(_0x973418,_0x29f558){var _0x4f8b60=_0x2a6b16;switch(_0x973418){case s[_0x4f8b60(0xd4)][_0x4f8b60(0x1e1)]:return _0x29f558===s[_0x4f8b60(0x119)][_0x4f8b60(0x133)]?_0x4f8b60(0x188):_0x4f8b60(0x110);case s['MCPConnectionStatus'][_0x4f8b60(0xbb)]:return'mcpStatus.connecting';case s['MCPConnectionStatus'][_0x4f8b60(0xb0)]:return _0x4f8b60(0x1ff);case s[_0x4f8b60(0xd4)][_0x4f8b60(0x199)]:switch(_0x29f558){case s[_0x4f8b60(0x119)]['INVALID_API_KEY']:return _0x4f8b60(0xb9);case s['MCPConnectionError'][_0x4f8b60(0x135)]:return _0x4f8b60(0x139);case s['MCPConnectionError']['NETWORK_ERROR']:return _0x4f8b60(0x131);case s[_0x4f8b60(0x119)]['MAX_RETRIES_EXCEEDED']:return _0x4f8b60(0x1c5);default:return _0x4f8b60(0x1a9);}case s[_0x4f8b60(0xd4)]['RETRYING']:return _0x4f8b60(0x1b7);default:return'mcpStatus.unknown';}}function he(_0x585988,_0x4bac98,_0x8ebc35){var _0x581d2f=_0x2a6b16;const _0x4c8895=H(_0x585988,_0x4bac98),_0x50ef58=_0x8ebc35['t'](_0x4c8895);return _0x585988===s['MCPConnectionStatus'][_0x581d2f(0x1e1)]&&_0x4bac98===s[_0x581d2f(0x119)][_0x581d2f(0x133)]?_0x50ef58+_0x581d2f(0xca)+_0x8ebc35['t'](_0x581d2f(0xbf)):_0x585988===s[_0x581d2f(0xd4)][_0x581d2f(0xb0)]?''+_0x50ef58:_0x585988===s['MCPConnectionStatus']['DISCONNECTED']||_0x585988===s[_0x581d2f(0xd4)][_0x581d2f(0x199)]?_0x50ef58+_0x581d2f(0xca)+_0x8ebc35['t'](_0x581d2f(0x205)):_0x50ef58;}function me(_0x14962e){var _0x370b7c=_0x2a6b16;switch(_0x14962e){case s['MCPConnectionStatus'][_0x370b7c(0xb0)]:return _0x370b7c(0xaf);case s[_0x370b7c(0xd4)][_0x370b7c(0xbb)]:case s['MCPConnectionStatus']['RETRYING']:return _0x370b7c(0x129);case s[_0x370b7c(0xd4)]['FAILED']:case s[_0x370b7c(0xd4)][_0x370b7c(0x1e1)]:return _0x370b7c(0x17a);default:return _0x370b7c(0x1f3);}}function q(_0x409192){var _0x41e9f2=_0x2a6b16;const {status$:_0x5c6cd6,error$:_0xb80b96,onConfigure:_0x426042}=_0x409192,_0x564daf=v[_0x41e9f2(0x1b5)](_0x5c6cd6,s[_0x41e9f2(0xd4)][_0x41e9f2(0x1e1)]),_0x52cbde=v[_0x41e9f2(0x1b5)](_0xb80b96,s[_0x41e9f2(0x119)][_0x41e9f2(0x13d)]),_0x479a26=v[_0x41e9f2(0x161)](u[_0x41e9f2(0x10b)]),_0x43ba6d=_0x564daf===s[_0x41e9f2(0xd4)][_0x41e9f2(0xb0)],_0xda0a5d=_0x564daf===s[_0x41e9f2(0xd4)][_0x41e9f2(0xbb)]||_0x564daf===s[_0x41e9f2(0xd4)][_0x41e9f2(0xc3)],_0x46fae0=_0x479a26['t'](H(_0x564daf,_0x52cbde)),_0x36fd05=he(_0x564daf,_0x52cbde,_0x479a26),_0x4e2068=me(_0x564daf),_0x22031=_0x43ba6d?o[_0x41e9f2(0x214)](V,{}):o[_0x41e9f2(0x214)](F,{}),_0x416939=d[_0x41e9f2(0x150)](()=>{_0x426042&&_0x426042();},[_0x43ba6d,_0xda0a5d,_0x426042]);function _0x2e3cb9(){var _0x121951=_0x41e9f2;return o[_0x121951(0xf0)](_0x121951(0x1d1),{'className':x[_0x121951(0x14f)](_0x121951(0xa4),_0x426042&&_0x121951(0x1cf)),'onClick':_0x426042?_0x416939:void 0x0,'children':[o[_0x121951(0x214)](_0x121951(0x1d1),{'className':x[_0x121951(0x14f)](_0x121951(0x190),_0x4e2068),'children':_0x22031}),o[_0x121951(0x214)](_0x121951(0x1d1),{'className':_0x121951(0x137),'children':_0x46fae0})]});}return o[_0x41e9f2(0x214)](x[_0x41e9f2(0x1fb)],{'title':_0x36fd05,'placement':_0x41e9f2(0xa7),'children':_0x2e3cb9()});}function _0xcf39(_0x74d426,_0x3a6579){var _0x2d6465=_0x2d64();return _0xcf39=function(_0xcf39ca,_0x109980){_0xcf39ca=_0xcf39ca-0x93;var _0x356366=_0x2d6465[_0xcf39ca];return _0x356366;},_0xcf39(_0x74d426,_0x3a6579);}var xe=Object[_0x2a6b16(0x155)],Pe=(_0x47975d,_0x24605c,_0x15cfc6,_0x12c953)=>{var _0x3c5b1c=_0x2a6b16;for(var _0x570844=_0x12c953>0x1?void 0x0:_0x12c953?xe(_0x24605c,_0x15cfc6):_0x24605c,_0x32ef7d=_0x47975d[_0x3c5b1c(0x1d2)]-0x1,_0x4a5d55;_0x32ef7d>=0x0;_0x32ef7d--)(_0x4a5d55=_0x47975d[_0x32ef7d])&&(_0x570844=_0x4a5d55(_0x570844)||_0x570844);return _0x570844;},O=(_0x2fa2ae,_0x74f60)=>(_0x27bcf4,_0x32ca2a)=>_0x74f60(_0x27bcf4,_0x32ca2a,_0x2fa2ae);function _0x2d64(){var _0x3d21c7=['univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','forEach','concat','OpenMCPConfigPanelCommand','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','registerCommand','mcp.apiKey','Close','getItem','mcpConfig.description','univer-flex\x20univer-items-center\x20univer-gap-3','NETWORK_ERROR','M5.21243\x2012.287L11.8791\x205.62036','univer-text-gray-500','zhCN','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','Button','Configuration\x20Notes:','会话ID','IConfigService','https://console.univer.ai','Tooltip','setConfig','_localStorageService','10pkHTLJ','mcpStatus.connected','MCPConnectionController','Server\x20Endpoint','http://www.w3.org/2000/svg','univer-flex\x20univer-items-start\x20univer-gap-2','CheckMarkIcon','mcpStatus.clickToConnect','span','univer-flex-1','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','MCPUIMenuController','svg','mcpConfig.saving','Click\x20to\x20configure\x20MCP','close','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','entries','useRef','_config$','_blank','0\x200\x2017\x2017','jsx','API\x20密钥无效,请检查密钥是否正确','Failed\x20to\x20save\x20configuration','map','get','white','help-single','off','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','value','INVALID_API_KEY','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','MCPStatusDisplay','icon','需要\x20API\x20密钥才能连接','MCP:\x20会话被占用','merge','MCP\x20Connected','univer-flex\x20univer-cursor-pointer\x20univer-items-center','_commandService','mcpServerUrl','bottom','useState','url(#on-line-icon_clip0_910_349)','random','currentColor','univer-font-medium','defineProperty','OnLineIcon','univer-text-green-500','CONNECTED','BuiltInUIPart','IUIPartsService','string','showConfigPanel','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Disconnected','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','mcpConfig.configSaved','mcpStatus.invalidApiKey','UniverMCPUIPlugin','CONNECTING','univerjs-icon\x20univerjs-icon-','BehaviorSubject','univer-bg-gray-500','mcpStatus.clickToConfigure','_componentManager','trim','API\x20key\x20is\x20required','RETRYING','Connection\x20Information','none','toString','mask','univer-flex\x20univer-gap-3','Error','\x20-\x20','Connecting...','close-small-single','includes','3871224vovYYt','连接失败','enUS','最大重试次数','hasOwnProperty','ILocalStorageService','MCPConnectionStatus','\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','保存配置','Success','MCPConnectionUIController','MCP:\x20Network\x20Error','UniverIcon','MCP\x20Unknown\x20Status','_injector','启用身份验证','_connectionController','您的\x20API\x20密钥将在此浏览器中本地存储','_initializeCommands','url(#off-line-icon_clip0_910_343)','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','getCurrentConfig','_initializeMenus','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-bg-red-500','_validateConfig','MCP\x20配置','Disposable','univer-min-w-0\x20univer-flex-1','round','MAX_RETRIES_EXCEEDED','576354FmmiqB','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','4273506BVTbqv','jsxs','next','mcp-config-dialog','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','MCP:\x20网络错误','setItem','API\x20Key','mcpConfig.connectionError.networkError','evenodd','_initStatusComponent','mcp-ui.config','path','MCP:\x20Max\x20Retries\x20Exceeded','text','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','_initConfigSync','_messageService','MCP\x20Connection\x20Failed','noopener\x20noreferrer','ILogService','replace','Get\x20your\x20API\x20key\x20in\x20seconds','defs','MCP_PLUGIN_CONFIG_KEY','univer-bg-green-500','mcpConfig.save','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','LocaleService','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','MCP:\x20Session\x20Occupied','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','HEADER_MENU','mcpStatus.disconnected','mcpConfig.validation.invalidConfig','registerComponent','_loadStoredApiKey','getConfig','Univer\x20AI\x20Console','xlink:href','toStringTag','prototype','MCPConnectionError','mcpConfig.note2','MCP\x20Connecting...','propertyIsEnumerable','connectInjector','M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','mcp-ui.command.openConfigPanel','MenuItemType','mcpConfig.apiApplyInfo.title','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','CloseSmallSingle','连接信息','DependentOn','MCP:\x20缺少\x20API\x20密钥','use','_createConfigPanelComponent','univer-text-yellow-500','displayName','超出最大重试次数,请稍后再试','off-line-icon_clip0_910_343','Univer\x20AI\x20控制台','mcpConfig.title','subscribeConfigValue$','Enable\x20authentication\x20for\x20secure\x20connections','mcpStatus.networkError','Max\x20Retries','MISSING_API_KEY','assign','SESSION_ID_OCCUPIED','showDeveloperTools','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpConfig.apiApplyInfo.description','mcpStatus.sessionOccupied','配置无效','off-line-icon','1em','NONE','mcpConfig.apiApplyInfo.getStarted','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20API\x20Key\x20Missing','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','fill','4693828ebnyjh','API\x20密钥不能为空','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','url(#$1','_registerComponent','translate(.97)','_handleConfigSave','IMessageService','_configService','univer-flex-shrink-0\x20univer-text-blue-500','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','重连中...','clsx','useCallback','Session\x20ID','_config','indexOf','https://console.univer.plus','getOwnPropertyDescriptor','API\x20密钥','_mcpConnectionController','MCP\x20Configuration','mcpConfig.connectionStatus.connecting','defIds','className','CommandType','mcpConfig.connectionError.missingApiKey','_uiPartsService','MCP\x20Disconnected','on-line-icon_clip0_910_349','useDependency','MessageType','isValid','apiKey','Save\x20Configuration','apply','MCP:\x20无效的\x20API\x20密钥','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','mcpConfig.serverEndpoint','mcpConfig.validation.apiKeyRequired','check-mark-icon','createElement','Inject','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','点击连接\x20MCP','IMenuManagerService','forwardRef','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','您的\x20API\x20密钥安全存储在本地存储中','mcpConfig.configError','register','API\x20key\x20is\x20required\x20to\x20connect','mergeMenu','0\x200\x2017\x2016','call','univer-text-red-500','334325mXRsUm','univer.ai','配置保存失败','current','univer-text-blue-600','请输入您的\x20API\x20密钥','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','配置\x20MCP\x20使用\x20AI\x20操作电子表格','20pHBLFv','errorMessage','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.connectionStatus.retrying','mcpConfig.apiApplyInfo.univerAiLabel','mcpStatus.missingApiKey','symbol','extend','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','colorChannel1','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.validation.apiKeyTooShort','children','univer-mr-2\x20univer-flex\x20univer-text-xl','mcpConfig.connectionStatus.failed','sessionId','88927INrbTv','会话当前被占用,请稍后再试','Enter\x20your\x20API\x20key','0\x200\x2016\x2016','_loading$','pluginName','FAILED','error','Click\x20to\x20connect\x20MCP','mcpConfig.note1','Retrying...','保存中...','on-line-icon','几秒钟内获取您的\x20API\x20密钥','MCP_UI_PLUGIN','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','2133738dPcVJK','open','univer-bg-blue-500','MCP\x20Retrying...','univer-flex\x20univer-items-start\x20univer-gap-3','univer-flex\x20univer-items-center\x20univer-gap-2','mcpStatus.failed','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','show','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-text-xs\x20univer-text-gray-500','配置保存成功','Connected','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','API\x20密钥无效,请检查您的密钥后重试','Injector','mcpConfig.apiKey','_logService','useObservable','Module','mcpStatus.retrying','idSuffix','MCP\x20重连中...','42FetxfM','function','\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','已连接','_handleConfigure','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','tag','RibbonStartGroup','javascript:void(0)','connectionError$','mcpStatus.maxRetriesExceeded','_mcpCoreConfig$','_localeService','attrs','Saving...','connectionStatus$','MCPConfigUIController','启用身份验证以获得安全连接','Plugin','Input','hover:univer-opacity-80','univer.plus','div','length','MCPConfigPanel','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','_dialogService','Configuration\x20saved\x20successfully','univer-text-sm\x20univer-font-medium','substring','subscribe','disposeWithMe','code','MCP:\x20超出最大重试次数','Invalid\x20configuration','_menuManagerService','M0\x200H16V16H0z','DISCONNECTED','MCP\x20已断开','clipPath','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20连接中...'];_0x2d64=function(){return _0x3d21c7;};return _0x2d64();}exports[_0x2a6b16(0xd8)]=class extends u[_0x2a6b16(0xe9)]{constructor(_0x3cc2ea,_0x3bbc95,_0x109711){var _0x27029f=_0x2a6b16;super(),this[_0x27029f(0xdc)]=_0x3cc2ea,this[_0x27029f(0xde)]=_0x3bbc95,this[_0x27029f(0x15e)]=_0x109711,this[_0x27029f(0xf9)]();}[_0x2a6b16(0xf9)](){var _0x2e94ea=_0x2a6b16;this['disposeWithMe'](this[_0x2e94ea(0x15e)][_0x2e94ea(0x112)](v[_0x2e94ea(0xb1)][_0x2e94ea(0x10f)],()=>v[_0x2e94ea(0x11d)](Ie({'status$':this[_0x2e94ea(0xde)]['connectionStatus$'],'error$':this[_0x2e94ea(0xde)][_0x2e94ea(0x1c4)],'onConfigure':()=>this[_0x2e94ea(0x1be)]()}),this['_injector'])));}[_0x2a6b16(0x1be)](){var _0x30c84d=_0x2a6b16;this['_injector'][_0x30c84d(0x96)](exports[_0x30c84d(0x1cb)])[_0x30c84d(0xb4)]();}},exports['MCPConnectionUIController']=Pe([O(0x0,u[_0x2a6b16(0x16d)](u[_0x2a6b16(0x1b2)])),O(0x1,u['Inject'](s['MCPConnectionController'])),O(0x2,v[_0x2a6b16(0xb2)])],exports[_0x2a6b16(0xd8)]);function Ie(_0x1f0a53){const {status$:_0x9e8ee8,error$:_0x4711df,onConfigure:_0x145000}=_0x1f0a53;return function(){var _0x379ad8=_0xcf39;return o[_0x379ad8(0x214)](q,{'status$':_0x9e8ee8,'error$':_0x4711df,'onConfigure':_0x145000});};}function Se(_0x5db45e){var _0x2b964b=_0x2a6b16;return{'id':b['id'],'type':v[_0x2b964b(0x120)]['BUTTON'],'icon':'MenuIcon','title':_0x2b964b(0x12e),'tooltip':_0x2b964b(0x12e)};}const _e={[v[_0x2a6b16(0x1c2)]['OTHERS']]:{[b['id']]:{'order':0xa,'menuItemFactory':Se}}};var ye=Object[_0x2a6b16(0x155)],Me=(_0xe2dd9c,_0x12f2f2,_0x3ec23d,_0x1403f7)=>{for(var _0x1ed262=_0x1403f7>0x1?void 0x0:_0x1403f7?ye(_0x12f2f2,_0x3ec23d):_0x12f2f2,_0x527f7b=_0xe2dd9c['length']-0x1,_0x5d1876;_0x527f7b>=0x0;_0x527f7b--)(_0x5d1876=_0xe2dd9c[_0x527f7b])&&(_0x1ed262=_0x5d1876(_0x1ed262)||_0x1ed262);return _0x1ed262;},R=(_0x5d9073,_0x585fef)=>(_0x210686,_0x17c95b)=>_0x585fef(_0x210686,_0x17c95b,_0x5d9073);exports[_0x2a6b16(0x209)]=class extends u['Disposable']{constructor(_0x4b6a94,_0x5cf2fa){var _0x6b33fb=_0x2a6b16;super(),this[_0x6b33fb(0xa5)]=_0x4b6a94,this[_0x6b33fb(0x1df)]=_0x5cf2fa,this[_0x6b33fb(0xe0)](),this[_0x6b33fb(0xe4)]();}['_initializeCommands'](){var _0x8558c6=_0x2a6b16;[b][_0x8558c6(0x1e7)](_0x3d602f=>{var _0x5c6f22=_0x8558c6;this[_0x5c6f22(0x1db)](this['_commandService'][_0x5c6f22(0x1eb)](_0x3d602f));});}['_initializeMenus'](){var _0x1af9c3=_0x2a6b16;this[_0x1af9c3(0x1df)][_0x1af9c3(0x177)](_e);}},exports['MCPUIMenuController']=Me([R(0x0,u['ICommandService']),R(0x1,v[_0x2a6b16(0x170)])],exports[_0x2a6b16(0x209)]);const Ee={'mcpStatus':{'disconnected':_0x2a6b16(0x15f),'connecting':_0x2a6b16(0x11b),'connected':_0x2a6b16(0xa3),'failed':_0x2a6b16(0x101),'retrying':_0x2a6b16(0x1a6),'unknown':_0x2a6b16(0xdb),'missingApiKey':_0x2a6b16(0x140),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x2a6b16(0x10d),'networkError':_0x2a6b16(0xd9),'maxRetriesExceeded':_0x2a6b16(0xfc),'clickToConnect':_0x2a6b16(0x19b),'clickToConfigure':_0x2a6b16(0x20c)},'mcpConfig':{'title':_0x2a6b16(0x158),'description':_0x2a6b16(0x141),'apiKey':_0x2a6b16(0xf6),'apiKeyPlaceholder':_0x2a6b16(0x195),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2a6b16(0x130),'connectionInfo':_0x2a6b16(0xc4),'serverEndpoint':_0x2a6b16(0x201),'sessionId':_0x2a6b16(0x151),'maxRetries':_0x2a6b16(0x132),'save':_0x2a6b16(0x165),'saving':_0x2a6b16(0x1c9),'note1':_0x2a6b16(0x1a2),'note2':_0x2a6b16(0x13f),'configSaved':_0x2a6b16(0x1d7),'configError':_0x2a6b16(0x94),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2a6b16(0x1d5),'univerAiLabel':_0x2a6b16(0x115),'getStarted':_0x2a6b16(0x105)},'validation':{'apiKeyRequired':_0x2a6b16(0xc2),'apiKeyTooShort':_0x2a6b16(0x18b),'invalidConfig':_0x2a6b16(0x1de),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2a6b16(0xb6),'connecting':_0x2a6b16(0xcb),'connected':_0x2a6b16(0x1af),'failed':'Connection\x20Failed','retrying':_0x2a6b16(0x19d)},'connectionError':{'missingApiKey':_0x2a6b16(0x176),'invalidApiKey':_0x2a6b16(0x1e4),'sessionOccupied':_0x2a6b16(0x181),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},Ne={'mcpStatus':{'disconnected':_0x2a6b16(0x1e2),'connecting':_0x2a6b16(0x1e5),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x2a6b16(0x1b9),'unknown':'MCP\x20状态未知','missingApiKey':_0x2a6b16(0x126),'invalidApiKey':_0x2a6b16(0x167),'sessionOccupied':_0x2a6b16(0xa1),'networkError':_0x2a6b16(0xf4),'maxRetriesExceeded':_0x2a6b16(0x1dd),'clickToConnect':_0x2a6b16(0x16f),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x2a6b16(0xe8),'description':_0x2a6b16(0x182),'apiKey':_0x2a6b16(0x156),'apiKeyPlaceholder':_0x2a6b16(0x180),'apiKeyHint':_0x2a6b16(0xdf),'enableAuth':_0x2a6b16(0xdd),'enableAuthHint':_0x2a6b16(0x1cc),'connectionInfo':_0x2a6b16(0x124),'serverEndpoint':'服务器端点','sessionId':_0x2a6b16(0x1f8),'maxRetries':_0x2a6b16(0xd1),'save':_0x2a6b16(0xd6),'saving':_0x2a6b16(0x19e),'note1':'配置更改将立即生效','note2':_0x2a6b16(0x173),'configSaved':_0x2a6b16(0x1ae),'configError':_0x2a6b16(0x17d),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x2a6b16(0x1bf),'univerAiLabel':_0x2a6b16(0x12d),'getStarted':_0x2a6b16(0x1a0)},'validation':{'apiKeyRequired':_0x2a6b16(0x144),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x2a6b16(0x13a),'invalidApiKey':_0x2a6b16(0x93)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x2a6b16(0x1bd),'failed':_0x2a6b16(0xcf),'retrying':_0x2a6b16(0x14e)},'connectionError':{'missingApiKey':_0x2a6b16(0xa0),'invalidApiKey':_0x2a6b16(0x1b1),'sessionOccupied':_0x2a6b16(0x194),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x2a6b16(0x12b)}}};var be=Object['defineProperty'],je=Object[_0x2a6b16(0x155)],we=(_0x6f6b83,_0x10591f,_0xc35827)=>_0x10591f in _0x6f6b83?be(_0x6f6b83,_0x10591f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc35827}):_0x6f6b83[_0x10591f]=_0xc35827,Ae=(_0x526763,_0x2bd3ac,_0xc647a2,_0x471f22)=>{var _0x469966=_0x2a6b16;for(var _0x52b15a=_0x471f22>0x1?void 0x0:_0x471f22?je(_0x2bd3ac,_0xc647a2):_0x2bd3ac,_0x4d96de=_0x526763[_0x469966(0x1d2)]-0x1,_0x47349c;_0x4d96de>=0x0;_0x4d96de--)(_0x47349c=_0x526763[_0x4d96de])&&(_0x52b15a=_0x47349c(_0x52b15a)||_0x52b15a);return _0x52b15a;},y=(_0x40d963,_0x1ee20f)=>(_0x5da566,_0x1185ed)=>_0x1ee20f(_0x5da566,_0x1185ed,_0x40d963),Oe=(_0x266a38,_0x496948,_0x1188da)=>we(_0x266a38,_0x496948+'',_0x1188da);exports[_0x2a6b16(0xba)]=class extends u[_0x2a6b16(0x1cd)]{constructor(_0x1d4609=T,_0x454a06,_0x8a2104,_0x549d11,_0x1825e9,_0x47a0f3){var _0x1760f6=_0x2a6b16;super(),this[_0x1760f6(0x152)]=_0x1d4609,this[_0x1760f6(0xdc)]=_0x454a06,this['_configService']=_0x8a2104,this['_uiPartsService']=_0x549d11,this[_0x1760f6(0x1fd)]=_0x1825e9,this[_0x1760f6(0x1c7)]=_0x47a0f3;const {..._0x103610}=u[_0x1760f6(0xa2)]({},T,this[_0x1760f6(0x152)]);this[_0x1760f6(0x14b)][_0x1760f6(0x1fc)](k,_0x103610);}async['onStarting'](){var _0x8661fd=_0x2a6b16;[[exports[_0x8661fd(0xd8)]],[exports[_0x8661fd(0x1cb)]],[exports[_0x8661fd(0x209)]]][_0x8661fd(0x1e7)](_0x57be32=>this[_0x8661fd(0xdc)]['add'](_0x57be32)),this[_0x8661fd(0xdc)][_0x8661fd(0x96)](exports[_0x8661fd(0xd8)]),this[_0x8661fd(0xdc)]['get'](exports[_0x8661fd(0x1cb)]),this['_injector'][_0x8661fd(0x96)](exports[_0x8661fd(0x209)]);}},Oe(exports[_0x2a6b16(0xba)],_0x2a6b16(0x198),_0x2a6b16(0x1a1)),exports[_0x2a6b16(0xba)]=Ae([u[_0x2a6b16(0x125)](s['UniverMCPPlugin']),y(0x1,u[_0x2a6b16(0x16d)](u[_0x2a6b16(0x1b2)])),y(0x2,u[_0x2a6b16(0x1f9)]),y(0x3,v['IUIPartsService']),y(0x4,u[_0x2a6b16(0xd3)]),y(0x5,u['Inject'](u['LocaleService']))],exports[_0x2a6b16(0xba)]),exports[_0x2a6b16(0x1d3)]=B,exports[_0x2a6b16(0x9e)]=q,exports[_0x2a6b16(0x1e9)]=b,exports[_0x2a6b16(0xd0)]=Ee,exports[_0x2a6b16(0x1f4)]=Ne;
@@ -1 +1 @@
1
- 'use strict';const _0x5f4929=_0x4d6c;(function(_0xe884d3,_0x3544a7){const _0x268ebd=_0x4d6c,_0x37bc26=_0xe884d3();while(!![]){try{const _0x1235ad=parseInt(_0x268ebd(0x170))/0x1*(parseInt(_0x268ebd(0x173))/0x2)+-parseInt(_0x268ebd(0x163))/0x3+-parseInt(_0x268ebd(0x178))/0x4*(parseInt(_0x268ebd(0x157))/0x5)+-parseInt(_0x268ebd(0x164))/0x6*(parseInt(_0x268ebd(0x171))/0x7)+parseInt(_0x268ebd(0x153))/0x8+-parseInt(_0x268ebd(0x172))/0x9+parseInt(_0x268ebd(0x17c))/0xa;if(_0x1235ad===_0x3544a7)break;else _0x37bc26['push'](_0x37bc26['shift']());}catch(_0x1edc10){_0x37bc26['push'](_0x37bc26['shift']());}}}(_0x2352,0xb0aaf));function _0x4d6c(_0x500dd7,_0x4d660f){const _0x235248=_0x2352();return _0x4d6c=function(_0x4d6c46,_0x1db4a5){_0x4d6c46=_0x4d6c46-0x14d;let _0x162ff1=_0x235248[_0x4d6c46];return _0x162ff1;},_0x4d6c(_0x500dd7,_0x4d660f);}function _0x2352(){const _0x5140b4=['16huYUrL','Univer\x20AI\x20Console','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Unknown\x20Status','20796380ubGToI','MCP\x20Connection\x20Failed','Retrying...','Connection\x20Information','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Session\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','4813008ymjowJ','exports','MCP\x20Disconnected','Connection\x20Failed','222540MxYRpr','Enable\x20Authentication','MCP\x20Connected','Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Invalid\x20API\x20Key','Failed\x20to\x20save\x20configuration','3685080MEUeYf','90318oHUAVj','MCP\x20Retrying...','MCP:\x20API\x20Key\x20Missing','Click\x20to\x20configure\x20MCP','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connecting...','Max\x20Retries','Saving...','Click\x20to\x20connect\x20MCP','API\x20key\x20is\x20required','Session\x20ID','3yKfBNV','154FZtKAa','3474639YjcFnC','110664ObNBiw','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','What\x20is\x20API\x20Key?','Save\x20Configuration','API\x20key\x20is\x20required\x20to\x20connect'];_0x2352=function(){return _0x5140b4;};return _0x2352();}const e={'mcpStatus':{'disconnected':_0x5f4929(0x155),'connecting':_0x5f4929(0x16a),'connected':_0x5f4929(0x159),'failed':_0x5f4929(0x14d),'retrying':_0x5f4929(0x165),'unknown':_0x5f4929(0x17b),'missingApiKey':_0x5f4929(0x166),'invalidApiKey':_0x5f4929(0x161),'sessionOccupied':_0x5f4929(0x151),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5f4929(0x16d),'clickToConfigure':_0x5f4929(0x167)},'mcpConfig':{'title':_0x5f4929(0x15d),'description':_0x5f4929(0x15e),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x5f4929(0x158),'enableAuthHint':_0x5f4929(0x150),'connectionInfo':_0x5f4929(0x14f),'serverEndpoint':'Server\x20Endpoint','sessionId':_0x5f4929(0x16f),'maxRetries':_0x5f4929(0x16b),'save':_0x5f4929(0x176),'saving':_0x5f4929(0x16c),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x5f4929(0x17a),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x5f4929(0x162),'apiApplyInfo':{'title':_0x5f4929(0x175),'description':_0x5f4929(0x169),'univerAiLabel':_0x5f4929(0x179),'getStarted':_0x5f4929(0x152)},'validation':{'apiKeyRequired':_0x5f4929(0x16e),'apiKeyTooShort':_0x5f4929(0x160),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x5f4929(0x15c)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x5f4929(0x15a),'failed':_0x5f4929(0x156),'retrying':_0x5f4929(0x14e)},'connectionError':{'missingApiKey':_0x5f4929(0x177),'invalidApiKey':_0x5f4929(0x15f),'sessionOccupied':_0x5f4929(0x168),'networkError':_0x5f4929(0x174),'maxRetriesExceeded':_0x5f4929(0x15b)}}},n=e;module[_0x5f4929(0x154)]=n;
1
+ 'use strict';const _0x2cc8f4=_0x534d;(function(_0x3e3119,_0x207118){const _0x1cd2bd=_0x534d,_0x3cc43d=_0x3e3119();while(!![]){try{const _0x32f79c=parseInt(_0x1cd2bd(0xff))/0x1*(-parseInt(_0x1cd2bd(0xe6))/0x2)+-parseInt(_0x1cd2bd(0xec))/0x3*(-parseInt(_0x1cd2bd(0xf9))/0x4)+-parseInt(_0x1cd2bd(0xdf))/0x5+parseInt(_0x1cd2bd(0xf6))/0x6*(-parseInt(_0x1cd2bd(0xe7))/0x7)+-parseInt(_0x1cd2bd(0xdc))/0x8*(parseInt(_0x1cd2bd(0x105))/0x9)+-parseInt(_0x1cd2bd(0xdd))/0xa*(parseInt(_0x1cd2bd(0xf3))/0xb)+-parseInt(_0x1cd2bd(0xea))/0xc*(-parseInt(_0x1cd2bd(0xfa))/0xd);if(_0x32f79c===_0x207118)break;else _0x3cc43d['push'](_0x3cc43d['shift']());}catch(_0x1d76a8){_0x3cc43d['push'](_0x3cc43d['shift']());}}}(_0x80f0,0x723dc));function _0x534d(_0x52ed92,_0x3def65){const _0x80f017=_0x80f0();return _0x534d=function(_0x534d61,_0xec9f16){_0x534d61=_0x534d61-0xdc;let _0x34be11=_0x80f017[_0x534d61];return _0x34be11;},_0x534d(_0x52ed92,_0x3def65);}function _0x80f0(){const _0x5175d8=['Connection\x20Information','Enter\x20your\x20API\x20key','1210962ZnKZNk','MCP:\x20API\x20Key\x20Missing','API\x20Key','16028WQzZuI','5048485bRczIo','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20configure\x20MCP','163138BHXWME','MCP\x20Retrying...','MCP\x20Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Server\x20Endpoint','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','11835rARmWH','Session\x20ID','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','exports','MCP\x20Connected','5144KQcQKI','3470iMxDHY','Saving...','3951900dJblJK','Configuration\x20saved\x20successfully','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','Univer\x20AI\x20Console','API\x20key\x20is\x20required','2zQOvtk','7zWrTON','MCP:\x20Invalid\x20API\x20Key','MCP\x20Unknown\x20Status','60eDhsyX','MCP:\x20Network\x20Error','537wcgQZg','Connection\x20Failed','MCP\x20Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Save\x20Configuration','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','6028GeXYUc'];_0x80f0=function(){return _0x5175d8;};return _0x80f0();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x2cc8f4(0x101),'connected':_0x2cc8f4(0x10a),'failed':_0x2cc8f4(0xee),'retrying':_0x2cc8f4(0x100),'unknown':_0x2cc8f4(0xe9),'missingApiKey':_0x2cc8f4(0xf7),'invalidApiKey':_0x2cc8f4(0xe8),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x2cc8f4(0xeb),'maxRetriesExceeded':_0x2cc8f4(0xe1),'clickToConnect':_0x2cc8f4(0xfc),'clickToConfigure':_0x2cc8f4(0xfe)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2cc8f4(0x102),'apiKey':_0x2cc8f4(0xf8),'apiKeyPlaceholder':_0x2cc8f4(0xf5),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2cc8f4(0xe2),'connectionInfo':_0x2cc8f4(0xf4),'serverEndpoint':_0x2cc8f4(0x103),'sessionId':_0x2cc8f4(0x106),'maxRetries':'Max\x20Retries','save':_0x2cc8f4(0xf0),'saving':_0x2cc8f4(0xde),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2cc8f4(0x108),'configSaved':_0x2cc8f4(0xe0),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2cc8f4(0xf2),'description':_0x2cc8f4(0xfb),'univerAiLabel':_0x2cc8f4(0xe4),'getStarted':_0x2cc8f4(0xfd)},'validation':{'apiKeyRequired':_0x2cc8f4(0xe5),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2cc8f4(0xe3),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':'Connected','failed':_0x2cc8f4(0xed),'retrying':'Retrying...'},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x2cc8f4(0x107),'sessionOccupied':_0x2cc8f4(0xf1),'networkError':_0x2cc8f4(0x104),'maxRetriesExceeded':_0x2cc8f4(0xef)}}},n=e;module[_0x2cc8f4(0x109)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x53e8(_0x46f8e0,_0x7ccd12){const _0x1cb35b=_0x1cb3();return _0x53e8=function(_0x53e808,_0x35618b){_0x53e808=_0x53e808-0x9c;let _0x3b8cfa=_0x1cb35b[_0x53e808];return _0x3b8cfa;},_0x53e8(_0x46f8e0,_0x7ccd12);}const _0x325e2f=_0x53e8;(function(_0x271624,_0x91571e){const _0x22cdf9=_0x53e8,_0x176a36=_0x271624();while(!![]){try{const _0xd2597d=-parseInt(_0x22cdf9(0xb8))/0x1+parseInt(_0x22cdf9(0xbf))/0x2+-parseInt(_0x22cdf9(0xca))/0x3*(-parseInt(_0x22cdf9(0xb1))/0x4)+-parseInt(_0x22cdf9(0xae))/0x5+-parseInt(_0x22cdf9(0x9f))/0x6+parseInt(_0x22cdf9(0xc7))/0x7*(-parseInt(_0x22cdf9(0xcb))/0x8)+parseInt(_0x22cdf9(0xa1))/0x9;if(_0xd2597d===_0x91571e)break;else _0x176a36['push'](_0x176a36['shift']());}catch(_0x545fc1){_0x176a36['push'](_0x176a36['shift']());}}}(_0x1cb3,0x1af8e));const e={'mcpStatus':{'disconnected':_0x325e2f(0xb3),'connecting':_0x325e2f(0xc9),'connected':_0x325e2f(0xba),'failed':_0x325e2f(0xbd),'retrying':_0x325e2f(0xa9),'unknown':_0x325e2f(0xad),'missingApiKey':_0x325e2f(0xc5),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x325e2f(0xa3),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x325e2f(0x9c),'clickToConnect':_0x325e2f(0xb7),'clickToConfigure':_0x325e2f(0xb0)},'mcpConfig':{'title':_0x325e2f(0xa5),'description':_0x325e2f(0xb2),'apiKey':_0x325e2f(0xbc),'apiKeyPlaceholder':_0x325e2f(0x9d),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x325e2f(0xaa),'enableAuthHint':_0x325e2f(0xc4),'connectionInfo':_0x325e2f(0xbe),'serverEndpoint':_0x325e2f(0xaf),'sessionId':_0x325e2f(0xbb),'maxRetries':_0x325e2f(0x9e),'save':_0x325e2f(0xc8),'saving':'Saving...','note1':_0x325e2f(0xb4),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x325e2f(0xc3),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x325e2f(0xb6),'description':_0x325e2f(0xc1),'univerAiLabel':_0x325e2f(0xcc),'getStarted':_0x325e2f(0xc2)},'validation':{'apiKeyRequired':_0x325e2f(0xa0),'apiKeyTooShort':_0x325e2f(0xc6),'invalidConfig':_0x325e2f(0xb5),'invalidApiKey':_0x325e2f(0xa8)},'connectionStatus':{'disconnected':_0x325e2f(0xa4),'connecting':'Connecting...','connected':_0x325e2f(0xc0),'failed':_0x325e2f(0xcd),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x325e2f(0xac),'invalidApiKey':_0x325e2f(0xb9),'sessionOccupied':_0x325e2f(0xa6),'networkError':_0x325e2f(0xa7),'maxRetriesExceeded':_0x325e2f(0xab)}}};function _0x1cb3(){const _0x487c07=['Click\x20to\x20connect\x20MCP','154562mlXHVj','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Connected','Session\x20ID','API\x20Key','MCP\x20Connection\x20Failed','Connection\x20Information','82128xDqxrF','Connected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20saved\x20successfully','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20API\x20Key\x20Missing','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','46221MVufRu','Save\x20Configuration','MCP\x20Connecting...','413331txfqtd','176oylFrL','Univer\x20AI\x20Console','Connection\x20Failed','MCP:\x20Max\x20Retries\x20Exceeded','Enter\x20your\x20API\x20key','Max\x20Retries','944016IyEsLs','API\x20key\x20is\x20required','5334543ikCYoY','exports','MCP:\x20Session\x20Occupied','Disconnected','MCP\x20Configuration','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','Enable\x20Authentication','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20is\x20required\x20to\x20connect','MCP\x20Unknown\x20Status','1019630WQEenl','Server\x20Endpoint','Click\x20to\x20configure\x20MCP','4JqWzcJ','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Invalid\x20configuration','What\x20is\x20API\x20Key?'];_0x1cb3=function(){return _0x487c07;};return _0x1cb3();}module[_0x325e2f(0xa2)]=e;
1
+ 'use strict';function _0x5e5d(_0x52baa7,_0x1d4fad){const _0x4a4610=_0x4a46();return _0x5e5d=function(_0x5e5d22,_0x55a0a0){_0x5e5d22=_0x5e5d22-0x1c1;let _0x5116ca=_0x4a4610[_0x5e5d22];return _0x5116ca;},_0x5e5d(_0x52baa7,_0x1d4fad);}function _0x4a46(){const _0x3b45c6=['MCP\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20connect\x20MCP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connecting...','Session\x20ID','API\x20Key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connection\x20Failed','745647EQZrKH','MCP:\x20API\x20Key\x20Missing','What\x20is\x20API\x20Key?','3737416KXShZk','MCP\x20Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connected','340vIDzko','7AxqLHF','Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','1Shrzdt','Disconnected','24170JYHcTE','Save\x20Configuration','Invalid\x20configuration','API\x20key\x20is\x20required\x20to\x20connect','MCP\x20Disconnected','11308880qZhrrV','Connection\x20Information','1376322jEZiqY','API\x20key\x20is\x20required','Failed\x20to\x20save\x20configuration','Server\x20Endpoint','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Unknown\x20Status','1945827WxUyLV','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Saving...','MCP:\x20Invalid\x20API\x20Key','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Network\x20Error','MCP:\x20Max\x20Retries\x20Exceeded','272276heviur','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x4a46=function(){return _0x3b45c6;};return _0x4a46();}const _0x5933ba=_0x5e5d;(function(_0x654ebb,_0x4a05ef){const _0x306e58=_0x5e5d,_0x3ae755=_0x654ebb();while(!![]){try{const _0x459132=parseInt(_0x306e58(0x1ec))/0x1*(-parseInt(_0x306e58(0x1d4))/0x2)+-parseInt(_0x306e58(0x1e1))/0x3+-parseInt(_0x306e58(0x1e8))/0x4*(-parseInt(_0x306e58(0x1ee))/0x5)+parseInt(_0x306e58(0x1c4))/0x6*(-parseInt(_0x306e58(0x1e9))/0x7)+-parseInt(_0x306e58(0x1e4))/0x8+-parseInt(_0x306e58(0x1ca))/0x9+parseInt(_0x306e58(0x1c2))/0xa;if(_0x459132===_0x4a05ef)break;else _0x3ae755['push'](_0x3ae755['shift']());}catch(_0x13246c){_0x3ae755['push'](_0x3ae755['shift']());}}}(_0x4a46,0x3ba64));const e={'mcpStatus':{'disconnected':_0x5933ba(0x1c1),'connecting':_0x5933ba(0x1dc),'connected':_0x5933ba(0x1e7),'failed':_0x5933ba(0x1e5),'retrying':'MCP\x20Retrying...','unknown':_0x5933ba(0x1c9),'missingApiKey':_0x5933ba(0x1e2),'invalidApiKey':_0x5933ba(0x1cf),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x5933ba(0x1d2),'maxRetriesExceeded':_0x5933ba(0x1d3),'clickToConnect':_0x5933ba(0x1da),'clickToConfigure':_0x5933ba(0x1d0)},'mcpConfig':{'title':_0x5933ba(0x1d8),'description':_0x5933ba(0x1cb),'apiKey':_0x5933ba(0x1de),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5933ba(0x1e6),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5933ba(0x1d1),'connectionInfo':_0x5933ba(0x1c3),'serverEndpoint':_0x5933ba(0x1c7),'sessionId':_0x5933ba(0x1dd),'maxRetries':'Max\x20Retries','save':_0x5933ba(0x1ef),'saving':_0x5933ba(0x1ce),'note1':_0x5933ba(0x1d7),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x5933ba(0x1c6),'apiApplyInfo':{'title':_0x5933ba(0x1e3),'description':_0x5933ba(0x1db),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x5933ba(0x1d9)},'validation':{'apiKeyRequired':_0x5933ba(0x1c5),'apiKeyTooShort':_0x5933ba(0x1df),'invalidConfig':_0x5933ba(0x1f0),'invalidApiKey':_0x5933ba(0x1c8)},'connectionStatus':{'disconnected':_0x5933ba(0x1ed),'connecting':'Connecting...','connected':_0x5933ba(0x1cc),'failed':_0x5933ba(0x1e0),'retrying':_0x5933ba(0x1ea)},'connectionError':{'missingApiKey':_0x5933ba(0x1f1),'invalidApiKey':_0x5933ba(0x1eb),'sessionOccupied':_0x5933ba(0x1d6),'networkError':_0x5933ba(0x1d5),'maxRetriesExceeded':_0x5933ba(0x1cd)}}};module['exports']=e;
@@ -1 +1 @@
1
- 'use strict';function _0x1796(){const _0x122ba8=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','8403073TfhWHs','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20is\x20required','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Save\x20Configuration','Click\x20to\x20connect\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Session\x20Occupied','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Connecting...','exports','Connecting...','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','4341738xNsiFS','1485532ZIJJoG','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\x20ID','123048SPAzyp','MCP:\x20API\x20Key\x20Missing','API\x20Key','15Rmgxey','1343087zQeSYa','Get\x20your\x20API\x20key\x20in\x20seconds','Server\x20Endpoint','Connection\x20Information','What\x20is\x20API\x20Key?','MCP\x20Configuration','MCP\x20Connection\x20Failed','Invalid\x20configuration','Click\x20to\x20configure\x20MCP','Univer\x20AI\x20Console','1216iUcMHQ','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connected','Saving...','MCP:\x20Network\x20Error','API\x20key\x20is\x20required\x20to\x20connect','1305268oqTkkx','3946848gSfHfO','Max\x20Retries','Retrying...'];_0x1796=function(){return _0x122ba8;};return _0x1796();}const _0x3dd902=_0xc1a4;(function(_0x6f76a0,_0x5e88b4){const _0x11e9c2=_0xc1a4,_0x3436d2=_0x6f76a0();while(!![]){try{const _0x715a7=parseInt(_0x11e9c2(0x214))/0x1+-parseInt(_0x11e9c2(0x1f4))/0x2+-parseInt(_0x11e9c2(0x20c))/0x3+-parseInt(_0x11e9c2(0x20d))/0x4*(parseInt(_0x11e9c2(0x213))/0x5)+-parseInt(_0x11e9c2(0x1f5))/0x6+parseInt(_0x11e9c2(0x1f9))/0x7+-parseInt(_0x11e9c2(0x1ee))/0x8*(-parseInt(_0x11e9c2(0x210))/0x9);if(_0x715a7===_0x5e88b4)break;else _0x3436d2['push'](_0x3436d2['shift']());}catch(_0x5a3d8c){_0x3436d2['push'](_0x3436d2['shift']());}}}(_0x1796,0xb7109));function _0xc1a4(_0x4de45b,_0x457493){const _0x1796b5=_0x1796();return _0xc1a4=function(_0xc1a4a2,_0x593e7f){_0xc1a4a2=_0xc1a4a2-0x1e6;let _0x54c790=_0x1796b5[_0xc1a4a2];return _0x54c790;},_0xc1a4(_0x4de45b,_0x457493);}const e={'mcpStatus':{'disconnected':_0x3dd902(0x1ff),'connecting':_0x3dd902(0x208),'connected':_0x3dd902(0x1f0),'failed':_0x3dd902(0x1ea),'retrying':'MCP\x20Retrying...','unknown':_0x3dd902(0x1fc),'missingApiKey':_0x3dd902(0x211),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x3dd902(0x206),'networkError':_0x3dd902(0x1f2),'maxRetriesExceeded':_0x3dd902(0x1fa),'clickToConnect':_0x3dd902(0x203),'clickToConfigure':_0x3dd902(0x1ec)},'mcpConfig':{'title':_0x3dd902(0x1e9),'description':_0x3dd902(0x1f8),'apiKey':_0x3dd902(0x212),'apiKeyPlaceholder':_0x3dd902(0x1fd),'apiKeyHint':_0x3dd902(0x1fe),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x3dd902(0x204),'connectionInfo':_0x3dd902(0x1e7),'serverEndpoint':_0x3dd902(0x1e6),'sessionId':_0x3dd902(0x20f),'maxRetries':_0x3dd902(0x1f6),'save':_0x3dd902(0x202),'saving':_0x3dd902(0x1f1),'note1':_0x3dd902(0x1ef),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3dd902(0x1e8),'description':_0x3dd902(0x20e),'univerAiLabel':_0x3dd902(0x1ed),'getStarted':_0x3dd902(0x215)},'validation':{'apiKeyRequired':_0x3dd902(0x1fb),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x3dd902(0x1eb),'invalidApiKey':_0x3dd902(0x201)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x3dd902(0x20a),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x3dd902(0x1f7)},'connectionError':{'missingApiKey':_0x3dd902(0x1f3),'invalidApiKey':_0x3dd902(0x207),'sessionOccupied':_0x3dd902(0x20b),'networkError':_0x3dd902(0x200),'maxRetriesExceeded':_0x3dd902(0x205)}}},n=e;module[_0x3dd902(0x209)]=n;
1
+ 'use strict';const _0x4599af=_0x381d;(function(_0x18c830,_0x3c3e0f){const _0x11b0b6=_0x381d,_0x24273f=_0x18c830();while(!![]){try{const _0x270bcf=-parseInt(_0x11b0b6(0xdc))/0x1*(parseInt(_0x11b0b6(0xd5))/0x2)+parseInt(_0x11b0b6(0xe7))/0x3+parseInt(_0x11b0b6(0xf7))/0x4+-parseInt(_0x11b0b6(0xfc))/0x5*(-parseInt(_0x11b0b6(0xfb))/0x6)+-parseInt(_0x11b0b6(0xf0))/0x7*(-parseInt(_0x11b0b6(0xf9))/0x8)+parseInt(_0x11b0b6(0xd8))/0x9+-parseInt(_0x11b0b6(0xdb))/0xa;if(_0x270bcf===_0x3c3e0f)break;else _0x24273f['push'](_0x24273f['shift']());}catch(_0x18c54c){_0x24273f['push'](_0x24273f['shift']());}}}(_0x31c8,0xae34a));function _0x31c8(){const _0x23a0ae=['API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','Connection\x20Information','1161872HkYIXC','Enter\x20your\x20API\x20key','API\x20Key','3175245zKWXxp','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20API\x20Key\x20Missing','13827930FrgWpr','2ifOanp','Saving...','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP:\x20Network\x20Error','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connecting...','Session\x20ID','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','232764GRMUSv','MCP:\x20Session\x20Occupied','MCP:\x20Invalid\x20API\x20Key','MCP\x20Retrying...','exports','Failed\x20to\x20save\x20configuration','MCP\x20Connected','MCP\x20Unknown\x20Status','Configuration\x20saved\x20successfully','42nvCsiJ','Connected','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Connection\x20Failed','What\x20is\x20API\x20Key?','Retrying...','MCP:\x20Max\x20Retries\x20Exceeded','5553184FzPyEx','Enable\x20Authentication','377096ZcWgno','Server\x20Endpoint','1388040vNOFXj','25ORKTlm','Click\x20to\x20configure\x20MCP','Invalid\x20configuration','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long'];_0x31c8=function(){return _0x23a0ae;};return _0x31c8();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x4599af(0xed),'failed':_0x4599af(0xf3),'retrying':_0x4599af(0xea),'unknown':_0x4599af(0xee),'missingApiKey':_0x4599af(0xda),'invalidApiKey':_0x4599af(0xe9),'sessionOccupied':_0x4599af(0xe8),'networkError':_0x4599af(0xdf),'maxRetriesExceeded':_0x4599af(0xf6),'clickToConnect':_0x4599af(0xe1),'clickToConfigure':_0x4599af(0xfd)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x4599af(0xd7),'apiKeyPlaceholder':_0x4599af(0xd6),'apiKeyHint':_0x4599af(0xe2),'enableAuth':_0x4599af(0xf8),'enableAuthHint':_0x4599af(0xd9),'connectionInfo':_0x4599af(0x105),'serverEndpoint':_0x4599af(0xfa),'sessionId':_0x4599af(0xe4),'maxRetries':_0x4599af(0xe5),'save':_0x4599af(0xff),'saving':_0x4599af(0xdd),'note1':_0x4599af(0x100),'note2':_0x4599af(0xe0),'configSaved':_0x4599af(0xef),'configError':_0x4599af(0xec),'apiApplyInfo':{'title':_0x4599af(0xf4),'description':_0x4599af(0x102),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x4599af(0x101),'invalidConfig':_0x4599af(0xfe),'invalidApiKey':_0x4599af(0x103)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4599af(0xe3),'connected':_0x4599af(0xf1),'failed':_0x4599af(0x104),'retrying':_0x4599af(0xf5)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x4599af(0xf2),'sessionOccupied':_0x4599af(0xde),'networkError':_0x4599af(0xe6),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x381d(_0x2c3fa8,_0x2929fb){const _0x31c876=_0x31c8();return _0x381d=function(_0x381d4b,_0x4eac76){_0x381d4b=_0x381d4b-0xd5;let _0x258948=_0x31c876[_0x381d4b];return _0x258948;},_0x381d(_0x2c3fa8,_0x2929fb);}module[_0x4599af(0xeb)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x31114a=_0x4d5f;function _0x1089(){const _0x3cd104=['10104zrqQuU','MCP\x20Disconnected','Saving...','295bSwSmw','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','11874NxunLR','Max\x20Retries','160537kLwUNA','MCP\x20Unknown\x20Status','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','142260MIQHOC','Click\x20to\x20connect\x20MCP','API\x20key\x20is\x20required\x20to\x20connect','520726YmQCxP','Click\x20to\x20configure\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20saved\x20successfully','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enter\x20your\x20API\x20key','Save\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connected','84UzHyjb','Session\x20ID','Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key','Enable\x20Authentication','MCP:\x20Session\x20Occupied','Invalid\x20configuration','Retrying...','MCP:\x20Invalid\x20API\x20Key','Server\x20Endpoint','8wxdpwX','141153CFcvUJ','Connected','12816UswgBT','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','1SZixbI','MCP\x20Retrying...','What\x20is\x20API\x20Key?','363omqnpn','9ImMVhi','357foJyHe','Failed\x20to\x20save\x20configuration'];_0x1089=function(){return _0x3cd104;};return _0x1089();}(function(_0x566ee1,_0x5bf44){const _0x4b9915=_0x4d5f,_0xa89aab=_0x566ee1();while(!![]){try{const _0x55a7c7=parseInt(_0x4b9915(0x1ca))/0x1*(parseInt(_0x4b9915(0x1de))/0x2)+-parseInt(_0x4b9915(0x1c6))/0x3*(-parseInt(_0x4b9915(0x1c5))/0x4)+parseInt(_0x4b9915(0x1d4))/0x5*(-parseInt(_0x4b9915(0x1d6))/0x6)+-parseInt(_0x4b9915(0x1cf))/0x7*(parseInt(_0x4b9915(0x1d1))/0x8)+parseInt(_0x4b9915(0x1ce))/0x9*(-parseInt(_0x4b9915(0x1db))/0xa)+-parseInt(_0x4b9915(0x1cd))/0xb*(-parseInt(_0x4b9915(0x1c8))/0xc)+-parseInt(_0x4b9915(0x1d8))/0xd*(-parseInt(_0x4b9915(0x1ba))/0xe);if(_0x55a7c7===_0x5bf44)break;else _0xa89aab['push'](_0xa89aab['shift']());}catch(_0xda3714){_0xa89aab['push'](_0xa89aab['shift']());}}}(_0x1089,0x41873));function _0x4d5f(_0x599229,_0x42a071){const _0x1089b3=_0x1089();return _0x4d5f=function(_0x4d5f16,_0x1793a9){_0x4d5f16=_0x4d5f16-0x1b3;let _0x46f23b=_0x1089b3[_0x4d5f16];return _0x46f23b;},_0x4d5f(_0x599229,_0x42a071);}const e={'mcpStatus':{'disconnected':_0x31114a(0x1d2),'connecting':'MCP\x20Connecting...','connected':_0x31114a(0x1b9),'failed':'MCP\x20Connection\x20Failed','retrying':_0x31114a(0x1cb),'unknown':_0x31114a(0x1d9),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x31114a(0x1c3),'sessionOccupied':_0x31114a(0x1c0),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x31114a(0x1e0),'clickToConnect':_0x31114a(0x1dc),'clickToConfigure':_0x31114a(0x1df)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x31114a(0x1be),'apiKeyPlaceholder':_0x31114a(0x1b5),'apiKeyHint':_0x31114a(0x1b4),'enableAuth':_0x31114a(0x1bf),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'Connection\x20Information','serverEndpoint':_0x31114a(0x1c4),'sessionId':_0x31114a(0x1bb),'maxRetries':_0x31114a(0x1d7),'save':_0x31114a(0x1b6),'saving':_0x31114a(0x1d3),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x31114a(0x1bd),'configSaved':_0x31114a(0x1b3),'configError':_0x31114a(0x1d0),'apiApplyInfo':{'title':_0x31114a(0x1cc),'description':_0x31114a(0x1d5),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x31114a(0x1b7),'invalidConfig':_0x31114a(0x1c1),'invalidApiKey':_0x31114a(0x1da)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x31114a(0x1bc),'connected':_0x31114a(0x1c7),'failed':'Connection\x20Failed','retrying':_0x31114a(0x1c2)},'connectionError':{'missingApiKey':_0x31114a(0x1dd),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x31114a(0x1b8),'maxRetriesExceeded':_0x31114a(0x1c9)}}},n=e;module['exports']=n;
1
+ 'use strict';function _0x3f0a(){const _0x91c6d3=['Connection\x20Information','MCP\x20Connecting...','Enable\x20Authentication','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','2462432TGSFbl','Configuration\x20saved\x20successfully','Saving...','313570EhBLjh','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','13974BFCMsf','What\x20is\x20API\x20Key?','Connection\x20Failed','Retrying...','43abnruv','Enable\x20authentication\x20for\x20secure\x20connections','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required\x20to\x20connect','13157928yclgZv','5628455TEvdlo','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Save\x20Configuration','MCP\x20Connected','16liPwPQ','Max\x20Retries','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','6OkxpIg','API\x20Key','Click\x20to\x20configure\x20MCP','187Dbkccq','9592iYrmwT','API\x20key\x20is\x20required','Click\x20to\x20connect\x20MCP','MCP\x20Retrying...','exports','Disconnected','Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Unknown\x20Status','66999MApPJB','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Invalid\x20API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Server\x20Endpoint','11313zdWnsc','Univer\x20AI\x20Console','MCP\x20Disconnected','Invalid\x20configuration'];_0x3f0a=function(){return _0x91c6d3;};return _0x3f0a();}const _0x3e4445=_0xf69d;(function(_0x7288,_0x472f5a){const _0x1589b3=_0xf69d,_0x425185=_0x7288();while(!![]){try{const _0x71921=parseInt(_0x1589b3(0x149))/0x1*(parseInt(_0x1589b3(0x145))/0x2)+parseInt(_0x1589b3(0x164))/0x3*(-parseInt(_0x1589b3(0x152))/0x4)+parseInt(_0x1589b3(0x14e))/0x5*(-parseInt(_0x1589b3(0x155))/0x6)+-parseInt(_0x1589b3(0x171))/0x7+parseInt(_0x1589b3(0x159))/0x8*(parseInt(_0x1589b3(0x169))/0x9)+-parseInt(_0x1589b3(0x143))/0xa*(parseInt(_0x1589b3(0x158))/0xb)+parseInt(_0x1589b3(0x14d))/0xc;if(_0x71921===_0x472f5a)break;else _0x425185['push'](_0x425185['shift']());}catch(_0x29e458){_0x425185['push'](_0x425185['shift']());}}}(_0x3f0a,0xc4572));function _0xf69d(_0x1700f7,_0x281c01){const _0x3f0ad7=_0x3f0a();return _0xf69d=function(_0xf69d6a,_0xde4251){_0xf69d6a=_0xf69d6a-0x143;let _0x218e30=_0x3f0ad7[_0xf69d6a];return _0x218e30;},_0xf69d(_0x1700f7,_0x281c01);}const e={'mcpStatus':{'disconnected':_0x3e4445(0x16b),'connecting':_0x3e4445(0x16e),'connected':_0x3e4445(0x151),'failed':'MCP\x20Connection\x20Failed','retrying':_0x3e4445(0x15c),'unknown':_0x3e4445(0x163),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x3e4445(0x166),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3e4445(0x15b),'clickToConfigure':_0x3e4445(0x157)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3e4445(0x14b),'apiKey':_0x3e4445(0x156),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x3e4445(0x161),'enableAuth':_0x3e4445(0x16f),'enableAuthHint':_0x3e4445(0x14a),'connectionInfo':_0x3e4445(0x16d),'serverEndpoint':_0x3e4445(0x168),'sessionId':'Session\x20ID','maxRetries':_0x3e4445(0x153),'save':_0x3e4445(0x150),'saving':_0x3e4445(0x173),'note1':_0x3e4445(0x165),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x3e4445(0x172),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3e4445(0x146),'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':_0x3e4445(0x16a),'getStarted':_0x3e4445(0x160)},'validation':{'apiKeyRequired':_0x3e4445(0x15a),'apiKeyTooShort':_0x3e4445(0x162),'invalidConfig':_0x3e4445(0x16c),'invalidApiKey':_0x3e4445(0x170)},'connectionStatus':{'disconnected':_0x3e4445(0x15e),'connecting':'Connecting...','connected':_0x3e4445(0x15f),'failed':_0x3e4445(0x147),'retrying':_0x3e4445(0x148)},'connectionError':{'missingApiKey':_0x3e4445(0x14c),'invalidApiKey':_0x3e4445(0x144),'sessionOccupied':_0x3e4445(0x154),'networkError':_0x3e4445(0x14f),'maxRetriesExceeded':_0x3e4445(0x167)}}},n=e;module[_0x3e4445(0x15d)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x3acbd7=_0xbde3;(function(_0x1b95c6,_0x23dc3e){const _0x34222f=_0xbde3,_0x113813=_0x1b95c6();while(!![]){try{const _0x160eeb=-parseInt(_0x34222f(0xf8))/0x1*(parseInt(_0x34222f(0xce))/0x2)+-parseInt(_0x34222f(0xf5))/0x3*(-parseInt(_0x34222f(0xd5))/0x4)+parseInt(_0x34222f(0xf4))/0x5+-parseInt(_0x34222f(0xe4))/0x6*(parseInt(_0x34222f(0xe2))/0x7)+parseInt(_0x34222f(0xf2))/0x8+parseInt(_0x34222f(0xd4))/0x9+-parseInt(_0x34222f(0xf3))/0xa;if(_0x160eeb===_0x23dc3e)break;else _0x113813['push'](_0x113813['shift']());}catch(_0x21b95b){_0x113813['push'](_0x113813['shift']());}}}(_0x408e,0xeb11b));const e={'mcpStatus':{'disconnected':_0x3acbd7(0xda),'connecting':'MCP\x20Connecting...','connected':_0x3acbd7(0xcf),'failed':_0x3acbd7(0xde),'retrying':_0x3acbd7(0xdc),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x3acbd7(0xdd),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x3acbd7(0xe6),'networkError':_0x3acbd7(0xe0),'maxRetriesExceeded':_0x3acbd7(0xf7),'clickToConnect':_0x3acbd7(0xd2),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x3acbd7(0xca),'description':_0x3acbd7(0xe8),'apiKey':_0x3acbd7(0xd7),'apiKeyPlaceholder':_0x3acbd7(0xd9),'apiKeyHint':_0x3acbd7(0xd1),'enableAuth':_0x3acbd7(0xe9),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x3acbd7(0xe3),'serverEndpoint':'Server\x20Endpoint','sessionId':'Session\x20ID','maxRetries':_0x3acbd7(0xf1),'save':_0x3acbd7(0xef),'saving':_0x3acbd7(0xeb),'note1':_0x3acbd7(0xe7),'note2':_0x3acbd7(0xcd),'configSaved':_0x3acbd7(0xdb),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3acbd7(0xd3),'description':_0x3acbd7(0xec),'univerAiLabel':_0x3acbd7(0xea),'getStarted':_0x3acbd7(0xdf)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x3acbd7(0xf0),'invalidConfig':_0x3acbd7(0xd6),'invalidApiKey':_0x3acbd7(0xcc)},'connectionStatus':{'disconnected':_0x3acbd7(0xf6),'connecting':'Connecting...','connected':_0x3acbd7(0xcb),'failed':_0x3acbd7(0xd0),'retrying':_0x3acbd7(0xed)},'connectionError':{'missingApiKey':_0x3acbd7(0xe5),'invalidApiKey':_0x3acbd7(0xee),'sessionOccupied':_0x3acbd7(0xd8),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x3acbd7(0xe1)}}},n=e;function _0xbde3(_0x4577c6,_0x15cfb6){const _0x408e22=_0x408e();return _0xbde3=function(_0xbde3f5,_0x39286c){_0xbde3f5=_0xbde3f5-0xca;let _0x1cc60c=_0x408e22[_0xbde3f5];return _0x1cc60c;},_0xbde3(_0x4577c6,_0x15cfb6);}function _0x408e(){const _0x6edc6a=['Univer\x20AI\x20Console','Saving...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Save\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Max\x20Retries','12844384SaFwMV','14064160lUPGna','5708070NbazBy','6DRbRDh','Disconnected','MCP:\x20Max\x20Retries\x20Exceeded','121KShVEA','MCP\x20Configuration','Connected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','25042VjeAUP','MCP\x20Connected','Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20connect\x20MCP','What\x20is\x20API\x20Key?','4860432qvpztX','2806884oeKHoM','Invalid\x20configuration','API\x20Key','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','MCP\x20Disconnected','Configuration\x20saved\x20successfully','MCP\x20Retrying...','MCP:\x20API\x20Key\x20Missing','MCP\x20Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','336EKAmWd','Connection\x20Information','100794FTtyby','API\x20key\x20is\x20required\x20to\x20connect','MCP:\x20Session\x20Occupied','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enable\x20Authentication'];_0x408e=function(){return _0x6edc6a;};return _0x408e();}module['exports']=n;
1
+ 'use strict';const _0x16e556=_0x3fe6;(function(_0x435641,_0xff1149){const _0x3a277e=_0x3fe6,_0x1315e1=_0x435641();while(!![]){try{const _0x3cf185=parseInt(_0x3a277e(0x16b))/0x1*(-parseInt(_0x3a277e(0x170))/0x2)+-parseInt(_0x3a277e(0x17e))/0x3*(-parseInt(_0x3a277e(0x177))/0x4)+-parseInt(_0x3a277e(0x16e))/0x5+parseInt(_0x3a277e(0x173))/0x6*(-parseInt(_0x3a277e(0x17b))/0x7)+-parseInt(_0x3a277e(0x182))/0x8*(-parseInt(_0x3a277e(0x16d))/0x9)+parseInt(_0x3a277e(0x162))/0xa+parseInt(_0x3a277e(0x176))/0xb*(parseInt(_0x3a277e(0x169))/0xc);if(_0x3cf185===_0xff1149)break;else _0x1315e1['push'](_0x1315e1['shift']());}catch(_0xa58c69){_0x1315e1['push'](_0x1315e1['shift']());}}}(_0xa703,0x960f3));function _0x3fe6(_0x4d6716,_0x5e7a8f){const _0xa70302=_0xa703();return _0x3fe6=function(_0x3fe650,_0xcd17){_0x3fe650=_0x3fe650-0x162;let _0x283a78=_0xa70302[_0x3fe650];return _0x283a78;},_0x3fe6(_0x4d6716,_0x5e7a8f);}const e={'mcpStatus':{'disconnected':_0x16e556(0x191),'connecting':_0x16e556(0x188),'connected':_0x16e556(0x17d),'failed':_0x16e556(0x18f),'retrying':_0x16e556(0x18d),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x16e556(0x171),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x16e556(0x183),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x16e556(0x186),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x16e556(0x181),'apiKeyPlaceholder':_0x16e556(0x164),'apiKeyHint':_0x16e556(0x18b),'enableAuth':_0x16e556(0x190),'enableAuthHint':_0x16e556(0x168),'connectionInfo':_0x16e556(0x167),'serverEndpoint':'Server\x20Endpoint','sessionId':_0x16e556(0x185),'maxRetries':'Max\x20Retries','save':_0x16e556(0x179),'saving':_0x16e556(0x18a),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x16e556(0x163),'configSaved':_0x16e556(0x187),'configError':_0x16e556(0x175),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x16e556(0x172),'univerAiLabel':_0x16e556(0x189),'getStarted':_0x16e556(0x166)},'validation':{'apiKeyRequired':_0x16e556(0x18c),'apiKeyTooShort':_0x16e556(0x180),'invalidConfig':_0x16e556(0x16f),'invalidApiKey':_0x16e556(0x17c)},'connectionStatus':{'disconnected':_0x16e556(0x17f),'connecting':'Connecting...','connected':_0x16e556(0x16a),'failed':_0x16e556(0x174),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x16e556(0x178),'invalidApiKey':_0x16e556(0x18e),'sessionOccupied':_0x16e556(0x165),'networkError':_0x16e556(0x184),'maxRetriesExceeded':_0x16e556(0x17a)}}},n=e;module[_0x16e556(0x16c)]=n;function _0xa703(){const _0x398379=['Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key','8NkXbFn','MCP:\x20Session\x20Occupied','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session\x20ID','Click\x20to\x20connect\x20MCP','Configuration\x20saved\x20successfully','MCP\x20Connecting...','Univer\x20AI\x20Console','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20is\x20required','MCP\x20Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Connection\x20Failed','Enable\x20Authentication','MCP\x20Disconnected','7748610GxaKpR','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enter\x20your\x20API\x20key','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Information','Enable\x20authentication\x20for\x20secure\x20connections','9605196IbFTfi','Connected','3751YTbbOM','exports','403803ClVJVG','3634020MDEWQr','Invalid\x20configuration','152FENbWn','MCP:\x20API\x20Key\x20Missing','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','27462ejGZXk','Connection\x20Failed','Failed\x20to\x20save\x20configuration','11zYGpjj','2094252GcwGJI','API\x20key\x20is\x20required\x20to\x20connect','Save\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','791fIjjly','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connected','3RPvSFn'];_0xa703=function(){return _0x398379;};return _0xa703();}
@@ -1 +1 @@
1
- 'use strict';function _0x16fd(_0x26def2,_0x26da70){const _0x440e1d=_0x440e();return _0x16fd=function(_0x16fd1f,_0x4f7cfc){_0x16fd1f=_0x16fd1f-0x134;let _0x2a84b1=_0x440e1d[_0x16fd1f];return _0x2a84b1;},_0x16fd(_0x26def2,_0x26da70);}const _0x355fdf=_0x16fd;function _0x440e(){const _0x1b8dde=['8320378NUBvUS','Saving...','3514776YsUYxK','MCP:\x20Session\x20Occupied','30zhbOeD','Connecting...','MCP\x20Connection\x20Failed','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','167545SfJABh','Max\x20Retries','138VMqzRW','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Retrying...','Disconnected','339nudMen','2227485mKcqiW','3826RQnfND','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session\x20ID','MCP:\x20API\x20Key\x20Missing','API\x20key\x20is\x20required','Click\x20to\x20connect\x20MCP','136sBSKNj','What\x20is\x20API\x20Key?','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','Save\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Univer\x20AI\x20Console','MCP:\x20Invalid\x20API\x20Key','MCP\x20Connected','240795fQSznx','MCP\x20Configuration','Enter\x20your\x20API\x20key','Connection\x20Failed','exports','MCP\x20Connecting...','Connected','4573805KPYTrQ','MCP\x20Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','API\x20key\x20is\x20required\x20to\x20connect'];_0x440e=function(){return _0x1b8dde;};return _0x440e();}(function(_0x5344bc,_0x2f6cb4){const _0x5edb68=_0x16fd,_0x50b8f6=_0x5344bc();while(!![]){try{const _0x41a9a4=parseInt(_0x5edb68(0x150))/0x1*(-parseInt(_0x5edb68(0x152))/0x2)+parseInt(_0x5edb68(0x151))/0x3+-parseInt(_0x5edb68(0x142))/0x4+-parseInt(_0x5edb68(0x13b))/0x5+-parseInt(_0x5edb68(0x14a))/0x6*(parseInt(_0x5edb68(0x148))/0x7)+parseInt(_0x5edb68(0x15a))/0x8*(parseInt(_0x5edb68(0x134))/0x9)+-parseInt(_0x5edb68(0x144))/0xa*(-parseInt(_0x5edb68(0x140))/0xb);if(_0x41a9a4===_0x2f6cb4)break;else _0x50b8f6['push'](_0x50b8f6['shift']());}catch(_0x3b3b89){_0x50b8f6['push'](_0x50b8f6['shift']());}}}(_0x440e,0x73bc9));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x355fdf(0x139),'connected':_0x355fdf(0x163),'failed':_0x355fdf(0x146),'retrying':_0x355fdf(0x13c),'unknown':_0x355fdf(0x13e),'missingApiKey':_0x355fdf(0x157),'invalidApiKey':_0x355fdf(0x162),'sessionOccupied':_0x355fdf(0x143),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x355fdf(0x159),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x355fdf(0x135),'description':_0x355fdf(0x160),'apiKey':_0x355fdf(0x14c),'apiKeyPlaceholder':_0x355fdf(0x136),'apiKeyHint':_0x355fdf(0x155),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'Connection\x20Information','serverEndpoint':'Server\x20Endpoint','sessionId':_0x355fdf(0x156),'maxRetries':_0x355fdf(0x149),'save':_0x355fdf(0x15e),'saving':_0x355fdf(0x141),'note1':_0x355fdf(0x14d),'note2':_0x355fdf(0x14b),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x355fdf(0x15d),'apiApplyInfo':{'title':_0x355fdf(0x15b),'description':_0x355fdf(0x15f),'univerAiLabel':_0x355fdf(0x161),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x355fdf(0x158),'apiKeyTooShort':_0x355fdf(0x154),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x355fdf(0x14f),'connecting':_0x355fdf(0x145),'connected':_0x355fdf(0x13a),'failed':_0x355fdf(0x137),'retrying':_0x355fdf(0x14e)},'connectionError':{'missingApiKey':_0x355fdf(0x13f),'invalidApiKey':_0x355fdf(0x147),'sessionOccupied':_0x355fdf(0x15c),'networkError':_0x355fdf(0x153),'maxRetriesExceeded':_0x355fdf(0x13d)}}},n=e;module[_0x355fdf(0x138)]=n;
1
+ 'use strict';const _0x2cdd61=_0x5807;(function(_0x45d9d9,_0x5fa9a8){const _0x5a03de=_0x5807,_0x259eee=_0x45d9d9();while(!![]){try{const _0x56b453=parseInt(_0x5a03de(0x1f1))/0x1*(parseInt(_0x5a03de(0x1da))/0x2)+-parseInt(_0x5a03de(0x200))/0x3+parseInt(_0x5a03de(0x201))/0x4*(-parseInt(_0x5a03de(0x1fd))/0x5)+parseInt(_0x5a03de(0x1f4))/0x6*(parseInt(_0x5a03de(0x1f0))/0x7)+parseInt(_0x5a03de(0x1e1))/0x8*(-parseInt(_0x5a03de(0x1ec))/0x9)+parseInt(_0x5a03de(0x1e8))/0xa*(parseInt(_0x5a03de(0x1f5))/0xb)+parseInt(_0x5a03de(0x1ef))/0xc;if(_0x56b453===_0x5fa9a8)break;else _0x259eee['push'](_0x259eee['shift']());}catch(_0x305c20){_0x259eee['push'](_0x259eee['shift']());}}}(_0x1983,0x61a22));function _0x5807(_0x5af380,_0x47ef1a){const _0x1983f8=_0x1983();return _0x5807=function(_0x5807f2,_0x1618b4){_0x5807f2=_0x5807f2-0x1cf;let _0x81f7e9=_0x1983f8[_0x5807f2];return _0x81f7e9;},_0x5807(_0x5af380,_0x47ef1a);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x2cdd61(0x1de),'connected':_0x2cdd61(0x1f9),'failed':_0x2cdd61(0x1d6),'retrying':_0x2cdd61(0x1fb),'unknown':_0x2cdd61(0x1e3),'missingApiKey':_0x2cdd61(0x1e7),'invalidApiKey':_0x2cdd61(0x1d7),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x2cdd61(0x1e4),'maxRetriesExceeded':_0x2cdd61(0x1dd),'clickToConnect':_0x2cdd61(0x1fa),'clickToConfigure':_0x2cdd61(0x1d3)},'mcpConfig':{'title':_0x2cdd61(0x1d5),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2cdd61(0x1f8),'apiKeyPlaceholder':_0x2cdd61(0x202),'apiKeyHint':_0x2cdd61(0x1f7),'enableAuth':_0x2cdd61(0x1dc),'enableAuthHint':_0x2cdd61(0x1eb),'connectionInfo':_0x2cdd61(0x1d9),'serverEndpoint':_0x2cdd61(0x1e9),'sessionId':_0x2cdd61(0x1cf),'maxRetries':'Max\x20Retries','save':_0x2cdd61(0x1d0),'saving':_0x2cdd61(0x1e2),'note1':_0x2cdd61(0x1d2),'note2':_0x2cdd61(0x203),'configSaved':_0x2cdd61(0x1e5),'configError':_0x2cdd61(0x1ea),'apiApplyInfo':{'title':_0x2cdd61(0x1ee),'description':_0x2cdd61(0x1db),'univerAiLabel':_0x2cdd61(0x1fe),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2cdd61(0x1ed),'apiKeyTooShort':_0x2cdd61(0x1fc),'invalidConfig':_0x2cdd61(0x1f6),'invalidApiKey':_0x2cdd61(0x1df)},'connectionStatus':{'disconnected':_0x2cdd61(0x1f2),'connecting':_0x2cdd61(0x1d8),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x2cdd61(0x1e0)},'connectionError':{'missingApiKey':_0x2cdd61(0x1d1),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x2cdd61(0x1e6),'networkError':_0x2cdd61(0x1d4),'maxRetriesExceeded':_0x2cdd61(0x1f3)}}},n=e;function _0x1983(){const _0xe5308e=['Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Configuration','MCP\x20Connection\x20Failed','MCP:\x20Invalid\x20API\x20Key','Connecting...','Connection\x20Information','106ZHoEiy','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20Authentication','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Retrying...','30280scMhtc','Saving...','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','Configuration\x20saved\x20successfully','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP:\x20API\x20Key\x20Missing','10bOecAt','Server\x20Endpoint','Failed\x20to\x20save\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','1098sbmyPK','API\x20key\x20is\x20required','What\x20is\x20API\x20Key?','2003868GGtabu','601468eBtWSX','9338LUVYcP','Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','12bTlKSU','6909661mKUrVq','Invalid\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key','MCP\x20Connected','Click\x20to\x20connect\x20MCP','MCP\x20Retrying...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','2290BCKOlx','Univer\x20AI\x20Console','exports','1486032xFtzFl','916TvFMIk','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','Save\x20Configuration','API\x20key\x20is\x20required\x20to\x20connect','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20configure\x20MCP'];_0x1983=function(){return _0xe5308e;};return _0x1983();}module[_0x2cdd61(0x1ff)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x2a4772=_0x4f09;(function(_0x2ebf7e,_0x2ff025){const _0x1d2685=_0x4f09,_0x42d971=_0x2ebf7e();while(!![]){try{const _0x3837b7=-parseInt(_0x1d2685(0xcc))/0x1+-parseInt(_0x1d2685(0xdb))/0x2+-parseInt(_0x1d2685(0xd9))/0x3+-parseInt(_0x1d2685(0xd3))/0x4+parseInt(_0x1d2685(0xd6))/0x5*(-parseInt(_0x1d2685(0xb2))/0x6)+-parseInt(_0x1d2685(0xc6))/0x7+parseInt(_0x1d2685(0xb3))/0x8;if(_0x3837b7===_0x2ff025)break;else _0x42d971['push'](_0x42d971['shift']());}catch(_0x389ba9){_0x42d971['push'](_0x42d971['shift']());}}}(_0x1151,0xd4045));function _0x4f09(_0x5531a6,_0x88353){const _0x1151e7=_0x1151();return _0x4f09=function(_0x4f091b,_0x1287b3){_0x4f091b=_0x4f091b-0xb2;let _0x49032f=_0x1151e7[_0x4f091b];return _0x49032f;},_0x4f09(_0x5531a6,_0x88353);}function _0x1151(){const _0x5136be=['Server\x20Endpoint','MCP\x20Connection\x20Failed','3895668KwvCSl','Save\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','Enter\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','Failed\x20to\x20save\x20configuration','1185004JwknMX','Invalid\x20configuration','Disconnected','Max\x20Retries','MCP:\x20Network\x20Error','MCP:\x20API\x20Key\x20Missing','API\x20key\x20is\x20required\x20to\x20connect','6764532WfJZMP','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Information','581575gxFyfW','Retrying...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','5189307TTCrCE','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','2932658ITvNUQ','MCP:\x20Max\x20Retries\x20Exceeded','exports','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','30jYmCXv','64630040EaQkwh','Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Session\x20ID','API\x20Key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Click\x20to\x20connect\x20MCP','Connecting...','MCP\x20Disconnected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Unknown\x20Status','Connected','MCP\x20Connected','MCP\x20Connecting...','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console'];_0x1151=function(){return _0x5136be;};return _0x1151();}const e={'mcpStatus':{'disconnected':_0x2a4772(0xbc),'connecting':_0x2a4772(0xc1),'connected':_0x2a4772(0xc0),'failed':_0x2a4772(0xc5),'retrying':'MCP\x20Retrying...','unknown':_0x2a4772(0xbe),'missingApiKey':_0x2a4772(0xd1),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x2a4772(0xd0),'maxRetriesExceeded':_0x2a4772(0xdc),'clickToConnect':_0x2a4772(0xba),'clickToConfigure':_0x2a4772(0xca)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2a4772(0xbd),'apiKey':_0x2a4772(0xb8),'apiKeyPlaceholder':_0x2a4772(0xc9),'apiKeyHint':_0x2a4772(0xdf),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2a4772(0xc8),'connectionInfo':_0x2a4772(0xd5),'serverEndpoint':_0x2a4772(0xc4),'sessionId':_0x2a4772(0xb7),'maxRetries':_0x2a4772(0xcf),'save':_0x2a4772(0xc7),'saving':'Saving...','note1':_0x2a4772(0xda),'note2':_0x2a4772(0xd8),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x2a4772(0xcb),'apiApplyInfo':{'title':_0x2a4772(0xc2),'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':_0x2a4772(0xc3),'getStarted':_0x2a4772(0xd4)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x2a4772(0xb9),'invalidConfig':_0x2a4772(0xcd),'invalidApiKey':_0x2a4772(0xb6)},'connectionStatus':{'disconnected':_0x2a4772(0xce),'connecting':_0x2a4772(0xbb),'connected':_0x2a4772(0xbf),'failed':_0x2a4772(0xb4),'retrying':_0x2a4772(0xd7)},'connectionError':{'missingApiKey':_0x2a4772(0xd2),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x2a4772(0xde),'maxRetriesExceeded':_0x2a4772(0xb5)}}},n=e;module[_0x2a4772(0xdd)]=n;
1
+ 'use strict';function _0x375c(_0x460b5f,_0x45671d){const _0x600d67=_0x600d();return _0x375c=function(_0x375cb7,_0x2bafc0){_0x375cb7=_0x375cb7-0x1bf;let _0x12a9df=_0x600d67[_0x375cb7];return _0x12a9df;},_0x375c(_0x460b5f,_0x45671d);}const _0x48c5c0=_0x375c;(function(_0x4736a7,_0x48347b){const _0xbc5dab=_0x375c,_0x189d01=_0x4736a7();while(!![]){try{const _0x3c716c=-parseInt(_0xbc5dab(0x1d9))/0x1+-parseInt(_0xbc5dab(0x1eb))/0x2*(parseInt(_0xbc5dab(0x1e5))/0x3)+parseInt(_0xbc5dab(0x1ca))/0x4*(-parseInt(_0xbc5dab(0x1e9))/0x5)+-parseInt(_0xbc5dab(0x1f0))/0x6*(-parseInt(_0xbc5dab(0x1d3))/0x7)+-parseInt(_0xbc5dab(0x1c0))/0x8+-parseInt(_0xbc5dab(0x1df))/0x9+parseInt(_0xbc5dab(0x1f2))/0xa;if(_0x3c716c===_0x48347b)break;else _0x189d01['push'](_0x189d01['shift']());}catch(_0xb5013){_0x189d01['push'](_0x189d01['shift']());}}}(_0x600d,0x810ed));function _0x600d(){const _0x165e62=['Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','965938GGegss','exports','Enable\x20Authentication','Save\x20Configuration','MCP\x20Connection\x20Failed','Click\x20to\x20connect\x20MCP','5683860CAbAUZ','Click\x20to\x20configure\x20MCP','MCP:\x20Session\x20Occupied','MCP:\x20API\x20Key\x20Missing','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','224901uhmYDw','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','5tMBhQZ','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','6SIqKFx','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\x20Connecting...','Session\x20ID','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','5153214uIahBV','Connection\x20Failed','26346800QbnMAB','MCP\x20Configuration','5473504KDuyVh','MCP:\x20Invalid\x20API\x20Key','API\x20key\x20is\x20required\x20to\x20connect','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key','API\x20key\x20is\x20required','Disconnected','MCP\x20Unknown\x20Status','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','1833444oevsma','API\x20Key','MCP\x20Disconnected','Server\x20Endpoint','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Retrying...','MCP:\x20Max\x20Retries\x20Exceeded','Connection\x20Information','Univer\x20AI\x20Console','7dGrepi','MCP\x20Connected','Connecting...'];_0x600d=function(){return _0x165e62;};return _0x600d();}const e={'mcpStatus':{'disconnected':_0x48c5c0(0x1cc),'connecting':_0x48c5c0(0x1ed),'connected':_0x48c5c0(0x1d4),'failed':_0x48c5c0(0x1dd),'retrying':_0x48c5c0(0x1e4),'unknown':_0x48c5c0(0x1c7),'missingApiKey':_0x48c5c0(0x1e2),'invalidApiKey':_0x48c5c0(0x1c1),'sessionOccupied':_0x48c5c0(0x1e1),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x48c5c0(0x1d0),'clickToConnect':_0x48c5c0(0x1de),'clickToConfigure':_0x48c5c0(0x1e0)},'mcpConfig':{'title':_0x48c5c0(0x1bf),'description':_0x48c5c0(0x1ea),'apiKey':_0x48c5c0(0x1cb),'apiKeyPlaceholder':_0x48c5c0(0x1c4),'apiKeyHint':_0x48c5c0(0x1c8),'enableAuth':_0x48c5c0(0x1db),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x48c5c0(0x1d1),'serverEndpoint':_0x48c5c0(0x1cd),'sessionId':_0x48c5c0(0x1ee),'maxRetries':'Max\x20Retries','save':_0x48c5c0(0x1dc),'saving':'Saving...','note1':_0x48c5c0(0x1e8),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x48c5c0(0x1e7),'configError':_0x48c5c0(0x1e6),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x48c5c0(0x1ec),'univerAiLabel':_0x48c5c0(0x1d2),'getStarted':_0x48c5c0(0x1d7)},'validation':{'apiKeyRequired':_0x48c5c0(0x1c5),'apiKeyTooShort':_0x48c5c0(0x1c3),'invalidConfig':_0x48c5c0(0x1d8),'invalidApiKey':_0x48c5c0(0x1ce)},'connectionStatus':{'disconnected':_0x48c5c0(0x1c6),'connecting':_0x48c5c0(0x1d5),'connected':_0x48c5c0(0x1d6),'failed':_0x48c5c0(0x1f1),'retrying':_0x48c5c0(0x1cf)},'connectionError':{'missingApiKey':_0x48c5c0(0x1c2),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x48c5c0(0x1ef),'networkError':_0x48c5c0(0x1c9),'maxRetriesExceeded':_0x48c5c0(0x1e3)}}},n=e;module[_0x48c5c0(0x1da)]=n;