@univerjs-pro/mcp-ui 0.16.1 → 0.17.0

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 (54) 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/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/plugin.d.ts +2 -0
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/sk-SK.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +8 -8
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3015b1=_0x3b08;(function(_0x359b2d,_0x13eb3d){const _0x3d988=_0x3b08,_0x3c7a5a=_0x359b2d();while(!![]){try{const _0x9b64dd=-parseInt(_0x3d988(0x1f4))/0x1*(-parseInt(_0x3d988(0x1da))/0x2)+-parseInt(_0x3d988(0x10d))/0x3+parseInt(_0x3d988(0x197))/0x4*(parseInt(_0x3d988(0x15c))/0x5)+-parseInt(_0x3d988(0x182))/0x6*(-parseInt(_0x3d988(0x108))/0x7)+parseInt(_0x3d988(0x19a))/0x8+parseInt(_0x3d988(0xd6))/0x9+-parseInt(_0x3d988(0x146))/0xa;if(_0x9b64dd===_0x13eb3d)break;else _0x3c7a5a['push'](_0x3c7a5a['shift']());}catch(_0x10fc33){_0x3c7a5a['push'](_0x3c7a5a['shift']());}}}(_0x1316,0x2028d));var ae=Object['defineProperty'],le=(_0x2a4535,_0x4a3594,_0x1bfcfd)=>_0x4a3594 in _0x2a4535?ae(_0x2a4535,_0x4a3594,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bfcfd}):_0x2a4535[_0x4a3594]=_0x1bfcfd,I=(_0x2cdb1f,_0x1d2241,_0x985b0c)=>le(_0x2cdb1f,typeof _0x1d2241!=_0x3015b1(0xf5)?_0x1d2241+'':_0x1d2241,_0x985b0c);Object[_0x3015b1(0xf7)](exports,Symbol['toStringTag'],{'value':_0x3015b1(0x1dd)});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x4b0871,..._0x184a34}){const _0x141252=_0x3015b1,{icon:_0x4f88c3,id:_0x973c3c,className:_0x4c88d9,extend:_0x38ef0e,..._0x422a0d}=_0x184a34,_0x5f436b=(_0x141252(0x22d)+_0x973c3c+'\x20'+(_0x4c88d9||''))['trim'](),_0x5258f0=d['useRef']('_'+de());return G(_0x4f88c3,''+_0x973c3c,{'defIds':_0x4f88c3[_0x141252(0xe4)],'idSuffix':_0x5258f0[_0x141252(0x1d3)]},{'ref':_0x4b0871,'className':_0x5f436b,..._0x422a0d},_0x38ef0e);}function G(_0x2ee252,_0x5ccc67,_0x100bbe,_0x5e4466,_0x1c4c9b){const _0x181669=_0x3015b1;return d['createElement'](_0x2ee252[_0x181669(0x1f3)],{'key':_0x5ccc67,...ue(_0x2ee252,_0x100bbe,_0x1c4c9b),..._0x5e4466},(ve(_0x2ee252,_0x100bbe)['children']||[])['map']((_0x46ed3a,_0x3b8e95)=>G(_0x46ed3a,_0x5ccc67+'-'+_0x2ee252[_0x181669(0x1f3)]+'-'+_0x3b8e95,_0x100bbe,void 0x0,_0x1c4c9b)));}function ue(_0x31abf3,_0x256900,_0xe5b8d0){const _0x4a775b=_0x3015b1,_0x5cc122={..._0x31abf3[_0x4a775b(0x1ef)]};_0xe5b8d0!=null&&_0xe5b8d0[_0x4a775b(0x23d)]&&_0x5cc122[_0x4a775b(0x213)]==='colorChannel1'&&(_0x5cc122[_0x4a775b(0x213)]=_0xe5b8d0[_0x4a775b(0x23d)]),_0x31abf3['tag']===_0x4a775b(0x220)&&_0x5cc122['id']&&(_0x5cc122['id']=_0x5cc122['id']+_0x256900[_0x4a775b(0xea)]),Object[_0x4a775b(0x223)](_0x5cc122)[_0x4a775b(0x1cc)](([_0x4ca4c9,_0x3973a4])=>{const _0x3fb367=_0x4a775b;_0x4ca4c9===_0x3fb367(0x220)&&typeof _0x3973a4==_0x3fb367(0x134)&&(_0x5cc122[_0x4ca4c9]=_0x3973a4[_0x3fb367(0x19f)](/url\(#(.*)\)/,_0x3fb367(0x152)+_0x256900[_0x3fb367(0xea)]+')'));});const {defIds:_0x5838bb}=_0x256900;return!_0x5838bb||_0x5838bb['length']===0x0||(_0x31abf3[_0x4a775b(0x1f3)]===_0x4a775b(0x208)&&_0x5cc122[_0x4a775b(0x1ab)]&&(_0x5cc122['xlink:href']=_0x5cc122[_0x4a775b(0x1ab)]+_0x256900[_0x4a775b(0xea)]),Object[_0x4a775b(0x223)](_0x5cc122)[_0x4a775b(0x1cc)](([_0x2d56b6,_0x28b8e3])=>{const _0x396596=_0x4a775b;typeof _0x28b8e3==_0x396596(0x134)&&(_0x5cc122[_0x2d56b6]=_0x28b8e3[_0x396596(0x19f)](/url\(#(.*)\)/,_0x396596(0x152)+_0x256900[_0x396596(0xea)]+')'));})),_0x5cc122;}function ve(_0xb0aa0e,_0x42e609){const _0x5ce2b6=_0x3015b1;var _0x2cf76d;const {defIds:_0x3c4689}=_0x42e609;return!_0x3c4689||_0x3c4689[_0x5ce2b6(0x185)]===0x0?_0xb0aa0e:_0xb0aa0e[_0x5ce2b6(0x1f3)]===_0x5ce2b6(0x23b)&&((_0x2cf76d=_0xb0aa0e[_0x5ce2b6(0x187)])!=null&&_0x2cf76d[_0x5ce2b6(0x185)])?{..._0xb0aa0e,'children':_0xb0aa0e[_0x5ce2b6(0x187)]['map'](_0x40ae30=>typeof _0x40ae30[_0x5ce2b6(0x1ef)]['id']==_0x5ce2b6(0x134)&&_0x3c4689&&_0x3c4689['includes'](_0x40ae30[_0x5ce2b6(0x1ef)]['id'])?{..._0x40ae30,'attrs':{..._0x40ae30[_0x5ce2b6(0x1ef)],'id':_0x40ae30[_0x5ce2b6(0x1ef)]['id']+_0x42e609[_0x5ce2b6(0xea)]}}:_0x40ae30)}:_0xb0aa0e;}function de(){const _0x1b5ebf=_0x3015b1;return Math[_0x1b5ebf(0x234)]()[_0x1b5ebf(0x1d1)](0x24)[_0x1b5ebf(0xfa)](0x2,0x8);}_['displayName']=_0x3015b1(0x162);const Ce={'tag':_0x3015b1(0x203),'attrs':{'xmlns':_0x3015b1(0x1df),'fill':_0x3015b1(0x1cd),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3015b1(0x190)},'children':[{'tag':'path','attrs':{'fill':_0x3015b1(0x1d8),'d':_0x3015b1(0x229),'fillRule':_0x3015b1(0x180),'clipRule':_0x3015b1(0x180)}}]},H=d[_0x3015b1(0x1a0)](function(_0x3efa19,_0x55ac91){return d['createElement'](_,Object['assign']({},_0x3efa19,{'id':'check-mark-icon','ref':_0x55ac91,'icon':Ce}));});H[_0x3015b1(0x22e)]=_0x3015b1(0x14e);const ge={'tag':_0x3015b1(0x203),'attrs':{'xmlns':_0x3015b1(0x1df),'fill':'none','viewBox':_0x3015b1(0x1a5),'width':_0x3015b1(0x190),'height':_0x3015b1(0x190)},'children':[{'tag':'path','attrs':{'fill':_0x3015b1(0x1d8),'d':_0x3015b1(0x186)}}]},B=d[_0x3015b1(0x1a0)](function(_0x25b658,_0x315074){const _0x3f0e61=_0x3015b1;return d[_0x3f0e61(0x173)](_,Object[_0x3f0e61(0xe0)]({},_0x25b658,{'id':_0x3f0e61(0x238),'ref':_0x315074,'icon':ge}));});B['displayName']=_0x3015b1(0x10a);const fe={'tag':_0x3015b1(0x203),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3015b1(0x1cd),'viewBox':_0x3015b1(0x1a5),'width':_0x3015b1(0x190),'height':_0x3015b1(0x190)},'children':[{'tag':_0x3015b1(0x1ac),'attrs':{'fill':'currentColor','d':_0x3015b1(0x1c9)}},{'tag':_0x3015b1(0x1ac),'attrs':{'fill':'currentColor','d':_0x3015b1(0x1b4)}},{'tag':_0x3015b1(0x1ac),'attrs':{'fill':_0x3015b1(0x1d8),'d':_0x3015b1(0x155),'fillRule':_0x3015b1(0x180),'clipRule':'evenodd'}}]},F=d[_0x3015b1(0x1a0)](function(_0x1f25b9,_0x27b828){return d['createElement'](_,Object['assign']({},_0x1f25b9,{'id':'help-icon','ref':_0x27b828,'icon':fe}));});F['displayName']=_0x3015b1(0x1ff);const pe={'tag':_0x3015b1(0x203),'attrs':{'xmlns':_0x3015b1(0x1df),'fill':'none','viewBox':_0x3015b1(0x1a5),'width':_0x3015b1(0x190),'height':_0x3015b1(0x190)},'children':[{'tag':'g','attrs':{'clipPath':_0x3015b1(0x198)},'children':[{'tag':_0x3015b1(0x1ac),'attrs':{'stroke':_0x3015b1(0x1d8),'d':_0x3015b1(0x24c),'strokeLinecap':_0x3015b1(0x175),'strokeLinejoin':_0x3015b1(0x175),'strokeWidth':1.2}}]},{'tag':_0x3015b1(0x23b),'attrs':{},'children':[{'tag':_0x3015b1(0xe8),'attrs':{'id':_0x3015b1(0x1ce)},'children':[{'tag':_0x3015b1(0x1ac),'attrs':{'fill':_0x3015b1(0x200),'d':_0x3015b1(0x133)}}]}]}],'defIds':[_0x3015b1(0x1ce)]},Y=d[_0x3015b1(0x1a0)](function(_0x13901d,_0x373984){const _0x66695a=_0x3015b1;return d[_0x66695a(0x173)](_,Object[_0x66695a(0xe0)]({},_0x13901d,{'id':_0x66695a(0x193),'ref':_0x373984,'icon':pe}));});Y[_0x3015b1(0x22e)]='OffLineIcon';const he={'tag':_0x3015b1(0x203),'attrs':{'xmlns':_0x3015b1(0x1df),'fill':_0x3015b1(0x1cd),'viewBox':_0x3015b1(0x22c),'width':'1em','height':_0x3015b1(0x190)},'children':[{'tag':'g','attrs':{'clipPath':_0x3015b1(0x1b3)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x3015b1(0x18a),'strokeLinecap':_0x3015b1(0x175),'strokeLinejoin':_0x3015b1(0x175),'strokeWidth':1.2}}]},{'tag':_0x3015b1(0x23b),'attrs':{},'children':[{'tag':_0x3015b1(0xe8),'attrs':{'id':_0x3015b1(0x1e0)},'children':[{'tag':'path','attrs':{'fill':_0x3015b1(0x200),'d':_0x3015b1(0x133),'transform':_0x3015b1(0x1b2)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},q=d[_0x3015b1(0x1a0)](function(_0xa77e18,_0x256de3){const _0x599c87=_0x3015b1;return d[_0x599c87(0x173)](_,Object[_0x599c87(0xe0)]({},_0xa77e18,{'id':'on-line-icon','ref':_0x256de3,'icon':he}));});q['displayName']=_0x3015b1(0x149);function V(_0x2a5d14){const _0x1b6315=_0x3015b1;var _0x444533,_0x24d5ae;const {mcpCoreConfig:_0x4fe1f2,onSave:_0x13c23e,loading:_0x51d6de=!0x1,config:_0x479336,connectionStatus$:_0x569a5e,connectionError$:_0x28d55d,currentApiKey$:_0x2d7d4b,currentSessionId$:_0x364601}=_0x2a5d14,_0x4fcbc2=v[_0x1b6315(0xfd)](u[_0x1b6315(0x115)]),_0x565896=v[_0x1b6315(0x242)](_0x569a5e,s[_0x1b6315(0x23e)][_0x1b6315(0x127)]),_0x42e79c=v[_0x1b6315(0x242)](_0x28d55d,s[_0x1b6315(0x1aa)][_0x1b6315(0x177)]),_0x5d6e51=v[_0x1b6315(0x242)](_0x364601,''),_0x47d56f=v[_0x1b6315(0x242)](_0x2d7d4b,''),[_0x501e92,_0xeafe20]=d[_0x1b6315(0x1c0)](_0x47d56f||''),_0x203f76=!0x0,_0x415311=_0x479336[_0x1b6315(0x250)]&&_0x4fe1f2[_0x1b6315(0xeb)]&&(_0x4fe1f2[_0x1b6315(0xeb)][_0x1b6315(0xd9)](_0x1b6315(0x166))||_0x4fe1f2[_0x1b6315(0xeb)][_0x1b6315(0xd9)]('univer.ai')),_0x376328=(_0x444533=_0x4fe1f2[_0x1b6315(0xeb)])==null?void 0x0:_0x444533[_0x1b6315(0xd9)](_0x1b6315(0x166)),_0x3b7c66=(_0x24d5ae=_0x4fe1f2['mcpServerUrl'])==null?void 0x0:_0x24d5ae['includes']('univer.ai'),_0x1f5c61=_0x376328?'https://console.univer.plus':_0x1b6315(0x122),_0x4b6c45=_0x479336['showDeveloperTools']&&(_0x376328||_0x3b7c66),[_0x1e3e7a,_0x41f5b2]=d[_0x1b6315(0x1c0)](!_0x501e92[_0x1b6315(0x20f)]()),_0x54c7bf=(_0x422f4c,_0x433059)=>{const _0x138ac1=_0x1b6315;if(_0x433059===s[_0x138ac1(0x1aa)]['UNAUTHORIZED'])return _0x138ac1(0x15b);switch(_0x422f4c){case s[_0x138ac1(0x23e)][_0x138ac1(0x103)]:return _0x138ac1(0x12c);case s[_0x138ac1(0x23e)][_0x138ac1(0x184)]:case s[_0x138ac1(0x23e)][_0x138ac1(0x233)]:return _0x138ac1(0x240);case s[_0x138ac1(0x23e)][_0x138ac1(0x1d6)]:return _0x138ac1(0x15b);default:return _0x138ac1(0x21d);}},_0x13758c=(_0x1d8e52,_0x488b99)=>{const _0x304b66=_0x1b6315;if(_0x488b99===s[_0x304b66(0x1aa)]['UNAUTHORIZED'])return _0x304b66(0x114);switch(_0x1d8e52){case s[_0x304b66(0x23e)][_0x304b66(0x103)]:return _0x304b66(0x1e2);case s[_0x304b66(0x23e)][_0x304b66(0x184)]:case s[_0x304b66(0x23e)]['RETRYING']:return _0x304b66(0x10f);case s[_0x304b66(0x23e)]['FAILED']:return _0x304b66(0x114);default:return _0x304b66(0x163);}},_0x4ba5a3=_0x2b717a=>{const _0x120866=_0x1b6315;switch(_0x2b717a){case s[_0x120866(0x23e)][_0x120866(0x103)]:return _0x4fcbc2['t'](_0x120866(0x116));case s[_0x120866(0x23e)][_0x120866(0x184)]:return _0x4fcbc2['t'](_0x120866(0x199));case s['MCPConnectionStatus'][_0x120866(0x1d6)]:return _0x4fcbc2['t'](_0x120866(0x16c));case s[_0x120866(0x23e)]['RETRYING']:return _0x4fcbc2['t'](_0x120866(0x121));default:return _0x4fcbc2['t'](_0x120866(0x1af));}},_0x35d588=_0x1d4e85=>{const _0x330834=_0x1b6315;switch(_0x1d4e85){case s['MCPConnectionError'][_0x330834(0x165)]:return _0x4fcbc2['t'](_0x330834(0x1e8));case s[_0x330834(0x1aa)][_0x330834(0x245)]:return _0x4fcbc2['t']('mcpConfig.connectionError.sessionOccupied');case s[_0x330834(0x1aa)][_0x330834(0xe3)]:return _0x4fcbc2['t'](_0x330834(0x16b));case s[_0x330834(0x1aa)][_0x330834(0x192)]:return _0x4fcbc2['t'](_0x330834(0x1d4));default:return'';}},_0x1b8c25=d[_0x1b6315(0x1f7)](()=>{const _0xeac895=_0x1b6315,_0x30880a={..._0x4fe1f2,'apiKey':_0x501e92[_0xeac895(0x20f)](),'enableAuth':_0x203f76};_0x13c23e(_0x30880a);},[_0x4fe1f2,_0x501e92,_0x203f76,_0x13c23e]),_0x223e71=_0x501e92[_0x1b6315(0x20f)]()['length']>0x0;return i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':_0x1b6315(0x1d7),'children':[i[_0x1b6315(0x157)]('div',{'className':_0x1b6315(0x243),'children':i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[i[_0x1b6315(0x157)](_0x1b6315(0x22b),{'className':_0x1b6315(0x128),'children':i[_0x1b6315(0x157)](_0x1b6315(0x19c),{'className':_0x1b6315(0x11d),'children':'⚙'})}),i[_0x1b6315(0x157)](_0x1b6315(0x22b),{'children':i[_0x1b6315(0x157)]('p',{'className':_0x1b6315(0x1a8),'children':_0x4fcbc2['t'](_0x1b6315(0x140))})})]})}),i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':_0x1b6315(0x195),'children':[i[_0x1b6315(0x157)]('div',{'className':f[_0x1b6315(0xfb)](_0x1b6315(0x1a9),_0x54c7bf(_0x565896,_0x42e79c)),'children':i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x1b6315(0x157)](_0x1b6315(0x22b),{'className':f[_0x1b6315(0xfb)](_0x1b6315(0x14a),_0x13758c(_0x565896,_0x42e79c))}),i['jsx']('span',{'className':_0x1b6315(0x117),'children':_0x4ba5a3(_0x565896)})]})}),_0x42e79c!==s[_0x1b6315(0x1aa)][_0x1b6315(0x177)]&&(_0x565896===s['MCPConnectionStatus'][_0x1b6315(0x1d6)]||_0x42e79c===s[_0x1b6315(0x1aa)]['UNAUTHORIZED'])&&i[_0x1b6315(0x157)](_0x1b6315(0x22b),{'className':_0x1b6315(0x16a),'children':i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':_0x1b6315(0x1b6),'children':[i[_0x1b6315(0x157)]('span',{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),i[_0x1b6315(0x157)]('p',{'className':_0x1b6315(0x1fc),'children':_0x35d588(_0x42e79c)})]})})]}),i['jsx'](_0x1b6315(0x22b),{'className':_0x1b6315(0xf8),'children':i['jsxs'](_0x1b6315(0x22b),{'className':'univer-space-y-5','children':[i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':_0x1b6315(0x1b5),'children':[i[_0x1b6315(0x1b1)](_0x1b6315(0x12e),{'className':_0x1b6315(0x1ee),'children':[i['jsx'](_0x1b6315(0x19c),{'children':'🔑'}),'\x20',_0x4fcbc2['t'](_0x1b6315(0x130)),i['jsx'](_0x1b6315(0x19c),{'className':'univer-text-red-500','children':'*'}),_0x415311&&i[_0x1b6315(0x157)]('a',{'className':_0x1b6315(0x219),'title':_0x4fcbc2['t']('mcpConfig.apiApplyInfo.title'),'role':'button','onClick':()=>_0x41f5b2(!0x0),'children':i['jsx'](F,{})})]}),i[_0x1b6315(0x157)](f[_0x1b6315(0x16f)],{'type':_0x1b6315(0xd4),'placeholder':_0x4fcbc2['t'](_0x1b6315(0x196)),'value':_0x501e92,'disabled':_0x51d6de,'autoComplete':_0x1b6315(0x1a1),'onChange':_0xeafe20}),i[_0x1b6315(0x157)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x4fcbc2['t'](_0x1b6315(0x1e1))})]}),_0x415311&&_0x1e3e7a&&i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':_0x1b6315(0x210),'children':[i[_0x1b6315(0x157)]('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-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','role':_0x1b6315(0x214),'onClick':()=>_0x41f5b2(!0x1),'children':i['jsx'](B,{'className':_0x1b6315(0xdf)})}),i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x1b6315(0x157)]('div',{'className':_0x1b6315(0x224),'children':i[_0x1b6315(0x157)](_0x1b6315(0x19c),{'className':_0x1b6315(0x136),'children':'🚀'})}),i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':_0x1b6315(0x105),'children':[i['jsx']('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x4fcbc2['t'](_0x1b6315(0x1a7))}),i[_0x1b6315(0x157)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x4fcbc2['t'](_0x1b6315(0x207))}),i['jsx'](_0x1b6315(0x22b),{'className':_0x1b6315(0xf0),'children':_0x4b6c45&&i[_0x1b6315(0x1b1)]('a',{'className':_0x1b6315(0x201),'href':_0x1f5c61,'target':_0x1b6315(0xf9),'rel':_0x1b6315(0x142),'children':[i[_0x1b6315(0x157)](_0x1b6315(0x19c),{'children':'🤖'}),_0x4fcbc2['t']('mcpConfig.apiApplyInfo.univerAiLabel'),i[_0x1b6315(0x157)](_0x1b6315(0x19c),{'className':_0x1b6315(0x1fe),'children':'↗'})]})}),i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':_0x1b6315(0x1f5),'children':['✨','\x20',_0x4fcbc2['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x479336['showDeveloperTools']&&i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':_0x1b6315(0x17e),'children':[i[_0x1b6315(0x1b1)]('h4',{'className':_0x1b6315(0x1e7),'children':[i[_0x1b6315(0x157)](_0x1b6315(0x19c),{'children':'🔗'}),'\x20',_0x4fcbc2['t'](_0x1b6315(0x251))]}),i[_0x1b6315(0x1b1)]('div',{'className':'univer-space-y-4','children':[i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':'univer-space-y-3','children':[i['jsx']('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x4fcbc2['t']('mcpConfig.configInstructions')}),i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':'univer-space-y-2','children':[i[_0x1b6315(0x157)](_0x1b6315(0x22b),{'className':_0x1b6315(0x225),'children':_0x4fcbc2['t'](_0x1b6315(0x125))}),i['jsxs'](_0x1b6315(0x22b),{'className':_0x1b6315(0x148),'children':[i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':_0x1b6315(0x10c),'children':[i[_0x1b6315(0x157)](_0x1b6315(0x19c),{'className':_0x1b6315(0x188),'children':'1'}),_0x4fcbc2['t']('mcpConfig.configStep1')]}),i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i['jsx'](_0x1b6315(0x19c),{'className':_0x1b6315(0x188),'children':'2'}),_0x4fcbc2['t'](_0x1b6315(0x23a))]}),i[_0x1b6315(0x1b1)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x1b6315(0x157)](_0x1b6315(0x19c),{'className':_0x1b6315(0x188),'children':'3'}),_0x4fcbc2['t']('mcpConfig.configStep3')]})]})]})]}),i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':_0x1b6315(0x1b5),'children':[i['jsx'](_0x1b6315(0x22b),{'className':_0x1b6315(0x225),'children':_0x1b6315(0x20a)}),i[_0x1b6315(0x157)]('div',{'className':_0x1b6315(0x1c8),'children':i[_0x1b6315(0x157)](_0x1b6315(0x19b),{'className':_0x1b6315(0x18b),'children':JSON[_0x1b6315(0x172)]({'mcpServers':{'univer':{'url':_0x1b6315(0x11e)+(_0x5d6e51||'<SESSION_ID>'),'type':'http','headers':{'Authorization':_0x1b6315(0x249)+(_0x501e92||_0x1b6315(0x1ed))}}}},null,0x2)})})]}),i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':'univer-space-y-3','children':[i[_0x1b6315(0x157)](_0x1b6315(0x22b),{'className':_0x1b6315(0x225),'children':_0x4fcbc2['t'](_0x1b6315(0xdd))}),i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':_0x1b6315(0x1b5),'children':[i[_0x1b6315(0x1b1)]('div',{'className':_0x1b6315(0x1f0),'children':[i['jsx'](_0x1b6315(0x22b),{'className':_0x1b6315(0x100)}),i[_0x1b6315(0x1b1)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x1b6315(0x157)](_0x1b6315(0x22b),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'univer_session_id:'}),i['jsx'](_0x1b6315(0x22b),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x4fcbc2['t'](_0x1b6315(0x206))})]})]}),i['jsxs'](_0x1b6315(0x22b),{'className':_0x1b6315(0x1f0),'children':[i[_0x1b6315(0x157)](_0x1b6315(0x22b),{'className':_0x1b6315(0x100)}),i['jsxs'](_0x1b6315(0x22b),{'className':_0x1b6315(0x15e),'children':[i['jsx']('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'Authorization:'}),i[_0x1b6315(0x157)](_0x1b6315(0x22b),{'className':_0x1b6315(0xed),'children':_0x4fcbc2['t'](_0x1b6315(0x232))})]})]})]})]})]})]}),i[_0x1b6315(0x157)](f[_0x1b6315(0x1e6)],{'onClick':_0x1b8c25,'disabled':!_0x223e71||_0x51d6de,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x51d6de?i[_0x1b6315(0x1b1)]('span',{'className':_0x1b6315(0x10c),'children':[i[_0x1b6315(0x157)](_0x1b6315(0x19c),{'children':'⟲'}),_0x4fcbc2['t'](_0x1b6315(0x13c))]}):i[_0x1b6315(0x1b1)](_0x1b6315(0x19c),{'className':_0x1b6315(0x10c),'children':[i[_0x1b6315(0x157)](H,{}),_0x4fcbc2['t'](_0x1b6315(0x1de))]})}),i['jsx']('div',{'className':_0x1b6315(0x179),'children':i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'className':_0x1b6315(0x106),'children':[i[_0x1b6315(0x157)](_0x1b6315(0x19c),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),i[_0x1b6315(0x1b1)]('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[i[_0x1b6315(0x157)](_0x1b6315(0x22b),{'className':_0x1b6315(0x1c4),'children':_0x1b6315(0x156)}),i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'children':['•',_0x4fcbc2['t'](_0x1b6315(0x1b9))]}),i[_0x1b6315(0x1b1)](_0x1b6315(0x22b),{'children':['•',_0x4fcbc2['t']('mcpConfig.note2')]})]})]})})]})})]});}const P='mcp-ui.config',L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x3015b1(0x194)],xe=(_0x41484c,_0x15ddf3,_0x362b7e,_0x11534a)=>{const _0x452ba7=_0x3015b1;for(var _0x16cb47=_0x11534a>0x1?void 0x0:_0x11534a?me(_0x15ddf3,_0x362b7e):_0x15ddf3,_0x260bbb=_0x41484c[_0x452ba7(0x185)]-0x1,_0x4cd0ee;_0x260bbb>=0x0;_0x260bbb--)(_0x4cd0ee=_0x41484c[_0x260bbb])&&(_0x16cb47=_0x4cd0ee(_0x16cb47)||_0x16cb47);return _0x16cb47;},g=(_0xb407e9,_0x2664e9)=>(_0x47d62f,_0x3e3fa4)=>_0x2664e9(_0x47d62f,_0x3e3fa4,_0xb407e9);const O=_0x3015b1(0xe2),D=_0x3015b1(0x1d2);exports[_0x3015b1(0x1a6)]=class extends u['Disposable']{constructor(_0x4ca29f,_0x413522,_0x1ccc51,_0x36217f,_0x50704b,_0x5b315c,_0x28f581,_0x4172c4,_0x122837,_0x453100){const _0x41c557=_0x3015b1;super(),I(this,_0x41c557(0x1d9),new M[(_0x41c557(0x1e9))](!0x1)),I(this,'_mcpCoreConfig$',new M[(_0x41c557(0x1e9))]({})),I(this,_0x41c557(0x231),new M['BehaviorSubject']({})),I(this,_0x41c557(0x10e),new M[(_0x41c557(0x1e9))]('')),I(this,'_handleConfigSave',async _0x54750f=>{const _0x34ca6b=_0x41c557;var _0x1762eb,_0x270804;this['_loading$'][_0x34ca6b(0x101)](!0x0);try{const _0x351d73=await this[_0x34ca6b(0x15d)](_0x54750f);if(!_0x351d73[_0x34ca6b(0x178)]){this[_0x34ca6b(0x1d5)][_0x34ca6b(0x153)]({'type':f[_0x34ca6b(0x1dc)][_0x34ca6b(0x237)],'content':_0x351d73['errorMessage']||this[_0x34ca6b(0x23f)]['t'](_0x34ca6b(0x110))});return;}_0x54750f[_0x34ca6b(0x161)]?await this['_localStorageService'][_0x34ca6b(0x13b)](O,_0x54750f[_0x34ca6b(0x161)]['trim']()):await this[_0x34ca6b(0x145)][_0x34ca6b(0x24d)](O),this[_0x34ca6b(0x10e)]['next'](((_0x1762eb=_0x54750f[_0x34ca6b(0x161)])==null?void 0x0:_0x1762eb[_0x34ca6b(0x20f)]())||''),this[_0x34ca6b(0x1b0)][_0x34ca6b(0x211)]({'Authorization':'Bearer\x20'+((_0x270804=_0x54750f['apiKey'])==null?void 0x0:_0x270804[_0x34ca6b(0x20f)]())}),this[_0x34ca6b(0x1d5)][_0x34ca6b(0x153)]({'type':f[_0x34ca6b(0x1dc)][_0x34ca6b(0x11b)],'content':this[_0x34ca6b(0x23f)]['t'](_0x34ca6b(0x226))}),setTimeout(()=>{this['_dialogService']['close'](D);},0x320);}catch(_0x38c802){this[_0x34ca6b(0x1fb)][_0x34ca6b(0x1a2)](_0x34ca6b(0x176),_0x38c802),this[_0x34ca6b(0x1d5)]['show']({'type':f[_0x34ca6b(0x1dc)][_0x34ca6b(0x237)],'content':this['_localeService']['t'](_0x34ca6b(0x104))});}finally{this[_0x34ca6b(0x1d9)]['next'](!0x1);}}),(this[_0x41c557(0x123)]=_0x4ca29f,this[_0x41c557(0x11a)]=_0x413522,this[_0x41c557(0x118)]=_0x1ccc51,this[_0x41c557(0x145)]=_0x36217f,this[_0x41c557(0x18e)]=_0x50704b,this[_0x41c557(0x1d5)]=_0x5b315c,this[_0x41c557(0x1cf)]=_0x28f581,this[_0x41c557(0x23f)]=_0x4172c4,this['_logService']=_0x122837,this[_0x41c557(0x1b0)]=_0x453100,this[_0x41c557(0x1ba)](),this[_0x41c557(0xec)](),this[_0x41c557(0x1c2)]());}[_0x3015b1(0x13d)](){const _0xa1314c=_0x3015b1,_0x4c0909=this[_0xa1314c(0x118)]['getConfig'](P);_0x4c0909!=null&&_0x4c0909[_0xa1314c(0x250)]&&this[_0xa1314c(0x18e)][_0xa1314c(0x236)]({'id':D,'title':{'title':this[_0xa1314c(0x23f)]['t'](_0xa1314c(0x1c3))},'children':{'label':_0xa1314c(0x1ea)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x4a24d1=_0xa1314c;this[_0x4a24d1(0x18e)][_0x4a24d1(0x22f)](D);}});}[_0x3015b1(0x252)](){const _0x2d0a4b=_0x3015b1;return this[_0x2d0a4b(0x1e3)][_0x2d0a4b(0x164)];}['_registerComponent'](){const _0x3b8058=_0x3015b1;this[_0x3b8058(0x21b)](this[_0x3b8058(0x1cf)][_0x3b8058(0xe6)](_0x3b8058(0x1ea),this['_createConfigPanelComponent']()));}[_0x3015b1(0x24a)](){const _0x2f319d=_0x3015b1;return v[_0x2f319d(0x202)](()=>{const _0x2a8841=_0x2f319d;var _0x1c406b,_0x2e983b,_0x4c6236;return i[_0x2a8841(0x157)](V,{'config':this[_0x2a8841(0x231)][_0x2a8841(0x164)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x2a8841(0x164)],'currentApiKey$':this[_0x2a8841(0x10e)],'onSave':this[_0x2a8841(0xda)],'loading':this[_0x2a8841(0x1d9)][_0x2a8841(0x164)],'connectionStatus$':(_0x1c406b=this[_0x2a8841(0x1b0)])==null?void 0x0:_0x1c406b[_0x2a8841(0x21c)],'connectionError$':(_0x2e983b=this[_0x2a8841(0x1b0)])==null?void 0x0:_0x2e983b['connectionError$'],'currentSessionId$':(_0x4c6236=this[_0x2a8841(0x1b0)])==null?void 0x0:_0x4c6236[_0x2a8841(0x119)]});},this[_0x2f319d(0x123)]);}[_0x3015b1(0x1ba)](){const _0x2917c3=_0x3015b1;this[_0x2917c3(0x21b)](this['_configService'][_0x2917c3(0x143)](s[_0x2917c3(0x170)])[_0x2917c3(0x12d)](_0x253e97=>{this['_mcpCoreConfig$']['next'](_0x253e97||{});}));const _0x259780=this[_0x2917c3(0x118)][_0x2917c3(0x1f8)](s[_0x2917c3(0x170)]);this[_0x2917c3(0x1e3)][_0x2917c3(0x101)](_0x259780||{}),this[_0x2917c3(0x21b)](this[_0x2917c3(0x118)][_0x2917c3(0x143)](P)['subscribe'](_0x17209c=>{const _0x435d2d=_0x2917c3;this[_0x435d2d(0x231)][_0x435d2d(0x101)](_0x17209c||{});}));const _0x5e1b91=this['_configService']['getConfig'](P);this['_config$']['next'](_0x5e1b91||{});}async['_loadStoredApiKey'](){const _0x40a03c=_0x3015b1,_0xa7e54b=this[_0x40a03c(0x118)][_0x40a03c(0x1f8)](P);if(!(_0xa7e54b!=null&&_0xa7e54b[_0x40a03c(0x250)]))return;const _0xe7f450=await this[_0x40a03c(0x145)][_0x40a03c(0xff)](O);_0xe7f450&&(this[_0x40a03c(0x1b0)][_0x40a03c(0x211)]({'Authorization':_0x40a03c(0x249)+_0xe7f450}),this['_apiKey$'][_0x40a03c(0x101)](_0xe7f450));}async[_0x3015b1(0x15d)](_0x4f2c05){const _0x1855dc=_0x3015b1;if(!_0x4f2c05[_0x1855dc(0x161)]||_0x4f2c05[_0x1855dc(0x161)][_0x1855dc(0x20f)]()[_0x1855dc(0x185)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x1855dc(0x23f)]['t'](_0x1855dc(0x1f2))};if(_0x4f2c05['apiKey']['trim']()[_0x1855dc(0x185)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x1855dc(0x23f)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x622af6=await this['_injector'][_0x1855dc(0xf3)](s[_0x1855dc(0x141)])[_0x1855dc(0xdc)](_0x4f2c05[_0x1855dc(0x161)][_0x1855dc(0x20f)]());return _0x622af6['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x622af6[_0x1855dc(0x1a2)]||this[_0x1855dc(0x23f)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x3486eb){return console[_0x1855dc(0x14d)](_0x1855dc(0x1bc),_0x3486eb),{'isValid':!0x0};}}},exports[_0x3015b1(0x1a6)]=xe([g(0x0,u['Inject'](u[_0x3015b1(0x126)])),g(0x1,v[_0x3015b1(0x1c7)]),g(0x2,u[_0x3015b1(0x21f)]),g(0x3,u['ILocalStorageService']),g(0x4,v[_0x3015b1(0x138)]),g(0x5,v[_0x3015b1(0x112)]),g(0x6,u[_0x3015b1(0x17c)](v[_0x3015b1(0xf4)])),g(0x7,u[_0x3015b1(0x17c)](u[_0x3015b1(0x115)])),g(0x8,u['ILogService']),g(0x9,u[_0x3015b1(0x17c)](s['MCPConnectionController']))],exports[_0x3015b1(0x1a6)]);const b={'id':_0x3015b1(0x1b8),'type':u[_0x3015b1(0x253)][_0x3015b1(0x159)],'handler':async(_0x3c2bcb,_0x3f9392)=>(_0x3c2bcb[_0x3015b1(0xf3)](exports[_0x3015b1(0x1a6)])[_0x3015b1(0x13d)](),!0x0)};function Z(_0x31a0b0,_0x33470f){const _0x2b70a2=_0x3015b1;switch(_0x31a0b0){case s[_0x2b70a2(0x23e)][_0x2b70a2(0x127)]:return _0x2b70a2(0x1bb);case s[_0x2b70a2(0x23e)]['CONNECTING']:return'mcpStatus.connecting';case s[_0x2b70a2(0x23e)][_0x2b70a2(0x103)]:return _0x2b70a2(0x113);case s[_0x2b70a2(0x23e)][_0x2b70a2(0x1d6)]:switch(_0x33470f){case s[_0x2b70a2(0x1aa)][_0x2b70a2(0x165)]:return _0x2b70a2(0x19e);case s['MCPConnectionError'][_0x2b70a2(0x245)]:return'mcpStatus.sessionOccupied';case s[_0x2b70a2(0x1aa)][_0x2b70a2(0xe3)]:return _0x2b70a2(0x131);case s['MCPConnectionError'][_0x2b70a2(0x192)]:return'mcpStatus.maxRetriesExceeded';default:return _0x2b70a2(0xe5);}case s['MCPConnectionStatus'][_0x2b70a2(0x233)]:return'mcpStatus.retrying';default:return _0x2b70a2(0x21e);}}function Se(_0x1ea6d3,_0x4d43ca,_0x3a032c,_0x1c40d3=!0x0){const _0x3ce275=_0x3015b1,_0x31b602=Z(_0x1ea6d3,_0x4d43ca),_0x207757=_0x3a032c['t'](_0x31b602);return _0x1c40d3?_0x1ea6d3===s[_0x3ce275(0x23e)][_0x3ce275(0x127)]&&_0x4d43ca===s[_0x3ce275(0x1aa)]['UNAUTHORIZED']?_0x207757+_0x3ce275(0x147)+_0x3a032c['t'](_0x3ce275(0x218)):_0x1ea6d3===s[_0x3ce275(0x23e)][_0x3ce275(0x103)]?''+_0x207757:_0x1ea6d3===s[_0x3ce275(0x23e)][_0x3ce275(0x127)]||_0x1ea6d3===s[_0x3ce275(0x23e)][_0x3ce275(0x1d6)]?_0x207757+_0x3ce275(0x147)+_0x3a032c['t']('mcpStatus.clickToConnect'):_0x207757:_0x207757;}function Pe(_0x4b71dc){const _0x4fb020=_0x3015b1;switch(_0x4b71dc){case s[_0x4fb020(0x23e)][_0x4fb020(0x103)]:return _0x4fb020(0x124);case s[_0x4fb020(0x23e)][_0x4fb020(0x184)]:case s[_0x4fb020(0x23e)][_0x4fb020(0x233)]:return _0x4fb020(0x20e);case s['MCPConnectionStatus']['FAILED']:case s[_0x4fb020(0x23e)][_0x4fb020(0x127)]:return _0x4fb020(0x1a4);default:return _0x4fb020(0x1fd);}}function W(_0xb49189){const _0x232721=_0x3015b1,{status$:_0x5bbd63,error$:_0x4576ee,onConfigure:_0x3b235b,showClickable:_0x5779c1=!0x0}=_0xb49189,_0x4afb75=v[_0x232721(0x242)](_0x5bbd63,s[_0x232721(0x23e)][_0x232721(0x127)]),_0x2f421f=v['useObservable'](_0x4576ee,s[_0x232721(0x1aa)][_0x232721(0x177)]),_0xbdfa29=v['useDependency'](u['LocaleService']),_0x4dd361=_0x4afb75===s[_0x232721(0x23e)][_0x232721(0x103)];_0x4afb75===s[_0x232721(0x23e)]['CONNECTING']||s[_0x232721(0x23e)]['RETRYING'];const _0x47a57c=_0xbdfa29['t'](Z(_0x4afb75,_0x2f421f)),_0x35b01d=Se(_0x4afb75,_0x2f421f,_0xbdfa29,_0x5779c1),_0x8d0b67=Pe(_0x4afb75),_0xc0b048=_0x4dd361?i[_0x232721(0x157)](q,{}):i[_0x232721(0x157)](Y,{}),_0x476837=d['useCallback'](()=>{_0x5779c1&&_0x3b235b&&_0x3b235b();},[_0x5779c1,_0x3b235b]);function _0x1972e3(){const _0x134099=_0x232721;return i[_0x134099(0x1b1)](_0x134099(0x22b),{'className':f[_0x134099(0xfb)](_0x134099(0x1f9),_0x5779c1&&_0x3b235b&&'\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'),'role':_0x134099(0x214),'onClick':_0x5779c1&&_0x3b235b?_0x476837:void 0x0,'children':[i[_0x134099(0x157)](_0x134099(0x22b),{'className':f[_0x134099(0xfb)](_0x134099(0x183),_0x8d0b67),'children':_0xc0b048}),i[_0x134099(0x157)](_0x134099(0x22b),{'className':_0x134099(0x154),'children':_0x47a57c})]});}return i[_0x232721(0x157)](f[_0x232721(0xfc)],{'title':_0x35b01d,'placement':'bottom','children':_0x1972e3()});}function _0x3b08(_0x6abb82,_0x5396d8){_0x6abb82=_0x6abb82-0xd2;const _0x13166d=_0x1316();let _0x3b086e=_0x13166d[_0x6abb82];return _0x3b086e;}var Ie=Object['getOwnPropertyDescriptor'],_e=(_0x319d14,_0x24a87c,_0x2b78f7,_0x476d58)=>{const _0x3ea327=_0x3015b1;for(var _0x4ffa19=_0x476d58>0x1?void 0x0:_0x476d58?Ie(_0x24a87c,_0x2b78f7):_0x24a87c,_0x3debab=_0x319d14[_0x3ea327(0x185)]-0x1,_0x303d8a;_0x3debab>=0x0;_0x3debab--)(_0x303d8a=_0x319d14[_0x3debab])&&(_0x4ffa19=_0x303d8a(_0x4ffa19)||_0x4ffa19);return _0x4ffa19;},N=(_0x2846eb,_0xc13f29)=>(_0x493c97,_0x3acfb9)=>_0xc13f29(_0x493c97,_0x3acfb9,_0x2846eb);exports[_0x3015b1(0x109)]=class extends u['Disposable']{constructor(_0x51bc1a,_0x43db7e,_0x121a64,_0x768d72){const _0x1e58a7=_0x3015b1;super(),this['_injector']=_0x51bc1a,this[_0x1e58a7(0xd7)]=_0x43db7e,this[_0x1e58a7(0x11a)]=_0x121a64,this[_0x1e58a7(0x118)]=_0x768d72,this['_initAutoConnect'](),this['_initStatusComponent']();}[_0x3015b1(0x247)](){const _0x2cb63f=_0x3015b1,_0x3b20e8=this[_0x2cb63f(0x118)][_0x2cb63f(0x1f8)](P);_0x3b20e8!=null&&_0x3b20e8['showDeveloperTools']&&(this[_0x2cb63f(0xd7)][_0x2cb63f(0x217)]=!0x1);}[_0x3015b1(0x15a)](){const _0xf57c96=_0x3015b1,_0x33f99b=this['_configService'][_0xf57c96(0x1f8)](P);(_0x33f99b==null?void 0x0:_0x33f99b[_0xf57c96(0xd2)])!==!0x1&&this[_0xf57c96(0x21b)](this['_uiPartsService']['registerComponent'](v[_0xf57c96(0x20b)][_0xf57c96(0x129)],()=>{const _0x49a507=_0xf57c96;var _0x5c885b;return v['connectInjector'](ye({'status$':this['_connectionController'][_0x49a507(0x21c)],'error$':this[_0x49a507(0xd7)][_0x49a507(0x1f6)],'onConfigure':()=>this[_0x49a507(0x1e5)](),'showClickable':(_0x5c885b=_0x33f99b==null?void 0x0:_0x33f99b[_0x49a507(0x250)])!=null?_0x5c885b:!0x1}),this[_0x49a507(0x123)]);}));}[_0x3015b1(0x1e5)](){const _0x5eae17=_0x3015b1;this['_injector'][_0x5eae17(0xf3)](exports[_0x5eae17(0x1a6)])['showConfigPanel']();}},exports['MCPConnectionUIController']=_e([N(0x0,u[_0x3015b1(0x17c)](u[_0x3015b1(0x126)])),N(0x1,u[_0x3015b1(0x17c)](s['MCPConnectionController'])),N(0x2,v[_0x3015b1(0x1c7)]),N(0x3,u[_0x3015b1(0x21f)])],exports['MCPConnectionUIController']);function ye(_0x3d4f35){const {status$:_0x508f3b,error$:_0x42827e,onConfigure:_0x21f5de,showClickable:_0x22c2e7}=_0x3d4f35;return function(){const _0x3c0824=_0x3b08;return i[_0x3c0824(0x157)](W,{'status$':_0x508f3b,'error$':_0x42827e,'onConfigure':_0x21f5de,'showClickable':_0x22c2e7});};}function Me(_0x4a3c06){const _0xe4e164=_0x3015b1;return{'id':b['id'],'type':v['MenuItemType'][_0xe4e164(0x10b)],'icon':_0xe4e164(0x21a),'title':'mcpConfig.title','tooltip':_0xe4e164(0x1c3)};}const Ne={[v[_0x3015b1(0x158)][_0x3015b1(0x222)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object['getOwnPropertyDescriptor'],je=(_0x5827b2,_0x7aefb5,_0x5d0388,_0x621dc1)=>{for(var _0x4c811b=_0x621dc1>0x1?void 0x0:_0x621dc1?be(_0x7aefb5,_0x5d0388):_0x7aefb5,_0x3643be=_0x5827b2['length']-0x1,_0x1219d0;_0x3643be>=0x0;_0x3643be--)(_0x1219d0=_0x5827b2[_0x3643be])&&(_0x4c811b=_0x1219d0(_0x4c811b)||_0x4c811b);return _0x4c811b;},z=(_0x8e068e,_0x3c7a35)=>(_0x3bf5b6,_0x237ade)=>_0x3c7a35(_0x3bf5b6,_0x237ade,_0x8e068e);exports[_0x3015b1(0x17f)]=class extends u[_0x3015b1(0x1c1)]{constructor(_0x19a734,_0x450a6d){const _0x282c2e=_0x3015b1;super(),this[_0x282c2e(0x230)]=_0x19a734,this[_0x282c2e(0xf2)]=_0x450a6d,this[_0x282c2e(0x1eb)](),this[_0x282c2e(0x17d)]();}['_initializeCommands'](){const _0x5f4a97=_0x3015b1;[b][_0x5f4a97(0x1cc)](_0x310f41=>{const _0x2366b8=_0x5f4a97;this[_0x2366b8(0x21b)](this[_0x2366b8(0x230)][_0x2366b8(0x20c)](_0x310f41));});}[_0x3015b1(0x17d)](){const _0x1d37ae=_0x3015b1;this[_0x1d37ae(0xf2)][_0x1d37ae(0xde)](Ne);}},exports['MCPUIMenuController']=je([z(0x0,u[_0x3015b1(0x12f)]),z(0x1,v['IMenuManagerService'])],exports[_0x3015b1(0x17f)]);const Ee={'mcpStatus':{'disconnected':_0x3015b1(0xe7),'connecting':_0x3015b1(0x246),'connected':_0x3015b1(0x189),'failed':_0x3015b1(0x169),'retrying':_0x3015b1(0x1cb),'unknown':_0x3015b1(0x1d0),'unauthorized':_0x3015b1(0x1c6),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x3015b1(0x1b7),'maxRetriesExceeded':_0x3015b1(0x1e4),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x3015b1(0x20a),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x3015b1(0x24e),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x3015b1(0x160),'enableAuth':_0x3015b1(0x181),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x3015b1(0x241),'configInstructions':_0x3015b1(0x11c),'configStepTitle':_0x3015b1(0x17b),'configStep1':_0x3015b1(0x1ca),'configStep2':_0x3015b1(0xd5),'configStep3':_0x3015b1(0x150),'sessionId':_0x3015b1(0x24f),'sessionIdDescription':_0x3015b1(0xee),'authorizationDescription':_0x3015b1(0x19d),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x3015b1(0x221),'save':_0x3015b1(0xe9),'saving':_0x3015b1(0x1bf),'note1':_0x3015b1(0x1f1),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x3015b1(0x135),'apiApplyInfo':{'title':_0x3015b1(0x111),'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':_0x3015b1(0x1ec),'getStarted':_0x3015b1(0x209)},'validation':{'apiKeyRequired':_0x3015b1(0x1fa),'apiKeyTooShort':_0x3015b1(0x205),'invalidConfig':_0x3015b1(0x12a),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x3015b1(0x132),'connecting':_0x3015b1(0xd3),'connected':_0x3015b1(0xef),'failed':_0x3015b1(0x1c5),'retrying':_0x3015b1(0x204)},'connectionError':{'unauthorized':_0x3015b1(0x227),'sessionOccupied':_0x3015b1(0x137),'networkError':_0x3015b1(0x16e),'maxRetriesExceeded':_0x3015b1(0x24b)}}},we={'mcpStatus':{'disconnected':_0x3015b1(0x14b),'connecting':_0x3015b1(0x17a),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x3015b1(0xfe),'unknown':_0x3015b1(0x167),'unauthorized':_0x3015b1(0x168),'sessionOccupied':_0x3015b1(0x13a),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x3015b1(0x102)},'mcpConfig':{'title':'MCP\x20配置','description':_0x3015b1(0x151),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x3015b1(0xd8),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x3015b1(0x14c),'enableAuthHint':_0x3015b1(0xf1),'connectionInfo':_0x3015b1(0x14f),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x3015b1(0x1be),'configStepTitle':'配置步骤:','configStep1':_0x3015b1(0x216),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x3015b1(0x215),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x3015b1(0x18c),'saving':_0x3015b1(0x144),'note1':_0x3015b1(0xe1),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x3015b1(0x212),'configError':_0x3015b1(0x1db),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x3015b1(0x20d),'univerAiLabel':_0x3015b1(0x191),'getStarted':_0x3015b1(0x1a3)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':_0x3015b1(0x107)},'connectionStatus':{'disconnected':_0x3015b1(0x15f),'connecting':_0x3015b1(0x16d),'connected':'已连接','failed':_0x3015b1(0x244),'retrying':_0x3015b1(0x235)},'connectionError':{'unauthorized':_0x3015b1(0x22a),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x3015b1(0x174)}}};var Ae=Object[_0x3015b1(0xf7)],Oe=Object[_0x3015b1(0x194)],De=(_0x4e9d94,_0x47a49d,_0x34df54)=>_0x47a49d in _0x4e9d94?Ae(_0x4e9d94,_0x47a49d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34df54}):_0x4e9d94[_0x47a49d]=_0x34df54,Ue=(_0x392e28,_0x582ecd,_0x154b9b,_0x1ed7bf)=>{const _0x3ad3fd=_0x3015b1;for(var _0x25ae94=_0x1ed7bf>0x1?void 0x0:_0x1ed7bf?Oe(_0x582ecd,_0x154b9b):_0x582ecd,_0x46fbe5=_0x392e28[_0x3ad3fd(0x185)]-0x1,_0x1c07cd;_0x46fbe5>=0x0;_0x46fbe5--)(_0x1c07cd=_0x392e28[_0x46fbe5])&&(_0x25ae94=_0x1c07cd(_0x25ae94)||_0x25ae94);return _0x25ae94;},y=(_0x45eaf9,_0x14e311)=>(_0x58cb6c,_0x285dc5)=>_0x14e311(_0x58cb6c,_0x285dc5,_0x45eaf9),$e=(_0x29bafe,_0x487416,_0x3831a1)=>De(_0x29bafe,_0x487416+'',_0x3831a1);function _0x1316(){const _0x31b5cc=['未连接','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','apiKey','UniverIcon','univer-bg-gray-500','value','UNAUTHORIZED','univer.plus','MCP\x20状态未知','MCP:\x20未授权','MCP\x20Connection\x20Failed','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.connectionError.networkError','mcpConfig.connectionStatus.failed','连接中...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Input','MCP_PLUGIN_CONFIG_KEY','setConfig','stringify','createElement','超出最大重试次数,请稍后再试','round','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','NONE','isValid','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','MCP\x20连接中...','Configuration\x20Steps:','Inject','_initializeMenus','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','MCPUIMenuController','evenodd','Enable\x20Authentication','7764xqcJqU','univer-mr-2\x20univer-flex\x20univer-text-xl','CONNECTING','length','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','children','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','MCP\x20Connected','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-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','保存配置','has','_dialogService','ISocketService','1em','Univer\x20AI\x20控制台','MAX_RETRIES_EXCEEDED','off-line-icon','getOwnPropertyDescriptor','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','mcpConfig.apiKeyPlaceholder','4WSYZXB','url(#off-line-icon_clip0_910_343)','mcpConfig.connectionStatus.connecting','1137704zxlQaz','pre','span','API\x20key\x20with\x20Bearer\x20prefix.','mcpStatus.unauthorized','replace','forwardRef','off','error','几秒钟内获取您的\x20API\x20密钥','univer-text-red-500','0\x200\x2016\x2016','MCPConfigUIController','mcpConfig.apiApplyInfo.title','univer-text-sm\x20univer-text-gray-500','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','MCPConnectionError','xlink:href','path','pluginName','Plugin','mcpConfig.connectionStatus.disconnected','_mcpConnectionController','jsxs','translate(.97)','url(#on-line-icon_clip0_910_349)','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','univer-space-y-2','univer-flex\x20univer-items-start\x20univer-gap-2','MCP:\x20Network\x20Error','mcp-ui.command.openConfigPanel','mcpConfig.note1','_initConfigSync','mcpStatus.disconnected','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','MCP_UI_PLUGIN','将以下配置添加到您的\x20MCP\x20客户端设置中:','Saving...','useState','Disposable','_registerComponent','mcpConfig.title','univer-font-medium','Connection\x20Failed','MCP:\x20Unauthorized','IUIPartsService','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-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','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Retrying...','forEach','none','off-line-icon_clip0_910_343','_componentManager','MCP\x20Unknown\x20Status','toString','mcp-config-dialog','current','mcpConfig.connectionError.maxRetriesExceeded','_messageService','FAILED','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','currentColor','_loading$','130726DAChTx','配置保存失败','MessageType','Module','mcpConfig.save','http://www.w3.org/2000/svg','on-line-icon_clip0_910_349','mcpConfig.apiKeyHint','univer-bg-green-500','_mcpCoreConfig$','MCP:\x20Max\x20Retries\x20Exceeded','_handleConfigure','Button','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.connectionError.unauthorized','BehaviorSubject','MCPConfigPanel','_initializeCommands','Univer\x20AI\x20Console','<API_KEY>','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','attrs','univer-flex\x20univer-items-start\x20univer-gap-3','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcpConfig.validation.apiKeyRequired','tag','1hlJuff','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','connectionError$','useCallback','getConfig','univer-flex\x20univer-items-center','API\x20key\x20is\x20required','_logService','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-text-gray-500','univer-text-gray-400','HelpIcon','white','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','connectInjector','svg','Retrying...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcpConfig.sessionIdDescription','mcpConfig.apiApplyInfo.description','use','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Configuration','BuiltInUIPart','registerCommand','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-text-yellow-500','trim','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','__setCustomHeaders','配置保存成功','fill','button','会话ID','复制以下\x20JSON\x20配置','enableAutoConnect','mcpStatus.clickToConfigure','univer-ml-1\x20univer-flex\x20univer-size-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','MenuIcon','disposeWithMe','connectionStatus$','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','mcpStatus.unknown','IConfigService','mask','Max\x20Retries','OTHERS','entries','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.configSaved','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','add','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','权限验证失败,请检查您的\x20API\x20密钥','div','0\x200\x2017\x2016','univerjs-icon\x20univerjs-icon-','displayName','close','_commandService','_config$','mcpConfig.authorizationDescription','RETRYING','random','重连中...','open','Error','close-icon','UniverMCPUIPlugin','mcpConfig.configStep2','defs','push','colorChannel1','MCPConnectionStatus','_localeService','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','MCP\x20Client\x20Configuration','useObservable','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','连接失败','SESSION_ID_OCCUPIED','MCP\x20Connecting...','_initAutoConnect','_config','Bearer\x20','_createConfigPanelComponent','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','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','removeItem','API\x20Key','Session\x20ID','showDeveloperTools','mcpConfig.connectionInfo','getCurrentConfig','CommandType','showStatus','Connecting...','text','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','1632069YmpliU','_connectionController','请输入您的\x20API\x20密钥','includes','_handleConfigSave','merge','validateApiKey','mcpConfig.configParameters','mergeMenu','univer-size-4','assign','配置更改将立即生效','mcp.apiKey','NETWORK_ERROR','defIds','mcpStatus.failed','register','MCP\x20Disconnected','clipPath','Save\x20Configuration','idSuffix','mcpServerUrl','_loadStoredApiKey','univer-text-xs\x20univer-text-gray-500','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connected','univer-flex\x20univer-flex-wrap\x20univer-gap-2','启用身份验证以获得安全连接','_menuManagerService','get','ComponentManager','symbol','zhCN','defineProperty','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','_blank','substring','clsx','Tooltip','useDependency','MCP\x20重连中...','getItem','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','next','点击配置\x20MCP','CONNECTED','mcpConfig.configError','univer-flex-1','univer-flex\x20univer-gap-3','API\x20密钥无效,请检查密钥是否正确','413yRqdWo','MCPConnectionUIController','CloseIcon','BUTTON','univer-flex\x20univer-items-center\x20univer-gap-2','715200mclIYN','_apiKey$','univer-bg-blue-500','mcpConfig.validation.invalidConfig','What\x20is\x20API\x20Key?','IMessageService','mcpStatus.connected','univer-bg-red-500','LocaleService','mcpConfig.connectionStatus.connected','univer-text-sm\x20univer-font-medium','_configService','sessionId$','_uiPartsService','Success','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-text-white','https://mcp.univer.ai/mcp/?univer_session_id=','MCPStatusDisplay','UniverMCPPlugin','mcpConfig.connectionStatus.retrying','https://console.univer.ai','_injector','univer-text-green-500','mcpConfig.configStepTitle','Injector','DISCONNECTED','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','HEADER_MENU','Invalid\x20configuration','ILocalStorageService','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','subscribe','label','ICommandService','mcpConfig.apiKey','mcpStatus.networkError','Disconnected','M0\x200H16V16H0z','string','Failed\x20to\x20save\x20configuration','univer-text-blue-600','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','IDialogService','onStarting','MCP:\x20会话\x20ID\x20已被占用','setItem','mcpConfig.saving','showConfigPanel','enUS','DependentOn','mcpConfig.description','MCPConnectionController','noopener\x20noreferrer','subscribeConfigValue$','保存中...','_localStorageService','3523110UBiBqA','\x20-\x20','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','OnLineIcon','univer-size-2\x20univer-rounded-full','MCP\x20已断开','启用身份验证','warn','CheckMarkIcon','MCP\x20客户端配置','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','配置\x20MCP\x20使用\x20AI\x20操作电子表格','url(#$1','show','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','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','Configuration\x20Notes:','jsx','RibbonStartGroup','COMMAND','_initStatusComponent','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','1285865RscgVp','_validateConfig','univer-min-w-0\x20univer-flex-1'];_0x1316=function(){return _0x31b5cc;};return _0x1316();}exports[_0x3015b1(0x239)]=class extends u[_0x3015b1(0x1ae)]{constructor(_0x3e3a55=L,_0x47e2b5,_0x45ac50,_0x587127,_0x4fcd3d,_0xd7b3dd){const _0x828e0e=_0x3015b1;super(),this[_0x828e0e(0x248)]=_0x3e3a55,this[_0x828e0e(0x123)]=_0x47e2b5,this[_0x828e0e(0x118)]=_0x45ac50,this[_0x828e0e(0x11a)]=_0x587127,this['_localStorageService']=_0x4fcd3d,this[_0x828e0e(0x23f)]=_0xd7b3dd;const {..._0x39adc7}=u[_0x828e0e(0xdb)]({},L,this['_config']);this[_0x828e0e(0x118)][_0x828e0e(0x171)](P,_0x39adc7);}async[_0x3015b1(0x139)](){const _0x291490=_0x3015b1,_0x48c6af=[[exports[_0x291490(0x109)]],[exports[_0x291490(0x1a6)]],[exports['MCPUIMenuController']]];this[_0x291490(0x123)][_0x291490(0x18d)](A[_0x291490(0x18f)])||_0x48c6af[_0x291490(0x23c)]([A[_0x291490(0x18f)],{'useClass':A['WebSocketService']}]),_0x48c6af[_0x291490(0x1cc)](_0xb296a4=>this['_injector'][_0x291490(0x228)](_0xb296a4)),this[_0x291490(0x123)][_0x291490(0xf3)](exports[_0x291490(0x109)]),this['_injector'][_0x291490(0xf3)](exports['MCPConfigUIController']),this[_0x291490(0x123)]['get'](exports[_0x291490(0x17f)]);}},$e(exports[_0x3015b1(0x239)],_0x3015b1(0x1ad),_0x3015b1(0x1bd)),exports['UniverMCPUIPlugin']=Ue([u[_0x3015b1(0x13f)](s[_0x3015b1(0x120)]),y(0x1,u[_0x3015b1(0x17c)](u[_0x3015b1(0x126)])),y(0x2,u[_0x3015b1(0x21f)]),y(0x3,v[_0x3015b1(0x1c7)]),y(0x4,u[_0x3015b1(0x12b)]),y(0x5,u[_0x3015b1(0x17c)](u[_0x3015b1(0x115)]))],exports[_0x3015b1(0x239)]),exports[_0x3015b1(0x1ea)]=V,exports[_0x3015b1(0x11f)]=W,exports['OpenMCPConfigPanelCommand']=b,exports[_0x3015b1(0x13e)]=Ee,exports[_0x3015b1(0xf6)]=we;
1
+ 'use strict';const _0x31a787=_0x2c97;function _0x1a49(){const _0x4f2af5=['mcpConfig.save','_mcpConnectionController','带有\x20Bearer\x20前缀的\x20API\x20密钥。','disposeWithMe','random','pluginName','mcpConfig.configInstructions','register','SESSION_ID_OCCUPIED','validateApiKey','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-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','_mcpCoreConfig$','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','MessageType','MenuIcon','_handleConfigure','Copy\x20the\x20JSON\x20configuration\x20below','symbol','LocaleService','点击配置\x20MCP','Univer\x20AI\x20Console','MCP:\x20网络错误','children','mcpConfig.note1','HelpIcon','mcpConfig.apiApplyInfo.title','on-line-icon','univer-space-y-5','getConfig','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','BUTTON','mcpStatus.sessionOccupied','mcpConfig.configStep3','univer-bg-red-500','round','isValid','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-text-xs\x20univer-text-gray-500','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','MCP:\x20会话\x20ID\x20已被占用','MCP\x20配置','_config$','mcpConfig.connectionError.sessionOccupied','enableAutoConnect','translate(.97)','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Retrying...','currentColor','off','connectionStatus$','mcpConfig.saving','mcpConfig.apiApplyInfo.description','2QoTaBA','配置参数:','MCPStatusDisplay','mcpStatus.unknown','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','version','entries','API\x20密钥长度至少需要\x2010\x20位','createElement','MCP:\x20Max\x20Retries\x20Exceeded','Max\x20Retries','Session\x20ID','FAILED','_initializeCommands','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-bg-blue-500','mcpConfig.apiKeyPlaceholder','univer.ai','NETWORK_ERROR','_createConfigPanelComponent','univerjs-icon\x20univerjs-icon-','mcpConfig.configStepTitle','forEach','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','最大重试次数','displayName','mcpConfig.validation.apiKeyTooShort','MCP\x20已连接','ISocketService','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer.plus','mcp-ui.command.openConfigPanel','button','off-line-icon_clip0_910_343','_registerComponent','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-text-sm\x20univer-font-medium','assign','mcpStatus.retrying','M0\x200H16V16H0z','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','75935PTvZzC','univer-text-red-500','已连接','add','MCP\x20连接失败','mcp.apiKey','tag','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','mcpStatus.unauthorized','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','MCP\x20Retrying...','next','Configuration\x20Steps:','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','stringify','_config','mcp-ui.config','mcpConfig.connectionStatus.connected','zhCN','use','on-line-icon_clip0_910_349','length','MCPConnectionError','https://mcp.univer.ai/mcp/?univer_session_id=','Error','apiKey','_apiKey$','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-size-4','MenuItemType','univer-flex\x20univer-items-center\x20univer-gap-2','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','useState','<API_KEY>','0.17.0','Saving...','Inject','40bHISoa','subscribe','mcpStatus.clickToConfigure','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','http://www.w3.org/2000/svg','show','errorMessage','attrs','univer-text-blue-600','mcpConfig.apiApplyInfo.univerAiLabel','__setCustomHeaders','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','_loadStoredApiKey','toString','mcpConfig.connectionError.unauthorized','mcpConfig.sessionIdDescription','网络连接错误,请检查您的网络连接','UniverIcon','defineProperty','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcpConfig.configStep1','bottom','OTHERS','6872430PEYGqe','current','mcpConfig.connectionStatus.retrying','_messageService','_initializeMenus','mcpConfig.validation.apiKeyRequired','What\x20is\x20API\x20Key?','mergeMenu','pre','MCPUIMenuController','MCP:\x20未授权','setItem','_componentManager','0\x200\x2016\x2016','COMMAND','useDependency','url(#$1','univer-mr-2\x20univer-flex\x20univer-text-xl','Bearer\x20','MCP\x20Connection\x20Failed','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-space-y-3','MCP\x20Unknown\x20Status','MCP\x20客户端配置','Disconnected','MCPConnectionUIController','RibbonStartGroup','Univer\x20AI\x20控制台','_initStatusComponent','evenodd','MCP\x20Client\x20Configuration','9gsKiqo','enUS','subscribeConfigValue$','useObservable','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UniverMCPUIPlugin','univer-flex-1','svg','复制以下\x20JSON\x20配置','getItem','MCP\x20Configuration','mcpConfig.title','您的\x20API\x20密钥将在此浏览器中本地存储','_localeService','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','check-mark-icon','\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','Configuration\x20Notes:','ILocalStorageService','连接中...','CheckMarkIcon','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','配置无效','Module','Connecting...','_menuManagerService','map','配置步骤:','fill','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','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','ILogService','IConfigService','MCP_PLUGIN_CONFIG_KEY','white','MCP\x20Connected','几秒钟内获取您的\x20API\x20密钥','useCallback','defs','MCPConnectionStatus','value','univer-flex\x20univer-flex-wrap\x20univer-gap-2','get','connectInjector','超出最大重试次数,请稍后再试','http','保存中...','Get\x20your\x20API\x20key\x20in\x20seconds','mcpConfig.connectionError.maxRetriesExceeded','OpenMCPConfigPanelCommand','univer-bg-gray-500','MCP\x20Disconnected','_injector','univer-text-sm\x20univer-text-gray-500','配置保存失败','univer-flex\x20univer-gap-3','<SESSION_ID>','https://console.univer.plus','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','_blank','help-icon','MCPConfigPanel','div','mask','error','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.note2','univer-ml-1\x20univer-flex\x20univer-size-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','span','univer-flex\x20univer-items-center','UniverMCPPlugin','MAX_RETRIES_EXCEEDED','_validateConfig','5613190ofjZaS','启用身份验证以获得安全连接','CommandType','将以下配置添加到您的\x20MCP\x20客户端设置中:','DependentOn','https://console.univer.ai','packageName','_localStorageService','_configService','replace','mcpConfig.apiKeyHint','_initConfigSync','6001712JyULqh','jsx','MCP:\x20超出最大重试次数','clsx','Disposable','merge','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','API\x20密钥','warn','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','noopener\x20noreferrer','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Plugin','univer-size-2\x20univer-rounded-full','MCP\x20Connecting...','MCP\x20已断开','Configuration\x20saved\x20successfully','name','mcpConfig.configStep2','重启您的\x20MCP\x20客户端以使配置生效','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-flex\x20univer-items-start\x20univer-gap-3','_loading$','none','配置更改将立即生效','idSuffix','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','_commandService','BehaviorSubject','DISCONNECTED','\x20-\x20','mcpConfig.validation.invalidConfig','OffLineIcon','Enter\x20your\x20API\x20key','_connectionController','CONNECTING','univer-min-w-0\x20univer-flex-1','trim','权限验证失败,请检查您的\x20API\x20密钥','API\x20key\x20is\x20required','RETRYING','UNAUTHORIZED','url(#on-line-icon_clip0_910_349)','CloseIcon','univer-text-gray-500','xlink:href','连接失败','会话ID','_dialogService','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-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','IUIPartsService','mcpConfig.apiKey','mcpConfig.connectionStatus.failed','includes','univer-text-white','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','defIds','Failed\x20to\x20save\x20configuration','getOwnPropertyDescriptor','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','_logService','什么是\x20API\x20密钥?','mcpConfig.description','mcpConfig.validation.invalidApiKey','WebSocketService','1503687jmgqth','CONNECTED','mcpStatus.networkError','mcpConfig.connectionStatus.disconnected','clipPath','保存配置','mcpConfig.connectionError.networkError','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpConfig.configParameters','Connection\x20Failed','substring','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-items-center\x20univer-gap-3','jsxs','_handleConfigSave','API\x20密钥无效,请检查密钥是否正确','Save\x20Configuration','univer-shrink-0\x20univer-text-blue-500','string','toStringTag','_initAutoConnect','mcpServerUrl','univer-space-y-2','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','close','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','@univerjs-pro/mcp-ui','open','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','1147860RhFXea','_uiPartsService','1em','MCP\x20状态未知','HEADER_MENU','MCPConnectionController','mcpStatus.failed','registerComponent','univer-bg-green-500','path','showDeveloperTools','url(#off-line-icon_clip0_910_343)','启用身份验证','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Injector','mcpStatus.maxRetriesExceeded','NONE','Invalid\x20configuration','mcp-config-dialog','univer-space-y-4','Click\x20to\x20connect\x20MCP','showConfigPanel','connectionError$','MCPConfigUIController','univer-text-xs\x20univer-text-gray-600','8163925hLVDUL','forwardRef','colorChannel1','OnLineIcon'];_0x1a49=function(){return _0x4f2af5;};return _0x1a49();}(function(_0xa7ec0c,_0x58df67){const _0x50a7f0=_0x2c97,_0x1c2363=_0xa7ec0c();while(!![]){try{const _0x2d6f8a=-parseInt(_0x50a7f0(0x1e9))/0x1+-parseInt(_0x50a7f0(0x23b))/0x2*(parseInt(_0x50a7f0(0x1cc))/0x3)+parseInt(_0x50a7f0(0xfc))/0x4*(parseInt(_0x50a7f0(0x265))/0x5)+parseInt(_0x50a7f0(0x113))/0x6+parseInt(_0x50a7f0(0x202))/0x7+-parseInt(_0x50a7f0(0x189))/0x8+parseInt(_0x50a7f0(0x133))/0x9*(parseInt(_0x50a7f0(0x17d))/0xa);if(_0x2d6f8a===_0x58df67)break;else _0x1c2363['push'](_0x1c2363['shift']());}catch(_0x37181b){_0x1c2363['push'](_0x1c2363['shift']());}}}(_0x1a49,0x98b9e));var ue=Object[_0x31a787(0x10e)],ve=(_0x2ec6bf,_0x5838fe,_0x180ec5)=>_0x5838fe in _0x2ec6bf?ue(_0x2ec6bf,_0x5838fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x180ec5}):_0x2ec6bf[_0x5838fe]=_0x180ec5,I=(_0x5e4022,_0x4f5e5c,_0x32e785)=>ve(_0x5e4022,typeof _0x4f5e5c!=_0x31a787(0x218)?_0x4f5e5c+'':_0x4f5e5c,_0x32e785);Object[_0x31a787(0x10e)](exports,Symbol[_0x31a787(0x1df)],{'value':_0x31a787(0x14b)});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x2e75e9,..._0x593fcd}){const _0x1e45c9=_0x31a787,{icon:_0x5b3bac,id:_0x303a2c,className:_0x5d30da,extend:_0x27fc81,..._0x2d6aac}=_0x593fcd,_0x4c4d61=(_0x1e45c9(0x250)+_0x303a2c+'\x20'+(_0x5d30da||''))[_0x1e45c9(0x1af)](),_0x16b491=d['useRef']('_'+ge());return H(_0x5b3bac,''+_0x303a2c,{'defIds':_0x5b3bac[_0x1e45c9(0x1c3)],'idSuffix':_0x16b491[_0x1e45c9(0x114)]},{'ref':_0x2e75e9,'className':_0x4c4d61,..._0x2d6aac},_0x27fc81);}function H(_0x27b2cb,_0x29f181,_0x54c7f9,_0x343aad,_0x310eb5){const _0x2734d2=_0x31a787;return d[_0x2734d2(0x244)](_0x27b2cb[_0x2734d2(0x26b)],{'key':_0x29f181,...de(_0x27b2cb,_0x54c7f9,_0x310eb5),..._0x343aad},(Ce(_0x27b2cb,_0x54c7f9)[_0x2734d2(0x21d)]||[])[_0x2734d2(0x14e)]((_0x4d8f60,_0x3055e3)=>H(_0x4d8f60,_0x29f181+'-'+_0x27b2cb[_0x2734d2(0x26b)]+'-'+_0x3055e3,_0x54c7f9,void 0x0,_0x310eb5)));}function de(_0x219d01,_0x4e6f47,_0x50bf2c){const _0x38ff86=_0x31a787,_0x47b8be={..._0x219d01[_0x38ff86(0x103)]};_0x50bf2c!=null&&_0x50bf2c[_0x38ff86(0x204)]&&_0x47b8be['fill']===_0x38ff86(0x204)&&(_0x47b8be[_0x38ff86(0x150)]=_0x50bf2c['colorChannel1']),_0x219d01[_0x38ff86(0x26b)]===_0x38ff86(0x173)&&_0x47b8be['id']&&(_0x47b8be['id']=_0x47b8be['id']+_0x4e6f47['idSuffix']),Object[_0x38ff86(0x242)](_0x47b8be)['forEach'](([_0x4fc5fc,_0x2e2480])=>{const _0x22a4b0=_0x38ff86;_0x4fc5fc===_0x22a4b0(0x173)&&typeof _0x2e2480=='string'&&(_0x47b8be[_0x4fc5fc]=_0x2e2480[_0x22a4b0(0x186)](/url\(#(.*)\)/,_0x22a4b0(0x123)+_0x4e6f47['idSuffix']+')'));});const {defIds:_0x51ec7f}=_0x4e6f47;return!_0x51ec7f||_0x51ec7f[_0x38ff86(0x27a)]===0x0||(_0x219d01['tag']===_0x38ff86(0x278)&&_0x47b8be['xlink:href']&&(_0x47b8be['xlink:href']=_0x47b8be[_0x38ff86(0x1b7)]+_0x4e6f47['idSuffix']),Object[_0x38ff86(0x242)](_0x47b8be)[_0x38ff86(0x252)](([_0x1c5734,_0xa02090])=>{const _0x5a084b=_0x38ff86;typeof _0xa02090==_0x5a084b(0x1de)&&(_0x47b8be[_0x1c5734]=_0xa02090['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4e6f47[_0x5a084b(0x1a3)]+')'));})),_0x47b8be;}function Ce(_0x30c7d8,_0x16731a){const _0x154785=_0x31a787;var _0x4d974e;const {defIds:_0x32af1e}=_0x16731a;return!_0x32af1e||_0x32af1e['length']===0x0?_0x30c7d8:_0x30c7d8[_0x154785(0x26b)]===_0x154785(0x15a)&&((_0x4d974e=_0x30c7d8[_0x154785(0x21d)])!=null&&_0x4d974e[_0x154785(0x27a)])?{..._0x30c7d8,'children':_0x30c7d8[_0x154785(0x21d)][_0x154785(0x14e)](_0x454612=>typeof _0x454612[_0x154785(0x103)]['id']==_0x154785(0x1de)&&_0x32af1e&&_0x32af1e[_0x154785(0x1bf)](_0x454612['attrs']['id'])?{..._0x454612,'attrs':{..._0x454612[_0x154785(0x103)],'id':_0x454612[_0x154785(0x103)]['id']+_0x16731a[_0x154785(0x1a3)]}}:_0x454612)}:_0x30c7d8;}function ge(){const _0x5819ff=_0x31a787;return Math[_0x5819ff(0x20a)]()[_0x5819ff(0x109)](0x24)[_0x5819ff(0x1d6)](0x2,0x8);}_[_0x31a787(0x255)]=_0x31a787(0x10d);const fe={'tag':_0x31a787(0x13a),'attrs':{'xmlns':_0x31a787(0x100),'fill':_0x31a787(0x1a1),'viewBox':_0x31a787(0x120),'width':_0x31a787(0x1eb),'height':_0x31a787(0x1eb)},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'fill':_0x31a787(0x236),'d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':_0x31a787(0x131),'clipRule':_0x31a787(0x131)}}]},B=d[_0x31a787(0x203)](function(_0x48b6ee,_0xe39095){const _0x192dba=_0x31a787;return d['createElement'](_,Object[_0x192dba(0x261)]({},_0x48b6ee,{'id':_0x192dba(0x143),'ref':_0xe39095,'icon':fe}));});function _0x2c97(_0x4a763d,_0x3448d7){_0x4a763d=_0x4a763d-0xef;const _0x1a49b6=_0x1a49();let _0x2c9760=_0x1a49b6[_0x4a763d];return _0x2c9760;}B[_0x31a787(0x255)]=_0x31a787(0x148);const pe={'tag':'svg','attrs':{'xmlns':_0x31a787(0x100),'fill':_0x31a787(0x1a1),'viewBox':_0x31a787(0x120),'width':_0x31a787(0x1eb),'height':'1em'},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'fill':_0x31a787(0x236),'d':_0x31a787(0x149)}}]},F=d[_0x31a787(0x203)](function(_0x1b5cbd,_0xa619a5){const _0xe3937a=_0x31a787;return d[_0xe3937a(0x244)](_,Object[_0xe3937a(0x261)]({},_0x1b5cbd,{'id':'close-icon','ref':_0xa619a5,'icon':pe}));});F[_0x31a787(0x255)]=_0x31a787(0x1b5);const he={'tag':_0x31a787(0x13a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x31a787(0x1a1),'viewBox':_0x31a787(0x120),'width':'1em','height':_0x31a787(0x1eb)},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'fill':_0x31a787(0x236),'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':_0x31a787(0x1f2),'attrs':{'fill':'currentColor','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':_0x31a787(0x1f2),'attrs':{'fill':_0x31a787(0x236),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':'evenodd','clipRule':_0x31a787(0x131)}}]},Y=d['forwardRef'](function(_0x1a1d31,_0x2840e8){const _0x43ba59=_0x31a787;return d[_0x43ba59(0x244)](_,Object[_0x43ba59(0x261)]({},_0x1a1d31,{'id':_0x43ba59(0x170),'ref':_0x2840e8,'icon':he}));});Y[_0x31a787(0x255)]=_0x31a787(0x21f);const me={'tag':_0x31a787(0x13a),'attrs':{'xmlns':_0x31a787(0x100),'fill':_0x31a787(0x1a1),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x31a787(0x1eb)},'children':[{'tag':'g','attrs':{'clipPath':_0x31a787(0x1f4)},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'stroke':_0x31a787(0x236),'d':_0x31a787(0x152),'strokeLinecap':'round','strokeLinejoin':_0x31a787(0x229),'strokeWidth':1.2}}]},{'tag':_0x31a787(0x15a),'attrs':{},'children':[{'tag':_0x31a787(0x1d0),'attrs':{'id':_0x31a787(0x25d)},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'fill':_0x31a787(0x156),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x31a787(0x25d)]},q=d[_0x31a787(0x203)](function(_0x3be89b,_0x3d66a0){const _0x387d1f=_0x31a787;return d[_0x387d1f(0x244)](_,Object[_0x387d1f(0x261)]({},_0x3be89b,{'id':'off-line-icon','ref':_0x3d66a0,'icon':me}));});q[_0x31a787(0x255)]=_0x31a787(0x1aa);const xe={'tag':_0x31a787(0x13a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x31a787(0x1a1),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x31a787(0x1eb)},'children':[{'tag':'g','attrs':{'clipPath':_0x31a787(0x1b4)},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'stroke':'currentColor','d':_0x31a787(0x210),'strokeLinecap':_0x31a787(0x229),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x31a787(0x15a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x31a787(0x279)},'children':[{'tag':_0x31a787(0x1f2),'attrs':{'fill':_0x31a787(0x156),'d':_0x31a787(0x263),'transform':_0x31a787(0x233)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},V=d[_0x31a787(0x203)](function(_0x255581,_0x19ab16){const _0x262bd8=_0x31a787;return d[_0x262bd8(0x244)](_,Object[_0x262bd8(0x261)]({},_0x255581,{'id':_0x262bd8(0x221),'ref':_0x19ab16,'icon':xe}));});V[_0x31a787(0x255)]=_0x31a787(0x205);function Z(_0x387ebf){const _0x1a1e28=_0x31a787;var _0x1b28a2,_0x4280ff;const {mcpCoreConfig:_0xf9105,onSave:_0x3217b2,loading:_0x4cdaba=!0x1,config:_0x4b316e,connectionStatus$:_0x4acae1,connectionError$:_0x339028,currentApiKey$:_0x15d3ee,currentSessionId$:_0xcf6889}=_0x387ebf,_0x31eeb7=v[_0x1a1e28(0x122)](u[_0x1a1e28(0x219)]),_0x553513=v[_0x1a1e28(0x136)](_0x4acae1,s[_0x1a1e28(0x15b)]['DISCONNECTED']),_0x3cd298=v['useObservable'](_0x339028,s[_0x1a1e28(0x27b)]['NONE']),_0x1187af=v[_0x1a1e28(0x136)](_0xcf6889,''),_0x53e04b=v[_0x1a1e28(0x136)](_0x15d3ee,''),[_0x33ce43,_0x2d8cb9]=d[_0x1a1e28(0xf7)](_0x53e04b||''),_0x3a2638=!0x0,_0x31b822=_0x4b316e['showDeveloperTools']&&_0xf9105[_0x1a1e28(0x1e1)]&&(_0xf9105[_0x1a1e28(0x1e1)][_0x1a1e28(0x1bf)](_0x1a1e28(0x25a))||_0xf9105[_0x1a1e28(0x1e1)][_0x1a1e28(0x1bf)](_0x1a1e28(0x24d))),_0x223c3a=(_0x1b28a2=_0xf9105['mcpServerUrl'])==null?void 0x0:_0x1b28a2['includes']('univer.plus'),_0x5a12a7=(_0x4280ff=_0xf9105[_0x1a1e28(0x1e1)])==null?void 0x0:_0x4280ff[_0x1a1e28(0x1bf)](_0x1a1e28(0x24d)),_0x2fc639=_0x223c3a?_0x1a1e28(0x16d):_0x1a1e28(0x182),_0xf76fbc=_0x4b316e['showDeveloperTools']&&(_0x223c3a||_0x5a12a7),[_0x3001b1,_0x18cb9d]=d['useState'](!_0x33ce43['trim']()),_0x13f1ab=(_0xd5c1e1,_0x4a2430)=>{const _0x3ba560=_0x1a1e28;if(_0x4a2430===s[_0x3ba560(0x27b)][_0x3ba560(0x1b3)])return _0x3ba560(0x16e);switch(_0xd5c1e1){case s['MCPConnectionStatus'][_0x3ba560(0x1cd)]:return _0x3ba560(0x253);case s[_0x3ba560(0x15b)][_0x3ba560(0x1ad)]:case s[_0x3ba560(0x15b)][_0x3ba560(0x1b2)]:return _0x3ba560(0x224);case s[_0x3ba560(0x15b)]['FAILED']:return _0x3ba560(0x16e);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x389f91=(_0xeca28d,_0x25c8aa)=>{const _0x660fa5=_0x1a1e28;if(_0x25c8aa===s[_0x660fa5(0x27b)]['UNAUTHORIZED'])return _0x660fa5(0x228);switch(_0xeca28d){case s[_0x660fa5(0x15b)][_0x660fa5(0x1cd)]:return _0x660fa5(0x1f1);case s['MCPConnectionStatus']['CONNECTING']:case s[_0x660fa5(0x15b)][_0x660fa5(0x1b2)]:return _0x660fa5(0x24b);case s['MCPConnectionStatus'][_0x660fa5(0x248)]:return _0x660fa5(0x228);default:return _0x660fa5(0x166);}},_0x34fc4c=_0x3dfa76=>{const _0x501921=_0x1a1e28;switch(_0x3dfa76){case s['MCPConnectionStatus'][_0x501921(0x1cd)]:return _0x31eeb7['t'](_0x501921(0x276));case s[_0x501921(0x15b)]['CONNECTING']:return _0x31eeb7['t']('mcpConfig.connectionStatus.connecting');case s[_0x501921(0x15b)][_0x501921(0x248)]:return _0x31eeb7['t'](_0x501921(0x1be));case s[_0x501921(0x15b)][_0x501921(0x1b2)]:return _0x31eeb7['t'](_0x501921(0x115));default:return _0x31eeb7['t'](_0x501921(0x1cf));}},_0x5ac3bb=_0x2108ee=>{const _0x7d79d9=_0x1a1e28;switch(_0x2108ee){case s[_0x7d79d9(0x27b)][_0x7d79d9(0x1b3)]:return _0x31eeb7['t'](_0x7d79d9(0x10a));case s[_0x7d79d9(0x27b)][_0x7d79d9(0x20e)]:return _0x31eeb7['t'](_0x7d79d9(0x231));case s[_0x7d79d9(0x27b)][_0x7d79d9(0x24e)]:return _0x31eeb7['t'](_0x7d79d9(0x1d2));case s[_0x7d79d9(0x27b)]['MAX_RETRIES_EXCEEDED']:return _0x31eeb7['t'](_0x7d79d9(0x164));default:return'';}},_0x2a46ce=d[_0x1a1e28(0x159)](()=>{const _0x2df204=_0x1a1e28,_0x5c51e4={..._0xf9105,'apiKey':_0x33ce43[_0x2df204(0x1af)](),'enableAuth':_0x3a2638};_0x3217b2(_0x5c51e4);},[_0xf9105,_0x33ce43,_0x3a2638,_0x3217b2]),_0x367f7a=_0x33ce43[_0x1a1e28(0x1af)]()['length']>0x0;return i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x22d),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x25f),'children':i['jsxs'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1d8),'children':[i[_0x1a1e28(0x18a)]('div',{'className':_0x1a1e28(0x127),'children':i[_0x1a1e28(0x18a)]('span',{'className':_0x1a1e28(0x1c0),'children':'⚙'})}),i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'children':i[_0x1a1e28(0x18a)]('p',{'className':_0x1a1e28(0x169),'children':_0x31eeb7['t'](_0x1a1e28(0x1c9))})})]})}),i['jsxs'](_0x1a1e28(0x172),{'className':_0x1a1e28(0xf6),'children':[i['jsx'](_0x1a1e28(0x172),{'className':f[_0x1a1e28(0x18c)](_0x1a1e28(0x1e8),_0x13f1ab(_0x553513,_0x3cd298)),'children':i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0xf5),'children':[i['jsx']('div',{'className':f[_0x1a1e28(0x18c)](_0x1a1e28(0x197),_0x389f91(_0x553513,_0x3cd298))}),i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'className':_0x1a1e28(0x260),'children':_0x34fc4c(_0x553513)})]})}),_0x3cd298!==s[_0x1a1e28(0x27b)][_0x1a1e28(0x1f9)]&&(_0x553513===s[_0x1a1e28(0x15b)]['FAILED']||_0x3cd298===s[_0x1a1e28(0x27b)][_0x1a1e28(0x1b3)])&&i['jsx'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x142),'children':i['jsxs'](_0x1a1e28(0x172),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),i[_0x1a1e28(0x18a)]('p',{'className':_0x1a1e28(0x26e),'children':_0x5ac3bb(_0x3cd298)})]})})]}),i[_0x1a1e28(0x18a)]('div',{'className':_0x1a1e28(0xf2),'children':i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x222),'children':[i[_0x1a1e28(0x1d9)]('div',{'className':_0x1a1e28(0x1e2),'children':[i[_0x1a1e28(0x1d9)]('label',{'className':_0x1a1e28(0x151),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'children':'🔑'}),'\x20',_0x31eeb7['t'](_0x1a1e28(0x1bd)),i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'className':_0x1a1e28(0x266),'children':'*'}),_0x31b822&&i['jsx']('a',{'className':_0x1a1e28(0x177),'title':_0x31eeb7['t']('mcpConfig.apiApplyInfo.title'),'role':'button','onClick':()=>_0x18cb9d(!0x0),'children':i[_0x1a1e28(0x18a)](Y,{})})]}),i[_0x1a1e28(0x18a)](f['Input'],{'type':'text','placeholder':_0x31eeb7['t'](_0x1a1e28(0x24c)),'value':_0x33ce43,'disabled':_0x4cdaba,'autoComplete':_0x1a1e28(0x237),'onChange':_0x2d8cb9}),i[_0x1a1e28(0x18a)]('p',{'className':_0x1a1e28(0x22c),'children':_0x31eeb7['t'](_0x1a1e28(0x187))})]}),_0x31b822&&_0x3001b1&&i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[i[_0x1a1e28(0x18a)]('a',{'className':_0x1a1e28(0x1bb),'role':_0x1a1e28(0x25c),'onClick':()=>_0x18cb9d(!0x1),'children':i['jsx'](F,{'className':_0x1a1e28(0xf3)})}),i['jsxs'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x192),'children':[i['jsx'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1c2),'children':i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'className':_0x1a1e28(0x104),'children':'🚀'})}),i[_0x1a1e28(0x1d9)]('div',{'className':_0x1a1e28(0x139),'children':[i[_0x1a1e28(0x18a)]('h4',{'className':_0x1a1e28(0x141),'children':_0x31eeb7['t'](_0x1a1e28(0x220))}),i[_0x1a1e28(0x18a)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x31eeb7['t'](_0x1a1e28(0x23a))}),i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x15d),'children':_0xf76fbc&&i['jsxs']('a',{'className':_0x1a1e28(0x1e3),'href':_0x2fc639,'target':_0x1a1e28(0x16f),'rel':_0x1a1e28(0x193),'children':[i['jsx'](_0x1a1e28(0x178),{'children':'🤖'}),_0x31eeb7['t'](_0x1a1e28(0x105)),i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'className':'univer-text-gray-400','children':'↗'})]})}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1d3),'children':['✨','\x20',_0x31eeb7['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x4b316e[_0x1a1e28(0x1f3)]&&i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x240),'children':[i['jsxs']('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'children':'🔗'}),'\x20',_0x31eeb7['t']('mcpConfig.connectionInfo')]}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1fc),'children':[i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x129),'children':[i[_0x1a1e28(0x18a)]('p',{'className':_0x1a1e28(0x201),'children':_0x31eeb7['t'](_0x1a1e28(0x20c))}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1e2),'children':[i['jsx'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x18f),'children':_0x31eeb7['t'](_0x1a1e28(0x251))}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1d7),'children':[i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0xf5),'children':[i[_0x1a1e28(0x18a)]('span',{'className':_0x1a1e28(0x1c1),'children':'1'}),_0x31eeb7['t'](_0x1a1e28(0x110))]}),i[_0x1a1e28(0x1d9)]('div',{'className':_0x1a1e28(0xf5),'children':[i[_0x1a1e28(0x18a)]('span',{'className':_0x1a1e28(0x1c1),'children':'2'}),_0x31eeb7['t'](_0x1a1e28(0x19c))]}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0xf5),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'className':_0x1a1e28(0x1c1),'children':'3'}),_0x31eeb7['t'](_0x1a1e28(0x227))]})]})]})]}),i['jsxs'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1e2),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x18f),'children':_0x1a1e28(0x13d)}),i[_0x1a1e28(0x18a)]('div',{'className':_0x1a1e28(0x1a4),'children':i[_0x1a1e28(0x18a)](_0x1a1e28(0x11b),{'className':_0x1a1e28(0x24a),'children':JSON[_0x1a1e28(0x273)]({'mcpServers':{'univer':{'url':_0x1a1e28(0x27c)+(_0x1187af||_0x1a1e28(0x16c)),'type':_0x1a1e28(0x161),'headers':{'Authorization':_0x1a1e28(0x125)+(_0x33ce43||_0x1a1e28(0xf8))}}}},null,0x2)})})]}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x129),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x18f),'children':_0x31eeb7['t'](_0x1a1e28(0x1d4))}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':'univer-space-y-2','children':[i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),i[_0x1a1e28(0x1d9)]('div',{'className':_0x1a1e28(0x1ae),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x213),'children':'univer_session_id:'}),i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x22c),'children':_0x31eeb7['t'](_0x1a1e28(0x10b))})]})]}),i['jsxs'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x19f),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x195)}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x1ae),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x213),'children':'Authorization:'}),i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x22c),'children':_0x31eeb7['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),i['jsx'](f['Button'],{'onClick':_0x2a46ce,'disabled':!_0x367f7a||_0x4cdaba,'className':_0x1a1e28(0x272),'children':_0x4cdaba?i[_0x1a1e28(0x1d9)](_0x1a1e28(0x178),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x178),{'children':'⟲'}),_0x31eeb7['t'](_0x1a1e28(0x239))]}):i[_0x1a1e28(0x1d9)](_0x1a1e28(0x178),{'className':_0x1a1e28(0xf5),'children':[i['jsx'](B,{}),_0x31eeb7['t'](_0x1a1e28(0x206))]})}),i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':_0x1a1e28(0x211),'children':i['jsxs'](_0x1a1e28(0x172),{'className':_0x1a1e28(0x16b),'children':[i['jsx'](_0x1a1e28(0x178),{'className':_0x1a1e28(0x1dd),'children':'💡'}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'className':_0x1a1e28(0xff),'children':[i[_0x1a1e28(0x18a)](_0x1a1e28(0x172),{'className':'univer-font-medium','children':_0x1a1e28(0x145)}),i[_0x1a1e28(0x1d9)](_0x1a1e28(0x172),{'children':['•',_0x31eeb7['t'](_0x1a1e28(0x21e))]}),i['jsxs'](_0x1a1e28(0x172),{'children':['•',_0x31eeb7['t'](_0x1a1e28(0x176))]})]})]})})]})})]});}const P=_0x31a787(0x275),z={'showDeveloperTools':!0x1,'showStatus':!0x0};var Se=Object[_0x31a787(0x1c5)],Pe=(_0x5e8638,_0x3593f8,_0x4ff557,_0xcc2b76)=>{const _0x5073c6=_0x31a787;for(var _0xe21e34=_0xcc2b76>0x1?void 0x0:_0xcc2b76?Se(_0x3593f8,_0x4ff557):_0x3593f8,_0x3d0c39=_0x5e8638[_0x5073c6(0x27a)]-0x1,_0x5f43d2;_0x3d0c39>=0x0;_0x3d0c39--)(_0x5f43d2=_0x5e8638[_0x3d0c39])&&(_0xe21e34=_0x5f43d2(_0xe21e34)||_0xe21e34);return _0xe21e34;},g=(_0x327828,_0x45d460)=>(_0x339d6c,_0x2df308)=>_0x45d460(_0x339d6c,_0x2df308,_0x327828);const O=_0x31a787(0x26a),D=_0x31a787(0x1fb);exports[_0x31a787(0x200)]=class extends u[_0x31a787(0x18d)]{constructor(_0x4e51ec,_0x1295eb,_0x1bf2c5,_0x57f437,_0x22605f,_0x5e8f16,_0x1e0974,_0xddfafc,_0xbef63a,_0x44d490){const _0x2e2ce6=_0x31a787;super(),I(this,_0x2e2ce6(0x1a0),new M[(_0x2e2ce6(0x1a6))](!0x1)),I(this,'_mcpCoreConfig$',new M['BehaviorSubject']({})),I(this,'_config$',new M[(_0x2e2ce6(0x1a6))]({})),I(this,_0x2e2ce6(0xf1),new M[(_0x2e2ce6(0x1a6))]('')),I(this,_0x2e2ce6(0x1da),async _0x49fb8b=>{const _0x1460e8=_0x2e2ce6;var _0x3d5412,_0x3964b2;this[_0x1460e8(0x1a0)][_0x1460e8(0x270)](!0x0);try{const _0x496472=await this[_0x1460e8(0x17c)](_0x49fb8b);if(!_0x496472[_0x1460e8(0x22a)]){this[_0x1460e8(0x116)]['show']({'type':f[_0x1460e8(0x214)][_0x1460e8(0xef)],'content':_0x496472[_0x1460e8(0x102)]||this['_localeService']['t'](_0x1460e8(0x1a9))});return;}_0x49fb8b[_0x1460e8(0xf0)]?await this[_0x1460e8(0x184)][_0x1460e8(0x11e)](O,_0x49fb8b[_0x1460e8(0xf0)]['trim']()):await this[_0x1460e8(0x184)]['removeItem'](O),this[_0x1460e8(0xf1)][_0x1460e8(0x270)](((_0x3d5412=_0x49fb8b['apiKey'])==null?void 0x0:_0x3d5412[_0x1460e8(0x1af)]())||''),this[_0x1460e8(0x207)][_0x1460e8(0x106)]({'Authorization':_0x1460e8(0x125)+((_0x3964b2=_0x49fb8b['apiKey'])==null?void 0x0:_0x3964b2[_0x1460e8(0x1af)]())}),this[_0x1460e8(0x116)][_0x1460e8(0x101)]({'type':f[_0x1460e8(0x214)]['Success'],'content':this[_0x1460e8(0x140)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x243217=_0x1460e8;this[_0x243217(0x1ba)]['close'](D);},0x320);}catch(_0x30fdad){this[_0x1460e8(0x1c7)]['error']('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x30fdad),this['_messageService'][_0x1460e8(0x101)]({'type':f['MessageType']['Error'],'content':this[_0x1460e8(0x140)]['t']('mcpConfig.configError')});}finally{this[_0x1460e8(0x1a0)][_0x1460e8(0x270)](!0x1);}}),(this[_0x2e2ce6(0x168)]=_0x4e51ec,this[_0x2e2ce6(0x1ea)]=_0x1295eb,this[_0x2e2ce6(0x185)]=_0x1bf2c5,this[_0x2e2ce6(0x184)]=_0x57f437,this[_0x2e2ce6(0x1ba)]=_0x22605f,this[_0x2e2ce6(0x116)]=_0x5e8f16,this[_0x2e2ce6(0x11f)]=_0x1e0974,this['_localeService']=_0xddfafc,this[_0x2e2ce6(0x1c7)]=_0xbef63a,this[_0x2e2ce6(0x207)]=_0x44d490,this[_0x2e2ce6(0x188)](),this[_0x2e2ce6(0x108)](),this[_0x2e2ce6(0x25e)]());}[_0x31a787(0x1fe)](){const _0x5b0675=_0x31a787,_0x55a6d6=this['_configService'][_0x5b0675(0x223)](P);_0x55a6d6!=null&&_0x55a6d6['showDeveloperTools']&&this[_0x5b0675(0x1ba)][_0x5b0675(0x1e7)]({'id':D,'title':{'title':this[_0x5b0675(0x140)]['t'](_0x5b0675(0x13e))},'children':{'label':_0x5b0675(0x171)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3b5cf6=_0x5b0675;this[_0x3b5cf6(0x1ba)][_0x3b5cf6(0x1e4)](D);}});}['getCurrentConfig'](){const _0x395925=_0x31a787;return this[_0x395925(0x212)]['value'];}[_0x31a787(0x25e)](){const _0x2b193b=_0x31a787;this[_0x2b193b(0x209)](this['_componentManager'][_0x2b193b(0x20d)](_0x2b193b(0x171),this[_0x2b193b(0x24f)]()));}['_createConfigPanelComponent'](){const _0x51926d=_0x31a787;return v[_0x51926d(0x15f)](()=>{const _0x9df32d=_0x51926d;var _0x2f1494,_0x55d070,_0x36e628;return i[_0x9df32d(0x18a)](Z,{'config':this['_config$'][_0x9df32d(0x15c)],'mcpCoreConfig':this[_0x9df32d(0x212)]['value'],'currentApiKey$':this[_0x9df32d(0xf1)],'onSave':this['_handleConfigSave'],'loading':this[_0x9df32d(0x1a0)]['value'],'connectionStatus$':(_0x2f1494=this[_0x9df32d(0x207)])==null?void 0x0:_0x2f1494[_0x9df32d(0x238)],'connectionError$':(_0x55d070=this['_mcpConnectionController'])==null?void 0x0:_0x55d070[_0x9df32d(0x1ff)],'currentSessionId$':(_0x36e628=this[_0x9df32d(0x207)])==null?void 0x0:_0x36e628['sessionId$']});},this[_0x51926d(0x168)]);}[_0x31a787(0x188)](){const _0x4f067d=_0x31a787;this[_0x4f067d(0x209)](this[_0x4f067d(0x185)][_0x4f067d(0x135)](s[_0x4f067d(0x155)])[_0x4f067d(0xfd)](_0x3ed822=>{const _0x9e189f=_0x4f067d;this[_0x9e189f(0x212)]['next'](_0x3ed822||{});}));const _0x45e35b=this[_0x4f067d(0x185)][_0x4f067d(0x223)](s[_0x4f067d(0x155)]);this[_0x4f067d(0x212)][_0x4f067d(0x270)](_0x45e35b||{}),this[_0x4f067d(0x209)](this['_configService'][_0x4f067d(0x135)](P)[_0x4f067d(0xfd)](_0x4f2d20=>{const _0x2f76df=_0x4f067d;this[_0x2f76df(0x230)][_0x2f76df(0x270)](_0x4f2d20||{});}));const _0x15854a=this['_configService'][_0x4f067d(0x223)](P);this['_config$'][_0x4f067d(0x270)](_0x15854a||{});}async[_0x31a787(0x108)](){const _0xc7464e=_0x31a787,_0x5c0097=this[_0xc7464e(0x185)][_0xc7464e(0x223)](P);if(!(_0x5c0097!=null&&_0x5c0097[_0xc7464e(0x1f3)]))return;const _0x92a45=await this[_0xc7464e(0x184)][_0xc7464e(0x13c)](O);_0x92a45&&(this[_0xc7464e(0x207)]['__setCustomHeaders']({'Authorization':_0xc7464e(0x125)+_0x92a45}),this[_0xc7464e(0xf1)]['next'](_0x92a45));}async[_0x31a787(0x17c)](_0x48f9d8){const _0xb7a842=_0x31a787;if(!_0x48f9d8[_0xb7a842(0xf0)]||_0x48f9d8[_0xb7a842(0xf0)]['trim']()[_0xb7a842(0x27a)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0xb7a842(0x118))};if(_0x48f9d8[_0xb7a842(0xf0)]['trim']()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0xb7a842(0x140)]['t'](_0xb7a842(0x256))};try{const _0x59e0a5=await this['_injector'][_0xb7a842(0x15e)](s[_0xb7a842(0x1ee)])[_0xb7a842(0x20f)](_0x48f9d8['apiKey'][_0xb7a842(0x1af)]());return _0x59e0a5[_0xb7a842(0x22a)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x59e0a5[_0xb7a842(0x174)]||this[_0xb7a842(0x140)]['t'](_0xb7a842(0x1ca))};}catch(_0x7aba59){return console[_0xb7a842(0x191)](_0xb7a842(0x1c6),_0x7aba59),{'isValid':!0x0};}}},exports[_0x31a787(0x200)]=Pe([g(0x0,u[_0x31a787(0xfb)](u[_0x31a787(0x1f7)])),g(0x1,v[_0x31a787(0x1bc)]),g(0x2,u['IConfigService']),g(0x3,u[_0x31a787(0x146)]),g(0x4,v['IDialogService']),g(0x5,v['IMessageService']),g(0x6,u[_0x31a787(0xfb)](v['ComponentManager'])),g(0x7,u['Inject'](u['LocaleService'])),g(0x8,u[_0x31a787(0x153)]),g(0x9,u[_0x31a787(0xfb)](s['MCPConnectionController']))],exports[_0x31a787(0x200)]);const b={'id':_0x31a787(0x25b),'type':u[_0x31a787(0x17f)][_0x31a787(0x121)],'handler':async(_0x7b1797,_0x4531fa)=>(_0x7b1797['get'](exports[_0x31a787(0x200)])[_0x31a787(0x1fe)](),!0x0)};function W(_0x52fffe,_0x298035){const _0x26d8d3=_0x31a787;switch(_0x52fffe){case s[_0x26d8d3(0x15b)]['DISCONNECTED']:return'mcpStatus.disconnected';case s[_0x26d8d3(0x15b)][_0x26d8d3(0x1ad)]:return'mcpStatus.connecting';case s[_0x26d8d3(0x15b)][_0x26d8d3(0x1cd)]:return'mcpStatus.connected';case s[_0x26d8d3(0x15b)][_0x26d8d3(0x248)]:switch(_0x298035){case s['MCPConnectionError']['UNAUTHORIZED']:return _0x26d8d3(0x26d);case s['MCPConnectionError'][_0x26d8d3(0x20e)]:return _0x26d8d3(0x226);case s['MCPConnectionError'][_0x26d8d3(0x24e)]:return _0x26d8d3(0x1ce);case s[_0x26d8d3(0x27b)][_0x26d8d3(0x17b)]:return _0x26d8d3(0x1f8);default:return _0x26d8d3(0x1ef);}case s[_0x26d8d3(0x15b)]['RETRYING']:return _0x26d8d3(0x262);default:return _0x26d8d3(0x23e);}}function Ie(_0x5482c4,_0x2f38cc,_0xa8b413,_0xd4ba10=!0x0){const _0x28beca=_0x31a787,_0x5b9de8=W(_0x5482c4,_0x2f38cc),_0x4b398a=_0xa8b413['t'](_0x5b9de8);return _0xd4ba10?_0x5482c4===s[_0x28beca(0x15b)][_0x28beca(0x1a7)]&&_0x2f38cc===s[_0x28beca(0x27b)][_0x28beca(0x1b3)]?_0x4b398a+_0x28beca(0x1a8)+_0xa8b413['t'](_0x28beca(0xfe)):_0x5482c4===s[_0x28beca(0x15b)][_0x28beca(0x1cd)]?''+_0x4b398a:_0x5482c4===s[_0x28beca(0x15b)]['DISCONNECTED']||_0x5482c4===s[_0x28beca(0x15b)][_0x28beca(0x248)]?_0x4b398a+_0x28beca(0x1a8)+_0xa8b413['t']('mcpStatus.clickToConnect'):_0x4b398a:_0x4b398a;}function _e(_0x58640f){const _0x1d39c8=_0x31a787;switch(_0x58640f){case s[_0x1d39c8(0x15b)][_0x1d39c8(0x1cd)]:return'univer-text-green-500';case s['MCPConnectionStatus'][_0x1d39c8(0x1ad)]:case s[_0x1d39c8(0x15b)]['RETRYING']:return'univer-text-yellow-500';case s[_0x1d39c8(0x15b)]['FAILED']:case s[_0x1d39c8(0x15b)]['DISCONNECTED']:return'univer-text-red-500';default:return _0x1d39c8(0x1b6);}}function X(_0x2aeb3f){const _0x2a1a36=_0x31a787,{status$:_0x2c937b,error$:_0x149401,onConfigure:_0x396b95,showClickable:_0x2999d7=!0x0}=_0x2aeb3f,_0x2ca4ea=v[_0x2a1a36(0x136)](_0x2c937b,s[_0x2a1a36(0x15b)][_0x2a1a36(0x1a7)]),_0x41315c=v['useObservable'](_0x149401,s[_0x2a1a36(0x27b)][_0x2a1a36(0x1f9)]),_0x22776e=v['useDependency'](u[_0x2a1a36(0x219)]),_0x36697d=_0x2ca4ea===s[_0x2a1a36(0x15b)][_0x2a1a36(0x1cd)];_0x2ca4ea===s[_0x2a1a36(0x15b)][_0x2a1a36(0x1ad)]||s[_0x2a1a36(0x15b)][_0x2a1a36(0x1b2)];const _0xcbb7f2=_0x22776e['t'](W(_0x2ca4ea,_0x41315c)),_0x3f27e0=Ie(_0x2ca4ea,_0x41315c,_0x22776e,_0x2999d7),_0xbdc9a5=_e(_0x2ca4ea),_0x20b923=_0x36697d?i[_0x2a1a36(0x18a)](V,{}):i['jsx'](q,{}),_0xf32c75=d['useCallback'](()=>{_0x2999d7&&_0x396b95&&_0x396b95();},[_0x2999d7,_0x396b95]);function _0x35545b(){const _0x10d117=_0x2a1a36;return i['jsxs'](_0x10d117(0x172),{'className':f[_0x10d117(0x18c)](_0x10d117(0x179),_0x2999d7&&_0x396b95&&_0x10d117(0x144)),'role':_0x10d117(0x25c),'onClick':_0x2999d7&&_0x396b95?_0xf32c75:void 0x0,'children':[i[_0x10d117(0x18a)]('div',{'className':f['clsx'](_0x10d117(0x124),_0xbdc9a5),'children':_0x20b923}),i[_0x10d117(0x18a)](_0x10d117(0x172),{'className':_0x10d117(0x137),'children':_0xcbb7f2})]});}return i[_0x2a1a36(0x18a)](f['Tooltip'],{'title':_0x3f27e0,'placement':_0x2a1a36(0x111),'children':_0x35545b()});}var ye=Object[_0x31a787(0x1c5)],Me=(_0x35eb70,_0x5431e0,_0x5345cb,_0x374272)=>{const _0x2bd33d=_0x31a787;for(var _0x22eede=_0x374272>0x1?void 0x0:_0x374272?ye(_0x5431e0,_0x5345cb):_0x5431e0,_0x5d8a49=_0x35eb70[_0x2bd33d(0x27a)]-0x1,_0x1a7538;_0x5d8a49>=0x0;_0x5d8a49--)(_0x1a7538=_0x35eb70[_0x5d8a49])&&(_0x22eede=_0x1a7538(_0x22eede)||_0x22eede);return _0x22eede;},N=(_0x103f0f,_0x2e3de1)=>(_0x20a019,_0x38109a)=>_0x2e3de1(_0x20a019,_0x38109a,_0x103f0f);exports[_0x31a787(0x12d)]=class extends u[_0x31a787(0x18d)]{constructor(_0x329a0c,_0x39b8c3,_0x20c9b8,_0x4af4a8){const _0x45e3ad=_0x31a787;super(),this['_injector']=_0x329a0c,this['_connectionController']=_0x39b8c3,this[_0x45e3ad(0x1ea)]=_0x20c9b8,this[_0x45e3ad(0x185)]=_0x4af4a8,this[_0x45e3ad(0x1e0)](),this[_0x45e3ad(0x130)]();}[_0x31a787(0x1e0)](){const _0x118933=_0x31a787,_0x59e52d=this['_configService']['getConfig'](P);_0x59e52d!=null&&_0x59e52d[_0x118933(0x1f3)]&&(this['_connectionController'][_0x118933(0x232)]=!0x1);}[_0x31a787(0x130)](){const _0x348065=_0x31a787,_0x49b3ea=this['_configService'][_0x348065(0x223)](P);(_0x49b3ea==null?void 0x0:_0x49b3ea['showStatus'])!==!0x1&&this[_0x348065(0x209)](this[_0x348065(0x1ea)][_0x348065(0x1f0)](v['BuiltInUIPart'][_0x348065(0x1ed)],()=>{const _0x856433=_0x348065;var _0x61c6a0;return v[_0x856433(0x15f)](Ne({'status$':this['_connectionController'][_0x856433(0x238)],'error$':this[_0x856433(0x1ac)]['connectionError$'],'onConfigure':()=>this[_0x856433(0x216)](),'showClickable':(_0x61c6a0=_0x49b3ea==null?void 0x0:_0x49b3ea['showDeveloperTools'])!=null?_0x61c6a0:!0x1}),this[_0x856433(0x168)]);}));}[_0x31a787(0x216)](){const _0x47b5e8=_0x31a787;this['_injector'][_0x47b5e8(0x15e)](exports[_0x47b5e8(0x200)])['showConfigPanel']();}},exports[_0x31a787(0x12d)]=Me([N(0x0,u['Inject'](u[_0x31a787(0x1f7)])),N(0x1,u[_0x31a787(0xfb)](s[_0x31a787(0x1ee)])),N(0x2,v[_0x31a787(0x1bc)]),N(0x3,u[_0x31a787(0x154)])],exports['MCPConnectionUIController']);function Ne(_0x36a8da){const {status$:_0x5ed57f,error$:_0x546b1f,onConfigure:_0x372772,showClickable:_0x541ad3}=_0x36a8da;return function(){const _0xba9514=_0x2c97;return i[_0xba9514(0x18a)](X,{'status$':_0x5ed57f,'error$':_0x546b1f,'onConfigure':_0x372772,'showClickable':_0x541ad3});};}function be(_0x388143){const _0xbe7ab6=_0x31a787;return{'id':b['id'],'type':v[_0xbe7ab6(0xf4)][_0xbe7ab6(0x225)],'icon':_0xbe7ab6(0x215),'title':_0xbe7ab6(0x13e),'tooltip':_0xbe7ab6(0x13e)};}const je={[v[_0x31a787(0x12e)][_0x31a787(0x112)]]:{[b['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object[_0x31a787(0x1c5)],we=(_0xb7d5f,_0x4436e5,_0x35b414,_0x17d174)=>{const _0x1ec266=_0x31a787;for(var _0x1476d3=_0x17d174>0x1?void 0x0:_0x17d174?Ee(_0x4436e5,_0x35b414):_0x4436e5,_0x2a2bd7=_0xb7d5f[_0x1ec266(0x27a)]-0x1,_0x33cc3e;_0x2a2bd7>=0x0;_0x2a2bd7--)(_0x33cc3e=_0xb7d5f[_0x2a2bd7])&&(_0x1476d3=_0x33cc3e(_0x1476d3)||_0x1476d3);return _0x1476d3;},G=(_0xbc41c7,_0x1e42da)=>(_0x282c6b,_0x246ec8)=>_0x1e42da(_0x282c6b,_0x246ec8,_0xbc41c7);exports[_0x31a787(0x11c)]=class extends u[_0x31a787(0x18d)]{constructor(_0x8ff355,_0x268cd6){const _0x57df57=_0x31a787;super(),this['_commandService']=_0x8ff355,this[_0x57df57(0x14d)]=_0x268cd6,this[_0x57df57(0x249)](),this[_0x57df57(0x117)]();}[_0x31a787(0x249)](){[b]['forEach'](_0x5197b6=>{const _0x3f3b53=_0x2c97;this['disposeWithMe'](this[_0x3f3b53(0x1a5)]['registerCommand'](_0x5197b6));});}[_0x31a787(0x117)](){const _0x431a60=_0x31a787;this[_0x431a60(0x14d)][_0x431a60(0x11a)](je);}},exports[_0x31a787(0x11c)]=we([G(0x0,u['ICommandService']),G(0x1,v['IMenuManagerService'])],exports[_0x31a787(0x11c)]);const Ae={'mcpStatus':{'disconnected':_0x31a787(0x167),'connecting':_0x31a787(0x198),'connected':_0x31a787(0x157),'failed':_0x31a787(0x126),'retrying':_0x31a787(0x26f),'unknown':_0x31a787(0x12a),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x31a787(0x245),'clickToConnect':_0x31a787(0x1fd),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x31a787(0x13d),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x31a787(0x1ab),'apiKeyHint':_0x31a787(0x1e5),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x31a787(0x175),'connectionInfo':_0x31a787(0x132),'mcpClientConfig':_0x31a787(0x132),'configInstructions':_0x31a787(0x19e),'configStepTitle':_0x31a787(0x271),'configStep1':_0x31a787(0x217),'configStep2':_0x31a787(0x194),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x31a787(0x247),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x31a787(0x246),'save':_0x31a787(0x1dc),'saving':_0x31a787(0xfa),'note1':_0x31a787(0x107),'note2':_0x31a787(0x22b),'configSaved':_0x31a787(0x19a),'configError':_0x31a787(0x1c4),'apiApplyInfo':{'title':_0x31a787(0x119),'description':_0x31a787(0x1f6),'univerAiLabel':_0x31a787(0x21b),'getStarted':_0x31a787(0x163)},'validation':{'apiKeyRequired':_0x31a787(0x1b1),'apiKeyTooShort':_0x31a787(0x10f),'invalidConfig':_0x31a787(0x1fa),'invalidApiKey':_0x31a787(0x234)},'connectionStatus':{'disconnected':_0x31a787(0x12c),'connecting':_0x31a787(0x14c),'connected':'Connected','failed':_0x31a787(0x1d5),'retrying':_0x31a787(0x235)},'connectionError':{'unauthorized':_0x31a787(0x26c),'sessionOccupied':_0x31a787(0x264),'networkError':_0x31a787(0x23f),'maxRetriesExceeded':_0x31a787(0x128)}}},Oe={'mcpStatus':{'disconnected':_0x31a787(0x199),'connecting':'MCP\x20连接中...','connected':_0x31a787(0x257),'failed':_0x31a787(0x269),'retrying':'MCP\x20重连中...','unknown':_0x31a787(0x1ec),'unauthorized':_0x31a787(0x11d),'sessionOccupied':_0x31a787(0x22e),'networkError':_0x31a787(0x21c),'maxRetriesExceeded':_0x31a787(0x18b),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x31a787(0x21a)},'mcpConfig':{'title':_0x31a787(0x22f),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x31a787(0x190),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x31a787(0x13f),'enableAuth':_0x31a787(0x1f5),'enableAuthHint':_0x31a787(0x17e),'connectionInfo':_0x31a787(0x12b),'mcpClientConfig':_0x31a787(0x12b),'configInstructions':_0x31a787(0x180),'configStepTitle':_0x31a787(0x14f),'configStep1':_0x31a787(0x13b),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x31a787(0x19d),'sessionId':_0x31a787(0x1b9),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x31a787(0x208),'configParameters':_0x31a787(0x23c),'maxRetries':_0x31a787(0x254),'save':_0x31a787(0x1d1),'saving':_0x31a787(0x162),'note1':_0x31a787(0x1a2),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x31a787(0x16a),'apiApplyInfo':{'title':_0x31a787(0x1c8),'description':_0x31a787(0x259),'univerAiLabel':_0x31a787(0x12f),'getStarted':_0x31a787(0x158)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x31a787(0x243),'invalidConfig':_0x31a787(0x14a),'invalidApiKey':_0x31a787(0x1db)},'connectionStatus':{'disconnected':'未连接','connecting':_0x31a787(0x147),'connected':_0x31a787(0x267),'failed':_0x31a787(0x1b8),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x31a787(0x1b0),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x31a787(0x10c),'maxRetriesExceeded':_0x31a787(0x160)}}},De=_0x31a787(0x1e6),Ue=_0x31a787(0xf9),J={'name':De,'version':Ue};var $e=Object[_0x31a787(0x10e)],Te=Object[_0x31a787(0x1c5)],ke=(_0x4dbbf0,_0x4672a2,_0x4ad68e)=>_0x4672a2 in _0x4dbbf0?$e(_0x4dbbf0,_0x4672a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ad68e}):_0x4dbbf0[_0x4672a2]=_0x4ad68e,Re=(_0x293635,_0x1f2de9,_0x8d4a9,_0x4081f5)=>{const _0x259b38=_0x31a787;for(var _0x46d3c5=_0x4081f5>0x1?void 0x0:_0x4081f5?Te(_0x1f2de9,_0x8d4a9):_0x1f2de9,_0xcff11f=_0x293635[_0x259b38(0x27a)]-0x1,_0x561539;_0xcff11f>=0x0;_0xcff11f--)(_0x561539=_0x293635[_0xcff11f])&&(_0x46d3c5=_0x561539(_0x46d3c5)||_0x46d3c5);return _0x46d3c5;},y=(_0x54f08b,_0x54c598)=>(_0x4d75de,_0x3b4354)=>_0x54c598(_0x4d75de,_0x3b4354,_0x54f08b),U=(_0x4ca790,_0x380a87,_0x635858)=>ke(_0x4ca790,typeof _0x380a87!=_0x31a787(0x218)?_0x380a87+'':_0x380a87,_0x635858);exports['UniverMCPUIPlugin']=class extends u[_0x31a787(0x196)]{constructor(_0x4fd2b1=z,_0x446029,_0x234cbf,_0x184a09,_0x2f5a8b,_0x230aba){const _0x3ca91c=_0x31a787;super(),this[_0x3ca91c(0x274)]=_0x4fd2b1,this[_0x3ca91c(0x168)]=_0x446029,this[_0x3ca91c(0x185)]=_0x234cbf,this[_0x3ca91c(0x1ea)]=_0x184a09,this['_localStorageService']=_0x2f5a8b,this[_0x3ca91c(0x140)]=_0x230aba;const {..._0x4614b6}=u[_0x3ca91c(0x18e)]({},z,this['_config']);this[_0x3ca91c(0x185)]['setConfig'](P,_0x4614b6);}async['onStarting'](){const _0x3247e7=_0x31a787,_0x298ba1=[[exports[_0x3247e7(0x12d)]],[exports[_0x3247e7(0x200)]],[exports[_0x3247e7(0x11c)]]];this['_injector']['has'](A[_0x3247e7(0x258)])||_0x298ba1['push']([A[_0x3247e7(0x258)],{'useClass':A[_0x3247e7(0x1cb)]}]),_0x298ba1['forEach'](_0x414402=>this['_injector'][_0x3247e7(0x268)](_0x414402)),this['_injector'][_0x3247e7(0x15e)](exports['MCPConnectionUIController']),this[_0x3247e7(0x168)]['get'](exports[_0x3247e7(0x200)]),this['_injector'][_0x3247e7(0x15e)](exports['MCPUIMenuController']);}},U(exports[_0x31a787(0x138)],_0x31a787(0x20b),'MCP_UI_PLUGIN'),U(exports[_0x31a787(0x138)],_0x31a787(0x183),J[_0x31a787(0x19b)]),U(exports[_0x31a787(0x138)],_0x31a787(0x241),J[_0x31a787(0x241)]),exports[_0x31a787(0x138)]=Re([u[_0x31a787(0x181)](s[_0x31a787(0x17a)]),y(0x1,u[_0x31a787(0xfb)](u['Injector'])),y(0x2,u[_0x31a787(0x154)]),y(0x3,v[_0x31a787(0x1bc)]),y(0x4,u[_0x31a787(0x146)]),y(0x5,u['Inject'](u['LocaleService']))],exports[_0x31a787(0x138)]),exports[_0x31a787(0x171)]=Z,exports[_0x31a787(0x23d)]=X,exports[_0x31a787(0x165)]=b,exports[_0x31a787(0x134)]=Ae,exports[_0x31a787(0x277)]=Oe;
@@ -1 +1 @@
1
- 'use strict';const _0x98d9e4=_0x2154;(function(_0x433087,_0x44b5c8){const _0x5a2949=_0x2154,_0x49d31d=_0x433087();while(!![]){try{const _0x52d618=-parseInt(_0x5a2949(0xca))/0x1*(parseInt(_0x5a2949(0xc5))/0x2)+-parseInt(_0x5a2949(0xed))/0x3+parseInt(_0x5a2949(0xec))/0x4+-parseInt(_0x5a2949(0xd7))/0x5*(parseInt(_0x5a2949(0xdc))/0x6)+-parseInt(_0x5a2949(0xdb))/0x7*(-parseInt(_0x5a2949(0xc7))/0x8)+parseInt(_0x5a2949(0xd1))/0x9*(-parseInt(_0x5a2949(0xd6))/0xa)+parseInt(_0x5a2949(0xce))/0xb;if(_0x52d618===_0x44b5c8)break;else _0x49d31d['push'](_0x49d31d['shift']());}catch(_0x5272a5){_0x49d31d['push'](_0x49d31d['shift']());}}}(_0x1784,0x2272e));function _0x2154(_0x4d4e46,_0x43051e){_0x4d4e46=_0x4d4e46-0xc5;const _0x1784c1=_0x1784();let _0x21549c=_0x1784c1[_0x4d4e46];return _0x21549c;}function _0x1784(){const _0xdec476=['Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','5643693kHZXue','MCP\x20Connecting...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','45dMfxMI','Invalid\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','331080muOmxg','5PgVevI','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Get\x20your\x20API\x20key\x20in\x20seconds','Disconnected','807821ICSlMr','1078170zICYdk','Session\x20ID','API\x20Key','MCP\x20Connected','MCP\x20Connection\x20Failed','MCP\x20Disconnected','MCP\x20Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20connect\x20MCP','Save\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Unknown\x20Status','Saving...','exports','What\x20is\x20API\x20Key?','826684RDwORT','843945EaBNbI','MCP\x20Configuration','Configuration\x20saved\x20successfully','Connected','Enter\x20your\x20API\x20key','MCP:\x20Network\x20Error','MCP:\x20Unauthorized','Max\x20Retries','182888wshgeg','Configuration\x20Parameters:','16VbQGRO','Retrying...','MCP:\x20Max\x20Retries\x20Exceeded','2GOLBjr','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Click\x20to\x20configure\x20MCP'];_0x1784=function(){return _0xdec476;};return _0x1784();}const e={'mcpStatus':{'disconnected':_0x98d9e4(0xe1),'connecting':_0x98d9e4(0xcf),'connected':_0x98d9e4(0xdf),'failed':_0x98d9e4(0xe0),'retrying':_0x98d9e4(0xe2),'unknown':_0x98d9e4(0xe8),'unauthorized':_0x98d9e4(0xf3),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x98d9e4(0xf2),'maxRetriesExceeded':_0x98d9e4(0xc9),'clickToConnect':_0x98d9e4(0xe5),'clickToConfigure':_0x98d9e4(0xcc)},'mcpConfig':{'title':_0x98d9e4(0xee),'description':_0x98d9e4(0xd3),'apiKey':_0x98d9e4(0xde),'apiKeyPlaceholder':_0x98d9e4(0xf1),'apiKeyHint':_0x98d9e4(0xd0),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x98d9e4(0xe4),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x98d9e4(0xd8),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x98d9e4(0xe7),'sessionId':_0x98d9e4(0xdd),'sessionIdDescription':_0x98d9e4(0xcb),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x98d9e4(0xc6),'maxRetries':_0x98d9e4(0xf4),'save':_0x98d9e4(0xe6),'saving':_0x98d9e4(0xe9),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x98d9e4(0xcd),'configSaved':_0x98d9e4(0xef),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x98d9e4(0xeb),'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':_0x98d9e4(0xd9)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x98d9e4(0xd5),'invalidConfig':_0x98d9e4(0xd2),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x98d9e4(0xda),'connecting':'Connecting...','connected':_0x98d9e4(0xf0),'failed':'Connection\x20Failed','retrying':_0x98d9e4(0xc8)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x98d9e4(0xd4),'maxRetriesExceeded':_0x98d9e4(0xe3)}}},n=e;module[_0x98d9e4(0xea)]=n;
1
+ 'use strict';function _0x7eff(){const _0x43e19b=['6738132BwBAhr','Session\x20ID','MCP:\x20Max\x20Retries\x20Exceeded','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Retrying...','Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1257548FwLtDx','2767688AxvDPV','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','1204329tEnBjq','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','2008jGsSRq','API\x20Key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Save\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','9873JUrBqk','MCP\x20Connection\x20Failed','MCP:\x20Network\x20Error','MCP:\x20Session\x20ID\x20Occupied','Connected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20is\x20required','MCP\x20Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','3988735kdUbay','MCP:\x20Unauthorized','Configuration\x20Steps:','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','MCP\x20Connecting...','Configuration\x20Parameters:','16338ndSEbJ','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Univer\x20AI\x20Console','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Invalid\x20configuration','50890AsxKHB','Max\x20Retries','What\x20is\x20API\x20Key?','MCP\x20Connected','MCP\x20Configuration','3kVpMxu','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20saved\x20successfully'];_0x7eff=function(){return _0x43e19b;};return _0x7eff();}function _0x3296(_0xcfed02,_0x3970e8){_0xcfed02=_0xcfed02-0xf1;const _0x7eff94=_0x7eff();let _0x329615=_0x7eff94[_0xcfed02];return _0x329615;}const _0x36b316=_0x3296;(function(_0x5e9474,_0x458ffd){const _0xe3c305=_0x3296,_0x393f3d=_0x5e9474();while(!![]){try{const _0xe97942=-parseInt(_0xe3c305(0xf6))/0x1+-parseInt(_0xe3c305(0xf4))/0x2*(parseInt(_0xe3c305(0x11a))/0x3)+parseInt(_0xe3c305(0xf3))/0x4+-parseInt(_0xe3c305(0x108))/0x5+-parseInt(_0xe3c305(0x11d))/0x6+parseInt(_0xe3c305(0x10f))/0x7*(-parseInt(_0xe3c305(0xf8))/0x8)+parseInt(_0xe3c305(0xff))/0x9*(parseInt(_0xe3c305(0x115))/0xa);if(_0xe97942===_0x458ffd)break;else _0x393f3d['push'](_0x393f3d['shift']());}catch(_0x2b06f4){_0x393f3d['push'](_0x393f3d['shift']());}}}(_0x7eff,0xc3dc4));const e={'mcpStatus':{'disconnected':_0x36b316(0x106),'connecting':_0x36b316(0x10d),'connected':_0x36b316(0x118),'failed':_0x36b316(0x100),'retrying':_0x36b316(0xfd),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x36b316(0x109),'sessionOccupied':_0x36b316(0x102),'networkError':_0x36b316(0x101),'maxRetriesExceeded':_0x36b316(0x11f),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x36b316(0x119),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x36b316(0xf9),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x36b316(0xf5),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x36b316(0x10c),'mcpClientConfig':_0x36b316(0x10c),'configInstructions':_0x36b316(0x110),'configStepTitle':_0x36b316(0x10a),'configStep1':_0x36b316(0x10b),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x36b316(0x11e),'sessionIdDescription':_0x36b316(0x104),'authorizationDescription':_0x36b316(0xfc),'configParameters':_0x36b316(0x10e),'maxRetries':_0x36b316(0x116),'save':_0x36b316(0xfb),'saving':'Saving...','note1':_0x36b316(0xfa),'note2':_0x36b316(0xf7),'configSaved':_0x36b316(0x11c),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x36b316(0x117),'description':_0x36b316(0x11b),'univerAiLabel':_0x36b316(0x111),'getStarted':_0x36b316(0xfe)},'validation':{'apiKeyRequired':_0x36b316(0x105),'apiKeyTooShort':_0x36b316(0x107),'invalidConfig':_0x36b316(0x114),'invalidApiKey':_0x36b316(0xf2)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x36b316(0xf1),'connected':_0x36b316(0x103),'failed':'Connection\x20Failed','retrying':_0x36b316(0x121)},'connectionError':{'unauthorized':_0x36b316(0x112),'sessionOccupied':_0x36b316(0x113),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x36b316(0x120)}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';function _0x433d(_0x3bb756,_0xeb33e7){_0x3bb756=_0x3bb756-0xa4;const _0x1f9a1c=_0x1f9a();let _0x433dc0=_0x1f9a1c[_0x3bb756];return _0x433dc0;}const _0x5a49b7=_0x433d;(function(_0x5cc304,_0x4bd9f6){const _0x5098e8=_0x433d,_0x5d3e0f=_0x5cc304();while(!![]){try{const _0x4bafdd=-parseInt(_0x5098e8(0xb0))/0x1+-parseInt(_0x5098e8(0xac))/0x2+-parseInt(_0x5098e8(0xbf))/0x3+-parseInt(_0x5098e8(0xc4))/0x4+-parseInt(_0x5098e8(0xd2))/0x5*(parseInt(_0x5098e8(0xb6))/0x6)+-parseInt(_0x5098e8(0xb1))/0x7+-parseInt(_0x5098e8(0xcc))/0x8*(-parseInt(_0x5098e8(0xaf))/0x9);if(_0x4bafdd===_0x4bd9f6)break;else _0x5d3e0f['push'](_0x5d3e0f['shift']());}catch(_0x1a4e35){_0x5d3e0f['push'](_0x5d3e0f['shift']());}}}(_0x1f9a,0xa7c9a));function _0x1f9a(){const _0x226eae=['Retrying...','Disconnected','42530mQYBQf','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20saved\x20successfully','Click\x20to\x20configure\x20MCP','Failed\x20to\x20save\x20configuration','MCP\x20Configuration','Configuration\x20Steps:','Enable\x20Authentication','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20with\x20Bearer\x20prefix.','2061674idmoUz','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connection\x20Failed','2697309eBDLMm','1224009THVmdb','2636991whMSHN','What\x20is\x20API\x20Key?','Enable\x20authentication\x20for\x20secure\x20connections','Univer\x20AI\x20Console','MCP\x20Disconnected','372AqBpjB','Saving...','MCP:\x20Unauthorized','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connection\x20Failed','Click\x20to\x20connect\x20MCP','API\x20Key','Session\x20ID','Invalid\x20configuration','3653214FqQaHa','MCP\x20Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','2521568yIcOYx','MCP:\x20Session\x20ID\x20Occupied','Connecting...','MCP\x20Client\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Network\x20Error','Configuration\x20Parameters:','Connected','152ajtCJS','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20is\x20required'];_0x1f9a=function(){return _0x226eae;};return _0x1f9a();}const e={'mcpStatus':{'disconnected':_0x5a49b7(0xb5),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x5a49b7(0xba),'retrying':_0x5a49b7(0xc0),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x5a49b7(0xb8),'sessionOccupied':_0x5a49b7(0xc5),'networkError':_0x5a49b7(0xc9),'maxRetriesExceeded':_0x5a49b7(0xd5),'clickToConnect':_0x5a49b7(0xbb),'clickToConfigure':_0x5a49b7(0xa4)},'mcpConfig':{'title':_0x5a49b7(0xa6),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5a49b7(0xbc),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5a49b7(0xc2),'enableAuth':_0x5a49b7(0xa8),'enableAuthHint':_0x5a49b7(0xb3),'connectionInfo':_0x5a49b7(0xc7),'mcpClientConfig':_0x5a49b7(0xc7),'configInstructions':_0x5a49b7(0xb9),'configStepTitle':_0x5a49b7(0xa7),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5a49b7(0xad),'configStep3':_0x5a49b7(0xcd),'sessionId':_0x5a49b7(0xbd),'sessionIdDescription':_0x5a49b7(0xa9),'authorizationDescription':_0x5a49b7(0xab),'configParameters':_0x5a49b7(0xca),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x5a49b7(0xb7),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x5a49b7(0xd6),'configError':_0x5a49b7(0xa5),'apiApplyInfo':{'title':_0x5a49b7(0xb2),'description':_0x5a49b7(0xd4),'univerAiLabel':_0x5a49b7(0xb4),'getStarted':_0x5a49b7(0xd3)},'validation':{'apiKeyRequired':_0x5a49b7(0xcf),'apiKeyTooShort':_0x5a49b7(0xaa),'invalidConfig':_0x5a49b7(0xbe),'invalidApiKey':_0x5a49b7(0xc3)},'connectionStatus':{'disconnected':_0x5a49b7(0xd1),'connecting':_0x5a49b7(0xc6),'connected':_0x5a49b7(0xcb),'failed':_0x5a49b7(0xae),'retrying':_0x5a49b7(0xd0)},'connectionError':{'unauthorized':_0x5a49b7(0xce),'sessionOccupied':_0x5a49b7(0xc1),'networkError':_0x5a49b7(0xc8),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module['exports']=e;
1
+ 'use strict';const _0x4c3b9f=_0x1c09;(function(_0x33194e,_0x2f19e7){const _0x2a041c=_0x1c09,_0x284e99=_0x33194e();while(!![]){try{const _0xefe66c=parseInt(_0x2a041c(0x140))/0x1+parseInt(_0x2a041c(0x159))/0x2+-parseInt(_0x2a041c(0x147))/0x3*(-parseInt(_0x2a041c(0x14f))/0x4)+-parseInt(_0x2a041c(0x130))/0x5+parseInt(_0x2a041c(0x145))/0x6+-parseInt(_0x2a041c(0x12d))/0x7*(parseInt(_0x2a041c(0x152))/0x8)+parseInt(_0x2a041c(0x137))/0x9*(-parseInt(_0x2a041c(0x14d))/0xa);if(_0xefe66c===_0x2f19e7)break;else _0x284e99['push'](_0x284e99['shift']());}catch(_0xbe24f2){_0x284e99['push'](_0x284e99['shift']());}}}(_0x11d3,0x53c2f));const e={'mcpStatus':{'disconnected':_0x4c3b9f(0x148),'connecting':_0x4c3b9f(0x154),'connected':_0x4c3b9f(0x133),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4c3b9f(0x14c),'unknown':_0x4c3b9f(0x13e),'unauthorized':_0x4c3b9f(0x15b),'sessionOccupied':_0x4c3b9f(0x144),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x4c3b9f(0x13d),'clickToConnect':_0x4c3b9f(0x13a),'clickToConfigure':_0x4c3b9f(0x150)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x4c3b9f(0x151),'apiKeyPlaceholder':_0x4c3b9f(0x155),'apiKeyHint':_0x4c3b9f(0x15a),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4c3b9f(0x134),'configStepTitle':_0x4c3b9f(0x139),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4c3b9f(0x142),'sessionIdDescription':_0x4c3b9f(0x12f),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x4c3b9f(0x14b),'maxRetries':'Max\x20Retries','save':_0x4c3b9f(0x136),'saving':'Saving...','note1':_0x4c3b9f(0x156),'note2':_0x4c3b9f(0x146),'configSaved':_0x4c3b9f(0x13b),'configError':_0x4c3b9f(0x157),'apiApplyInfo':{'title':_0x4c3b9f(0x14e),'description':_0x4c3b9f(0x149),'univerAiLabel':_0x4c3b9f(0x13c),'getStarted':_0x4c3b9f(0x158)},'validation':{'apiKeyRequired':_0x4c3b9f(0x132),'apiKeyTooShort':_0x4c3b9f(0x12c),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4c3b9f(0x12e)},'connectionStatus':{'disconnected':_0x4c3b9f(0x131),'connecting':_0x4c3b9f(0x13f),'connected':'Connected','failed':_0x4c3b9f(0x135),'retrying':_0x4c3b9f(0x143)},'connectionError':{'unauthorized':_0x4c3b9f(0x153),'sessionOccupied':_0x4c3b9f(0x14a),'networkError':_0x4c3b9f(0x138),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module[_0x4c3b9f(0x141)]=e;function _0x1c09(_0x3215a6,_0x5441d3){_0x3215a6=_0x3215a6-0x12c;const _0x11d390=_0x11d3();let _0x1c0933=_0x11d390[_0x3215a6];return _0x1c0933;}function _0x11d3(){const _0x2c00d8=['MCP\x20Connecting...','Enter\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Failed\x20to\x20save\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','1140754odVSzA','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Unauthorized','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','14foBDgy','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','885490sDCiLF','Disconnected','API\x20key\x20is\x20required','MCP\x20Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connection\x20Failed','Save\x20Configuration','10753740QPGBHI','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Steps:','Click\x20to\x20connect\x20MCP','Configuration\x20saved\x20successfully','Univer\x20AI\x20Console','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Unknown\x20Status','Connecting...','189311wVvirb','exports','Session\x20ID','Retrying...','MCP:\x20Session\x20ID\x20Occupied','2817570lFmsur','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1012821WRnxUs','MCP\x20Disconnected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Parameters:','MCP\x20Retrying...','10hDIfRY','What\x20is\x20API\x20Key?','8GzQtcB','Click\x20to\x20configure\x20MCP','API\x20Key','757808eLlXRH','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key'];_0x11d3=function(){return _0x2c00d8;};return _0x11d3();}
@@ -1 +1 @@
1
- 'use strict';function _0x46a1(_0x21953d,_0x2da2a9){_0x21953d=_0x21953d-0xb5;const _0x1ebdc7=_0x1ebd();let _0x46a179=_0x1ebdc7[_0x21953d];return _0x46a179;}const _0x96c04d=_0x46a1;(function(_0x4da9c2,_0xf059d3){const _0x443f34=_0x46a1,_0x5cea1a=_0x4da9c2();while(!![]){try{const _0x3c7901=-parseInt(_0x443f34(0xdd))/0x1+parseInt(_0x443f34(0xd6))/0x2+parseInt(_0x443f34(0xe9))/0x3*(-parseInt(_0x443f34(0xbc))/0x4)+-parseInt(_0x443f34(0xb8))/0x5*(-parseInt(_0x443f34(0xdf))/0x6)+parseInt(_0x443f34(0xe5))/0x7*(-parseInt(_0x443f34(0xe2))/0x8)+-parseInt(_0x443f34(0xd5))/0x9+-parseInt(_0x443f34(0xb5))/0xa*(-parseInt(_0x443f34(0xbd))/0xb);if(_0x3c7901===_0xf059d3)break;else _0x5cea1a['push'](_0x5cea1a['shift']());}catch(_0x287d92){_0x5cea1a['push'](_0x5cea1a['shift']());}}}(_0x1ebd,0x98f64));function _0x1ebd(){const _0x86cd18=['API\x20key\x20with\x20Bearer\x20prefix.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connected','1162792kPStmX','MCP\x20Connection\x20Failed','979206YbYHqf','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20saved\x20successfully','24zHsGmD','Invalid\x20configuration','Univer\x20AI\x20Console','2547111vHMHoj','Enable\x20Authentication','MCP\x20Disconnected','Configuration\x20Steps:','6BKAoDx','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','36540vynWgo','exports','MCP:\x20Max\x20Retries\x20Exceeded','25lxSOLm','Disconnected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Session\x20ID\x20Occupied','833032fkSDbG','6050tlhOMv','MCP\x20Client\x20Configuration','Click\x20to\x20connect\x20MCP','Connection\x20Failed','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Unauthorized','API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20Parameters:','MCP\x20Connecting...','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Max\x20Retries','What\x20is\x20API\x20Key?','MCP:\x20Network\x20Error','API\x20key\x20is\x20required','MCP\x20Connected','Click\x20to\x20configure\x20MCP','Failed\x20to\x20save\x20configuration','Saving...','Connecting...','2169666DNLYhG','1425656nFWxsr','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.'];_0x1ebd=function(){return _0x86cd18;};return _0x1ebd();}const e={'mcpStatus':{'disconnected':_0x96c04d(0xe7),'connecting':_0x96c04d(0xc8),'connected':_0x96c04d(0xd0),'failed':_0x96c04d(0xde),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x96c04d(0xc4),'sessionOccupied':_0x96c04d(0xbb),'networkError':_0x96c04d(0xce),'maxRetriesExceeded':_0x96c04d(0xb7),'clickToConnect':_0x96c04d(0xbf),'clickToConfigure':_0x96c04d(0xd1)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x96c04d(0xc5),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x96c04d(0xc2),'enableAuth':_0x96c04d(0xe6),'enableAuthHint':_0x96c04d(0xe0),'connectionInfo':_0x96c04d(0xbe),'mcpClientConfig':_0x96c04d(0xbe),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x96c04d(0xe8),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x96c04d(0xba),'configStep3':_0x96c04d(0xcb),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x96c04d(0xd8),'configParameters':_0x96c04d(0xc7),'maxRetries':_0x96c04d(0xcc),'save':_0x96c04d(0xc9),'saving':_0x96c04d(0xd3),'note1':_0x96c04d(0xca),'note2':_0x96c04d(0xd9),'configSaved':_0x96c04d(0xe1),'configError':_0x96c04d(0xd2),'apiApplyInfo':{'title':_0x96c04d(0xcd),'description':_0x96c04d(0xd7),'univerAiLabel':_0x96c04d(0xe4),'getStarted':_0x96c04d(0xc6)},'validation':{'apiKeyRequired':_0x96c04d(0xcf),'apiKeyTooShort':_0x96c04d(0xc3),'invalidConfig':_0x96c04d(0xe3),'invalidApiKey':_0x96c04d(0xea)},'connectionStatus':{'disconnected':_0x96c04d(0xb9),'connecting':_0x96c04d(0xd4),'connected':_0x96c04d(0xdc),'failed':_0x96c04d(0xc0),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x96c04d(0xdb),'sessionOccupied':_0x96c04d(0xc1),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x96c04d(0xda)}}},n=e;module[_0x96c04d(0xb6)]=n;
1
+ 'use strict';function _0x3fd9(){const _0x41f469=['MCP\x20Connection\x20Failed','Saving...','Configuration\x20Parameters:','3prENnd','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connecting...','Click\x20to\x20connect\x20MCP','API\x20key\x20is\x20required','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Unauthorized','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','3202724yoTIxW','24PpJETo','What\x20is\x20API\x20Key?','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Client\x20Configuration','6910839TZbalD','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','6958324JeegXl','MCP\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Session\x20ID\x20Occupied','3MkcHzd','13871930wWIIxd','Univer\x20AI\x20Console','Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','Session\x20ID','9717276kzYECQ','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','205702LIEVsL','Connection\x20Failed','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','Configuration\x20Steps:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Max\x20Retries','API\x20Key','Connected','2873375gxOuYq','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key'];_0x3fd9=function(){return _0x41f469;};return _0x3fd9();}const _0x461696=_0x35f1;(function(_0xa487e3,_0x3c0635){const _0xcab9be=_0x35f1,_0x1bb479=_0xa487e3();while(!![]){try{const _0x37a9f9=parseInt(_0xcab9be(0xd8))/0x1*(-parseInt(_0xcab9be(0xb3))/0x2)+-parseInt(_0xcab9be(0xc2))/0x3*(parseInt(_0xcab9be(0xd3))/0x4)+parseInt(_0xcab9be(0xbc))/0x5+parseInt(_0xcab9be(0xb1))/0x6+-parseInt(_0xcab9be(0xcb))/0x7*(-parseInt(_0xcab9be(0xcc))/0x8)+parseInt(_0xcab9be(0xd1))/0x9+-parseInt(_0xcab9be(0xd9))/0xa;if(_0x37a9f9===_0x3c0635)break;else _0x1bb479['push'](_0x1bb479['shift']());}catch(_0x217db7){_0x1bb479['push'](_0x1bb479['shift']());}}}(_0x3fd9,0xdb921));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x461696(0xc4),'connected':'MCP\x20Connected','failed':_0x461696(0xbf),'retrying':'MCP\x20Retrying...','unknown':_0x461696(0xb5),'unauthorized':_0x461696(0xc8),'sessionOccupied':_0x461696(0xd7),'networkError':_0x461696(0xb6),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x461696(0xc5),'clickToConfigure':_0x461696(0xc9)},'mcpConfig':{'title':_0x461696(0xd4),'description':_0x461696(0xb2),'apiKey':_0x461696(0xba),'apiKeyPlaceholder':_0x461696(0xbe),'apiKeyHint':_0x461696(0xca),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x461696(0xd5),'connectionInfo':_0x461696(0xd0),'mcpClientConfig':_0x461696(0xd0),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x461696(0xb7),'configStep1':_0x461696(0xaf),'configStep2':_0x461696(0xb8),'configStep3':_0x461696(0xd6),'sessionId':_0x461696(0xb0),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x461696(0xc1),'maxRetries':_0x461696(0xb9),'save':'Save\x20Configuration','saving':_0x461696(0xc0),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x461696(0xcd),'description':_0x461696(0xc3),'univerAiLabel':_0x461696(0xad),'getStarted':_0x461696(0xcf)},'validation':{'apiKeyRequired':_0x461696(0xc6),'apiKeyTooShort':_0x461696(0xbd),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x461696(0xce)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x461696(0xae),'connected':_0x461696(0xbb),'failed':_0x461696(0xb4),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x461696(0xd2),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x461696(0xc7),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x35f1(_0x5123b8,_0x1361f2){_0x5123b8=_0x5123b8-0xad;const _0x3fd921=_0x3fd9();let _0x35f1ff=_0x3fd921[_0x5123b8];return _0x35f1ff;}module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0x570ce1=_0x111f;function _0x111f(_0x3d854c,_0x3373db){_0x3d854c=_0x3d854c-0x161;const _0x31ee71=_0x31ee();let _0x111fdc=_0x31ee71[_0x3d854c];return _0x111fdc;}(function(_0x16aebc,_0x4aa5e8){const _0xb13a1c=_0x111f,_0x3ed063=_0x16aebc();while(!![]){try{const _0x176d2b=parseInt(_0xb13a1c(0x177))/0x1+-parseInt(_0xb13a1c(0x179))/0x2*(-parseInt(_0xb13a1c(0x17c))/0x3)+-parseInt(_0xb13a1c(0x16f))/0x4+parseInt(_0xb13a1c(0x18c))/0x5+parseInt(_0xb13a1c(0x174))/0x6*(-parseInt(_0xb13a1c(0x18e))/0x7)+-parseInt(_0xb13a1c(0x18a))/0x8*(-parseInt(_0xb13a1c(0x162))/0x9)+-parseInt(_0xb13a1c(0x17b))/0xa*(parseInt(_0xb13a1c(0x17e))/0xb);if(_0x176d2b===_0x4aa5e8)break;else _0x3ed063['push'](_0x3ed063['shift']());}catch(_0x29f585){_0x3ed063['push'](_0x3ed063['shift']());}}}(_0x31ee,0x28342));function _0x31ee(){const _0x1a9b85=['MCP:\x20Unauthorized','14ATkjXF','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Saving...','261KCiRhr','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Client\x20Configuration','MCP\x20Disconnected','MCP\x20Connection\x20Failed','MCP\x20Configuration','Click\x20to\x20configure\x20MCP','MCP:\x20Network\x20Error','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enable\x20Authentication','Retrying...','MCP:\x20Max\x20Retries\x20Exceeded','207748kfHndg','MCP\x20Retrying...','Save\x20Configuration','Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','441714zDxewh','Univer\x20AI\x20Console','API\x20key\x20is\x20required','252759IMvMFR','Click\x20to\x20connect\x20MCP','52UyXQnh','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','6970uUNgPD','7233ZUPWoU','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','3927dkBSIZ','Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','MCP\x20Unknown\x20Status','Max\x20Retries','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20saved\x20successfully','exports','MCP\x20Connected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','21240QQTFhM','Connection\x20Failed','1101190wYFelI'];_0x31ee=function(){return _0x1a9b85;};return _0x31ee();}const e={'mcpStatus':{'disconnected':_0x570ce1(0x166),'connecting':'MCP\x20Connecting...','connected':_0x570ce1(0x188),'failed':_0x570ce1(0x167),'retrying':_0x570ce1(0x170),'unknown':_0x570ce1(0x182),'unauthorized':_0x570ce1(0x18d),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x570ce1(0x16a),'maxRetriesExceeded':_0x570ce1(0x16e),'clickToConnect':_0x570ce1(0x178),'clickToConfigure':_0x570ce1(0x169)},'mcpConfig':{'title':_0x570ce1(0x168),'description':_0x570ce1(0x17d),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x570ce1(0x17a),'enableAuth':_0x570ce1(0x16c),'enableAuthHint':_0x570ce1(0x173),'connectionInfo':_0x570ce1(0x165),'mcpClientConfig':_0x570ce1(0x165),'configInstructions':_0x570ce1(0x18f),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x570ce1(0x189),'sessionId':_0x570ce1(0x163),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x570ce1(0x183),'save':_0x570ce1(0x171),'saving':_0x570ce1(0x161),'note1':_0x570ce1(0x185),'note2':_0x570ce1(0x184),'configSaved':_0x570ce1(0x186),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x570ce1(0x175),'getStarted':_0x570ce1(0x180)},'validation':{'apiKeyRequired':_0x570ce1(0x176),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x570ce1(0x181),'invalidApiKey':_0x570ce1(0x164)},'connectionStatus':{'disconnected':_0x570ce1(0x172),'connecting':_0x570ce1(0x17f),'connected':'Connected','failed':_0x570ce1(0x18b),'retrying':_0x570ce1(0x16d)},'connectionError':{'unauthorized':_0x570ce1(0x16b),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x570ce1(0x187)]=n;
1
+ 'use strict';function _0x3039(){const _0x716c62=['307608ilEwsR','3172wRqZwC','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','8JEGRLF','MCP\x20Connected','9947pBpqCK','Configuration\x20Parameters:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enable\x20authentication\x20for\x20secure\x20connections','506dznTkP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Steps:','32CYAtXp','MCP\x20Connection\x20Failed','804usrydr','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','Max\x20Retries','Session\x20ID','228537hqBvoQ','Configuration\x20saved\x20successfully','Copy\x20the\x20JSON\x20configuration\x20below','Click\x20to\x20connect\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connecting...','MCP\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Unknown\x20Status','Connecting...','Retrying...','MCP:\x20Network\x20Error','What\x20is\x20API\x20Key?','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Client\x20Configuration','exports','Click\x20to\x20configure\x20MCP','API\x20Key','1308950ZeWUfv','API\x20key\x20is\x20required','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Saving...','Connection\x20Failed','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','138657uSzmET','127jWPdpb','Univer\x20AI\x20Console','MCP:\x20Max\x20Retries\x20Exceeded','3913220WoECLK'];_0x3039=function(){return _0x716c62;};return _0x3039();}const _0x348b5c=_0x5c29;(function(_0x3b3929,_0x18dfe8){const _0x191012=_0x5c29,_0x49c5f6=_0x3b3929();while(!![]){try{const _0x4cfa30=parseInt(_0x191012(0x18b))/0x1*(-parseInt(_0x191012(0x190))/0x2)+parseInt(_0x191012(0x18a))/0x3*(-parseInt(_0x191012(0x19c))/0x4)+parseInt(_0x191012(0x184))/0x5+parseInt(_0x191012(0x19e))/0x6*(-parseInt(_0x191012(0x194))/0x7)+parseInt(_0x191012(0x192))/0x8*(-parseInt(_0x191012(0x1a3))/0x9)+-parseInt(_0x191012(0x18e))/0xa+-parseInt(_0x191012(0x198))/0xb*(-parseInt(_0x191012(0x18f))/0xc);if(_0x4cfa30===_0x18dfe8)break;else _0x49c5f6['push'](_0x49c5f6['shift']());}catch(_0x1f4b1d){_0x49c5f6['push'](_0x49c5f6['shift']());}}}(_0x3039,0x401fb));function _0x5c29(_0x4ff682,_0x31fdad){_0x4ff682=_0x4ff682-0x177;const _0x303996=_0x3039();let _0x5c2900=_0x303996[_0x4ff682];return _0x5c2900;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x348b5c(0x177),'connected':_0x348b5c(0x193),'failed':_0x348b5c(0x19d),'retrying':_0x348b5c(0x1a0),'unknown':_0x348b5c(0x17a),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x348b5c(0x17f),'networkError':_0x348b5c(0x17d),'maxRetriesExceeded':_0x348b5c(0x18d),'clickToConnect':_0x348b5c(0x1a6),'clickToConfigure':_0x348b5c(0x182)},'mcpConfig':{'title':_0x348b5c(0x178),'description':_0x348b5c(0x179),'apiKey':_0x348b5c(0x183),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x348b5c(0x197),'connectionInfo':_0x348b5c(0x180),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x348b5c(0x1a8),'configStepTitle':_0x348b5c(0x19b),'configStep1':_0x348b5c(0x1a5),'configStep2':_0x348b5c(0x191),'configStep3':_0x348b5c(0x19a),'sessionId':_0x348b5c(0x1a2),'sessionIdDescription':_0x348b5c(0x1a7),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x348b5c(0x195),'maxRetries':_0x348b5c(0x1a1),'save':'Save\x20Configuration','saving':_0x348b5c(0x187),'note1':_0x348b5c(0x199),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x348b5c(0x1a4),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x348b5c(0x17e),'description':_0x348b5c(0x186),'univerAiLabel':_0x348b5c(0x18c),'getStarted':_0x348b5c(0x19f)},'validation':{'apiKeyRequired':_0x348b5c(0x185),'apiKeyTooShort':_0x348b5c(0x196),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x348b5c(0x17b),'connected':'Connected','failed':_0x348b5c(0x188),'retrying':_0x348b5c(0x17c)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x348b5c(0x189),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x348b5c(0x181)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x24fc80=_0x1846;function _0x4643(){const _0x2fed10=['Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Click\x20to\x20configure\x20MCP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Failed\x20to\x20save\x20configuration','Disconnected','10178knvEDp','407561yRuecI','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Max\x20Retries\x20Exceeded','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Invalid\x20configuration','20gLNzZX','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Disconnected','API\x20key\x20is\x20required','Saving...','Configuration\x20Parameters:','MCP\x20Client\x20Configuration','Univer\x20AI\x20Console','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','Connection\x20Failed','MCP\x20Connected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','82080mYGufx','What\x20is\x20API\x20Key?','Enable\x20authentication\x20for\x20secure\x20connections','5741659SmOOqE','140IrIzRK','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','3544jovyLW','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','146IoBvrV','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','5168320ffXFIW','Connected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Steps:','Enable\x20Authentication','Configuration\x20saved\x20successfully','Session\x20ID','MCP:\x20Network\x20Error','API\x20Key','2352012mHFYXe','30321zcWgAN','Enter\x20your\x20API\x20key','Save\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below'];_0x4643=function(){return _0x2fed10;};return _0x4643();}function _0x1846(_0x37b663,_0x4d997c){_0x37b663=_0x37b663-0x120;const _0x464371=_0x4643();let _0x18467d=_0x464371[_0x37b663];return _0x18467d;}(function(_0x4849c1,_0x535831){const _0x26d32f=_0x1846,_0x1c84b7=_0x4849c1();while(!![]){try{const _0x370355=-parseInt(_0x26d32f(0x13b))/0x1*(parseInt(_0x26d32f(0x124))/0x2)+parseInt(_0x26d32f(0x150))/0x3+parseInt(_0x26d32f(0x128))/0x4+-parseInt(_0x26d32f(0x141))/0x5*(-parseInt(_0x26d32f(0x131))/0x6)+parseInt(_0x26d32f(0x153))/0x7+parseInt(_0x26d32f(0x121))/0x8*(-parseInt(_0x26d32f(0x132))/0x9)+-parseInt(_0x26d32f(0x154))/0xa*(parseInt(_0x26d32f(0x13c))/0xb);if(_0x370355===_0x535831)break;else _0x1c84b7['push'](_0x1c84b7['shift']());}catch(_0x2f87e2){_0x1c84b7['push'](_0x1c84b7['shift']());}}}(_0x4643,0xe8ca6));const e={'mcpStatus':{'disconnected':_0x24fc80(0x143),'connecting':'MCP\x20Connecting...','connected':_0x24fc80(0x14d),'failed':_0x24fc80(0x14b),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x24fc80(0x12f),'maxRetriesExceeded':_0x24fc80(0x13e),'clickToConnect':_0x24fc80(0x123),'clickToConfigure':_0x24fc80(0x137)},'mcpConfig':{'title':_0x24fc80(0x126),'description':_0x24fc80(0x142),'apiKey':_0x24fc80(0x130),'apiKeyPlaceholder':_0x24fc80(0x133),'apiKeyHint':_0x24fc80(0x127),'enableAuth':_0x24fc80(0x12c),'enableAuthHint':_0x24fc80(0x152),'connectionInfo':_0x24fc80(0x147),'mcpClientConfig':_0x24fc80(0x147),'configInstructions':_0x24fc80(0x122),'configStepTitle':_0x24fc80(0x12b),'configStep1':_0x24fc80(0x135),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x24fc80(0x138),'sessionId':_0x24fc80(0x12e),'sessionIdDescription':_0x24fc80(0x12a),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x24fc80(0x146),'maxRetries':'Max\x20Retries','save':_0x24fc80(0x134),'saving':_0x24fc80(0x145),'note1':_0x24fc80(0x13d),'note2':_0x24fc80(0x136),'configSaved':_0x24fc80(0x12d),'configError':_0x24fc80(0x139),'apiApplyInfo':{'title':_0x24fc80(0x151),'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':_0x24fc80(0x148),'getStarted':_0x24fc80(0x14a)},'validation':{'apiKeyRequired':_0x24fc80(0x144),'apiKeyTooShort':_0x24fc80(0x120),'invalidConfig':_0x24fc80(0x140),'invalidApiKey':_0x24fc80(0x14e)},'connectionStatus':{'disconnected':_0x24fc80(0x13a),'connecting':'Connecting...','connected':_0x24fc80(0x129),'failed':_0x24fc80(0x14c),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x24fc80(0x149),'sessionOccupied':_0x24fc80(0x13f),'networkError':_0x24fc80(0x125),'maxRetriesExceeded':_0x24fc80(0x14f)}}},n=e;module['exports']=n;
1
+ 'use strict';const _0x33a6d8=_0x1f03;(function(_0x5b9a35,_0xe3e33a){const _0x4c6262=_0x1f03,_0xaf6a48=_0x5b9a35();while(!![]){try{const _0x1f78e5=parseInt(_0x4c6262(0x1b3))/0x1+-parseInt(_0x4c6262(0x1b6))/0x2*(parseInt(_0x4c6262(0x1a2))/0x3)+-parseInt(_0x4c6262(0x19a))/0x4*(-parseInt(_0x4c6262(0x1aa))/0x5)+parseInt(_0x4c6262(0x1b7))/0x6*(parseInt(_0x4c6262(0x1be))/0x7)+parseInt(_0x4c6262(0x1ac))/0x8+parseInt(_0x4c6262(0x1b0))/0x9*(-parseInt(_0x4c6262(0x1ae))/0xa)+parseInt(_0x4c6262(0x198))/0xb*(-parseInt(_0x4c6262(0x1bc))/0xc);if(_0x1f78e5===_0xe3e33a)break;else _0xaf6a48['push'](_0xaf6a48['shift']());}catch(_0x14ec8e){_0xaf6a48['push'](_0xaf6a48['shift']());}}}(_0x205a,0x516b5));function _0x1f03(_0x201e7d,_0x2ad249){_0x201e7d=_0x201e7d-0x191;const _0x205a89=_0x205a();let _0x1f03d8=_0x205a89[_0x201e7d];return _0x1f03d8;}const e={'mcpStatus':{'disconnected':_0x33a6d8(0x1ba),'connecting':_0x33a6d8(0x1c1),'connected':_0x33a6d8(0x1af),'failed':_0x33a6d8(0x1c0),'retrying':_0x33a6d8(0x19f),'unknown':_0x33a6d8(0x1a7),'unauthorized':_0x33a6d8(0x1b9),'sessionOccupied':_0x33a6d8(0x19e),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x33a6d8(0x19d),'clickToConfigure':_0x33a6d8(0x1a6)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x33a6d8(0x1bf),'apiKey':_0x33a6d8(0x1b5),'apiKeyPlaceholder':_0x33a6d8(0x1c3),'apiKeyHint':_0x33a6d8(0x194),'enableAuth':_0x33a6d8(0x1bd),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x33a6d8(0x1a5),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x33a6d8(0x192),'configStep1':_0x33a6d8(0x1ab),'configStep2':_0x33a6d8(0x1a8),'configStep3':_0x33a6d8(0x1b1),'sessionId':_0x33a6d8(0x1a4),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x33a6d8(0x1b8),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x33a6d8(0x1ad),'saving':_0x33a6d8(0x1a9),'note1':_0x33a6d8(0x195),'note2':_0x33a6d8(0x199),'configSaved':_0x33a6d8(0x1a3),'configError':_0x33a6d8(0x1b4),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x33a6d8(0x1b2),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x33a6d8(0x1a1),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x33a6d8(0x1c2)},'connectionStatus':{'disconnected':_0x33a6d8(0x193),'connecting':'Connecting...','connected':_0x33a6d8(0x197),'failed':'Connection\x20Failed','retrying':_0x33a6d8(0x19b)},'connectionError':{'unauthorized':_0x33a6d8(0x19c),'sessionOccupied':_0x33a6d8(0x191),'networkError':_0x33a6d8(0x196),'maxRetriesExceeded':_0x33a6d8(0x1a0)}}},n=e;function _0x205a(){const _0x29a4bf=['API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','273037kqYOlG','Failed\x20to\x20save\x20configuration','API\x20Key','2dvguAw','2358EAHbvI','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Unauthorized','MCP\x20Disconnected','exports','114516yqhmTr','Enable\x20Authentication','10458OIcQVr','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connection\x20Failed','MCP\x20Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enter\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:','Disconnected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connected','572GbgsEz','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','156912lqXedr','Retrying...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Click\x20to\x20connect\x20MCP','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','66603ZpePbo','Configuration\x20saved\x20successfully','Session\x20ID','MCP\x20Client\x20Configuration','Click\x20to\x20configure\x20MCP','MCP\x20Unknown\x20Status','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Saving...','35FopQAx','Copy\x20the\x20JSON\x20configuration\x20below','933216HdNcJK','Save\x20Configuration','570710ZgYPuS','MCP\x20Connected','63IffjQU','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration'];_0x205a=function(){return _0x29a4bf;};return _0x205a();}module[_0x33a6d8(0x1bb)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x4c8083=_0x2732;(function(_0x3134cc,_0x548676){const _0x1fdc1b=_0x2732,_0x58eecb=_0x3134cc();while(!![]){try{const _0x518368=parseInt(_0x1fdc1b(0x19e))/0x1+-parseInt(_0x1fdc1b(0x1bc))/0x2+parseInt(_0x1fdc1b(0x1a2))/0x3*(-parseInt(_0x1fdc1b(0x1a4))/0x4)+parseInt(_0x1fdc1b(0x1be))/0x5+-parseInt(_0x1fdc1b(0x1a0))/0x6*(-parseInt(_0x1fdc1b(0x1ad))/0x7)+-parseInt(_0x1fdc1b(0x1a7))/0x8+parseInt(_0x1fdc1b(0x1ab))/0x9*(parseInt(_0x1fdc1b(0x199))/0xa);if(_0x518368===_0x548676)break;else _0x58eecb['push'](_0x58eecb['shift']());}catch(_0x2d0974){_0x58eecb['push'](_0x58eecb['shift']());}}}(_0x10f5,0x4d5c5));function _0x10f5(){const _0x473519=['認証を有効にする','117xEUpeC','Univer\x20AIコンソール','428tdPUrH','設定が正常に保存されました','セッションID','4946360ZErtUc','MCP\x20不明な状態','最大再試行回数','APIキーはローカルストレージに安全に保存されます','18ZshtFp','MCPクライアントの設定に次の設定を追加してください:','27706CsuaDq','セキュアな接続のために認証を有効にする','APIキーを入力してください','MCP:\x20最大再試行回数を超過','接続済み','クリックしてMCPを設定','無効なAPIキーです。キーが正しいか確認してください','MCP:\x20認証されていません','設定手順:','MCPクライアントを再起動して設定を適用','MCP\x20再試行中...','MCP\x20接続失敗','APIキーは10文字以上である必要があります','接続失敗','設定の変更は直ちに有効になります','651384jikIZr','MCP\x20接続済み','1422475TWikMI','MCP:\x20ネットワークエラー','Bearerプレフィックス付きのAPIキー。','MCPクライアント設定','クリックしてMCPに接続','最大再試行回数を超過しました。後でもう一度お試しください','以下のJSON設定をコピー','4320190aHBZuL','APIキー','セッションIDが現在使用中です。後でもう一度お試しください','MCP設定','APIキーは必須です','57126vxktQB','APIキーとは?','90WbEjoR'];_0x10f5=function(){return _0x473519;};return _0x10f5();}const e={'mcpStatus':{'disconnected':'MCP\x20未接続','connecting':'MCP\x20接続中...','connected':_0x4c8083(0x1bd),'failed':_0x4c8083(0x1b8),'retrying':_0x4c8083(0x1b7),'unknown':_0x4c8083(0x1a8),'unauthorized':_0x4c8083(0x1b4),'sessionOccupied':'MCP:\x20セッションIDが使用中','networkError':_0x4c8083(0x1bf),'maxRetriesExceeded':_0x4c8083(0x1b0),'clickToConnect':_0x4c8083(0x196),'clickToConfigure':_0x4c8083(0x1b2)},'mcpConfig':{'title':_0x4c8083(0x19c),'description':'MCPを設定してAIでスプレッドシートを操作','apiKey':_0x4c8083(0x19a),'apiKeyPlaceholder':_0x4c8083(0x1af),'apiKeyHint':'APIキーはこのブラウザのローカルに保存されます','enableAuth':_0x4c8083(0x1a1),'enableAuthHint':_0x4c8083(0x1ae),'connectionInfo':'MCPクライアント設定','mcpClientConfig':_0x4c8083(0x1c1),'configInstructions':_0x4c8083(0x1ac),'configStepTitle':_0x4c8083(0x1b5),'configStep1':_0x4c8083(0x198),'configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':_0x4c8083(0x1b6),'sessionId':_0x4c8083(0x1a6),'sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':_0x4c8083(0x1c0),'configParameters':'設定パラメータ:','maxRetries':_0x4c8083(0x1a9),'save':'設定を保存','saving':'保存中...','note1':_0x4c8083(0x1bb),'note2':_0x4c8083(0x1aa),'configSaved':_0x4c8083(0x1a5),'configError':'設定の保存に失敗しました','apiApplyInfo':{'title':_0x4c8083(0x19f),'description':'APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','univerAiLabel':_0x4c8083(0x1a3),'getStarted':'数秒でAPIキーを取得'},'validation':{'apiKeyRequired':_0x4c8083(0x19d),'apiKeyTooShort':_0x4c8083(0x1b9),'invalidConfig':'無効な設定','invalidApiKey':_0x4c8083(0x1b3)},'connectionStatus':{'disconnected':'未接続','connecting':'接続中...','connected':_0x4c8083(0x1b1),'failed':_0x4c8083(0x1ba),'retrying':'再試行中...'},'connectionError':{'unauthorized':'認証に失敗しました。APIキーを確認してください','sessionOccupied':_0x4c8083(0x19b),'networkError':'ネットワーク接続エラー。インターネット接続を確認してください','maxRetriesExceeded':_0x4c8083(0x197)}}};function _0x2732(_0x2a89fa,_0x3fd094){_0x2a89fa=_0x2a89fa-0x196;const _0x10f58d=_0x10f5();let _0x27329a=_0x10f58d[_0x2a89fa];return _0x27329a;}module['exports']=e;
1
+ 'use strict';const _0x42d458=_0x3911;(function(_0x54d282,_0x42ea13){const _0x21cb00=_0x3911,_0x24702e=_0x54d282();while(!![]){try{const _0x3fc131=parseInt(_0x21cb00(0xb9))/0x1*(parseInt(_0x21cb00(0x9f))/0x2)+parseInt(_0x21cb00(0x96))/0x3+-parseInt(_0x21cb00(0xb6))/0x4+parseInt(_0x21cb00(0x9d))/0x5*(-parseInt(_0x21cb00(0x94))/0x6)+parseInt(_0x21cb00(0x98))/0x7+parseInt(_0x21cb00(0xb0))/0x8+parseInt(_0x21cb00(0xa9))/0x9*(-parseInt(_0x21cb00(0x8e))/0xa);if(_0x3fc131===_0x42ea13)break;else _0x24702e['push'](_0x24702e['shift']());}catch(_0x1995c1){_0x24702e['push'](_0x24702e['shift']());}}}(_0x3120,0xd0192));const e={'mcpStatus':{'disconnected':_0x42d458(0xbb),'connecting':_0x42d458(0xad),'connected':'MCP\x20接続済み','failed':_0x42d458(0x93),'retrying':_0x42d458(0x9c),'unknown':_0x42d458(0x92),'unauthorized':_0x42d458(0x9a),'sessionOccupied':_0x42d458(0x9b),'networkError':_0x42d458(0xba),'maxRetriesExceeded':_0x42d458(0xbe),'clickToConnect':_0x42d458(0x8d),'clickToConfigure':_0x42d458(0x91)},'mcpConfig':{'title':_0x42d458(0xb1),'description':_0x42d458(0xb4),'apiKey':_0x42d458(0xa5),'apiKeyPlaceholder':_0x42d458(0xae),'apiKeyHint':_0x42d458(0xb2),'enableAuth':_0x42d458(0x99),'enableAuthHint':_0x42d458(0xa1),'connectionInfo':_0x42d458(0x8c),'mcpClientConfig':_0x42d458(0x8c),'configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':_0x42d458(0xb7),'configStep1':_0x42d458(0xa3),'configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':_0x42d458(0xa7),'sessionId':_0x42d458(0xb8),'sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':_0x42d458(0xaa),'configParameters':_0x42d458(0x97),'maxRetries':_0x42d458(0xa2),'save':_0x42d458(0x9e),'saving':_0x42d458(0x95),'note1':'設定の変更は直ちに有効になります','note2':_0x42d458(0xb3),'configSaved':'設定が正常に保存されました','configError':_0x42d458(0xa4),'apiApplyInfo':{'title':_0x42d458(0xb5),'description':'APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','univerAiLabel':'Univer\x20AIコンソール','getStarted':_0x42d458(0xbd)},'validation':{'apiKeyRequired':_0x42d458(0xa8),'apiKeyTooShort':_0x42d458(0xbc),'invalidConfig':'無効な設定','invalidApiKey':_0x42d458(0xab)},'connectionStatus':{'disconnected':'未接続','connecting':'接続中...','connected':_0x42d458(0xa0),'failed':_0x42d458(0xa6),'retrying':_0x42d458(0xaf)},'connectionError':{'unauthorized':_0x42d458(0xac),'sessionOccupied':_0x42d458(0x8f),'networkError':_0x42d458(0x90),'maxRetriesExceeded':_0x42d458(0x8b)}}};function _0x3911(_0x59cc42,_0x51f942){_0x59cc42=_0x59cc42-0x8b;const _0x3120fd=_0x3120();let _0x391188=_0x3120fd[_0x59cc42];return _0x391188;}module['exports']=e;function _0x3120(){const _0x2fc2d7=['以下のJSON設定をコピー','設定の保存に失敗しました','APIキー','接続失敗','MCPクライアントを再起動して設定を適用','APIキーは必須です','342693oZHqZo','Bearerプレフィックス付きのAPIキー。','無効なAPIキーです。キーが正しいか確認してください','認証に失敗しました。APIキーを確認してください','MCP\x20接続中...','APIキーを入力してください','再試行中...','7932096SkwDaJ','MCP設定','APIキーはこのブラウザのローカルに保存されます','APIキーはローカルストレージに安全に保存されます','MCPを設定してAIでスプレッドシートを操作','APIキーとは?','3905208hOuiGb','設定手順:','セッションID','2WhneRw','MCP:\x20ネットワークエラー','MCP\x20未接続','APIキーは10文字以上である必要があります','数秒でAPIキーを取得','MCP:\x20最大再試行回数を超過','最大再試行回数を超過しました。後でもう一度お試しください','MCPクライアント設定','クリックしてMCPに接続','430aRqYsE','セッションIDが現在使用中です。後でもう一度お試しください','ネットワーク接続エラー。インターネット接続を確認してください','クリックしてMCPを設定','MCP\x20不明な状態','MCP\x20接続失敗','6QKvIkA','保存中...','2289756eYQnIO','設定パラメータ:','8759842kcImYA','認証を有効にする','MCP:\x20認証されていません','MCP:\x20セッションIDが使用中','MCP\x20再試行中...','4872755GdKrDB','設定を保存','1434364NrUBtm','接続済み','セキュアな接続のために認証を有効にする','最大再試行回数'];_0x3120=function(){return _0x2fc2d7;};return _0x3120();}