@univerjs-pro/mcp-ui 0.10.8 → 0.10.9-nightly.202509260614

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.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/types/controllers/config.schema.d.ts +7 -0
  35. package/lib/types/controllers/mcp-connection-ui.controller.d.ts +4 -2
  36. package/lib/types/locale/en-US.d.ts +2 -4
  37. package/lib/types/locale/zh-CN.d.ts +2 -4
  38. package/lib/types/views/components/mcp-status.d.ts +2 -0
  39. package/lib/umd/index.js +1 -1
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +8 -8
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x28e84b=_0x385d;(function(_0x5006c6,_0x118e1d){var _0x2ea4ce=_0x385d,_0x6757a2=_0x5006c6();while(!![]){try{var _0x189c2f=-parseInt(_0x2ea4ce(0x1bd))/0x1+parseInt(_0x2ea4ce(0x261))/0x2*(parseInt(_0x2ea4ce(0x1c6))/0x3)+-parseInt(_0x2ea4ce(0x14e))/0x4+parseInt(_0x2ea4ce(0x11f))/0x5+parseInt(_0x2ea4ce(0x17a))/0x6*(-parseInt(_0x2ea4ce(0x12d))/0x7)+parseInt(_0x2ea4ce(0x1b0))/0x8+parseInt(_0x2ea4ce(0x25a))/0x9;if(_0x189c2f===_0x118e1d)break;else _0x6757a2['push'](_0x6757a2['shift']());}catch(_0x53b0a7){_0x6757a2['push'](_0x6757a2['shift']());}}}(_0x3616,0x29082));var le=Object[_0x28e84b(0x183)],ue=(_0x30366e,_0x1360eb,_0x22acec)=>_0x1360eb in _0x30366e?le(_0x30366e,_0x1360eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22acec}):_0x30366e[_0x1360eb]=_0x22acec,y=(_0x2a21b2,_0x1590a4,_0x397b1e)=>ue(_0x2a21b2,typeof _0x1590a4!='symbol'?_0x1590a4+'':_0x1590a4,_0x397b1e);Object[_0x28e84b(0x183)](exports,Symbol['toStringTag'],{'value':_0x28e84b(0x246)});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),P=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),w=require('@univerjs/network');var g=function(){var _0x52f298=_0x28e84b;return g=Object[_0x52f298(0x1db)]||function(_0x25ce92){var _0x5649b8=_0x52f298;for(var _0x1bd08e,_0x456b5e=0x1,_0xecb1a0=arguments[_0x5649b8(0x1e3)];_0x456b5e<_0xecb1a0;_0x456b5e++){_0x1bd08e=arguments[_0x456b5e];for(var _0x497926 in _0x1bd08e)Object['prototype']['hasOwnProperty']['call'](_0x1bd08e,_0x497926)&&(_0x25ce92[_0x497926]=_0x1bd08e[_0x497926]);}return _0x25ce92;},g[_0x52f298(0x163)](this,arguments);},ve=function(_0x4ea1e8,_0x3dcd4a){var _0x27c741=_0x28e84b,_0x40b664={};for(var _0x1bea54 in _0x4ea1e8)Object[_0x27c741(0x132)]['hasOwnProperty'][_0x27c741(0x244)](_0x4ea1e8,_0x1bea54)&&_0x3dcd4a[_0x27c741(0x232)](_0x1bea54)<0x0&&(_0x40b664[_0x1bea54]=_0x4ea1e8[_0x1bea54]);if(_0x4ea1e8!=null&&typeof Object[_0x27c741(0x12f)]==_0x27c741(0x18f)){for(var _0x43d669=0x0,_0x1bea54=Object[_0x27c741(0x12f)](_0x4ea1e8);_0x43d669<_0x1bea54['length'];_0x43d669++)_0x3dcd4a[_0x27c741(0x232)](_0x1bea54[_0x43d669])<0x0&&Object[_0x27c741(0x132)]['propertyIsEnumerable'][_0x27c741(0x244)](_0x4ea1e8,_0x1bea54[_0x43d669])&&(_0x40b664[_0x1bea54[_0x43d669]]=_0x4ea1e8[_0x1bea54[_0x43d669]]);}return _0x40b664;},I=d['forwardRef'](function(_0x593e2c,_0x34d339){var _0x30e268=_0x28e84b,_0xeab97e=_0x593e2c['icon'],_0x420d30=_0x593e2c['id'],_0x17a8df=_0x593e2c[_0x30e268(0x262)],_0x5d0ba6=_0x593e2c[_0x30e268(0x1cd)],_0x536b57=ve(_0x593e2c,['icon','id',_0x30e268(0x262),_0x30e268(0x1cd)]),_0x14c49b=_0x30e268(0x157)[_0x30e268(0x23e)](_0x420d30,'\x20')[_0x30e268(0x23e)](_0x17a8df||'')['trim'](),_0x1ab359=d[_0x30e268(0x210)]('_'[_0x30e268(0x23e)](ge()));return B(_0xeab97e,''[_0x30e268(0x23e)](_0x420d30),{'defIds':_0xeab97e['defIds'],'idSuffix':_0x1ab359[_0x30e268(0x17c)]},g({'ref':_0x34d339,'className':_0x14c49b},_0x536b57),_0x5d0ba6);});function B(_0x3e378c,_0x415250,_0x2978d2,_0x19ed4b,_0x1b51dd){var _0x3bfacb=_0x28e84b;return d[_0x3bfacb(0x26a)](_0x3e378c[_0x3bfacb(0x247)],g(g({'key':_0x415250},de(_0x3e378c,_0x2978d2,_0x1b51dd)),_0x19ed4b),(Ce(_0x3e378c,_0x2978d2)[_0x3bfacb(0x217)]||[])['map'](function(_0x218c8b,_0x57722f){var _0x3d1311=_0x3bfacb;return B(_0x218c8b,''[_0x3d1311(0x23e)](_0x415250,'-')[_0x3d1311(0x23e)](_0x3e378c[_0x3d1311(0x247)],'-')[_0x3d1311(0x23e)](_0x57722f),_0x2978d2,void 0x0,_0x1b51dd);}));}function de(_0x431a44,_0x4a6d0a,_0x5f1c5c){var _0x4c7e66=_0x28e84b,_0x3aa33f=g({},_0x431a44[_0x4c7e66(0x1f1)]);_0x5f1c5c!=null&&_0x5f1c5c[_0x4c7e66(0x279)]&&_0x3aa33f[_0x4c7e66(0x24f)]===_0x4c7e66(0x279)&&(_0x3aa33f[_0x4c7e66(0x24f)]=_0x5f1c5c[_0x4c7e66(0x279)]),_0x431a44['tag']===_0x4c7e66(0x11c)&&_0x3aa33f['id']&&(_0x3aa33f['id']=_0x3aa33f['id']+_0x4a6d0a[_0x4c7e66(0x23c)]),Object[_0x4c7e66(0x113)](_0x3aa33f)['forEach'](function(_0x315b4b){var _0x3746dd=_0x4c7e66,_0x59848e=_0x315b4b[0x0],_0x437113=_0x315b4b[0x1];_0x59848e===_0x3746dd(0x11c)&&typeof _0x437113==_0x3746dd(0x1ea)&&(_0x3aa33f[_0x59848e]=_0x437113[_0x3746dd(0x1f4)](/url\(#(.*)\)/,'url(#$1'[_0x3746dd(0x23e)](_0x4a6d0a[_0x3746dd(0x23c)],')')));});var _0x394c49=_0x4a6d0a[_0x4c7e66(0x162)];return!_0x394c49||_0x394c49[_0x4c7e66(0x1e3)]===0x0||(_0x431a44[_0x4c7e66(0x247)]===_0x4c7e66(0x21c)&&_0x3aa33f[_0x4c7e66(0x12b)]&&(_0x3aa33f['xlink:href']=_0x3aa33f['xlink:href']+_0x4a6d0a['idSuffix']),Object[_0x4c7e66(0x113)](_0x3aa33f)[_0x4c7e66(0x28d)](function(_0xc4f90a){var _0x280629=_0x4c7e66,_0x146b85=_0xc4f90a[0x0],_0x356efc=_0xc4f90a[0x1];typeof _0x356efc==_0x280629(0x1ea)&&(_0x3aa33f[_0x146b85]=_0x356efc[_0x280629(0x1f4)](/url\(#(.*)\)/,_0x280629(0x283)[_0x280629(0x23e)](_0x4a6d0a['idSuffix'],')')));})),_0x3aa33f;}function Ce(_0x97b0b8,_0x4efccf){var _0x4d3e77=_0x28e84b,_0x3a8d29,_0x5d0bb2=_0x4efccf[_0x4d3e77(0x162)];return!_0x5d0bb2||_0x5d0bb2[_0x4d3e77(0x1e3)]===0x0?_0x97b0b8:_0x97b0b8[_0x4d3e77(0x247)]==='defs'&&(!((_0x3a8d29=_0x97b0b8['children'])===null||_0x3a8d29===void 0x0)&&_0x3a8d29[_0x4d3e77(0x1e3)])?g(g({},_0x97b0b8),{'children':_0x97b0b8['children'][_0x4d3e77(0x15f)](function(_0x4c8ff5){var _0x1c4753=_0x4d3e77;return typeof _0x4c8ff5['attrs']['id']==_0x1c4753(0x1ea)&&_0x5d0bb2&&_0x5d0bb2[_0x1c4753(0x15c)](_0x4c8ff5[_0x1c4753(0x1f1)]['id'])?g(g({},_0x4c8ff5),{'attrs':g(g({},_0x4c8ff5[_0x1c4753(0x1f1)]),{'id':_0x4c8ff5[_0x1c4753(0x1f1)]['id']+_0x4efccf[_0x1c4753(0x23c)]})}):_0x4c8ff5;})}):_0x97b0b8;}function ge(){var _0x363e9f=_0x28e84b;return Math['random']()[_0x363e9f(0x1ec)](0x24)[_0x363e9f(0x137)](0x2,0x8);}I['displayName']=_0x28e84b(0x21b);var fe={'tag':_0x28e84b(0x11a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x28e84b(0x127),'viewBox':'0\x200\x2016\x2016','width':_0x28e84b(0x256),'height':_0x28e84b(0x256)},'children':[{'tag':_0x28e84b(0x218),'attrs':{'fill':_0x28e84b(0x22f),'d':_0x28e84b(0x22b),'fillRule':'evenodd','clipRule':'evenodd'}}]},V=d[_0x28e84b(0x1dc)](function(_0x41b9cd,_0x4c1a27){var _0x2af814=_0x28e84b;return d[_0x2af814(0x26a)](I,Object[_0x2af814(0x1db)]({},_0x41b9cd,{'id':_0x2af814(0x129),'ref':_0x4c1a27,'icon':fe}));});V[_0x28e84b(0x219)]=_0x28e84b(0x1b1);var pe={'tag':_0x28e84b(0x11a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x28e84b(0x204),'width':_0x28e84b(0x256),'height':_0x28e84b(0x256)},'children':[{'tag':_0x28e84b(0x218),'attrs':{'stroke':_0x28e84b(0x22f),'d':_0x28e84b(0x17e),'strokeLinecap':_0x28e84b(0x1d0),'strokeLinejoin':_0x28e84b(0x1d0),'strokeWidth':1.33}},{'tag':_0x28e84b(0x218),'attrs':{'stroke':_0x28e84b(0x22f),'d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':'round','strokeLinejoin':_0x28e84b(0x1d0),'strokeWidth':1.33}}]},F=d['forwardRef'](function(_0x30b82f,_0x239cd7){var _0x2f3ffd=_0x28e84b;return d[_0x2f3ffd(0x26a)](I,Object[_0x2f3ffd(0x1db)]({},_0x30b82f,{'id':_0x2f3ffd(0x28b),'ref':_0x239cd7,'icon':pe}));});F[_0x28e84b(0x219)]=_0x28e84b(0x21d);var he={'tag':_0x28e84b(0x11a),'attrs':{'xmlns':_0x28e84b(0x222),'fill':'none','viewBox':_0x28e84b(0x1d7),'width':'1em','height':'1em'},'children':[{'tag':_0x28e84b(0x218),'attrs':{'fill':_0x28e84b(0x22f),'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':_0x28e84b(0x218),'attrs':{'fill':_0x28e84b(0x22f),'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':_0x28e84b(0x218),'attrs':{'fill':'currentColor','d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x28e84b(0x117),'clipRule':_0x28e84b(0x117)}}]},H=d[_0x28e84b(0x1dc)](function(_0x170e4b,_0x40b209){var _0x448dd1=_0x28e84b;return d[_0x448dd1(0x26a)](I,Object['assign']({},_0x170e4b,{'id':_0x448dd1(0x136),'ref':_0x40b209,'icon':he}));});H['displayName']=_0x28e84b(0x16d);var me={'tag':'svg','attrs':{'xmlns':_0x28e84b(0x222),'fill':_0x28e84b(0x127),'viewBox':'0\x200\x2016\x2016','width':_0x28e84b(0x256),'height':_0x28e84b(0x256)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x28e84b(0x218),'attrs':{'stroke':_0x28e84b(0x22f),'d':_0x28e84b(0x158),'strokeLinecap':_0x28e84b(0x1d0),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x28e84b(0x260),'attrs':{},'children':[{'tag':_0x28e84b(0x142),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x28e84b(0x218),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},q=d[_0x28e84b(0x1dc)](function(_0x16e4f6,_0x2e964f){var _0x583027=_0x28e84b;return d[_0x583027(0x26a)](I,Object['assign']({},_0x16e4f6,{'id':_0x583027(0x1ad),'ref':_0x2e964f,'icon':me}));});q[_0x28e84b(0x219)]=_0x28e84b(0x282);var xe={'tag':_0x28e84b(0x11a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x28e84b(0x250),'width':'1em','height':_0x28e84b(0x256)},'children':[{'tag':'g','attrs':{'clipPath':_0x28e84b(0x161)},'children':[{'tag':'path','attrs':{'stroke':_0x28e84b(0x22f),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x28e84b(0x1d0),'strokeWidth':1.2}}]},{'tag':_0x28e84b(0x260),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x28e84b(0x1b6)},'children':[{'tag':'path','attrs':{'fill':_0x28e84b(0x122),'d':_0x28e84b(0x287),'transform':_0x28e84b(0x1fb)}}]}]}],'defIds':[_0x28e84b(0x1b6)]},z=d['forwardRef'](function(_0x59ac5e,_0x4145c4){var _0xa3f1f6=_0x28e84b;return d[_0xa3f1f6(0x26a)](I,Object['assign']({},_0x59ac5e,{'id':_0xa3f1f6(0x14f),'ref':_0x4145c4,'icon':xe}));});z[_0x28e84b(0x219)]=_0x28e84b(0x264);function W(_0x6c95d4){var _0x529c9f=_0x28e84b,_0x1eec26,_0x5ceb4e;const {mcpCoreConfig:_0x4b2649,onSave:_0x5877e,loading:_0x535797=!0x1,config:_0x232f32,connectionStatus$:_0xf4beae,connectionError$:_0x8ff49c,currentApiKey$:_0x259d32,currentSessionId$:_0x3cbf16}=_0x6c95d4,_0x2f5158=v[_0x529c9f(0x1a8)](u['LocaleService']),_0x39cade=v['useObservable'](_0xf4beae,s[_0x529c9f(0x1c1)][_0x529c9f(0x141)]),_0x187622=v[_0x529c9f(0x275)](_0x8ff49c,s[_0x529c9f(0x147)][_0x529c9f(0x1a2)]),_0x462fe9=v[_0x529c9f(0x275)](_0x3cbf16,''),_0x2bc385=v['useObservable'](_0x259d32,''),[_0xd90184,_0x56b086]=d['useState'](_0x2bc385||''),_0x3a94e1=!0x0,_0xf21610=_0x232f32['showDeveloperTools']&&_0x4b2649[_0x529c9f(0x20a)]&&(_0x4b2649[_0x529c9f(0x20a)][_0x529c9f(0x15c)](_0x529c9f(0x14b))||_0x4b2649[_0x529c9f(0x20a)]['includes'](_0x529c9f(0x1cb))),_0x578674=(_0x1eec26=_0x4b2649[_0x529c9f(0x20a)])==null?void 0x0:_0x1eec26[_0x529c9f(0x15c)]('univer.plus'),_0xaa0ee3=(_0x5ceb4e=_0x4b2649[_0x529c9f(0x20a)])==null?void 0x0:_0x5ceb4e['includes'](_0x529c9f(0x1cb)),_0x19fcfa=_0x578674?'https://console.univer.plus':'https://console.univer.ai',_0x105172=_0x232f32[_0x529c9f(0x245)]&&(_0x578674||_0xaa0ee3),[_0x2c5f00,_0xdacb4]=d[_0x529c9f(0x21e)](!_0xd90184[_0x529c9f(0x1f7)]()),_0x501f79=(_0x35c48a,_0x470cf7)=>{var _0x17f3a0=_0x529c9f;if(_0x470cf7===s[_0x17f3a0(0x147)][_0x17f3a0(0x13f)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x35c48a){case s['MCPConnectionStatus'][_0x17f3a0(0x228)]:return _0x17f3a0(0x24e);case s[_0x17f3a0(0x1c1)][_0x17f3a0(0x169)]:case s[_0x17f3a0(0x1c1)][_0x17f3a0(0x125)]:return _0x17f3a0(0x171);case s[_0x17f3a0(0x1c1)][_0x17f3a0(0x19a)]:return _0x17f3a0(0x216);default:return _0x17f3a0(0x1ba);}},_0x47b1d2=(_0x681563,_0x23bdff)=>{var _0x218242=_0x529c9f;if(_0x23bdff===s[_0x218242(0x147)][_0x218242(0x13f)])return _0x218242(0x254);switch(_0x681563){case s[_0x218242(0x1c1)][_0x218242(0x228)]:return'univer-bg-green-500';case s[_0x218242(0x1c1)][_0x218242(0x169)]:case s['MCPConnectionStatus'][_0x218242(0x125)]:return _0x218242(0x139);case s['MCPConnectionStatus'][_0x218242(0x19a)]:return _0x218242(0x254);default:return _0x218242(0x252);}},_0x3efab3=_0x557834=>{var _0x4547bc=_0x529c9f;switch(_0x557834){case s['MCPConnectionStatus'][_0x4547bc(0x228)]:return _0x2f5158['t']('mcpConfig.connectionStatus.connected');case s[_0x4547bc(0x1c1)][_0x4547bc(0x169)]:return _0x2f5158['t']('mcpConfig.connectionStatus.connecting');case s[_0x4547bc(0x1c1)][_0x4547bc(0x19a)]:return _0x2f5158['t'](_0x4547bc(0x19b));case s['MCPConnectionStatus']['RETRYING']:return _0x2f5158['t'](_0x4547bc(0x131));default:return _0x2f5158['t'](_0x4547bc(0x24c));}},_0x155d9b=_0x83daca=>{var _0x5604c8=_0x529c9f;switch(_0x83daca){case s[_0x5604c8(0x147)][_0x5604c8(0x13f)]:return _0x2f5158['t'](_0x5604c8(0x165));case s[_0x5604c8(0x147)][_0x5604c8(0x289)]:return _0x2f5158['t']('mcpConfig.connectionError.sessionOccupied');case s[_0x5604c8(0x147)][_0x5604c8(0x160)]:return _0x2f5158['t'](_0x5604c8(0x188));case s[_0x5604c8(0x147)][_0x5604c8(0x1b2)]:return _0x2f5158['t'](_0x5604c8(0x25d));default:return'';}},_0x907802=d[_0x529c9f(0x27f)](()=>{var _0x153ebf=_0x529c9f;const _0x10856e={..._0x4b2649,'apiKey':_0xd90184[_0x153ebf(0x1f7)](),'enableAuth':_0x3a94e1};_0x5877e(_0x10856e);},[_0x4b2649,_0xd90184,_0x3a94e1,_0x5877e]),_0x1f6892=_0xd90184['trim']()[_0x529c9f(0x1e3)]>0x0;return i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[i[_0x529c9f(0x144)](_0x529c9f(0x226),{'className':_0x529c9f(0x286),'children':i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':_0x529c9f(0x1ed),'children':[i[_0x529c9f(0x144)]('div',{'className':_0x529c9f(0x152),'children':i['jsx']('span',{'className':_0x529c9f(0x16a),'children':'⚙'})}),i[_0x529c9f(0x144)](_0x529c9f(0x226),{'children':i['jsx']('p',{'className':_0x529c9f(0x1f3),'children':_0x2f5158['t'](_0x529c9f(0x154))})})]})}),i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':_0x529c9f(0x240),'children':[i[_0x529c9f(0x144)](_0x529c9f(0x226),{'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'+_0x501f79(_0x39cade,_0x187622)+_0x529c9f(0x16f),'children':i['jsxs'](_0x529c9f(0x226),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x529c9f(0x144)]('div',{'className':_0x529c9f(0x1b3)+_0x47b1d2(_0x39cade,_0x187622)+_0x529c9f(0x151)}),i[_0x529c9f(0x144)](_0x529c9f(0x22c),{'className':_0x529c9f(0x124),'children':_0x3efab3(_0x39cade)})]})}),_0x187622!==s[_0x529c9f(0x147)][_0x529c9f(0x1a2)]&&(_0x39cade===s[_0x529c9f(0x1c1)][_0x529c9f(0x19a)]||_0x187622===s[_0x529c9f(0x147)]['INVALID_API_KEY'])&&i[_0x529c9f(0x144)](_0x529c9f(0x226),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[i[_0x529c9f(0x144)](_0x529c9f(0x22c),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),i[_0x529c9f(0x144)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x155d9b(_0x187622)})]})})]}),i['jsx'](_0x529c9f(0x226),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':i[_0x529c9f(0x191)]('div',{'className':_0x529c9f(0x1d6),'children':[i[_0x529c9f(0x191)]('div',{'className':_0x529c9f(0x17b),'children':[i[_0x529c9f(0x191)](_0x529c9f(0x12a),{'className':_0x529c9f(0x111),'children':[i['jsx']('span',{'children':'🔑'}),'\x20',_0x2f5158['t'](_0x529c9f(0x1ce)),i[_0x529c9f(0x144)](_0x529c9f(0x22c),{'className':_0x529c9f(0x1c4),'children':'*'}),_0xf21610&&i[_0x529c9f(0x144)]('a',{'href':'javascript:void(0)','onClick':()=>_0xdacb4(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x2f5158['t'](_0x529c9f(0x22a)),'children':i[_0x529c9f(0x144)](H,{})})]}),i[_0x529c9f(0x144)](P['Input'],{'type':_0x529c9f(0x19c),'placeholder':_0x2f5158['t']('mcpConfig.apiKeyPlaceholder'),'value':_0xd90184,'onChange':_0x56b086,'disabled':_0x535797,'autoComplete':'off'}),i['jsx']('p',{'className':_0x529c9f(0x1a0),'children':_0x2f5158['t'](_0x529c9f(0x149))})]}),_0xf21610&&_0x2c5f00&&i[_0x529c9f(0x191)]('div',{'className':_0x529c9f(0x20d),'children':[i[_0x529c9f(0x144)]('a',{'href':_0x529c9f(0x234),'onClick':()=>_0xdacb4(!0x1),'className':_0x529c9f(0x1f5),'title':_0x529c9f(0x1c7),'children':i[_0x529c9f(0x144)](F,{})}),i['jsxs'](_0x529c9f(0x226),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x529c9f(0x144)](_0x529c9f(0x226),{'className':_0x529c9f(0x143),'children':i['jsx'](_0x529c9f(0x22c),{'className':_0x529c9f(0x1ab),'children':'🚀'})}),i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':_0x529c9f(0x26f),'children':[i[_0x529c9f(0x144)]('h4',{'className':_0x529c9f(0x187),'children':_0x2f5158['t'](_0x529c9f(0x22a))}),i[_0x529c9f(0x144)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x2f5158['t'](_0x529c9f(0x277))}),i[_0x529c9f(0x144)](_0x529c9f(0x226),{'className':_0x529c9f(0x230),'children':_0x105172&&i[_0x529c9f(0x191)]('a',{'href':_0x19fcfa,'target':'_blank','rel':_0x529c9f(0x273),'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':[i[_0x529c9f(0x144)](_0x529c9f(0x22c),{'children':'🤖'}),_0x2f5158['t'](_0x529c9f(0x114)),i[_0x529c9f(0x144)](_0x529c9f(0x22c),{'className':_0x529c9f(0x1cf),'children':'↗'})]})}),i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':_0x529c9f(0x225),'children':['✨','\x20',_0x2f5158['t'](_0x529c9f(0x116))]})]})]})]}),_0x232f32[_0x529c9f(0x245)]&&i[_0x529c9f(0x191)]('div',{'className':_0x529c9f(0x1a3),'children':[i[_0x529c9f(0x191)]('h4',{'className':_0x529c9f(0x263),'children':[i[_0x529c9f(0x144)](_0x529c9f(0x22c),{'children':'🔗'}),'\x20',_0x2f5158['t'](_0x529c9f(0x153))]}),i['jsxs'](_0x529c9f(0x226),{'className':'univer-space-y-4','children':[i[_0x529c9f(0x191)]('div',{'className':'univer-space-y-3','children':[i['jsx']('p',{'className':_0x529c9f(0x13a),'children':_0x2f5158['t'](_0x529c9f(0x202))}),i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':_0x529c9f(0x17b),'children':[i[_0x529c9f(0x144)](_0x529c9f(0x226),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x2f5158['t']('mcpConfig.configStepTitle')}),i['jsxs'](_0x529c9f(0x226),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':_0x529c9f(0x1a7),'children':[i['jsx']('span',{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x2f5158['t'](_0x529c9f(0x1f8))]}),i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':_0x529c9f(0x1a7),'children':[i['jsx'](_0x529c9f(0x22c),{'className':_0x529c9f(0x15b),'children':'2'}),_0x2f5158['t'](_0x529c9f(0x288))]}),i['jsxs']('div',{'className':_0x529c9f(0x1a7),'children':[i[_0x529c9f(0x144)](_0x529c9f(0x22c),{'className':_0x529c9f(0x15b),'children':'3'}),_0x2f5158['t']('mcpConfig.configStep3')]})]})]})]}),i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':_0x529c9f(0x17b),'children':[i['jsx'](_0x529c9f(0x226),{'className':_0x529c9f(0x123),'children':_0x529c9f(0x20e)}),i[_0x529c9f(0x144)](_0x529c9f(0x226),{'className':_0x529c9f(0x201),'children':i[_0x529c9f(0x144)](_0x529c9f(0x215),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':'{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id='+_0x462fe9+_0x529c9f(0x25c)+(_0xd90184||_0x529c9f(0x259))+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),i['jsxs'](_0x529c9f(0x226),{'className':_0x529c9f(0x285),'children':[i[_0x529c9f(0x144)](_0x529c9f(0x226),{'className':_0x529c9f(0x123),'children':_0x2f5158['t'](_0x529c9f(0x1e1))}),i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':_0x529c9f(0x17b),'children':[i['jsxs']('div',{'className':_0x529c9f(0x1ff),'children':[i['jsx'](_0x529c9f(0x226),{'className':_0x529c9f(0x1e0)}),i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':_0x529c9f(0x266),'children':[i[_0x529c9f(0x144)](_0x529c9f(0x226),{'className':_0x529c9f(0x135),'children':_0x529c9f(0x1e2)}),i['jsx'](_0x529c9f(0x226),{'className':_0x529c9f(0x1a0),'children':_0x2f5158['t'](_0x529c9f(0x28a))})]})]}),i['jsxs'](_0x529c9f(0x226),{'className':_0x529c9f(0x1ff),'children':[i[_0x529c9f(0x144)]('div',{'className':_0x529c9f(0x1e0)}),i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x529c9f(0x144)](_0x529c9f(0x226),{'className':_0x529c9f(0x135),'children':'Authorization:'}),i[_0x529c9f(0x144)](_0x529c9f(0x226),{'className':_0x529c9f(0x1a0),'children':_0x2f5158['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),i[_0x529c9f(0x144)](P[_0x529c9f(0x231)],{'onClick':_0x907802,'disabled':!_0x1f6892||_0x535797,'className':_0x529c9f(0x1d2),'children':_0x535797?i[_0x529c9f(0x191)]('span',{'className':_0x529c9f(0x1a7),'children':[i[_0x529c9f(0x144)](_0x529c9f(0x22c),{'children':'⟲'}),_0x2f5158['t'](_0x529c9f(0x120))]}):i[_0x529c9f(0x191)](_0x529c9f(0x22c),{'className':_0x529c9f(0x1a7),'children':[i[_0x529c9f(0x144)](V,{}),_0x2f5158['t'](_0x529c9f(0x1e7))]})}),i[_0x529c9f(0x144)](_0x529c9f(0x226),{'className':_0x529c9f(0x150),'children':i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':_0x529c9f(0x1c2),'children':[i['jsx'](_0x529c9f(0x22c),{'className':_0x529c9f(0x145),'children':'💡'}),i[_0x529c9f(0x191)](_0x529c9f(0x226),{'className':_0x529c9f(0x13c),'children':[i['jsx'](_0x529c9f(0x226),{'className':'univer-font-medium','children':_0x529c9f(0x130)}),i[_0x529c9f(0x191)](_0x529c9f(0x226),{'children':['•',_0x2f5158['t']('mcpConfig.note1')]}),i['jsxs'](_0x529c9f(0x226),{'children':['•',_0x2f5158['t']('mcpConfig.note2')]})]})]})})]})})]});}const D=_0x28e84b(0x197),G={'showDeveloperTools':!0x1};var Pe=Object['getOwnPropertyDescriptor'],Se=(_0x522754,_0x2da9f4,_0x57bcdc,_0x375f2d)=>{var _0x592d9c=_0x28e84b;for(var _0x5268f9=_0x375f2d>0x1?void 0x0:_0x375f2d?Pe(_0x2da9f4,_0x57bcdc):_0x2da9f4,_0x38ef57=_0x522754[_0x592d9c(0x1e3)]-0x1,_0x34e995;_0x38ef57>=0x0;_0x38ef57--)(_0x34e995=_0x522754[_0x38ef57])&&(_0x5268f9=_0x34e995(_0x5268f9)||_0x5268f9);return _0x5268f9;},f=(_0xc71ae0,_0xefe93a)=>(_0x128404,_0x3abda7)=>_0xefe93a(_0x128404,_0x3abda7,_0xc71ae0);const A=_0x28e84b(0x265),O='mcp-config-dialog';function _0x385d(_0x27d061,_0x3ade08){var _0x3616e9=_0x3616();return _0x385d=function(_0x385ddc,_0xa6ad41){_0x385ddc=_0x385ddc-0x111;var _0x5e3d6a=_0x3616e9[_0x385ddc];return _0x5e3d6a;},_0x385d(_0x27d061,_0x3ade08);}exports['MCPConfigUIController']=class extends u[_0x28e84b(0x205)]{constructor(_0x46c024,_0x1c0d09,_0x32871e,_0x43b68b,_0x3b0b87,_0x2203f8,_0x3666fc,_0x2aa419,_0x4c247d,_0x4286f7){var _0x43d57a=_0x28e84b;super(),y(this,_0x43d57a(0x16e),new M['BehaviorSubject'](!0x1)),y(this,_0x43d57a(0x1de),new M[(_0x43d57a(0x211))]({})),y(this,'_config$',new M[(_0x43d57a(0x211))]({})),y(this,_0x43d57a(0x19e),new M[(_0x43d57a(0x211))]('')),y(this,_0x43d57a(0x23d),async _0x82954a=>{var _0xc2c41a=_0x43d57a,_0x16e9e6,_0x1a4437;this['_loading$'][_0xc2c41a(0x126)](!0x0);try{const _0x13b2b8=await this[_0xc2c41a(0x1ef)](_0x82954a);if(!_0x13b2b8[_0xc2c41a(0x1c8)]){this['_messageService']['show']({'type':P[_0xc2c41a(0x1cc)][_0xc2c41a(0x1c0)],'content':_0x13b2b8[_0xc2c41a(0x1c5)]||this[_0xc2c41a(0x1e6)]['t'](_0xc2c41a(0x1a9))});return;}_0x82954a[_0xc2c41a(0x25e)]?await this['_localStorageService'][_0xc2c41a(0x243)](A,_0x82954a['apiKey'][_0xc2c41a(0x1f7)]()):await this[_0xc2c41a(0x18b)][_0xc2c41a(0x14c)](A),this[_0xc2c41a(0x19e)]['next'](((_0x16e9e6=_0x82954a[_0xc2c41a(0x25e)])==null?void 0x0:_0x16e9e6['trim']())||''),this[_0xc2c41a(0x15d)][_0xc2c41a(0x24a)]({'Authorization':_0xc2c41a(0x25b)+((_0x1a4437=_0x82954a[_0xc2c41a(0x25e)])==null?void 0x0:_0x1a4437[_0xc2c41a(0x1f7)]())}),this[_0xc2c41a(0x24b)]['show']({'type':P[_0xc2c41a(0x1cc)][_0xc2c41a(0x164)],'content':this['_localeService']['t']('mcpConfig.configSaved')}),setTimeout(()=>{var _0x5f09c6=_0xc2c41a;this[_0x5f09c6(0x1fd)][_0x5f09c6(0x112)](O);},0x320);}catch(_0x4d9f94){this[_0xc2c41a(0x13e)][_0xc2c41a(0x1b4)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x4d9f94),this[_0xc2c41a(0x24b)]['show']({'type':P[_0xc2c41a(0x1cc)][_0xc2c41a(0x1c0)],'content':this[_0xc2c41a(0x1e6)]['t'](_0xc2c41a(0x1d1))});}finally{this[_0xc2c41a(0x16e)][_0xc2c41a(0x126)](!0x1);}}),(this[_0x43d57a(0x23b)]=_0x46c024,this[_0x43d57a(0x1e5)]=_0x1c0d09,this[_0x43d57a(0x255)]=_0x32871e,this[_0x43d57a(0x18b)]=_0x43b68b,this['_dialogService']=_0x3b0b87,this['_messageService']=_0x2203f8,this[_0x43d57a(0x1f6)]=_0x3666fc,this[_0x43d57a(0x1e6)]=_0x2aa419,this[_0x43d57a(0x13e)]=_0x4c247d,this['_mcpConnectionController']=_0x4286f7,this[_0x43d57a(0x1b7)](),this[_0x43d57a(0x271)](),this[_0x43d57a(0x223)]());}[_0x28e84b(0x159)](){var _0x4e5088=_0x28e84b;this[_0x4e5088(0x1fd)]['open']({'id':O,'title':{'title':this[_0x4e5088(0x1e6)]['t'](_0x4e5088(0x21a))},'children':{'label':_0x4e5088(0x121)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x238064=_0x4e5088;this[_0x238064(0x1fd)]['close'](O);}});}[_0x28e84b(0x1fa)](){var _0x115f2c=_0x28e84b;return this[_0x115f2c(0x1de)]['value'];}[_0x28e84b(0x223)](){var _0x5c3188=_0x28e84b;this[_0x5c3188(0x1df)](this['_componentManager'][_0x5c3188(0x138)](_0x5c3188(0x121),this[_0x5c3188(0x1d3)]()));}[_0x28e84b(0x1d3)](){var _0x57827d=_0x28e84b;return v[_0x57827d(0x18e)](()=>{var _0x50d4b7=_0x57827d,_0x573cb5,_0x185c11,_0x3b316f;return i[_0x50d4b7(0x144)](W,{'config':this['_config$'][_0x50d4b7(0x11e)],'mcpCoreConfig':this[_0x50d4b7(0x1de)]['value'],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x50d4b7(0x23d)],'loading':this[_0x50d4b7(0x16e)][_0x50d4b7(0x11e)],'connectionStatus$':(_0x573cb5=this[_0x50d4b7(0x15d)])==null?void 0x0:_0x573cb5[_0x50d4b7(0x26e)],'connectionError$':(_0x185c11=this[_0x50d4b7(0x15d)])==null?void 0x0:_0x185c11['connectionError$'],'currentSessionId$':(_0x3b316f=this[_0x50d4b7(0x15d)])==null?void 0x0:_0x3b316f[_0x50d4b7(0x203)]});},this[_0x57827d(0x23b)]);}[_0x28e84b(0x1b7)](){var _0x4720ef=_0x28e84b;this[_0x4720ef(0x1df)](this[_0x4720ef(0x255)][_0x4720ef(0x1eb)](s[_0x4720ef(0x1f9)])['subscribe'](_0x42a25e=>{var _0x1aad1d=_0x4720ef;this[_0x1aad1d(0x1de)][_0x1aad1d(0x126)](_0x42a25e||{});}));const _0x357f9f=this[_0x4720ef(0x255)]['getConfig'](s['MCP_PLUGIN_CONFIG_KEY']);this[_0x4720ef(0x1de)][_0x4720ef(0x126)](_0x357f9f||{}),this['disposeWithMe'](this['_configService'][_0x4720ef(0x1eb)](D)['subscribe'](_0x212cd7=>{var _0x358e5b=_0x4720ef;this[_0x358e5b(0x27e)][_0x358e5b(0x126)](_0x212cd7||{});}));const _0x2e9e4e=this[_0x4720ef(0x255)][_0x4720ef(0x1e9)](D);this[_0x4720ef(0x27e)][_0x4720ef(0x126)](_0x2e9e4e||{});}async[_0x28e84b(0x271)](){var _0x5e2e1e=_0x28e84b;const _0x297fce=await this[_0x5e2e1e(0x18b)][_0x5e2e1e(0x193)](A);_0x297fce&&(this[_0x5e2e1e(0x15d)][_0x5e2e1e(0x24a)]({'Authorization':_0x5e2e1e(0x25b)+_0x297fce}),this['_apiKey$'][_0x5e2e1e(0x126)](_0x297fce));}async[_0x28e84b(0x1ef)](_0x28f0b8){var _0x54172c=_0x28e84b;if(!_0x28f0b8[_0x54172c(0x25e)]||_0x28f0b8[_0x54172c(0x25e)][_0x54172c(0x1f7)]()[_0x54172c(0x1e3)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x54172c(0x1e6)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x28f0b8[_0x54172c(0x25e)][_0x54172c(0x1f7)]()[_0x54172c(0x1e3)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x54172c(0x1e6)]['t'](_0x54172c(0x198))};try{const _0x3bfadc=await this[_0x54172c(0x23b)][_0x54172c(0x186)](s[_0x54172c(0x140)])['validateApiKey'](_0x28f0b8[_0x54172c(0x25e)][_0x54172c(0x1f7)]());return _0x3bfadc['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x3bfadc[_0x54172c(0x1b4)]||this[_0x54172c(0x1e6)]['t'](_0x54172c(0x1fc))};}catch(_0x75cd92){return console[_0x54172c(0x268)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x75cd92),{'isValid':!0x0};}}},exports[_0x28e84b(0x18d)]=Se([f(0x0,u[_0x28e84b(0x13b)](u[_0x28e84b(0x170)])),f(0x1,v['IUIPartsService']),f(0x2,u[_0x28e84b(0x23a)]),f(0x3,u[_0x28e84b(0x212)]),f(0x4,v[_0x28e84b(0x214)]),f(0x5,v[_0x28e84b(0x195)]),f(0x6,u['Inject'](v['ComponentManager'])),f(0x7,u[_0x28e84b(0x13b)](u[_0x28e84b(0x19f)])),f(0x8,u[_0x28e84b(0x1fe)]),f(0x9,u[_0x28e84b(0x13b)](s[_0x28e84b(0x140)]))],exports[_0x28e84b(0x18d)]);const N={'id':_0x28e84b(0x119),'type':u[_0x28e84b(0x27d)][_0x28e84b(0x249)],'handler':async(_0xbb8885,_0x388085)=>(_0xbb8885['get'](exports['MCPConfigUIController'])[_0x28e84b(0x159)](),!0x0)};function Z(_0x4fff63,_0x171474){var _0x4d25f2=_0x28e84b;switch(_0x4fff63){case s['MCPConnectionStatus'][_0x4d25f2(0x141)]:return'mcpStatus.disconnected';case s[_0x4d25f2(0x1c1)]['CONNECTING']:return _0x4d25f2(0x128);case s['MCPConnectionStatus'][_0x4d25f2(0x228)]:return _0x4d25f2(0x27a);case s[_0x4d25f2(0x1c1)]['FAILED']:switch(_0x171474){case s[_0x4d25f2(0x147)][_0x4d25f2(0x13f)]:return _0x4d25f2(0x248);case s[_0x4d25f2(0x147)][_0x4d25f2(0x289)]:return _0x4d25f2(0x1bc);case s[_0x4d25f2(0x147)]['NETWORK_ERROR']:return'mcpStatus.networkError';case s['MCPConnectionError'][_0x4d25f2(0x1b2)]:return _0x4d25f2(0x26d);default:return'mcpStatus.failed';}case s['MCPConnectionStatus'][_0x4d25f2(0x125)]:return _0x4d25f2(0x272);default:return _0x4d25f2(0x1f2);}}function ye(_0x1c7ac2,_0x3b9c9c,_0x378049){var _0x4fea91=_0x28e84b;const _0x3d303b=Z(_0x1c7ac2,_0x3b9c9c),_0x586eac=_0x378049['t'](_0x3d303b);return _0x1c7ac2===s[_0x4fea91(0x1c1)]['DISCONNECTED']&&_0x3b9c9c===s[_0x4fea91(0x147)][_0x4fea91(0x13f)]?_0x586eac+_0x4fea91(0x180)+_0x378049['t'](_0x4fea91(0x15e)):_0x1c7ac2===s[_0x4fea91(0x1c1)]['CONNECTED']?''+_0x586eac:_0x1c7ac2===s['MCPConnectionStatus']['DISCONNECTED']||_0x1c7ac2===s[_0x4fea91(0x1c1)][_0x4fea91(0x19a)]?_0x586eac+'\x20-\x20'+_0x378049['t']('mcpStatus.clickToConnect'):_0x586eac;}function Ie(_0xd066e7){var _0x486e58=_0x28e84b;switch(_0xd066e7){case s[_0x486e58(0x1c1)][_0x486e58(0x228)]:return _0x486e58(0x236);case s['MCPConnectionStatus'][_0x486e58(0x169)]:case s[_0x486e58(0x1c1)][_0x486e58(0x125)]:return _0x486e58(0x235);case s['MCPConnectionStatus'][_0x486e58(0x19a)]:case s[_0x486e58(0x1c1)][_0x486e58(0x141)]:return'univer-text-red-500';default:return _0x486e58(0x16c);}}function X(_0xb2c4d3){var _0x1ba3bc=_0x28e84b;const {status$:_0x2eab65,error$:_0x437b16,onConfigure:_0x4189c8}=_0xb2c4d3,_0x368f9a=v[_0x1ba3bc(0x275)](_0x2eab65,s[_0x1ba3bc(0x1c1)][_0x1ba3bc(0x141)]),_0x48449e=v[_0x1ba3bc(0x275)](_0x437b16,s['MCPConnectionError']['NONE']),_0x13ef09=v[_0x1ba3bc(0x1a8)](u[_0x1ba3bc(0x19f)]),_0x587271=_0x368f9a===s[_0x1ba3bc(0x1c1)][_0x1ba3bc(0x228)],_0x454a66=_0x368f9a===s[_0x1ba3bc(0x1c1)][_0x1ba3bc(0x169)]||_0x368f9a===s[_0x1ba3bc(0x1c1)][_0x1ba3bc(0x125)],_0xd3eba=_0x13ef09['t'](Z(_0x368f9a,_0x48449e)),_0x30b0d1=ye(_0x368f9a,_0x48449e,_0x13ef09),_0x46b985=Ie(_0x368f9a),_0x3c7e28=_0x587271?i[_0x1ba3bc(0x144)](z,{}):i[_0x1ba3bc(0x144)](q,{}),_0x38d0d6=d[_0x1ba3bc(0x27f)](()=>{_0x4189c8&&_0x4189c8();},[_0x587271,_0x454a66,_0x4189c8]);function _0x38a9a7(){var _0xcbf79=_0x1ba3bc;return i[_0xcbf79(0x191)](_0xcbf79(0x226),{'className':P['clsx']('univer-flex\x20univer-cursor-pointer\x20univer-items-center',_0x4189c8&&_0xcbf79(0x19d)),'onClick':_0x4189c8?_0x38d0d6:void 0x0,'children':[i[_0xcbf79(0x144)](_0xcbf79(0x226),{'className':P[_0xcbf79(0x18c)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x46b985),'children':_0x3c7e28}),i[_0xcbf79(0x144)]('div',{'className':_0xcbf79(0x1ee),'children':_0xd3eba})]});}return i[_0x1ba3bc(0x144)](P[_0x1ba3bc(0x1c3)],{'title':_0x30b0d1,'placement':'bottom','children':_0x38a9a7()});}var _e=Object[_0x28e84b(0x167)],Me=(_0x1cd5b4,_0x33b5fa,_0x4b9ccc,_0x38da16)=>{for(var _0x22c11d=_0x38da16>0x1?void 0x0:_0x38da16?_e(_0x33b5fa,_0x4b9ccc):_0x33b5fa,_0xf79e7c=_0x1cd5b4['length']-0x1,_0x28eb87;_0xf79e7c>=0x0;_0xf79e7c--)(_0x28eb87=_0x1cd5b4[_0xf79e7c])&&(_0x22c11d=_0x28eb87(_0x22c11d)||_0x22c11d);return _0x22c11d;},k=(_0x3accd5,_0x11af31)=>(_0x3c48f1,_0x3871d5)=>_0x11af31(_0x3c48f1,_0x3871d5,_0x3accd5);exports[_0x28e84b(0x118)]=class extends u[_0x28e84b(0x205)]{constructor(_0x569594,_0x2b9718,_0x59cd40){var _0x3761a0=_0x28e84b;super(),this[_0x3761a0(0x23b)]=_0x569594,this['_connectionController']=_0x2b9718,this[_0x3761a0(0x1e5)]=_0x59cd40,this[_0x3761a0(0x221)]['enableAutoConnect']=!0x1,this[_0x3761a0(0x173)]();}[_0x28e84b(0x173)](){var _0x197ff7=_0x28e84b;this[_0x197ff7(0x1df)](this[_0x197ff7(0x1e5)][_0x197ff7(0x278)](v[_0x197ff7(0x1ca)][_0x197ff7(0x27b)],()=>v[_0x197ff7(0x18e)](Ne({'status$':this[_0x197ff7(0x221)]['connectionStatus$'],'error$':this[_0x197ff7(0x221)]['connectionError$'],'onConfigure':()=>this[_0x197ff7(0x1dd)]()}),this['_injector'])));}['_handleConfigure'](){var _0x42b2d2=_0x28e84b;this[_0x42b2d2(0x23b)][_0x42b2d2(0x186)](exports[_0x42b2d2(0x18d)])['showConfigPanel']();}},exports[_0x28e84b(0x118)]=Me([k(0x0,u[_0x28e84b(0x13b)](u[_0x28e84b(0x170)])),k(0x1,u['Inject'](s[_0x28e84b(0x140)])),k(0x2,v['IUIPartsService'])],exports['MCPConnectionUIController']);function Ne(_0x2c8ff2){const {status$:_0x346acd,error$:_0x35a12e,onConfigure:_0x21bdbc}=_0x2c8ff2;return function(){var _0x59129e=_0x385d;return i[_0x59129e(0x144)](X,{'status$':_0x346acd,'error$':_0x35a12e,'onConfigure':_0x21bdbc});};}function be(_0x5a94de){var _0x565b41=_0x28e84b;return{'id':N['id'],'type':v['MenuItemType'][_0x565b41(0x11b)],'icon':'MenuIcon','title':_0x565b41(0x21a),'tooltip':_0x565b41(0x21a)};}const je={[v[_0x28e84b(0x1b9)][_0x28e84b(0x14a)]]:{[N['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object[_0x28e84b(0x167)],we=(_0xba4441,_0x497518,_0x2bd87b,_0x31b7ba)=>{var _0x5a40d4=_0x28e84b;for(var _0x579fb1=_0x31b7ba>0x1?void 0x0:_0x31b7ba?Ee(_0x497518,_0x2bd87b):_0x497518,_0x2cdbe9=_0xba4441[_0x5a40d4(0x1e3)]-0x1,_0x1ef250;_0x2cdbe9>=0x0;_0x2cdbe9--)(_0x1ef250=_0xba4441[_0x2cdbe9])&&(_0x579fb1=_0x1ef250(_0x579fb1)||_0x579fb1);return _0x579fb1;},Y=(_0x40fe7e,_0x3a5422)=>(_0x20c071,_0x5a9206)=>_0x3a5422(_0x20c071,_0x5a9206,_0x40fe7e);function _0x3616(){var _0x3835fb=['_configService','1em','MCP:\x20API\x20Key\x20Missing','重连中...','<API_KEY>','61254JlXgGk','Bearer\x20','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','mcpConfig.connectionError.maxRetriesExceeded','apiKey','API\x20密钥无效,请检查密钥是否正确','defs','24KcYFpG','className','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','OnLineIcon','mcp.apiKey','univer-min-w-0\x20univer-flex-1','启用身份验证以获得安全连接','warn','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','createElement','Univer\x20AI\x20控制台','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpStatus.maxRetriesExceeded','connectionStatus$','univer-flex-1','pluginName','_loadStoredApiKey','mcpStatus.retrying','noopener\x20noreferrer','保存中...','useObservable','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','mcpConfig.apiApplyInfo.description','registerComponent','colorChannel1','mcpStatus.connected','HEADER_MENU','enUS','CommandType','_config$','useCallback','DependentOn','UniverMCPUIPlugin','OffLineIcon','url(#$1','IMenuManagerService','univer-space-y-3','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','M0\x200H16V16H0z','mcpConfig.configStep2','SESSION_ID_OCCUPIED','mcpConfig.sessionIdDescription','close-small-single','UniverMCPPlugin','forEach','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP_UI_PLUGIN','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','close','entries','mcpConfig.apiApplyInfo.univerAiLabel','点击连接\x20MCP','mcpConfig.apiApplyInfo.getStarted','evenodd','MCPConnectionUIController','mcp-ui.command.openConfigPanel','svg','BUTTON','mask','Univer\x20AI\x20Console','value','1586180fZBtEj','mcpConfig.saving','MCPConfigPanel','white','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-text-sm\x20univer-font-medium','RETRYING','next','none','mcpStatus.connecting','check-mark-icon','label','xlink:href','_config','2163wYJUgC','会话当前被占用,请稍后再试','getOwnPropertySymbols','Configuration\x20Notes:','mcpConfig.connectionStatus.retrying','prototype','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20缺少\x20API\x20密钥','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','help-single','substring','register','univer-bg-blue-500','univer-text-xs\x20univer-text-gray-600','Inject','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','What\x20is\x20API\x20Key?','_logService','INVALID_API_KEY','MCPConnectionController','DISCONNECTED','clipPath','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','jsx','univer-flex-shrink-0\x20univer-text-blue-500','API\x20密钥无效,请检查您的密钥后重试','MCPConnectionError','ISocketService','mcpConfig.apiKeyHint','OTHERS','univer.plus','removeItem','MCP\x20Connecting...','806252jpUkfH','on-line-icon','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','mcpConfig.connectionInfo','mcpConfig.description','几秒钟内获取您的\x20API\x20密钥','将以下配置添加到您的\x20MCP\x20客户端设置中:','univerjs-icon\x20univerjs-icon-','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','showConfigPanel','API\x20密钥','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','includes','_mcpConnectionController','mcpStatus.clickToConfigure','map','NETWORK_ERROR','url(#on-line-icon_clip0_910_349)','defIds','apply','Success','mcpConfig.connectionError.invalidApiKey','Get\x20your\x20API\x20key\x20in\x20seconds','getOwnPropertyDescriptor','Configuration\x20Steps:','CONNECTING','univer-text-white','MCP\x20客户端配置','univer-text-gray-500','HelpSingle','_loading$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Injector','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','_commandService','_initStatusComponent','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','setConfig','zhCN','ICommandService','MCP\x20Client\x20Configuration','MCP\x20已连接','5616PpzEFL','univer-space-y-2','current','MCP:\x20Session\x20Occupied','M5.21243\x205.62036L11.8791\x2012.287','MCP\x20已断开','\x20-\x20','_menuManagerService','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','defineProperty','将配置添加到您的\x20MCP\x20客户端设置文件中','_initializeCommands','get','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.connectionError.networkError','什么是\x20API\x20密钥?','Invalid\x20configuration','_localStorageService','clsx','MCPConfigUIController','connectInjector','function','Enable\x20authentication\x20for\x20secure\x20connections','jsxs','has','getItem','MCP\x20Disconnected','IMessageService','Enter\x20your\x20API\x20key','mcp-ui.config','mcpConfig.validation.apiKeyTooShort','MCPStatusDisplay','FAILED','mcpConfig.connectionStatus.failed','text','hover:univer-opacity-80','_apiKey$','LocaleService','univer-text-xs\x20univer-text-gray-500','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','NONE','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','Connected','配置保存失败','Click\x20to\x20configure\x20MCP','univer-flex\x20univer-items-center\x20univer-gap-2','useDependency','mcpConfig.validation.invalidConfig','registerCommand','univer-text-blue-600','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','off-line-icon','重启您的\x20MCP\x20客户端以使配置生效','带有\x20Bearer\x20前缀的\x20API\x20密钥。','1441904cgGAgl','CheckMarkIcon','MAX_RETRIES_EXCEEDED','\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','error','MCP:\x20无效的\x20API\x20密钥','on-line-icon_clip0_910_349','_initConfigSync','API\x20密钥不能为空','RibbonStartGroup','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','配置保存成功','mcpStatus.sessionOccupied','103679SWdEiC','Max\x20Retries','Enable\x20Authentication','Error','MCPConnectionStatus','univer-flex\x20univer-gap-3','Tooltip','univer-text-red-500','errorMessage','64563ANmbRr','Close','isValid','MCP:\x20Invalid\x20API\x20Key','BuiltInUIPart','univer.ai','MessageType','extend','mcpConfig.apiKey','univer-text-gray-400','round','mcpConfig.configError','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','_createConfigPanelComponent','API\x20Key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-space-y-5','0\x200\x2016\x2016','MCP:\x20Max\x20Retries\x20Exceeded','配置无效','您的\x20API\x20密钥安全存储在本地存储中','assign','forwardRef','_handleConfigure','_mcpCoreConfig$','disposeWithMe','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpConfig.configParameters','univer_session_id:','length','Failed\x20to\x20save\x20configuration','_uiPartsService','_localeService','mcpConfig.save','连接失败','getConfig','string','subscribeConfigValue$','toString','univer-flex\x20univer-items-center\x20univer-gap-3','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_validateConfig','启用身份验证','attrs','mcpStatus.unknown','univer-text-sm\x20univer-text-gray-500','replace','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','_componentManager','trim','mcpConfig.configStep1','MCP_PLUGIN_CONFIG_KEY','getCurrentConfig','translate(.97)','mcpConfig.validation.invalidApiKey','_dialogService','ILogService','univer-flex\x20univer-items-start\x20univer-gap-3','IUIPartsService','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcpConfig.configInstructions','sessionId$','0\x200\x2017\x2017','Disposable','mergeMenu','Connecting...','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Copy\x20the\x20JSON\x20configuration\x20below','mcpServerUrl','未连接','MCP:\x20网络错误','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','MCP\x20Configuration','Connection\x20Failed','useRef','BehaviorSubject','ILocalStorageService','保存配置','IDialogService','pre','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','children','path','displayName','mcpConfig.title','UniverIcon','use','CloseSmallSingle','useState','MCP\x20配置','MCP\x20重连中...','_connectionController','http://www.w3.org/2000/svg','_registerComponent','API\x20key\x20is\x20required\x20to\x20connect','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','div','Configuration\x20Parameters:','CONNECTED','配置参数:','mcpConfig.apiApplyInfo.title','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','span','MCPUIMenuController','Click\x20to\x20connect\x20MCP','currentColor','univer-flex\x20univer-flex-wrap\x20univer-gap-2','Button','indexOf','WebSocketService','javascript:void(0)','univer-text-yellow-500','univer-text-green-500','merge','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','_initializeMenus','IConfigService','_injector','idSuffix','_handleConfigSave','concat','MCP\x20Unknown\x20Status','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','Plugin','MCP:\x20会话被占用','setItem','call','showDeveloperTools','Module','tag','mcpStatus.invalidApiKey','COMMAND','__setCustomHeaders','_messageService','mcpConfig.connectionStatus.disconnected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','fill','0\x200\x2017\x2016','API\x20key\x20is\x20required','univer-bg-gray-500','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univer-bg-red-500'];_0x3616=function(){return _0x3835fb;};return _0x3616();}exports[_0x28e84b(0x22d)]=class extends u[_0x28e84b(0x205)]{constructor(_0x420d84,_0x4ed717){var _0x47a1a5=_0x28e84b;super(),this['_commandService']=_0x420d84,this[_0x47a1a5(0x181)]=_0x4ed717,this['_initializeCommands'](),this['_initializeMenus']();}[_0x28e84b(0x185)](){[N]['forEach'](_0x46ccc6=>{var _0x392138=_0x385d;this['disposeWithMe'](this[_0x392138(0x172)][_0x392138(0x1aa)](_0x46ccc6));});}[_0x28e84b(0x239)](){var _0x282a69=_0x28e84b;this[_0x282a69(0x181)][_0x282a69(0x206)](je);}},exports[_0x28e84b(0x22d)]=we([Y(0x0,u[_0x28e84b(0x177)]),Y(0x1,v[_0x28e84b(0x284)])],exports[_0x28e84b(0x22d)]);const Ae={'mcpStatus':{'disconnected':_0x28e84b(0x194),'connecting':_0x28e84b(0x14d),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x28e84b(0x23f),'missingApiKey':_0x28e84b(0x257),'invalidApiKey':_0x28e84b(0x1c9),'sessionOccupied':_0x28e84b(0x17d),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x28e84b(0x1d8),'clickToConnect':_0x28e84b(0x22e),'clickToConfigure':_0x28e84b(0x1a6)},'mcpConfig':{'title':_0x28e84b(0x20e),'description':_0x28e84b(0x24d),'apiKey':_0x28e84b(0x1d4),'apiKeyPlaceholder':_0x28e84b(0x196),'apiKeyHint':_0x28e84b(0x1d5),'enableAuth':_0x28e84b(0x1bf),'enableAuthHint':_0x28e84b(0x190),'connectionInfo':_0x28e84b(0x178),'mcpClientConfig':_0x28e84b(0x178),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x28e84b(0x168),'configStep1':_0x28e84b(0x209),'configStep2':_0x28e84b(0x253),'configStep3':_0x28e84b(0x133),'sessionId':'Session\x20ID','sessionIdDescription':_0x28e84b(0x238),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x28e84b(0x227),'maxRetries':_0x28e84b(0x1be),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x28e84b(0x28e),'note2':_0x28e84b(0x1a1),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x28e84b(0x1e4),'apiApplyInfo':{'title':_0x28e84b(0x13d),'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':_0x28e84b(0x11d),'getStarted':_0x28e84b(0x166)},'validation':{'apiKeyRequired':_0x28e84b(0x251),'apiKeyTooShort':_0x28e84b(0x1ac),'invalidConfig':_0x28e84b(0x18a),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x28e84b(0x207),'connected':_0x28e84b(0x1a4),'failed':_0x28e84b(0x20f),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x28e84b(0x224),'invalidApiKey':_0x28e84b(0x276),'sessionOccupied':_0x28e84b(0x174),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x28e84b(0x182)}}},Oe={'mcpStatus':{'disconnected':_0x28e84b(0x17f),'connecting':'MCP\x20连接中...','connected':_0x28e84b(0x179),'failed':'MCP\x20连接失败','retrying':_0x28e84b(0x220),'unknown':'MCP\x20状态未知','missingApiKey':_0x28e84b(0x134),'invalidApiKey':_0x28e84b(0x1b5),'sessionOccupied':_0x28e84b(0x242),'networkError':_0x28e84b(0x20c),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x28e84b(0x115),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x28e84b(0x21f),'description':_0x28e84b(0x26c),'apiKey':_0x28e84b(0x15a),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x28e84b(0x1f0),'enableAuthHint':_0x28e84b(0x267),'connectionInfo':_0x28e84b(0x16b),'mcpClientConfig':_0x28e84b(0x16b),'configInstructions':_0x28e84b(0x156),'configStepTitle':'配置步骤:','configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x28e84b(0x184),'configStep3':_0x28e84b(0x1ae),'sessionId':'会话ID','sessionIdDescription':_0x28e84b(0x269),'authorizationDescription':_0x28e84b(0x1af),'configParameters':_0x28e84b(0x229),'maxRetries':'最大重试次数','save':_0x28e84b(0x213),'saving':_0x28e84b(0x274),'note1':'配置更改将立即生效','note2':_0x28e84b(0x1da),'configSaved':_0x28e84b(0x1bb),'configError':_0x28e84b(0x1a5),'apiApplyInfo':{'title':_0x28e84b(0x189),'description':_0x28e84b(0x208),'univerAiLabel':_0x28e84b(0x26b),'getStarted':_0x28e84b(0x155)},'validation':{'apiKeyRequired':_0x28e84b(0x1b8),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x28e84b(0x1d9),'invalidApiKey':_0x28e84b(0x25f)},'connectionStatus':{'disconnected':_0x28e84b(0x20b),'connecting':'连接中...','connected':'已连接','failed':_0x28e84b(0x1e8),'retrying':_0x28e84b(0x258)},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':_0x28e84b(0x146),'sessionOccupied':_0x28e84b(0x12e),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var ke=Object[_0x28e84b(0x183)],De=Object[_0x28e84b(0x167)],Ke=(_0x2cdc87,_0x3e4c79,_0x10acf7)=>_0x3e4c79 in _0x2cdc87?ke(_0x2cdc87,_0x3e4c79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10acf7}):_0x2cdc87[_0x3e4c79]=_0x10acf7,Ue=(_0x37d1d4,_0x46a0c5,_0x1fa906,_0x242372)=>{var _0x58f0a6=_0x28e84b;for(var _0x20118f=_0x242372>0x1?void 0x0:_0x242372?De(_0x46a0c5,_0x1fa906):_0x46a0c5,_0x17b59e=_0x37d1d4[_0x58f0a6(0x1e3)]-0x1,_0x4e0b80;_0x17b59e>=0x0;_0x17b59e--)(_0x4e0b80=_0x37d1d4[_0x17b59e])&&(_0x20118f=_0x4e0b80(_0x20118f)||_0x20118f);return _0x20118f;},_=(_0x3df280,_0x13c661)=>(_0x588f4a,_0x53b352)=>_0x13c661(_0x588f4a,_0x53b352,_0x3df280),Te=(_0x384f17,_0x9c7d5c,_0xc5749c)=>Ke(_0x384f17,_0x9c7d5c+'',_0xc5749c);exports[_0x28e84b(0x281)]=class extends u[_0x28e84b(0x241)]{constructor(_0x15b383=G,_0x3b865b,_0x159d08,_0xa5e020,_0x452bc1,_0x1a30b4){var _0x2a0f0b=_0x28e84b;super(),this[_0x2a0f0b(0x12c)]=_0x15b383,this[_0x2a0f0b(0x23b)]=_0x3b865b,this['_configService']=_0x159d08,this[_0x2a0f0b(0x1e5)]=_0xa5e020,this[_0x2a0f0b(0x18b)]=_0x452bc1,this[_0x2a0f0b(0x1e6)]=_0x1a30b4;const {..._0x4960d7}=u[_0x2a0f0b(0x237)]({},G,this[_0x2a0f0b(0x12c)]);this[_0x2a0f0b(0x255)][_0x2a0f0b(0x175)](D,_0x4960d7);}async['onStarting'](){var _0x572243=_0x28e84b;const _0xfb1b33=[[exports[_0x572243(0x118)]],[exports['MCPConfigUIController']],[exports['MCPUIMenuController']]];this[_0x572243(0x23b)][_0x572243(0x192)](w[_0x572243(0x148)])||_0xfb1b33['push']([w['ISocketService'],{'useClass':w[_0x572243(0x233)]}]),_0xfb1b33[_0x572243(0x28d)](_0x5273a2=>this[_0x572243(0x23b)]['add'](_0x5273a2)),this[_0x572243(0x23b)][_0x572243(0x186)](exports['MCPConnectionUIController']),this[_0x572243(0x23b)]['get'](exports[_0x572243(0x18d)]),this[_0x572243(0x23b)][_0x572243(0x186)](exports[_0x572243(0x22d)]);}},Te(exports['UniverMCPUIPlugin'],_0x28e84b(0x270),_0x28e84b(0x28f)),exports[_0x28e84b(0x281)]=Ue([u[_0x28e84b(0x280)](s[_0x28e84b(0x28c)]),_(0x1,u['Inject'](u[_0x28e84b(0x170)])),_(0x2,u[_0x28e84b(0x23a)]),_(0x3,v[_0x28e84b(0x200)]),_(0x4,u[_0x28e84b(0x212)]),_(0x5,u[_0x28e84b(0x13b)](u[_0x28e84b(0x19f)]))],exports[_0x28e84b(0x281)]),exports[_0x28e84b(0x121)]=W,exports[_0x28e84b(0x199)]=X,exports['OpenMCPConfigPanelCommand']=N,exports[_0x28e84b(0x27c)]=Ae,exports[_0x28e84b(0x176)]=Oe;
1
+ 'use strict';var _0x16b0a0=_0x3975;(function(_0x4bafbd,_0x1d8e8f){var _0x2bac28=_0x3975,_0x5133c1=_0x4bafbd();while(!![]){try{var _0x57d0cf=-parseInt(_0x2bac28(0x23f))/0x1+parseInt(_0x2bac28(0x318))/0x2+-parseInt(_0x2bac28(0x2f7))/0x3*(-parseInt(_0x2bac28(0x24e))/0x4)+-parseInt(_0x2bac28(0x28e))/0x5*(parseInt(_0x2bac28(0x29a))/0x6)+parseInt(_0x2bac28(0x1f0))/0x7+-parseInt(_0x2bac28(0x2aa))/0x8+parseInt(_0x2bac28(0x2c3))/0x9;if(_0x57d0cf===_0x1d8e8f)break;else _0x5133c1['push'](_0x5133c1['shift']());}catch(_0x2bf67e){_0x5133c1['push'](_0x5133c1['shift']());}}}(_0x2aa2,0xde55c));var ue=Object[_0x16b0a0(0x2f5)],le=(_0x32b457,_0x41dd98,_0x46c826)=>_0x41dd98 in _0x32b457?ue(_0x32b457,_0x41dd98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46c826}):_0x32b457[_0x41dd98]=_0x46c826,I=(_0x23428f,_0x5333ea,_0x1abcc1)=>le(_0x23428f,typeof _0x5333ea!=_0x16b0a0(0x327)?_0x5333ea+'':_0x5333ea,_0x1abcc1);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const l=require('@univerjs/core'),t=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),S=require('@univerjs/design'),v=require('@univerjs/ui'),N=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _0x3975(_0x41e92e,_0xfdd023){var _0x2aa278=_0x2aa2();return _0x3975=function(_0x3975db,_0x442086){_0x3975db=_0x3975db-0x1a5;var _0x49adbe=_0x2aa278[_0x3975db];return _0x49adbe;},_0x3975(_0x41e92e,_0xfdd023);}var g=function(){var _0x5c59bf=_0x16b0a0;return g=Object[_0x5c59bf(0x243)]||function(_0xdc8030){var _0x2a3426=_0x5c59bf;for(var _0x2417db,_0x2f7627=0x1,_0xde8610=arguments[_0x2a3426(0x281)];_0x2f7627<_0xde8610;_0x2f7627++){_0x2417db=arguments[_0x2f7627];for(var _0x5c6323 in _0x2417db)Object[_0x2a3426(0x319)][_0x2a3426(0x285)]['call'](_0x2417db,_0x5c6323)&&(_0xdc8030[_0x5c6323]=_0x2417db[_0x5c6323]);}return _0xdc8030;},g[_0x5c59bf(0x263)](this,arguments);},ve=function(_0xd8e669,_0x5c6817){var _0x4bee80=_0x16b0a0,_0x3cd727={};for(var _0x2154da in _0xd8e669)Object['prototype'][_0x4bee80(0x285)][_0x4bee80(0x2bf)](_0xd8e669,_0x2154da)&&_0x5c6817['indexOf'](_0x2154da)<0x0&&(_0x3cd727[_0x2154da]=_0xd8e669[_0x2154da]);if(_0xd8e669!=null&&typeof Object[_0x4bee80(0x301)]==_0x4bee80(0x2be)){for(var _0x455743=0x0,_0x2154da=Object['getOwnPropertySymbols'](_0xd8e669);_0x455743<_0x2154da['length'];_0x455743++)_0x5c6817[_0x4bee80(0x20b)](_0x2154da[_0x455743])<0x0&&Object['prototype'][_0x4bee80(0x1cf)]['call'](_0xd8e669,_0x2154da[_0x455743])&&(_0x3cd727[_0x2154da[_0x455743]]=_0xd8e669[_0x2154da[_0x455743]]);}return _0x3cd727;},_=d[_0x16b0a0(0x2f0)](function(_0x6c14e1,_0x2f5148){var _0x4eda8c=_0x16b0a0,_0x430d8b=_0x6c14e1[_0x4eda8c(0x2a5)],_0x2884c6=_0x6c14e1['id'],_0x21efa3=_0x6c14e1[_0x4eda8c(0x1c8)],_0x123991=_0x6c14e1['extend'],_0x421cea=ve(_0x6c14e1,['icon','id','className',_0x4eda8c(0x28b)]),_0x3aa748=_0x4eda8c(0x323)[_0x4eda8c(0x22e)](_0x2884c6,'\x20')[_0x4eda8c(0x22e)](_0x21efa3||'')['trim'](),_0x570482=d[_0x4eda8c(0x2fb)]('_'['concat'](ge()));return H(_0x430d8b,''[_0x4eda8c(0x22e)](_0x2884c6),{'defIds':_0x430d8b[_0x4eda8c(0x2c0)],'idSuffix':_0x570482[_0x4eda8c(0x24d)]},g({'ref':_0x2f5148,'className':_0x3aa748},_0x421cea),_0x123991);});function H(_0x5d307f,_0x112e7e,_0x505a43,_0x5a7511,_0x381a61){var _0x16479d=_0x16b0a0;return d[_0x16479d(0x1e0)](_0x5d307f[_0x16479d(0x2dd)],g(g({'key':_0x112e7e},de(_0x5d307f,_0x505a43,_0x381a61)),_0x5a7511),(Ce(_0x5d307f,_0x505a43)[_0x16479d(0x1b4)]||[])['map'](function(_0x1b72b0,_0x333b8b){var _0xac3617=_0x16479d;return H(_0x1b72b0,''[_0xac3617(0x22e)](_0x112e7e,'-')['concat'](_0x5d307f['tag'],'-')[_0xac3617(0x22e)](_0x333b8b),_0x505a43,void 0x0,_0x381a61);}));}function de(_0x5f31e0,_0x131d85,_0xb809cc){var _0xf2a430=_0x16b0a0,_0x50c9bc=g({},_0x5f31e0[_0xf2a430(0x2f3)]);_0xb809cc!=null&&_0xb809cc[_0xf2a430(0x271)]&&_0x50c9bc['fill']===_0xf2a430(0x271)&&(_0x50c9bc['fill']=_0xb809cc[_0xf2a430(0x271)]),_0x5f31e0[_0xf2a430(0x2dd)]===_0xf2a430(0x1f3)&&_0x50c9bc['id']&&(_0x50c9bc['id']=_0x50c9bc['id']+_0x131d85[_0xf2a430(0x1f6)]),Object['entries'](_0x50c9bc)[_0xf2a430(0x1cc)](function(_0x37dea5){var _0x5ed3fd=_0xf2a430,_0x429f89=_0x37dea5[0x0],_0x8bf977=_0x37dea5[0x1];_0x429f89===_0x5ed3fd(0x1f3)&&typeof _0x8bf977==_0x5ed3fd(0x2ab)&&(_0x50c9bc[_0x429f89]=_0x8bf977[_0x5ed3fd(0x237)](/url\(#(.*)\)/,_0x5ed3fd(0x2c2)['concat'](_0x131d85[_0x5ed3fd(0x1f6)],')')));});var _0x1e3cfd=_0x131d85[_0xf2a430(0x2c0)];return!_0x1e3cfd||_0x1e3cfd[_0xf2a430(0x281)]===0x0||(_0x5f31e0[_0xf2a430(0x2dd)]===_0xf2a430(0x2e6)&&_0x50c9bc[_0xf2a430(0x32f)]&&(_0x50c9bc[_0xf2a430(0x32f)]=_0x50c9bc[_0xf2a430(0x32f)]+_0x131d85[_0xf2a430(0x1f6)]),Object[_0xf2a430(0x27a)](_0x50c9bc)[_0xf2a430(0x1cc)](function(_0x52ba62){var _0x230184=_0xf2a430,_0x2ab56e=_0x52ba62[0x0],_0x1ba69d=_0x52ba62[0x1];typeof _0x1ba69d==_0x230184(0x2ab)&&(_0x50c9bc[_0x2ab56e]=_0x1ba69d['replace'](/url\(#(.*)\)/,'url(#$1'[_0x230184(0x22e)](_0x131d85[_0x230184(0x1f6)],')')));})),_0x50c9bc;}function Ce(_0x2b5a4e,_0x244d67){var _0x101a63=_0x16b0a0,_0x44387f,_0x5587e0=_0x244d67[_0x101a63(0x2c0)];return!_0x5587e0||_0x5587e0[_0x101a63(0x281)]===0x0?_0x2b5a4e:_0x2b5a4e[_0x101a63(0x2dd)]===_0x101a63(0x22f)&&(!((_0x44387f=_0x2b5a4e['children'])===null||_0x44387f===void 0x0)&&_0x44387f['length'])?g(g({},_0x2b5a4e),{'children':_0x2b5a4e[_0x101a63(0x1b4)][_0x101a63(0x1b7)](function(_0x168451){var _0x6757ff=_0x101a63;return typeof _0x168451[_0x6757ff(0x2f3)]['id']==_0x6757ff(0x2ab)&&_0x5587e0&&_0x5587e0[_0x6757ff(0x2bd)](_0x168451[_0x6757ff(0x2f3)]['id'])?g(g({},_0x168451),{'attrs':g(g({},_0x168451[_0x6757ff(0x2f3)]),{'id':_0x168451[_0x6757ff(0x2f3)]['id']+_0x244d67['idSuffix']})}):_0x168451;})}):_0x2b5a4e;}function ge(){var _0x4136fc=_0x16b0a0;return Math[_0x4136fc(0x20f)]()[_0x4136fc(0x26c)](0x24)[_0x4136fc(0x23e)](0x2,0x8);}_[_0x16b0a0(0x264)]=_0x16b0a0(0x279);var fe={'tag':_0x16b0a0(0x1ff),'attrs':{'xmlns':_0x16b0a0(0x2c6),'fill':_0x16b0a0(0x321),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x16b0a0(0x254),'attrs':{'fill':'currentColor','d':_0x16b0a0(0x229),'fillRule':_0x16b0a0(0x302),'clipRule':_0x16b0a0(0x302)}}]},B=d['forwardRef'](function(_0x33cc0b,_0x2165b5){var _0x5d033c=_0x16b0a0;return d[_0x5d033c(0x1e0)](_,Object[_0x5d033c(0x243)]({},_0x33cc0b,{'id':_0x5d033c(0x1fc),'ref':_0x2165b5,'icon':fe}));});B['displayName']=_0x16b0a0(0x1f7);var pe={'tag':_0x16b0a0(0x1ff),'attrs':{'xmlns':_0x16b0a0(0x2c6),'fill':_0x16b0a0(0x321),'viewBox':_0x16b0a0(0x316),'width':_0x16b0a0(0x2f9),'height':_0x16b0a0(0x2f9)},'children':[{'tag':_0x16b0a0(0x254),'attrs':{'stroke':_0x16b0a0(0x1db),'d':_0x16b0a0(0x226),'strokeLinecap':_0x16b0a0(0x23a),'strokeLinejoin':_0x16b0a0(0x23a),'strokeWidth':1.33}},{'tag':_0x16b0a0(0x254),'attrs':{'stroke':_0x16b0a0(0x1db),'d':_0x16b0a0(0x1b9),'strokeLinecap':_0x16b0a0(0x23a),'strokeLinejoin':'round','strokeWidth':1.33}}]},F=d[_0x16b0a0(0x2f0)](function(_0x3c2b56,_0x3347d0){var _0x30e334=_0x16b0a0;return d[_0x30e334(0x1e0)](_,Object[_0x30e334(0x243)]({},_0x3c2b56,{'id':'close-small-single','ref':_0x3347d0,'icon':pe}));});F[_0x16b0a0(0x264)]=_0x16b0a0(0x289);var he={'tag':_0x16b0a0(0x1ff),'attrs':{'xmlns':_0x16b0a0(0x2c6),'fill':_0x16b0a0(0x321),'viewBox':'0\x200\x2016\x2016','width':_0x16b0a0(0x2f9),'height':_0x16b0a0(0x2f9)},'children':[{'tag':_0x16b0a0(0x254),'attrs':{'fill':'currentColor','d':_0x16b0a0(0x1d2)}},{'tag':_0x16b0a0(0x254),'attrs':{'fill':'currentColor','d':_0x16b0a0(0x31c)}},{'tag':_0x16b0a0(0x254),'attrs':{'fill':_0x16b0a0(0x1db),'d':_0x16b0a0(0x252),'fillRule':_0x16b0a0(0x302),'clipRule':_0x16b0a0(0x302)}}]},Y=d[_0x16b0a0(0x2f0)](function(_0x57da94,_0x48b5a5){var _0x5a65a9=_0x16b0a0;return d[_0x5a65a9(0x1e0)](_,Object['assign']({},_0x57da94,{'id':_0x5a65a9(0x1b3),'ref':_0x48b5a5,'icon':he}));});Y[_0x16b0a0(0x264)]=_0x16b0a0(0x1ba);var me={'tag':_0x16b0a0(0x1ff),'attrs':{'xmlns':_0x16b0a0(0x2c6),'fill':_0x16b0a0(0x321),'viewBox':_0x16b0a0(0x2de),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x16b0a0(0x1ed)},'children':[{'tag':'path','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':_0x16b0a0(0x23a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x16b0a0(0x22f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x16b0a0(0x1c7)},'children':[{'tag':_0x16b0a0(0x254),'attrs':{'fill':_0x16b0a0(0x272),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x16b0a0(0x1c7)]},q=d[_0x16b0a0(0x2f0)](function(_0x3f6529,_0x4db0c4){var _0x538d4a=_0x16b0a0;return d[_0x538d4a(0x1e0)](_,Object['assign']({},_0x3f6529,{'id':_0x538d4a(0x284),'ref':_0x4db0c4,'icon':me}));});q['displayName']=_0x16b0a0(0x333);var xe={'tag':_0x16b0a0(0x1ff),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x16b0a0(0x321),'viewBox':'0\x200\x2017\x2016','width':_0x16b0a0(0x2f9),'height':_0x16b0a0(0x2f9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x16b0a0(0x254),'attrs':{'stroke':'currentColor','d':_0x16b0a0(0x30f),'strokeLinecap':_0x16b0a0(0x23a),'strokeLinejoin':_0x16b0a0(0x23a),'strokeWidth':1.2}}]},{'tag':_0x16b0a0(0x22f),'attrs':{},'children':[{'tag':_0x16b0a0(0x29d),'attrs':{'id':_0x16b0a0(0x2cf)},'children':[{'tag':_0x16b0a0(0x254),'attrs':{'fill':_0x16b0a0(0x272),'d':_0x16b0a0(0x1c1),'transform':_0x16b0a0(0x324)}}]}]}],'defIds':[_0x16b0a0(0x2cf)]},V=d['forwardRef'](function(_0x16fa37,_0x43717b){var _0x3fed7d=_0x16b0a0;return d['createElement'](_,Object['assign']({},_0x16fa37,{'id':_0x3fed7d(0x290),'ref':_0x43717b,'icon':xe}));});V[_0x16b0a0(0x264)]=_0x16b0a0(0x2fe);function W(_0x2220a7){var _0x1a2508=_0x16b0a0,_0x4c46e7,_0x34d0c2;const {mcpCoreConfig:_0x1cd484,onSave:_0xba94e,loading:_0x501eed=!0x1,config:_0x1802e0,connectionStatus$:_0x1565ff,connectionError$:_0x297b9a,currentApiKey$:_0x58335d,currentSessionId$:_0x20fdff}=_0x2220a7,_0x176232=v[_0x1a2508(0x21d)](l[_0x1a2508(0x24a)]),_0x42ae55=v[_0x1a2508(0x20d)](_0x1565ff,s[_0x1a2508(0x232)][_0x1a2508(0x282)]),_0x290905=v[_0x1a2508(0x20d)](_0x297b9a,s[_0x1a2508(0x2e8)]['NONE']),_0x5c687c=v[_0x1a2508(0x20d)](_0x20fdff,''),_0x3f99d9=v['useObservable'](_0x58335d,''),[_0x52567c,_0x4cee95]=d['useState'](_0x3f99d9||''),_0x2b0d7f=!0x0,_0x56d8de=_0x1802e0['showDeveloperTools']&&_0x1cd484[_0x1a2508(0x204)]&&(_0x1cd484[_0x1a2508(0x204)]['includes'](_0x1a2508(0x2d2))||_0x1cd484[_0x1a2508(0x204)]['includes']('univer.ai')),_0x3002da=(_0x4c46e7=_0x1cd484[_0x1a2508(0x204)])==null?void 0x0:_0x4c46e7[_0x1a2508(0x2bd)]('univer.plus'),_0x28360d=(_0x34d0c2=_0x1cd484[_0x1a2508(0x204)])==null?void 0x0:_0x34d0c2[_0x1a2508(0x2bd)](_0x1a2508(0x2ec)),_0x10c9bf=_0x3002da?_0x1a2508(0x29b):'https://console.univer.ai',_0x12d702=_0x1802e0['showDeveloperTools']&&(_0x3002da||_0x28360d),[_0x9c0a51,_0x423719]=d[_0x1a2508(0x21e)](!_0x52567c[_0x1a2508(0x1a6)]()),_0x7b16be=(_0x3e638b,_0x3472a3)=>{var _0x3083d6=_0x1a2508;if(_0x3472a3===s[_0x3083d6(0x2e8)][_0x3083d6(0x2ca)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x3e638b){case s['MCPConnectionStatus'][_0x3083d6(0x222)]:return _0x3083d6(0x2cc);case s['MCPConnectionStatus'][_0x3083d6(0x1bb)]:case s[_0x3083d6(0x232)][_0x3083d6(0x31b)]:return _0x3083d6(0x269);case s[_0x3083d6(0x232)]['FAILED']:return _0x3083d6(0x2af);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x47d3f0=(_0x260090,_0x52a00f)=>{var _0x3b64e8=_0x1a2508;if(_0x52a00f===s[_0x3b64e8(0x2e8)][_0x3b64e8(0x2ca)])return'univer-bg-red-500';switch(_0x260090){case s[_0x3b64e8(0x232)][_0x3b64e8(0x222)]:return _0x3b64e8(0x2fc);case s['MCPConnectionStatus'][_0x3b64e8(0x1bb)]:case s[_0x3b64e8(0x232)][_0x3b64e8(0x31b)]:return _0x3b64e8(0x1ee);case s[_0x3b64e8(0x232)][_0x3b64e8(0x32c)]:return _0x3b64e8(0x1ca);default:return _0x3b64e8(0x24b);}},_0x528f3f=_0x510873=>{var _0x44bbdc=_0x1a2508;switch(_0x510873){case s[_0x44bbdc(0x232)]['CONNECTED']:return _0x176232['t']('mcpConfig.connectionStatus.connected');case s[_0x44bbdc(0x232)][_0x44bbdc(0x1bb)]:return _0x176232['t'](_0x44bbdc(0x2d0));case s[_0x44bbdc(0x232)]['FAILED']:return _0x176232['t'](_0x44bbdc(0x23b));case s[_0x44bbdc(0x232)][_0x44bbdc(0x31b)]:return _0x176232['t'](_0x44bbdc(0x201));default:return _0x176232['t'](_0x44bbdc(0x1bf));}},_0x4022ad=_0x5f139d=>{var _0x56ea0c=_0x1a2508;switch(_0x5f139d){case s[_0x56ea0c(0x2e8)][_0x56ea0c(0x2ca)]:return _0x176232['t'](_0x56ea0c(0x1eb));case s[_0x56ea0c(0x2e8)][_0x56ea0c(0x1e2)]:return _0x176232['t'](_0x56ea0c(0x24c));case s['MCPConnectionError'][_0x56ea0c(0x1b1)]:return _0x176232['t']('mcpConfig.connectionError.networkError');case s['MCPConnectionError'][_0x56ea0c(0x32e)]:return _0x176232['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x2c4039=d[_0x1a2508(0x1ab)](()=>{var _0x49f575=_0x1a2508;const _0x2fd6c6={..._0x1cd484,'apiKey':_0x52567c[_0x49f575(0x1a6)](),'enableAuth':_0x2b0d7f};_0xba94e(_0x2fd6c6);},[_0x1cd484,_0x52567c,_0x2b0d7f,_0xba94e]),_0x102761=_0x52567c[_0x1a2508(0x1a6)]()[_0x1a2508(0x281)]>0x0;return t[_0x1a2508(0x266)]('div',{'className':_0x1a2508(0x2a9),'children':[t['jsx'](_0x1a2508(0x26f),{'className':_0x1a2508(0x1fa),'children':t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x205),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x206),'children':t['jsx'](_0x1a2508(0x274),{'className':'univer-text-white','children':'⚙'})}),t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'children':t['jsx']('p',{'className':_0x1a2508(0x2ef),'children':_0x176232['t']('mcpConfig.description')})})]})}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x1d1),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x28f)+_0x7b16be(_0x42ae55,_0x290905)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':t[_0x1a2508(0x266)]('div',{'className':_0x1a2508(0x230),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x2e5)+_0x47d3f0(_0x42ae55,_0x290905)+_0x1a2508(0x248)}),t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':_0x1a2508(0x2ac),'children':_0x528f3f(_0x42ae55)})]})}),_0x290905!==s[_0x1a2508(0x2e8)][_0x1a2508(0x2f8)]&&(_0x42ae55===s[_0x1a2508(0x232)][_0x1a2508(0x32c)]||_0x290905===s[_0x1a2508(0x2e8)][_0x1a2508(0x2ca)])&&t['jsx'](_0x1a2508(0x26f),{'className':_0x1a2508(0x1ea),'children':t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x1c4),'children':[t['jsx'](_0x1a2508(0x274),{'className':_0x1a2508(0x1dc),'children':'⚠️'}),t['jsx']('p',{'className':_0x1a2508(0x1bc),'children':_0x4022ad(_0x290905)})]})})]}),t[_0x1a2508(0x21b)]('div',{'className':_0x1a2508(0x288),'children':t['jsxs'](_0x1a2508(0x26f),{'className':_0x1a2508(0x1ae),'children':[t[_0x1a2508(0x266)]('div',{'className':'univer-space-y-2','children':[t['jsxs'](_0x1a2508(0x320),{'className':_0x1a2508(0x293),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'children':'🔑'}),'\x20',_0x176232['t']('mcpConfig.apiKey'),t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':_0x1a2508(0x2c8),'children':'*'}),_0x56d8de&&t[_0x1a2508(0x21b)]('a',{'href':_0x1a2508(0x228),'onClick':()=>_0x423719(!0x0),'className':_0x1a2508(0x265),'title':_0x176232['t']('mcpConfig.apiApplyInfo.title'),'children':t[_0x1a2508(0x21b)](Y,{})})]}),t[_0x1a2508(0x21b)](S[_0x1a2508(0x2b8)],{'type':_0x1a2508(0x32d),'placeholder':_0x176232['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x52567c,'onChange':_0x4cee95,'disabled':_0x501eed,'autoComplete':_0x1a2508(0x225)}),t['jsx']('p',{'className':_0x1a2508(0x1d7),'children':_0x176232['t'](_0x1a2508(0x256))})]}),_0x56d8de&&_0x9c0a51&&t['jsxs'](_0x1a2508(0x26f),{'className':_0x1a2508(0x294),'children':[t[_0x1a2508(0x21b)]('a',{'href':'javascript:void(0)','onClick':()=>_0x423719(!0x1),'className':_0x1a2508(0x328),'title':_0x1a2508(0x2f2),'children':t['jsx'](F,{})}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x311),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x238),'children':t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':_0x1a2508(0x287),'children':'🚀'})}),t['jsxs'](_0x1a2508(0x26f),{'className':_0x1a2508(0x220),'children':[t[_0x1a2508(0x21b)]('h4',{'className':_0x1a2508(0x1d5),'children':_0x176232['t'](_0x1a2508(0x2c5))}),t[_0x1a2508(0x21b)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x176232['t'](_0x1a2508(0x1de))}),t[_0x1a2508(0x21b)]('div',{'className':_0x1a2508(0x2b6),'children':_0x12d702&&t[_0x1a2508(0x266)]('a',{'href':_0x10c9bf,'target':_0x1a2508(0x1f2),'rel':'noopener\x20noreferrer','className':_0x1a2508(0x2db),'children':[t[_0x1a2508(0x21b)]('span',{'children':'🤖'}),_0x176232['t'](_0x1a2508(0x200)),t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':_0x1a2508(0x27b),'children':'↗'})]})}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x176232['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x1802e0[_0x1a2508(0x235)]&&t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[t[_0x1a2508(0x266)]('h4',{'className':_0x1a2508(0x1fb),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'children':'🔗'}),'\x20',_0x176232['t'](_0x1a2508(0x2e4))]}),t[_0x1a2508(0x266)]('div',{'className':_0x1a2508(0x1c5),'children':[t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-space-y-3','children':[t[_0x1a2508(0x21b)]('p',{'className':_0x1a2508(0x1df),'children':_0x176232['t']('mcpConfig.configInstructions')}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-space-y-2','children':[t[_0x1a2508(0x21b)]('div',{'className':_0x1a2508(0x296),'children':_0x176232['t'](_0x1a2508(0x25b))}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x230),'children':[t[_0x1a2508(0x21b)]('span',{'className':_0x1a2508(0x332),'children':'1'}),_0x176232['t'](_0x1a2508(0x203))]}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':_0x1a2508(0x332),'children':'2'}),_0x176232['t']('mcpConfig.configStep2')]}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x230),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':_0x1a2508(0x332),'children':'3'}),_0x176232['t'](_0x1a2508(0x1b0))]})]})]})]}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-space-y-2','children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x1a2508(0x1fe)}),t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x209),'children':t[_0x1a2508(0x21b)](_0x1a2508(0x22d),{'className':_0x1a2508(0x2bc),'children':'{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id='+_0x5c687c+_0x1a2508(0x253)+(_0x52567c||_0x1a2508(0x20e))+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),t[_0x1a2508(0x266)]('div',{'className':_0x1a2508(0x1e6),'children':[t[_0x1a2508(0x21b)]('div',{'className':_0x1a2508(0x296),'children':_0x176232['t'](_0x1a2508(0x244))}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x1fd),'children':[t['jsxs'](_0x1a2508(0x26f),{'className':_0x1a2508(0x1f4),'children':[t[_0x1a2508(0x21b)]('div',{'className':_0x1a2508(0x317)}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x20a),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x1c0),'children':'univer_session_id:'}),t['jsx'](_0x1a2508(0x26f),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x176232['t']('mcpConfig.sessionIdDescription')})]})]}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x1f4),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x317)}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-min-w-0\x20univer-flex-1','children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x1a2508(0x262)}),t[_0x1a2508(0x21b)]('div',{'className':_0x1a2508(0x1d7),'children':_0x176232['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),t['jsx'](S[_0x1a2508(0x280)],{'onClick':_0x2c4039,'disabled':!_0x102761||_0x501eed,'className':_0x1a2508(0x2c7),'children':_0x501eed?t[_0x1a2508(0x266)](_0x1a2508(0x274),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[t['jsx'](_0x1a2508(0x274),{'children':'⟲'}),_0x176232['t']('mcpConfig.saving')]}):t[_0x1a2508(0x266)]('span',{'className':_0x1a2508(0x230),'children':[t['jsx'](B,{}),_0x176232['t']('mcpConfig.save')]})}),t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x1e3),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),t[_0x1a2508(0x266)]('div',{'className':_0x1a2508(0x2b4),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x2ad),'children':_0x1a2508(0x1ef)}),t['jsxs'](_0x1a2508(0x26f),{'children':['•',_0x176232['t']('mcpConfig.note1')]}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'children':['•',_0x176232['t']('mcpConfig.note2')]})]})]})})]})})]});}const y=_0x16b0a0(0x1d6),G={'showDeveloperTools':!0x1,'showStatus':!0x0};var Se=Object['getOwnPropertyDescriptor'],Pe=(_0x14063d,_0x3e7bac,_0x191d32,_0x566e16)=>{var _0x87a8d2=_0x16b0a0;for(var _0x2abd74=_0x566e16>0x1?void 0x0:_0x566e16?Se(_0x3e7bac,_0x191d32):_0x3e7bac,_0x2c7951=_0x14063d[_0x87a8d2(0x281)]-0x1,_0x4d0d22;_0x2c7951>=0x0;_0x2c7951--)(_0x4d0d22=_0x14063d[_0x2c7951])&&(_0x2abd74=_0x4d0d22(_0x2abd74)||_0x2abd74);return _0x2abd74;},f=(_0x2e7b44,_0x903387)=>(_0x47931b,_0x4cc801)=>_0x903387(_0x47931b,_0x4cc801,_0x2e7b44);const D=_0x16b0a0(0x28a),k=_0x16b0a0(0x26e);function _0x2aa2(){var _0x3ae80f=['MessageType','BehaviorSubject','currentColor','univer-flex-shrink-0\x20univer-text-red-500','点击连接\x20MCP','mcpConfig.apiApplyInfo.description','univer-text-xs\x20univer-text-gray-600','createElement','next','SESSION_ID_OCCUPIED','univer-flex\x20univer-gap-3','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','mcpStatus.connecting','univer-space-y-3','MCP_UI_PLUGIN','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','_loadStoredApiKey','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.connectionError.unauthorized','Invalid\x20configuration','url(#off-line-icon_clip0_910_343)','univer-bg-blue-500','Configuration\x20Notes:','1876987OfBkxo','API\x20密钥长度至少需要\x2010\x20位','_blank','mask','univer-flex\x20univer-items-start\x20univer-gap-3','MCP\x20连接失败','idSuffix','CheckMarkIcon','MCPConnectionController','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','check-mark-icon','univer-space-y-2','MCP\x20Configuration','svg','mcpConfig.apiApplyInfo.univerAiLabel','mcpConfig.connectionStatus.retrying','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.configStep1','mcpServerUrl','univer-flex\x20univer-items-center\x20univer-gap-3','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Max\x20Retries','apiKey','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-min-w-0\x20univer-flex-1','indexOf','Univer\x20AI\x20Console','useObservable','<API_KEY>','random','连接中...','connectionStatus$','showConfigPanel','open','IConfigService','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Max\x20Retries\x20Exceeded','启用身份验证以获得安全连接','IUIPartsService','Retrying...','merge','jsx','BuiltInUIPart','useDependency','useState','Disposable','univer-flex-1','_injector','CONNECTED','网络连接错误,请检查您的网络连接','_initStatusComponent','off','M5.21243\x205.62036L11.8791\x2012.287','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','javascript:void(0)','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','removeItem','clsx','Bearer\x20','pre','concat','defs','univer-flex\x20univer-items-center\x20univer-gap-2','Click\x20to\x20configure\x20MCP','MCPConnectionStatus','Injector','IDialogService','showDeveloperTools','Plugin','replace','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','_localStorageService','round','mcpConfig.connectionStatus.failed','_menuManagerService','Enter\x20your\x20API\x20key','substring','1343631qydGHY','UniverMCPPlugin','API\x20Key','MCPConfigPanel','assign','mcpConfig.configParameters','BUTTON','点击配置\x20MCP','MCPStatusDisplay','\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','register','LocaleService','univer-bg-gray-500','mcpConfig.connectionError.sessionOccupied','current','873716xBZuOg','MCP\x20Connection\x20Failed','subscribe','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','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','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','path','_handleConfigure','mcpConfig.apiKeyHint','mcpConfig.validation.invalidConfig','MenuIcon','_apiKey$','MCP\x20重连中...','mcpConfig.configStepTitle','Connecting...','_logService','connectionError$','配置参数:','_validateConfig','配置无效','Authorization:','apply','displayName','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','jsxs','MCP\x20Disconnected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','mcp-ui.command.openConfigPanel','toString','HEADER_MENU','mcp-config-dialog','div','zhCN','colorChannel1','white','MCP\x20Connected','span','COMMAND','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Saving...','配置步骤:','UniverIcon','entries','univer-text-gray-400','超出最大重试次数,请稍后再试','MCPUIMenuController','MCP\x20Unknown\x20Status','mcpStatus.retrying','Button','length','DISCONNECTED','Copy\x20the\x20JSON\x20configuration\x20below','off-line-icon','hasOwnProperty','UniverMCPUIPlugin','univer-text-blue-600','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','CloseSmallSingle','mcp.apiKey','extend','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','最大重试次数','965eDbvWa','\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','on-line-icon','What\x20is\x20API\x20Key?','MCP:\x20Unauthorized','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','_config$','IMenuManagerService','showStatus','28020neQokf','https://console.univer.plus','_initConfigSync','clipPath','_initializeCommands','pluginName','getCurrentConfig','_mcpConnectionController','mcpStatus.disconnected','enUS','MCP:\x20网络错误','icon','CommandType','_dialogService','MCP\x20Client\x20Configuration','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','5688848axbrRJ','string','univer-text-sm\x20univer-font-medium','univer-font-medium','get','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Tooltip','mcpConfig.configError','MCP\x20已断开','subscribeConfigValue$','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','API\x20密钥不能为空','univer-flex\x20univer-flex-wrap\x20univer-gap-2','MCPConnectionUIController','Input','IMessageService','未连接','mcpStatus.unknown','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','includes','function','call','defIds','Configuration\x20Steps:','url(#$1','20872152NEnpzd','MenuItemType','mcpConfig.apiApplyInfo.title','http://www.w3.org/2000/svg','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer-text-red-500','_uiPartsService','UNAUTHORIZED','mcpStatus.failed','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','_messageService','Enable\x20Authentication','on-line-icon_clip0_910_349','mcpConfig.connectionStatus.connecting','mcpConfig.title','univer.plus','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','mcpConfig.configSaved','请输入您的\x20API\x20密钥','API\x20密钥无效,请检查密钥是否正确','_handleConfigSave','registerCommand','MCP:\x20未授权','value','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','setItem','tag','0\x200\x2016\x2016','univer-flex\x20univer-items-center','API\x20key\x20with\x20Bearer\x20prefix.','将配置添加到您的\x20MCP\x20客户端设置文件中','validateApiKey','Inject','mcpConfig.connectionInfo','\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','use','MCP:\x20超出最大重试次数','MCPConnectionError','Save\x20Configuration','MCP\x20Retrying...','OpenMCPConfigPanelCommand','univer.ai','_config','MCPConfigUIController','univer-text-sm\x20univer-text-gray-500','forwardRef','Get\x20your\x20API\x20key\x20in\x20seconds','Close','attrs','_loading$','defineProperty','push','12OXmImS','NONE','1em','会话ID','useRef','univer-bg-green-500','Disconnected','OnLineIcon','connectInjector','\x20-\x20','getOwnPropertySymbols','evenodd','bottom','_localeService','error','_createConfigPanelComponent','_connectionController','getItem','warn','setConfig','ICommandService','mcpStatus.maxRetriesExceeded','RibbonStartGroup','_componentManager','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','univer-text-gray-500','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','registerComponent','isValid','MCP:\x20Network\x20Error','您的\x20API\x20密钥将在此浏览器中本地存储','0\x200\x2017\x2017','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','811492MqAmgS','prototype','mergeMenu','RETRYING','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','getOwnPropertyDescriptor','_configService','mcpStatus.unauthorized','label','none','_initializeMenus','univerjs-icon\x20univerjs-icon-','translate(.97)','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MCP:\x20Session\x20ID\x20Occupied','symbol','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','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','重启您的\x20MCP\x20客户端以使配置生效','MCP:\x20会话\x20ID\x20已被占用','FAILED','text','MAX_RETRIES_EXCEEDED','xlink:href','MCP\x20配置','API\x20密钥','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','OffLineIcon','mcpStatus.connected','几秒钟内获取您的\x20API\x20密钥','ILocalStorageService','trim','将以下配置添加到您的\x20MCP\x20客户端设置中:','Success','已连接','Configuration\x20Parameters:','useCallback','配置保存失败','API\x20key\x20is\x20required','univer-space-y-5','Connected','mcpConfig.configStep3','NETWORK_ERROR','ISocketService','help-single','children','_commandService','MCP_PLUGIN_CONFIG_KEY','map','Click\x20to\x20connect\x20MCP','M5.21243\x2012.287L11.8791\x205.62036','HelpSingle','CONNECTING','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','errorMessage','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcpConfig.connectionStatus.disconnected','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','M0\x200H16V16H0z','_mcpCoreConfig$','_registerComponent','univer-flex\x20univer-items-start\x20univer-gap-2','univer-space-y-4','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','off-line-icon_clip0_910_343','className','add','univer-bg-red-500','getConfig','forEach','show','_initAutoConnect','propertyIsEnumerable','__setCustomHeaders','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','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','disposeWithMe','Error','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcp-ui.config','univer-text-xs\x20univer-text-gray-500','会话\x20ID\x20已被占用,请稍后再试'];_0x2aa2=function(){return _0x3ae80f;};return _0x2aa2();}exports[_0x16b0a0(0x2ee)]=class extends l[_0x16b0a0(0x21f)]{constructor(_0x3c5236,_0x1fc71c,_0x388938,_0x339bc9,_0x27f6e5,_0x5c008c,_0x46c0f4,_0x31d406,_0x1edde9,_0x250dc4){var _0x2f2cf0=_0x16b0a0;super(),I(this,_0x2f2cf0(0x2f4),new N[(_0x2f2cf0(0x1da))](!0x1)),I(this,_0x2f2cf0(0x1c2),new N[(_0x2f2cf0(0x1da))]({})),I(this,_0x2f2cf0(0x297),new N[(_0x2f2cf0(0x1da))]({})),I(this,'_apiKey$',new N[(_0x2f2cf0(0x1da))]('')),I(this,_0x2f2cf0(0x2d7),async _0x3be7c3=>{var _0x475563=_0x2f2cf0,_0x5b299a,_0x476fe4;this['_loading$'][_0x475563(0x1e1)](!0x0);try{const _0x3cd7e4=await this[_0x475563(0x260)](_0x3be7c3);if(!_0x3cd7e4['isValid']){this[_0x475563(0x2cd)]['show']({'type':S['MessageType'][_0x475563(0x1d4)],'content':_0x3cd7e4[_0x475563(0x1bd)]||this[_0x475563(0x304)]['t'](_0x475563(0x257))});return;}_0x3be7c3[_0x475563(0x208)]?await this['_localStorageService'][_0x475563(0x2dc)](D,_0x3be7c3['apiKey'][_0x475563(0x1a6)]()):await this[_0x475563(0x239)][_0x475563(0x22a)](D),this[_0x475563(0x259)][_0x475563(0x1e1)](((_0x5b299a=_0x3be7c3[_0x475563(0x208)])==null?void 0x0:_0x5b299a[_0x475563(0x1a6)]())||''),this[_0x475563(0x2a1)]['__setCustomHeaders']({'Authorization':_0x475563(0x22c)+((_0x476fe4=_0x3be7c3['apiKey'])==null?void 0x0:_0x476fe4[_0x475563(0x1a6)]())}),this[_0x475563(0x2cd)][_0x475563(0x1cd)]({'type':S[_0x475563(0x1d9)][_0x475563(0x1a8)],'content':this[_0x475563(0x304)]['t'](_0x475563(0x2d4))}),setTimeout(()=>{var _0x2b663e=_0x475563;this[_0x2b663e(0x2a7)]['close'](k);},0x320);}catch(_0x50ccf7){this[_0x475563(0x25d)][_0x475563(0x305)](_0x475563(0x1e4),_0x50ccf7),this[_0x475563(0x2cd)]['show']({'type':S[_0x475563(0x1d9)][_0x475563(0x1d4)],'content':this[_0x475563(0x304)]['t'](_0x475563(0x2b1))});}finally{this['_loading$'][_0x475563(0x1e1)](!0x1);}}),(this[_0x2f2cf0(0x221)]=_0x3c5236,this[_0x2f2cf0(0x2c9)]=_0x1fc71c,this[_0x2f2cf0(0x31e)]=_0x388938,this[_0x2f2cf0(0x239)]=_0x339bc9,this['_dialogService']=_0x27f6e5,this[_0x2f2cf0(0x2cd)]=_0x5c008c,this[_0x2f2cf0(0x30e)]=_0x46c0f4,this[_0x2f2cf0(0x304)]=_0x31d406,this['_logService']=_0x1edde9,this[_0x2f2cf0(0x2a1)]=_0x250dc4,this[_0x2f2cf0(0x29c)](),this[_0x2f2cf0(0x1e9)](),this[_0x2f2cf0(0x1c3)]());}[_0x16b0a0(0x212)](){var _0x46cdb3=_0x16b0a0;const _0x1a817c=this[_0x46cdb3(0x31e)][_0x46cdb3(0x1cb)](y);_0x1a817c!=null&&_0x1a817c['showDeveloperTools']&&this[_0x46cdb3(0x2a7)][_0x46cdb3(0x213)]({'id':k,'title':{'title':this[_0x46cdb3(0x304)]['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{this['_dialogService']['close'](k);}});}[_0x16b0a0(0x2a0)](){var _0x281d9a=_0x16b0a0;return this[_0x281d9a(0x1c2)]['value'];}[_0x16b0a0(0x1c3)](){var _0x21ca1b=_0x16b0a0;this[_0x21ca1b(0x1d3)](this[_0x21ca1b(0x30e)][_0x21ca1b(0x249)](_0x21ca1b(0x242),this[_0x21ca1b(0x306)]()));}[_0x16b0a0(0x306)](){var _0x50539c=_0x16b0a0;return v[_0x50539c(0x2ff)](()=>{var _0x5f5aca=_0x50539c,_0x4f83a9,_0x41b397,_0x2c1268;return t[_0x5f5aca(0x21b)](W,{'config':this['_config$'][_0x5f5aca(0x2da)],'mcpCoreConfig':this[_0x5f5aca(0x1c2)][_0x5f5aca(0x2da)],'currentApiKey$':this[_0x5f5aca(0x259)],'onSave':this[_0x5f5aca(0x2d7)],'loading':this[_0x5f5aca(0x2f4)][_0x5f5aca(0x2da)],'connectionStatus$':(_0x4f83a9=this[_0x5f5aca(0x2a1)])==null?void 0x0:_0x4f83a9[_0x5f5aca(0x211)],'connectionError$':(_0x41b397=this['_mcpConnectionController'])==null?void 0x0:_0x41b397[_0x5f5aca(0x25e)],'currentSessionId$':(_0x2c1268=this['_mcpConnectionController'])==null?void 0x0:_0x2c1268['sessionId$']});},this['_injector']);}[_0x16b0a0(0x29c)](){var _0x5c3903=_0x16b0a0;this[_0x5c3903(0x1d3)](this[_0x5c3903(0x31e)][_0x5c3903(0x2b3)](s['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0x2ad0d3=>{var _0x194d03=_0x5c3903;this[_0x194d03(0x1c2)][_0x194d03(0x1e1)](_0x2ad0d3||{});}));const _0xedb2f0=this['_configService']['getConfig'](s[_0x5c3903(0x1b6)]);this[_0x5c3903(0x1c2)][_0x5c3903(0x1e1)](_0xedb2f0||{}),this['disposeWithMe'](this[_0x5c3903(0x31e)][_0x5c3903(0x2b3)](y)[_0x5c3903(0x250)](_0x7f6298=>{var _0x100172=_0x5c3903;this['_config$'][_0x100172(0x1e1)](_0x7f6298||{});}));const _0x10ceb1=this[_0x5c3903(0x31e)][_0x5c3903(0x1cb)](y);this[_0x5c3903(0x297)][_0x5c3903(0x1e1)](_0x10ceb1||{});}async['_loadStoredApiKey'](){var _0x11e506=_0x16b0a0;const _0x3a9e49=this['_configService']['getConfig'](y);if(!(_0x3a9e49!=null&&_0x3a9e49['showDeveloperTools']))return;const _0x4dff91=await this[_0x11e506(0x239)][_0x11e506(0x308)](D);_0x4dff91&&(this[_0x11e506(0x2a1)][_0x11e506(0x1d0)]({'Authorization':'Bearer\x20'+_0x4dff91}),this[_0x11e506(0x259)][_0x11e506(0x1e1)](_0x4dff91));}async['_validateConfig'](_0x5b0f21){var _0x10ce5d=_0x16b0a0;if(!_0x5b0f21[_0x10ce5d(0x208)]||_0x5b0f21[_0x10ce5d(0x208)][_0x10ce5d(0x1a6)]()[_0x10ce5d(0x281)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x10ce5d(0x304)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x5b0f21[_0x10ce5d(0x208)][_0x10ce5d(0x1a6)]()[_0x10ce5d(0x281)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x10ce5d(0x304)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x1e30c3=await this['_injector'][_0x10ce5d(0x2ae)](s[_0x10ce5d(0x1f8)])[_0x10ce5d(0x2e2)](_0x5b0f21[_0x10ce5d(0x208)][_0x10ce5d(0x1a6)]());return _0x1e30c3[_0x10ce5d(0x313)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x1e30c3['error']||this['_localeService']['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x3224bf){return console[_0x10ce5d(0x309)](_0x10ce5d(0x227),_0x3224bf),{'isValid':!0x0};}}},exports[_0x16b0a0(0x2ee)]=Pe([f(0x0,l[_0x16b0a0(0x2e3)](l['Injector'])),f(0x1,v['IUIPartsService']),f(0x2,l[_0x16b0a0(0x214)]),f(0x3,l[_0x16b0a0(0x1a5)]),f(0x4,v[_0x16b0a0(0x234)]),f(0x5,v[_0x16b0a0(0x2b9)]),f(0x6,l['Inject'](v['ComponentManager'])),f(0x7,l[_0x16b0a0(0x2e3)](l['LocaleService'])),f(0x8,l['ILogService']),f(0x9,l[_0x16b0a0(0x2e3)](s[_0x16b0a0(0x1f8)]))],exports['MCPConfigUIController']);const j={'id':_0x16b0a0(0x26b),'type':l[_0x16b0a0(0x2a6)][_0x16b0a0(0x275)],'handler':async(_0x550d24,_0x5c34ee)=>(_0x550d24[_0x16b0a0(0x2ae)](exports[_0x16b0a0(0x2ee)])['showConfigPanel'](),!0x0)};function Z(_0x308997,_0x3b391f){var _0x1e8322=_0x16b0a0;switch(_0x308997){case s[_0x1e8322(0x232)][_0x1e8322(0x282)]:return _0x1e8322(0x2a2);case s[_0x1e8322(0x232)][_0x1e8322(0x1bb)]:return _0x1e8322(0x1e5);case s[_0x1e8322(0x232)][_0x1e8322(0x222)]:return _0x1e8322(0x334);case s[_0x1e8322(0x232)][_0x1e8322(0x32c)]:switch(_0x3b391f){case s[_0x1e8322(0x2e8)][_0x1e8322(0x2ca)]:return _0x1e8322(0x31f);case s[_0x1e8322(0x2e8)][_0x1e8322(0x1e2)]:return'mcpStatus.sessionOccupied';case s[_0x1e8322(0x2e8)]['NETWORK_ERROR']:return'mcpStatus.networkError';case s[_0x1e8322(0x2e8)]['MAX_RETRIES_EXCEEDED']:return _0x1e8322(0x30c);default:return _0x1e8322(0x2cb);}case s['MCPConnectionStatus'][_0x1e8322(0x31b)]:return _0x1e8322(0x27f);default:return _0x1e8322(0x2bb);}}function ye(_0x2bb931,_0x8356eb,_0x1208ae,_0x34c170=!0x0){var _0x19ab20=_0x16b0a0;const _0x239eb0=Z(_0x2bb931,_0x8356eb),_0x5530bb=_0x1208ae['t'](_0x239eb0);return _0x34c170?_0x2bb931===s[_0x19ab20(0x232)]['DISCONNECTED']&&_0x8356eb===s[_0x19ab20(0x2e8)]['UNAUTHORIZED']?_0x5530bb+_0x19ab20(0x300)+_0x1208ae['t']('mcpStatus.clickToConfigure'):_0x2bb931===s['MCPConnectionStatus'][_0x19ab20(0x222)]?''+_0x5530bb:_0x2bb931===s[_0x19ab20(0x232)][_0x19ab20(0x282)]||_0x2bb931===s['MCPConnectionStatus']['FAILED']?_0x5530bb+'\x20-\x20'+_0x1208ae['t']('mcpStatus.clickToConnect'):_0x5530bb:_0x5530bb;}function Ie(_0x3c182f){var _0x3d0c11=_0x16b0a0;switch(_0x3c182f){case s['MCPConnectionStatus'][_0x3d0c11(0x222)]:return'univer-text-green-500';case s['MCPConnectionStatus'][_0x3d0c11(0x1bb)]:case s['MCPConnectionStatus'][_0x3d0c11(0x31b)]:return'univer-text-yellow-500';case s[_0x3d0c11(0x232)][_0x3d0c11(0x32c)]:case s['MCPConnectionStatus'][_0x3d0c11(0x282)]:return'univer-text-red-500';default:return _0x3d0c11(0x310);}}function X(_0x3ddc20){var _0x476f9e=_0x16b0a0;const {status$:_0x3605d1,error$:_0x1ff7c1,onConfigure:_0x38bedc,showClickable:_0x2ed50a=!0x0}=_0x3ddc20,_0xf43e39=v[_0x476f9e(0x20d)](_0x3605d1,s[_0x476f9e(0x232)]['DISCONNECTED']),_0x1339d9=v[_0x476f9e(0x20d)](_0x1ff7c1,s[_0x476f9e(0x2e8)][_0x476f9e(0x2f8)]),_0x3f9035=v[_0x476f9e(0x21d)](l[_0x476f9e(0x24a)]),_0xf47b1=_0xf43e39===s[_0x476f9e(0x232)][_0x476f9e(0x222)];_0xf43e39===s[_0x476f9e(0x232)]['CONNECTING']||s[_0x476f9e(0x232)]['RETRYING'];const _0x47dea5=_0x3f9035['t'](Z(_0xf43e39,_0x1339d9)),_0x52befa=ye(_0xf43e39,_0x1339d9,_0x3f9035,_0x2ed50a),_0x666d43=Ie(_0xf43e39),_0x488300=_0xf47b1?t[_0x476f9e(0x21b)](V,{}):t[_0x476f9e(0x21b)](q,{}),_0xb80719=d[_0x476f9e(0x1ab)](()=>{_0x2ed50a&&_0x38bedc&&_0x38bedc();},[_0x2ed50a,_0x38bedc]);function _0x332d52(){var _0x695770=_0x476f9e;return t[_0x695770(0x266)]('div',{'className':S[_0x695770(0x22b)](_0x695770(0x2df),_0x2ed50a&&_0x38bedc&&_0x695770(0x295)),'onClick':_0x2ed50a&&_0x38bedc?_0xb80719:void 0x0,'children':[t[_0x695770(0x21b)](_0x695770(0x26f),{'className':S[_0x695770(0x22b)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x666d43),'children':_0x488300}),t[_0x695770(0x21b)](_0x695770(0x26f),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x47dea5})]});}return t['jsx'](S[_0x476f9e(0x2b0)],{'title':_0x52befa,'placement':_0x476f9e(0x303),'children':_0x332d52()});}var _e=Object[_0x16b0a0(0x31d)],Me=(_0x22282d,_0xaaf78f,_0x56fb46,_0x42187f)=>{var _0x4ed915=_0x16b0a0;for(var _0x409a67=_0x42187f>0x1?void 0x0:_0x42187f?_e(_0xaaf78f,_0x56fb46):_0xaaf78f,_0x5be5ff=_0x22282d[_0x4ed915(0x281)]-0x1,_0x579c41;_0x5be5ff>=0x0;_0x5be5ff--)(_0x579c41=_0x22282d[_0x5be5ff])&&(_0x409a67=_0x579c41(_0x409a67)||_0x409a67);return _0x409a67;},b=(_0x3ad2a8,_0x1b7585)=>(_0x5c7cf1,_0x3c1735)=>_0x1b7585(_0x5c7cf1,_0x3c1735,_0x3ad2a8);exports[_0x16b0a0(0x2b7)]=class extends l['Disposable']{constructor(_0x1a8430,_0xf7904f,_0x3c044c,_0x3efc1a){var _0x2f24e3=_0x16b0a0;super(),this['_injector']=_0x1a8430,this[_0x2f24e3(0x307)]=_0xf7904f,this[_0x2f24e3(0x2c9)]=_0x3c044c,this[_0x2f24e3(0x31e)]=_0x3efc1a,this[_0x2f24e3(0x1ce)](),this[_0x2f24e3(0x224)]();}[_0x16b0a0(0x1ce)](){var _0x3611c0=_0x16b0a0;const _0x54a803=this[_0x3611c0(0x31e)][_0x3611c0(0x1cb)](y);_0x54a803!=null&&_0x54a803[_0x3611c0(0x235)]&&(this['_connectionController']['enableAutoConnect']=!0x1);}[_0x16b0a0(0x224)](){var _0x2686f0=_0x16b0a0;const _0x589cb3=this[_0x2686f0(0x31e)][_0x2686f0(0x1cb)](y);(_0x589cb3==null?void 0x0:_0x589cb3[_0x2686f0(0x299)])!==!0x1&&this[_0x2686f0(0x1d3)](this[_0x2686f0(0x2c9)][_0x2686f0(0x312)](v[_0x2686f0(0x21c)][_0x2686f0(0x26d)],()=>{var _0x20b985=_0x2686f0,_0xeba638;return v[_0x20b985(0x2ff)](Ne({'status$':this[_0x20b985(0x307)][_0x20b985(0x211)],'error$':this[_0x20b985(0x307)]['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0xeba638=_0x589cb3==null?void 0x0:_0x589cb3[_0x20b985(0x235)])!=null?_0xeba638:!0x1}),this[_0x20b985(0x221)]);}));}[_0x16b0a0(0x255)](){var _0x301c64=_0x16b0a0;this[_0x301c64(0x221)][_0x301c64(0x2ae)](exports[_0x301c64(0x2ee)])[_0x301c64(0x212)]();}},exports[_0x16b0a0(0x2b7)]=Me([b(0x0,l[_0x16b0a0(0x2e3)](l[_0x16b0a0(0x233)])),b(0x1,l[_0x16b0a0(0x2e3)](s[_0x16b0a0(0x1f8)])),b(0x2,v[_0x16b0a0(0x218)]),b(0x3,l[_0x16b0a0(0x214)])],exports[_0x16b0a0(0x2b7)]);function Ne(_0x4514b3){const {status$:_0x2e1bba,error$:_0xee0729,onConfigure:_0x219114,showClickable:_0x228720}=_0x4514b3;return function(){return t['jsx'](X,{'status$':_0x2e1bba,'error$':_0xee0729,'onConfigure':_0x219114,'showClickable':_0x228720});};}function be(_0x2e8340){var _0x53004b=_0x16b0a0;return{'id':j['id'],'type':v[_0x53004b(0x2c4)][_0x53004b(0x245)],'icon':_0x53004b(0x258),'title':_0x53004b(0x2d1),'tooltip':_0x53004b(0x2d1)};}const je={[v[_0x16b0a0(0x30d)]['OTHERS']]:{[j['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object[_0x16b0a0(0x31d)],we=(_0x477ae7,_0x244f10,_0x3753c1,_0x544fca)=>{for(var _0x2b21a6=_0x544fca>0x1?void 0x0:_0x544fca?Ee(_0x244f10,_0x3753c1):_0x244f10,_0x1fae89=_0x477ae7['length']-0x1,_0x4d2c0e;_0x1fae89>=0x0;_0x1fae89--)(_0x4d2c0e=_0x477ae7[_0x1fae89])&&(_0x2b21a6=_0x4d2c0e(_0x2b21a6)||_0x2b21a6);return _0x2b21a6;},z=(_0x586ad0,_0x2f5080)=>(_0x948201,_0x579e3d)=>_0x2f5080(_0x948201,_0x579e3d,_0x586ad0);exports[_0x16b0a0(0x27d)]=class extends l[_0x16b0a0(0x21f)]{constructor(_0xea890e,_0x5cc72f){var _0x4f8c44=_0x16b0a0;super(),this[_0x4f8c44(0x1b5)]=_0xea890e,this[_0x4f8c44(0x23c)]=_0x5cc72f,this[_0x4f8c44(0x29e)](),this[_0x4f8c44(0x322)]();}[_0x16b0a0(0x29e)](){var _0x351dd3=_0x16b0a0;[j][_0x351dd3(0x1cc)](_0x549a76=>{var _0x24d38f=_0x351dd3;this['disposeWithMe'](this[_0x24d38f(0x1b5)][_0x24d38f(0x2d8)](_0x549a76));});}['_initializeMenus'](){var _0x535f3e=_0x16b0a0;this[_0x535f3e(0x23c)][_0x535f3e(0x31a)](je);}},exports[_0x16b0a0(0x27d)]=we([z(0x0,l[_0x16b0a0(0x30b)]),z(0x1,v[_0x16b0a0(0x298)])],exports['MCPUIMenuController']);const Oe={'mcpStatus':{'disconnected':_0x16b0a0(0x267),'connecting':'MCP\x20Connecting...','connected':_0x16b0a0(0x273),'failed':_0x16b0a0(0x24f),'retrying':_0x16b0a0(0x2ea),'unknown':_0x16b0a0(0x27e),'unauthorized':_0x16b0a0(0x292),'sessionOccupied':_0x16b0a0(0x326),'networkError':_0x16b0a0(0x314),'maxRetriesExceeded':_0x16b0a0(0x216),'clickToConnect':_0x16b0a0(0x1b8),'clickToConfigure':_0x16b0a0(0x231)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x16b0a0(0x28c),'apiKey':_0x16b0a0(0x241),'apiKeyPlaceholder':_0x16b0a0(0x23d),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x16b0a0(0x2ce),'enableAuthHint':_0x16b0a0(0x202),'connectionInfo':_0x16b0a0(0x2a8),'mcpClientConfig':_0x16b0a0(0x2a8),'configInstructions':_0x16b0a0(0x1c6),'configStepTitle':_0x16b0a0(0x2c1),'configStep1':_0x16b0a0(0x283),'configStep2':_0x16b0a0(0x215),'configStep3':_0x16b0a0(0x268),'sessionId':'Session\x20ID','sessionIdDescription':_0x16b0a0(0x276),'authorizationDescription':_0x16b0a0(0x2e0),'configParameters':_0x16b0a0(0x1aa),'maxRetries':_0x16b0a0(0x207),'save':_0x16b0a0(0x2e9),'saving':_0x16b0a0(0x277),'note1':_0x16b0a0(0x1be),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x16b0a0(0x291),'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':_0x16b0a0(0x20c),'getStarted':_0x16b0a0(0x2f1)},'validation':{'apiKeyRequired':_0x16b0a0(0x1ad),'apiKeyTooShort':_0x16b0a0(0x1e8),'invalidConfig':_0x16b0a0(0x1ec),'invalidApiKey':_0x16b0a0(0x26a)},'connectionStatus':{'disconnected':_0x16b0a0(0x2fd),'connecting':_0x16b0a0(0x25c),'connected':_0x16b0a0(0x1af),'failed':'Connection\x20Failed','retrying':_0x16b0a0(0x219)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x16b0a0(0x2d3),'networkError':_0x16b0a0(0x329),'maxRetriesExceeded':_0x16b0a0(0x251)}}},Ae={'mcpStatus':{'disconnected':_0x16b0a0(0x2b2),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x16b0a0(0x1f5),'retrying':_0x16b0a0(0x25a),'unknown':'MCP\x20状态未知','unauthorized':_0x16b0a0(0x2d9),'sessionOccupied':_0x16b0a0(0x32b),'networkError':_0x16b0a0(0x2a4),'maxRetriesExceeded':_0x16b0a0(0x2e7),'clickToConnect':_0x16b0a0(0x1dd),'clickToConfigure':_0x16b0a0(0x246)},'mcpConfig':{'title':_0x16b0a0(0x330),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x16b0a0(0x331),'apiKeyPlaceholder':_0x16b0a0(0x2d5),'apiKeyHint':_0x16b0a0(0x315),'enableAuth':'启用身份验证','enableAuthHint':_0x16b0a0(0x217),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x16b0a0(0x1a7),'configStepTitle':_0x16b0a0(0x278),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x16b0a0(0x2e1),'configStep3':_0x16b0a0(0x32a),'sessionId':_0x16b0a0(0x2fa),'sessionIdDescription':_0x16b0a0(0x1f9),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x16b0a0(0x25f),'maxRetries':_0x16b0a0(0x28d),'save':'保存配置','saving':'保存中...','note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x16b0a0(0x1ac),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x16b0a0(0x325),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x16b0a0(0x335)},'validation':{'apiKeyRequired':_0x16b0a0(0x2b5),'apiKeyTooShort':_0x16b0a0(0x1f1),'invalidConfig':_0x16b0a0(0x261),'invalidApiKey':_0x16b0a0(0x2d6)},'connectionStatus':{'disconnected':_0x16b0a0(0x2ba),'connecting':_0x16b0a0(0x210),'connected':_0x16b0a0(0x1a9),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x16b0a0(0x1d8),'networkError':_0x16b0a0(0x223),'maxRetriesExceeded':_0x16b0a0(0x27c)}}};var De=Object[_0x16b0a0(0x2f5)],ke=Object[_0x16b0a0(0x31d)],Ue=(_0x5c0b2c,_0x241dc8,_0x3810f1)=>_0x241dc8 in _0x5c0b2c?De(_0x5c0b2c,_0x241dc8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3810f1}):_0x5c0b2c[_0x241dc8]=_0x3810f1,Te=(_0x5b36a0,_0x5477e2,_0x178c86,_0x2a588e)=>{for(var _0x2d52b8=_0x2a588e>0x1?void 0x0:_0x2a588e?ke(_0x5477e2,_0x178c86):_0x5477e2,_0x2ecccc=_0x5b36a0['length']-0x1,_0x4ed093;_0x2ecccc>=0x0;_0x2ecccc--)(_0x4ed093=_0x5b36a0[_0x2ecccc])&&(_0x2d52b8=_0x4ed093(_0x2d52b8)||_0x2d52b8);return _0x2d52b8;},M=(_0x5991c4,_0x36bafe)=>(_0x5eb07f,_0xfa6fa7)=>_0x36bafe(_0x5eb07f,_0xfa6fa7,_0x5991c4),$e=(_0x24fdfb,_0x4e67fb,_0x2df7bf)=>Ue(_0x24fdfb,_0x4e67fb+'',_0x2df7bf);exports[_0x16b0a0(0x286)]=class extends l[_0x16b0a0(0x236)]{constructor(_0x144951=G,_0x226de4,_0x1ddde3,_0x352a4f,_0x16108f,_0x4a7d9f){var _0x36ca8a=_0x16b0a0;super(),this['_config']=_0x144951,this[_0x36ca8a(0x221)]=_0x226de4,this[_0x36ca8a(0x31e)]=_0x1ddde3,this[_0x36ca8a(0x2c9)]=_0x352a4f,this['_localStorageService']=_0x16108f,this[_0x36ca8a(0x304)]=_0x4a7d9f;const {..._0x3cd3d3}=l[_0x36ca8a(0x21a)]({},G,this[_0x36ca8a(0x2ed)]);this[_0x36ca8a(0x31e)][_0x36ca8a(0x30a)](y,_0x3cd3d3);}async['onStarting'](){var _0x22d8a8=_0x16b0a0;const _0x39d627=[[exports[_0x22d8a8(0x2b7)]],[exports[_0x22d8a8(0x2ee)]],[exports[_0x22d8a8(0x27d)]]];this[_0x22d8a8(0x221)]['has'](A[_0x22d8a8(0x1b2)])||_0x39d627[_0x22d8a8(0x2f6)]([A[_0x22d8a8(0x1b2)],{'useClass':A['WebSocketService']}]),_0x39d627['forEach'](_0x565af2=>this[_0x22d8a8(0x221)][_0x22d8a8(0x1c9)](_0x565af2)),this[_0x22d8a8(0x221)][_0x22d8a8(0x2ae)](exports[_0x22d8a8(0x2b7)]),this[_0x22d8a8(0x221)][_0x22d8a8(0x2ae)](exports['MCPConfigUIController']),this['_injector'][_0x22d8a8(0x2ae)](exports[_0x22d8a8(0x27d)]);}},$e(exports[_0x16b0a0(0x286)],_0x16b0a0(0x29f),_0x16b0a0(0x1e7)),exports[_0x16b0a0(0x286)]=Te([l['DependentOn'](s[_0x16b0a0(0x240)]),M(0x1,l[_0x16b0a0(0x2e3)](l[_0x16b0a0(0x233)])),M(0x2,l[_0x16b0a0(0x214)]),M(0x3,v['IUIPartsService']),M(0x4,l[_0x16b0a0(0x1a5)]),M(0x5,l[_0x16b0a0(0x2e3)](l['LocaleService']))],exports[_0x16b0a0(0x286)]),exports['MCPConfigPanel']=W,exports[_0x16b0a0(0x247)]=X,exports[_0x16b0a0(0x2eb)]=j,exports[_0x16b0a0(0x2a3)]=Oe,exports[_0x16b0a0(0x270)]=Ae;
@@ -1 +1 @@
1
- 'use strict';const _0x2ee95d=_0x2430;(function(_0x744f9,_0x3e818a){const _0x363948=_0x2430,_0x483cb9=_0x744f9();while(!![]){try{const _0x573c8f=parseInt(_0x363948(0xd7))/0x1*(-parseInt(_0x363948(0xf1))/0x2)+-parseInt(_0x363948(0xee))/0x3*(-parseInt(_0x363948(0xe9))/0x4)+parseInt(_0x363948(0xf8))/0x5*(-parseInt(_0x363948(0xd9))/0x6)+-parseInt(_0x363948(0xd3))/0x7+-parseInt(_0x363948(0xe5))/0x8*(parseInt(_0x363948(0xd6))/0x9)+-parseInt(_0x363948(0xdd))/0xa+-parseInt(_0x363948(0xdc))/0xb*(-parseInt(_0x363948(0xca))/0xc);if(_0x573c8f===_0x3e818a)break;else _0x483cb9['push'](_0x483cb9['shift']());}catch(_0x48df7f){_0x483cb9['push'](_0x483cb9['shift']());}}}(_0x6666,0xce3d6));function _0x2430(_0x157022,_0x1fe079){const _0x6666be=_0x6666();return _0x2430=function(_0x2430d0,_0x20f652){_0x2430d0=_0x2430d0-0xca;let _0x590b8c=_0x6666be[_0x2430d0];return _0x590b8c;},_0x2430(_0x157022,_0x1fe079);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x2ee95d(0xf2),'failed':_0x2ee95d(0xe7),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x2ee95d(0xe8),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x2ee95d(0xeb)},'mcpConfig':{'title':_0x2ee95d(0xd2),'description':_0x2ee95d(0xe4),'apiKey':_0x2ee95d(0xde),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x2ee95d(0xdf),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2ee95d(0xcf),'connectionInfo':_0x2ee95d(0xcd),'mcpClientConfig':_0x2ee95d(0xcd),'configInstructions':_0x2ee95d(0xd4),'configStepTitle':_0x2ee95d(0xf6),'configStep1':_0x2ee95d(0xe1),'configStep2':_0x2ee95d(0xed),'configStep3':_0x2ee95d(0xe2),'sessionId':'Session\x20ID','sessionIdDescription':_0x2ee95d(0xd5),'authorizationDescription':_0x2ee95d(0xce),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x2ee95d(0xf3),'save':_0x2ee95d(0xf5),'saving':_0x2ee95d(0xda),'note1':_0x2ee95d(0xcb),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x2ee95d(0xcc),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2ee95d(0xd1),'univerAiLabel':_0x2ee95d(0xf9),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2ee95d(0xea),'apiKeyTooShort':_0x2ee95d(0xf4),'invalidConfig':_0x2ee95d(0xf7),'invalidApiKey':_0x2ee95d(0xe0)},'connectionStatus':{'disconnected':_0x2ee95d(0xe3),'connecting':_0x2ee95d(0xd0),'connected':_0x2ee95d(0xdb),'failed':'Connection\x20Failed','retrying':_0x2ee95d(0xf0)},'connectionError':{'missingApiKey':_0x2ee95d(0xe6),'invalidApiKey':_0x2ee95d(0xec),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x2ee95d(0xef),'maxRetriesExceeded':_0x2ee95d(0xd8)}}},n=e;function _0x6666(){const _0x52ea74=['MCP\x20Connection\x20Failed','MCP:\x20Network\x20Error','184152igNqhv','API\x20key\x20is\x20required','Click\x20to\x20configure\x20MCP','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','99opIoxV','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Retrying...','508IxslRN','MCP\x20Connected','Max\x20Retries','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Save\x20Configuration','Configuration\x20Steps:','Invalid\x20configuration','10yTcRLY','Univer\x20AI\x20Console','584316TnxxLZ','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Failed\x20to\x20save\x20configuration','MCP\x20Client\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20authentication\x20for\x20secure\x20connections','Connecting...','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\x20Configuration','5607763luxpGv','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1680471RgMwEj','5789rIguIB','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','4235988Xhwjnn','Saving...','Connected','968QAspgS','3423740AVxAWf','API\x20Key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Copy\x20the\x20JSON\x20configuration\x20below','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disconnected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','40gvIkTN','API\x20key\x20is\x20required\x20to\x20connect'];_0x6666=function(){return _0x52ea74;};return _0x6666();}module['exports']=n;
1
+ 'use strict';const _0x2bef78=_0x2357;function _0x2357(_0x4d024a,_0x42ddee){const _0x45b099=_0x45b0();return _0x2357=function(_0x235753,_0x21139d){_0x235753=_0x235753-0xaf;let _0xe35e8d=_0x45b099[_0x235753];return _0xe35e8d;},_0x2357(_0x4d024a,_0x42ddee);}(function(_0x517055,_0x1ff3a4){const _0x11de90=_0x2357,_0x445539=_0x517055();while(!![]){try{const _0x4a5588=-parseInt(_0x11de90(0xce))/0x1+-parseInt(_0x11de90(0xba))/0x2*(parseInt(_0x11de90(0xb9))/0x3)+parseInt(_0x11de90(0xd1))/0x4*(-parseInt(_0x11de90(0xaf))/0x5)+parseInt(_0x11de90(0xb0))/0x6+-parseInt(_0x11de90(0xc3))/0x7+parseInt(_0x11de90(0xdd))/0x8+parseInt(_0x11de90(0xd3))/0x9*(parseInt(_0x11de90(0xcc))/0xa);if(_0x4a5588===_0x1ff3a4)break;else _0x445539['push'](_0x445539['shift']());}catch(_0xfe9888){_0x445539['push'](_0x445539['shift']());}}}(_0x45b0,0x5eb70));function _0x45b0(){const _0x2e2de0=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connecting...','8786840MoOiuO','Enable\x20authentication\x20for\x20secure\x20connections','335352wTIyYA','Enter\x20your\x20API\x20key','MCP:\x20Session\x20ID\x20Occupied','28gIakjj','Configuration\x20Steps:','18azNhHp','Connected','Click\x20to\x20connect\x20MCP','MCP\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disconnected','MCP:\x20Unauthorized','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Save\x20Configuration','Saving...','3043216QClrRH','Univer\x20AI\x20Console','API\x20key\x20with\x20Bearer\x20prefix.','331550dOEHrr','3301242bsBXla','Max\x20Retries','MCP\x20Disconnected','Click\x20to\x20configure\x20MCP','API\x20key\x20is\x20required','MCP\x20Client\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','Retrying...','2631QMaOTO','1678obWZtS','MCP:\x20Network\x20Error','Invalid\x20configuration','MCP\x20Retrying...','Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Unknown\x20Status','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','5352900YolDHo','Session\x20ID','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connected','Failed\x20to\x20save\x20configuration'];_0x45b0=function(){return _0x2e2de0;};return _0x45b0();}const e={'mcpStatus':{'disconnected':_0x2bef78(0xb2),'connecting':_0x2bef78(0xcb),'connected':_0x2bef78(0xc8),'failed':'MCP\x20Connection\x20Failed','retrying':_0x2bef78(0xbd),'unknown':_0x2bef78(0xc1),'unauthorized':_0x2bef78(0xd9),'sessionOccupied':_0x2bef78(0xd0),'networkError':_0x2bef78(0xbb),'maxRetriesExceeded':_0x2bef78(0xb7),'clickToConnect':_0x2bef78(0xd5),'clickToConfigure':_0x2bef78(0xb3)},'mcpConfig':{'title':_0x2bef78(0xd6),'description':_0x2bef78(0xca),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2bef78(0xcf),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2bef78(0xcd),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2bef78(0xb5),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x2bef78(0xd2),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x2bef78(0xc2),'configStep3':_0x2bef78(0xd7),'sessionId':_0x2bef78(0xc4),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2bef78(0xdf),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x2bef78(0xb1),'save':_0x2bef78(0xdb),'saving':_0x2bef78(0xdc),'note1':_0x2bef78(0xda),'note2':_0x2bef78(0xc6),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x2bef78(0xc9),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2bef78(0xc0),'univerAiLabel':_0x2bef78(0xde),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2bef78(0xb4),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2bef78(0xbc),'invalidApiKey':_0x2bef78(0xbf)},'connectionStatus':{'disconnected':_0x2bef78(0xd8),'connecting':'Connecting...','connected':_0x2bef78(0xd4),'failed':_0x2bef78(0xbe),'retrying':_0x2bef78(0xb8)},'connectionError':{'unauthorized':_0x2bef78(0xb6),'sessionOccupied':_0x2bef78(0xc7),'networkError':_0x2bef78(0xc5),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0x1ac3a4=_0x1269;(function(_0x568f6a,_0x598990){const _0x55328e=_0x1269,_0x36d4c2=_0x568f6a();while(!![]){try{const _0x2fb0e5=parseInt(_0x55328e(0x124))/0x1+parseInt(_0x55328e(0x149))/0x2+-parseInt(_0x55328e(0x145))/0x3+-parseInt(_0x55328e(0x139))/0x4+-parseInt(_0x55328e(0x13a))/0x5*(parseInt(_0x55328e(0x120))/0x6)+-parseInt(_0x55328e(0x147))/0x7*(parseInt(_0x55328e(0x136))/0x8)+parseInt(_0x55328e(0x13f))/0x9;if(_0x2fb0e5===_0x598990)break;else _0x36d4c2['push'](_0x36d4c2['shift']());}catch(_0x28d0d0){_0x36d4c2['push'](_0x36d4c2['shift']());}}}(_0x52ae,0x48e95));function _0x1269(_0x4c2e49,_0x4ece90){const _0x52aea6=_0x52ae();return _0x1269=function(_0x12694e,_0x5a185f){_0x12694e=_0x12694e-0x119;let _0x4f9dd6=_0x52aea6[_0x12694e];return _0x4f9dd6;},_0x1269(_0x4c2e49,_0x4ece90);}const e={'mcpStatus':{'disconnected':_0x1ac3a4(0x142),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x1ac3a4(0x11e),'retrying':_0x1ac3a4(0x14a),'unknown':_0x1ac3a4(0x11d),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x1ac3a4(0x122),'sessionOccupied':_0x1ac3a4(0x12a),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x1ac3a4(0x144),'clickToConnect':_0x1ac3a4(0x143),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1ac3a4(0x128),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1ac3a4(0x148),'apiKeyPlaceholder':_0x1ac3a4(0x132),'apiKeyHint':_0x1ac3a4(0x135),'enableAuth':_0x1ac3a4(0x126),'enableAuthHint':_0x1ac3a4(0x12b),'connectionInfo':_0x1ac3a4(0x12e),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x1ac3a4(0x11a),'configStepTitle':_0x1ac3a4(0x123),'configStep1':_0x1ac3a4(0x13e),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x1ac3a4(0x138),'authorizationDescription':_0x1ac3a4(0x121),'configParameters':_0x1ac3a4(0x137),'maxRetries':'Max\x20Retries','save':_0x1ac3a4(0x129),'saving':_0x1ac3a4(0x146),'note1':_0x1ac3a4(0x13b),'note2':_0x1ac3a4(0x13c),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x1ac3a4(0x130),'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':_0x1ac3a4(0x140),'getStarted':_0x1ac3a4(0x12f)},'validation':{'apiKeyRequired':_0x1ac3a4(0x125),'apiKeyTooShort':_0x1ac3a4(0x11c),'invalidConfig':_0x1ac3a4(0x141),'invalidApiKey':_0x1ac3a4(0x12c)},'connectionStatus':{'disconnected':_0x1ac3a4(0x119),'connecting':_0x1ac3a4(0x133),'connected':_0x1ac3a4(0x134),'failed':_0x1ac3a4(0x12d),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x1ac3a4(0x127),'invalidApiKey':_0x1ac3a4(0x11b),'sessionOccupied':_0x1ac3a4(0x13d),'networkError':_0x1ac3a4(0x131),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module[_0x1ac3a4(0x11f)]=e;function _0x52ae(){const _0x637e81=['Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','12504xoljDw','Configuration\x20Parameters:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','2236060oynrlo','125aUGBdA','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Copy\x20the\x20JSON\x20configuration\x20below','7147350jdxIbb','Univer\x20AI\x20Console','Invalid\x20configuration','MCP\x20Disconnected','Click\x20to\x20connect\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','1232595TqLRZU','Saving...','14ftiZMu','API\x20Key','840238CmqYii','MCP\x20Retrying...','Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Unknown\x20Status','MCP\x20Connection\x20Failed','exports','38562ilmLPh','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Invalid\x20API\x20Key','Configuration\x20Steps:','218057OZQDFs','API\x20key\x20is\x20required','Enable\x20Authentication','API\x20key\x20is\x20required\x20to\x20connect','MCP\x20Configuration','Save\x20Configuration','MCP:\x20Session\x20Occupied','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','MCP\x20Client\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','What\x20is\x20API\x20Key?','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enter\x20your\x20API\x20key','Connecting...'];_0x52ae=function(){return _0x637e81;};return _0x52ae();}
1
+ 'use strict';const _0x88178b=_0x200e;(function(_0x5c04aa,_0x34abd1){const _0x42e515=_0x200e,_0x49abc3=_0x5c04aa();while(!![]){try{const _0x4be35c=-parseInt(_0x42e515(0xee))/0x1*(-parseInt(_0x42e515(0xe3))/0x2)+parseInt(_0x42e515(0xdd))/0x3+-parseInt(_0x42e515(0xd4))/0x4+-parseInt(_0x42e515(0xd2))/0x5+parseInt(_0x42e515(0xe2))/0x6*(-parseInt(_0x42e515(0xf9))/0x7)+parseInt(_0x42e515(0xdb))/0x8*(parseInt(_0x42e515(0xef))/0x9)+parseInt(_0x42e515(0xf8))/0xa;if(_0x4be35c===_0x34abd1)break;else _0x49abc3['push'](_0x49abc3['shift']());}catch(_0x5449c1){_0x49abc3['push'](_0x49abc3['shift']());}}}(_0x4d0c,0x89704));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x88178b(0xe4),'connected':_0x88178b(0xf5),'failed':_0x88178b(0xda),'retrying':_0x88178b(0xe1),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x88178b(0xcc),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x88178b(0xec),'maxRetriesExceeded':_0x88178b(0xe0),'clickToConnect':_0x88178b(0xd6),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x88178b(0xf2),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x88178b(0xcd),'apiKeyPlaceholder':_0x88178b(0xd1),'apiKeyHint':_0x88178b(0xd0),'enableAuth':_0x88178b(0xeb),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x88178b(0xe7),'mcpClientConfig':_0x88178b(0xe7),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x88178b(0xf0),'configStep1':_0x88178b(0xd5),'configStep2':_0x88178b(0xd3),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x88178b(0xe5),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x88178b(0xed),'configParameters':_0x88178b(0xdc),'maxRetries':_0x88178b(0xf3),'save':_0x88178b(0xfa),'saving':_0x88178b(0xe8),'note1':_0x88178b(0xde),'note2':_0x88178b(0xca),'configSaved':_0x88178b(0xea),'configError':_0x88178b(0xcf),'apiApplyInfo':{'title':_0x88178b(0xe6),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x88178b(0xce)},'validation':{'apiKeyRequired':_0x88178b(0xf6),'apiKeyTooShort':_0x88178b(0xdf),'invalidConfig':_0x88178b(0xd7),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x88178b(0xcb),'connecting':'Connecting...','connected':_0x88178b(0xf7),'failed':_0x88178b(0xf4),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x88178b(0xd8),'sessionOccupied':_0x88178b(0xe9),'networkError':_0x88178b(0xf1),'maxRetriesExceeded':_0x88178b(0xd9)}}};module['exports']=e;function _0x200e(_0xf58018,_0x3fecef){const _0x4d0cdc=_0x4d0c();return _0x200e=function(_0x200e8d,_0x1b1b52){_0x200e8d=_0x200e8d-0xca;let _0xfcee4=_0x4d0cdc[_0x200e8d];return _0xfcee4;},_0x200e(_0xf58018,_0x3fecef);}function _0x4d0c(){const _0x24ed0a=['API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Retrying...','1617234lPsIjT','73782wrZSXH','MCP\x20Connecting...','Session\x20ID','What\x20is\x20API\x20Key?','MCP\x20Client\x20Configuration','Saving...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','Enable\x20Authentication','MCP:\x20Network\x20Error','API\x20key\x20with\x20Bearer\x20prefix.','7bKblix','18uiFwxm','Configuration\x20Steps:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Configuration','Max\x20Retries','Connection\x20Failed','MCP\x20Connected','API\x20key\x20is\x20required','Connected','12551820LJIUby','21UvQGzK','Save\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Disconnected','MCP:\x20Unauthorized','API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','Failed\x20to\x20save\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enter\x20your\x20API\x20key','2901365oQoeiO','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','3664044FCyWvI','Copy\x20the\x20JSON\x20configuration\x20below','Click\x20to\x20connect\x20MCP','Invalid\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','4351096uuRMoJ','Configuration\x20Parameters:','799968bjUGno','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x4d0c=function(){return _0x24ed0a;};return _0x4d0c();}
@@ -1 +1 @@
1
- 'use strict';const _0x13696a=_0x564a;(function(_0xfe8f68,_0x24eb04){const _0x4aa3ab=_0x564a,_0x5e94e1=_0xfe8f68();while(!![]){try{const _0x11640d=-parseInt(_0x4aa3ab(0x1ed))/0x1*(-parseInt(_0x4aa3ab(0x1dc))/0x2)+-parseInt(_0x4aa3ab(0x1cb))/0x3*(parseInt(_0x4aa3ab(0x1e9))/0x4)+parseInt(_0x4aa3ab(0x1e8))/0x5*(parseInt(_0x4aa3ab(0x1ec))/0x6)+-parseInt(_0x4aa3ab(0x1f2))/0x7*(parseInt(_0x4aa3ab(0x1f9))/0x8)+-parseInt(_0x4aa3ab(0x1f4))/0x9+-parseInt(_0x4aa3ab(0x1c9))/0xa+parseInt(_0x4aa3ab(0x1fa))/0xb*(parseInt(_0x4aa3ab(0x1ef))/0xc);if(_0x11640d===_0x24eb04)break;else _0x5e94e1['push'](_0x5e94e1['shift']());}catch(_0x417b95){_0x5e94e1['push'](_0x5e94e1['shift']());}}}(_0x188f,0xc7f21));function _0x188f(){const _0x1f23c0=['Enable\x20authentication\x20for\x20secure\x20connections','Max\x20Retries','Retrying...','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\x20Configuration','API\x20key\x20is\x20required','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20Parameters:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','36155XCEyhG','2169512isLMKQ','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Invalid\x20configuration','294zcEUUr','2KFvdqB','MCP:\x20Session\x20Occupied','12XgqsQZ','MCP\x20Client\x20Configuration','Saving...','931091wPHmly','MCP\x20Connection\x20Failed','10597815mWEQSB','MCP\x20Disconnected','Save\x20Configuration','Click\x20to\x20connect\x20MCP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','32bSDLED','43116568zKciup','MCP\x20Connecting...','API\x20Key','Click\x20to\x20configure\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Univer\x20AI\x20Console','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Retrying...','9738710uIVRMl','Connection\x20Failed','6xLMIpa','MCP:\x20API\x20Key\x20Missing','Copy\x20the\x20JSON\x20configuration\x20below','exports','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Steps:','What\x20is\x20API\x20Key?','Disconnected','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connected','Enable\x20Authentication','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Unknown\x20Status','313184ybPBZT','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error'];_0x188f=function(){return _0x1f23c0;};return _0x188f();}function _0x564a(_0x135992,_0x25ff66){const _0x188f59=_0x188f();return _0x564a=function(_0x564a8a,_0x3d771c){_0x564a8a=_0x564a8a-0x1c0;let _0x3c507a=_0x188f59[_0x564a8a];return _0x3c507a;},_0x564a(_0x135992,_0x25ff66);}const e={'mcpStatus':{'disconnected':_0x13696a(0x1f5),'connecting':_0x13696a(0x1c0),'connected':_0x13696a(0x1d5),'failed':_0x13696a(0x1f3),'retrying':_0x13696a(0x1c8),'unknown':_0x13696a(0x1db),'missingApiKey':_0x13696a(0x1cc),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x13696a(0x1ee),'networkError':_0x13696a(0x1de),'maxRetriesExceeded':_0x13696a(0x1d0),'clickToConnect':_0x13696a(0x1f7),'clickToConfigure':_0x13696a(0x1c2)},'mcpConfig':{'title':_0x13696a(0x1e3),'description':_0x13696a(0x1da),'apiKey':_0x13696a(0x1c1),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x13696a(0x1c4),'enableAuth':_0x13696a(0x1d6),'enableAuthHint':_0x13696a(0x1df),'connectionInfo':_0x13696a(0x1f0),'mcpClientConfig':_0x13696a(0x1f0),'configInstructions':_0x13696a(0x1e5),'configStepTitle':_0x13696a(0x1d1),'configStep1':_0x13696a(0x1cd),'configStep2':_0x13696a(0x1e7),'configStep3':_0x13696a(0x1c7),'sessionId':_0x13696a(0x1d7),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x13696a(0x1d4),'configParameters':_0x13696a(0x1e6),'maxRetries':_0x13696a(0x1e0),'save':_0x13696a(0x1f6),'saving':_0x13696a(0x1f1),'note1':_0x13696a(0x1f8),'note2':_0x13696a(0x1cf),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x13696a(0x1d2),'description':_0x13696a(0x1e2),'univerAiLabel':_0x13696a(0x1c6),'getStarted':_0x13696a(0x1dd)},'validation':{'apiKeyRequired':_0x13696a(0x1e4),'apiKeyTooShort':_0x13696a(0x1c5),'invalidConfig':_0x13696a(0x1eb),'invalidApiKey':_0x13696a(0x1d8)},'connectionStatus':{'disconnected':_0x13696a(0x1d3),'connecting':_0x13696a(0x1d9),'connected':'Connected','failed':_0x13696a(0x1ca),'retrying':_0x13696a(0x1e1)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x13696a(0x1ea),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x13696a(0x1c3)}}},n=e;module[_0x13696a(0x1ce)]=n;
1
+ 'use strict';const _0x4f80e2=_0x2776;(function(_0x59df18,_0x1e7821){const _0x1b6853=_0x2776,_0x10aed6=_0x59df18();while(!![]){try{const _0x254cdf=parseInt(_0x1b6853(0xdc))/0x1+-parseInt(_0x1b6853(0xca))/0x2*(-parseInt(_0x1b6853(0xe0))/0x3)+-parseInt(_0x1b6853(0xea))/0x4*(parseInt(_0x1b6853(0xe6))/0x5)+-parseInt(_0x1b6853(0xc8))/0x6*(-parseInt(_0x1b6853(0xde))/0x7)+parseInt(_0x1b6853(0xdf))/0x8*(parseInt(_0x1b6853(0xfa))/0x9)+-parseInt(_0x1b6853(0xed))/0xa*(parseInt(_0x1b6853(0xd9))/0xb)+-parseInt(_0x1b6853(0xf7))/0xc;if(_0x254cdf===_0x1e7821)break;else _0x10aed6['push'](_0x10aed6['shift']());}catch(_0x2602e3){_0x10aed6['push'](_0x10aed6['shift']());}}}(_0x18bb,0x47f67));function _0x2776(_0x33dba5,_0x3bcb25){const _0x18bb46=_0x18bb();return _0x2776=function(_0x277654,_0x265eb2){_0x277654=_0x277654-0xc8;let _0x1bd801=_0x18bb46[_0x277654];return _0x1bd801;},_0x2776(_0x33dba5,_0x3bcb25);}const e={'mcpStatus':{'disconnected':_0x4f80e2(0xe9),'connecting':_0x4f80e2(0xee),'connected':_0x4f80e2(0xd7),'failed':_0x4f80e2(0xe2),'retrying':'MCP\x20Retrying...','unknown':_0x4f80e2(0xd0),'unauthorized':_0x4f80e2(0xe3),'sessionOccupied':_0x4f80e2(0xf4),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x4f80e2(0xda),'clickToConnect':_0x4f80e2(0xd3),'clickToConfigure':_0x4f80e2(0xcf)},'mcpConfig':{'title':_0x4f80e2(0xf2),'description':_0x4f80e2(0xd8),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4f80e2(0xf1),'apiKeyHint':_0x4f80e2(0xd2),'enableAuth':_0x4f80e2(0xf5),'enableAuthHint':_0x4f80e2(0xf0),'connectionInfo':_0x4f80e2(0xd6),'mcpClientConfig':_0x4f80e2(0xd6),'configInstructions':_0x4f80e2(0xd4),'configStepTitle':_0x4f80e2(0xcd),'configStep1':_0x4f80e2(0xdd),'configStep2':_0x4f80e2(0xcb),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4f80e2(0xeb),'sessionIdDescription':_0x4f80e2(0xe1),'authorizationDescription':_0x4f80e2(0xf8),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x4f80e2(0xce),'saving':_0x4f80e2(0xf6),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x4f80e2(0xd5),'configSaved':_0x4f80e2(0xe5),'configError':_0x4f80e2(0xdb),'apiApplyInfo':{'title':_0x4f80e2(0xc9),'description':_0x4f80e2(0xe8),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x4f80e2(0xef),'invalidApiKey':_0x4f80e2(0xd1)},'connectionStatus':{'disconnected':_0x4f80e2(0xcc),'connecting':'Connecting...','connected':_0x4f80e2(0xf9),'failed':_0x4f80e2(0xe7),'retrying':_0x4f80e2(0xf3)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4f80e2(0xec)}}},n=e;function _0x18bb(){const _0x5dc02a=['Configuration\x20Steps:','Save\x20Configuration','Click\x20to\x20configure\x20MCP','MCP\x20Unknown\x20Status','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20connect\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Client\x20Configuration','MCP\x20Connected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','150931bmpHaT','MCP:\x20Max\x20Retries\x20Exceeded','Failed\x20to\x20save\x20configuration','199048Jmpbtv','Copy\x20the\x20JSON\x20configuration\x20below','442911dCTkzb','16aDccWb','1328163wGjRYO','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Connection\x20Failed','MCP:\x20Unauthorized','exports','Configuration\x20saved\x20successfully','45uJLHuL','Connection\x20Failed','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Disconnected','189856JenUsX','Session\x20ID','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','70AESHSW','MCP\x20Connecting...','Invalid\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Enter\x20your\x20API\x20key','MCP\x20Configuration','Retrying...','MCP:\x20Session\x20ID\x20Occupied','Enable\x20Authentication','Saving...','5895336BYmKcn','API\x20key\x20with\x20Bearer\x20prefix.','Connected','1010610ZMTERq','42xATaqD','What\x20is\x20API\x20Key?','2KjzHAg','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Disconnected'];_0x18bb=function(){return _0x5dc02a;};return _0x18bb();}module[_0x4f80e2(0xe4)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0xd5555d=_0x3cf9;(function(_0x3e1523,_0x316198){const _0x3ff533=_0x3cf9,_0xe6db05=_0x3e1523();while(!![]){try{const _0x33f218=-parseInt(_0x3ff533(0x136))/0x1+parseInt(_0x3ff533(0x13e))/0x2*(-parseInt(_0x3ff533(0x13c))/0x3)+-parseInt(_0x3ff533(0x145))/0x4*(parseInt(_0x3ff533(0x134))/0x5)+parseInt(_0x3ff533(0x137))/0x6*(parseInt(_0x3ff533(0x159))/0x7)+parseInt(_0x3ff533(0x132))/0x8*(parseInt(_0x3ff533(0x129))/0x9)+parseInt(_0x3ff533(0x14e))/0xa*(-parseInt(_0x3ff533(0x138))/0xb)+parseInt(_0x3ff533(0x154))/0xc;if(_0x33f218===_0x316198)break;else _0xe6db05['push'](_0xe6db05['shift']());}catch(_0x1951b8){_0xe6db05['push'](_0xe6db05['shift']());}}}(_0xe3df,0x472c8));function _0x3cf9(_0x546d9f,_0x1f3394){const _0xe3df55=_0xe3df();return _0x3cf9=function(_0x3cf99d,_0x390cb3){_0x3cf99d=_0x3cf99d-0x126;let _0x3029cb=_0xe3df55[_0x3cf99d];return _0x3029cb;},_0x3cf9(_0x546d9f,_0x1f3394);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0xd5555d(0x13a),'connected':_0xd5555d(0x130),'failed':_0xd5555d(0x12d),'retrying':_0xd5555d(0x158),'unknown':_0xd5555d(0x13f),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0xd5555d(0x155),'sessionOccupied':_0xd5555d(0x14d),'networkError':_0xd5555d(0x156),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xd5555d(0x14b),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xd5555d(0x143),'description':_0xd5555d(0x150),'apiKey':_0xd5555d(0x139),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xd5555d(0x152),'enableAuth':_0xd5555d(0x131),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0xd5555d(0x13b),'mcpClientConfig':_0xd5555d(0x13b),'configInstructions':_0xd5555d(0x142),'configStepTitle':_0xd5555d(0x149),'configStep1':_0xd5555d(0x15a),'configStep2':_0xd5555d(0x128),'configStep3':_0xd5555d(0x12f),'sessionId':_0xd5555d(0x153),'sessionIdDescription':_0xd5555d(0x14f),'authorizationDescription':_0xd5555d(0x144),'configParameters':'Configuration\x20Parameters:','maxRetries':_0xd5555d(0x141),'save':_0xd5555d(0x15b),'saving':_0xd5555d(0x127),'note1':_0xd5555d(0x13d),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0xd5555d(0x151),'configError':_0xd5555d(0x12a),'apiApplyInfo':{'title':_0xd5555d(0x133),'description':_0xd5555d(0x12e),'univerAiLabel':_0xd5555d(0x146),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xd5555d(0x140),'invalidConfig':_0xd5555d(0x157),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0xd5555d(0x135),'connecting':_0xd5555d(0x14c),'connected':'Connected','failed':_0xd5555d(0x12c),'retrying':_0xd5555d(0x147)},'connectionError':{'missingApiKey':_0xd5555d(0x148),'invalidApiKey':_0xd5555d(0x12b),'sessionOccupied':_0xd5555d(0x126),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0xd5555d(0x14a)}}},n=e;function _0xe3df(){const _0x34ab34=['Failed\x20to\x20save\x20configuration','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Connection\x20Failed','MCP\x20Connection\x20Failed','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connected','Enable\x20Authentication','8YdJCiM','What\x20is\x20API\x20Key?','1465hozauj','Disconnected','408671PUDmwC','6uRgNNv','44bRAvHv','API\x20Key','MCP\x20Connecting...','MCP\x20Client\x20Configuration','3RLWYIN','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','307892zVYufP','MCP\x20Unknown\x20Status','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Max\x20Retries','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','2620BYtfEm','Univer\x20AI\x20Console','Retrying...','API\x20key\x20is\x20required\x20to\x20connect','Configuration\x20Steps:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Click\x20to\x20connect\x20MCP','Connecting...','MCP:\x20Session\x20Occupied','1037170uewmOO','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20saved\x20successfully','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session\x20ID','11935836wxWmBd','MCP:\x20Invalid\x20API\x20Key','MCP:\x20Network\x20Error','Invalid\x20configuration','MCP\x20Retrying...','1024807dzTsHI','Copy\x20the\x20JSON\x20configuration\x20below','Save\x20Configuration','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Saving...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','2878866pfyaDz'];_0xe3df=function(){return _0x34ab34;};return _0xe3df();}module['exports']=n;
1
+ 'use strict';function _0x3931(_0x5f1382,_0x459383){const _0x5f262c=_0x5f26();return _0x3931=function(_0x393183,_0x1ef5b0){_0x393183=_0x393183-0x7f;let _0x21d16c=_0x5f262c[_0x393183];return _0x21d16c;},_0x3931(_0x5f1382,_0x459383);}const _0x43ce46=_0x3931;function _0x5f26(){const _0x3807a5=['1240463CmoeWl','Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Retrying...','Save\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','6049404VcDfDU','MCP:\x20Unauthorized','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','Click\x20to\x20configure\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20Steps:','MCP\x20Unknown\x20Status','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Configuration','Max\x20Retries','API\x20key\x20with\x20Bearer\x20prefix.','Failed\x20to\x20save\x20configuration','70VQZfoE','Enable\x20Authentication','365724MBwOXP','Configuration\x20saved\x20successfully','What\x20is\x20API\x20Key?','MCP\x20Connected','Disconnected','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','1984116dbObgg','Session\x20ID','Configuration\x20Parameters:','Univer\x20AI\x20Console','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','145RbaEVv','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','2FlJRFb','Enter\x20your\x20API\x20key','MCP:\x20Network\x20Error','9414042BGyVup','MCP\x20Connecting...','MCP\x20Connection\x20Failed','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','10252456BXIkSF','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','7OEtaDR','53752YWjcZm','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'];_0x5f26=function(){return _0x3807a5;};return _0x5f26();}(function(_0x4dd499,_0x4ea0a5){const _0x453d5b=_0x3931,_0x34992e=_0x4dd499();while(!![]){try{const _0x4e10ac=parseInt(_0x453d5b(0x9f))/0x1*(parseInt(_0x453d5b(0x91))/0x2)+parseInt(_0x453d5b(0x8a))/0x3+parseInt(_0x453d5b(0x9d))/0x4*(-parseInt(_0x453d5b(0x8f))/0x5)+-parseInt(_0x453d5b(0xa7))/0x6+-parseInt(_0x453d5b(0x9c))/0x7*(-parseInt(_0x453d5b(0x98))/0x8)+parseInt(_0x453d5b(0x83))/0x9*(-parseInt(_0x453d5b(0x81))/0xa)+-parseInt(_0x453d5b(0x94))/0xb;if(_0x4e10ac===_0x4ea0a5)break;else _0x34992e['push'](_0x34992e['shift']());}catch(_0xd617ed){_0x34992e['push'](_0x34992e['shift']());}}}(_0x5f26,0x9d83e));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x43ce46(0x95),'connected':_0x43ce46(0x86),'failed':_0x43ce46(0x96),'retrying':_0x43ce46(0xab),'unknown':_0x43ce46(0xb2),'unauthorized':_0x43ce46(0xa8),'sessionOccupied':_0x43ce46(0xa5),'networkError':_0x43ce46(0x93),'maxRetriesExceeded':_0x43ce46(0xad),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x43ce46(0xac)},'mcpConfig':{'title':_0x43ce46(0xb4),'description':_0x43ce46(0x99),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x43ce46(0x92),'apiKeyHint':_0x43ce46(0xa1),'enableAuth':_0x43ce46(0x82),'enableAuthHint':_0x43ce46(0xb0),'connectionInfo':_0x43ce46(0x89),'mcpClientConfig':_0x43ce46(0x89),'configInstructions':_0x43ce46(0x9b),'configStepTitle':_0x43ce46(0xb1),'configStep1':_0x43ce46(0x88),'configStep2':_0x43ce46(0xaf),'configStep3':_0x43ce46(0x90),'sessionId':_0x43ce46(0x8b),'sessionIdDescription':_0x43ce46(0xa9),'authorizationDescription':_0x43ce46(0x7f),'configParameters':_0x43ce46(0x8c),'maxRetries':_0x43ce46(0xb5),'save':_0x43ce46(0xa4),'saving':_0x43ce46(0x9a),'note1':_0x43ce46(0xb3),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x43ce46(0x84),'configError':_0x43ce46(0x80),'apiApplyInfo':{'title':_0x43ce46(0x85),'description':_0x43ce46(0x8e),'univerAiLabel':_0x43ce46(0x8d),'getStarted':_0x43ce46(0xaa)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x43ce46(0xa6),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x43ce46(0x9e)},'connectionStatus':{'disconnected':_0x43ce46(0x87),'connecting':'Connecting...','connected':'Connected','failed':_0x43ce46(0xa0),'retrying':_0x43ce46(0xa3)},'connectionError':{'unauthorized':_0x43ce46(0xae),'sessionOccupied':_0x43ce46(0x97),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x43ce46(0xa2)}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0x4e3166=_0x1b3d;(function(_0x51dc54,_0x423274){const _0x229fa3=_0x1b3d,_0xbd794=_0x51dc54();while(!![]){try{const _0x3431f9=parseInt(_0x229fa3(0x92))/0x1*(parseInt(_0x229fa3(0xa3))/0x2)+-parseInt(_0x229fa3(0x76))/0x3*(-parseInt(_0x229fa3(0xa2))/0x4)+parseInt(_0x229fa3(0x9b))/0x5+-parseInt(_0x229fa3(0x80))/0x6*(parseInt(_0x229fa3(0x8c))/0x7)+-parseInt(_0x229fa3(0x78))/0x8+-parseInt(_0x229fa3(0x98))/0x9*(-parseInt(_0x229fa3(0xa6))/0xa)+parseInt(_0x229fa3(0x74))/0xb*(-parseInt(_0x229fa3(0x7e))/0xc);if(_0x3431f9===_0x423274)break;else _0xbd794['push'](_0xbd794['shift']());}catch(_0x1ebb0a){_0xbd794['push'](_0xbd794['shift']());}}}(_0x24c3,0x38c09));function _0x24c3(){const _0x5195d4=['Click\x20to\x20configure\x20MCP','1876170LLGJwo','API\x20Key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connecting...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','What\x20is\x20API\x20Key?','API\x20key\x20with\x20Bearer\x20prefix.','68736XtwyEN','436VBqjFh','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connection\x20Failed','180DqAcSd','MCP\x20Connected','4160145TDAuxe','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','30XnQEiR','Enable\x20Authentication','2610464UmchcX','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20key\x20is\x20required\x20to\x20connect','Retrying...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','12BPRsSf','Connecting...','69636cDCPES','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Client\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20API\x20Key\x20Missing','MCP\x20Disconnected','exports','Disconnected','Connection\x20Failed','Configuration\x20Steps:','Configuration\x20saved\x20successfully','MCP:\x20Session\x20Occupied','42dXpuUQ','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Save\x20Configuration','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Max\x20Retries','981aDOVxN','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Failed\x20to\x20save\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.','Univer\x20AI\x20Console','MCP:\x20Network\x20Error','122832mZoFHj','Click\x20to\x20connect\x20MCP'];_0x24c3=function(){return _0x5195d4;};return _0x24c3();}const e={'mcpStatus':{'disconnected':_0x4e3166(0x85),'connecting':_0x4e3166(0x9e),'connected':_0x4e3166(0x73),'failed':_0x4e3166(0xa5),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x4e3166(0x84),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x4e3166(0x8b),'networkError':_0x4e3166(0x97),'maxRetriesExceeded':_0x4e3166(0xa4),'clickToConnect':_0x4e3166(0x99),'clickToConfigure':_0x4e3166(0x9a)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4e3166(0x7d),'apiKey':_0x4e3166(0x9c),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x4e3166(0x79),'enableAuth':_0x4e3166(0x77),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x4e3166(0x82),'mcpClientConfig':_0x4e3166(0x82),'configInstructions':_0x4e3166(0x93),'configStepTitle':_0x4e3166(0x89),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x4e3166(0x9d),'configStep3':_0x4e3166(0x7a),'sessionId':'Session\x20ID','sessionIdDescription':_0x4e3166(0x8d),'authorizationDescription':_0x4e3166(0xa1),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x4e3166(0x91),'save':_0x4e3166(0x8e),'saving':'Saving...','note1':_0x4e3166(0x75),'note2':_0x4e3166(0x90),'configSaved':_0x4e3166(0x8a),'configError':_0x4e3166(0x94),'apiApplyInfo':{'title':_0x4e3166(0xa0),'description':_0x4e3166(0x95),'univerAiLabel':_0x4e3166(0x96),'getStarted':_0x4e3166(0x81)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4e3166(0x83)},'connectionStatus':{'disconnected':_0x4e3166(0x87),'connecting':_0x4e3166(0x7f),'connected':'Connected','failed':_0x4e3166(0x88),'retrying':_0x4e3166(0x7c)},'connectionError':{'missingApiKey':_0x4e3166(0x7b),'invalidApiKey':_0x4e3166(0x9f),'sessionOccupied':_0x4e3166(0x8f),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x1b3d(_0x37f92e,_0x432176){const _0x24c3bc=_0x24c3();return _0x1b3d=function(_0x1b3d0a,_0x30f907){_0x1b3d0a=_0x1b3d0a-0x73;let _0x1bd7f3=_0x24c3bc[_0x1b3d0a];return _0x1bd7f3;},_0x1b3d(_0x37f92e,_0x432176);}module[_0x4e3166(0x86)]=n;
1
+ 'use strict';const _0xa83bc1=_0x2ba4;(function(_0x41d197,_0xf1761){const _0x50ab45=_0x2ba4,_0x11e4a7=_0x41d197();while(!![]){try{const _0x4305aa=-parseInt(_0x50ab45(0xb2))/0x1*(parseInt(_0x50ab45(0xd6))/0x2)+-parseInt(_0x50ab45(0xbe))/0x3*(parseInt(_0x50ab45(0xcf))/0x4)+-parseInt(_0x50ab45(0xb3))/0x5*(parseInt(_0x50ab45(0xcb))/0x6)+parseInt(_0x50ab45(0xc4))/0x7*(parseInt(_0x50ab45(0xda))/0x8)+-parseInt(_0x50ab45(0xdf))/0x9*(parseInt(_0x50ab45(0xd7))/0xa)+parseInt(_0x50ab45(0xc3))/0xb*(-parseInt(_0x50ab45(0xbf))/0xc)+-parseInt(_0x50ab45(0xc8))/0xd*(-parseInt(_0x50ab45(0xbb))/0xe);if(_0x4305aa===_0xf1761)break;else _0x11e4a7['push'](_0x11e4a7['shift']());}catch(_0x5efad9){_0x11e4a7['push'](_0x11e4a7['shift']());}}}(_0x558f,0x3e6df));function _0x2ba4(_0x10422f,_0x722e94){const _0x558fec=_0x558f();return _0x2ba4=function(_0x2ba40f,_0x258038){_0x2ba40f=_0x2ba40f-0xaf;let _0x49138c=_0x558fec[_0x2ba40f];return _0x49138c;},_0x2ba4(_0x10422f,_0x722e94);}const e={'mcpStatus':{'disconnected':_0xa83bc1(0xce),'connecting':_0xa83bc1(0xb8),'connected':_0xa83bc1(0xc1),'failed':_0xa83bc1(0xd4),'retrying':'MCP\x20Retrying...','unknown':_0xa83bc1(0xde),'unauthorized':_0xa83bc1(0xaf),'sessionOccupied':_0xa83bc1(0xbc),'networkError':_0xa83bc1(0xb6),'maxRetriesExceeded':_0xa83bc1(0xb5),'clickToConnect':_0xa83bc1(0xc5),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xa83bc1(0xc0),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xa83bc1(0xd3),'apiKeyPlaceholder':_0xa83bc1(0xe0),'apiKeyHint':_0xa83bc1(0xcd),'enableAuth':_0xa83bc1(0xb7),'enableAuthHint':_0xa83bc1(0xb1),'connectionInfo':_0xa83bc1(0xdc),'mcpClientConfig':_0xa83bc1(0xdc),'configInstructions':_0xa83bc1(0xc6),'configStepTitle':_0xa83bc1(0xc9),'configStep1':_0xa83bc1(0xb4),'configStep2':_0xa83bc1(0xd8),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0xa83bc1(0xd9),'sessionIdDescription':_0xa83bc1(0xe4),'authorizationDescription':_0xa83bc1(0xb0),'configParameters':_0xa83bc1(0xe3),'maxRetries':_0xa83bc1(0xd5),'save':_0xa83bc1(0xc2),'saving':_0xa83bc1(0xdd),'note1':_0xa83bc1(0xe2),'note2':_0xa83bc1(0xc7),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xa83bc1(0xdb),'description':_0xa83bc1(0xba),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xa83bc1(0xd2),'invalidConfig':_0xa83bc1(0xe1),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0xa83bc1(0xbd),'failed':_0xa83bc1(0xcc),'retrying':_0xa83bc1(0xd0)},'connectionError':{'unauthorized':_0xa83bc1(0xca),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0xa83bc1(0xb9)}}},n=e;function _0x558f(){const _0x4d95b7=['Enter\x20your\x20API\x20key','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Parameters:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Unauthorized','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20authentication\x20for\x20secure\x20connections','2pgMMBe','340wVqroE','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Network\x20Error','Enable\x20Authentication','MCP\x20Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','154IUgNSE','MCP:\x20Session\x20ID\x20Occupied','Connected','49320RdAAas','132ABONHF','MCP\x20Configuration','MCP\x20Connected','Save\x20Configuration','49379uYPwqm','66227CIDUCJ','Click\x20to\x20connect\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1621204fxoxcA','Configuration\x20Steps:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','30324FiRMYv','Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Disconnected','120CXrSYg','Retrying...','exports','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key','MCP\x20Connection\x20Failed','Max\x20Retries','458554OGOfbo','50JXOwix','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Session\x20ID','424kcopoH','What\x20is\x20API\x20Key?','MCP\x20Client\x20Configuration','Saving...','MCP\x20Unknown\x20Status','490869hmeRvf'];_0x558f=function(){return _0x4d95b7;};return _0x558f();}module[_0xa83bc1(0xd1)]=n;