@univerjs-pro/mcp-ui 0.15.2-insiders.20260119-edc718c → 0.15.2-insiders.20260124-12fc7f0

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 (49) 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/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/ca-ES.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/es-ES.js +1 -1
  41. package/lib/umd/locale/fa-IR.js +1 -1
  42. package/lib/umd/locale/fr-FR.js +1 -1
  43. package/lib/umd/locale/ja-JP.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +6 -6
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x50dde5=_0x5e38;(function(_0x1cb6fd,_0xfa5670){const _0x5c0aa3=_0x5e38,_0x3ee286=_0x1cb6fd();while(!![]){try{const _0x203c4b=-parseInt(_0x5c0aa3(0x2b2))/0x1*(-parseInt(_0x5c0aa3(0x193))/0x2)+parseInt(_0x5c0aa3(0x1e8))/0x3+parseInt(_0x5c0aa3(0x2d4))/0x4+-parseInt(_0x5c0aa3(0x243))/0x5*(parseInt(_0x5c0aa3(0x2c4))/0x6)+parseInt(_0x5c0aa3(0x196))/0x7+-parseInt(_0x5c0aa3(0x1d6))/0x8+-parseInt(_0x5c0aa3(0x1f8))/0x9;if(_0x203c4b===_0xfa5670)break;else _0x3ee286['push'](_0x3ee286['shift']());}catch(_0x528b44){_0x3ee286['push'](_0x3ee286['shift']());}}}(_0x2456,0x46178));var ae=Object[_0x50dde5(0x23d)],le=(_0x59f977,_0x5d90e8,_0x374655)=>_0x5d90e8 in _0x59f977?ae(_0x59f977,_0x5d90e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x374655}):_0x59f977[_0x5d90e8]=_0x374655,I=(_0xc9b1c,_0x3f4d10,_0x3ce379)=>le(_0xc9b1c,typeof _0x3f4d10!=_0x50dde5(0x1fd)?_0x3f4d10+'':_0x3f4d10,_0x3ce379);Object[_0x50dde5(0x23d)](exports,Symbol[_0x50dde5(0x2a3)],{'value':_0x50dde5(0x251)});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:_0x17ed3c,..._0x500982}){const _0x45de65=_0x50dde5,{icon:_0x3ba0a0,id:_0x34978f,className:_0x5e09af,extend:_0x534cf6,..._0x14fa42}=_0x500982,_0x5580b6=(_0x45de65(0x22e)+_0x34978f+'\x20'+(_0x5e09af||''))['trim'](),_0x1a743a=d['useRef']('_'+de());return G(_0x3ba0a0,''+_0x34978f,{'defIds':_0x3ba0a0[_0x45de65(0x179)],'idSuffix':_0x1a743a[_0x45de65(0x29f)]},{'ref':_0x17ed3c,'className':_0x5580b6,..._0x14fa42},_0x534cf6);}function _0x5e38(_0x612e62,_0x32affa){_0x612e62=_0x612e62-0x167;const _0x24561b=_0x2456();let _0x5e3843=_0x24561b[_0x612e62];return _0x5e3843;}function G(_0x3f8830,_0x37f2b6,_0x11e82e,_0x1ab7ff,_0x165eaa){const _0x1b4f46=_0x50dde5;return d[_0x1b4f46(0x1fa)](_0x3f8830[_0x1b4f46(0x2c8)],{'key':_0x37f2b6,...ue(_0x3f8830,_0x11e82e,_0x165eaa),..._0x1ab7ff},(ve(_0x3f8830,_0x11e82e)[_0x1b4f46(0x170)]||[])[_0x1b4f46(0x27a)]((_0x22ce46,_0x4c5473)=>G(_0x22ce46,_0x37f2b6+'-'+_0x3f8830['tag']+'-'+_0x4c5473,_0x11e82e,void 0x0,_0x165eaa)));}function ue(_0x458ff0,_0x2a2a8c,_0x2c140b){const _0x59e648=_0x50dde5,_0x3532d7={..._0x458ff0['attrs']};_0x2c140b!=null&&_0x2c140b['colorChannel1']&&_0x3532d7[_0x59e648(0x25e)]==='colorChannel1'&&(_0x3532d7['fill']=_0x2c140b[_0x59e648(0x22f)]),_0x458ff0[_0x59e648(0x2c8)]===_0x59e648(0x2c3)&&_0x3532d7['id']&&(_0x3532d7['id']=_0x3532d7['id']+_0x2a2a8c[_0x59e648(0x218)]),Object['entries'](_0x3532d7)[_0x59e648(0x2eb)](([_0x2f3b60,_0x5d70ef])=>{const _0x298cd9=_0x59e648;_0x2f3b60===_0x298cd9(0x2c3)&&typeof _0x5d70ef=='string'&&(_0x3532d7[_0x2f3b60]=_0x5d70ef[_0x298cd9(0x275)](/url\(#(.*)\)/,'url(#$1'+_0x2a2a8c[_0x298cd9(0x218)]+')'));});const {defIds:_0x53978c}=_0x2a2a8c;return!_0x53978c||_0x53978c[_0x59e648(0x23f)]===0x0||(_0x458ff0['tag']==='use'&&_0x3532d7['xlink:href']&&(_0x3532d7[_0x59e648(0x24c)]=_0x3532d7[_0x59e648(0x24c)]+_0x2a2a8c[_0x59e648(0x218)]),Object[_0x59e648(0x1ca)](_0x3532d7)[_0x59e648(0x2eb)](([_0x2575dd,_0xd05863])=>{const _0x177e5e=_0x59e648;typeof _0xd05863==_0x177e5e(0x199)&&(_0x3532d7[_0x2575dd]=_0xd05863[_0x177e5e(0x275)](/url\(#(.*)\)/,_0x177e5e(0x240)+_0x2a2a8c[_0x177e5e(0x218)]+')'));})),_0x3532d7;}function ve(_0x56f039,_0x4f1ec1){const _0x5aadce=_0x50dde5;var _0x42ba64;const {defIds:_0x25f24d}=_0x4f1ec1;return!_0x25f24d||_0x25f24d[_0x5aadce(0x23f)]===0x0?_0x56f039:_0x56f039['tag']===_0x5aadce(0x202)&&((_0x42ba64=_0x56f039[_0x5aadce(0x170)])!=null&&_0x42ba64[_0x5aadce(0x23f)])?{..._0x56f039,'children':_0x56f039[_0x5aadce(0x170)]['map'](_0xd388b1=>typeof _0xd388b1[_0x5aadce(0x1dc)]['id']==_0x5aadce(0x199)&&_0x25f24d&&_0x25f24d[_0x5aadce(0x2e1)](_0xd388b1[_0x5aadce(0x1dc)]['id'])?{..._0xd388b1,'attrs':{..._0xd388b1[_0x5aadce(0x1dc)],'id':_0xd388b1[_0x5aadce(0x1dc)]['id']+_0x4f1ec1['idSuffix']}}:_0xd388b1)}:_0x56f039;}function de(){const _0x511147=_0x50dde5;return Math[_0x511147(0x290)]()[_0x511147(0x198)](0x24)[_0x511147(0x176)](0x2,0x8);}_[_0x50dde5(0x1d3)]='UniverIcon';const Ce={'tag':'svg','attrs':{'xmlns':_0x50dde5(0x280),'fill':_0x50dde5(0x231),'viewBox':'0\x200\x2016\x2016','width':_0x50dde5(0x1df),'height':'1em'},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'fill':_0x50dde5(0x23e),'d':_0x50dde5(0x23a),'fillRule':_0x50dde5(0x1e4),'clipRule':_0x50dde5(0x1e4)}}]},H=d[_0x50dde5(0x270)](function(_0x43987a,_0x2866b5){const _0x2570f6=_0x50dde5;return d[_0x2570f6(0x1fa)](_,Object[_0x2570f6(0x1ac)]({},_0x43987a,{'id':_0x2570f6(0x263),'ref':_0x2866b5,'icon':Ce}));});H[_0x50dde5(0x1d3)]=_0x50dde5(0x2a7);const ge={'tag':_0x50dde5(0x249),'attrs':{'xmlns':_0x50dde5(0x280),'fill':_0x50dde5(0x231),'viewBox':_0x50dde5(0x1db),'width':_0x50dde5(0x1df),'height':_0x50dde5(0x1df)},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'fill':_0x50dde5(0x23e),'d':_0x50dde5(0x1eb)}}]},B=d[_0x50dde5(0x270)](function(_0x20e519,_0x332bd2){const _0x4e0e87=_0x50dde5;return d['createElement'](_,Object[_0x4e0e87(0x1ac)]({},_0x20e519,{'id':_0x4e0e87(0x186),'ref':_0x332bd2,'icon':ge}));});B[_0x50dde5(0x1d3)]=_0x50dde5(0x2a9);const fe={'tag':_0x50dde5(0x249),'attrs':{'xmlns':_0x50dde5(0x280),'fill':_0x50dde5(0x231),'viewBox':_0x50dde5(0x1db),'width':'1em','height':'1em'},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'fill':_0x50dde5(0x23e),'d':_0x50dde5(0x200)}},{'tag':_0x50dde5(0x17c),'attrs':{'fill':_0x50dde5(0x23e),'d':_0x50dde5(0x2aa)}},{'tag':'path','attrs':{'fill':_0x50dde5(0x23e),'d':_0x50dde5(0x1ae),'fillRule':_0x50dde5(0x1e4),'clipRule':'evenodd'}}]},F=d['forwardRef'](function(_0x4dd5e4,_0x31da9b){const _0x173c55=_0x50dde5;return d[_0x173c55(0x1fa)](_,Object[_0x173c55(0x1ac)]({},_0x4dd5e4,{'id':_0x173c55(0x2b8),'ref':_0x31da9b,'icon':fe}));});F[_0x50dde5(0x1d3)]='HelpIcon';const pe={'tag':'svg','attrs':{'xmlns':_0x50dde5(0x280),'fill':_0x50dde5(0x231),'viewBox':_0x50dde5(0x1db),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x50dde5(0x254)},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'stroke':_0x50dde5(0x23e),'d':_0x50dde5(0x22c),'strokeLinecap':_0x50dde5(0x24f),'strokeLinejoin':_0x50dde5(0x24f),'strokeWidth':1.2}}]},{'tag':_0x50dde5(0x202),'attrs':{},'children':[{'tag':_0x50dde5(0x244),'attrs':{'id':_0x50dde5(0x230)},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'fill':_0x50dde5(0x296),'d':_0x50dde5(0x1c8)}}]}]}],'defIds':[_0x50dde5(0x230)]},Y=d[_0x50dde5(0x270)](function(_0x5416b4,_0x49fa32){const _0xc5a3c4=_0x50dde5;return d[_0xc5a3c4(0x1fa)](_,Object[_0xc5a3c4(0x1ac)]({},_0x5416b4,{'id':_0xc5a3c4(0x1ab),'ref':_0x49fa32,'icon':pe}));});Y[_0x50dde5(0x1d3)]=_0x50dde5(0x1c6);const he={'tag':_0x50dde5(0x249),'attrs':{'xmlns':_0x50dde5(0x280),'fill':_0x50dde5(0x231),'viewBox':_0x50dde5(0x287),'width':'1em','height':_0x50dde5(0x1df)},'children':[{'tag':'g','attrs':{'clipPath':_0x50dde5(0x2dd)},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'stroke':_0x50dde5(0x23e),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x50dde5(0x24f),'strokeLinejoin':_0x50dde5(0x24f),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x50dde5(0x244),'attrs':{'id':_0x50dde5(0x291)},'children':[{'tag':_0x50dde5(0x17c),'attrs':{'fill':_0x50dde5(0x296),'d':'M0\x200H16V16H0z','transform':_0x50dde5(0x1f7)}}]}]}],'defIds':[_0x50dde5(0x291)]},q=d[_0x50dde5(0x270)](function(_0xa970e8,_0x5f1c18){const _0x24a612=_0x50dde5;return d['createElement'](_,Object[_0x24a612(0x1ac)]({},_0xa970e8,{'id':_0x24a612(0x2ad),'ref':_0x5f1c18,'icon':he}));});q[_0x50dde5(0x1d3)]=_0x50dde5(0x1d2);function V(_0xb5ba23){const _0x2bb0b5=_0x50dde5;var _0x4b0990,_0x1e776f;const {mcpCoreConfig:_0x309b17,onSave:_0x2fdbc,loading:_0x3ef54d=!0x1,config:_0x5314d3,connectionStatus$:_0x4671b0,connectionError$:_0x3b3ae2,currentApiKey$:_0x3220ea,currentSessionId$:_0x2e23cc}=_0xb5ba23,_0x5c7b0e=v['useDependency'](u[_0x2bb0b5(0x2a2)]),_0x5311fb=v[_0x2bb0b5(0x2b7)](_0x4671b0,s['MCPConnectionStatus'][_0x2bb0b5(0x229)]),_0x42b61f=v['useObservable'](_0x3b3ae2,s[_0x2bb0b5(0x1bd)][_0x2bb0b5(0x269)]),_0x55a17c=v[_0x2bb0b5(0x2b7)](_0x2e23cc,''),_0x463f8b=v[_0x2bb0b5(0x2b7)](_0x3220ea,''),[_0x3c0790,_0xc6b301]=d[_0x2bb0b5(0x27f)](_0x463f8b||''),_0x51a700=!0x0,_0x21323b=_0x5314d3[_0x2bb0b5(0x1ec)]&&_0x309b17[_0x2bb0b5(0x2ce)]&&(_0x309b17[_0x2bb0b5(0x2ce)][_0x2bb0b5(0x2e1)]('univer.plus')||_0x309b17['mcpServerUrl']['includes'](_0x2bb0b5(0x2d5))),_0x4e2d82=(_0x4b0990=_0x309b17[_0x2bb0b5(0x2ce)])==null?void 0x0:_0x4b0990[_0x2bb0b5(0x2e1)](_0x2bb0b5(0x21c)),_0x43ed08=(_0x1e776f=_0x309b17[_0x2bb0b5(0x2ce)])==null?void 0x0:_0x1e776f[_0x2bb0b5(0x2e1)](_0x2bb0b5(0x2d5)),_0x1e0b08=_0x4e2d82?'https://console.univer.plus':_0x2bb0b5(0x261),_0x577885=_0x5314d3[_0x2bb0b5(0x1ec)]&&(_0x4e2d82||_0x43ed08),[_0x289eb5,_0x53bf1f]=d[_0x2bb0b5(0x27f)](!_0x3c0790[_0x2bb0b5(0x262)]()),_0x331994=(_0x133d95,_0x23a806)=>{const _0x2c1f24=_0x2bb0b5;if(_0x23a806===s['MCPConnectionError'][_0x2c1f24(0x19d)])return _0x2c1f24(0x1a9);switch(_0x133d95){case s[_0x2c1f24(0x2d8)][_0x2c1f24(0x26d)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case s['MCPConnectionStatus'][_0x2c1f24(0x2d6)]:case s[_0x2c1f24(0x2d8)][_0x2c1f24(0x27d)]:return _0x2c1f24(0x1e0);case s[_0x2c1f24(0x2d8)][_0x2c1f24(0x278)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x2c1f24(0x1dd);}},_0x2b431f=(_0x4c852d,_0x18a99d)=>{const _0x2109e7=_0x2bb0b5;if(_0x18a99d===s['MCPConnectionError'][_0x2109e7(0x19d)])return _0x2109e7(0x1d5);switch(_0x4c852d){case s[_0x2109e7(0x2d8)]['CONNECTED']:return _0x2109e7(0x1b3);case s[_0x2109e7(0x2d8)][_0x2109e7(0x2d6)]:case s[_0x2109e7(0x2d8)][_0x2109e7(0x27d)]:return _0x2109e7(0x28b);case s[_0x2109e7(0x2d8)][_0x2109e7(0x278)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x55aacd=_0x7e678f=>{const _0x2578bd=_0x2bb0b5;switch(_0x7e678f){case s['MCPConnectionStatus'][_0x2578bd(0x26d)]:return _0x5c7b0e['t']('mcpConfig.connectionStatus.connected');case s['MCPConnectionStatus'][_0x2578bd(0x2d6)]:return _0x5c7b0e['t'](_0x2578bd(0x1bb));case s[_0x2578bd(0x2d8)][_0x2578bd(0x278)]:return _0x5c7b0e['t'](_0x2578bd(0x276));case s['MCPConnectionStatus']['RETRYING']:return _0x5c7b0e['t'](_0x2578bd(0x2bd));default:return _0x5c7b0e['t'](_0x2578bd(0x2e8));}},_0x46b466=_0x5a81d8=>{const _0x28ad5c=_0x2bb0b5;switch(_0x5a81d8){case s[_0x28ad5c(0x1bd)][_0x28ad5c(0x19d)]:return _0x5c7b0e['t'](_0x28ad5c(0x1d1));case s['MCPConnectionError'][_0x28ad5c(0x279)]:return _0x5c7b0e['t'](_0x28ad5c(0x178));case s['MCPConnectionError']['NETWORK_ERROR']:return _0x5c7b0e['t'](_0x28ad5c(0x1e9));case s['MCPConnectionError'][_0x28ad5c(0x28c)]:return _0x5c7b0e['t'](_0x28ad5c(0x225));default:return'';}},_0x34593d=d[_0x2bb0b5(0x2a1)](()=>{const _0x53867f=_0x2bb0b5,_0x5adb85={..._0x309b17,'apiKey':_0x3c0790[_0x53867f(0x262)](),'enableAuth':_0x51a700};_0x2fdbc(_0x5adb85);},[_0x309b17,_0x3c0790,_0x51a700,_0x2fdbc]),_0x10a1d8=_0x3c0790[_0x2bb0b5(0x262)]()[_0x2bb0b5(0x23f)]>0x0;return i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x19f),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x286),'children':i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1b6),'children':[i[_0x2bb0b5(0x1fe)]('div',{'className':_0x2bb0b5(0x215),'children':i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':_0x2bb0b5(0x232),'children':'⚙'})}),i[_0x2bb0b5(0x1fe)]('div',{'children':i[_0x2bb0b5(0x1fe)]('p',{'className':_0x2bb0b5(0x21e),'children':_0x5c7b0e['t']('mcpConfig.description')})})]})}),i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2e0),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':f['clsx'](_0x2bb0b5(0x1be),_0x331994(_0x5311fb,_0x42b61f)),'children':i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x250),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':f[_0x2bb0b5(0x226)](_0x2bb0b5(0x25d),_0x2b431f(_0x5311fb,_0x42b61f))}),i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':'univer-text-sm\x20univer-font-medium','children':_0x55aacd(_0x5311fb)})]})}),_0x42b61f!==s[_0x2bb0b5(0x1bd)][_0x2bb0b5(0x269)]&&(_0x5311fb===s[_0x2bb0b5(0x2d8)][_0x2bb0b5(0x278)]||_0x42b61f===s[_0x2bb0b5(0x1bd)]['UNAUTHORIZED'])&&i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1d9),'children':i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':_0x2bb0b5(0x1c9),'children':'⚠️'}),i[_0x2bb0b5(0x1fe)]('p',{'className':_0x2bb0b5(0x1e7),'children':_0x46b466(_0x42b61f)})]})})]}),i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x23b),'children':i['jsxs']('div',{'className':_0x2bb0b5(0x27c),'children':[i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2c0),'children':[i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x1a5),{'className':_0x2bb0b5(0x2be),'children':[i['jsx'](_0x2bb0b5(0x1e6),{'children':'🔑'}),'\x20',_0x5c7b0e['t'](_0x2bb0b5(0x228)),i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':_0x2bb0b5(0x2c6),'children':'*'}),_0x21323b&&i[_0x2bb0b5(0x1fe)]('a',{'className':_0x2bb0b5(0x227),'title':_0x5c7b0e['t'](_0x2bb0b5(0x208)),'role':_0x2bb0b5(0x1c1),'onClick':()=>_0x53bf1f(!0x0),'children':i[_0x2bb0b5(0x1fe)](F,{})})]}),i[_0x2bb0b5(0x1fe)](f['Input'],{'type':'text','placeholder':_0x5c7b0e['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x3c0790,'disabled':_0x3ef54d,'autoComplete':_0x2bb0b5(0x26a),'onChange':_0xc6b301}),i['jsx']('p',{'className':_0x2bb0b5(0x1ee),'children':_0x5c7b0e['t'](_0x2bb0b5(0x19e))})]}),_0x21323b&&_0x289eb5&&i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x2b4),'children':[i[_0x2bb0b5(0x1fe)]('a',{'className':_0x2bb0b5(0x29e),'role':_0x2bb0b5(0x1c1),'onClick':()=>_0x53bf1f(!0x1),'children':i[_0x2bb0b5(0x1fe)](B,{'className':_0x2bb0b5(0x273)})}),i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1a6),'children':[i[_0x2bb0b5(0x1fe)]('div',{'className':_0x2bb0b5(0x1b5),'children':i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':'univer-text-blue-600','children':'🚀'})}),i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1a8),'children':[i[_0x2bb0b5(0x1fe)]('h4',{'className':_0x2bb0b5(0x17e),'children':_0x5c7b0e['t'](_0x2bb0b5(0x208))}),i[_0x2bb0b5(0x1fe)]('p',{'className':_0x2bb0b5(0x1a2),'children':_0x5c7b0e['t']('mcpConfig.apiApplyInfo.description')}),i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x29d),'children':_0x577885&&i['jsxs']('a',{'className':_0x2bb0b5(0x2a6),'href':_0x1e0b08,'target':'_blank','rel':_0x2bb0b5(0x18d),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'children':'🤖'}),_0x5c7b0e['t'](_0x2bb0b5(0x21f)),i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':_0x2bb0b5(0x238),'children':'↗'})]})}),i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x295),'children':['✨','\x20',_0x5c7b0e['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x5314d3[_0x2bb0b5(0x1ec)]&&i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1ad),'children':[i[_0x2bb0b5(0x16f)]('h4',{'className':_0x2bb0b5(0x247),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'children':'🔗'}),'\x20',_0x5c7b0e['t'](_0x2bb0b5(0x205))]}),i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2db),'children':[i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x2c2),'children':[i[_0x2bb0b5(0x1fe)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x5c7b0e['t']('mcpConfig.configInstructions')}),i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2c0),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2b6),'children':_0x5c7b0e['t'](_0x2bb0b5(0x289))}),i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x253),'children':[i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x250),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':'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','children':'1'}),_0x5c7b0e['t'](_0x2bb0b5(0x283))]}),i[_0x2bb0b5(0x16f)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':_0x2bb0b5(0x192),'children':'2'}),_0x5c7b0e['t'](_0x2bb0b5(0x2dc))]}),i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x250),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':'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','children':'3'}),_0x5c7b0e['t']('mcpConfig.configStep3')]})]})]})]}),i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x2c0),'children':[i[_0x2bb0b5(0x1fe)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x2bb0b5(0x1aa)}),i['jsx'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2b5),'children':i[_0x2bb0b5(0x1fe)]('pre',{'className':_0x2bb0b5(0x252),'children':JSON[_0x2bb0b5(0x2e9)]({'mcpServers':{'univer':{'url':_0x2bb0b5(0x255)+(_0x55a17c||_0x2bb0b5(0x292)),'type':_0x2bb0b5(0x216),'headers':{'Authorization':_0x2bb0b5(0x1b2)+(_0x3c0790||_0x2bb0b5(0x217))}}}},null,0x2)})})]}),i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2c2),'children':[i['jsx']('div',{'className':_0x2bb0b5(0x2b6),'children':_0x5c7b0e['t'](_0x2bb0b5(0x2bc))}),i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2c0),'children':[i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x2b0),'children':[i[_0x2bb0b5(0x1fe)]('div',{'className':_0x2bb0b5(0x28f)}),i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x25a),'children':[i[_0x2bb0b5(0x1fe)]('div',{'className':_0x2bb0b5(0x22a),'children':_0x2bb0b5(0x299)}),i['jsx'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1ee),'children':_0x5c7b0e['t'](_0x2bb0b5(0x1d4))})]})]}),i['jsxs']('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x28f)}),i[_0x2bb0b5(0x16f)]('div',{'className':_0x2bb0b5(0x25a),'children':[i['jsx'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x22a),'children':_0x2bb0b5(0x272)}),i['jsx']('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5c7b0e['t'](_0x2bb0b5(0x2df))})]})]})]})]})]})]}),i[_0x2bb0b5(0x1fe)](f['Button'],{'onClick':_0x34593d,'disabled':!_0x10a1d8||_0x3ef54d,'className':_0x2bb0b5(0x1ba),'children':_0x3ef54d?i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x1e6),{'className':_0x2bb0b5(0x250),'children':[i['jsx'](_0x2bb0b5(0x1e6),{'children':'⟲'}),_0x5c7b0e['t']('mcpConfig.saving')]}):i[_0x2bb0b5(0x16f)]('span',{'className':_0x2bb0b5(0x250),'children':[i['jsx'](H,{}),_0x5c7b0e['t'](_0x2bb0b5(0x191))]})}),i['jsx'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1f2),'children':i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x28d),'children':[i[_0x2bb0b5(0x1fe)](_0x2bb0b5(0x1e6),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),i['jsxs'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x175),'children':[i['jsx'](_0x2bb0b5(0x22d),{'className':_0x2bb0b5(0x1f0),'children':_0x2bb0b5(0x2a4)}),i[_0x2bb0b5(0x16f)](_0x2bb0b5(0x22d),{'children':['•',_0x5c7b0e['t'](_0x2bb0b5(0x24a))]}),i['jsxs']('div',{'children':['•',_0x5c7b0e['t']('mcpConfig.note2')]})]})]})})]})})]});}const P=_0x50dde5(0x2c1),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x50dde5(0x1de)],xe=(_0x1133ba,_0x2010bd,_0x30bce2,_0x5e652d)=>{for(var _0x3859c8=_0x5e652d>0x1?void 0x0:_0x5e652d?me(_0x2010bd,_0x30bce2):_0x2010bd,_0x539ab8=_0x1133ba['length']-0x1,_0x2117ce;_0x539ab8>=0x0;_0x539ab8--)(_0x2117ce=_0x1133ba[_0x539ab8])&&(_0x3859c8=_0x2117ce(_0x3859c8)||_0x3859c8);return _0x3859c8;},g=(_0x1171c4,_0x147f96)=>(_0x121ad2,_0x3790ba)=>_0x147f96(_0x121ad2,_0x3790ba,_0x1171c4);const O=_0x50dde5(0x2da),D='mcp-config-dialog';exports[_0x50dde5(0x293)]=class extends u[_0x50dde5(0x201)]{constructor(_0x540342,_0xb8102f,_0x109c14,_0x5e991c,_0x3bd3f4,_0x4a11e0,_0x402424,_0x409439,_0x4bed1b,_0x4dc5cd){const _0xe6378c=_0x50dde5;super(),I(this,_0xe6378c(0x257),new M[(_0xe6378c(0x1b9))](!0x1)),I(this,'_mcpCoreConfig$',new M[(_0xe6378c(0x1b9))]({})),I(this,'_config$',new M[(_0xe6378c(0x1b9))]({})),I(this,_0xe6378c(0x1cc),new M[(_0xe6378c(0x1b9))]('')),I(this,'_handleConfigSave',async _0x28d047=>{const _0x6c4638=_0xe6378c;var _0x21d302,_0x249b47;this[_0x6c4638(0x257)][_0x6c4638(0x24d)](!0x0);try{const _0x3739aa=await this[_0x6c4638(0x2cd)](_0x28d047);if(!_0x3739aa[_0x6c4638(0x214)]){this[_0x6c4638(0x265)][_0x6c4638(0x1ea)]({'type':f['MessageType'][_0x6c4638(0x2c9)],'content':_0x3739aa[_0x6c4638(0x2d9)]||this['_localeService']['t'](_0x6c4638(0x17d))});return;}_0x28d047[_0x6c4638(0x28a)]?await this[_0x6c4638(0x241)][_0x6c4638(0x19c)](O,_0x28d047[_0x6c4638(0x28a)][_0x6c4638(0x262)]()):await this['_localStorageService']['removeItem'](O),this[_0x6c4638(0x1cc)][_0x6c4638(0x24d)](((_0x21d302=_0x28d047[_0x6c4638(0x28a)])==null?void 0x0:_0x21d302['trim']())||''),this['_mcpConnectionController'][_0x6c4638(0x20c)]({'Authorization':'Bearer\x20'+((_0x249b47=_0x28d047['apiKey'])==null?void 0x0:_0x249b47[_0x6c4638(0x262)]())}),this['_messageService'][_0x6c4638(0x1ea)]({'type':f[_0x6c4638(0x2a8)]['Success'],'content':this[_0x6c4638(0x1d0)]['t'](_0x6c4638(0x2d0))}),setTimeout(()=>{const _0x16ff81=_0x6c4638;this[_0x16ff81(0x204)]['close'](D);},0x320);}catch(_0x37c616){this[_0x6c4638(0x19b)][_0x6c4638(0x2ab)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x37c616),this[_0x6c4638(0x265)]['show']({'type':f[_0x6c4638(0x2a8)][_0x6c4638(0x2c9)],'content':this['_localeService']['t'](_0x6c4638(0x213))});}finally{this['_loading$'][_0x6c4638(0x24d)](!0x1);}}),(this['_injector']=_0x540342,this['_uiPartsService']=_0xb8102f,this[_0xe6378c(0x1da)]=_0x109c14,this[_0xe6378c(0x241)]=_0x5e991c,this[_0xe6378c(0x204)]=_0x3bd3f4,this[_0xe6378c(0x265)]=_0x4a11e0,this[_0xe6378c(0x1fb)]=_0x402424,this[_0xe6378c(0x1d0)]=_0x409439,this[_0xe6378c(0x19b)]=_0x4bed1b,this['_mcpConnectionController']=_0x4dc5cd,this['_initConfigSync'](),this[_0xe6378c(0x1cf)](),this[_0xe6378c(0x285)]());}[_0x50dde5(0x2b3)](){const _0x3f19b1=_0x50dde5,_0x4ff0f7=this[_0x3f19b1(0x1da)]['getConfig'](P);_0x4ff0f7!=null&&_0x4ff0f7[_0x3f19b1(0x1ec)]&&this[_0x3f19b1(0x204)][_0x3f19b1(0x1bc)]({'id':D,'title':{'title':this[_0x3f19b1(0x1d0)]['t']('mcpConfig.title')},'children':{'label':_0x3f19b1(0x29c)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x296de5=_0x3f19b1;this[_0x296de5(0x204)][_0x296de5(0x29b)](D);}});}[_0x50dde5(0x246)](){const _0x1a528a=_0x50dde5;return this['_mcpCoreConfig$'][_0x1a528a(0x27b)];}[_0x50dde5(0x285)](){const _0x6ea45d=_0x50dde5;this[_0x6ea45d(0x26b)](this[_0x6ea45d(0x1fb)][_0x6ea45d(0x1b0)]('MCPConfigPanel',this[_0x6ea45d(0x1a3)]()));}[_0x50dde5(0x1a3)](){const _0x18297e=_0x50dde5;return v[_0x18297e(0x2de)](()=>{const _0x259e3f=_0x18297e;var _0x988e05,_0x3a8a62,_0x558e7f;return i['jsx'](V,{'config':this['_config$'][_0x259e3f(0x27b)],'mcpCoreConfig':this[_0x259e3f(0x271)]['value'],'currentApiKey$':this[_0x259e3f(0x1cc)],'onSave':this[_0x259e3f(0x236)],'loading':this[_0x259e3f(0x257)][_0x259e3f(0x27b)],'connectionStatus$':(_0x988e05=this['_mcpConnectionController'])==null?void 0x0:_0x988e05[_0x259e3f(0x194)],'connectionError$':(_0x3a8a62=this[_0x259e3f(0x298)])==null?void 0x0:_0x3a8a62[_0x259e3f(0x189)],'currentSessionId$':(_0x558e7f=this[_0x259e3f(0x298)])==null?void 0x0:_0x558e7f[_0x259e3f(0x1c5)]});},this[_0x18297e(0x17b)]);}[_0x50dde5(0x2ba)](){const _0x419ac0=_0x50dde5;this[_0x419ac0(0x26b)](this[_0x419ac0(0x1da)][_0x419ac0(0x20a)](s['MCP_PLUGIN_CONFIG_KEY'])[_0x419ac0(0x235)](_0x2172fb=>{const _0x1d9e31=_0x419ac0;this[_0x1d9e31(0x271)][_0x1d9e31(0x24d)](_0x2172fb||{});}));const _0xf1d562=this[_0x419ac0(0x1da)][_0x419ac0(0x182)](s[_0x419ac0(0x168)]);this[_0x419ac0(0x271)]['next'](_0xf1d562||{}),this[_0x419ac0(0x26b)](this[_0x419ac0(0x1da)][_0x419ac0(0x20a)](P)['subscribe'](_0x324378=>{const _0x263bd8=_0x419ac0;this[_0x263bd8(0x180)][_0x263bd8(0x24d)](_0x324378||{});}));const _0x4909f5=this[_0x419ac0(0x1da)][_0x419ac0(0x182)](P);this[_0x419ac0(0x180)][_0x419ac0(0x24d)](_0x4909f5||{});}async[_0x50dde5(0x1cf)](){const _0x511db4=_0x50dde5,_0x319ba3=this['_configService'][_0x511db4(0x182)](P);if(!(_0x319ba3!=null&&_0x319ba3[_0x511db4(0x1ec)]))return;const _0x4a2a2b=await this[_0x511db4(0x241)]['getItem'](O);_0x4a2a2b&&(this[_0x511db4(0x298)]['__setCustomHeaders']({'Authorization':_0x511db4(0x1b2)+_0x4a2a2b}),this[_0x511db4(0x1cc)][_0x511db4(0x24d)](_0x4a2a2b));}async['_validateConfig'](_0x1183bc){const _0xc4171f=_0x50dde5;if(!_0x1183bc['apiKey']||_0x1183bc[_0xc4171f(0x28a)][_0xc4171f(0x262)]()[_0xc4171f(0x23f)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0xc4171f(0x1f1))};if(_0x1183bc[_0xc4171f(0x28a)][_0xc4171f(0x262)]()[_0xc4171f(0x23f)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0xc4171f(0x1b8))};try{const _0x34eaff=await this[_0xc4171f(0x17b)]['get'](s['MCPConnectionController'])[_0xc4171f(0x23c)](_0x1183bc[_0xc4171f(0x28a)]['trim']());return _0x34eaff['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x34eaff[_0xc4171f(0x2ab)]||this[_0xc4171f(0x1d0)]['t'](_0xc4171f(0x18e))};}catch(_0xbee2db){return console[_0xc4171f(0x181)](_0xc4171f(0x284),_0xbee2db),{'isValid':!0x0};}}},exports[_0x50dde5(0x293)]=xe([g(0x0,u['Inject'](u[_0x50dde5(0x2d2)])),g(0x1,v[_0x50dde5(0x1a1)]),g(0x2,u[_0x50dde5(0x209)]),g(0x3,u[_0x50dde5(0x22b)]),g(0x4,v['IDialogService']),g(0x5,v[_0x50dde5(0x2ea)]),g(0x6,u['Inject'](v['ComponentManager'])),g(0x7,u[_0x50dde5(0x19a)](u['LocaleService'])),g(0x8,u['ILogService']),g(0x9,u[_0x50dde5(0x19a)](s[_0x50dde5(0x20e)]))],exports[_0x50dde5(0x293)]);const b={'id':_0x50dde5(0x17a),'type':u[_0x50dde5(0x16e)][_0x50dde5(0x26f)],'handler':async(_0x3ae7eb,_0x3ecfea)=>(_0x3ae7eb[_0x50dde5(0x1a4)](exports[_0x50dde5(0x293)])['showConfigPanel'](),!0x0)};function Z(_0x1e6fe1,_0x4c3470){const _0x324f1c=_0x50dde5;switch(_0x1e6fe1){case s[_0x324f1c(0x2d8)]['DISCONNECTED']:return'mcpStatus.disconnected';case s[_0x324f1c(0x2d8)][_0x324f1c(0x2d6)]:return _0x324f1c(0x268);case s['MCPConnectionStatus'][_0x324f1c(0x26d)]:return _0x324f1c(0x2b1);case s[_0x324f1c(0x2d8)][_0x324f1c(0x278)]:switch(_0x4c3470){case s[_0x324f1c(0x1bd)][_0x324f1c(0x19d)]:return _0x324f1c(0x203);case s[_0x324f1c(0x1bd)][_0x324f1c(0x279)]:return _0x324f1c(0x1e3);case s[_0x324f1c(0x1bd)][_0x324f1c(0x21b)]:return _0x324f1c(0x1e2);case s[_0x324f1c(0x1bd)][_0x324f1c(0x28c)]:return'mcpStatus.maxRetriesExceeded';default:return _0x324f1c(0x2d7);}case s['MCPConnectionStatus'][_0x324f1c(0x27d)]:return _0x324f1c(0x1f3);default:return _0x324f1c(0x20d);}}function _0x2456(){const _0x4f361e=['Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-text-yellow-500','MenuItemType','_validateConfig','mcpServerUrl','点击配置\x20MCP','mcpConfig.configSaved','univer-mr-2\x20univer-flex\x20univer-text-xl','Injector','mergeMenu','1883916oJBNRI','univer.ai','CONNECTING','mcpStatus.failed','MCPConnectionStatus','errorMessage','mcp.apiKey','univer-space-y-4','mcpConfig.configStep2','url(#on-line-icon_clip0_910_349)','connectInjector','mcpConfig.authorizationDescription','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','includes','add','Get\x20your\x20API\x20key\x20in\x20seconds','将配置添加到您的\x20MCP\x20客户端设置文件中','MCPConnectionUIController','Enter\x20your\x20API\x20key','MCP:\x20Network\x20Error','mcpConfig.connectionStatus.disconnected','stringify','IMessageService','forEach','MCP\x20重连中...','几秒钟内获取您的\x20API\x20密钥','MCP_PLUGIN_CONFIG_KEY','网络连接错误,请检查您的网络连接','MCPUIMenuController','API\x20密钥无效,请检查密钥是否正确','配置\x20MCP\x20使用\x20AI\x20操作电子表格','会话ID','CommandType','jsxs','children','Univer\x20AI\x20Console','Tooltip','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','配置步骤:','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','substring','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','mcpConfig.connectionError.sessionOccupied','defIds','mcp-ui.command.openConfigPanel','_injector','path','mcpConfig.validation.invalidConfig','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Failed\x20to\x20save\x20configuration','_config$','warn','getConfig','_handleConfigure','启用身份验证','_initializeCommands','close-icon','UniverMCPPlugin','Retrying...','connectionError$','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','最大重试次数','noopener\x20noreferrer','mcpConfig.validation.invalidApiKey','MCP:\x20未授权','ICommandService','mcpConfig.save','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','940414RKroQd','connectionStatus$','保存配置','1864240bTvNsF','_config','toString','string','Inject','_logService','setItem','UNAUTHORIZED','mcpConfig.apiKeyHint','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','启用身份验证以获得安全连接','IUIPartsService','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','_createConfigPanelComponent','get','label','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-flex-1','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCP\x20Configuration','off-line-icon','assign','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','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','会话\x20ID\x20已被占用,请稍后再试','register','Enable\x20Authentication','Bearer\x20','univer-bg-green-500','merge','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-flex\x20univer-items-center\x20univer-gap-3','onStarting','mcpConfig.validation.apiKeyTooShort','BehaviorSubject','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','mcpConfig.connectionStatus.connecting','open','MCPConnectionError','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','MCP\x20Connection\x20Failed','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','button','univer-flex\x20univer-items-center','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20超出最大重试次数','sessionId$','OffLineIcon','MCP\x20已连接','M0\x200H16V16H0z','univer-shrink-0\x20univer-text-red-500','entries','MCP\x20状态未知','_apiKey$','已连接','未连接','_loadStoredApiKey','_localeService','mcpConfig.connectionError.unauthorized','OnLineIcon','displayName','mcpConfig.sessionIdDescription','univer-bg-red-500','3926384iIlciu','权限验证失败,请检查您的\x20API\x20密钥','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','_configService','0\x200\x2016\x2016','attrs','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','getOwnPropertyDescriptor','1em','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','enUS','mcpStatus.networkError','mcpStatus.sessionOccupied','evenodd','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','span','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','1445361IcDQgI','mcpConfig.connectionError.networkError','show','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','showDeveloperTools','Click\x20to\x20connect\x20MCP','univer-text-xs\x20univer-text-gray-500','请输入您的\x20API\x20密钥','univer-font-medium','mcpConfig.validation.apiKeyRequired','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpStatus.retrying','Configuration\x20Parameters:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','_initStatusComponent','translate(.97)','7439301KYcRyT','重启您的\x20MCP\x20客户端以使配置生效','createElement','_componentManager','配置保存失败','symbol','jsx','univer-text-gray-500','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','Disposable','defs','mcpStatus.unauthorized','_dialogService','mcpConfig.connectionInfo','Saving...','MCP\x20已断开','mcpConfig.apiApplyInfo.title','IConfigService','subscribeConfigValue$','带有\x20Bearer\x20前缀的\x20API\x20密钥。','__setCustomHeaders','mcpStatus.unknown','MCPConnectionController','Connecting...','MCP\x20Connected','BuiltInUIPart','MenuIcon','mcpConfig.configError','isValid','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','http','<API_KEY>','idSuffix','_uiPartsService','您的\x20API\x20密钥将在此浏览器中本地存储','NETWORK_ERROR','univer.plus','What\x20is\x20API\x20Key?','univer-text-sm\x20univer-text-gray-500','mcpConfig.apiApplyInfo.univerAiLabel','MCP\x20Client\x20Configuration','Session\x20ID','useDependency','_commandService','点击连接\x20MCP','mcpConfig.connectionError.maxRetriesExceeded','clsx','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','mcpConfig.apiKey','DISCONNECTED','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','ILocalStorageService','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','div','univerjs-icon\x20univerjs-icon-','colorChannel1','off-line-icon_clip0_910_343','none','univer-text-white','push','API\x20key\x20is\x20required','subscribe','_handleConfigSave','OpenMCPConfigPanelCommand','univer-text-gray-400','HEADER_MENU','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','validateApiKey','defineProperty','currentColor','length','url(#$1','_localStorageService','Univer\x20AI\x20控制台','50ZTVZgM','clipPath','mcpConfig.title','getCurrentConfig','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Configuration\x20saved\x20successfully','svg','mcpConfig.note1','\x20-\x20','xlink:href','next','univer-text-green-500','round','univer-flex\x20univer-items-center\x20univer-gap-2','Module','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','url(#off-line-icon_clip0_910_343)','https://mcp.univer.ai/mcp/?univer_session_id=','OTHERS','_loading$','UniverMCPUIPlugin','Connected','univer-min-w-0\x20univer-flex-1','Configuration\x20Steps:','_connectionController','univer-size-2\x20univer-rounded-full','fill','API\x20密钥','Connection\x20Failed','https://console.univer.ai','trim','check-mark-icon','_initializeMenus','_messageService','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','ISocketService','mcpStatus.connecting','NONE','off','disposeWithMe','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CONNECTED','配置无效','COMMAND','forwardRef','_mcpCoreConfig$','Authorization:','univer-size-4','将以下配置添加到您的\x20MCP\x20客户端设置中:','replace','mcpConfig.connectionStatus.failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','FAILED','SESSION_ID_OCCUPIED','map','value','univer-space-y-5','RETRYING','Copy\x20the\x20JSON\x20configuration\x20below','useState','http://www.w3.org/2000/svg','WebSocketService','has','mcpConfig.configStep1','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','_registerComponent','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','0\x200\x2017\x2016','MCP\x20连接失败','mcpConfig.configStepTitle','apiKey','univer-bg-blue-500','MAX_RETRIES_EXCEEDED','univer-flex\x20univer-gap-3','超出最大重试次数,请稍后再试','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','random','on-line-icon_clip0_910_349','<SESSION_ID>','MCPConfigUIController','Click\x20to\x20configure\x20MCP','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','white','BUTTON','_mcpConnectionController','univer_session_id:','_initAutoConnect','close','MCPConfigPanel','univer-flex\x20univer-flex-wrap\x20univer-gap-2','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','current','MCP\x20Retrying...','useCallback','LocaleService','toStringTag','Configuration\x20Notes:','配置更改将立即生效','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','CheckMarkIcon','MessageType','CloseIcon','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','error','配置保存成功','on-line-icon','DependentOn','Enable\x20authentication\x20for\x20secure\x20connections','univer-flex\x20univer-items-start\x20univer-gap-3','mcpStatus.connected','1CwBmRC','showConfigPanel','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','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','useObservable','help-icon','MCP:\x20Unauthorized','_initConfigSync','MCP:\x20会话\x20ID\x20已被占用','mcpConfig.configParameters','mcpConfig.connectionStatus.retrying','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-space-y-2','mcp-ui.config','univer-space-y-3','mask','50886jsUidf','MCP\x20Disconnected','univer-text-red-500','Plugin','tag'];_0x2456=function(){return _0x4f361e;};return _0x2456();}function Se(_0x4ae6c9,_0x3a787e,_0x2fbc4b,_0x476b37=!0x0){const _0x947fe=_0x50dde5,_0x384655=Z(_0x4ae6c9,_0x3a787e),_0x136a59=_0x2fbc4b['t'](_0x384655);return _0x476b37?_0x4ae6c9===s[_0x947fe(0x2d8)][_0x947fe(0x229)]&&_0x3a787e===s[_0x947fe(0x1bd)]['UNAUTHORIZED']?_0x136a59+_0x947fe(0x24b)+_0x2fbc4b['t']('mcpStatus.clickToConfigure'):_0x4ae6c9===s[_0x947fe(0x2d8)][_0x947fe(0x26d)]?''+_0x136a59:_0x4ae6c9===s[_0x947fe(0x2d8)][_0x947fe(0x229)]||_0x4ae6c9===s[_0x947fe(0x2d8)][_0x947fe(0x278)]?_0x136a59+_0x947fe(0x24b)+_0x2fbc4b['t']('mcpStatus.clickToConnect'):_0x136a59:_0x136a59;}function Pe(_0x14310b){const _0x363dbe=_0x50dde5;switch(_0x14310b){case s['MCPConnectionStatus']['CONNECTED']:return _0x363dbe(0x24e);case s[_0x363dbe(0x2d8)][_0x363dbe(0x2d6)]:case s['MCPConnectionStatus']['RETRYING']:return _0x363dbe(0x2cb);case s['MCPConnectionStatus']['FAILED']:case s['MCPConnectionStatus']['DISCONNECTED']:return _0x363dbe(0x2c6);default:return _0x363dbe(0x1ff);}}function W(_0x3a0706){const _0x59e9ee=_0x50dde5,{status$:_0x31b61c,error$:_0x284f59,onConfigure:_0x475c4e,showClickable:_0x10310c=!0x0}=_0x3a0706,_0x5bc996=v[_0x59e9ee(0x2b7)](_0x31b61c,s['MCPConnectionStatus'][_0x59e9ee(0x229)]),_0x9883aa=v['useObservable'](_0x284f59,s[_0x59e9ee(0x1bd)]['NONE']),_0x4e038=v[_0x59e9ee(0x222)](u[_0x59e9ee(0x2a2)]),_0xa8b9b2=_0x5bc996===s[_0x59e9ee(0x2d8)]['CONNECTED'];_0x5bc996===s[_0x59e9ee(0x2d8)][_0x59e9ee(0x2d6)]||s['MCPConnectionStatus']['RETRYING'];const _0x4efac8=_0x4e038['t'](Z(_0x5bc996,_0x9883aa)),_0x49dd69=Se(_0x5bc996,_0x9883aa,_0x4e038,_0x10310c),_0x5eae7a=Pe(_0x5bc996),_0x2b6e7e=_0xa8b9b2?i[_0x59e9ee(0x1fe)](q,{}):i['jsx'](Y,{}),_0x3784be=d['useCallback'](()=>{_0x10310c&&_0x475c4e&&_0x475c4e();},[_0x10310c,_0x475c4e]);function _0x1ebd73(){const _0x591b41=_0x59e9ee;return i[_0x591b41(0x16f)](_0x591b41(0x22d),{'className':f[_0x591b41(0x226)](_0x591b41(0x1c2),_0x10310c&&_0x475c4e&&_0x591b41(0x2bf)),'role':_0x591b41(0x1c1),'onClick':_0x10310c&&_0x475c4e?_0x3784be:void 0x0,'children':[i[_0x591b41(0x1fe)](_0x591b41(0x22d),{'className':f[_0x591b41(0x226)](_0x591b41(0x2d1),_0x5eae7a),'children':_0x2b6e7e}),i[_0x591b41(0x1fe)](_0x591b41(0x22d),{'className':_0x591b41(0x26c),'children':_0x4efac8})]});}return i[_0x59e9ee(0x1fe)](f[_0x59e9ee(0x172)],{'title':_0x49dd69,'placement':'bottom','children':_0x1ebd73()});}var Ie=Object['getOwnPropertyDescriptor'],_e=(_0x7aafd6,_0x54d82e,_0x299c9d,_0x152d16)=>{const _0x3fad0c=_0x50dde5;for(var _0xff54d0=_0x152d16>0x1?void 0x0:_0x152d16?Ie(_0x54d82e,_0x299c9d):_0x54d82e,_0x1297b6=_0x7aafd6[_0x3fad0c(0x23f)]-0x1,_0x2fd9e4;_0x1297b6>=0x0;_0x1297b6--)(_0x2fd9e4=_0x7aafd6[_0x1297b6])&&(_0xff54d0=_0x2fd9e4(_0xff54d0)||_0xff54d0);return _0xff54d0;},N=(_0x4c28c8,_0x445674)=>(_0x2cfd95,_0x3514e9)=>_0x445674(_0x2cfd95,_0x3514e9,_0x4c28c8);exports[_0x50dde5(0x2e5)]=class extends u[_0x50dde5(0x201)]{constructor(_0x36395b,_0x3d17bd,_0x23a25c,_0x48f228){const _0x5a848d=_0x50dde5;super(),this[_0x5a848d(0x17b)]=_0x36395b,this[_0x5a848d(0x25c)]=_0x3d17bd,this[_0x5a848d(0x219)]=_0x23a25c,this[_0x5a848d(0x1da)]=_0x48f228,this['_initAutoConnect'](),this[_0x5a848d(0x1f6)]();}[_0x50dde5(0x29a)](){const _0x2605a3=_0x50dde5,_0x227a4d=this[_0x2605a3(0x1da)]['getConfig'](P);_0x227a4d!=null&&_0x227a4d[_0x2605a3(0x1ec)]&&(this[_0x2605a3(0x25c)]['enableAutoConnect']=!0x1);}[_0x50dde5(0x1f6)](){const _0x5b04b6=_0x50dde5,_0x59ba3e=this[_0x5b04b6(0x1da)][_0x5b04b6(0x182)](P);(_0x59ba3e==null?void 0x0:_0x59ba3e['showStatus'])!==!0x1&&this['disposeWithMe'](this[_0x5b04b6(0x219)]['registerComponent'](v[_0x5b04b6(0x211)][_0x5b04b6(0x239)],()=>{const _0x2b78f9=_0x5b04b6;var _0x25bd9c;return v[_0x2b78f9(0x2de)](ye({'status$':this[_0x2b78f9(0x25c)][_0x2b78f9(0x194)],'error$':this[_0x2b78f9(0x25c)][_0x2b78f9(0x189)],'onConfigure':()=>this[_0x2b78f9(0x183)](),'showClickable':(_0x25bd9c=_0x59ba3e==null?void 0x0:_0x59ba3e[_0x2b78f9(0x1ec)])!=null?_0x25bd9c:!0x1}),this['_injector']);}));}['_handleConfigure'](){const _0x345a95=_0x50dde5;this[_0x345a95(0x17b)]['get'](exports[_0x345a95(0x293)])[_0x345a95(0x2b3)]();}},exports[_0x50dde5(0x2e5)]=_e([N(0x0,u[_0x50dde5(0x19a)](u[_0x50dde5(0x2d2)])),N(0x1,u['Inject'](s[_0x50dde5(0x20e)])),N(0x2,v[_0x50dde5(0x1a1)]),N(0x3,u[_0x50dde5(0x209)])],exports['MCPConnectionUIController']);function ye(_0x552f0c){const {status$:_0x5abecf,error$:_0x5822f6,onConfigure:_0x5e8f28,showClickable:_0x5caaab}=_0x552f0c;return function(){const _0x226b0f=_0x5e38;return i[_0x226b0f(0x1fe)](W,{'status$':_0x5abecf,'error$':_0x5822f6,'onConfigure':_0x5e8f28,'showClickable':_0x5caaab});};}function Me(_0x3cb253){const _0x169f6b=_0x50dde5;return{'id':b['id'],'type':v[_0x169f6b(0x2cc)][_0x169f6b(0x297)],'icon':_0x169f6b(0x212),'title':_0x169f6b(0x245),'tooltip':_0x169f6b(0x245)};}const Ne={[v['RibbonStartGroup'][_0x50dde5(0x256)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0x50dde5(0x1de)],je=(_0xc26125,_0x480327,_0x4d7e0c,_0xdc65bb)=>{const _0x34bfbe=_0x50dde5;for(var _0x18b6df=_0xdc65bb>0x1?void 0x0:_0xdc65bb?be(_0x480327,_0x4d7e0c):_0x480327,_0x4c8c7b=_0xc26125[_0x34bfbe(0x23f)]-0x1,_0x3657b9;_0x4c8c7b>=0x0;_0x4c8c7b--)(_0x3657b9=_0xc26125[_0x4c8c7b])&&(_0x18b6df=_0x3657b9(_0x18b6df)||_0x18b6df);return _0x18b6df;},z=(_0x25c085,_0x28249e)=>(_0x29ab0e,_0x1a695e)=>_0x28249e(_0x29ab0e,_0x1a695e,_0x25c085);exports[_0x50dde5(0x16a)]=class extends u[_0x50dde5(0x201)]{constructor(_0x5b1f66,_0x21e31f){super(),this['_commandService']=_0x5b1f66,this['_menuManagerService']=_0x21e31f,this['_initializeCommands'](),this['_initializeMenus']();}[_0x50dde5(0x185)](){[b]['forEach'](_0x40fc9f=>{const _0x5490b4=_0x5e38;this[_0x5490b4(0x26b)](this[_0x5490b4(0x223)]['registerCommand'](_0x40fc9f));});}[_0x50dde5(0x264)](){const _0x40a851=_0x50dde5;this['_menuManagerService'][_0x40a851(0x2d3)](Ne);}},exports[_0x50dde5(0x16a)]=je([z(0x0,u[_0x50dde5(0x190)]),z(0x1,v['IMenuManagerService'])],exports[_0x50dde5(0x16a)]);const Ee={'mcpStatus':{'disconnected':_0x50dde5(0x2c5),'connecting':'MCP\x20Connecting...','connected':_0x50dde5(0x210),'failed':_0x50dde5(0x1bf),'retrying':_0x50dde5(0x2a0),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x50dde5(0x2b9),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x50dde5(0x2e7),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x50dde5(0x1ed),'clickToConfigure':_0x50dde5(0x294)},'mcpConfig':{'title':_0x50dde5(0x1aa),'description':_0x50dde5(0x1e5),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x50dde5(0x2e6),'apiKeyHint':_0x50dde5(0x1f5),'enableAuth':_0x50dde5(0x1b1),'enableAuthHint':_0x50dde5(0x2af),'connectionInfo':_0x50dde5(0x220),'mcpClientConfig':_0x50dde5(0x220),'configInstructions':_0x50dde5(0x266),'configStepTitle':_0x50dde5(0x25b),'configStep1':_0x50dde5(0x27e),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x50dde5(0x1c3),'sessionId':_0x50dde5(0x221),'sessionIdDescription':_0x50dde5(0x173),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x50dde5(0x1f4),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x50dde5(0x206),'note1':_0x50dde5(0x1a7),'note2':_0x50dde5(0x18b),'configSaved':_0x50dde5(0x248),'configError':_0x50dde5(0x17f),'apiApplyInfo':{'title':_0x50dde5(0x21d),'description':_0x50dde5(0x1c0),'univerAiLabel':_0x50dde5(0x171),'getStarted':_0x50dde5(0x2e3)},'validation':{'apiKeyRequired':_0x50dde5(0x234),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x50dde5(0x2ca)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x50dde5(0x20f),'connected':_0x50dde5(0x259),'failed':_0x50dde5(0x260),'retrying':_0x50dde5(0x188)},'connectionError':{'unauthorized':_0x50dde5(0x277),'sessionOccupied':_0x50dde5(0x18a),'networkError':_0x50dde5(0x1d8),'maxRetriesExceeded':_0x50dde5(0x177)}}},we={'mcpStatus':{'disconnected':_0x50dde5(0x207),'connecting':'MCP\x20连接中...','connected':_0x50dde5(0x1c7),'failed':_0x50dde5(0x288),'retrying':_0x50dde5(0x2ec),'unknown':_0x50dde5(0x1cb),'unauthorized':_0x50dde5(0x18f),'sessionOccupied':_0x50dde5(0x2bb),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x50dde5(0x1c4),'clickToConnect':_0x50dde5(0x224),'clickToConfigure':_0x50dde5(0x2cf)},'mcpConfig':{'title':'MCP\x20配置','description':_0x50dde5(0x16c),'apiKey':_0x50dde5(0x25f),'apiKeyPlaceholder':_0x50dde5(0x1ef),'apiKeyHint':_0x50dde5(0x21a),'enableAuth':_0x50dde5(0x184),'enableAuthHint':_0x50dde5(0x1a0),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x50dde5(0x274),'configStepTitle':_0x50dde5(0x174),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x50dde5(0x2e4),'configStep3':_0x50dde5(0x1f9),'sessionId':_0x50dde5(0x16d),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x50dde5(0x20b),'configParameters':'配置参数:','maxRetries':_0x50dde5(0x18c),'save':_0x50dde5(0x195),'saving':'保存中...','note1':_0x50dde5(0x2a5),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x50dde5(0x2ac),'configError':_0x50dde5(0x1fc),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x50dde5(0x242),'getStarted':_0x50dde5(0x167)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x50dde5(0x26e),'invalidApiKey':_0x50dde5(0x16b)},'connectionStatus':{'disconnected':_0x50dde5(0x1ce),'connecting':'连接中...','connected':_0x50dde5(0x1cd),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x50dde5(0x1d7),'sessionOccupied':_0x50dde5(0x1af),'networkError':_0x50dde5(0x169),'maxRetriesExceeded':_0x50dde5(0x28e)}}};var Ae=Object[_0x50dde5(0x23d)],Oe=Object['getOwnPropertyDescriptor'],De=(_0x26466a,_0x70e6a,_0xab3a9d)=>_0x70e6a in _0x26466a?Ae(_0x26466a,_0x70e6a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xab3a9d}):_0x26466a[_0x70e6a]=_0xab3a9d,Ue=(_0x295da7,_0x7840b4,_0x29259d,_0x3b56e5)=>{const _0x5de9b5=_0x50dde5;for(var _0x3e6db8=_0x3b56e5>0x1?void 0x0:_0x3b56e5?Oe(_0x7840b4,_0x29259d):_0x7840b4,_0x349983=_0x295da7[_0x5de9b5(0x23f)]-0x1,_0x4574f7;_0x349983>=0x0;_0x349983--)(_0x4574f7=_0x295da7[_0x349983])&&(_0x3e6db8=_0x4574f7(_0x3e6db8)||_0x3e6db8);return _0x3e6db8;},y=(_0x273ce2,_0x4b856e)=>(_0x1671e4,_0x22bdc3)=>_0x4b856e(_0x1671e4,_0x22bdc3,_0x273ce2),$e=(_0x2e6d6d,_0x50d8de,_0x207471)=>De(_0x2e6d6d,_0x50d8de+'',_0x207471);exports[_0x50dde5(0x258)]=class extends u[_0x50dde5(0x2c7)]{constructor(_0x3b9b45=L,_0x30ed58,_0xbf49c1,_0x1478df,_0x3d30de,_0x2c1d6c){const _0x2a0460=_0x50dde5;super(),this[_0x2a0460(0x197)]=_0x3b9b45,this[_0x2a0460(0x17b)]=_0x30ed58,this['_configService']=_0xbf49c1,this[_0x2a0460(0x219)]=_0x1478df,this[_0x2a0460(0x241)]=_0x3d30de,this['_localeService']=_0x2c1d6c;const {..._0x5254d9}=u[_0x2a0460(0x1b4)]({},L,this[_0x2a0460(0x197)]);this[_0x2a0460(0x1da)]['setConfig'](P,_0x5254d9);}async[_0x50dde5(0x1b7)](){const _0x1fee99=_0x50dde5,_0x5bec5d=[[exports[_0x1fee99(0x2e5)]],[exports[_0x1fee99(0x293)]],[exports['MCPUIMenuController']]];this['_injector'][_0x1fee99(0x282)](A[_0x1fee99(0x267)])||_0x5bec5d[_0x1fee99(0x233)]([A['ISocketService'],{'useClass':A[_0x1fee99(0x281)]}]),_0x5bec5d['forEach'](_0x401573=>this[_0x1fee99(0x17b)][_0x1fee99(0x2e2)](_0x401573)),this[_0x1fee99(0x17b)][_0x1fee99(0x1a4)](exports[_0x1fee99(0x2e5)]),this['_injector']['get'](exports[_0x1fee99(0x293)]),this[_0x1fee99(0x17b)][_0x1fee99(0x1a4)](exports[_0x1fee99(0x16a)]);}},$e(exports[_0x50dde5(0x258)],'pluginName','MCP_UI_PLUGIN'),exports[_0x50dde5(0x258)]=Ue([u[_0x50dde5(0x2ae)](s[_0x50dde5(0x187)]),y(0x1,u[_0x50dde5(0x19a)](u[_0x50dde5(0x2d2)])),y(0x2,u[_0x50dde5(0x209)]),y(0x3,v[_0x50dde5(0x1a1)]),y(0x4,u[_0x50dde5(0x22b)]),y(0x5,u[_0x50dde5(0x19a)](u['LocaleService']))],exports[_0x50dde5(0x258)]),exports[_0x50dde5(0x29c)]=V,exports['MCPStatusDisplay']=W,exports[_0x50dde5(0x237)]=b,exports[_0x50dde5(0x1e1)]=Ee,exports['zhCN']=we;
1
+ 'use strict';const _0x5e1569=_0x5555;(function(_0x12dd4a,_0x2d5a3a){const _0x129581=_0x5555,_0x20e14e=_0x12dd4a();while(!![]){try{const _0x54b122=-parseInt(_0x129581(0x1aa))/0x1*(parseInt(_0x129581(0x2ad))/0x2)+parseInt(_0x129581(0x275))/0x3+parseInt(_0x129581(0x186))/0x4+-parseInt(_0x129581(0x159))/0x5*(-parseInt(_0x129581(0x22a))/0x6)+-parseInt(_0x129581(0x167))/0x7*(-parseInt(_0x129581(0x1d5))/0x8)+parseInt(_0x129581(0x1ca))/0x9*(-parseInt(_0x129581(0x135))/0xa)+parseInt(_0x129581(0x2a4))/0xb;if(_0x54b122===_0x2d5a3a)break;else _0x20e14e['push'](_0x20e14e['shift']());}catch(_0x56b168){_0x20e14e['push'](_0x20e14e['shift']());}}}(_0x4582,0xa9df0));var ae=Object[_0x5e1569(0x233)],le=(_0x13ceda,_0x4914b9,_0x46d84d)=>_0x4914b9 in _0x13ceda?ae(_0x13ceda,_0x4914b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46d84d}):_0x13ceda[_0x4914b9]=_0x46d84d,I=(_0x25a9df,_0x34bba4,_0x31edfa)=>le(_0x25a9df,typeof _0x34bba4!='symbol'?_0x34bba4+'':_0x34bba4,_0x31edfa);Object[_0x5e1569(0x233)](exports,Symbol[_0x5e1569(0x28b)],{'value':_0x5e1569(0x29c)});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:_0x16ffca,..._0xa35369}){const _0x53db24=_0x5e1569,{icon:_0x102d43,id:_0x225129,className:_0x3ab8ab,extend:_0x503e4c,..._0x29e36d}=_0xa35369,_0xbf2abf=(_0x53db24(0x196)+_0x225129+'\x20'+(_0x3ab8ab||''))[_0x53db24(0x222)](),_0x10b5e3=d[_0x53db24(0x1fc)]('_'+de());return G(_0x102d43,''+_0x225129,{'defIds':_0x102d43[_0x53db24(0x197)],'idSuffix':_0x10b5e3['current']},{'ref':_0x16ffca,'className':_0xbf2abf,..._0x29e36d},_0x503e4c);}function G(_0x583a32,_0x25b7ae,_0x4a6f0e,_0x565257,_0x245dac){const _0x4ec4d1=_0x5e1569;return d[_0x4ec4d1(0x237)](_0x583a32[_0x4ec4d1(0x1ad)],{'key':_0x25b7ae,...ue(_0x583a32,_0x4a6f0e,_0x245dac),..._0x565257},(ve(_0x583a32,_0x4a6f0e)[_0x4ec4d1(0x16c)]||[])[_0x4ec4d1(0x1d1)]((_0x47dc97,_0x53c7e0)=>G(_0x47dc97,_0x25b7ae+'-'+_0x583a32[_0x4ec4d1(0x1ad)]+'-'+_0x53c7e0,_0x4a6f0e,void 0x0,_0x245dac)));}function ue(_0x1bf83f,_0x2218ce,_0x130966){const _0x459bd2=_0x5e1569,_0x18bc3e={..._0x1bf83f[_0x459bd2(0x270)]};_0x130966!=null&&_0x130966[_0x459bd2(0x20a)]&&_0x18bc3e[_0x459bd2(0x269)]===_0x459bd2(0x20a)&&(_0x18bc3e[_0x459bd2(0x269)]=_0x130966[_0x459bd2(0x20a)]),_0x1bf83f[_0x459bd2(0x1ad)]===_0x459bd2(0x242)&&_0x18bc3e['id']&&(_0x18bc3e['id']=_0x18bc3e['id']+_0x2218ce[_0x459bd2(0x188)]),Object[_0x459bd2(0x232)](_0x18bc3e)[_0x459bd2(0x1e1)](([_0xf2895f,_0x4ea62b])=>{const _0x43b820=_0x459bd2;_0xf2895f===_0x43b820(0x242)&&typeof _0x4ea62b==_0x43b820(0x1eb)&&(_0x18bc3e[_0xf2895f]=_0x4ea62b[_0x43b820(0x15a)](/url\(#(.*)\)/,_0x43b820(0x2b8)+_0x2218ce[_0x43b820(0x188)]+')'));});const {defIds:_0x53d25e}=_0x2218ce;return!_0x53d25e||_0x53d25e[_0x459bd2(0x199)]===0x0||(_0x1bf83f['tag']===_0x459bd2(0x178)&&_0x18bc3e[_0x459bd2(0x293)]&&(_0x18bc3e[_0x459bd2(0x293)]=_0x18bc3e['xlink:href']+_0x2218ce[_0x459bd2(0x188)]),Object[_0x459bd2(0x232)](_0x18bc3e)[_0x459bd2(0x1e1)](([_0x3fdb40,_0x1c8a95])=>{const _0x17da45=_0x459bd2;typeof _0x1c8a95==_0x17da45(0x1eb)&&(_0x18bc3e[_0x3fdb40]=_0x1c8a95[_0x17da45(0x15a)](/url\(#(.*)\)/,_0x17da45(0x2b8)+_0x2218ce[_0x17da45(0x188)]+')'));})),_0x18bc3e;}function ve(_0x2d0188,_0x1d5f96){const _0x4a85dc=_0x5e1569;var _0x45ef89;const {defIds:_0x4dd4a5}=_0x1d5f96;return!_0x4dd4a5||_0x4dd4a5[_0x4a85dc(0x199)]===0x0?_0x2d0188:_0x2d0188[_0x4a85dc(0x1ad)]===_0x4a85dc(0x1c0)&&((_0x45ef89=_0x2d0188['children'])!=null&&_0x45ef89[_0x4a85dc(0x199)])?{..._0x2d0188,'children':_0x2d0188['children'][_0x4a85dc(0x1d1)](_0x13107a=>typeof _0x13107a[_0x4a85dc(0x270)]['id']==_0x4a85dc(0x1eb)&&_0x4dd4a5&&_0x4dd4a5[_0x4a85dc(0x181)](_0x13107a[_0x4a85dc(0x270)]['id'])?{..._0x13107a,'attrs':{..._0x13107a[_0x4a85dc(0x270)],'id':_0x13107a[_0x4a85dc(0x270)]['id']+_0x1d5f96['idSuffix']}}:_0x13107a)}:_0x2d0188;}function de(){const _0x4309a9=_0x5e1569;return Math[_0x4309a9(0x13e)]()[_0x4309a9(0x280)](0x24)[_0x4309a9(0x17c)](0x2,0x8);}_['displayName']=_0x5e1569(0x244);const Ce={'tag':_0x5e1569(0x1a6),'attrs':{'xmlns':_0x5e1569(0x1a9),'fill':'none','viewBox':_0x5e1569(0x1cd),'width':_0x5e1569(0x273),'height':_0x5e1569(0x273)},'children':[{'tag':_0x5e1569(0x17d),'attrs':{'fill':'currentColor','d':_0x5e1569(0x1c2),'fillRule':_0x5e1569(0x152),'clipRule':_0x5e1569(0x152)}}]},H=d[_0x5e1569(0x163)](function(_0x3680af,_0x3c6896){const _0x247633=_0x5e1569;return d['createElement'](_,Object[_0x247633(0x20b)]({},_0x3680af,{'id':_0x247633(0x1df),'ref':_0x3c6896,'icon':Ce}));});H[_0x5e1569(0x17a)]=_0x5e1569(0x1fa);const ge={'tag':_0x5e1569(0x1a6),'attrs':{'xmlns':_0x5e1569(0x1a9),'fill':'none','viewBox':_0x5e1569(0x1cd),'width':_0x5e1569(0x273),'height':_0x5e1569(0x273)},'children':[{'tag':_0x5e1569(0x17d),'attrs':{'fill':_0x5e1569(0x1ef),'d':_0x5e1569(0x2b5)}}]},B=d['forwardRef'](function(_0x41969,_0x260db5){const _0x34927d=_0x5e1569;return d['createElement'](_,Object[_0x34927d(0x20b)]({},_0x41969,{'id':_0x34927d(0x1e2),'ref':_0x260db5,'icon':ge}));});function _0x4582(){const _0x2ace63=['MCP:\x20会话\x20ID\x20已被占用','DISCONNECTED','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','NONE','disposeWithMe','mcpStatus.maxRetriesExceeded','CONNECTED','getItem','trim','MCPConfigUIController','univer-text-gray-500','MCP_PLUGIN_CONFIG_KEY','mcpConfig.connectionError.unauthorized','Retrying...','MCP:\x20未授权','MCPConfigPanel','1284EXfnlp','MCP\x20状态未知','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','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','WebSocketService','mcpConfig.configParameters','span','entries','defineProperty','stringify','show','mcpConfig.description','createElement','showDeveloperTools','univer-font-medium','_messageService','univer-flex\x20univer-items-center','_config','mcpConfig.apiApplyInfo.description','univer-text-blue-600','_loading$','subscribe','MCP\x20连接失败','mask','CloseIcon','UniverIcon','mcpConfig.connectionStatus.retrying','univer-text-green-500','connectInjector','useObservable','API\x20密钥','什么是\x20API\x20密钥?','univer-bg-gray-500','OTHERS','univer-flex\x20univer-gap-3','mcpConfig.authorizationDescription','univer-size-4','配置步骤:','COMMAND','API\x20密钥无效,请检查密钥是否正确','_initializeCommands','复制以下\x20JSON\x20配置','Configuration\x20saved\x20successfully','ISocketService','univer-text-sm\x20univer-font-medium','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-min-w-0\x20univer-flex-1','_injector','add','none','_config$','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','button','mcpConfig.title','OffLineIcon','enableAutoConnect','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','BuiltInUIPart','MessageType','registerComponent','div','重连中...','fill','close','mcpServerUrl','Connection\x20Failed','mcpConfig.apiKeyHint','showStatus','round','attrs','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','UniverMCPUIPlugin','1em','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','1363320MExWIm','连接中...','MCP\x20客户端配置','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','univer-space-y-3','univer-shrink-0\x20univer-text-blue-500','https://mcp.univer.ai/mcp/?univer_session_id=','_menuManagerService','MCPConnectionUIController','HelpIcon','_configService','toString','mcpConfig.validation.invalidConfig','Click\x20to\x20configure\x20MCP','未连接','mcpConfig.apiKey','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','useCallback','jsxs','RETRYING','MCP:\x20Session\x20ID\x20Occupied','zhCN','toStringTag','Univer\x20AI\x20Console','univer-flex\x20univer-flex-wrap\x20univer-gap-2','sessionId$','mcpStatus.sessionOccupied','clsx','noopener\x20noreferrer','Plugin','xlink:href','Inject','mcpConfig.connectionStatus.disconnected','Univer\x20AI\x20控制台','univer-bg-red-500','get','保存配置','enUS','univer-text-gray-400','Module','MCP\x20Connection\x20Failed','配置保存失败','setItem','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','mcpConfig.note1','mcpConfig.validation.invalidApiKey','SESSION_ID_OCCUPIED','4422792degeuJ','MCPConnectionError','https://console.univer.ai','MenuIcon','http','univer-flex\x20univer-items-center\x20univer-gap-3','MenuItemType','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','MCPStatusDisplay','4EkVSKu','Error','_commandService','connectionStatus$','_initConfigSync','mcpConfig.apiKeyPlaceholder','connectionError$','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','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','MCP\x20连接中...','MCP:\x20网络错误','url(#$1','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','push','value','Click\x20to\x20connect\x20MCP','最大重试次数','mcpConfig.connectionError.maxRetriesExceeded','会话\x20ID\x20已被占用,请稍后再试','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','pluginName','12310ylslOV','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCPConnectionController','MCP\x20Unknown\x20Status','API\x20key\x20is\x20required','mcpStatus.clickToConnect','univer-size-2\x20univer-rounded-full','Save\x20Configuration','ILocalStorageService','random','univer-flex\x20univer-items-center\x20univer-gap-2','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer.plus','label','_createConfigPanelComponent','univer.ai','mcpStatus.connected','univer-text-xs\x20univer-text-gray-500','mcpConfig.configSaved','clipPath','启用身份验证以获得安全连接','您的\x20API\x20密钥将在此浏览器中本地存储','Authorization:','_registerComponent','_loadStoredApiKey','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-flex\x20univer-items-start\x20univer-gap-3','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','Injector','evenodd','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpConfig.connectionError.sessionOccupied','error','Button','isValid','MCP\x20Client\x20Configuration','13355sEZihC','replace','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcp-config-dialog','mcpConfig.connectionInfo','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','removeItem','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Enable\x20Authentication','mcpStatus.retrying','forwardRef','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','FAILED','MCP:\x20Max\x20Retries\x20Exceeded','63924oFeicr','_componentManager','Success','white','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children','univer-shrink-0\x20univer-text-red-500','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','showConfigPanel','mcpConfig.saving','Get\x20your\x20API\x20key\x20in\x20seconds','ComponentManager','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.connectionStatus.connecting','univer-bg-green-500','将配置添加到您的\x20MCP\x20客户端设置文件中','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','use','mcpConfig.configStep1','displayName','text','substring','path','OnLineIcon','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','next','includes','mcp.apiKey','mcpConfig.note2','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','mcpConfig.apiApplyInfo.univerAiLabel','402348JaIspL','Input','idSuffix','已连接','_mcpCoreConfig$','_localStorageService','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','url(#off-line-icon_clip0_910_343)','translate(.97)','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','mcpStatus.networkError','\x20-\x20','UniverMCPPlugin','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Parameters:','univerjs-icon\x20univerjs-icon-','defIds','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','length','HEADER_MENU','IDialogService','MCP\x20已断开','会话ID','bottom','useState','MCPConnectionStatus','univer-flex-1','jsx','_initStatusComponent','几秒钟内获取您的\x20API\x20密钥','API\x20Key','svg','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','MCP\x20Connecting...','http://www.w3.org/2000/svg','115113nJoRLi','Copy\x20the\x20JSON\x20configuration\x20below','_apiKey$','tag','mcpConfig.configError','MAX_RETRIES_EXCEEDED','has','on-line-icon_clip0_910_349','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','_localeService','DependentOn','_connectionController','MCPUIMenuController','univer-space-y-2','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','配置更改将立即生效','ICommandService','MCP\x20Retrying...','https://console.univer.plus','univer-bg-blue-500','带有\x20Bearer\x20前缀的\x20API\x20密钥。','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','defs','off','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCP\x20Disconnected','点击连接\x20MCP','registerCommand','mcpConfig.configStep3','onStarting','点击配置\x20MCP','4473VcTHfm','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','网络连接错误,请检查您的网络连接','0\x200\x2016\x2016','useDependency','Disposable','univer-text-white','map','mcp-ui.command.openConfigPanel','API\x20密钥长度至少需要\x2010\x20位','mcpConfig.connectionError.networkError','8BNspWa','Configuration\x20Steps:','_validateConfig','配置无效','LocaleService','apiKey','mcpConfig.apiApplyInfo.title','Configuration\x20Notes:','IMenuManagerService','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','check-mark-icon','API\x20key\x20with\x20Bearer\x20prefix.','forEach','close-icon','setConfig','BehaviorSubject','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','配置参数:','ILogService','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','IUIPartsService','string','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','_blank','IConfigService','currentColor','getOwnPropertyDescriptor','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_initializeMenus','mcpStatus.clickToConfigure','getConfig','mcpStatus.unknown','univer-space-y-4','univer-mr-2\x20univer-flex\x20univer-text-xl','MCP:\x20Network\x20Error','CheckMarkIcon','CONNECTING','useRef','_logService','0\x200\x2017\x2016','Connecting...','mcpStatus.connecting','off-line-icon_clip0_910_343','_handleConfigSave','warn','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','超出最大重试次数,请稍后再试','NETWORK_ERROR','_dialogService','_initAutoConnect','_mcpConnectionController','colorChannel1','assign','mcpConfig.save','_uiPartsService','validateApiKey','url(#on-line-icon_clip0_910_349)','off-line-icon','Failed\x20to\x20save\x20configuration','mcpConfig.sessionIdDescription','UNAUTHORIZED','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer_session_id:','M0\x200H16V16H0z','Bearer\x20','merge','mcpConfig.configStepTitle'];_0x4582=function(){return _0x2ace63;};return _0x4582();}B[_0x5e1569(0x17a)]=_0x5e1569(0x243);const fe={'tag':_0x5e1569(0x1a6),'attrs':{'xmlns':_0x5e1569(0x1a9),'fill':_0x5e1569(0x25c),'viewBox':_0x5e1569(0x1cd),'width':_0x5e1569(0x273),'height':_0x5e1569(0x273)},'children':[{'tag':_0x5e1569(0x17d),'attrs':{'fill':_0x5e1569(0x1ef),'d':_0x5e1569(0x16e)}},{'tag':_0x5e1569(0x17d),'attrs':{'fill':_0x5e1569(0x1ef),'d':_0x5e1569(0x25e)}},{'tag':_0x5e1569(0x17d),'attrs':{'fill':'currentColor','d':_0x5e1569(0x22c),'fillRule':'evenodd','clipRule':_0x5e1569(0x152)}}]},F=d[_0x5e1569(0x163)](function(_0x40a6ba,_0x49c138){const _0x13b1f8=_0x5e1569;return d[_0x13b1f8(0x237)](_,Object[_0x13b1f8(0x20b)]({},_0x40a6ba,{'id':'help-icon','ref':_0x49c138,'icon':fe}));});F[_0x5e1569(0x17a)]=_0x5e1569(0x27e);const pe={'tag':_0x5e1569(0x1a6),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5e1569(0x25c),'viewBox':_0x5e1569(0x1cd),'width':'1em','height':_0x5e1569(0x273)},'children':[{'tag':'g','attrs':{'clipPath':_0x5e1569(0x18d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x5e1569(0x26f),'strokeLinejoin':_0x5e1569(0x26f),'strokeWidth':1.2}}]},{'tag':_0x5e1569(0x1c0),'attrs':{},'children':[{'tag':_0x5e1569(0x148),'attrs':{'id':_0x5e1569(0x201)},'children':[{'tag':_0x5e1569(0x17d),'attrs':{'fill':_0x5e1569(0x16a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5e1569(0x201)]},Y=d['forwardRef'](function(_0x28721b,_0xc3d18d){const _0xa0ab00=_0x5e1569;return d['createElement'](_,Object[_0xa0ab00(0x20b)]({},_0x28721b,{'id':_0xa0ab00(0x210),'ref':_0xc3d18d,'icon':pe}));});Y[_0x5e1569(0x17a)]=_0x5e1569(0x261);const he={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5e1569(0x25c),'viewBox':_0x5e1569(0x1fe),'width':'1em','height':_0x5e1569(0x273)},'children':[{'tag':'g','attrs':{'clipPath':_0x5e1569(0x20f)},'children':[{'tag':'path','attrs':{'stroke':_0x5e1569(0x1ef),'d':_0x5e1569(0x278),'strokeLinecap':'round','strokeLinejoin':_0x5e1569(0x26f),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5e1569(0x148),'attrs':{'id':_0x5e1569(0x1b1)},'children':[{'tag':'path','attrs':{'fill':_0x5e1569(0x16a),'d':_0x5e1569(0x216),'transform':_0x5e1569(0x18e)}}]}]}],'defIds':[_0x5e1569(0x1b1)]},q=d['forwardRef'](function(_0x289116,_0xfc4c1){const _0x2d44f4=_0x5e1569;return d[_0x2d44f4(0x237)](_,Object[_0x2d44f4(0x20b)]({},_0x289116,{'id':'on-line-icon','ref':_0xfc4c1,'icon':he}));});q[_0x5e1569(0x17a)]=_0x5e1569(0x17e);function V(_0x851923){const _0x1100fb=_0x5e1569;var _0x48dbd0,_0x2e6526;const {mcpCoreConfig:_0xe0a828,onSave:_0x41f6d6,loading:_0x4abc1b=!0x1,config:_0x6ac9eb,connectionStatus$:_0xdf613d,connectionError$:_0xd2e409,currentApiKey$:_0x386c66,currentSessionId$:_0x2d7665}=_0x851923,_0x151077=v[_0x1100fb(0x1ce)](u[_0x1100fb(0x1d9)]),_0x35b0af=v['useObservable'](_0xdf613d,s[_0x1100fb(0x1a0)]['DISCONNECTED']),_0x122a67=v[_0x1100fb(0x248)](_0xd2e409,s[_0x1100fb(0x2a5)][_0x1100fb(0x21d)]),_0x4515bf=v[_0x1100fb(0x248)](_0x2d7665,''),_0x49c575=v[_0x1100fb(0x248)](_0x386c66,''),[_0x66d3c9,_0x345c1d]=d[_0x1100fb(0x19f)](_0x49c575||''),_0x5b5765=!0x0,_0x3c06de=_0x6ac9eb['showDeveloperTools']&&_0xe0a828[_0x1100fb(0x26b)]&&(_0xe0a828[_0x1100fb(0x26b)][_0x1100fb(0x181)](_0x1100fb(0x141))||_0xe0a828[_0x1100fb(0x26b)][_0x1100fb(0x181)](_0x1100fb(0x144))),_0x10d480=(_0x48dbd0=_0xe0a828['mcpServerUrl'])==null?void 0x0:_0x48dbd0[_0x1100fb(0x181)](_0x1100fb(0x141)),_0x599123=(_0x2e6526=_0xe0a828[_0x1100fb(0x26b)])==null?void 0x0:_0x2e6526[_0x1100fb(0x181)](_0x1100fb(0x144)),_0x272495=_0x10d480?_0x1100fb(0x1bc):_0x1100fb(0x2a6),_0xa5b6d4=_0x6ac9eb['showDeveloperTools']&&(_0x10d480||_0x599123),[_0xae9ab9,_0x12d239]=d[_0x1100fb(0x19f)](!_0x66d3c9['trim']()),_0x54f214=(_0x4ffcf7,_0x56867d)=>{const _0x4d5e33=_0x1100fb;if(_0x56867d===s[_0x4d5e33(0x2a5)][_0x4d5e33(0x213)])return _0x4d5e33(0x22d);switch(_0x4ffcf7){case s['MCPConnectionStatus']['CONNECTED']:return _0x4d5e33(0x1de);case s['MCPConnectionStatus'][_0x4d5e33(0x1fb)]:case s[_0x4d5e33(0x1a0)]['RETRYING']:return _0x4d5e33(0x1cb);case s[_0x4d5e33(0x1a0)][_0x4d5e33(0x165)]:return _0x4d5e33(0x22d);default:return _0x4d5e33(0x160);}},_0xc3d87c=(_0x639fd3,_0x86f59b)=>{const _0x3aee59=_0x1100fb;if(_0x86f59b===s['MCPConnectionError'][_0x3aee59(0x213)])return _0x3aee59(0x297);switch(_0x639fd3){case s[_0x3aee59(0x1a0)][_0x3aee59(0x220)]:return _0x3aee59(0x175);case s[_0x3aee59(0x1a0)][_0x3aee59(0x1fb)]:case s['MCPConnectionStatus']['RETRYING']:return _0x3aee59(0x1bd);case s['MCPConnectionStatus']['FAILED']:return _0x3aee59(0x297);default:return _0x3aee59(0x24b);}},_0x4083fc=_0x162a43=>{const _0x3267e0=_0x1100fb;switch(_0x162a43){case s[_0x3267e0(0x1a0)][_0x3267e0(0x220)]:return _0x151077['t']('mcpConfig.connectionStatus.connected');case s[_0x3267e0(0x1a0)][_0x3267e0(0x1fb)]:return _0x151077['t'](_0x3267e0(0x174));case s[_0x3267e0(0x1a0)][_0x3267e0(0x165)]:return _0x151077['t']('mcpConfig.connectionStatus.failed');case s['MCPConnectionStatus'][_0x3267e0(0x288)]:return _0x151077['t'](_0x3267e0(0x245));default:return _0x151077['t'](_0x3267e0(0x295));}},_0x163845=_0x5a3877=>{const _0x376c30=_0x1100fb;switch(_0x5a3877){case s[_0x376c30(0x2a5)][_0x376c30(0x213)]:return _0x151077['t'](_0x376c30(0x226));case s[_0x376c30(0x2a5)]['SESSION_ID_OCCUPIED']:return _0x151077['t'](_0x376c30(0x154));case s[_0x376c30(0x2a5)][_0x376c30(0x206)]:return _0x151077['t'](_0x376c30(0x1d4));case s[_0x376c30(0x2a5)][_0x376c30(0x1af)]:return _0x151077['t'](_0x376c30(0x131));default:return'';}},_0x4749ce=d['useCallback'](()=>{const _0x1e9bbd=_0x1100fb,_0x52ac37={..._0xe0a828,'apiKey':_0x66d3c9[_0x1e9bbd(0x222)](),'enableAuth':_0x5b5765};_0x41f6d6(_0x52ac37);},[_0xe0a828,_0x66d3c9,_0x5b5765,_0x41f6d6]),_0x337eff=_0x66d3c9[_0x1100fb(0x222)]()[_0x1100fb(0x199)]>0x0;return i['jsxs']('div',{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x2a9),'children':[i['jsx'](_0x1100fb(0x267),{'className':_0x1100fb(0x1c3),'children':i[_0x1100fb(0x1a2)](_0x1100fb(0x231),{'className':_0x1100fb(0x1d0),'children':'⚙'})}),i['jsx'](_0x1100fb(0x267),{'children':i[_0x1100fb(0x1a2)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x151077['t'](_0x1100fb(0x236))})})]})}),i['jsxs'](_0x1100fb(0x267),{'className':_0x1100fb(0x16b),'children':[i['jsx'](_0x1100fb(0x267),{'className':f[_0x1100fb(0x290)](_0x1100fb(0x133),_0x54f214(_0x35b0af,_0x122a67)),'children':i[_0x1100fb(0x287)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':f[_0x1100fb(0x290)](_0x1100fb(0x13b),_0xc3d87c(_0x35b0af,_0x122a67))}),i[_0x1100fb(0x1a2)]('span',{'className':_0x1100fb(0x257),'children':_0x4083fc(_0x35b0af)})]})}),_0x122a67!==s[_0x1100fb(0x2a5)][_0x1100fb(0x21d)]&&(_0x35b0af===s[_0x1100fb(0x1a0)][_0x1100fb(0x165)]||_0x122a67===s[_0x1100fb(0x2a5)][_0x1100fb(0x213)])&&i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x21c),'children':i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[i[_0x1100fb(0x1a2)]('span',{'className':_0x1100fb(0x16d),'children':'⚠️'}),i['jsx']('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x163845(_0x122a67)})]})})]}),i['jsx'](_0x1100fb(0x267),{'className':_0x1100fb(0x22e),'children':i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':'univer-space-y-5','children':[i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x1b7),'children':[i['jsxs'](_0x1100fb(0x142),{'className':_0x1100fb(0x1f1),'children':[i[_0x1100fb(0x1a2)]('span',{'children':'🔑'}),'\x20',_0x151077['t'](_0x1100fb(0x284)),i['jsx'](_0x1100fb(0x231),{'className':'univer-text-red-500','children':'*'}),_0x3c06de&&i[_0x1100fb(0x1a2)]('a',{'className':_0x1100fb(0x18c),'title':_0x151077['t']('mcpConfig.apiApplyInfo.title'),'role':_0x1100fb(0x25f),'onClick':()=>_0x12d239(!0x0),'children':i[_0x1100fb(0x1a2)](F,{})})]}),i[_0x1100fb(0x1a2)](f[_0x1100fb(0x187)],{'type':_0x1100fb(0x17b),'placeholder':_0x151077['t'](_0x1100fb(0x2b2)),'value':_0x66d3c9,'disabled':_0x4abc1b,'autoComplete':_0x1100fb(0x1c1),'onChange':_0x345c1d}),i[_0x1100fb(0x1a2)]('p',{'className':_0x1100fb(0x146),'children':_0x151077['t'](_0x1100fb(0x26d))})]}),_0x3c06de&&_0xae9ab9&&i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x150),'children':[i[_0x1100fb(0x1a2)]('a',{'className':_0x1100fb(0x271),'role':_0x1100fb(0x25f),'onClick':()=>_0x12d239(!0x1),'children':i[_0x1100fb(0x1a2)](B,{'className':_0x1100fb(0x24f)})}),i[_0x1100fb(0x287)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':i[_0x1100fb(0x1a2)](_0x1100fb(0x231),{'className':_0x1100fb(0x23e),'children':'🚀'})}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x1a1),'children':[i[_0x1100fb(0x1a2)]('h4',{'className':_0x1100fb(0x1f2),'children':_0x151077['t'](_0x1100fb(0x1db))}),i[_0x1100fb(0x1a2)]('p',{'className':_0x1100fb(0x285),'children':_0x151077['t'](_0x1100fb(0x23d))}),i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x28d),'children':_0xa5b6d4&&i['jsxs']('a',{'className':_0x1100fb(0x15e),'href':_0x272495,'target':_0x1100fb(0x1ed),'rel':_0x1100fb(0x291),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x231),{'children':'🤖'}),_0x151077['t'](_0x1100fb(0x185)),i[_0x1100fb(0x1a2)](_0x1100fb(0x231),{'className':_0x1100fb(0x29b),'children':'↗'})]})}),i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x153),'children':['✨','\x20',_0x151077['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x6ac9eb[_0x1100fb(0x238)]&&i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x1b8),'children':[i['jsxs']('h4',{'className':_0x1100fb(0x2b9),'children':[i['jsx'](_0x1100fb(0x231),{'children':'🔗'}),'\x20',_0x151077['t'](_0x1100fb(0x15d))]}),i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x1f7),'children':[i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x279),'children':[i[_0x1100fb(0x1a2)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x151077['t']('mcpConfig.configInstructions')}),i[_0x1100fb(0x287)]('div',{'className':'univer-space-y-2','children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x173),'children':_0x151077['t'](_0x1100fb(0x219))}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x1bf),'children':[i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x13f),'children':[i[_0x1100fb(0x1a2)]('span',{'className':_0x1100fb(0x198),'children':'1'}),_0x151077['t'](_0x1100fb(0x179))]}),i[_0x1100fb(0x287)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x1100fb(0x1a2)]('span',{'className':_0x1100fb(0x198),'children':'2'}),_0x151077['t']('mcpConfig.configStep2')]}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x13f),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x231),{'className':_0x1100fb(0x198),'children':'3'}),_0x151077['t'](_0x1100fb(0x1c7))]})]})]})]}),i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x1b7),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':'MCP\x20Configuration'}),i['jsx'](_0x1100fb(0x267),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':i[_0x1100fb(0x1a2)]('pre',{'className':_0x1100fb(0x1ec),'children':JSON[_0x1100fb(0x234)]({'mcpServers':{'univer':{'url':_0x1100fb(0x27b)+(_0x4515bf||'<SESSION_ID>'),'type':_0x1100fb(0x2a8),'headers':{'Authorization':'Bearer\x20'+(_0x66d3c9||'<API_KEY>')}}}},null,0x2)})})]}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x279),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x173),'children':_0x151077['t'](_0x1100fb(0x230))}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x1b7),'children':[i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x14f),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),i[_0x1100fb(0x287)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x1100fb(0x1a2)]('div',{'className':_0x1100fb(0x17f),'children':_0x1100fb(0x215)}),i['jsx'](_0x1100fb(0x267),{'className':_0x1100fb(0x146),'children':_0x151077['t'](_0x1100fb(0x212))})]})]}),i[_0x1100fb(0x287)]('div',{'className':_0x1100fb(0x14f),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x2ab)}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'className':_0x1100fb(0x259),'children':[i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x17f),'children':_0x1100fb(0x14b)}),i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x146),'children':_0x151077['t'](_0x1100fb(0x24e))})]})]})]})]})]})]}),i[_0x1100fb(0x1a2)](f[_0x1100fb(0x156)],{'onClick':_0x4749ce,'disabled':!_0x337eff||_0x4abc1b,'className':_0x1100fb(0x1a7),'children':_0x4abc1b?i[_0x1100fb(0x287)](_0x1100fb(0x231),{'className':_0x1100fb(0x13f),'children':[i['jsx'](_0x1100fb(0x231),{'children':'⟲'}),_0x151077['t'](_0x1100fb(0x170))]}):i[_0x1100fb(0x287)](_0x1100fb(0x231),{'className':_0x1100fb(0x13f),'children':[i['jsx'](H,{}),_0x151077['t'](_0x1100fb(0x20c))]})}),i[_0x1100fb(0x1a2)](_0x1100fb(0x267),{'className':_0x1100fb(0x258),'children':i['jsxs'](_0x1100fb(0x267),{'className':_0x1100fb(0x24d),'children':[i['jsx'](_0x1100fb(0x231),{'className':_0x1100fb(0x27a),'children':'💡'}),i['jsxs'](_0x1100fb(0x267),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[i['jsx'](_0x1100fb(0x267),{'className':_0x1100fb(0x239),'children':_0x1100fb(0x1dc)}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'children':['•',_0x151077['t'](_0x1100fb(0x2a1))]}),i[_0x1100fb(0x287)](_0x1100fb(0x267),{'children':['•',_0x151077['t'](_0x1100fb(0x183))]})]})]})})]})})]});}const P='mcp-ui.config',L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x5e1569(0x1f0)],xe=(_0x73a0c9,_0x387f5b,_0x830d92,_0x7eb7e5)=>{for(var _0x231a1b=_0x7eb7e5>0x1?void 0x0:_0x7eb7e5?me(_0x387f5b,_0x830d92):_0x387f5b,_0x3a96c3=_0x73a0c9['length']-0x1,_0x536bdc;_0x3a96c3>=0x0;_0x3a96c3--)(_0x536bdc=_0x73a0c9[_0x3a96c3])&&(_0x231a1b=_0x536bdc(_0x231a1b)||_0x231a1b);return _0x231a1b;},g=(_0xe10a3a,_0x329e10)=>(_0x2a28b0,_0x1fb384)=>_0x329e10(_0x2a28b0,_0x1fb384,_0xe10a3a);const O=_0x5e1569(0x182),D=_0x5e1569(0x15c);exports[_0x5e1569(0x223)]=class extends u[_0x5e1569(0x1cf)]{constructor(_0xea2518,_0x14dcd2,_0x1bcca7,_0x1bf70b,_0xbe8eb1,_0x374fb9,_0x2919b4,_0x3595c6,_0x5cc8c3,_0x37ab86){const _0x3613d9=_0x5e1569;super(),I(this,_0x3613d9(0x23f),new M[(_0x3613d9(0x1e4))](!0x1)),I(this,_0x3613d9(0x18a),new M[(_0x3613d9(0x1e4))]({})),I(this,_0x3613d9(0x25d),new M[(_0x3613d9(0x1e4))]({})),I(this,_0x3613d9(0x1ac),new M[(_0x3613d9(0x1e4))]('')),I(this,_0x3613d9(0x202),async _0x276bdb=>{const _0x556980=_0x3613d9;var _0x2597fc,_0x20ed90;this[_0x556980(0x23f)][_0x556980(0x180)](!0x0);try{const _0x23b58f=await this[_0x556980(0x1d7)](_0x276bdb);if(!_0x23b58f[_0x556980(0x157)]){this[_0x556980(0x23a)][_0x556980(0x235)]({'type':f[_0x556980(0x265)][_0x556980(0x2ae)],'content':_0x23b58f['errorMessage']||this[_0x556980(0x1b3)]['t'](_0x556980(0x281))});return;}_0x276bdb[_0x556980(0x1da)]?await this['_localStorageService'][_0x556980(0x29f)](O,_0x276bdb['apiKey'][_0x556980(0x222)]()):await this[_0x556980(0x18b)][_0x556980(0x15f)](O),this['_apiKey$']['next'](((_0x2597fc=_0x276bdb[_0x556980(0x1da)])==null?void 0x0:_0x2597fc[_0x556980(0x222)]())||''),this[_0x556980(0x209)]['__setCustomHeaders']({'Authorization':_0x556980(0x217)+((_0x20ed90=_0x276bdb[_0x556980(0x1da)])==null?void 0x0:_0x20ed90[_0x556980(0x222)]())}),this[_0x556980(0x23a)][_0x556980(0x235)]({'type':f[_0x556980(0x265)][_0x556980(0x169)],'content':this[_0x556980(0x1b3)]['t'](_0x556980(0x147))}),setTimeout(()=>{const _0x5d00fc=_0x556980;this[_0x5d00fc(0x207)][_0x5d00fc(0x26a)](D);},0x320);}catch(_0x3aa520){this[_0x556980(0x1fd)][_0x556980(0x155)](_0x556980(0x214),_0x3aa520),this[_0x556980(0x23a)][_0x556980(0x235)]({'type':f[_0x556980(0x265)][_0x556980(0x2ae)],'content':this['_localeService']['t'](_0x556980(0x1ae))});}finally{this[_0x556980(0x23f)]['next'](!0x1);}}),(this[_0x3613d9(0x25a)]=_0xea2518,this[_0x3613d9(0x20d)]=_0x14dcd2,this['_configService']=_0x1bcca7,this[_0x3613d9(0x18b)]=_0x1bf70b,this[_0x3613d9(0x207)]=_0xbe8eb1,this['_messageService']=_0x374fb9,this[_0x3613d9(0x168)]=_0x2919b4,this[_0x3613d9(0x1b3)]=_0x3595c6,this['_logService']=_0x5cc8c3,this['_mcpConnectionController']=_0x37ab86,this[_0x3613d9(0x2b1)](),this[_0x3613d9(0x14d)](),this[_0x3613d9(0x14c)]());}['showConfigPanel'](){const _0x225a46=_0x5e1569,_0x1df54d=this[_0x225a46(0x27f)][_0x225a46(0x1f5)](P);_0x1df54d!=null&&_0x1df54d[_0x225a46(0x238)]&&this['_dialogService']['open']({'id':D,'title':{'title':this[_0x225a46(0x1b3)]['t'](_0x225a46(0x260))},'children':{'label':_0x225a46(0x229)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x1d814e=_0x225a46;this[_0x1d814e(0x207)][_0x1d814e(0x26a)](D);}});}['getCurrentConfig'](){const _0x3fe860=_0x5e1569;return this[_0x3fe860(0x18a)]['value'];}[_0x5e1569(0x14c)](){const _0x150fdc=_0x5e1569;this[_0x150fdc(0x21e)](this[_0x150fdc(0x168)]['register'](_0x150fdc(0x229),this['_createConfigPanelComponent']()));}[_0x5e1569(0x143)](){const _0x1c3829=_0x5e1569;return v[_0x1c3829(0x247)](()=>{const _0x4b08ab=_0x1c3829;var _0x46885a,_0x22e845,_0x338701;return i[_0x4b08ab(0x1a2)](V,{'config':this[_0x4b08ab(0x25d)][_0x4b08ab(0x2bb)],'mcpCoreConfig':this[_0x4b08ab(0x18a)][_0x4b08ab(0x2bb)],'currentApiKey$':this[_0x4b08ab(0x1ac)],'onSave':this[_0x4b08ab(0x202)],'loading':this[_0x4b08ab(0x23f)]['value'],'connectionStatus$':(_0x46885a=this[_0x4b08ab(0x209)])==null?void 0x0:_0x46885a[_0x4b08ab(0x2b0)],'connectionError$':(_0x22e845=this[_0x4b08ab(0x209)])==null?void 0x0:_0x22e845['connectionError$'],'currentSessionId$':(_0x338701=this['_mcpConnectionController'])==null?void 0x0:_0x338701[_0x4b08ab(0x28e)]});},this['_injector']);}[_0x5e1569(0x2b1)](){const _0x3fbb6a=_0x5e1569;this[_0x3fbb6a(0x21e)](this[_0x3fbb6a(0x27f)]['subscribeConfigValue$'](s[_0x3fbb6a(0x225)])[_0x3fbb6a(0x240)](_0x3257c4=>{const _0x64f074=_0x3fbb6a;this[_0x64f074(0x18a)][_0x64f074(0x180)](_0x3257c4||{});}));const _0x46b68f=this['_configService']['getConfig'](s['MCP_PLUGIN_CONFIG_KEY']);this['_mcpCoreConfig$'][_0x3fbb6a(0x180)](_0x46b68f||{}),this[_0x3fbb6a(0x21e)](this[_0x3fbb6a(0x27f)]['subscribeConfigValue$'](P)['subscribe'](_0x29b541=>{const _0x49f72e=_0x3fbb6a;this['_config$'][_0x49f72e(0x180)](_0x29b541||{});}));const _0x308c2b=this[_0x3fbb6a(0x27f)]['getConfig'](P);this[_0x3fbb6a(0x25d)][_0x3fbb6a(0x180)](_0x308c2b||{});}async['_loadStoredApiKey'](){const _0x3830d8=_0x5e1569,_0x33c3d8=this[_0x3830d8(0x27f)]['getConfig'](P);if(!(_0x33c3d8!=null&&_0x33c3d8[_0x3830d8(0x238)]))return;const _0x5e6314=await this['_localStorageService'][_0x3830d8(0x221)](O);_0x5e6314&&(this[_0x3830d8(0x209)]['__setCustomHeaders']({'Authorization':_0x3830d8(0x217)+_0x5e6314}),this[_0x3830d8(0x1ac)][_0x3830d8(0x180)](_0x5e6314));}async[_0x5e1569(0x1d7)](_0x3efbf0){const _0x76c53c=_0x5e1569;if(!_0x3efbf0[_0x76c53c(0x1da)]||_0x3efbf0[_0x76c53c(0x1da)][_0x76c53c(0x222)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyRequired')};if(_0x3efbf0[_0x76c53c(0x1da)]['trim']()[_0x76c53c(0x199)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x183a83=await this[_0x76c53c(0x25a)][_0x76c53c(0x298)](s[_0x76c53c(0x137)])[_0x76c53c(0x20e)](_0x3efbf0['apiKey']['trim']());return _0x183a83[_0x76c53c(0x157)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x183a83[_0x76c53c(0x155)]||this[_0x76c53c(0x1b3)]['t'](_0x76c53c(0x2a2))};}catch(_0x429b70){return console[_0x76c53c(0x203)](_0x76c53c(0x2b4),_0x429b70),{'isValid':!0x0};}}},exports[_0x5e1569(0x223)]=xe([g(0x0,u['Inject'](u[_0x5e1569(0x151)])),g(0x1,v[_0x5e1569(0x1ea)]),g(0x2,u['IConfigService']),g(0x3,u[_0x5e1569(0x13d)]),g(0x4,v[_0x5e1569(0x19b)]),g(0x5,v['IMessageService']),g(0x6,u[_0x5e1569(0x294)](v[_0x5e1569(0x172)])),g(0x7,u[_0x5e1569(0x294)](u['LocaleService'])),g(0x8,u[_0x5e1569(0x1e7)]),g(0x9,u['Inject'](s[_0x5e1569(0x137)]))],exports[_0x5e1569(0x223)]);const b={'id':_0x5e1569(0x1d2),'type':u['CommandType'][_0x5e1569(0x251)],'handler':async(_0x4b7f1a,_0x3b334e)=>(_0x4b7f1a['get'](exports[_0x5e1569(0x223)])[_0x5e1569(0x16f)](),!0x0)};function Z(_0x53fa1e,_0xc371d8){const _0xfd7e86=_0x5e1569;switch(_0x53fa1e){case s['MCPConnectionStatus'][_0xfd7e86(0x21b)]:return'mcpStatus.disconnected';case s[_0xfd7e86(0x1a0)][_0xfd7e86(0x1fb)]:return _0xfd7e86(0x200);case s[_0xfd7e86(0x1a0)][_0xfd7e86(0x220)]:return _0xfd7e86(0x145);case s[_0xfd7e86(0x1a0)]['FAILED']:switch(_0xc371d8){case s[_0xfd7e86(0x2a5)][_0xfd7e86(0x213)]:return'mcpStatus.unauthorized';case s[_0xfd7e86(0x2a5)][_0xfd7e86(0x2a3)]:return _0xfd7e86(0x28f);case s['MCPConnectionError'][_0xfd7e86(0x206)]:return _0xfd7e86(0x191);case s['MCPConnectionError'][_0xfd7e86(0x1af)]:return _0xfd7e86(0x21f);default:return'mcpStatus.failed';}case s[_0xfd7e86(0x1a0)]['RETRYING']:return _0xfd7e86(0x162);default:return _0xfd7e86(0x1f6);}}function Se(_0x1f3b9f,_0x5990e8,_0x338292,_0x250f01=!0x0){const _0x5b258b=_0x5e1569,_0x9f6b23=Z(_0x1f3b9f,_0x5990e8),_0x4cf67b=_0x338292['t'](_0x9f6b23);return _0x250f01?_0x1f3b9f===s[_0x5b258b(0x1a0)][_0x5b258b(0x21b)]&&_0x5990e8===s[_0x5b258b(0x2a5)][_0x5b258b(0x213)]?_0x4cf67b+_0x5b258b(0x192)+_0x338292['t'](_0x5b258b(0x1f4)):_0x1f3b9f===s[_0x5b258b(0x1a0)]['CONNECTED']?''+_0x4cf67b:_0x1f3b9f===s['MCPConnectionStatus']['DISCONNECTED']||_0x1f3b9f===s['MCPConnectionStatus'][_0x5b258b(0x165)]?_0x4cf67b+'\x20-\x20'+_0x338292['t'](_0x5b258b(0x13a)):_0x4cf67b:_0x4cf67b;}function Pe(_0x3e05f7){const _0x1a6b7a=_0x5e1569;switch(_0x3e05f7){case s[_0x1a6b7a(0x1a0)][_0x1a6b7a(0x220)]:return _0x1a6b7a(0x246);case s[_0x1a6b7a(0x1a0)]['CONNECTING']:case s[_0x1a6b7a(0x1a0)]['RETRYING']:return'univer-text-yellow-500';case s[_0x1a6b7a(0x1a0)]['FAILED']:case s[_0x1a6b7a(0x1a0)][_0x1a6b7a(0x21b)]:return'univer-text-red-500';default:return _0x1a6b7a(0x224);}}function W(_0x30b207){const _0x2ddd81=_0x5e1569,{status$:_0x4b111f,error$:_0x4fb5f1,onConfigure:_0x2f1fe0,showClickable:_0x193eb5=!0x0}=_0x30b207,_0x457cfd=v[_0x2ddd81(0x248)](_0x4b111f,s[_0x2ddd81(0x1a0)][_0x2ddd81(0x21b)]),_0x4cca42=v[_0x2ddd81(0x248)](_0x4fb5f1,s[_0x2ddd81(0x2a5)][_0x2ddd81(0x21d)]),_0x5b7380=v[_0x2ddd81(0x1ce)](u[_0x2ddd81(0x1d9)]),_0x3a1bce=_0x457cfd===s[_0x2ddd81(0x1a0)][_0x2ddd81(0x220)];_0x457cfd===s['MCPConnectionStatus']['CONNECTING']||s[_0x2ddd81(0x1a0)][_0x2ddd81(0x288)];const _0x44520d=_0x5b7380['t'](Z(_0x457cfd,_0x4cca42)),_0x31653e=Se(_0x457cfd,_0x4cca42,_0x5b7380,_0x193eb5),_0x392da1=Pe(_0x457cfd),_0x426e69=_0x3a1bce?i[_0x2ddd81(0x1a2)](q,{}):i[_0x2ddd81(0x1a2)](Y,{}),_0x2c4093=d[_0x2ddd81(0x286)](()=>{_0x193eb5&&_0x2f1fe0&&_0x2f1fe0();},[_0x193eb5,_0x2f1fe0]);function _0x5b26f3(){const _0x7e5cb1=_0x2ddd81;return i[_0x7e5cb1(0x287)](_0x7e5cb1(0x267),{'className':f[_0x7e5cb1(0x290)](_0x7e5cb1(0x23b),_0x193eb5&&_0x2f1fe0&&_0x7e5cb1(0x140)),'role':_0x7e5cb1(0x25f),'onClick':_0x193eb5&&_0x2f1fe0?_0x2c4093:void 0x0,'children':[i[_0x7e5cb1(0x1a2)](_0x7e5cb1(0x267),{'className':f[_0x7e5cb1(0x290)](_0x7e5cb1(0x1f8),_0x392da1),'children':_0x426e69}),i['jsx'](_0x7e5cb1(0x267),{'className':_0x7e5cb1(0x204),'children':_0x44520d})]});}return i[_0x2ddd81(0x1a2)](f['Tooltip'],{'title':_0x31653e,'placement':_0x2ddd81(0x19e),'children':_0x5b26f3()});}var Ie=Object[_0x5e1569(0x1f0)],_e=(_0x309cc3,_0x530f8a,_0x459c9e,_0x5981a7)=>{const _0x3bf21a=_0x5e1569;for(var _0x5dc958=_0x5981a7>0x1?void 0x0:_0x5981a7?Ie(_0x530f8a,_0x459c9e):_0x530f8a,_0x2396ec=_0x309cc3[_0x3bf21a(0x199)]-0x1,_0xbb0d3a;_0x2396ec>=0x0;_0x2396ec--)(_0xbb0d3a=_0x309cc3[_0x2396ec])&&(_0x5dc958=_0xbb0d3a(_0x5dc958)||_0x5dc958);return _0x5dc958;},N=(_0xfb823e,_0x48e7e4)=>(_0x1f1b20,_0x3104d6)=>_0x48e7e4(_0x1f1b20,_0x3104d6,_0xfb823e);exports[_0x5e1569(0x27d)]=class extends u[_0x5e1569(0x1cf)]{constructor(_0x12d64c,_0x2a673f,_0x3e7350,_0x484c98){const _0x1a1e7c=_0x5e1569;super(),this[_0x1a1e7c(0x25a)]=_0x12d64c,this[_0x1a1e7c(0x1b5)]=_0x2a673f,this[_0x1a1e7c(0x20d)]=_0x3e7350,this[_0x1a1e7c(0x27f)]=_0x484c98,this[_0x1a1e7c(0x208)](),this[_0x1a1e7c(0x1a3)]();}[_0x5e1569(0x208)](){const _0x3fda06=_0x5e1569,_0x1927d5=this[_0x3fda06(0x27f)][_0x3fda06(0x1f5)](P);_0x1927d5!=null&&_0x1927d5['showDeveloperTools']&&(this[_0x3fda06(0x1b5)][_0x3fda06(0x262)]=!0x1);}['_initStatusComponent'](){const _0xfa76a7=_0x5e1569,_0x3bc873=this[_0xfa76a7(0x27f)][_0xfa76a7(0x1f5)](P);(_0x3bc873==null?void 0x0:_0x3bc873[_0xfa76a7(0x26e)])!==!0x1&&this[_0xfa76a7(0x21e)](this['_uiPartsService'][_0xfa76a7(0x266)](v[_0xfa76a7(0x264)][_0xfa76a7(0x19a)],()=>{const _0x29cae6=_0xfa76a7;var _0x38ec1f;return v['connectInjector'](ye({'status$':this[_0x29cae6(0x1b5)][_0x29cae6(0x2b0)],'error$':this[_0x29cae6(0x1b5)][_0x29cae6(0x2b3)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x38ec1f=_0x3bc873==null?void 0x0:_0x3bc873[_0x29cae6(0x238)])!=null?_0x38ec1f:!0x1}),this[_0x29cae6(0x25a)]);}));}['_handleConfigure'](){const _0x423a7f=_0x5e1569;this[_0x423a7f(0x25a)]['get'](exports['MCPConfigUIController'])[_0x423a7f(0x16f)]();}},exports[_0x5e1569(0x27d)]=_e([N(0x0,u['Inject'](u['Injector'])),N(0x1,u[_0x5e1569(0x294)](s['MCPConnectionController'])),N(0x2,v['IUIPartsService']),N(0x3,u['IConfigService'])],exports['MCPConnectionUIController']);function ye(_0x20d60d){const {status$:_0x413ef2,error$:_0x32a6b2,onConfigure:_0x56c1bc,showClickable:_0x57e84b}=_0x20d60d;return function(){const _0x441979=_0x5555;return i[_0x441979(0x1a2)](W,{'status$':_0x413ef2,'error$':_0x32a6b2,'onConfigure':_0x56c1bc,'showClickable':_0x57e84b});};}function Me(_0x5d2515){const _0x514e3e=_0x5e1569;return{'id':b['id'],'type':v[_0x514e3e(0x2aa)]['BUTTON'],'icon':_0x514e3e(0x2a7),'title':'mcpConfig.title','tooltip':_0x514e3e(0x260)};}const Ne={[v['RibbonStartGroup'][_0x5e1569(0x24c)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0x5e1569(0x1f0)],je=(_0xcea47d,_0x45359b,_0xe9b1ca,_0x6e7654)=>{const _0x5ca64d=_0x5e1569;for(var _0x217d93=_0x6e7654>0x1?void 0x0:_0x6e7654?be(_0x45359b,_0xe9b1ca):_0x45359b,_0x18b002=_0xcea47d[_0x5ca64d(0x199)]-0x1,_0x1e41ff;_0x18b002>=0x0;_0x18b002--)(_0x1e41ff=_0xcea47d[_0x18b002])&&(_0x217d93=_0x1e41ff(_0x217d93)||_0x217d93);return _0x217d93;},z=(_0x347e95,_0x35ac95)=>(_0x147bc2,_0x149b79)=>_0x35ac95(_0x147bc2,_0x149b79,_0x347e95);exports[_0x5e1569(0x1b6)]=class extends u[_0x5e1569(0x1cf)]{constructor(_0x53bbca,_0x4b1e61){const _0x3ddad2=_0x5e1569;super(),this[_0x3ddad2(0x2af)]=_0x53bbca,this[_0x3ddad2(0x27c)]=_0x4b1e61,this[_0x3ddad2(0x253)](),this['_initializeMenus']();}['_initializeCommands'](){const _0x2c52b3=_0x5e1569;[b][_0x2c52b3(0x1e1)](_0x5e0381=>{const _0x474e79=_0x2c52b3;this[_0x474e79(0x21e)](this[_0x474e79(0x2af)][_0x474e79(0x1c6)](_0x5e0381));});}[_0x5e1569(0x1f3)](){this['_menuManagerService']['mergeMenu'](Ne);}},exports[_0x5e1569(0x1b6)]=je([z(0x0,u[_0x5e1569(0x1ba)]),z(0x1,v[_0x5e1569(0x1dd)])],exports['MCPUIMenuController']);const Ee={'mcpStatus':{'disconnected':_0x5e1569(0x1c4),'connecting':_0x5e1569(0x1a8),'connected':'MCP\x20Connected','failed':_0x5e1569(0x29d),'retrying':_0x5e1569(0x1bb),'unknown':_0x5e1569(0x138),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x5e1569(0x289),'networkError':_0x5e1569(0x1f9),'maxRetriesExceeded':_0x5e1569(0x166),'clickToConnect':_0x5e1569(0x12f),'clickToConfigure':_0x5e1569(0x282)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x5e1569(0x177),'apiKey':_0x5e1569(0x1a5),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5e1569(0x1e9),'enableAuth':_0x5e1569(0x161),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5e1569(0x158),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x5e1569(0x1e8),'configStepTitle':_0x5e1569(0x1d6),'configStep1':_0x5e1569(0x1ab),'configStep2':_0x5e1569(0x184),'configStep3':_0x5e1569(0x2a0),'sessionId':'Session\x20ID','sessionIdDescription':_0x5e1569(0x18f),'authorizationDescription':_0x5e1569(0x1e0),'configParameters':_0x5e1569(0x195),'maxRetries':'Max\x20Retries','save':_0x5e1569(0x13c),'saving':'Saving...','note1':_0x5e1569(0x1e5),'note2':_0x5e1569(0x1b2),'configSaved':_0x5e1569(0x255),'configError':_0x5e1569(0x211),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5e1569(0x164),'univerAiLabel':_0x5e1569(0x28c),'getStarted':_0x5e1569(0x171)},'validation':{'apiKeyRequired':_0x5e1569(0x139),'apiKeyTooShort':_0x5e1569(0x194),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x5e1569(0x190)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x5e1569(0x1ff),'connected':'Connected','failed':_0x5e1569(0x26c),'retrying':_0x5e1569(0x227)},'connectionError':{'unauthorized':_0x5e1569(0x136),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5e1569(0x263),'maxRetriesExceeded':_0x5e1569(0x274)}}},we={'mcpStatus':{'disconnected':_0x5e1569(0x19c),'connecting':_0x5e1569(0x2b6),'connected':'MCP\x20已连接','failed':_0x5e1569(0x241),'retrying':'MCP\x20重连中...','unknown':_0x5e1569(0x22b),'unauthorized':_0x5e1569(0x228),'sessionOccupied':_0x5e1569(0x21a),'networkError':_0x5e1569(0x2b7),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x5e1569(0x1c5),'clickToConfigure':_0x5e1569(0x1c9)},'mcpConfig':{'title':'MCP\x20配置','description':_0x5e1569(0x14e),'apiKey':_0x5e1569(0x249),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x5e1569(0x14a),'enableAuth':'启用身份验证','enableAuthHint':_0x5e1569(0x149),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x5e1569(0x277),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x5e1569(0x250),'configStep1':_0x5e1569(0x254),'configStep2':_0x5e1569(0x176),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x5e1569(0x19d),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x5e1569(0x1be),'configParameters':_0x5e1569(0x1e6),'maxRetries':_0x5e1569(0x130),'save':_0x5e1569(0x299),'saving':'保存中...','note1':_0x5e1569(0x1b9),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x5e1569(0x29e),'apiApplyInfo':{'title':_0x5e1569(0x24a),'description':_0x5e1569(0x15b),'univerAiLabel':_0x5e1569(0x296),'getStarted':_0x5e1569(0x1a4)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x5e1569(0x1d3),'invalidConfig':_0x5e1569(0x1d8),'invalidApiKey':_0x5e1569(0x252)},'connectionStatus':{'disconnected':_0x5e1569(0x283),'connecting':_0x5e1569(0x276),'connected':_0x5e1569(0x189),'failed':'连接失败','retrying':_0x5e1569(0x268)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x5e1569(0x132),'networkError':_0x5e1569(0x1cc),'maxRetriesExceeded':_0x5e1569(0x205)}}};function _0x5555(_0x2fd3ce,_0x5cd3d9){_0x2fd3ce=_0x2fd3ce-0x12f;const _0x4582f8=_0x4582();let _0x5555ff=_0x4582f8[_0x2fd3ce];return _0x5555ff;}var Ae=Object['defineProperty'],Oe=Object['getOwnPropertyDescriptor'],De=(_0xd8af05,_0xa0e05f,_0x222c7a)=>_0xa0e05f in _0xd8af05?Ae(_0xd8af05,_0xa0e05f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x222c7a}):_0xd8af05[_0xa0e05f]=_0x222c7a,Ue=(_0x381d67,_0x31995b,_0x3f10be,_0x16504b)=>{const _0x37f2f7=_0x5e1569;for(var _0x37f217=_0x16504b>0x1?void 0x0:_0x16504b?Oe(_0x31995b,_0x3f10be):_0x31995b,_0x98c6ae=_0x381d67[_0x37f2f7(0x199)]-0x1,_0x3c186d;_0x98c6ae>=0x0;_0x98c6ae--)(_0x3c186d=_0x381d67[_0x98c6ae])&&(_0x37f217=_0x3c186d(_0x37f217)||_0x37f217);return _0x37f217;},y=(_0x17af71,_0xec331a)=>(_0x10c121,_0x2cc31b)=>_0xec331a(_0x10c121,_0x2cc31b,_0x17af71),$e=(_0x5063fa,_0x539e4b,_0x443eac)=>De(_0x5063fa,_0x539e4b+'',_0x443eac);exports[_0x5e1569(0x272)]=class extends u[_0x5e1569(0x292)]{constructor(_0x4e2cb0=L,_0x31e76b,_0x435f1f,_0x2c348f,_0x4f9e4a,_0x39abc1){const _0x29b728=_0x5e1569;super(),this[_0x29b728(0x23c)]=_0x4e2cb0,this[_0x29b728(0x25a)]=_0x31e76b,this[_0x29b728(0x27f)]=_0x435f1f,this[_0x29b728(0x20d)]=_0x2c348f,this[_0x29b728(0x18b)]=_0x4f9e4a,this[_0x29b728(0x1b3)]=_0x39abc1;const {..._0x336c63}=u[_0x29b728(0x218)]({},L,this[_0x29b728(0x23c)]);this[_0x29b728(0x27f)][_0x29b728(0x1e3)](P,_0x336c63);}async[_0x5e1569(0x1c8)](){const _0x19f766=_0x5e1569,_0x26e770=[[exports[_0x19f766(0x27d)]],[exports[_0x19f766(0x223)]],[exports[_0x19f766(0x1b6)]]];this[_0x19f766(0x25a)][_0x19f766(0x1b0)](A[_0x19f766(0x256)])||_0x26e770[_0x19f766(0x2ba)]([A[_0x19f766(0x256)],{'useClass':A[_0x19f766(0x22f)]}]),_0x26e770[_0x19f766(0x1e1)](_0x567d6f=>this[_0x19f766(0x25a)][_0x19f766(0x25b)](_0x567d6f)),this[_0x19f766(0x25a)][_0x19f766(0x298)](exports[_0x19f766(0x27d)]),this[_0x19f766(0x25a)][_0x19f766(0x298)](exports[_0x19f766(0x223)]),this['_injector'][_0x19f766(0x298)](exports[_0x19f766(0x1b6)]);}},$e(exports['UniverMCPUIPlugin'],_0x5e1569(0x134),'MCP_UI_PLUGIN'),exports['UniverMCPUIPlugin']=Ue([u[_0x5e1569(0x1b4)](s[_0x5e1569(0x193)]),y(0x1,u[_0x5e1569(0x294)](u[_0x5e1569(0x151)])),y(0x2,u[_0x5e1569(0x1ee)]),y(0x3,v[_0x5e1569(0x1ea)]),y(0x4,u[_0x5e1569(0x13d)]),y(0x5,u[_0x5e1569(0x294)](u[_0x5e1569(0x1d9)]))],exports[_0x5e1569(0x272)]),exports[_0x5e1569(0x229)]=V,exports[_0x5e1569(0x2ac)]=W,exports['OpenMCPConfigPanelCommand']=b,exports[_0x5e1569(0x29a)]=Ee,exports[_0x5e1569(0x28a)]=we;
@@ -1 +1 @@
1
- 'use strict';function _0x30a1(){const _0x438ea9=['Click\x20to\x20configure\x20MCP','Retrying...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connection\x20Failed','Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','647966XsGJBy','Univer\x20AI\x20Console','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Enable\x20Authentication','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','140ZNsxUR','Save\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','170208fWDdrS','MCP\x20Client\x20Configuration','API\x20key\x20is\x20required','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Configuration','1732jCOJuE','398TBiEPf','Disconnected','MCP:\x20Session\x20ID\x20Occupied','934176YHjzRu','Enter\x20your\x20API\x20key','What\x20is\x20API\x20Key?','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','85770qjtRul','2933562BsXZgM','Failed\x20to\x20save\x20configuration','Click\x20to\x20connect\x20MCP','4344768Omjjgh','Max\x20Retries','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Retrying...','MCP\x20Connecting...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Steps:','Configuration\x20Parameters:','exports','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session\x20ID','140lWgRRg','MCP:\x20Unauthorized','MCP:\x20Max\x20Retries\x20Exceeded','7ONGbUR','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Unknown\x20Status'];_0x30a1=function(){return _0x438ea9;};return _0x30a1();}function _0x41eb(_0x26c04d,_0x2767c1){_0x26c04d=_0x26c04d-0x9a;const _0x30a141=_0x30a1();let _0x41eb2e=_0x30a141[_0x26c04d];return _0x41eb2e;}const _0x33033e=_0x41eb;(function(_0x30bbf9,_0x3fcabf){const _0x669de6=_0x41eb,_0x5c53d5=_0x30bbf9();while(!![]){try{const _0x3662c1=parseInt(_0x669de6(0xc9))/0x1*(-parseInt(_0x669de6(0xc8))/0x2)+parseInt(_0x669de6(0x9c))/0x3+-parseInt(_0x669de6(0xa8))/0x4*(parseInt(_0x669de6(0xd0))/0x5)+parseInt(_0x669de6(0xd1))/0x6*(-parseInt(_0x669de6(0xab))/0x7)+-parseInt(_0x669de6(0xcc))/0x8+parseInt(_0x669de6(0xc1))/0x9+parseInt(_0x669de6(0xba))/0xa*(parseInt(_0x669de6(0xb4))/0xb);if(_0x3662c1===_0x3fcabf)break;else _0x5c53d5['push'](_0x5c53d5['shift']());}catch(_0xcc2dfa){_0x5c53d5['push'](_0x5c53d5['shift']());}}}(_0x30a1,0xb4ee7));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x33033e(0xa0),'connected':'MCP\x20Connected','failed':_0x33033e(0xb1),'retrying':_0x33033e(0x9f),'unknown':_0x33033e(0xad),'unauthorized':_0x33033e(0xa9),'sessionOccupied':_0x33033e(0xcb),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x33033e(0xaa),'clickToConnect':_0x33033e(0x9b),'clickToConfigure':_0x33033e(0xae)},'mcpConfig':{'title':_0x33033e(0xc7),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x33033e(0xcd),'apiKeyHint':_0x33033e(0xc0),'enableAuth':_0x33033e(0xb7),'enableAuthHint':_0x33033e(0xb3),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x33033e(0xc2),'configInstructions':_0x33033e(0xac),'configStepTitle':_0x33033e(0xa2),'configStep1':_0x33033e(0xbc),'configStep2':_0x33033e(0xa1),'configStep3':_0x33033e(0xc4),'sessionId':_0x33033e(0xa7),'sessionIdDescription':_0x33033e(0xb6),'authorizationDescription':_0x33033e(0xc6),'configParameters':_0x33033e(0xa3),'maxRetries':_0x33033e(0x9d),'save':_0x33033e(0xbb),'saving':_0x33033e(0xbf),'note1':_0x33033e(0xcf),'note2':_0x33033e(0xc5),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x33033e(0x9a),'apiApplyInfo':{'title':_0x33033e(0xce),'description':_0x33033e(0xbe),'univerAiLabel':_0x33033e(0xb5),'getStarted':_0x33033e(0xa5)},'validation':{'apiKeyRequired':_0x33033e(0xc3),'apiKeyTooShort':_0x33033e(0xb8),'invalidConfig':_0x33033e(0xbd),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x33033e(0xca),'connecting':'Connecting...','connected':_0x33033e(0xb9),'failed':_0x33033e(0xb2),'retrying':_0x33033e(0xaf)},'connectionError':{'unauthorized':_0x33033e(0xb0),'sessionOccupied':_0x33033e(0x9e),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x33033e(0xa6)}}},n=e;module[_0x33033e(0xa4)]=n;
1
+ 'use strict';const _0x860663=_0x1989;(function(_0x732a9a,_0x527f9c){const _0xadafa7=_0x1989,_0x503572=_0x732a9a();while(!![]){try{const _0x954f51=parseInt(_0xadafa7(0xc1))/0x1+-parseInt(_0xadafa7(0xbb))/0x2*(-parseInt(_0xadafa7(0x9d))/0x3)+parseInt(_0xadafa7(0x95))/0x4+-parseInt(_0xadafa7(0xb8))/0x5*(parseInt(_0xadafa7(0xc4))/0x6)+parseInt(_0xadafa7(0x9e))/0x7*(parseInt(_0xadafa7(0x93))/0x8)+parseInt(_0xadafa7(0xa9))/0x9+parseInt(_0xadafa7(0xc0))/0xa*(-parseInt(_0xadafa7(0xc2))/0xb);if(_0x954f51===_0x527f9c)break;else _0x503572['push'](_0x503572['shift']());}catch(_0x2ebe2e){_0x503572['push'](_0x503572['shift']());}}}(_0xa763,0x696f8));function _0xa763(){const _0x53d7ce=['680321dSWhtl','25985201SYBkQV','Get\x20your\x20API\x20key\x20in\x20seconds','186saSNUI','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:','Saving...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','5224PVpOzx','Disconnected','2202192rNbiaX','MCP\x20Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connected','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','219ABgVTG','1687EcolRL','MCP:\x20Network\x20Error','Invalid\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20configure\x20MCP','Enter\x20your\x20API\x20key','What\x20is\x20API\x20Key?','Connection\x20Failed','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','6801822Melpvf','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Retrying...','Max\x20Retries','MCP\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','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:\x20Unauthorized','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','MCP\x20Client\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','Retrying...','16175JQKXgt','MCP\x20Connection\x20Failed','Save\x20Configuration','20560cEsRkb','exports','Connected','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','10TcLtaR'];_0xa763=function(){return _0x53d7ce;};return _0xa763();}const e={'mcpStatus':{'disconnected':_0x860663(0x96),'connecting':_0x860663(0x9a),'connected':_0x860663(0x98),'failed':_0x860663(0xb9),'retrying':_0x860663(0xac),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x860663(0xb1),'sessionOccupied':_0x860663(0xab),'networkError':_0x860663(0x9f),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x860663(0xa4)},'mcpConfig':{'title':_0x860663(0xae),'description':_0x860663(0x92),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x860663(0xa5),'apiKeyHint':_0x860663(0xaa),'enableAuth':_0x860663(0xb3),'enableAuthHint':_0x860663(0xb2),'connectionInfo':_0x860663(0xb4),'mcpClientConfig':_0x860663(0xb4),'configInstructions':_0x860663(0xaf),'configStepTitle':_0x860663(0xc6),'configStep1':_0x860663(0x99),'configStep2':_0x860663(0xa3),'configStep3':_0x860663(0x9c),'sessionId':'Session\x20ID','sessionIdDescription':_0x860663(0xa2),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x860663(0xad),'save':_0x860663(0xba),'saving':_0x860663(0xc7),'note1':_0x860663(0xa8),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x860663(0xbf),'configError':_0x860663(0xbe),'apiApplyInfo':{'title':_0x860663(0xa6),'description':_0x860663(0xb0),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x860663(0xc3)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x860663(0xa0),'invalidApiKey':_0x860663(0x97)},'connectionStatus':{'disconnected':_0x860663(0x94),'connecting':_0x860663(0xb6),'connected':_0x860663(0xbd),'failed':_0x860663(0xa7),'retrying':_0x860663(0xb7)},'connectionError':{'unauthorized':_0x860663(0xb5),'sessionOccupied':_0x860663(0xc5),'networkError':_0x860663(0xa1),'maxRetriesExceeded':_0x860663(0x9b)}}},n=e;function _0x1989(_0xbd4802,_0x248906){_0xbd4802=_0xbd4802-0x92;const _0xa763ff=_0xa763();let _0x1989a5=_0xa763ff[_0xbd4802];return _0x1989a5;}module[_0x860663(0xbc)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0xf9fb27=_0x8056;function _0x19c4(){const _0x5084fa=['MCP\x20Configuration','772658JGbOzq','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Session\x20ID','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','exports','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Network\x20Error','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Failed\x20to\x20save\x20configuration','8LvAtkl','API\x20Key','20rlRqEb','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Unauthorized','Univer\x20AI\x20Console','Configuration\x20Parameters:','MCP\x20Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','1347850FEoCHM','2863231tJOdWl','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','9295578uJuVzi','5462784GkobAB','41040dywZOV','7174700oKlkvo','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.','Saving...','MCP\x20Connected','API\x20key\x20is\x20required','Max\x20Retries','3YpCVtX','MCP\x20Client\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20Authentication','Retrying...'];_0x19c4=function(){return _0x5084fa;};return _0x19c4();}(function(_0x1f3b77,_0x30b1d9){const _0x3ddb0e=_0x8056,_0xee3d2a=_0x1f3b77();while(!![]){try{const _0x4831b0=parseInt(_0x3ddb0e(0xbb))/0x1+-parseInt(_0x3ddb0e(0xa5))/0x2*(-parseInt(_0x3ddb0e(0xb2))/0x3)+-parseInt(_0x3ddb0e(0x9d))/0x4*(parseInt(_0x3ddb0e(0xaa))/0x5)+-parseInt(_0x3ddb0e(0xa9))/0x6+parseInt(_0x3ddb0e(0xa6))/0x7+-parseInt(_0x3ddb0e(0x9b))/0x8*(parseInt(_0x3ddb0e(0xa8))/0x9)+parseInt(_0x3ddb0e(0xab))/0xa;if(_0x4831b0===_0x30b1d9)break;else _0xee3d2a['push'](_0xee3d2a['shift']());}catch(_0x258b49){_0xee3d2a['push'](_0xee3d2a['shift']());}}}(_0x19c4,0x8fbc4));const e={'mcpStatus':{'disconnected':_0xf9fb27(0xa2),'connecting':'MCP\x20Connecting...','connected':_0xf9fb27(0xaf),'failed':_0xf9fb27(0x98),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0xf9fb27(0x9f),'sessionOccupied':_0xf9fb27(0xb4),'networkError':_0xf9fb27(0x94),'maxRetriesExceeded':_0xf9fb27(0xb6),'clickToConnect':_0xf9fb27(0xac),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xf9fb27(0xba),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xf9fb27(0x9c),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xf9fb27(0x90),'enableAuth':_0xf9fb27(0xb8),'enableAuthHint':_0xf9fb27(0x93),'connectionInfo':_0xf9fb27(0xb3),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0xf9fb27(0xb5),'configStepTitle':_0xf9fb27(0x8f),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0xf9fb27(0xa7),'sessionId':_0xf9fb27(0xbd),'sessionIdDescription':_0xf9fb27(0xad),'authorizationDescription':_0xf9fb27(0x9e),'configParameters':_0xf9fb27(0xa1),'maxRetries':_0xf9fb27(0xb1),'save':'Save\x20Configuration','saving':_0xf9fb27(0xae),'note1':_0xf9fb27(0xb7),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0xf9fb27(0x9a),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xf9fb27(0xbc),'univerAiLabel':_0xf9fb27(0xa0),'getStarted':_0xf9fb27(0x95)},'validation':{'apiKeyRequired':_0xf9fb27(0xb0),'apiKeyTooShort':_0xf9fb27(0xbe),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0xf9fb27(0x99)},'connectionStatus':{'disconnected':_0xf9fb27(0x91),'connecting':_0xf9fb27(0xa4),'connected':'Connected','failed':_0xf9fb27(0x96),'retrying':_0xf9fb27(0xb9)},'connectionError':{'unauthorized':_0xf9fb27(0xa3),'sessionOccupied':_0xf9fb27(0x92),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0xf9fb27(0x97)}}};function _0x8056(_0x32749f,_0x51c0b5){_0x32749f=_0x32749f-0x8e;const _0x19c415=_0x19c4();let _0x805645=_0x19c415[_0x32749f];return _0x805645;}module[_0xf9fb27(0x8e)]=e;
1
+ 'use strict';const _0x55acf8=_0x33d2;(function(_0x1cd916,_0x8c3e32){const _0x314ce9=_0x33d2,_0x3faa22=_0x1cd916();while(!![]){try{const _0x51ca0e=parseInt(_0x314ce9(0x152))/0x1*(-parseInt(_0x314ce9(0x146))/0x2)+parseInt(_0x314ce9(0x133))/0x3+-parseInt(_0x314ce9(0x12b))/0x4+parseInt(_0x314ce9(0x13d))/0x5+-parseInt(_0x314ce9(0x149))/0x6+-parseInt(_0x314ce9(0x137))/0x7+parseInt(_0x314ce9(0x14b))/0x8;if(_0x51ca0e===_0x8c3e32)break;else _0x3faa22['push'](_0x3faa22['shift']());}catch(_0x4332c7){_0x3faa22['push'](_0x3faa22['shift']());}}}(_0x5b07,0x8ceb6));function _0x33d2(_0x58788b,_0x1430a0){_0x58788b=_0x58788b-0x128;const _0x5b0755=_0x5b07();let _0x33d240=_0x5b0755[_0x58788b];return _0x33d240;}const e={'mcpStatus':{'disconnected':_0x55acf8(0x154),'connecting':_0x55acf8(0x131),'connected':'MCP\x20Connected','failed':_0x55acf8(0x158),'retrying':_0x55acf8(0x147),'unknown':_0x55acf8(0x13b),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x55acf8(0x159),'networkError':_0x55acf8(0x13f),'maxRetriesExceeded':_0x55acf8(0x145),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x55acf8(0x140)},'mcpConfig':{'title':_0x55acf8(0x138),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x55acf8(0x14a),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x55acf8(0x12c),'enableAuth':_0x55acf8(0x157),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x55acf8(0x15a),'configInstructions':_0x55acf8(0x12e),'configStepTitle':_0x55acf8(0x136),'configStep1':_0x55acf8(0x151),'configStep2':_0x55acf8(0x12d),'configStep3':_0x55acf8(0x130),'sessionId':_0x55acf8(0x148),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x55acf8(0x139),'configParameters':_0x55acf8(0x150),'maxRetries':'Max\x20Retries','save':_0x55acf8(0x14d),'saving':_0x55acf8(0x132),'note1':_0x55acf8(0x13a),'note2':_0x55acf8(0x135),'configSaved':_0x55acf8(0x143),'configError':_0x55acf8(0x144),'apiApplyInfo':{'title':_0x55acf8(0x129),'description':_0x55acf8(0x142),'univerAiLabel':_0x55acf8(0x13c),'getStarted':_0x55acf8(0x15b)},'validation':{'apiKeyRequired':_0x55acf8(0x155),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x55acf8(0x12f)},'connectionStatus':{'disconnected':_0x55acf8(0x134),'connecting':_0x55acf8(0x14e),'connected':_0x55acf8(0x12a),'failed':_0x55acf8(0x141),'retrying':_0x55acf8(0x156)},'connectionError':{'unauthorized':_0x55acf8(0x128),'sessionOccupied':_0x55acf8(0x13e),'networkError':_0x55acf8(0x153),'maxRetriesExceeded':_0x55acf8(0x14f)}}};function _0x5b07(){const _0x328a26=['MCP:\x20Network\x20Error','Click\x20to\x20configure\x20MCP','Connection\x20Failed','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20saved\x20successfully','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','2956hJENLn','MCP\x20Retrying...','Session\x20ID','2763120GcBeUn','API\x20Key','20432576DJdaKW','exports','Save\x20Configuration','Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20Parameters:','Copy\x20the\x20JSON\x20configuration\x20below','178cHKzZl','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Disconnected','API\x20key\x20is\x20required','Retrying...','Enable\x20Authentication','MCP\x20Connection\x20Failed','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Client\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','What\x20is\x20API\x20Key?','Connected','2211032bVtvrk','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connecting...','Saving...','98871iTXSHP','Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20Steps:','5549838rIbEFa','MCP\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Unknown\x20Status','Univer\x20AI\x20Console','296865wvnugz','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later'];_0x5b07=function(){return _0x328a26;};return _0x5b07();}module[_0x55acf8(0x14c)]=e;
@@ -1 +1 @@
1
- 'use strict';function _0x1081(_0x2f3e79,_0x58d5da){_0x2f3e79=_0x2f3e79-0x161;const _0x294d47=_0x294d();let _0x1081ca=_0x294d47[_0x2f3e79];return _0x1081ca;}const _0x3f3399=_0x1081;(function(_0x29e5df,_0x2f0cb8){const _0x1e6dfb=_0x1081,_0x189796=_0x29e5df();while(!![]){try{const _0x51fc0e=-parseInt(_0x1e6dfb(0x192))/0x1+parseInt(_0x1e6dfb(0x16d))/0x2*(parseInt(_0x1e6dfb(0x18d))/0x3)+-parseInt(_0x1e6dfb(0x166))/0x4+-parseInt(_0x1e6dfb(0x167))/0x5*(-parseInt(_0x1e6dfb(0x18f))/0x6)+parseInt(_0x1e6dfb(0x16e))/0x7+parseInt(_0x1e6dfb(0x190))/0x8*(parseInt(_0x1e6dfb(0x180))/0x9)+-parseInt(_0x1e6dfb(0x168))/0xa;if(_0x51fc0e===_0x2f0cb8)break;else _0x189796['push'](_0x189796['shift']());}catch(_0x528ca1){_0x189796['push'](_0x189796['shift']());}}}(_0x294d,0x72ac2));function _0x294d(){const _0x235f7c=['MCP:\x20Unauthorized','Copy\x20the\x20JSON\x20configuration\x20below','124bsUsQo','3302348ANMsSU','Configuration\x20Steps:','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Max\x20Retries','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','Connection\x20Failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Parameters:','MCP:\x20Max\x20Retries\x20Exceeded','Enter\x20your\x20API\x20key','Connected','Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','7996977glvFiT','Disconnected','API\x20key\x20is\x20required','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Connection\x20Failed','Save\x20Configuration','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Invalid\x20configuration','Connecting...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Network\x20Error','14286HmSHiM','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','690366wKhqQZ','8qgZCRd','MCP\x20Unknown\x20Status','566691vUfGSi','MCP:\x20Session\x20ID\x20Occupied','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1752692SxwNwD','25uzbjVY','7563040bSAxyk','Get\x20your\x20API\x20key\x20in\x20seconds','What\x20is\x20API\x20Key?'];_0x294d=function(){return _0x235f7c;};return _0x294d();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x3f3399(0x174),'connected':'MCP\x20Connected','failed':_0x3f3399(0x184),'retrying':'MCP\x20Retrying...','unknown':_0x3f3399(0x191),'unauthorized':_0x3f3399(0x16b),'sessionOccupied':_0x3f3399(0x193),'networkError':_0x3f3399(0x18c),'maxRetriesExceeded':_0x3f3399(0x17b),'clickToConnect':_0x3f3399(0x170),'clickToConfigure':_0x3f3399(0x173)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3f3399(0x171),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x3f3399(0x17c),'apiKeyHint':_0x3f3399(0x18b),'enableAuth':_0x3f3399(0x176),'enableAuthHint':_0x3f3399(0x175),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x3f3399(0x187),'configStepTitle':_0x3f3399(0x16f),'configStep1':_0x3f3399(0x16c),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3f3399(0x161),'sessionId':_0x3f3399(0x164),'sessionIdDescription':_0x3f3399(0x183),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3f3399(0x17a),'maxRetries':_0x3f3399(0x172),'save':_0x3f3399(0x185),'saving':_0x3f3399(0x186),'note1':_0x3f3399(0x179),'note2':_0x3f3399(0x178),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3f3399(0x16a),'description':_0x3f3399(0x18e),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x3f3399(0x169)},'validation':{'apiKeyRequired':_0x3f3399(0x182),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x3f3399(0x189),'invalidApiKey':_0x3f3399(0x165)},'connectionStatus':{'disconnected':_0x3f3399(0x181),'connecting':_0x3f3399(0x18a),'connected':_0x3f3399(0x17d),'failed':_0x3f3399(0x177),'retrying':_0x3f3399(0x17e)},'connectionError':{'unauthorized':_0x3f3399(0x188),'sessionOccupied':_0x3f3399(0x163),'networkError':_0x3f3399(0x162),'maxRetriesExceeded':_0x3f3399(0x17f)}}},n=e;module['exports']=n;
1
+ 'use strict';const _0x429850=_0x2924;function _0x2924(_0x57dd99,_0x4d9fee){_0x57dd99=_0x57dd99-0x196;const _0x31d439=_0x31d4();let _0x2924c8=_0x31d439[_0x57dd99];return _0x2924c8;}(function(_0x38ce00,_0x46d447){const _0x137604=_0x2924,_0x4442e8=_0x38ce00();while(!![]){try{const _0x5b8314=parseInt(_0x137604(0x1ca))/0x1*(-parseInt(_0x137604(0x1a3))/0x2)+parseInt(_0x137604(0x1a8))/0x3+parseInt(_0x137604(0x1a9))/0x4*(-parseInt(_0x137604(0x1ba))/0x5)+parseInt(_0x137604(0x1ab))/0x6+-parseInt(_0x137604(0x1bf))/0x7+parseInt(_0x137604(0x1c9))/0x8*(-parseInt(_0x137604(0x1af))/0x9)+parseInt(_0x137604(0x1c5))/0xa;if(_0x5b8314===_0x46d447)break;else _0x4442e8['push'](_0x4442e8['shift']());}catch(_0x4f2314){_0x4442e8['push'](_0x4442e8['shift']());}}}(_0x31d4,0x93253));const e={'mcpStatus':{'disconnected':_0x429850(0x1be),'connecting':_0x429850(0x1bd),'connected':_0x429850(0x19a),'failed':_0x429850(0x19d),'retrying':_0x429850(0x1a1),'unknown':_0x429850(0x1b8),'unauthorized':_0x429850(0x1b5),'sessionOccupied':_0x429850(0x1b6),'networkError':_0x429850(0x198),'maxRetriesExceeded':_0x429850(0x1ae),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x429850(0x1c6)},'mcpConfig':{'title':_0x429850(0x1b3),'description':_0x429850(0x1ac),'apiKey':_0x429850(0x1b1),'apiKeyPlaceholder':_0x429850(0x1c3),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x429850(0x1c0),'enableAuthHint':_0x429850(0x19e),'connectionInfo':_0x429850(0x1b7),'mcpClientConfig':_0x429850(0x1b7),'configInstructions':_0x429850(0x1a5),'configStepTitle':_0x429850(0x1b9),'configStep1':_0x429850(0x19c),'configStep2':_0x429850(0x1c7),'configStep3':_0x429850(0x1c1),'sessionId':_0x429850(0x1b0),'sessionIdDescription':_0x429850(0x1aa),'authorizationDescription':_0x429850(0x1a2),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x429850(0x1a7),'save':_0x429850(0x199),'saving':_0x429850(0x1bc),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x429850(0x1c8),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x429850(0x1ad),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x429850(0x197),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x429850(0x19b)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x429850(0x19f),'invalidConfig':_0x429850(0x1b2),'invalidApiKey':_0x429850(0x1bb)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x429850(0x1a4),'failed':_0x429850(0x1b4),'retrying':_0x429850(0x196)},'connectionError':{'unauthorized':_0x429850(0x1c2),'sessionOccupied':_0x429850(0x1c4),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x429850(0x1a6)}}},n=e;function _0x31d4(){const _0x4ce694=['Get\x20your\x20API\x20key\x20in\x20seconds','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','exports','MCP\x20Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','185452ehXTVY','Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Max\x20Retries','1284645DgFLHq','152qztVhn','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','4740990IqcPWz','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','9vThvRA','Session\x20ID','API\x20Key','Invalid\x20configuration','MCP\x20Configuration','Connection\x20Failed','MCP:\x20Unauthorized','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Client\x20Configuration','MCP\x20Unknown\x20Status','Configuration\x20Steps:','134620TkegsG','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Saving...','MCP\x20Connecting...','MCP\x20Disconnected','2843050jMfDaF','Enable\x20Authentication','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Enter\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','24437840jMJzUJ','Click\x20to\x20configure\x20MCP','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','9332520heuQkD','5YmdaAh','Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Network\x20Error','Save\x20Configuration','MCP\x20Connected'];_0x31d4=function(){return _0x4ce694;};return _0x31d4();}module[_0x429850(0x1a0)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x2eaa99=_0x3621;function _0x93c9(){const _0x27e3f2=['Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Saving...','2191088XfAfsk','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','12hpCvDK','MCP:\x20Unauthorized','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20configure\x20MCP','Save\x20Configuration','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enter\x20your\x20API\x20key','256CTRJoT','exports','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Max\x20Retries\x20Exceeded','Disconnected','259026TDsGTq','API\x20key\x20with\x20Bearer\x20prefix.','69552SqjNte','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','706315vfXRtd','Enable\x20Authentication','MCP\x20Unknown\x20Status','Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','1800429Raqnzg','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','462598hWeYoB','MCP:\x20Network\x20Error','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Retrying...','2488680tzDPpm','MCP\x20Client\x20Configuration','Session\x20ID','Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Get\x20your\x20API\x20key\x20in\x20seconds','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','Click\x20to\x20connect\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage'];_0x93c9=function(){return _0x27e3f2;};return _0x93c9();}(function(_0x12a024,_0x32d993){const _0x5a8b14=_0x3621,_0x432045=_0x12a024();while(!![]){try{const _0x18a631=parseInt(_0x5a8b14(0xfd))/0x1+parseInt(_0x5a8b14(0xda))/0x2+parseInt(_0x5a8b14(0xd8))/0x3+-parseInt(_0x5a8b14(0xec))/0x4+-parseInt(_0x5a8b14(0x101))/0x5*(parseInt(_0x5a8b14(0xee))/0x6)+-parseInt(_0x5a8b14(0xff))/0x7*(-parseInt(_0x5a8b14(0xf8))/0x8)+-parseInt(_0x5a8b14(0xde))/0x9;if(_0x18a631===_0x32d993)break;else _0x432045['push'](_0x432045['shift']());}catch(_0x30b250){_0x432045['push'](_0x432045['shift']());}}}(_0x93c9,0x49a22));function _0x3621(_0x59dd7f,_0x5bce68){_0x59dd7f=_0x59dd7f-0xd8;const _0x93c9eb=_0x93c9();let _0x3621c3=_0x93c9eb[_0x59dd7f];return _0x3621c3;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x2eaa99(0x103),'unauthorized':_0x2eaa99(0xef),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x2eaa99(0xdb),'maxRetriesExceeded':_0x2eaa99(0xfb),'clickToConnect':_0x2eaa99(0xe6),'clickToConfigure':_0x2eaa99(0xf3)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2eaa99(0xfa),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2eaa99(0xf7),'apiKeyHint':_0x2eaa99(0xd9),'enableAuth':_0x2eaa99(0x102),'enableAuthHint':_0x2eaa99(0xf2),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2eaa99(0xdf),'configInstructions':_0x2eaa99(0x100),'configStepTitle':_0x2eaa99(0xe8),'configStep1':_0x2eaa99(0x105),'configStep2':_0x2eaa99(0xe2),'configStep3':_0x2eaa99(0xea),'sessionId':_0x2eaa99(0xe0),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2eaa99(0xfe),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x2eaa99(0xf4),'saving':_0x2eaa99(0xeb),'note1':_0x2eaa99(0xf1),'note2':_0x2eaa99(0xe9),'configSaved':_0x2eaa99(0xe5),'configError':_0x2eaa99(0xe4),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2eaa99(0xed),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x2eaa99(0xe3)},'validation':{'apiKeyRequired':_0x2eaa99(0xf5),'apiKeyTooShort':_0x2eaa99(0xdc),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x2eaa99(0xf6)},'connectionStatus':{'disconnected':_0x2eaa99(0xfc),'connecting':_0x2eaa99(0x104),'connected':_0x2eaa99(0xe1),'failed':'Connection\x20Failed','retrying':_0x2eaa99(0xdd)},'connectionError':{'unauthorized':_0x2eaa99(0xf0),'sessionOccupied':_0x2eaa99(0xe7),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x2eaa99(0xf9)]=n;
1
+ 'use strict';const _0x275e99=_0x2a55;function _0x2a55(_0x331393,_0x162144){_0x331393=_0x331393-0x9d;const _0x1776c8=_0x1776();let _0x2a551b=_0x1776c8[_0x331393];return _0x2a551b;}(function(_0x2ddf0c,_0x5f3ac4){const _0x5e118f=_0x2a55,_0x3aa2cc=_0x2ddf0c();while(!![]){try{const _0xcc4df3=parseInt(_0x5e118f(0xb9))/0x1*(parseInt(_0x5e118f(0xc3))/0x2)+parseInt(_0x5e118f(0xb7))/0x3*(parseInt(_0x5e118f(0xbf))/0x4)+parseInt(_0x5e118f(0xa7))/0x5+parseInt(_0x5e118f(0xa5))/0x6*(-parseInt(_0x5e118f(0xa6))/0x7)+-parseInt(_0x5e118f(0x9f))/0x8+parseInt(_0x5e118f(0xab))/0x9*(parseInt(_0x5e118f(0xcb))/0xa)+-parseInt(_0x5e118f(0xaf))/0xb*(parseInt(_0x5e118f(0xc9))/0xc);if(_0xcc4df3===_0x5f3ac4)break;else _0x3aa2cc['push'](_0x3aa2cc['shift']());}catch(_0x592ff2){_0x3aa2cc['push'](_0x3aa2cc['shift']());}}}(_0x1776,0x1a903));const e={'mcpStatus':{'disconnected':_0x275e99(0xbd),'connecting':_0x275e99(0xb4),'connected':_0x275e99(0xb2),'failed':_0x275e99(0xa0),'retrying':_0x275e99(0xa4),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x275e99(0xc0),'maxRetriesExceeded':_0x275e99(0xad),'clickToConnect':_0x275e99(0xac),'clickToConfigure':_0x275e99(0xa9)},'mcpConfig':{'title':_0x275e99(0xcc),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x275e99(0xba),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x275e99(0xb1),'enableAuthHint':_0x275e99(0xae),'connectionInfo':_0x275e99(0xaa),'mcpClientConfig':_0x275e99(0xaa),'configInstructions':_0x275e99(0xbe),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x275e99(0xc1),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x275e99(0xcf),'authorizationDescription':_0x275e99(0xc4),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x275e99(0xb0),'note1':_0x275e99(0xb5),'note2':_0x275e99(0xb8),'configSaved':_0x275e99(0xc6),'configError':_0x275e99(0x9d),'apiApplyInfo':{'title':_0x275e99(0xca),'description':_0x275e99(0xb3),'univerAiLabel':_0x275e99(0xce),'getStarted':_0x275e99(0xa1)},'validation':{'apiKeyRequired':_0x275e99(0xb6),'apiKeyTooShort':_0x275e99(0xc8),'invalidConfig':_0x275e99(0xcd),'invalidApiKey':_0x275e99(0xa3)},'connectionStatus':{'disconnected':_0x275e99(0xbc),'connecting':_0x275e99(0xc2),'connected':'Connected','failed':_0x275e99(0xc7),'retrying':_0x275e99(0xbb)},'connectionError':{'unauthorized':_0x275e99(0xa8),'sessionOccupied':_0x275e99(0xc5),'networkError':_0x275e99(0x9e),'maxRetriesExceeded':_0x275e99(0xa2)}}},n=e;function _0x1776(){const _0xc2c68a=['MCP\x20Connecting...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20is\x20required','2541HHikSC','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','3721lINuug','API\x20Key','Retrying...','Disconnected','MCP\x20Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','844pfONdL','MCP:\x20Network\x20Error','Copy\x20the\x20JSON\x20configuration\x20below','Connecting...','66cSjRUQ','API\x20key\x20with\x20Bearer\x20prefix.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','Connection\x20Failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','42396TNSvjb','What\x20is\x20API\x20Key?','61010LPOQeI','MCP\x20Configuration','Invalid\x20configuration','Univer\x20AI\x20Console','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Failed\x20to\x20save\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','164744ZZKjoa','MCP\x20Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','1052154QhSsDW','7SeDaQc','226810olqBAk','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','MCP\x20Client\x20Configuration','261wjwNZj','Click\x20to\x20connect\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20authentication\x20for\x20secure\x20connections','682vHxoUA','Saving...','Enable\x20Authentication','MCP\x20Connected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.'];_0x1776=function(){return _0xc2c68a;};return _0x1776();}module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0x33675e=_0x38b2;(function(_0x42ca66,_0xc801af){const _0x195bc3=_0x38b2,_0x551aac=_0x42ca66();while(!![]){try{const _0x4fdece=-parseInt(_0x195bc3(0x1e2))/0x1*(parseInt(_0x195bc3(0x1db))/0x2)+parseInt(_0x195bc3(0x1c9))/0x3+parseInt(_0x195bc3(0x1ee))/0x4*(parseInt(_0x195bc3(0x1e5))/0x5)+-parseInt(_0x195bc3(0x1ed))/0x6+-parseInt(_0x195bc3(0x1d8))/0x7+parseInt(_0x195bc3(0x1d9))/0x8+parseInt(_0x195bc3(0x1eb))/0x9;if(_0x4fdece===_0xc801af)break;else _0x551aac['push'](_0x551aac['shift']());}catch(_0x28ea1a){_0x551aac['push'](_0x551aac['shift']());}}}(_0x5978,0xb2533));function _0x38b2(_0x537571,_0x287f75){_0x537571=_0x537571-0x1c8;const _0x597858=_0x5978();let _0x38b2fe=_0x597858[_0x537571];return _0x38b2fe;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x33675e(0x1e6),'connected':_0x33675e(0x1e7),'failed':'MCP\x20Connection\x20Failed','retrying':_0x33675e(0x1d4),'unknown':_0x33675e(0x1f4),'unauthorized':_0x33675e(0x1e9),'sessionOccupied':_0x33675e(0x1cd),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x33675e(0x1d2),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x33675e(0x1ef),'description':_0x33675e(0x1e3),'apiKey':_0x33675e(0x1f5),'apiKeyPlaceholder':_0x33675e(0x1f6),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x33675e(0x1f0),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x33675e(0x1de),'mcpClientConfig':_0x33675e(0x1de),'configInstructions':_0x33675e(0x1d0),'configStepTitle':_0x33675e(0x1c8),'configStep1':_0x33675e(0x1d7),'configStep2':_0x33675e(0x1f2),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x33675e(0x1ea),'sessionIdDescription':_0x33675e(0x1cb),'authorizationDescription':_0x33675e(0x1dc),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x33675e(0x1f7),'save':_0x33675e(0x1d5),'saving':'Saving...','note1':_0x33675e(0x1dd),'note2':_0x33675e(0x1e0),'configSaved':_0x33675e(0x1df),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x33675e(0x1f1),'description':_0x33675e(0x1ce),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x33675e(0x1d6)},'validation':{'apiKeyRequired':_0x33675e(0x1e4),'apiKeyTooShort':_0x33675e(0x1cc),'invalidConfig':_0x33675e(0x1cf),'invalidApiKey':_0x33675e(0x1d3)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x33675e(0x1ca),'failed':'Connection\x20Failed','retrying':_0x33675e(0x1f3)},'connectionError':{'unauthorized':_0x33675e(0x1ec),'sessionOccupied':_0x33675e(0x1e8),'networkError':_0x33675e(0x1da),'maxRetriesExceeded':_0x33675e(0x1e1)}}},n=e;function _0x5978(){const _0x10ad4e=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','8328270FYXNaV','4qYtnJa','MCP\x20Configuration','Enable\x20Authentication','What\x20is\x20API\x20Key?','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Retrying...','MCP\x20Unknown\x20Status','API\x20Key','Enter\x20your\x20API\x20key','Max\x20Retries','Configuration\x20Steps:','3212472aMQzgM','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\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Session\x20ID\x20Occupied','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','exports','Click\x20to\x20connect\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','Save\x20Configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Copy\x20the\x20JSON\x20configuration\x20below','6522642vrEyNT','8765656vSkauA','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','34ZfGtJN','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Client\x20Configuration','Configuration\x20saved\x20successfully','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','60378wivuXR','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','154065fqTODr','MCP\x20Connecting...','MCP\x20Connected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Unauthorized','Session\x20ID','16914168fBeCkq'];_0x5978=function(){return _0x10ad4e;};return _0x5978();}module[_0x33675e(0x1d1)]=n;
1
+ 'use strict';function _0x5aa7(){const _0x3b8cbb=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','9xAEjXq','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','MCP\x20Client\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Parameters:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','74ZwgFpS','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Unauthorized','Session\x20ID','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connection\x20Failed','30300gdvyHv','Enable\x20authentication\x20for\x20secure\x20connections','101883ebOYwX','Click\x20to\x20configure\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','API\x20key\x20with\x20Bearer\x20prefix.','3396580vWglYl','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Session\x20ID\x20Occupied','MCP:\x20Network\x20Error','MCP\x20Configuration','Univer\x20AI\x20Console','Save\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','144cqUlaK','Retrying...','MCP\x20Connecting...','17657bJSClR','Copy\x20the\x20JSON\x20configuration\x20below','Disconnected','Invalid\x20configuration','Configuration\x20Steps:','2455131cdDMqX','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','8tymcai','API\x20key\x20is\x20required','1326930uGcVZY','Max\x20Retries','Connected','Enable\x20Authentication','API\x20Key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1398616YlNAzP','MCP\x20Connection\x20Failed','Failed\x20to\x20save\x20configuration'];_0x5aa7=function(){return _0x3b8cbb;};return _0x5aa7();}const _0x17606c=_0x342a;(function(_0x19968b,_0x5b7c5c){const _0x406765=_0x342a,_0xa7de61=_0x19968b();while(!![]){try{const _0x25c11a=parseInt(_0x406765(0xf5))/0x1*(parseInt(_0x406765(0x112))/0x2)+parseInt(_0x406765(0x11a))/0x3+-parseInt(_0x406765(0x104))/0x4+parseInt(_0x406765(0x118))/0x5*(parseInt(_0x406765(0xf2))/0x6)+-parseInt(_0x406765(0xfa))/0x7*(-parseInt(_0x406765(0xfc))/0x8)+-parseInt(_0x406765(0x108))/0x9*(parseInt(_0x406765(0x11f))/0xa)+-parseInt(_0x406765(0xfe))/0xb;if(_0x25c11a===_0x5b7c5c)break;else _0xa7de61['push'](_0xa7de61['shift']());}catch(_0x495701){_0xa7de61['push'](_0xa7de61['shift']());}}}(_0x5aa7,0x5b2fd));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x17606c(0xf4),'connected':'MCP\x20Connected','failed':_0x17606c(0x105),'retrying':_0x17606c(0xf0),'unknown':_0x17606c(0x109),'unauthorized':_0x17606c(0x114),'sessionOccupied':_0x17606c(0x121),'networkError':_0x17606c(0x122),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x17606c(0x11d),'clickToConfigure':_0x17606c(0x11b)},'mcpConfig':{'title':_0x17606c(0x123),'description':_0x17606c(0x116),'apiKey':_0x17606c(0x102),'apiKeyPlaceholder':_0x17606c(0x10a),'apiKeyHint':_0x17606c(0xfb),'enableAuth':_0x17606c(0x101),'enableAuthHint':_0x17606c(0x119),'connectionInfo':_0x17606c(0x10b),'mcpClientConfig':_0x17606c(0x10b),'configInstructions':_0x17606c(0x11c),'configStepTitle':_0x17606c(0xf9),'configStep1':_0x17606c(0xf6),'configStep2':_0x17606c(0x120),'configStep3':_0x17606c(0x103),'sessionId':_0x17606c(0x115),'sessionIdDescription':_0x17606c(0x10c),'authorizationDescription':_0x17606c(0x11e),'configParameters':_0x17606c(0x10d),'maxRetries':_0x17606c(0xff),'save':_0x17606c(0x125),'saving':'Saving...','note1':_0x17606c(0x10e),'note2':_0x17606c(0xf1),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x17606c(0x106),'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':_0x17606c(0x124),'getStarted':_0x17606c(0x113)},'validation':{'apiKeyRequired':_0x17606c(0xfd),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x17606c(0xf8),'invalidApiKey':_0x17606c(0x110)},'connectionStatus':{'disconnected':_0x17606c(0xf7),'connecting':'Connecting...','connected':_0x17606c(0x100),'failed':_0x17606c(0x117),'retrying':_0x17606c(0xf3)},'connectionError':{'unauthorized':_0x17606c(0x107),'sessionOccupied':_0x17606c(0x10f),'networkError':_0x17606c(0x111),'maxRetriesExceeded':_0x17606c(0xef)}}},n=e;function _0x342a(_0x4a4110,_0x32c393){_0x4a4110=_0x4a4110-0xef;const _0x5aa78e=_0x5aa7();let _0x342a3a=_0x5aa78e[_0x4a4110];return _0x342a3a;}module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0xd3ba70=_0x4a03;(function(_0x24a7d0,_0x5de521){const _0x4a4ead=_0x4a03,_0x3cf088=_0x24a7d0();while(!![]){try{const _0x3f1d7a=parseInt(_0x4a4ead(0xa2))/0x1*(parseInt(_0x4a4ead(0x8f))/0x2)+parseInt(_0x4a4ead(0x9c))/0x3*(parseInt(_0x4a4ead(0xa3))/0x4)+parseInt(_0x4a4ead(0x9d))/0x5*(-parseInt(_0x4a4ead(0x8d))/0x6)+-parseInt(_0x4a4ead(0x92))/0x7+-parseInt(_0x4a4ead(0xc0))/0x8*(-parseInt(_0x4a4ead(0x9b))/0x9)+parseInt(_0x4a4ead(0x93))/0xa*(-parseInt(_0x4a4ead(0x8e))/0xb)+parseInt(_0x4a4ead(0xad))/0xc*(parseInt(_0x4a4ead(0xbc))/0xd);if(_0x3f1d7a===_0x5de521)break;else _0x3cf088['push'](_0x3cf088['shift']());}catch(_0x250533){_0x3cf088['push'](_0x3cf088['shift']());}}}(_0x4788,0xc790c));function _0x4a03(_0x4f4c3e,_0x9e5428){_0x4f4c3e=_0x4f4c3e-0x8b;const _0x4788e1=_0x4788();let _0x4a03b2=_0x4788e1[_0x4f4c3e];return _0x4a03b2;}const e={'mcpStatus':{'disconnected':_0xd3ba70(0xb5),'connecting':_0xd3ba70(0xb2),'connected':_0xd3ba70(0xbd),'failed':_0xd3ba70(0x99),'retrying':_0xd3ba70(0x95),'unknown':_0xd3ba70(0xb6),'unauthorized':_0xd3ba70(0xbe),'sessionOccupied':'MCP:\x20セッションIDが使用中','networkError':_0xd3ba70(0xab),'maxRetriesExceeded':_0xd3ba70(0x9a),'clickToConnect':_0xd3ba70(0xb9),'clickToConfigure':'クリックしてMCPを設定'},'mcpConfig':{'title':_0xd3ba70(0x8c),'description':'MCPを設定してAIでスプレッドシートを操作','apiKey':_0xd3ba70(0xb7),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':'APIキーはこのブラウザのローカルに保存されます','enableAuth':'認証を有効にする','enableAuthHint':_0xd3ba70(0xae),'connectionInfo':'MCPクライアント設定','mcpClientConfig':_0xd3ba70(0x8b),'configInstructions':_0xd3ba70(0x90),'configStepTitle':_0xd3ba70(0xa4),'configStep1':'以下のJSON設定をコピー','configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':_0xd3ba70(0xb0),'sessionId':_0xd3ba70(0xaf),'sessionIdDescription':_0xd3ba70(0xbf),'authorizationDescription':_0xd3ba70(0xaa),'configParameters':_0xd3ba70(0x96),'maxRetries':_0xd3ba70(0xa1),'save':_0xd3ba70(0xb1),'saving':_0xd3ba70(0x91),'note1':'設定の変更は直ちに有効になります','note2':_0xd3ba70(0xba),'configSaved':_0xd3ba70(0x9e),'configError':_0xd3ba70(0xac),'apiApplyInfo':{'title':_0xd3ba70(0xa5),'description':'APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','univerAiLabel':_0xd3ba70(0x98),'getStarted':_0xd3ba70(0x9f)},'validation':{'apiKeyRequired':_0xd3ba70(0xa6),'apiKeyTooShort':_0xd3ba70(0x97),'invalidConfig':_0xd3ba70(0xbb),'invalidApiKey':_0xd3ba70(0xb4)},'connectionStatus':{'disconnected':_0xd3ba70(0xb8),'connecting':_0xd3ba70(0xa7),'connected':_0xd3ba70(0xb3),'failed':_0xd3ba70(0x94),'retrying':_0xd3ba70(0xa0)},'connectionError':{'unauthorized':_0xd3ba70(0xa8),'sessionOccupied':_0xd3ba70(0xa9),'networkError':'ネットワーク接続エラー。インターネット接続を確認してください','maxRetriesExceeded':_0xd3ba70(0xc1)}}};module['exports']=e;function _0x4788(){const _0x42203d=['2276SEMlLo','設定手順:','APIキーとは?','APIキーは必須です','接続中...','認証に失敗しました。APIキーを確認してください','セッションIDが現在使用中です。後でもう一度お試しください','Bearerプレフィックス付きのAPIキー。','MCP:\x20ネットワークエラー','設定の保存に失敗しました','213108KhaMhw','セキュアな接続のために認証を有効にする','セッションID','MCPクライアントを再起動して設定を適用','設定を保存','MCP\x20接続中...','接続済み','無効なAPIキーです。キーが正しいか確認してください','MCP\x20未接続','MCP\x20不明な状態','APIキー','未接続','クリックしてMCPに接続','APIキーはローカルストレージに安全に保存されます','無効な設定','104cVuQDX','MCP\x20接続済み','MCP:\x20認証されていません','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','5984lLUdfR','最大再試行回数を超過しました。後でもう一度お試しください','MCPクライアント設定','MCP設定','42obWPIc','5335dFzNeA','26cCDDjg','MCPクライアントの設定に次の設定を追加してください:','保存中...','4551547AAOmMU','20530HhkRFP','接続失敗','MCP\x20再試行中...','設定パラメータ:','APIキーは10文字以上である必要があります','Univer\x20AIコンソール','MCP\x20接続失敗','MCP:\x20最大再試行回数を超過','13671dPCIXK','405mMfXEC','113650AtqBtd','設定が正常に保存されました','数秒でAPIキーを取得','再試行中...','最大再試行回数','97489Bggmsr'];_0x4788=function(){return _0x42203d;};return _0x4788();}
1
+ 'use strict';const _0x3286c0=_0x16f5;(function(_0x54bb14,_0x5495ad){const _0x18b883=_0x16f5,_0xf8fadc=_0x54bb14();while(!![]){try{const _0x3b7292=parseInt(_0x18b883(0x138))/0x1*(parseInt(_0x18b883(0x146))/0x2)+parseInt(_0x18b883(0x130))/0x3+-parseInt(_0x18b883(0x13a))/0x4*(-parseInt(_0x18b883(0x147))/0x5)+-parseInt(_0x18b883(0x142))/0x6+parseInt(_0x18b883(0x136))/0x7+-parseInt(_0x18b883(0x134))/0x8*(-parseInt(_0x18b883(0x145))/0x9)+-parseInt(_0x18b883(0x135))/0xa;if(_0x3b7292===_0x5495ad)break;else _0xf8fadc['push'](_0xf8fadc['shift']());}catch(_0x132f84){_0xf8fadc['push'](_0xf8fadc['shift']());}}}(_0x4202,0xa2665));function _0x16f5(_0x1a61fd,_0x37b6e1){_0x1a61fd=_0x1a61fd-0x121;const _0x420269=_0x4202();let _0x16f513=_0x420269[_0x1a61fd];return _0x16f513;}const e={'mcpStatus':{'disconnected':_0x3286c0(0x125),'connecting':'MCP\x20接続中...','connected':_0x3286c0(0x148),'failed':_0x3286c0(0x123),'retrying':_0x3286c0(0x13c),'unknown':_0x3286c0(0x13b),'unauthorized':'MCP:\x20認証されていません','sessionOccupied':'MCP:\x20セッションIDが使用中','networkError':'MCP:\x20ネットワークエラー','maxRetriesExceeded':_0x3286c0(0x139),'clickToConnect':_0x3286c0(0x12a),'clickToConfigure':_0x3286c0(0x13f)},'mcpConfig':{'title':_0x3286c0(0x132),'description':'MCPを設定してAIでスプレッドシートを操作','apiKey':_0x3286c0(0x12c),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':'APIキーはこのブラウザのローカルに保存されます','enableAuth':_0x3286c0(0x143),'enableAuthHint':_0x3286c0(0x133),'connectionInfo':_0x3286c0(0x12f),'mcpClientConfig':_0x3286c0(0x12f),'configInstructions':_0x3286c0(0x126),'configStepTitle':_0x3286c0(0x121),'configStep1':'以下のJSON設定をコピー','configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':'MCPクライアントを再起動して設定を適用','sessionId':_0x3286c0(0x12d),'sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':'Bearerプレフィックス付きのAPIキー。','configParameters':'設定パラメータ:','maxRetries':_0x3286c0(0x128),'save':_0x3286c0(0x141),'saving':_0x3286c0(0x149),'note1':_0x3286c0(0x12b),'note2':_0x3286c0(0x124),'configSaved':'設定が正常に保存されました','configError':'設定の保存に失敗しました','apiApplyInfo':{'title':_0x3286c0(0x131),'description':'APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','univerAiLabel':_0x3286c0(0x137),'getStarted':'数秒でAPIキーを取得'},'validation':{'apiKeyRequired':_0x3286c0(0x122),'apiKeyTooShort':'APIキーは10文字以上である必要があります','invalidConfig':'無効な設定','invalidApiKey':'無効なAPIキーです。キーが正しいか確認してください'},'connectionStatus':{'disconnected':_0x3286c0(0x13d),'connecting':_0x3286c0(0x140),'connected':_0x3286c0(0x129),'failed':_0x3286c0(0x14a),'retrying':_0x3286c0(0x12e)},'connectionError':{'unauthorized':'認証に失敗しました。APIキーを確認してください','sessionOccupied':_0x3286c0(0x127),'networkError':_0x3286c0(0x13e),'maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};module[_0x3286c0(0x144)]=e;function _0x4202(){const _0x55b526=['74105bWOFze','MCP\x20接続済み','保存中...','接続失敗','設定手順:','APIキーは必須です','MCP\x20接続失敗','APIキーはローカルストレージに安全に保存されます','MCP\x20未接続','MCPクライアントの設定に次の設定を追加してください:','セッションIDが現在使用中です。後でもう一度お試しください','最大再試行回数','接続済み','クリックしてMCPに接続','設定の変更は直ちに有効になります','APIキー','セッションID','再試行中...','MCPクライアント設定','2941950OcSwWq','APIキーとは?','MCP設定','セキュアな接続のために認証を有効にする','384ijtitk','18364590Obkgzs','1970969OQMyLX','Univer\x20AIコンソール','3491TxYUCX','MCP:\x20最大再試行回数を超過','116GBaCXB','MCP\x20不明な状態','MCP\x20再試行中...','未接続','ネットワーク接続エラー。インターネット接続を確認してください','クリックしてMCPを設定','接続中...','設定を保存','2429166oshTVL','認証を有効にする','exports','38547jjeAPr','578SBqWtc'];_0x4202=function(){return _0x55b526;};return _0x4202();}