@univerjs-pro/mcp-ui 0.15.3-insiders.20260131-b9b8805 → 0.15.3-insiders.20260131-cbd5fac

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 (53) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ja-JP.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/sk-SK.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +6 -6
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3e7941=_0x58b6;(function(_0x3ea7f8,_0x2471aa){const _0x483652=_0x58b6,_0xa10de9=_0x3ea7f8();while(!![]){try{const _0x133815=-parseInt(_0x483652(0xc2))/0x1*(parseInt(_0x483652(0x1ed))/0x2)+parseInt(_0x483652(0x123))/0x3*(parseInt(_0x483652(0x219))/0x4)+-parseInt(_0x483652(0x21f))/0x5*(parseInt(_0x483652(0x193))/0x6)+parseInt(_0x483652(0xb3))/0x7*(parseInt(_0x483652(0x17f))/0x8)+parseInt(_0x483652(0x166))/0x9+parseInt(_0x483652(0x20e))/0xa*(parseInt(_0x483652(0x191))/0xb)+parseInt(_0x483652(0x1f5))/0xc;if(_0x133815===_0x2471aa)break;else _0xa10de9['push'](_0xa10de9['shift']());}catch(_0x1bd610){_0xa10de9['push'](_0xa10de9['shift']());}}}(_0x4fb3,0xe1875));var ae=Object[_0x3e7941(0x203)],le=(_0x345608,_0x297464,_0x38aa49)=>_0x297464 in _0x345608?ae(_0x345608,_0x297464,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38aa49}):_0x345608[_0x297464]=_0x38aa49,I=(_0x2dedef,_0x4ce443,_0x1b0532)=>le(_0x2dedef,typeof _0x4ce443!=_0x3e7941(0x200)?_0x4ce443+'':_0x4ce443,_0x1b0532);Object[_0x3e7941(0x203)](exports,Symbol[_0x3e7941(0x1d4)],{'value':_0x3e7941(0x1a7)});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:_0x525a12,..._0x1b4e54}){const _0x408f25=_0x3e7941,{icon:_0x4ed644,id:_0x314be4,className:_0x50d84e,extend:_0x26cebd,..._0x1a5236}=_0x1b4e54,_0x3bdc7c=(_0x408f25(0x1dc)+_0x314be4+'\x20'+(_0x50d84e||''))[_0x408f25(0xe1)](),_0x399269=d[_0x408f25(0x1bb)]('_'+de());return G(_0x4ed644,''+_0x314be4,{'defIds':_0x4ed644[_0x408f25(0x11f)],'idSuffix':_0x399269[_0x408f25(0x1d2)]},{'ref':_0x525a12,'className':_0x3bdc7c,..._0x1a5236},_0x26cebd);}function G(_0x194f6d,_0x195102,_0x24d029,_0x52075b,_0x3d1b28){const _0x555416=_0x3e7941;return d[_0x555416(0x125)](_0x194f6d[_0x555416(0xbf)],{'key':_0x195102,...ue(_0x194f6d,_0x24d029,_0x3d1b28),..._0x52075b},(ve(_0x194f6d,_0x24d029)[_0x555416(0x11d)]||[])[_0x555416(0x172)]((_0x4c112b,_0x31c563)=>G(_0x4c112b,_0x195102+'-'+_0x194f6d['tag']+'-'+_0x31c563,_0x24d029,void 0x0,_0x3d1b28)));}function ue(_0x573a0f,_0x3f9153,_0x165e1f){const _0x3f45ca=_0x3e7941,_0x15e3e4={..._0x573a0f[_0x3f45ca(0x19a)]};_0x165e1f!=null&&_0x165e1f[_0x3f45ca(0xf7)]&&_0x15e3e4[_0x3f45ca(0xae)]===_0x3f45ca(0xf7)&&(_0x15e3e4[_0x3f45ca(0xae)]=_0x165e1f[_0x3f45ca(0xf7)]),_0x573a0f['tag']===_0x3f45ca(0x1ac)&&_0x15e3e4['id']&&(_0x15e3e4['id']=_0x15e3e4['id']+_0x3f9153[_0x3f45ca(0x155)]),Object[_0x3f45ca(0xbc)](_0x15e3e4)['forEach'](([_0x11461d,_0x305084])=>{const _0x3c804e=_0x3f45ca;_0x11461d===_0x3c804e(0x1ac)&&typeof _0x305084=='string'&&(_0x15e3e4[_0x11461d]=_0x305084[_0x3c804e(0x19e)](/url\(#(.*)\)/,'url(#$1'+_0x3f9153[_0x3c804e(0x155)]+')'));});const {defIds:_0x2d3132}=_0x3f9153;return!_0x2d3132||_0x2d3132[_0x3f45ca(0x178)]===0x0||(_0x573a0f[_0x3f45ca(0xbf)]==='use'&&_0x15e3e4[_0x3f45ca(0x121)]&&(_0x15e3e4['xlink:href']=_0x15e3e4['xlink:href']+_0x3f9153[_0x3f45ca(0x155)]),Object['entries'](_0x15e3e4)[_0x3f45ca(0xbd)](([_0x3a525c,_0x131f1e])=>{const _0x447a83=_0x3f45ca;typeof _0x131f1e==_0x447a83(0x20b)&&(_0x15e3e4[_0x3a525c]=_0x131f1e['replace'](/url\(#(.*)\)/,_0x447a83(0x184)+_0x3f9153[_0x447a83(0x155)]+')'));})),_0x15e3e4;}function ve(_0x398fd2,_0x47f3c3){const _0x2d0119=_0x3e7941;var _0x23701c;const {defIds:_0x2f3698}=_0x47f3c3;return!_0x2f3698||_0x2f3698[_0x2d0119(0x178)]===0x0?_0x398fd2:_0x398fd2[_0x2d0119(0xbf)]==='defs'&&((_0x23701c=_0x398fd2[_0x2d0119(0x11d)])!=null&&_0x23701c[_0x2d0119(0x178)])?{..._0x398fd2,'children':_0x398fd2[_0x2d0119(0x11d)][_0x2d0119(0x172)](_0x4769ee=>typeof _0x4769ee['attrs']['id']=='string'&&_0x2f3698&&_0x2f3698[_0x2d0119(0xc3)](_0x4769ee[_0x2d0119(0x19a)]['id'])?{..._0x4769ee,'attrs':{..._0x4769ee[_0x2d0119(0x19a)],'id':_0x4769ee[_0x2d0119(0x19a)]['id']+_0x47f3c3['idSuffix']}}:_0x4769ee)}:_0x398fd2;}function de(){const _0x4ffa00=_0x3e7941;return Math[_0x4ffa00(0x177)]()['toString'](0x24)[_0x4ffa00(0x12c)](0x2,0x8);}_[_0x3e7941(0x1b8)]=_0x3e7941(0xb0);const Ce={'tag':_0x3e7941(0xe5),'attrs':{'xmlns':_0x3e7941(0x228),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x3e7941(0x1a2),'height':_0x3e7941(0x1a2)},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'fill':_0x3e7941(0x1e7),'d':_0x3e7941(0x1d5),'fillRule':_0x3e7941(0x1ab),'clipRule':'evenodd'}}]},H=d[_0x3e7941(0xb8)](function(_0x2736ac,_0x37fd3){const _0x4c1df0=_0x3e7941;return d['createElement'](_,Object['assign']({},_0x2736ac,{'id':_0x4c1df0(0x227),'ref':_0x37fd3,'icon':Ce}));});H[_0x3e7941(0x1b8)]='CheckMarkIcon';const ge={'tag':_0x3e7941(0xe5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3e7941(0x1bf),'viewBox':'0\x200\x2016\x2016','width':_0x3e7941(0x1a2),'height':_0x3e7941(0x1a2)},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'fill':_0x3e7941(0x1e7),'d':_0x3e7941(0xea)}}]},B=d[_0x3e7941(0xb8)](function(_0x35e92c,_0x283f43){const _0x9af8aa=_0x3e7941;return d[_0x9af8aa(0x125)](_,Object[_0x9af8aa(0xe2)]({},_0x35e92c,{'id':_0x9af8aa(0x157),'ref':_0x283f43,'icon':ge}));});B['displayName']=_0x3e7941(0x160);const fe={'tag':_0x3e7941(0xe5),'attrs':{'xmlns':_0x3e7941(0x228),'fill':_0x3e7941(0x1bf),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'fill':'currentColor','d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x3e7941(0xeb),'attrs':{'fill':_0x3e7941(0x1e7),'d':_0x3e7941(0x217)}},{'tag':_0x3e7941(0xeb),'attrs':{'fill':'currentColor','d':_0x3e7941(0x188),'fillRule':_0x3e7941(0x1ab),'clipRule':'evenodd'}}]},F=d[_0x3e7941(0xb8)](function(_0x43d7fc,_0x32baee){const _0x4adf06=_0x3e7941;return d[_0x4adf06(0x125)](_,Object['assign']({},_0x43d7fc,{'id':_0x4adf06(0xb6),'ref':_0x32baee,'icon':fe}));});F[_0x3e7941(0x1b8)]=_0x3e7941(0x159);const pe={'tag':_0x3e7941(0xe5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3e7941(0x1a2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'stroke':_0x3e7941(0x1e7),'d':_0x3e7941(0x18f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3e7941(0x131),'attrs':{},'children':[{'tag':_0x3e7941(0x114),'attrs':{'id':_0x3e7941(0x120)},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'fill':_0x3e7941(0x158),'d':_0x3e7941(0x1a0)}}]}]}],'defIds':[_0x3e7941(0x120)]},Y=d['forwardRef'](function(_0x201446,_0xc8a930){const _0x3cd8b1=_0x3e7941;return d['createElement'](_,Object[_0x3cd8b1(0xe2)]({},_0x201446,{'id':_0x3cd8b1(0xbb),'ref':_0xc8a930,'icon':pe}));});Y[_0x3e7941(0x1b8)]=_0x3e7941(0xb1);const he={'tag':_0x3e7941(0xe5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3e7941(0x1bf),'viewBox':_0x3e7941(0x15a),'width':_0x3e7941(0x1a2),'height':_0x3e7941(0x1a2)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e7941(0x1fa)},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'stroke':'currentColor','d':_0x3e7941(0x132),'strokeLinecap':_0x3e7941(0x12e),'strokeLinejoin':_0x3e7941(0x12e),'strokeWidth':1.2}}]},{'tag':_0x3e7941(0x131),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3e7941(0xeb),'attrs':{'fill':_0x3e7941(0x158),'d':_0x3e7941(0x1a0),'transform':_0x3e7941(0x119)}}]}]}],'defIds':[_0x3e7941(0x118)]},q=d[_0x3e7941(0xb8)](function(_0x40ae25,_0x223325){const _0x509078=_0x3e7941;return d['createElement'](_,Object[_0x509078(0xe2)]({},_0x40ae25,{'id':_0x509078(0x16a),'ref':_0x223325,'icon':he}));});q[_0x3e7941(0x1b8)]='OnLineIcon';function V(_0x407b0d){const _0x3a9a79=_0x3e7941;var _0x273884,_0x64faad;const {mcpCoreConfig:_0x3b3a38,onSave:_0x8e1a03,loading:_0x1e5a4e=!0x1,config:_0xcc8594,connectionStatus$:_0x153a58,connectionError$:_0x3c4a0d,currentApiKey$:_0x227f47,currentSessionId$:_0x19e849}=_0x407b0d,_0x200b99=v[_0x3a9a79(0x1cb)](u['LocaleService']),_0x51e420=v['useObservable'](_0x153a58,s[_0x3a9a79(0x1c7)][_0x3a9a79(0x19f)]),_0x5ea7e2=v[_0x3a9a79(0xb4)](_0x3c4a0d,s[_0x3a9a79(0x185)][_0x3a9a79(0xed)]),_0x1f55d5=v[_0x3a9a79(0xb4)](_0x19e849,''),_0x1b2627=v['useObservable'](_0x227f47,''),[_0xa7501,_0x56e2f7]=d[_0x3a9a79(0x174)](_0x1b2627||''),_0xb2641e=!0x0,_0x20a336=_0xcc8594[_0x3a9a79(0xa6)]&&_0x3b3a38[_0x3a9a79(0x145)]&&(_0x3b3a38[_0x3a9a79(0x145)][_0x3a9a79(0xc3)](_0x3a9a79(0x1c3))||_0x3b3a38['mcpServerUrl'][_0x3a9a79(0xc3)](_0x3a9a79(0xc0))),_0x50896f=(_0x273884=_0x3b3a38['mcpServerUrl'])==null?void 0x0:_0x273884['includes'](_0x3a9a79(0x1c3)),_0x2cd2e4=(_0x64faad=_0x3b3a38[_0x3a9a79(0x145)])==null?void 0x0:_0x64faad[_0x3a9a79(0xc3)](_0x3a9a79(0xc0)),_0x3b28e2=_0x50896f?_0x3a9a79(0x116):'https://console.univer.ai',_0xecafd1=_0xcc8594[_0x3a9a79(0xa6)]&&(_0x50896f||_0x2cd2e4),[_0x43bda1,_0x359d1a]=d[_0x3a9a79(0x174)](!_0xa7501['trim']()),_0x1e3104=(_0x495f81,_0x3bcd8b)=>{const _0x2bc1df=_0x3a9a79;if(_0x3bcd8b===s[_0x2bc1df(0x185)][_0x2bc1df(0xd2)])return _0x2bc1df(0x19b);switch(_0x495f81){case s[_0x2bc1df(0x1c7)][_0x2bc1df(0xc7)]:return _0x2bc1df(0x1ee);case s['MCPConnectionStatus'][_0x2bc1df(0x10a)]:case s[_0x2bc1df(0x1c7)][_0x2bc1df(0x14a)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s[_0x2bc1df(0x1c7)][_0x2bc1df(0x15c)]:return _0x2bc1df(0x19b);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x370033=(_0x4c6ca9,_0x19b687)=>{const _0x233622=_0x3a9a79;if(_0x19b687===s[_0x233622(0x185)][_0x233622(0xd2)])return _0x233622(0x1f8);switch(_0x4c6ca9){case s[_0x233622(0x1c7)][_0x233622(0xc7)]:return _0x233622(0x1ca);case s[_0x233622(0x1c7)][_0x233622(0x10a)]:case s[_0x233622(0x1c7)][_0x233622(0x14a)]:return _0x233622(0x17b);case s[_0x233622(0x1c7)][_0x233622(0x15c)]:return _0x233622(0x1f8);default:return _0x233622(0x1f3);}},_0xc84687=_0x2c7c6f=>{const _0x42a343=_0x3a9a79;switch(_0x2c7c6f){case s[_0x42a343(0x1c7)]['CONNECTED']:return _0x200b99['t'](_0x42a343(0xdc));case s[_0x42a343(0x1c7)][_0x42a343(0x10a)]:return _0x200b99['t'](_0x42a343(0xb2));case s[_0x42a343(0x1c7)][_0x42a343(0x15c)]:return _0x200b99['t'](_0x42a343(0x16c));case s[_0x42a343(0x1c7)][_0x42a343(0x14a)]:return _0x200b99['t'](_0x42a343(0x209));default:return _0x200b99['t'](_0x42a343(0x1aa));}},_0x86bedf=_0x4181d3=>{const _0x3c0a46=_0x3a9a79;switch(_0x4181d3){case s[_0x3c0a46(0x185)][_0x3c0a46(0xd2)]:return _0x200b99['t']('mcpConfig.connectionError.unauthorized');case s[_0x3c0a46(0x185)]['SESSION_ID_OCCUPIED']:return _0x200b99['t'](_0x3c0a46(0xf2));case s[_0x3c0a46(0x185)][_0x3c0a46(0x17c)]:return _0x200b99['t'](_0x3c0a46(0x130));case s[_0x3c0a46(0x185)]['MAX_RETRIES_EXCEEDED']:return _0x200b99['t'](_0x3c0a46(0x1b4));default:return'';}},_0x1f0aad=d[_0x3a9a79(0x1ba)](()=>{const _0x36ddc7={..._0x3b3a38,'apiKey':_0xa7501['trim'](),'enableAuth':_0xb2641e};_0x8e1a03(_0x36ddc7);},[_0x3b3a38,_0xa7501,_0xb2641e,_0x8e1a03]),_0x3ece65=_0xa7501[_0x3a9a79(0xe1)]()['length']>0x0;return i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x1b0),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x20c),'children':i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x13b),'children':i[_0x3a9a79(0xf8)]('span',{'className':_0x3a9a79(0x226),'children':'⚙'})}),i[_0x3a9a79(0xf8)]('div',{'children':i[_0x3a9a79(0xf8)]('p',{'className':_0x3a9a79(0x1f4),'children':_0x200b99['t'](_0x3a9a79(0x13d))})})]})}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x169),'children':[i['jsx']('div',{'className':f[_0x3a9a79(0x195)](_0x3a9a79(0xcb),_0x1e3104(_0x51e420,_0x5ea7e2)),'children':i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':f['clsx'](_0x3a9a79(0x1c2),_0x370033(_0x51e420,_0x5ea7e2))}),i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'className':'univer-text-sm\x20univer-font-medium','children':_0xc84687(_0x51e420)})]})}),_0x5ea7e2!==s[_0x3a9a79(0x185)][_0x3a9a79(0xed)]&&(_0x51e420===s['MCPConnectionStatus'][_0x3a9a79(0x15c)]||_0x5ea7e2===s[_0x3a9a79(0x185)][_0x3a9a79(0xd2)])&&i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x144),'children':i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x11e),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'className':_0x3a9a79(0x12d),'children':'⚠️'}),i[_0x3a9a79(0xf8)]('p',{'className':_0x3a9a79(0x220),'children':_0x86bedf(_0x5ea7e2)})]})})]}),i[_0x3a9a79(0xf8)]('div',{'className':_0x3a9a79(0xde),'children':i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-space-y-5','children':[i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x218),'children':[i[_0x3a9a79(0x207)](_0x3a9a79(0xfc),{'className':_0x3a9a79(0x147),'children':[i[_0x3a9a79(0xf8)]('span',{'children':'🔑'}),'\x20',_0x200b99['t']('mcpConfig.apiKey'),i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'className':'univer-text-red-500','children':'*'}),_0x20a336&&i[_0x3a9a79(0xf8)]('a',{'className':_0x3a9a79(0x13a),'title':_0x200b99['t']('mcpConfig.apiApplyInfo.title'),'role':'button','onClick':()=>_0x359d1a(!0x0),'children':i[_0x3a9a79(0xf8)](F,{})})]}),i[_0x3a9a79(0xf8)](f[_0x3a9a79(0x1c0)],{'type':'text','placeholder':_0x200b99['t'](_0x3a9a79(0x1e8)),'value':_0xa7501,'disabled':_0x1e5a4e,'autoComplete':_0x3a9a79(0x151),'onChange':_0x56e2f7}),i[_0x3a9a79(0xf8)]('p',{'className':_0x3a9a79(0x17d),'children':_0x200b99['t'](_0x3a9a79(0x163))})]}),_0x20a336&&_0x43bda1&&i[_0x3a9a79(0x207)]('div',{'className':_0x3a9a79(0x104),'children':[i[_0x3a9a79(0xf8)]('a',{'className':_0x3a9a79(0xf0),'role':_0x3a9a79(0x181),'onClick':()=>_0x359d1a(!0x1),'children':i[_0x3a9a79(0xf8)](B,{'className':_0x3a9a79(0xcf)})}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x102),'children':i['jsx'](_0x3a9a79(0xfd),{'className':_0x3a9a79(0x1d0),'children':'🚀'})}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-flex-1','children':[i[_0x3a9a79(0xf8)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x200b99['t']('mcpConfig.apiApplyInfo.title')}),i['jsx']('p',{'className':_0x3a9a79(0xc5),'children':_0x200b99['t'](_0x3a9a79(0xad))}),i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0xecafd1&&i['jsxs']('a',{'className':_0x3a9a79(0x216),'href':_0x3b28e2,'target':_0x3a9a79(0x173),'rel':'noopener\x20noreferrer','children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'children':'🤖'}),_0x200b99['t'](_0x3a9a79(0x12a)),i[_0x3a9a79(0xf8)]('span',{'className':'univer-text-gray-400','children':'↗'})]})}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x200b99['t'](_0x3a9a79(0xdd))]})]})]})]}),_0xcc8594[_0x3a9a79(0xa6)]&&i[_0x3a9a79(0x207)]('div',{'className':_0x3a9a79(0x1ea),'children':[i['jsxs']('h4',{'className':_0x3a9a79(0x201),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'children':'🔗'}),'\x20',_0x200b99['t'](_0x3a9a79(0xc9))]}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-space-y-4','children':[i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x13f),'children':[i[_0x3a9a79(0xf8)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x200b99['t']('mcpConfig.configInstructions')}),i[_0x3a9a79(0x207)]('div',{'className':_0x3a9a79(0x218),'children':[i[_0x3a9a79(0xf8)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x200b99['t'](_0x3a9a79(0x194))}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x153),'children':[i[_0x3a9a79(0x207)]('div',{'className':_0x3a9a79(0x16b),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'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'}),_0x200b99['t'](_0x3a9a79(0x133))]}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x16b),'children':[i[_0x3a9a79(0xf8)]('span',{'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':'2'}),_0x200b99['t'](_0x3a9a79(0x1b5))]}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xfd),{'className':_0x3a9a79(0x215),'children':'3'}),_0x200b99['t'](_0x3a9a79(0x1a6))]})]})]})]}),i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x218),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x229),'children':_0x3a9a79(0x189)}),i['jsx'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x212),'children':i[_0x3a9a79(0xf8)](_0x3a9a79(0xf3),{'className':_0x3a9a79(0x1dd),'children':JSON[_0x3a9a79(0x1cc)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x1f55d5||_0x3a9a79(0x1d9)),'type':'http','headers':{'Authorization':_0x3a9a79(0x16d)+(_0xa7501||_0x3a9a79(0x1ef))}}}},null,0x2)})})]}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x13f),'children':[i['jsx'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x229),'children':_0x200b99['t']('mcpConfig.configParameters')}),i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x218),'children':[i['jsxs']('div',{'className':_0x3a9a79(0x1bd),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x1ff)}),i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0xdb),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x179),'children':'univer_session_id:'}),i['jsx'](_0x3a9a79(0xf9),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x200b99['t'](_0x3a9a79(0x214))})]})]}),i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x1bd),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x1ff)}),i[_0x3a9a79(0x207)]('div',{'className':_0x3a9a79(0xdb),'children':[i[_0x3a9a79(0xf8)](_0x3a9a79(0xf9),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x3a9a79(0x1ae)}),i['jsx'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x17d),'children':_0x200b99['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),i[_0x3a9a79(0xf8)](f[_0x3a9a79(0x196)],{'onClick':_0x1f0aad,'disabled':!_0x3ece65||_0x1e5a4e,'className':_0x3a9a79(0x106),'children':_0x1e5a4e?i[_0x3a9a79(0x207)]('span',{'className':_0x3a9a79(0x16b),'children':[i[_0x3a9a79(0xf8)]('span',{'children':'⟲'}),_0x200b99['t'](_0x3a9a79(0x1e5))]}):i['jsxs'](_0x3a9a79(0xfd),{'className':_0x3a9a79(0x16b),'children':[i[_0x3a9a79(0xf8)](H,{}),_0x200b99['t'](_0x3a9a79(0x1af))]})}),i[_0x3a9a79(0xf8)]('div',{'className':_0x3a9a79(0x15b),'children':i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x1e4),'children':[i[_0x3a9a79(0xf8)]('span',{'className':_0x3a9a79(0x105),'children':'💡'}),i['jsxs'](_0x3a9a79(0xf9),{'className':_0x3a9a79(0x161),'children':[i['jsx']('div',{'className':'univer-font-medium','children':_0x3a9a79(0xff)}),i[_0x3a9a79(0x207)]('div',{'children':['•',_0x200b99['t'](_0x3a9a79(0x146))]}),i[_0x3a9a79(0x207)](_0x3a9a79(0xf9),{'children':['•',_0x200b99['t']('mcpConfig.note2')]})]})]})})]})})]});}const P=_0x3e7941(0xaf),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x3e7941(0x150)],xe=(_0x1780a5,_0x412fcb,_0x554a80,_0xc83bf5)=>{const _0x2cfb89=_0x3e7941;for(var _0x3f8980=_0xc83bf5>0x1?void 0x0:_0xc83bf5?me(_0x412fcb,_0x554a80):_0x412fcb,_0x19a89c=_0x1780a5[_0x2cfb89(0x178)]-0x1,_0x40e79b;_0x19a89c>=0x0;_0x19a89c--)(_0x40e79b=_0x1780a5[_0x19a89c])&&(_0x3f8980=_0x40e79b(_0x3f8980)||_0x3f8980);return _0x3f8980;},g=(_0x1558fc,_0x4a33be)=>(_0x1c6547,_0x251607)=>_0x4a33be(_0x1c6547,_0x251607,_0x1558fc);const O=_0x3e7941(0x165),D=_0x3e7941(0x1e3);exports[_0x3e7941(0x19d)]=class extends u['Disposable']{constructor(_0x359f2c,_0x1010e4,_0x5d5838,_0x423370,_0x3e783d,_0x5bac8d,_0x50682d,_0x553ac7,_0x42f398,_0x2a4083){const _0x2c5dce=_0x3e7941;super(),I(this,_0x2c5dce(0x176),new M['BehaviorSubject'](!0x1)),I(this,'_mcpCoreConfig$',new M['BehaviorSubject']({})),I(this,'_config$',new M['BehaviorSubject']({})),I(this,'_apiKey$',new M[(_0x2c5dce(0xda))]('')),I(this,'_handleConfigSave',async _0x4551ab=>{const _0x28edb8=_0x2c5dce;var _0x10b12c,_0x2028cc;this[_0x28edb8(0x176)][_0x28edb8(0x1b2)](!0x0);try{const _0x3cef02=await this['_validateConfig'](_0x4551ab);if(!_0x3cef02[_0x28edb8(0x1df)]){this[_0x28edb8(0x10e)][_0x28edb8(0x12b)]({'type':f[_0x28edb8(0x1a3)][_0x28edb8(0x223)],'content':_0x3cef02[_0x28edb8(0x167)]||this[_0x28edb8(0xfe)]['t'](_0x28edb8(0x1d6))});return;}_0x4551ab['apiKey']?await this[_0x28edb8(0x202)][_0x28edb8(0x136)](O,_0x4551ab[_0x28edb8(0x1e1)]['trim']()):await this[_0x28edb8(0x202)][_0x28edb8(0x10c)](O),this[_0x28edb8(0x17a)][_0x28edb8(0x1b2)](((_0x10b12c=_0x4551ab[_0x28edb8(0x1e1)])==null?void 0x0:_0x10b12c[_0x28edb8(0xe1)]())||''),this[_0x28edb8(0xe6)][_0x28edb8(0xc6)]({'Authorization':_0x28edb8(0x16d)+((_0x2028cc=_0x4551ab[_0x28edb8(0x1e1)])==null?void 0x0:_0x2028cc[_0x28edb8(0xe1)]())}),this[_0x28edb8(0x10e)][_0x28edb8(0x12b)]({'type':f[_0x28edb8(0x1a3)]['Success'],'content':this['_localeService']['t'](_0x28edb8(0x139))}),setTimeout(()=>{const _0x3ae4f8=_0x28edb8;this['_dialogService'][_0x3ae4f8(0x198)](D);},0x320);}catch(_0x486540){this[_0x28edb8(0xe9)]['error'](_0x28edb8(0x204),_0x486540),this[_0x28edb8(0x10e)][_0x28edb8(0x12b)]({'type':f[_0x28edb8(0x1a3)][_0x28edb8(0x223)],'content':this[_0x28edb8(0xfe)]['t'](_0x28edb8(0x197))});}finally{this[_0x28edb8(0x176)][_0x28edb8(0x1b2)](!0x1);}}),(this[_0x2c5dce(0xec)]=_0x359f2c,this[_0x2c5dce(0xe7)]=_0x1010e4,this[_0x2c5dce(0x113)]=_0x5d5838,this[_0x2c5dce(0x202)]=_0x423370,this[_0x2c5dce(0x22f)]=_0x3e783d,this[_0x2c5dce(0x10e)]=_0x5bac8d,this[_0x2c5dce(0x134)]=_0x50682d,this[_0x2c5dce(0xfe)]=_0x553ac7,this[_0x2c5dce(0xe9)]=_0x42f398,this['_mcpConnectionController']=_0x2a4083,this['_initConfigSync'](),this[_0x2c5dce(0x206)](),this['_registerComponent']());}['showConfigPanel'](){const _0x106430=_0x3e7941,_0x4ac560=this[_0x106430(0x113)][_0x106430(0x127)](P);_0x4ac560!=null&&_0x4ac560[_0x106430(0xa6)]&&this['_dialogService'][_0x106430(0xef)]({'id':D,'title':{'title':this[_0x106430(0xfe)]['t']('mcpConfig.title')},'children':{'label':_0x106430(0x1da)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x4c5d59=_0x106430;this[_0x4c5d59(0x22f)][_0x4c5d59(0x198)](D);}});}[_0x3e7941(0x149)](){const _0x2b5a34=_0x3e7941;return this[_0x2b5a34(0x14d)]['value'];}['_registerComponent'](){const _0x54054b=_0x3e7941;this[_0x54054b(0x1c8)](this[_0x54054b(0x134)][_0x54054b(0xe4)](_0x54054b(0x1da),this[_0x54054b(0x1fd)]()));}['_createConfigPanelComponent'](){const _0x1c8261=_0x3e7941;return v[_0x1c8261(0x1b9)](()=>{const _0x5c8738=_0x1c8261;var _0x310d38,_0x474ab8,_0x110af9;return i[_0x5c8738(0xf8)](V,{'config':this[_0x5c8738(0x1a1)]['value'],'mcpCoreConfig':this[_0x5c8738(0x14d)][_0x5c8738(0x138)],'currentApiKey$':this[_0x5c8738(0x17a)],'onSave':this['_handleConfigSave'],'loading':this[_0x5c8738(0x176)][_0x5c8738(0x138)],'connectionStatus$':(_0x310d38=this['_mcpConnectionController'])==null?void 0x0:_0x310d38['connectionStatus$'],'connectionError$':(_0x474ab8=this[_0x5c8738(0xe6)])==null?void 0x0:_0x474ab8[_0x5c8738(0xe0)],'currentSessionId$':(_0x110af9=this['_mcpConnectionController'])==null?void 0x0:_0x110af9['sessionId$']});},this[_0x1c8261(0xec)]);}[_0x3e7941(0x11c)](){const _0x3a21df=_0x3e7941;this['disposeWithMe'](this[_0x3a21df(0x113)][_0x3a21df(0xd1)](s['MCP_PLUGIN_CONFIG_KEY'])[_0x3a21df(0x1e9)](_0xdd6268=>{const _0xee4458=_0x3a21df;this[_0xee4458(0x14d)][_0xee4458(0x1b2)](_0xdd6268||{});}));const _0x2fbe27=this[_0x3a21df(0x113)]['getConfig'](s[_0x3a21df(0x156)]);this[_0x3a21df(0x14d)][_0x3a21df(0x1b2)](_0x2fbe27||{}),this[_0x3a21df(0x1c8)](this[_0x3a21df(0x113)][_0x3a21df(0xd1)](P)[_0x3a21df(0x1e9)](_0x43c9dc=>{const _0x38e1bf=_0x3a21df;this[_0x38e1bf(0x1a1)][_0x38e1bf(0x1b2)](_0x43c9dc||{});}));const _0x8bfd0=this[_0x3a21df(0x113)][_0x3a21df(0x127)](P);this['_config$'][_0x3a21df(0x1b2)](_0x8bfd0||{});}async[_0x3e7941(0x206)](){const _0x35433c=_0x3e7941,_0x573c34=this['_configService']['getConfig'](P);if(!(_0x573c34!=null&&_0x573c34['showDeveloperTools']))return;const _0x593304=await this['_localStorageService']['getItem'](O);_0x593304&&(this[_0x35433c(0xe6)][_0x35433c(0xc6)]({'Authorization':'Bearer\x20'+_0x593304}),this[_0x35433c(0x17a)]['next'](_0x593304));}async[_0x3e7941(0x18c)](_0x5ba610){const _0x1cc699=_0x3e7941;if(!_0x5ba610[_0x1cc699(0x1e1)]||_0x5ba610[_0x1cc699(0x1e1)]['trim']()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x1cc699(0xfe)]['t'](_0x1cc699(0x205))};if(_0x5ba610[_0x1cc699(0x1e1)][_0x1cc699(0xe1)]()[_0x1cc699(0x178)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x1cc699(0xfe)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x49b158=await this[_0x1cc699(0xec)]['get'](s[_0x1cc699(0xfa)])[_0x1cc699(0x17e)](_0x5ba610[_0x1cc699(0x1e1)][_0x1cc699(0xe1)]());return _0x49b158[_0x1cc699(0x1df)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x49b158[_0x1cc699(0xbe)]||this[_0x1cc699(0xfe)]['t'](_0x1cc699(0x1d1))};}catch(_0x4a10e4){return console[_0x1cc699(0xb9)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x4a10e4),{'isValid':!0x0};}}},exports[_0x3e7941(0x19d)]=xe([g(0x0,u['Inject'](u[_0x3e7941(0x224)])),g(0x1,v[_0x3e7941(0xc4)]),g(0x2,u[_0x3e7941(0x1e2)]),g(0x3,u['ILocalStorageService']),g(0x4,v['IDialogService']),g(0x5,v[_0x3e7941(0x21b)]),g(0x6,u[_0x3e7941(0x10d)](v[_0x3e7941(0x1d8)])),g(0x7,u['Inject'](u[_0x3e7941(0x187)])),g(0x8,u[_0x3e7941(0x109)]),g(0x9,u[_0x3e7941(0x10d)](s[_0x3e7941(0xfa)]))],exports['MCPConfigUIController']);const b={'id':_0x3e7941(0xee),'type':u[_0x3e7941(0x1a4)][_0x3e7941(0x18e)],'handler':async(_0x2d03b4,_0x578ebc)=>(_0x2d03b4['get'](exports[_0x3e7941(0x19d)])[_0x3e7941(0xd3)](),!0x0)};function Z(_0x57b9ef,_0x1fa32f){const _0x10db76=_0x3e7941;switch(_0x57b9ef){case s[_0x10db76(0x1c7)][_0x10db76(0x19f)]:return'mcpStatus.disconnected';case s[_0x10db76(0x1c7)]['CONNECTING']:return'mcpStatus.connecting';case s[_0x10db76(0x1c7)][_0x10db76(0xc7)]:return _0x10db76(0x15d);case s[_0x10db76(0x1c7)][_0x10db76(0x15c)]:switch(_0x1fa32f){case s[_0x10db76(0x185)][_0x10db76(0xd2)]:return _0x10db76(0x1f0);case s[_0x10db76(0x185)][_0x10db76(0x15f)]:return _0x10db76(0x126);case s['MCPConnectionError'][_0x10db76(0x17c)]:return _0x10db76(0xaa);case s['MCPConnectionError'][_0x10db76(0x11b)]:return _0x10db76(0x117);default:return _0x10db76(0x1fb);}case s[_0x10db76(0x1c7)][_0x10db76(0x14a)]:return _0x10db76(0x182);default:return _0x10db76(0x22b);}}function Se(_0x2cc60c,_0x33625b,_0x44f50f,_0x80c254=!0x0){const _0x19cf67=_0x3e7941,_0x36c6d5=Z(_0x2cc60c,_0x33625b),_0x2b1a08=_0x44f50f['t'](_0x36c6d5);return _0x80c254?_0x2cc60c===s['MCPConnectionStatus'][_0x19cf67(0x19f)]&&_0x33625b===s[_0x19cf67(0x185)][_0x19cf67(0xd2)]?_0x2b1a08+_0x19cf67(0x1eb)+_0x44f50f['t'](_0x19cf67(0x192)):_0x2cc60c===s[_0x19cf67(0x1c7)]['CONNECTED']?''+_0x2b1a08:_0x2cc60c===s[_0x19cf67(0x1c7)]['DISCONNECTED']||_0x2cc60c===s['MCPConnectionStatus']['FAILED']?_0x2b1a08+_0x19cf67(0x1eb)+_0x44f50f['t']('mcpStatus.clickToConnect'):_0x2b1a08:_0x2b1a08;}function _0x58b6(_0x19b1c5,_0x22abc3){_0x19b1c5=_0x19b1c5-0xa6;const _0x4fb3b1=_0x4fb3();let _0x58b6f6=_0x4fb3b1[_0x19b1c5];return _0x58b6f6;}function Pe(_0x417915){const _0x220f80=_0x3e7941;switch(_0x417915){case s[_0x220f80(0x1c7)]['CONNECTED']:return _0x220f80(0x22c);case s[_0x220f80(0x1c7)][_0x220f80(0x10a)]:case s[_0x220f80(0x1c7)][_0x220f80(0x14a)]:return'univer-text-yellow-500';case s['MCPConnectionStatus']['FAILED']:case s[_0x220f80(0x1c7)][_0x220f80(0x19f)]:return _0x220f80(0x140);default:return _0x220f80(0x128);}}function W(_0x39fa7b){const _0x462071=_0x3e7941,{status$:_0x40f265,error$:_0x21f11a,onConfigure:_0x206c06,showClickable:_0x2317fa=!0x0}=_0x39fa7b,_0x5df5e0=v[_0x462071(0xb4)](_0x40f265,s['MCPConnectionStatus'][_0x462071(0x19f)]),_0x2fa9dc=v[_0x462071(0xb4)](_0x21f11a,s['MCPConnectionError']['NONE']),_0x1d4438=v[_0x462071(0x1cb)](u[_0x462071(0x187)]),_0x419113=_0x5df5e0===s['MCPConnectionStatus'][_0x462071(0xc7)];_0x5df5e0===s[_0x462071(0x1c7)]['CONNECTING']||s[_0x462071(0x1c7)][_0x462071(0x14a)];const _0x249331=_0x1d4438['t'](Z(_0x5df5e0,_0x2fa9dc)),_0x41de3f=Se(_0x5df5e0,_0x2fa9dc,_0x1d4438,_0x2317fa),_0x47dcba=Pe(_0x5df5e0),_0x3887f0=_0x419113?i[_0x462071(0xf8)](q,{}):i[_0x462071(0xf8)](Y,{}),_0x27e6dd=d[_0x462071(0x1ba)](()=>{_0x2317fa&&_0x206c06&&_0x206c06();},[_0x2317fa,_0x206c06]);function _0x1ec023(){const _0x220c47=_0x462071;return i[_0x220c47(0x207)]('div',{'className':f[_0x220c47(0x195)](_0x220c47(0x15e),_0x2317fa&&_0x206c06&&_0x220c47(0xe3)),'role':_0x220c47(0x181),'onClick':_0x2317fa&&_0x206c06?_0x27e6dd:void 0x0,'children':[i[_0x220c47(0xf8)]('div',{'className':f[_0x220c47(0x195)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x47dcba),'children':_0x3887f0}),i['jsx']('div',{'className':_0x220c47(0x1b6),'children':_0x249331})]});}return i[_0x462071(0xf8)](f[_0x462071(0x142)],{'title':_0x41de3f,'placement':_0x462071(0x103),'children':_0x1ec023()});}var Ie=Object[_0x3e7941(0x150)],_e=(_0x1e5090,_0x208032,_0x4e1064,_0x68bc3f)=>{for(var _0x3894e2=_0x68bc3f>0x1?void 0x0:_0x68bc3f?Ie(_0x208032,_0x4e1064):_0x208032,_0x5424ed=_0x1e5090['length']-0x1,_0x33904c;_0x5424ed>=0x0;_0x5424ed--)(_0x33904c=_0x1e5090[_0x5424ed])&&(_0x3894e2=_0x33904c(_0x3894e2)||_0x3894e2);return _0x3894e2;},N=(_0x5b20ca,_0x51b629)=>(_0x3c40db,_0x5de6ac)=>_0x51b629(_0x3c40db,_0x5de6ac,_0x5b20ca);exports[_0x3e7941(0x1de)]=class extends u[_0x3e7941(0xf6)]{constructor(_0xc9d0f3,_0x1eaa19,_0x35c228,_0x5284c8){const _0x2b5f57=_0x3e7941;super(),this[_0x2b5f57(0xec)]=_0xc9d0f3,this[_0x2b5f57(0x115)]=_0x1eaa19,this['_uiPartsService']=_0x35c228,this[_0x2b5f57(0x113)]=_0x5284c8,this[_0x2b5f57(0x20f)](),this[_0x2b5f57(0xd6)]();}[_0x3e7941(0x20f)](){const _0x37f52c=_0x3e7941,_0x408ec0=this[_0x37f52c(0x113)][_0x37f52c(0x127)](P);_0x408ec0!=null&&_0x408ec0[_0x37f52c(0xa6)]&&(this[_0x37f52c(0x115)][_0x37f52c(0x14e)]=!0x1);}['_initStatusComponent'](){const _0x52b262=_0x3e7941,_0x5ce4a5=this[_0x52b262(0x113)][_0x52b262(0x127)](P);(_0x5ce4a5==null?void 0x0:_0x5ce4a5[_0x52b262(0x22e)])!==!0x1&&this[_0x52b262(0x1c8)](this[_0x52b262(0xe7)]['registerComponent'](v[_0x52b262(0xc1)][_0x52b262(0x1c5)],()=>{const _0x5c4c7c=_0x52b262;var _0x40fb67;return v[_0x5c4c7c(0x1b9)](ye({'status$':this[_0x5c4c7c(0x115)][_0x5c4c7c(0x164)],'error$':this[_0x5c4c7c(0x115)][_0x5c4c7c(0xe0)],'onConfigure':()=>this[_0x5c4c7c(0x186)](),'showClickable':(_0x40fb67=_0x5ce4a5==null?void 0x0:_0x5ce4a5[_0x5c4c7c(0xa6)])!=null?_0x40fb67:!0x1}),this[_0x5c4c7c(0xec)]);}));}['_handleConfigure'](){const _0x182665=_0x3e7941;this[_0x182665(0xec)][_0x182665(0xce)](exports[_0x182665(0x19d)])[_0x182665(0xd3)]();}},exports[_0x3e7941(0x1de)]=_e([N(0x0,u['Inject'](u['Injector'])),N(0x1,u[_0x3e7941(0x10d)](s['MCPConnectionController'])),N(0x2,v[_0x3e7941(0xc4)]),N(0x3,u[_0x3e7941(0x1e2)])],exports[_0x3e7941(0x1de)]);function ye(_0x35945f){const {status$:_0xf80651,error$:_0x8e6445,onConfigure:_0x1d61c1,showClickable:_0x997a89}=_0x35945f;return function(){const _0x4d238e=_0x58b6;return i[_0x4d238e(0xf8)](W,{'status$':_0xf80651,'error$':_0x8e6445,'onConfigure':_0x1d61c1,'showClickable':_0x997a89});};}function Me(_0x499b1f){const _0x4c9fca=_0x3e7941;return{'id':b['id'],'type':v[_0x4c9fca(0x124)][_0x4c9fca(0xd5)],'icon':_0x4c9fca(0x225),'title':'mcpConfig.title','tooltip':_0x4c9fca(0x100)};}const Ne={[v['RibbonStartGroup'][_0x3e7941(0x10b)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};function _0x4fb3(){const _0x3f8f2b=['colorChannel1','jsx','div','MCPConnectionController','Session\x20ID','label','span','_localeService','Configuration\x20Notes:','mcpConfig.title','您的\x20API\x20密钥将在此浏览器中本地存储','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','bottom','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-shrink-0\x20univer-text-blue-500','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:\x20Max\x20Retries\x20Exceeded','Configuration\x20Parameters:','ILogService','CONNECTING','OTHERS','removeItem','Inject','_messageService','MCP\x20连接失败','_initializeMenus','带有\x20Bearer\x20前缀的\x20API\x20密钥。','zhCN','_configService','clipPath','_connectionController','https://console.univer.plus','mcpStatus.maxRetriesExceeded','on-line-icon_clip0_910_349','translate(.97)','您的\x20API\x20密钥安全存储在本地存储中','MAX_RETRIES_EXCEEDED','_initConfigSync','children','univer-flex\x20univer-items-start\x20univer-gap-2','defIds','off-line-icon_clip0_910_343','xlink:href','setConfig','156363FMxQgW','MenuItemType','createElement','mcpStatus.sessionOccupied','getConfig','univer-text-gray-500','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.apiApplyInfo.univerAiLabel','show','substring','univer-shrink-0\x20univer-text-red-500','round','MCP_UI_PLUGIN','mcpConfig.connectionError.networkError','defs','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','mcpConfig.configStep1','_componentManager','重启您的\x20MCP\x20客户端以使配置生效','setItem','Click\x20to\x20configure\x20MCP','value','mcpConfig.configSaved','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','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','点击配置\x20MCP','mcpConfig.description','Invalid\x20configuration','univer-space-y-3','univer-text-red-500','几秒钟内获取您的\x20API\x20密钥','Tooltip','点击连接\x20MCP','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpServerUrl','mcpConfig.note1','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','会话ID','getCurrentConfig','RETRYING','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','启用身份验证以获得安全连接','_mcpCoreConfig$','enableAutoConnect','最大重试次数','getOwnPropertyDescriptor','off','API\x20key\x20is\x20required','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','什么是\x20API\x20密钥?','idSuffix','MCP_PLUGIN_CONFIG_KEY','close-icon','white','HelpIcon','0\x200\x2017\x2016','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','FAILED','mcpStatus.connected','univer-flex\x20univer-items-center','SESSION_ID_OCCUPIED','CloseIcon','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.apiKeyHint','connectionStatus$','mcp.apiKey','9074871rlQsRR','errorMessage','配置保存成功','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','on-line-icon','univer-flex\x20univer-items-center\x20univer-gap-2','mcpConfig.connectionStatus.failed','Bearer\x20','配置无效','IMenuManagerService','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','重连中...','map','_blank','useState','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','_loading$','random','length','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_apiKey$','univer-bg-blue-500','NETWORK_ERROR','univer-text-xs\x20univer-text-gray-500','validateApiKey','223544MYjSHU','MCP\x20状态未知','button','mcpStatus.retrying','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','url(#$1','MCPConnectionError','_handleConfigure','LocaleService','M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','MCP\x20Configuration','ICommandService','Enter\x20your\x20API\x20key','_validateConfig','Max\x20Retries','COMMAND','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','MCP\x20Connecting...','4323IBANYl','mcpStatus.clickToConfigure','2431218nUoxoR','mcpConfig.configStepTitle','clsx','Button','mcpConfig.configError','close','registerCommand','attrs','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','已连接','MCPConfigUIController','replace','DISCONNECTED','M0\x200H16V16H0z','_config$','1em','MessageType','CommandType','mergeMenu','mcpConfig.configStep3','Module','请输入您的\x20API\x20密钥','Saving...','mcpConfig.connectionStatus.disconnected','evenodd','mask','Click\x20to\x20connect\x20MCP','Authorization:','mcpConfig.save','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','Failed\x20to\x20save\x20configuration','next','配置步骤:','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.configStep2','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MCP\x20客户端配置','displayName','connectInjector','useCallback','useRef','UniverMCPUIPlugin','univer-flex\x20univer-items-start\x20univer-gap-3','Save\x20Configuration','none','Input','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univer-size-2\x20univer-rounded-full','univer.plus','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','HEADER_MENU','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCPConnectionStatus','disposeWithMe','merge','univer-bg-green-500','useDependency','stringify','API\x20密钥长度至少需要\x2010\x20位','MCPUIMenuController','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-text-blue-600','mcpConfig.validation.invalidApiKey','current','连接失败','toStringTag','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','mcpConfig.validation.invalidConfig','MCP\x20已断开','ComponentManager','<SESSION_ID>','MCPConfigPanel','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univerjs-icon\x20univerjs-icon-','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','MCPConnectionUIController','isValid','启用身份验证','apiKey','IConfigService','mcp-config-dialog','univer-flex\x20univer-gap-3','mcpConfig.saving','Plugin','currentColor','mcpConfig.apiKeyPlaceholder','subscribe','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','\x20-\x20','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','2VOLQdM','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','<API_KEY>','mcpStatus.unauthorized','Univer\x20AI\x20Console','API\x20Key','univer-bg-gray-500','univer-text-sm\x20univer-text-gray-500','4434348OYkoLI','权限验证失败,请检查您的\x20API\x20密钥','MCP:\x20Unauthorized','univer-bg-red-500','enUS','url(#on-line-icon_clip0_910_349)','mcpStatus.failed','MCP:\x20网络错误','_createConfigPanelComponent','_commandService','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','symbol','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_localStorageService','defineProperty','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','mcpConfig.validation.apiKeyRequired','_loadStoredApiKey','jsxs','onStarting','mcpConfig.connectionStatus.retrying','配置参数:','string','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','Configuration\x20saved\x20successfully','27810WwexCJ','_initAutoConnect','DependentOn','Enable\x20Authentication','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MCPStatusDisplay','mcpConfig.sessionIdDescription','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-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','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','univer-space-y-2','40CHiElq','超出最大重试次数,请稍后再试','IMessageService','ISocketService','UniverMCPPlugin','API\x20密钥','15YpTkTq','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','MCP\x20连接中...','ILocalStorageService','Error','Injector','MenuIcon','univer-text-white','check-mark-icon','http://www.w3.org/2000/svg','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','将配置添加到您的\x20MCP\x20客户端设置文件中','mcpStatus.unknown','univer-text-green-500','Connection\x20Failed','showStatus','_dialogService','showDeveloperTools','Connected','API\x20key\x20with\x20Bearer\x20prefix.','网络连接错误,请检查您的网络连接','mcpStatus.networkError','MCP:\x20未授权','has','mcpConfig.apiApplyInfo.description','fill','mcp-ui.config','UniverIcon','OffLineIcon','mcpConfig.connectionStatus.connecting','14FNOYZA','useObservable','Copy\x20the\x20JSON\x20configuration\x20below','help-icon','MCP\x20Client\x20Configuration','forwardRef','warn','MCP\x20重连中...','off-line-icon','entries','forEach','error','tag','univer.ai','BuiltInUIPart','908503alXVQK','includes','IUIPartsService','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','__setCustomHeaders','CONNECTED','Get\x20your\x20API\x20key\x20in\x20seconds','mcpConfig.connectionInfo','add','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_menuManagerService','get','univer-size-4','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','subscribeConfigValue$','UNAUTHORIZED','showConfigPanel','配置保存失败','BUTTON','_initStatusComponent','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20密钥无效,请检查密钥是否正确','BehaviorSubject','univer-min-w-0\x20univer-flex-1','mcpConfig.connectionStatus.connected','mcpConfig.apiApplyInfo.getStarted','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','MCP\x20Connected','connectionError$','trim','assign','\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','register','svg','_mcpConnectionController','_uiPartsService','_config','_logService','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','path','_injector','NONE','mcp-ui.command.openConfigPanel','open','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','Configuration\x20Steps:','mcpConfig.connectionError.sessionOccupied','pre','连接中...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Disposable'];_0x4fb3=function(){return _0x3f8f2b;};return _0x4fb3();}var be=Object['getOwnPropertyDescriptor'],je=(_0xca0402,_0x6e3510,_0x5bef5b,_0x3106e3)=>{const _0x1ada01=_0x3e7941;for(var _0x22c0c6=_0x3106e3>0x1?void 0x0:_0x3106e3?be(_0x6e3510,_0x5bef5b):_0x6e3510,_0x5b9ee0=_0xca0402[_0x1ada01(0x178)]-0x1,_0x2cd32a;_0x5b9ee0>=0x0;_0x5b9ee0--)(_0x2cd32a=_0xca0402[_0x5b9ee0])&&(_0x22c0c6=_0x2cd32a(_0x22c0c6)||_0x22c0c6);return _0x22c0c6;},z=(_0x5cd4ba,_0xa70b81)=>(_0x3e6858,_0x45b5c9)=>_0xa70b81(_0x3e6858,_0x45b5c9,_0x5cd4ba);exports[_0x3e7941(0x1ce)]=class extends u['Disposable']{constructor(_0x5a0833,_0x454fc8){const _0xf0735b=_0x3e7941;super(),this[_0xf0735b(0x1fe)]=_0x5a0833,this[_0xf0735b(0xcd)]=_0x454fc8,this['_initializeCommands'](),this[_0xf0735b(0x110)]();}['_initializeCommands'](){[b]['forEach'](_0x480328=>{const _0x4fe681=_0x58b6;this[_0x4fe681(0x1c8)](this[_0x4fe681(0x1fe)][_0x4fe681(0x199)](_0x480328));});}[_0x3e7941(0x110)](){const _0x51fff0=_0x3e7941;this[_0x51fff0(0xcd)][_0x51fff0(0x1a5)](Ne);}},exports[_0x3e7941(0x1ce)]=je([z(0x0,u[_0x3e7941(0x18a)]),z(0x1,v[_0x3e7941(0x16f)])],exports['MCPUIMenuController']);const Ee={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x3e7941(0x190),'connected':_0x3e7941(0xdf),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x3e7941(0x1f7),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x3e7941(0x107),'clickToConnect':_0x3e7941(0x1ad),'clickToConfigure':_0x3e7941(0x137)},'mcpConfig':{'title':_0x3e7941(0x189),'description':_0x3e7941(0x1db),'apiKey':_0x3e7941(0x1f2),'apiKeyPlaceholder':_0x3e7941(0x18b),'apiKeyHint':_0x3e7941(0x183),'enableAuth':_0x3e7941(0x211),'enableAuthHint':_0x3e7941(0x129),'connectionInfo':_0x3e7941(0xb7),'mcpClientConfig':_0x3e7941(0xb7),'configInstructions':_0x3e7941(0xd8),'configStepTitle':_0x3e7941(0xf1),'configStep1':_0x3e7941(0xb5),'configStep2':_0x3e7941(0xcc),'configStep3':_0x3e7941(0x175),'sessionId':_0x3e7941(0xfb),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x3e7941(0xa8),'configParameters':_0x3e7941(0x108),'maxRetries':_0x3e7941(0x18d),'save':_0x3e7941(0x1be),'saving':_0x3e7941(0x1a9),'note1':_0x3e7941(0xd0),'note2':_0x3e7941(0x1cf),'configSaved':_0x3e7941(0x20d),'configError':_0x3e7941(0x1b1),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x3e7941(0x1c1),'univerAiLabel':_0x3e7941(0x1f1),'getStarted':_0x3e7941(0xc8)},'validation':{'apiKeyRequired':_0x3e7941(0x152),'apiKeyTooShort':_0x3e7941(0xd7),'invalidConfig':_0x3e7941(0x13e),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x3e7941(0xa7),'failed':_0x3e7941(0x22d),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x3e7941(0xf5),'sessionOccupied':_0x3e7941(0x1c6),'networkError':_0x3e7941(0x170),'maxRetriesExceeded':_0x3e7941(0x1ec)}}},we={'mcpStatus':{'disconnected':_0x3e7941(0x1d7),'connecting':_0x3e7941(0x221),'connected':'MCP\x20已连接','failed':_0x3e7941(0x10f),'retrying':_0x3e7941(0xba),'unknown':_0x3e7941(0x180),'unauthorized':_0x3e7941(0xab),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x3e7941(0x1fc),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x3e7941(0x143),'clickToConfigure':_0x3e7941(0x13c)},'mcpConfig':{'title':'MCP\x20配置','description':_0x3e7941(0x162),'apiKey':_0x3e7941(0x21e),'apiKeyPlaceholder':_0x3e7941(0x1a8),'apiKeyHint':_0x3e7941(0x101),'enableAuth':_0x3e7941(0x1e0),'enableAuthHint':_0x3e7941(0x14c),'connectionInfo':_0x3e7941(0x1b7),'mcpClientConfig':_0x3e7941(0x1b7),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x3e7941(0x1b3),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x3e7941(0x22a),'configStep3':_0x3e7941(0x135),'sessionId':_0x3e7941(0x148),'sessionIdDescription':_0x3e7941(0x1c4),'authorizationDescription':_0x3e7941(0x111),'configParameters':_0x3e7941(0x20a),'maxRetries':_0x3e7941(0x14f),'save':'保存配置','saving':'保存中...','note1':'配置更改将立即生效','note2':_0x3e7941(0x11a),'configSaved':_0x3e7941(0x168),'configError':_0x3e7941(0xd4),'apiApplyInfo':{'title':_0x3e7941(0x154),'description':_0x3e7941(0x14b),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x3e7941(0x141)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x3e7941(0x1cd),'invalidConfig':_0x3e7941(0x16e),'invalidApiKey':_0x3e7941(0xd9)},'connectionStatus':{'disconnected':'未连接','connecting':_0x3e7941(0xf4),'connected':_0x3e7941(0x19c),'failed':_0x3e7941(0x1d3),'retrying':_0x3e7941(0x171)},'connectionError':{'unauthorized':_0x3e7941(0x1f6),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x3e7941(0xa9),'maxRetriesExceeded':_0x3e7941(0x21a)}}};var Ae=Object[_0x3e7941(0x203)],Oe=Object[_0x3e7941(0x150)],De=(_0x41ba00,_0xa89cab,_0x5b0504)=>_0xa89cab in _0x41ba00?Ae(_0x41ba00,_0xa89cab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b0504}):_0x41ba00[_0xa89cab]=_0x5b0504,Ue=(_0x35c216,_0x146cc2,_0x291362,_0x32d70e)=>{for(var _0x13ae42=_0x32d70e>0x1?void 0x0:_0x32d70e?Oe(_0x146cc2,_0x291362):_0x146cc2,_0x2ccf9f=_0x35c216['length']-0x1,_0x222a0c;_0x2ccf9f>=0x0;_0x2ccf9f--)(_0x222a0c=_0x35c216[_0x2ccf9f])&&(_0x13ae42=_0x222a0c(_0x13ae42)||_0x13ae42);return _0x13ae42;},y=(_0x50080a,_0x533f6a)=>(_0x2cc70f,_0x5f0af6)=>_0x533f6a(_0x2cc70f,_0x5f0af6,_0x50080a),$e=(_0x2508a4,_0x72ee02,_0x1d3204)=>De(_0x2508a4,_0x72ee02+'',_0x1d3204);exports['UniverMCPUIPlugin']=class extends u[_0x3e7941(0x1e6)]{constructor(_0x18f1af=L,_0x4ed958,_0x40f889,_0x311bbd,_0x490f87,_0x47383f){const _0x37d466=_0x3e7941;super(),this[_0x37d466(0xe8)]=_0x18f1af,this[_0x37d466(0xec)]=_0x4ed958,this[_0x37d466(0x113)]=_0x40f889,this[_0x37d466(0xe7)]=_0x311bbd,this[_0x37d466(0x202)]=_0x490f87,this[_0x37d466(0xfe)]=_0x47383f;const {..._0x24f9b9}=u[_0x37d466(0x1c9)]({},L,this[_0x37d466(0xe8)]);this[_0x37d466(0x113)][_0x37d466(0x122)](P,_0x24f9b9);}async[_0x3e7941(0x208)](){const _0xd61d2e=_0x3e7941,_0x573c55=[[exports[_0xd61d2e(0x1de)]],[exports[_0xd61d2e(0x19d)]],[exports['MCPUIMenuController']]];this[_0xd61d2e(0xec)][_0xd61d2e(0xac)](A[_0xd61d2e(0x21c)])||_0x573c55['push']([A[_0xd61d2e(0x21c)],{'useClass':A['WebSocketService']}]),_0x573c55[_0xd61d2e(0xbd)](_0x4b94ff=>this[_0xd61d2e(0xec)][_0xd61d2e(0xca)](_0x4b94ff)),this['_injector']['get'](exports[_0xd61d2e(0x1de)]),this['_injector'][_0xd61d2e(0xce)](exports['MCPConfigUIController']),this[_0xd61d2e(0xec)][_0xd61d2e(0xce)](exports[_0xd61d2e(0x1ce)]);}},$e(exports[_0x3e7941(0x1bc)],'pluginName',_0x3e7941(0x12f)),exports[_0x3e7941(0x1bc)]=Ue([u[_0x3e7941(0x210)](s[_0x3e7941(0x21d)]),y(0x1,u[_0x3e7941(0x10d)](u[_0x3e7941(0x224)])),y(0x2,u['IConfigService']),y(0x3,v[_0x3e7941(0xc4)]),y(0x4,u[_0x3e7941(0x222)]),y(0x5,u[_0x3e7941(0x10d)](u[_0x3e7941(0x187)]))],exports[_0x3e7941(0x1bc)]),exports[_0x3e7941(0x1da)]=V,exports[_0x3e7941(0x213)]=W,exports['OpenMCPConfigPanelCommand']=b,exports[_0x3e7941(0x1f9)]=Ee,exports[_0x3e7941(0x112)]=we;
1
+ 'use strict';const _0x23229f=_0x5902;(function(_0x2fe51a,_0x48a212){const _0x4a4825=_0x5902,_0x42e490=_0x2fe51a();while(!![]){try{const _0x270fa6=-parseInt(_0x4a4825(0xc3))/0x1+parseInt(_0x4a4825(0x100))/0x2*(parseInt(_0x4a4825(0x147))/0x3)+parseInt(_0x4a4825(0x120))/0x4+parseInt(_0x4a4825(0x7f))/0x5+-parseInt(_0x4a4825(0xba))/0x6+parseInt(_0x4a4825(0xd6))/0x7*(-parseInt(_0x4a4825(0x16c))/0x8)+parseInt(_0x4a4825(0x10b))/0x9;if(_0x270fa6===_0x48a212)break;else _0x42e490['push'](_0x42e490['shift']());}catch(_0x4f407f){_0x42e490['push'](_0x42e490['shift']());}}}(_0xc67f,0xa3494));var ae=Object[_0x23229f(0xd9)],le=(_0x1d8163,_0x859058,_0x349754)=>_0x859058 in _0x1d8163?ae(_0x1d8163,_0x859058,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x349754}):_0x1d8163[_0x859058]=_0x349754,I=(_0x5609a7,_0x377dd7,_0x1c48f2)=>le(_0x5609a7,typeof _0x377dd7!=_0x23229f(0x1b1)?_0x377dd7+'':_0x377dd7,_0x1c48f2);Object[_0x23229f(0xd9)](exports,Symbol['toStringTag'],{'value':_0x23229f(0x16a)});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:_0x4f8130,..._0x25fad9}){const _0x19d003=_0x23229f,{icon:_0x36ccf8,id:_0x5007c4,className:_0x30604a,extend:_0x535116,..._0xf82ef2}=_0x25fad9,_0x2de83e=(_0x19d003(0x132)+_0x5007c4+'\x20'+(_0x30604a||''))[_0x19d003(0xd8)](),_0x2d456d=d[_0x19d003(0x17b)]('_'+de());return G(_0x36ccf8,''+_0x5007c4,{'defIds':_0x36ccf8['defIds'],'idSuffix':_0x2d456d[_0x19d003(0x127)]},{'ref':_0x4f8130,'className':_0x2de83e,..._0xf82ef2},_0x535116);}function G(_0x4a1011,_0x60dd03,_0x28167c,_0x21e3ce,_0x14648f){const _0x10fb0b=_0x23229f;return d[_0x10fb0b(0x12b)](_0x4a1011[_0x10fb0b(0x1c2)],{'key':_0x60dd03,...ue(_0x4a1011,_0x28167c,_0x14648f),..._0x21e3ce},(ve(_0x4a1011,_0x28167c)[_0x10fb0b(0xe9)]||[])[_0x10fb0b(0x145)]((_0x21c4fc,_0x1f7bfd)=>G(_0x21c4fc,_0x60dd03+'-'+_0x4a1011[_0x10fb0b(0x1c2)]+'-'+_0x1f7bfd,_0x28167c,void 0x0,_0x14648f)));}function ue(_0x34dbfc,_0xc49bd2,_0x13b1ba){const _0x2c5741=_0x23229f,_0x58ccc9={..._0x34dbfc[_0x2c5741(0x109)]};_0x13b1ba!=null&&_0x13b1ba[_0x2c5741(0x111)]&&_0x58ccc9[_0x2c5741(0x1a3)]===_0x2c5741(0x111)&&(_0x58ccc9[_0x2c5741(0x1a3)]=_0x13b1ba[_0x2c5741(0x111)]),_0x34dbfc[_0x2c5741(0x1c2)]==='mask'&&_0x58ccc9['id']&&(_0x58ccc9['id']=_0x58ccc9['id']+_0xc49bd2[_0x2c5741(0x15a)]),Object[_0x2c5741(0x1ae)](_0x58ccc9)['forEach'](([_0x3196f7,_0x38c797])=>{const _0x39c5ff=_0x2c5741;_0x3196f7===_0x39c5ff(0x13a)&&typeof _0x38c797==_0x39c5ff(0x10d)&&(_0x58ccc9[_0x3196f7]=_0x38c797[_0x39c5ff(0x11b)](/url\(#(.*)\)/,_0x39c5ff(0xeb)+_0xc49bd2['idSuffix']+')'));});const {defIds:_0x49138a}=_0xc49bd2;return!_0x49138a||_0x49138a[_0x2c5741(0x129)]===0x0||(_0x34dbfc[_0x2c5741(0x1c2)]===_0x2c5741(0x18e)&&_0x58ccc9[_0x2c5741(0xf2)]&&(_0x58ccc9[_0x2c5741(0xf2)]=_0x58ccc9['xlink:href']+_0xc49bd2[_0x2c5741(0x15a)]),Object[_0x2c5741(0x1ae)](_0x58ccc9)[_0x2c5741(0x102)](([_0x1ba564,_0x19a0c1])=>{const _0x4ebe44=_0x2c5741;typeof _0x19a0c1=='string'&&(_0x58ccc9[_0x1ba564]=_0x19a0c1[_0x4ebe44(0x11b)](/url\(#(.*)\)/,'url(#$1'+_0xc49bd2['idSuffix']+')'));})),_0x58ccc9;}function ve(_0x3019bd,_0x37c406){const _0x411b6e=_0x23229f;var _0x1dc018;const {defIds:_0xa8dfcd}=_0x37c406;return!_0xa8dfcd||_0xa8dfcd[_0x411b6e(0x129)]===0x0?_0x3019bd:_0x3019bd[_0x411b6e(0x1c2)]===_0x411b6e(0x156)&&((_0x1dc018=_0x3019bd['children'])!=null&&_0x1dc018[_0x411b6e(0x129)])?{..._0x3019bd,'children':_0x3019bd[_0x411b6e(0xe9)][_0x411b6e(0x145)](_0x5154ea=>typeof _0x5154ea[_0x411b6e(0x109)]['id']==_0x411b6e(0x10d)&&_0xa8dfcd&&_0xa8dfcd[_0x411b6e(0x163)](_0x5154ea[_0x411b6e(0x109)]['id'])?{..._0x5154ea,'attrs':{..._0x5154ea[_0x411b6e(0x109)],'id':_0x5154ea[_0x411b6e(0x109)]['id']+_0x37c406[_0x411b6e(0x15a)]}}:_0x5154ea)}:_0x3019bd;}function de(){const _0x493f02=_0x23229f;return Math[_0x493f02(0x158)]()[_0x493f02(0xb9)](0x24)[_0x493f02(0x15e)](0x2,0x8);}_[_0x23229f(0xb5)]='UniverIcon';const Ce={'tag':'svg','attrs':{'xmlns':_0x23229f(0x121),'fill':_0x23229f(0x1e1),'viewBox':_0x23229f(0x1da),'width':_0x23229f(0x1b8),'height':_0x23229f(0x1b8)},'children':[{'tag':_0x23229f(0x1c9),'attrs':{'fill':_0x23229f(0x16d),'d':_0x23229f(0xef),'fillRule':_0x23229f(0xa2),'clipRule':_0x23229f(0xa2)}}]},H=d[_0x23229f(0x10f)](function(_0x4c22ea,_0x5491bd){const _0x48979d=_0x23229f;return d['createElement'](_,Object[_0x48979d(0x8b)]({},_0x4c22ea,{'id':'check-mark-icon','ref':_0x5491bd,'icon':Ce}));});H[_0x23229f(0xb5)]=_0x23229f(0x1a6);const ge={'tag':_0x23229f(0xa0),'attrs':{'xmlns':_0x23229f(0x121),'fill':'none','viewBox':_0x23229f(0x1da),'width':_0x23229f(0x1b8),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x23229f(0x16d),'d':'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'}}]},B=d[_0x23229f(0x10f)](function(_0x35c6f7,_0x585b87){const _0x404a8b=_0x23229f;return d[_0x404a8b(0x12b)](_,Object[_0x404a8b(0x8b)]({},_0x35c6f7,{'id':_0x404a8b(0xea),'ref':_0x585b87,'icon':ge}));});B[_0x23229f(0xb5)]=_0x23229f(0xe4);const fe={'tag':_0x23229f(0xa0),'attrs':{'xmlns':_0x23229f(0x121),'fill':_0x23229f(0x1e1),'viewBox':_0x23229f(0x1da),'width':'1em','height':_0x23229f(0x1b8)},'children':[{'tag':_0x23229f(0x1c9),'attrs':{'fill':_0x23229f(0x16d),'d':_0x23229f(0x94)}},{'tag':_0x23229f(0x1c9),'attrs':{'fill':'currentColor','d':_0x23229f(0xd5)}},{'tag':_0x23229f(0x1c9),'attrs':{'fill':_0x23229f(0x16d),'d':_0x23229f(0x16e),'fillRule':_0x23229f(0xa2),'clipRule':_0x23229f(0xa2)}}]},F=d[_0x23229f(0x10f)](function(_0x1c1215,_0x327340){const _0x1aa072=_0x23229f;return d[_0x1aa072(0x12b)](_,Object['assign']({},_0x1c1215,{'id':_0x1aa072(0xee),'ref':_0x327340,'icon':fe}));});F[_0x23229f(0xb5)]=_0x23229f(0x197);const pe={'tag':'svg','attrs':{'xmlns':_0x23229f(0x121),'fill':_0x23229f(0x1e1),'viewBox':_0x23229f(0x1da),'width':_0x23229f(0x1b8),'height':_0x23229f(0x1b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x23229f(0x137)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x23229f(0x10a),'strokeLinecap':_0x23229f(0xbb),'strokeLinejoin':_0x23229f(0xbb),'strokeWidth':1.2}}]},{'tag':_0x23229f(0x156),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x23229f(0x1c9),'attrs':{'fill':_0x23229f(0x1bd),'d':_0x23229f(0xf1)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Y=d[_0x23229f(0x10f)](function(_0x536318,_0x38c735){const _0x333e44=_0x23229f;return d['createElement'](_,Object['assign']({},_0x536318,{'id':_0x333e44(0x165),'ref':_0x38c735,'icon':pe}));});Y[_0x23229f(0xb5)]='OffLineIcon';const he={'tag':'svg','attrs':{'xmlns':_0x23229f(0x121),'fill':_0x23229f(0x1e1),'viewBox':_0x23229f(0xfc),'width':_0x23229f(0x1b8),'height':_0x23229f(0x1b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x23229f(0x92)},'children':[{'tag':_0x23229f(0x1c9),'attrs':{'stroke':'currentColor','d':_0x23229f(0x125),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x23229f(0x156),'attrs':{},'children':[{'tag':_0x23229f(0x1ba),'attrs':{'id':_0x23229f(0x11f)},'children':[{'tag':_0x23229f(0x1c9),'attrs':{'fill':'white','d':_0x23229f(0xf1),'transform':_0x23229f(0x98)}}]}]}],'defIds':[_0x23229f(0x11f)]},q=d['forwardRef'](function(_0x1d1ca4,_0xb722e3){const _0x2c239a=_0x23229f;return d[_0x2c239a(0x12b)](_,Object['assign']({},_0x1d1ca4,{'id':_0x2c239a(0x1b7),'ref':_0xb722e3,'icon':he}));});q[_0x23229f(0xb5)]=_0x23229f(0x12d);function V(_0x4fb2b3){const _0x27b139=_0x23229f;var _0xe0c954,_0x3a49d4;const {mcpCoreConfig:_0x2e0668,onSave:_0x398ef5,loading:_0x86b6f1=!0x1,config:_0x220b1a,connectionStatus$:_0x235139,connectionError$:_0x2c59f0,currentApiKey$:_0xa6c999,currentSessionId$:_0x47067e}=_0x4fb2b3,_0x49a934=v[_0x27b139(0x13b)](u[_0x27b139(0x10c)]),_0x49fd4b=v[_0x27b139(0xb3)](_0x235139,s[_0x27b139(0xfa)]['DISCONNECTED']),_0x1f8342=v[_0x27b139(0xb3)](_0x2c59f0,s[_0x27b139(0x84)][_0x27b139(0x10e)]),_0x51625d=v['useObservable'](_0x47067e,''),_0x1ca442=v['useObservable'](_0xa6c999,''),[_0x40405e,_0xb6ed3b]=d[_0x27b139(0x11e)](_0x1ca442||''),_0x99504=!0x0,_0x399548=_0x220b1a[_0x27b139(0x19c)]&&_0x2e0668['mcpServerUrl']&&(_0x2e0668[_0x27b139(0x1d7)][_0x27b139(0x163)](_0x27b139(0x19f))||_0x2e0668[_0x27b139(0x1d7)][_0x27b139(0x163)](_0x27b139(0x9b))),_0x5a3e00=(_0xe0c954=_0x2e0668[_0x27b139(0x1d7)])==null?void 0x0:_0xe0c954[_0x27b139(0x163)]('univer.plus'),_0xc2bbed=(_0x3a49d4=_0x2e0668['mcpServerUrl'])==null?void 0x0:_0x3a49d4['includes']('univer.ai'),_0x397ed0=_0x5a3e00?_0x27b139(0x1cb):_0x27b139(0x1d8),_0x3090de=_0x220b1a[_0x27b139(0x19c)]&&(_0x5a3e00||_0xc2bbed),[_0x4b0b11,_0x127248]=d[_0x27b139(0x11e)](!_0x40405e[_0x27b139(0xd8)]()),_0x5ab014=(_0x1e2cd4,_0x4bd14e)=>{const _0x44d3c7=_0x27b139;if(_0x4bd14e===s[_0x44d3c7(0x84)][_0x44d3c7(0x133)])return _0x44d3c7(0x1d1);switch(_0x1e2cd4){case s[_0x44d3c7(0xfa)][_0x44d3c7(0xd7)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case s[_0x44d3c7(0xfa)]['CONNECTING']:case s[_0x44d3c7(0xfa)][_0x44d3c7(0x1e4)]:return _0x44d3c7(0x1ce);case s[_0x44d3c7(0xfa)][_0x44d3c7(0xe3)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x44d3c7(0x159);}},_0x3528de=(_0x4c2eb9,_0x304fce)=>{const _0x167070=_0x27b139;if(_0x304fce===s[_0x167070(0x84)][_0x167070(0x133)])return _0x167070(0xe0);switch(_0x4c2eb9){case s[_0x167070(0xfa)][_0x167070(0xd7)]:return _0x167070(0x1dc);case s['MCPConnectionStatus'][_0x167070(0x13c)]:case s[_0x167070(0xfa)][_0x167070(0x1e4)]:return'univer-bg-blue-500';case s[_0x167070(0xfa)][_0x167070(0xe3)]:return _0x167070(0xe0);default:return _0x167070(0x87);}},_0x3cbf39=_0x394150=>{const _0xc0ac87=_0x27b139;switch(_0x394150){case s[_0xc0ac87(0xfa)][_0xc0ac87(0xd7)]:return _0x49a934['t'](_0xc0ac87(0x107));case s[_0xc0ac87(0xfa)][_0xc0ac87(0x13c)]:return _0x49a934['t']('mcpConfig.connectionStatus.connecting');case s[_0xc0ac87(0xfa)][_0xc0ac87(0xe3)]:return _0x49a934['t'](_0xc0ac87(0x1a4));case s[_0xc0ac87(0xfa)][_0xc0ac87(0x1e4)]:return _0x49a934['t']('mcpConfig.connectionStatus.retrying');default:return _0x49a934['t'](_0xc0ac87(0xc9));}},_0x11bde5=_0x498dc0=>{const _0x23cc47=_0x27b139;switch(_0x498dc0){case s[_0x23cc47(0x84)]['UNAUTHORIZED']:return _0x49a934['t'](_0x23cc47(0x182));case s[_0x23cc47(0x84)][_0x23cc47(0xf5)]:return _0x49a934['t'](_0x23cc47(0x101));case s[_0x23cc47(0x84)][_0x23cc47(0x8a)]:return _0x49a934['t']('mcpConfig.connectionError.networkError');case s['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x49a934['t'](_0x23cc47(0x1b3));default:return'';}},_0x1c54de=d[_0x27b139(0x195)](()=>{const _0x172636=_0x27b139,_0x4ced47={..._0x2e0668,'apiKey':_0x40405e[_0x172636(0xd8)](),'enableAuth':_0x99504};_0x398ef5(_0x4ced47);},[_0x2e0668,_0x40405e,_0x99504,_0x398ef5]),_0x144ed6=_0x40405e[_0x27b139(0xd8)]()[_0x27b139(0x129)]>0x0;return i['jsxs'](_0x27b139(0x83),{'className':_0x27b139(0x155),'children':[i['jsx']('div',{'className':_0x27b139(0x154),'children':i['jsxs'](_0x27b139(0x83),{'className':_0x27b139(0x122),'children':[i[_0x27b139(0xe5)](_0x27b139(0x83),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':i['jsx'](_0x27b139(0xe1),{'className':'univer-text-white','children':'⚙'})}),i[_0x27b139(0xe5)](_0x27b139(0x83),{'children':i[_0x27b139(0xe5)]('p',{'className':_0x27b139(0x14b),'children':_0x49a934['t']('mcpConfig.description')})})]})}),i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[i['jsx'](_0x27b139(0x83),{'className':f[_0x27b139(0x150)](_0x27b139(0x95),_0x5ab014(_0x49fd4b,_0x1f8342)),'children':i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':_0x27b139(0x12e),'children':[i[_0x27b139(0xe5)]('div',{'className':f[_0x27b139(0x150)]('univer-size-2\x20univer-rounded-full',_0x3528de(_0x49fd4b,_0x1f8342))}),i[_0x27b139(0xe5)](_0x27b139(0xe1),{'className':_0x27b139(0xf6),'children':_0x3cbf39(_0x49fd4b)})]})}),_0x1f8342!==s[_0x27b139(0x84)][_0x27b139(0x10e)]&&(_0x49fd4b===s[_0x27b139(0xfa)][_0x27b139(0xe3)]||_0x1f8342===s[_0x27b139(0x84)][_0x27b139(0x133)])&&i[_0x27b139(0xe5)](_0x27b139(0x83),{'className':_0x27b139(0x1bf),'children':i['jsxs'](_0x27b139(0x83),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[i[_0x27b139(0xe5)]('span',{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),i[_0x27b139(0xe5)]('p',{'className':_0x27b139(0x173),'children':_0x11bde5(_0x1f8342)})]})})]}),i['jsx']('div',{'className':_0x27b139(0x181),'children':i['jsxs'](_0x27b139(0x83),{'className':_0x27b139(0x1c0),'children':[i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':'univer-space-y-2','children':[i[_0x27b139(0xb8)](_0x27b139(0xd4),{'className':_0x27b139(0xb6),'children':[i[_0x27b139(0xe5)](_0x27b139(0xe1),{'children':'🔑'}),'\x20',_0x49a934['t']('mcpConfig.apiKey'),i[_0x27b139(0xe5)]('span',{'className':_0x27b139(0xec),'children':'*'}),_0x399548&&i[_0x27b139(0xe5)]('a',{'className':'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','title':_0x49a934['t'](_0x27b139(0x186)),'role':'button','onClick':()=>_0x127248(!0x0),'children':i[_0x27b139(0xe5)](F,{})})]}),i[_0x27b139(0xe5)](f['Input'],{'type':_0x27b139(0x152),'placeholder':_0x49a934['t'](_0x27b139(0x192)),'value':_0x40405e,'disabled':_0x86b6f1,'autoComplete':_0x27b139(0x166),'onChange':_0xb6ed3b}),i[_0x27b139(0xe5)]('p',{'className':_0x27b139(0x1aa),'children':_0x49a934['t'](_0x27b139(0x18d))})]}),_0x399548&&_0x4b0b11&&i[_0x27b139(0xb8)]('div',{'className':_0x27b139(0xf7),'children':[i[_0x27b139(0xe5)]('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':_0x27b139(0x1ad),'onClick':()=>_0x127248(!0x1),'children':i['jsx'](B,{'className':_0x27b139(0x151)})}),i['jsxs'](_0x27b139(0x83),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[i[_0x27b139(0xe5)](_0x27b139(0x83),{'className':_0x27b139(0xa5),'children':i[_0x27b139(0xe5)](_0x27b139(0xe1),{'className':_0x27b139(0x14c),'children':'🚀'})}),i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':_0x27b139(0xca),'children':[i['jsx']('h4',{'className':_0x27b139(0x177),'children':_0x49a934['t'](_0x27b139(0x186))}),i[_0x27b139(0xe5)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x49a934['t']('mcpConfig.apiApplyInfo.description')}),i['jsx'](_0x27b139(0x83),{'className':_0x27b139(0x7e),'children':_0x3090de&&i[_0x27b139(0xb8)]('a',{'className':_0x27b139(0x1e7),'href':_0x397ed0,'target':_0x27b139(0x138),'rel':_0x27b139(0x15b),'children':[i[_0x27b139(0xe5)](_0x27b139(0xe1),{'children':'🤖'}),_0x49a934['t'](_0x27b139(0xa6)),i[_0x27b139(0xe5)](_0x27b139(0xe1),{'className':'univer-text-gray-400','children':'↗'})]})}),i['jsxs'](_0x27b139(0x83),{'className':_0x27b139(0x1c4),'children':['✨','\x20',_0x49a934['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x220b1a[_0x27b139(0x19c)]&&i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[i[_0x27b139(0xb8)]('h4',{'className':_0x27b139(0x119),'children':[i[_0x27b139(0xe5)]('span',{'children':'🔗'}),'\x20',_0x49a934['t']('mcpConfig.connectionInfo')]}),i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':'univer-space-y-4','children':[i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':_0x27b139(0x1bc),'children':[i[_0x27b139(0xe5)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x49a934['t'](_0x27b139(0x16f))}),i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':_0x27b139(0x85),'children':[i[_0x27b139(0xe5)](_0x27b139(0x83),{'className':_0x27b139(0x1be),'children':_0x49a934['t']('mcpConfig.configStepTitle')}),i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':_0x27b139(0x183),'children':[i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x27b139(0xe5)](_0x27b139(0xe1),{'className':_0x27b139(0x167),'children':'1'}),_0x49a934['t'](_0x27b139(0xc0))]}),i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':_0x27b139(0x12e),'children':[i[_0x27b139(0xe5)](_0x27b139(0xe1),{'className':_0x27b139(0x167),'children':'2'}),_0x49a934['t'](_0x27b139(0x88))]}),i[_0x27b139(0xb8)]('div',{'className':_0x27b139(0x12e),'children':[i[_0x27b139(0xe5)](_0x27b139(0xe1),{'className':_0x27b139(0x167),'children':'3'}),_0x49a934['t']('mcpConfig.configStep3')]})]})]})]}),i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':_0x27b139(0x85),'children':[i[_0x27b139(0xe5)](_0x27b139(0x83),{'className':_0x27b139(0x1be),'children':_0x27b139(0xff)}),i['jsx'](_0x27b139(0x83),{'className':_0x27b139(0xbd),'children':i[_0x27b139(0xe5)]('pre',{'className':_0x27b139(0xa7),'children':JSON[_0x27b139(0xa1)]({'mcpServers':{'univer':{'url':_0x27b139(0x1a5)+(_0x51625d||_0x27b139(0x172)),'type':_0x27b139(0x18c),'headers':{'Authorization':'Bearer\x20'+(_0x40405e||_0x27b139(0xe6))}}}},null,0x2)})})]}),i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':'univer-space-y-3','children':[i[_0x27b139(0xe5)](_0x27b139(0x83),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x49a934['t'](_0x27b139(0x184))}),i['jsxs']('div',{'className':'univer-space-y-2','children':[i[_0x27b139(0xb8)]('div',{'className':_0x27b139(0x12c),'children':[i[_0x27b139(0xe5)](_0x27b139(0x83),{'className':_0x27b139(0x93)}),i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':_0x27b139(0x180),'children':[i[_0x27b139(0xe5)](_0x27b139(0x83),{'className':_0x27b139(0x123),'children':_0x27b139(0x168)}),i[_0x27b139(0xe5)](_0x27b139(0x83),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x49a934['t'](_0x27b139(0x1a7))})]})]}),i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':_0x27b139(0x12c),'children':[i[_0x27b139(0xe5)]('div',{'className':_0x27b139(0x93)}),i['jsxs']('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[i['jsx']('div',{'className':_0x27b139(0x123),'children':_0x27b139(0x161)}),i[_0x27b139(0xe5)](_0x27b139(0x83),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x49a934['t'](_0x27b139(0x1d4))})]})]})]})]})]})]}),i['jsx'](f['Button'],{'onClick':_0x1c54de,'disabled':!_0x144ed6||_0x86b6f1,'className':_0x27b139(0x112),'children':_0x86b6f1?i[_0x27b139(0xb8)](_0x27b139(0xe1),{'className':_0x27b139(0x12e),'children':[i[_0x27b139(0xe5)](_0x27b139(0xe1),{'children':'⟲'}),_0x49a934['t'](_0x27b139(0xbf))]}):i[_0x27b139(0xb8)](_0x27b139(0xe1),{'className':_0x27b139(0x12e),'children':[i[_0x27b139(0xe5)](H,{}),_0x49a934['t']('mcpConfig.save')]})}),i[_0x27b139(0xe5)](_0x27b139(0x83),{'className':_0x27b139(0x1c3),'children':i[_0x27b139(0xb8)]('div',{'className':_0x27b139(0xf8),'children':[i['jsx'](_0x27b139(0xe1),{'className':_0x27b139(0x19e),'children':'💡'}),i[_0x27b139(0xb8)](_0x27b139(0x83),{'className':_0x27b139(0xc7),'children':[i[_0x27b139(0xe5)]('div',{'className':_0x27b139(0x1a9),'children':'Configuration\x20Notes:'}),i['jsxs'](_0x27b139(0x83),{'children':['•',_0x49a934['t'](_0x27b139(0xc1))]}),i[_0x27b139(0xb8)]('div',{'children':['•',_0x49a934['t']('mcpConfig.note2')]})]})]})})]})})]});}const P=_0x23229f(0xde),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x23229f(0x1e5)],xe=(_0x387536,_0x2f21a5,_0x5da763,_0x329667)=>{const _0x4a54ed=_0x23229f;for(var _0x3adc38=_0x329667>0x1?void 0x0:_0x329667?me(_0x2f21a5,_0x5da763):_0x2f21a5,_0x3ad2eb=_0x387536[_0x4a54ed(0x129)]-0x1,_0x4b6740;_0x3ad2eb>=0x0;_0x3ad2eb--)(_0x4b6740=_0x387536[_0x3ad2eb])&&(_0x3adc38=_0x4b6740(_0x3adc38)||_0x3adc38);return _0x3adc38;},g=(_0x48ade7,_0x246bd1)=>(_0x5635e6,_0x226fd3)=>_0x246bd1(_0x5635e6,_0x226fd3,_0x48ade7);const O=_0x23229f(0x1bb),D=_0x23229f(0x1a2);exports[_0x23229f(0x9a)]=class extends u[_0x23229f(0x1e0)]{constructor(_0x3d14b8,_0x45666d,_0x278c9d,_0x5f3342,_0x40614f,_0x123a8f,_0x288df5,_0x4e6145,_0x49296d,_0x35e20d){const _0x5e1bb2=_0x23229f;super(),I(this,_0x5e1bb2(0x191),new M[(_0x5e1bb2(0x104))](!0x1)),I(this,'_mcpCoreConfig$',new M['BehaviorSubject']({})),I(this,_0x5e1bb2(0x114),new M['BehaviorSubject']({})),I(this,_0x5e1bb2(0x9c),new M['BehaviorSubject']('')),I(this,_0x5e1bb2(0xa3),async _0x3e148c=>{const _0x3f30cb=_0x5e1bb2;var _0x925a20,_0x224ab4;this[_0x3f30cb(0x191)]['next'](!0x0);try{const _0xc01136=await this['_validateConfig'](_0x3e148c);if(!_0xc01136[_0x3f30cb(0x1db)]){this[_0x3f30cb(0x14e)][_0x3f30cb(0xc5)]({'type':f[_0x3f30cb(0x9f)][_0x3f30cb(0x1df)],'content':_0xc01136[_0x3f30cb(0x171)]||this[_0x3f30cb(0x124)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x3e148c[_0x3f30cb(0x7d)]?await this[_0x3f30cb(0x1d6)][_0x3f30cb(0x160)](O,_0x3e148c['apiKey']['trim']()):await this[_0x3f30cb(0x1d6)]['removeItem'](O),this[_0x3f30cb(0x9c)][_0x3f30cb(0x1d0)](((_0x925a20=_0x3e148c['apiKey'])==null?void 0x0:_0x925a20[_0x3f30cb(0xd8)]())||''),this[_0x3f30cb(0xcb)][_0x3f30cb(0xb1)]({'Authorization':_0x3f30cb(0xfd)+((_0x224ab4=_0x3e148c['apiKey'])==null?void 0x0:_0x224ab4[_0x3f30cb(0xd8)]())}),this[_0x3f30cb(0x14e)]['show']({'type':f[_0x3f30cb(0x9f)]['Success'],'content':this['_localeService']['t'](_0x3f30cb(0x18b))}),setTimeout(()=>{const _0x3ca638=_0x3f30cb;this[_0x3ca638(0xaa)][_0x3ca638(0x1a0)](D);},0x320);}catch(_0x4329b1){this[_0x3f30cb(0xd3)][_0x3f30cb(0x16b)](_0x3f30cb(0x1d3),_0x4329b1),this[_0x3f30cb(0x14e)][_0x3f30cb(0xc5)]({'type':f['MessageType'][_0x3f30cb(0x1df)],'content':this[_0x3f30cb(0x124)]['t'](_0x3f30cb(0x135))});}finally{this[_0x3f30cb(0x191)][_0x3f30cb(0x1d0)](!0x1);}}),(this[_0x5e1bb2(0xf9)]=_0x3d14b8,this[_0x5e1bb2(0x103)]=_0x45666d,this['_configService']=_0x278c9d,this[_0x5e1bb2(0x1d6)]=_0x5f3342,this['_dialogService']=_0x40614f,this[_0x5e1bb2(0x14e)]=_0x123a8f,this[_0x5e1bb2(0x14a)]=_0x288df5,this[_0x5e1bb2(0x124)]=_0x4e6145,this[_0x5e1bb2(0xd3)]=_0x49296d,this['_mcpConnectionController']=_0x35e20d,this[_0x5e1bb2(0x86)](),this['_loadStoredApiKey'](),this[_0x5e1bb2(0xd0)]());}[_0x23229f(0xdf)](){const _0x48453d=_0x23229f,_0x4714e8=this['_configService'][_0x48453d(0x13e)](P);_0x4714e8!=null&&_0x4714e8[_0x48453d(0x19c)]&&this['_dialogService'][_0x48453d(0x169)]({'id':D,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0xeac768=_0x48453d;this[_0xeac768(0xaa)][_0xeac768(0x1a0)](D);}});}['getCurrentConfig'](){const _0x1fce2d=_0x23229f;return this[_0x1fce2d(0x1c8)][_0x1fce2d(0x13d)];}[_0x23229f(0xd0)](){const _0x22c90a=_0x23229f;this[_0x22c90a(0x1b0)](this[_0x22c90a(0x14a)]['register'](_0x22c90a(0x1c6),this['_createConfigPanelComponent']()));}[_0x23229f(0x188)](){const _0x11abbd=_0x23229f;return v[_0x11abbd(0x174)](()=>{const _0x388754=_0x11abbd;var _0x2343dd,_0x1caf1b,_0x11c1ee;return i['jsx'](V,{'config':this[_0x388754(0x114)][_0x388754(0x13d)],'mcpCoreConfig':this[_0x388754(0x1c8)][_0x388754(0x13d)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x388754(0xa3)],'loading':this['_loading$'][_0x388754(0x13d)],'connectionStatus$':(_0x2343dd=this[_0x388754(0xcb)])==null?void 0x0:_0x2343dd[_0x388754(0x91)],'connectionError$':(_0x1caf1b=this['_mcpConnectionController'])==null?void 0x0:_0x1caf1b['connectionError$'],'currentSessionId$':(_0x11c1ee=this[_0x388754(0xcb)])==null?void 0x0:_0x11c1ee[_0x388754(0xb0)]});},this[_0x11abbd(0xf9)]);}[_0x23229f(0x86)](){const _0x22a78d=_0x23229f;this[_0x22a78d(0x1b0)](this[_0x22a78d(0x131)][_0x22a78d(0x19d)](s[_0x22a78d(0x17c)])['subscribe'](_0x2f613a=>{const _0x645d43=_0x22a78d;this[_0x645d43(0x1c8)][_0x645d43(0x1d0)](_0x2f613a||{});}));const _0x8b1d4f=this[_0x22a78d(0x131)][_0x22a78d(0x13e)](s[_0x22a78d(0x17c)]);this[_0x22a78d(0x1c8)][_0x22a78d(0x1d0)](_0x8b1d4f||{}),this[_0x22a78d(0x1b0)](this[_0x22a78d(0x131)][_0x22a78d(0x19d)](P)[_0x22a78d(0x9e)](_0xe40e30=>{const _0xd4cec5=_0x22a78d;this[_0xd4cec5(0x114)][_0xd4cec5(0x1d0)](_0xe40e30||{});}));const _0x1bd73b=this[_0x22a78d(0x131)][_0x22a78d(0x13e)](P);this['_config$'][_0x22a78d(0x1d0)](_0x1bd73b||{});}async['_loadStoredApiKey'](){const _0x210450=_0x23229f,_0x6504eb=this[_0x210450(0x131)][_0x210450(0x13e)](P);if(!(_0x6504eb!=null&&_0x6504eb['showDeveloperTools']))return;const _0x5874a9=await this[_0x210450(0x1d6)][_0x210450(0x126)](O);_0x5874a9&&(this[_0x210450(0xcb)][_0x210450(0xb1)]({'Authorization':_0x210450(0xfd)+_0x5874a9}),this[_0x210450(0x9c)]['next'](_0x5874a9));}async[_0x23229f(0x13f)](_0x40953b){const _0x4a6681=_0x23229f;if(!_0x40953b[_0x4a6681(0x7d)]||_0x40953b[_0x4a6681(0x7d)][_0x4a6681(0xd8)]()[_0x4a6681(0x129)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x4a6681(0x124)]['t'](_0x4a6681(0x89))};if(_0x40953b[_0x4a6681(0x7d)][_0x4a6681(0xd8)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4a6681(0x124)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x9e2e05=await this['_injector'][_0x4a6681(0xcc)](s[_0x4a6681(0x1e8)])[_0x4a6681(0x1cf)](_0x40953b['apiKey']['trim']());return _0x9e2e05[_0x4a6681(0x1db)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x9e2e05['error']||this[_0x4a6681(0x124)]['t'](_0x4a6681(0x148))};}catch(_0x2b5cf7){return console['warn'](_0x4a6681(0x187),_0x2b5cf7),{'isValid':!0x0};}}},exports[_0x23229f(0x9a)]=xe([g(0x0,u['Inject'](u[_0x23229f(0xe2)])),g(0x1,v['IUIPartsService']),g(0x2,u['IConfigService']),g(0x3,u[_0x23229f(0x15d)]),g(0x4,v['IDialogService']),g(0x5,v[_0x23229f(0xc6)]),g(0x6,u[_0x23229f(0x134)](v[_0x23229f(0x82)])),g(0x7,u[_0x23229f(0x134)](u[_0x23229f(0x10c)])),g(0x8,u[_0x23229f(0x11c)]),g(0x9,u[_0x23229f(0x134)](s['MCPConnectionController']))],exports[_0x23229f(0x9a)]);function _0x5902(_0x316375,_0xe840b4){_0x316375=_0x316375-0x7b;const _0xc67f7f=_0xc67f();let _0x5902a2=_0xc67f7f[_0x316375];return _0x5902a2;}function _0xc67f(){const _0x515d45=['Connection\x20Failed','ILocalStorageService','substring','点击配置\x20MCP','setItem','Authorization:','MCP:\x20会话\x20ID\x20已被占用','includes','启用身份验证','off-line-icon','off','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer_session_id:','open','Module','error','49128svfKgk','currentColor','M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','mcpConfig.configInstructions','MenuItemType','errorMessage','<SESSION_ID>','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','connectInjector','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP:\x20超出最大重试次数','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20已连接','useRef','MCP_PLUGIN_CONFIG_KEY','_initializeMenus','MenuIcon','MCPStatusDisplay','univer-min-w-0\x20univer-flex-1','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','mcpConfig.connectionError.unauthorized','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.configParameters','univer-text-green-500','mcpConfig.apiApplyInfo.title','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','_createConfigPanelComponent','会话ID','MCP\x20Retrying...','mcpConfig.configSaved','http','mcpConfig.apiKeyHint','use','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Click\x20to\x20configure\x20MCP','_loading$','mcpConfig.apiKeyPlaceholder','IMenuManagerService','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','useCallback','MCP:\x20未授权','HelpIcon','MCP\x20连接失败','MCP\x20Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','什么是\x20API\x20密钥?','showDeveloperTools','subscribeConfigValue$','univer-shrink-0\x20univer-text-blue-500','univer.plus','close','保存中...','mcp-config-dialog','fill','mcpConfig.connectionStatus.failed','https://mcp.univer.ai/mcp/?univer_session_id=','CheckMarkIcon','mcpConfig.sessionIdDescription','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-font-medium','univer-text-xs\x20univer-text-gray-500','API\x20密钥无效,请检查密钥是否正确','mcpConfig.title','button','entries','最大重试次数','disposeWithMe','symbol','API\x20密钥不能为空','mcpConfig.connectionError.maxRetriesExceeded','add','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Client\x20Configuration','on-line-icon','1em','Connecting...','clipPath','mcp.apiKey','univer-space-y-3','white','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-space-y-5','_connectionController','tag','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','Configuration\x20Steps:','MCPConfigPanel','bottom','_mcpCoreConfig$','path','保存配置','https://console.univer.plus','Get\x20your\x20API\x20key\x20in\x20seconds','Disconnected','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','validateApiKey','next','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','连接失败','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','mcpConfig.authorizationDescription','MCP\x20已断开','_localStorageService','mcpServerUrl','https://console.univer.ai','enableAutoConnect','0\x200\x2016\x2016','isValid','univer-bg-green-500','MCPUIMenuController','Invalid\x20configuration','Error','Disposable','none','MCP:\x20Network\x20Error','_initStatusComponent','RETRYING','getOwnPropertyDescriptor','几秒钟内获取您的\x20API\x20密钥','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','MCPConnectionController','zhCN','mcpStatus.connecting','apiKey','univer-flex\x20univer-flex-wrap\x20univer-gap-2','3053025PScpUG','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','COMMAND','ComponentManager','div','MCPConnectionError','univer-space-y-2','_initConfigSync','univer-bg-gray-500','mcpConfig.configStep2','mcpConfig.validation.apiKeyRequired','NETWORK_ERROR','assign','配置更改将立即生效','OpenMCPConfigPanelCommand','registerComponent','_initAutoConnect','mcpStatus.connected','connectionStatus$','url(#on-line-icon_clip0_910_349)','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-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','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','\x20-\x20','univer-flex\x20univer-items-center','translate(.97)','_commandService','MCPConfigUIController','univer.ai','_apiKey$','DISCONNECTED','subscribe','MessageType','svg','stringify','evenodd','_handleConfigSave','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcpConfig.apiApplyInfo.univerAiLabel','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','onStarting','Enable\x20Authentication','_dialogService','\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','请输入您的\x20API\x20密钥','网络连接错误,请检查您的网络连接','Tooltip','API\x20Key','sessionId$','__setCustomHeaders','MCP:\x20Session\x20ID\x20Occupied','useObservable','MCP\x20连接中...','displayName','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','MCP:\x20Unauthorized','jsxs','toString','51660Nqgoic','round','API\x20key\x20is\x20required','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','mcpConfig.saving','mcpConfig.configStep1','mcpConfig.note1','mcpStatus.maxRetriesExceeded','340504AxcLFr','showStatus','show','IMessageService','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','_menuManagerService','mcpConfig.connectionStatus.disconnected','univer-flex-1','_mcpConnectionController','get','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20Connected','ICommandService','_registerComponent','重连中...','Enter\x20your\x20API\x20key','_logService','label','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','1169quzhFN','CONNECTED','trim','defineProperty','Session\x20ID','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','将配置添加到您的\x20MCP\x20客户端设置文件中','API\x20密钥','mcp-ui.config','showConfigPanel','univer-bg-red-500','span','Injector','FAILED','CloseIcon','jsx','<API_KEY>','What\x20is\x20API\x20Key?','IConfigService','children','close-icon','url(#$1','univer-text-red-500','mcpStatus.unknown','help-icon','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','UniverMCPUIPlugin','M0\x200H16V16H0z','xlink:href','MCP\x20客户端配置','mcpStatus.clickToConnect','SESSION_ID_OCCUPIED','univer-text-sm\x20univer-font-medium','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-flex\x20univer-gap-3','_injector','MCPConnectionStatus','配置无效','0\x200\x2017\x2016','Bearer\x20','配置保存成功','MCP\x20Configuration','19570cBwsvj','mcpConfig.connectionError.sessionOccupied','forEach','_uiPartsService','BehaviorSubject','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20状态未知','mcpConfig.connectionStatus.connected','univer-text-yellow-500','attrs','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','8454555bWeqLd','LocaleService','string','NONE','forwardRef','UniverMCPPlugin','colorChannel1','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','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','_config$','univer-text-gray-500','MCPConnectionUIController','您的\x20API\x20密钥将在此浏览器中本地存储','配置参数:','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Univer\x20AI\x20控制台','replace','ILogService','会话\x20ID\x20已被占用,请稍后再试','useState','on-line-icon_clip0_910_349','1386824IhnTPb','http://www.w3.org/2000/svg','univer-flex\x20univer-items-center\x20univer-gap-3','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_localeService','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','getItem','current','mcpStatus.failed','length','MCP\x20配置','createElement','univer-flex\x20univer-items-start\x20univer-gap-3','OnLineIcon','univer-flex\x20univer-items-center\x20univer-gap-2','mcpStatus.disconnected','enUS','_configService','univerjs-icon\x20univerjs-icon-','UNAUTHORIZED','Inject','mcpConfig.configError','mcpStatus.sessionOccupied','url(#off-line-icon_clip0_910_343)','_blank','registerCommand','mask','useDependency','CONNECTING','value','getConfig','_validateConfig','OTHERS','Save\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20connect\x20MCP','超出最大重试次数,请稍后再试','map','带有\x20Bearer\x20前缀的\x20API\x20密钥。','45OYchqQ','mcpConfig.validation.invalidApiKey','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','_componentManager','univer-text-sm\x20univer-text-gray-500','univer-text-blue-600','配置步骤:','_messageService','重启您的\x20MCP\x20客户端以使配置生效','clsx','univer-size-4','text','API\x20key\x20with\x20Bearer\x20prefix.','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','defs','未连接','random','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','idSuffix','noopener\x20noreferrer'];_0xc67f=function(){return _0x515d45;};return _0xc67f();}const b={'id':'mcp-ui.command.openConfigPanel','type':u['CommandType'][_0x23229f(0x81)],'handler':async(_0x41e346,_0x5a611e)=>(_0x41e346[_0x23229f(0xcc)](exports[_0x23229f(0x9a)])[_0x23229f(0xdf)](),!0x0)};function Z(_0xb19b13,_0x242ac5){const _0x39ec11=_0x23229f;switch(_0xb19b13){case s[_0x39ec11(0xfa)][_0x39ec11(0x9d)]:return _0x39ec11(0x12f);case s[_0x39ec11(0xfa)]['CONNECTING']:return _0x39ec11(0x7c);case s['MCPConnectionStatus'][_0x39ec11(0xd7)]:return _0x39ec11(0x90);case s[_0x39ec11(0xfa)][_0x39ec11(0xe3)]:switch(_0x242ac5){case s[_0x39ec11(0x84)][_0x39ec11(0x133)]:return'mcpStatus.unauthorized';case s[_0x39ec11(0x84)]['SESSION_ID_OCCUPIED']:return _0x39ec11(0x136);case s['MCPConnectionError']['NETWORK_ERROR']:return'mcpStatus.networkError';case s['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x39ec11(0xc2);default:return _0x39ec11(0x128);}case s[_0x39ec11(0xfa)][_0x39ec11(0x1e4)]:return'mcpStatus.retrying';default:return _0x39ec11(0xed);}}function Se(_0x601fc7,_0x529dac,_0x7afbf2,_0x1acdeb=!0x0){const _0x5e0ce6=_0x23229f,_0x20a793=Z(_0x601fc7,_0x529dac),_0x4fab5c=_0x7afbf2['t'](_0x20a793);return _0x1acdeb?_0x601fc7===s['MCPConnectionStatus'][_0x5e0ce6(0x9d)]&&_0x529dac===s['MCPConnectionError'][_0x5e0ce6(0x133)]?_0x4fab5c+'\x20-\x20'+_0x7afbf2['t']('mcpStatus.clickToConfigure'):_0x601fc7===s[_0x5e0ce6(0xfa)][_0x5e0ce6(0xd7)]?''+_0x4fab5c:_0x601fc7===s['MCPConnectionStatus'][_0x5e0ce6(0x9d)]||_0x601fc7===s[_0x5e0ce6(0xfa)][_0x5e0ce6(0xe3)]?_0x4fab5c+_0x5e0ce6(0x96)+_0x7afbf2['t'](_0x5e0ce6(0xf4)):_0x4fab5c:_0x4fab5c;}function Pe(_0x388fab){const _0x767acb=_0x23229f;switch(_0x388fab){case s[_0x767acb(0xfa)][_0x767acb(0xd7)]:return _0x767acb(0x185);case s[_0x767acb(0xfa)]['CONNECTING']:case s[_0x767acb(0xfa)][_0x767acb(0x1e4)]:return _0x767acb(0x108);case s[_0x767acb(0xfa)]['FAILED']:case s[_0x767acb(0xfa)][_0x767acb(0x9d)]:return _0x767acb(0xec);default:return _0x767acb(0x115);}}function W(_0x101cc3){const _0x37e67e=_0x23229f,{status$:_0x2d42a3,error$:_0x4e5cbf,onConfigure:_0x2abc15,showClickable:_0x3d5dad=!0x0}=_0x101cc3,_0x3b79c5=v[_0x37e67e(0xb3)](_0x2d42a3,s[_0x37e67e(0xfa)][_0x37e67e(0x9d)]),_0x57ae1e=v[_0x37e67e(0xb3)](_0x4e5cbf,s[_0x37e67e(0x84)]['NONE']),_0x140e42=v['useDependency'](u['LocaleService']),_0x45794e=_0x3b79c5===s[_0x37e67e(0xfa)][_0x37e67e(0xd7)];_0x3b79c5===s[_0x37e67e(0xfa)][_0x37e67e(0x13c)]||s[_0x37e67e(0xfa)][_0x37e67e(0x1e4)];const _0x36c4b2=_0x140e42['t'](Z(_0x3b79c5,_0x57ae1e)),_0x42dffa=Se(_0x3b79c5,_0x57ae1e,_0x140e42,_0x3d5dad),_0x53adb8=Pe(_0x3b79c5),_0xb04b4c=_0x45794e?i[_0x37e67e(0xe5)](q,{}):i['jsx'](Y,{}),_0xb75f40=d[_0x37e67e(0x195)](()=>{_0x3d5dad&&_0x2abc15&&_0x2abc15();},[_0x3d5dad,_0x2abc15]);function _0x22f69f(){const _0x89fefb=_0x37e67e;return i[_0x89fefb(0xb8)](_0x89fefb(0x83),{'className':f[_0x89fefb(0x150)](_0x89fefb(0x97),_0x3d5dad&&_0x2abc15&&_0x89fefb(0xab)),'role':_0x89fefb(0x1ad),'onClick':_0x3d5dad&&_0x2abc15?_0xb75f40:void 0x0,'children':[i['jsx'](_0x89fefb(0x83),{'className':f[_0x89fefb(0x150)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x53adb8),'children':_0xb04b4c}),i[_0x89fefb(0xe5)]('div',{'className':_0x89fefb(0xdb),'children':_0x36c4b2})]});}return i['jsx'](f[_0x37e67e(0xae)],{'title':_0x42dffa,'placement':_0x37e67e(0x1c7),'children':_0x22f69f()});}var Ie=Object[_0x23229f(0x1e5)],_e=(_0x4c29ef,_0x409de8,_0xcf52dd,_0x2302f0)=>{const _0x3a75ac=_0x23229f;for(var _0x3a9c9b=_0x2302f0>0x1?void 0x0:_0x2302f0?Ie(_0x409de8,_0xcf52dd):_0x409de8,_0x3eba77=_0x4c29ef[_0x3a75ac(0x129)]-0x1,_0x51caf7;_0x3eba77>=0x0;_0x3eba77--)(_0x51caf7=_0x4c29ef[_0x3eba77])&&(_0x3a9c9b=_0x51caf7(_0x3a9c9b)||_0x3a9c9b);return _0x3a9c9b;},N=(_0x2d7c6a,_0x199ce1)=>(_0x264459,_0x3b87fb)=>_0x199ce1(_0x264459,_0x3b87fb,_0x2d7c6a);exports['MCPConnectionUIController']=class extends u[_0x23229f(0x1e0)]{constructor(_0x230b80,_0x7c9724,_0x1cdc02,_0x33eaf8){const _0x4b396f=_0x23229f;super(),this[_0x4b396f(0xf9)]=_0x230b80,this[_0x4b396f(0x1c1)]=_0x7c9724,this[_0x4b396f(0x103)]=_0x1cdc02,this['_configService']=_0x33eaf8,this[_0x4b396f(0x8f)](),this[_0x4b396f(0x1e3)]();}[_0x23229f(0x8f)](){const _0x372e73=_0x23229f,_0x5b687f=this[_0x372e73(0x131)][_0x372e73(0x13e)](P);_0x5b687f!=null&&_0x5b687f[_0x372e73(0x19c)]&&(this[_0x372e73(0x1c1)][_0x372e73(0x1d9)]=!0x1);}[_0x23229f(0x1e3)](){const _0x13ddda=_0x23229f,_0x3fad8e=this['_configService'][_0x13ddda(0x13e)](P);(_0x3fad8e==null?void 0x0:_0x3fad8e[_0x13ddda(0xc4)])!==!0x1&&this[_0x13ddda(0x1b0)](this[_0x13ddda(0x103)][_0x13ddda(0x8e)](v['BuiltInUIPart']['HEADER_MENU'],()=>{const _0x377440=_0x13ddda;var _0x3645be;return v['connectInjector'](ye({'status$':this[_0x377440(0x1c1)][_0x377440(0x91)],'error$':this[_0x377440(0x1c1)]['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x3645be=_0x3fad8e==null?void 0x0:_0x3fad8e[_0x377440(0x19c)])!=null?_0x3645be:!0x1}),this['_injector']);}));}['_handleConfigure'](){this['_injector']['get'](exports['MCPConfigUIController'])['showConfigPanel']();}},exports['MCPConnectionUIController']=_e([N(0x0,u[_0x23229f(0x134)](u[_0x23229f(0xe2)])),N(0x1,u[_0x23229f(0x134)](s[_0x23229f(0x1e8)])),N(0x2,v['IUIPartsService']),N(0x3,u[_0x23229f(0xe8)])],exports[_0x23229f(0x116)]);function ye(_0x313b31){const {status$:_0x270f8f,error$:_0x2ce008,onConfigure:_0x4286cc,showClickable:_0x462c33}=_0x313b31;return function(){return i['jsx'](W,{'status$':_0x270f8f,'error$':_0x2ce008,'onConfigure':_0x4286cc,'showClickable':_0x462c33});};}function Me(_0x23532e){const _0xfd7533=_0x23229f;return{'id':b['id'],'type':v[_0xfd7533(0x170)]['BUTTON'],'icon':_0xfd7533(0x17e),'title':_0xfd7533(0x1ac),'tooltip':'mcpConfig.title'};}const Ne={[v['RibbonStartGroup'][_0x23229f(0x140)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object['getOwnPropertyDescriptor'],je=(_0x127485,_0x30036f,_0x599bc3,_0x4cdd27)=>{for(var _0x55b96f=_0x4cdd27>0x1?void 0x0:_0x4cdd27?be(_0x30036f,_0x599bc3):_0x30036f,_0x2f1f21=_0x127485['length']-0x1,_0x554d1b;_0x2f1f21>=0x0;_0x2f1f21--)(_0x554d1b=_0x127485[_0x2f1f21])&&(_0x55b96f=_0x554d1b(_0x55b96f)||_0x55b96f);return _0x55b96f;},z=(_0x25a74a,_0x22424d)=>(_0x2895bf,_0x271b1e)=>_0x22424d(_0x2895bf,_0x271b1e,_0x25a74a);exports[_0x23229f(0x1dd)]=class extends u[_0x23229f(0x1e0)]{constructor(_0x1cd5a1,_0x122c63){const _0xa8273a=_0x23229f;super(),this[_0xa8273a(0x99)]=_0x1cd5a1,this[_0xa8273a(0xc8)]=_0x122c63,this['_initializeCommands'](),this[_0xa8273a(0x17d)]();}['_initializeCommands'](){[b]['forEach'](_0x2ddb72=>{const _0x515e49=_0x5902;this[_0x515e49(0x1b0)](this[_0x515e49(0x99)][_0x515e49(0x139)](_0x2ddb72));});}[_0x23229f(0x17d)](){this['_menuManagerService']['mergeMenu'](Ne);}},exports[_0x23229f(0x1dd)]=je([z(0x0,u[_0x23229f(0xcf)]),z(0x1,v[_0x23229f(0x193)])],exports[_0x23229f(0x1dd)]);const Ee={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x23229f(0x199),'connected':_0x23229f(0xce),'failed':'MCP\x20Connection\x20Failed','retrying':_0x23229f(0x18a),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x23229f(0xb7),'sessionOccupied':_0x23229f(0xb2),'networkError':_0x23229f(0x1e2),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x23229f(0x143),'clickToConfigure':_0x23229f(0x190)},'mcpConfig':{'title':_0x23229f(0xff),'description':_0x23229f(0x1a8),'apiKey':_0x23229f(0xaf),'apiKeyPlaceholder':_0x23229f(0xd2),'apiKeyHint':_0x23229f(0x149),'enableAuth':_0x23229f(0xa9),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x23229f(0x1b6),'mcpClientConfig':_0x23229f(0x1b6),'configInstructions':_0x23229f(0x80),'configStepTitle':_0x23229f(0x1c5),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x23229f(0xbe),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x23229f(0xda),'sessionIdDescription':_0x23229f(0x1b5),'authorizationDescription':_0x23229f(0x153),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x23229f(0x141),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x23229f(0x19a),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x23229f(0xe7),'description':_0x23229f(0x142),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x23229f(0x1cc)},'validation':{'apiKeyRequired':_0x23229f(0xbc),'apiKeyTooShort':_0x23229f(0x178),'invalidConfig':_0x23229f(0x1de),'invalidApiKey':_0x23229f(0x194)},'connectionStatus':{'disconnected':_0x23229f(0x1cd),'connecting':_0x23229f(0x1b9),'connected':'Connected','failed':_0x23229f(0x15c),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x23229f(0x113),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x23229f(0x105),'maxRetriesExceeded':_0x23229f(0x179)}}},we={'mcpStatus':{'disconnected':_0x23229f(0x1d5),'connecting':_0x23229f(0xb4),'connected':_0x23229f(0x17a),'failed':_0x23229f(0x198),'retrying':'MCP\x20重连中...','unknown':_0x23229f(0x106),'unauthorized':_0x23229f(0x196),'sessionOccupied':_0x23229f(0x162),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x23229f(0x176),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x23229f(0x15f)},'mcpConfig':{'title':_0x23229f(0x12a),'description':_0x23229f(0x175),'apiKey':_0x23229f(0xdd),'apiKeyPlaceholder':_0x23229f(0xac),'apiKeyHint':_0x23229f(0x117),'enableAuth':_0x23229f(0x164),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x23229f(0xf3),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x23229f(0x14d),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x23229f(0xdc),'configStep3':_0x23229f(0x14f),'sessionId':_0x23229f(0x189),'sessionIdDescription':_0x23229f(0x18f),'authorizationDescription':_0x23229f(0x146),'configParameters':_0x23229f(0x118),'maxRetries':_0x23229f(0x1af),'save':_0x23229f(0x1ca),'saving':_0x23229f(0x1a1),'note1':_0x23229f(0x8c),'note2':_0x23229f(0xcd),'configSaved':_0x23229f(0xfe),'configError':'配置保存失败','apiApplyInfo':{'title':_0x23229f(0x19b),'description':_0x23229f(0xa4),'univerAiLabel':_0x23229f(0x11a),'getStarted':_0x23229f(0x1e6)},'validation':{'apiKeyRequired':_0x23229f(0x1b2),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x23229f(0xfb),'invalidApiKey':_0x23229f(0x1ab)},'connectionStatus':{'disconnected':_0x23229f(0x157),'connecting':'连接中...','connected':'已连接','failed':_0x23229f(0x1d2),'retrying':_0x23229f(0xd1)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x23229f(0x11d),'networkError':_0x23229f(0xad),'maxRetriesExceeded':_0x23229f(0x144)}}};var Ae=Object[_0x23229f(0xd9)],Oe=Object[_0x23229f(0x1e5)],De=(_0x20d6d1,_0x253550,_0x571599)=>_0x253550 in _0x20d6d1?Ae(_0x20d6d1,_0x253550,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x571599}):_0x20d6d1[_0x253550]=_0x571599,Ue=(_0x439ab8,_0x3df207,_0x303a0c,_0x3742fd)=>{const _0x43fd0f=_0x23229f;for(var _0x208ac1=_0x3742fd>0x1?void 0x0:_0x3742fd?Oe(_0x3df207,_0x303a0c):_0x3df207,_0x328598=_0x439ab8[_0x43fd0f(0x129)]-0x1,_0xb28853;_0x328598>=0x0;_0x328598--)(_0xb28853=_0x439ab8[_0x328598])&&(_0x208ac1=_0xb28853(_0x208ac1)||_0x208ac1);return _0x208ac1;},y=(_0x3193ae,_0x458188)=>(_0x228832,_0x6061d0)=>_0x458188(_0x228832,_0x6061d0,_0x3193ae),$e=(_0x226368,_0x24ba81,_0x1b7a40)=>De(_0x226368,_0x24ba81+'',_0x1b7a40);exports[_0x23229f(0xf0)]=class extends u['Plugin']{constructor(_0x413c46=L,_0xded43,_0x286725,_0x5bd608,_0x5c9097,_0x49c23e){const _0x573184=_0x23229f;super(),this['_config']=_0x413c46,this['_injector']=_0xded43,this[_0x573184(0x131)]=_0x286725,this[_0x573184(0x103)]=_0x5bd608,this[_0x573184(0x1d6)]=_0x5c9097,this[_0x573184(0x124)]=_0x49c23e;const {..._0x2f0e9d}=u['merge']({},L,this['_config']);this['_configService']['setConfig'](P,_0x2f0e9d);}async[_0x23229f(0xa8)](){const _0x569bd7=_0x23229f,_0x112905=[[exports[_0x569bd7(0x116)]],[exports[_0x569bd7(0x9a)]],[exports[_0x569bd7(0x1dd)]]];this[_0x569bd7(0xf9)]['has'](A['ISocketService'])||_0x112905['push']([A['ISocketService'],{'useClass':A['WebSocketService']}]),_0x112905[_0x569bd7(0x102)](_0x7949d8=>this[_0x569bd7(0xf9)][_0x569bd7(0x1b4)](_0x7949d8)),this[_0x569bd7(0xf9)][_0x569bd7(0xcc)](exports[_0x569bd7(0x116)]),this[_0x569bd7(0xf9)][_0x569bd7(0xcc)](exports['MCPConfigUIController']),this[_0x569bd7(0xf9)][_0x569bd7(0xcc)](exports['MCPUIMenuController']);}},$e(exports['UniverMCPUIPlugin'],'pluginName','MCP_UI_PLUGIN'),exports[_0x23229f(0xf0)]=Ue([u['DependentOn'](s[_0x23229f(0x110)]),y(0x1,u[_0x23229f(0x134)](u[_0x23229f(0xe2)])),y(0x2,u[_0x23229f(0xe8)]),y(0x3,v['IUIPartsService']),y(0x4,u['ILocalStorageService']),y(0x5,u[_0x23229f(0x134)](u[_0x23229f(0x10c)]))],exports[_0x23229f(0xf0)]),exports[_0x23229f(0x1c6)]=V,exports[_0x23229f(0x17f)]=W,exports[_0x23229f(0x8d)]=b,exports[_0x23229f(0x130)]=Ee,exports[_0x23229f(0x7b)]=we;
@@ -1 +1 @@
1
- 'use strict';const _0x22d60a=_0x18ad;(function(_0x54ef54,_0x2f3e02){const _0x4b82c5=_0x18ad,_0x3ea942=_0x54ef54();while(!![]){try{const _0x43ebfd=-parseInt(_0x4b82c5(0xd1))/0x1*(parseInt(_0x4b82c5(0xe8))/0x2)+-parseInt(_0x4b82c5(0xbf))/0x3*(parseInt(_0x4b82c5(0xe2))/0x4)+parseInt(_0x4b82c5(0xb9))/0x5*(parseInt(_0x4b82c5(0xdf))/0x6)+-parseInt(_0x4b82c5(0xe4))/0x7+parseInt(_0x4b82c5(0xcc))/0x8*(parseInt(_0x4b82c5(0xe9))/0x9)+-parseInt(_0x4b82c5(0xc1))/0xa+parseInt(_0x4b82c5(0xd6))/0xb;if(_0x43ebfd===_0x2f3e02)break;else _0x3ea942['push'](_0x3ea942['shift']());}catch(_0x5bcadd){_0x3ea942['push'](_0x3ea942['shift']());}}}(_0x3595,0x5399e));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x22d60a(0xd7),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x22d60a(0xc8),'unknown':_0x22d60a(0xce),'unauthorized':_0x22d60a(0xc5),'sessionOccupied':_0x22d60a(0xe0),'networkError':_0x22d60a(0xc3),'maxRetriesExceeded':_0x22d60a(0xd0),'clickToConnect':_0x22d60a(0xc2),'clickToConfigure':_0x22d60a(0xbb)},'mcpConfig':{'title':_0x22d60a(0xcf),'description':_0x22d60a(0xc4),'apiKey':_0x22d60a(0xea),'apiKeyPlaceholder':_0x22d60a(0xdc),'apiKeyHint':_0x22d60a(0xcd),'enableAuth':_0x22d60a(0xe6),'enableAuthHint':_0x22d60a(0xe1),'connectionInfo':_0x22d60a(0xc9),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x22d60a(0xe7),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x22d60a(0xdb),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x22d60a(0xbd),'sessionIdDescription':_0x22d60a(0xe5),'authorizationDescription':_0x22d60a(0xdd),'configParameters':_0x22d60a(0xde),'maxRetries':_0x22d60a(0xc0),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x22d60a(0xc6),'note2':_0x22d60a(0xd8),'configSaved':_0x22d60a(0xd5),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x22d60a(0xda),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x22d60a(0xcb)},'validation':{'apiKeyRequired':_0x22d60a(0xca),'apiKeyTooShort':_0x22d60a(0xd3),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x22d60a(0xba),'connecting':_0x22d60a(0xbe),'connected':_0x22d60a(0xd4),'failed':_0x22d60a(0xbc),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x22d60a(0xc7),'networkError':_0x22d60a(0xe3),'maxRetriesExceeded':_0x22d60a(0xd9)}}},n=e;function _0x3595(){const _0x2cda84=['Connection\x20Failed','Session\x20ID','Connecting...','45wpHbRt','Max\x20Retries','4135630CaMQVR','Click\x20to\x20connect\x20MCP','MCP:\x20Network\x20Error','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Unauthorized','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Retrying...','MCP\x20Client\x20Configuration','API\x20key\x20is\x20required','Get\x20your\x20API\x20key\x20in\x20seconds','8SNVIQt','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Unknown\x20Status','MCP\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','2cUGvQw','exports','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','Configuration\x20saved\x20successfully','6880896PKnOpp','MCP\x20Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enter\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Parameters:','180828kHeNfS','MCP:\x20Session\x20ID\x20Occupied','Enable\x20authentication\x20for\x20secure\x20connections','130564zoAZyF','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2100777gLFRip','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Enable\x20Authentication','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','5098aXokay','3987657uvCYDY','API\x20Key','80TNLeTX','Disconnected','Click\x20to\x20configure\x20MCP'];_0x3595=function(){return _0x2cda84;};return _0x3595();}function _0x18ad(_0x147417,_0x22aa02){_0x147417=_0x147417-0xb9;const _0x3595fb=_0x3595();let _0x18ad33=_0x3595fb[_0x147417];return _0x18ad33;}module[_0x22d60a(0xd2)]=n;
1
+ 'use strict';const _0x37a2eb=_0x1e73;(function(_0x30ea17,_0x3e5d36){const _0x210bbb=_0x1e73,_0x20773d=_0x30ea17();while(!![]){try{const _0x1dc59f=-parseInt(_0x210bbb(0x148))/0x1+parseInt(_0x210bbb(0x156))/0x2+parseInt(_0x210bbb(0x150))/0x3*(parseInt(_0x210bbb(0x157))/0x4)+-parseInt(_0x210bbb(0x169))/0x5+-parseInt(_0x210bbb(0x173))/0x6+parseInt(_0x210bbb(0x155))/0x7+parseInt(_0x210bbb(0x16e))/0x8;if(_0x1dc59f===_0x3e5d36)break;else _0x20773d['push'](_0x20773d['shift']());}catch(_0x1cdbc7){_0x20773d['push'](_0x20773d['shift']());}}}(_0x5dfe,0x1c009));function _0x1e73(_0x15253c,_0x2f3493){_0x15253c=_0x15253c-0x145;const _0x5dfe81=_0x5dfe();let _0x1e7371=_0x5dfe81[_0x15253c];return _0x1e7371;}const e={'mcpStatus':{'disconnected':_0x37a2eb(0x14f),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x37a2eb(0x149),'retrying':'MCP\x20Retrying...','unknown':_0x37a2eb(0x15e),'unauthorized':_0x37a2eb(0x168),'sessionOccupied':_0x37a2eb(0x14a),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x37a2eb(0x147),'clickToConfigure':_0x37a2eb(0x160)},'mcpConfig':{'title':_0x37a2eb(0x152),'description':_0x37a2eb(0x159),'apiKey':_0x37a2eb(0x15b),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x37a2eb(0x14c),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x37a2eb(0x171),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x37a2eb(0x158),'configInstructions':_0x37a2eb(0x172),'configStepTitle':_0x37a2eb(0x14d),'configStep1':_0x37a2eb(0x16c),'configStep2':_0x37a2eb(0x162),'configStep3':_0x37a2eb(0x151),'sessionId':_0x37a2eb(0x15f),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x37a2eb(0x16a),'maxRetries':_0x37a2eb(0x153),'save':_0x37a2eb(0x15a),'saving':_0x37a2eb(0x167),'note1':_0x37a2eb(0x16d),'note2':_0x37a2eb(0x14b),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x37a2eb(0x154),'apiApplyInfo':{'title':_0x37a2eb(0x161),'description':_0x37a2eb(0x146),'univerAiLabel':_0x37a2eb(0x163),'getStarted':_0x37a2eb(0x15c)},'validation':{'apiKeyRequired':_0x37a2eb(0x15d),'apiKeyTooShort':_0x37a2eb(0x170),'invalidConfig':_0x37a2eb(0x16b),'invalidApiKey':_0x37a2eb(0x14e)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x37a2eb(0x16f),'connected':_0x37a2eb(0x166),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x37a2eb(0x145),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x37a2eb(0x164)}}},n=e;function _0x5dfe(){const _0x3f692d=['Session\x20ID','Click\x20to\x20configure\x20MCP','What\x20is\x20API\x20Key?','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Univer\x20AI\x20Console','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','exports','Connected','Saving...','MCP:\x20Unauthorized','392205mEqnyA','Configuration\x20Parameters:','Invalid\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1812728uQLZva','Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enable\x20authentication\x20for\x20secure\x20connections','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','875910WXkAsl','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20connect\x20MCP','219824febNLT','MCP\x20Connection\x20Failed','MCP:\x20Session\x20ID\x20Occupied','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20Steps:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Disconnected','314547HIPGrd','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Configuration','Max\x20Retries','Failed\x20to\x20save\x20configuration','650202mUTfHF','269242rZMzaQ','4HFhReZ','MCP\x20Client\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Save\x20Configuration','API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20is\x20required','MCP\x20Unknown\x20Status'];_0x5dfe=function(){return _0x3f692d;};return _0x5dfe();}module[_0x37a2eb(0x165)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x27e8(_0x15298a,_0x2a55aa){_0x15298a=_0x15298a-0x10f;const _0x2bdc31=_0x2bdc();let _0x27e870=_0x2bdc31[_0x15298a];return _0x27e870;}const _0x14f12e=_0x27e8;(function(_0x22c0e8,_0x33e202){const _0x454d88=_0x27e8,_0x580043=_0x22c0e8();while(!![]){try{const _0x12a81b=-parseInt(_0x454d88(0x120))/0x1*(parseInt(_0x454d88(0x13e))/0x2)+-parseInt(_0x454d88(0x113))/0x3+parseInt(_0x454d88(0x135))/0x4+-parseInt(_0x454d88(0x117))/0x5+-parseInt(_0x454d88(0x115))/0x6*(parseInt(_0x454d88(0x125))/0x7)+parseInt(_0x454d88(0x111))/0x8*(-parseInt(_0x454d88(0x12d))/0x9)+parseInt(_0x454d88(0x134))/0xa;if(_0x12a81b===_0x33e202)break;else _0x580043['push'](_0x580043['shift']());}catch(_0x5111d6){_0x580043['push'](_0x580043['shift']());}}}(_0x2bdc,0x95f36));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x14f12e(0x12e),'failed':_0x14f12e(0x114),'retrying':_0x14f12e(0x122),'unknown':_0x14f12e(0x130),'unauthorized':_0x14f12e(0x110),'sessionOccupied':_0x14f12e(0x124),'networkError':_0x14f12e(0x119),'maxRetriesExceeded':_0x14f12e(0x142),'clickToConnect':_0x14f12e(0x12a),'clickToConfigure':_0x14f12e(0x12b)},'mcpConfig':{'title':_0x14f12e(0x13b),'description':_0x14f12e(0x118),'apiKey':_0x14f12e(0x11d),'apiKeyPlaceholder':_0x14f12e(0x121),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x14f12e(0x126),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x14f12e(0x13c),'mcpClientConfig':_0x14f12e(0x13c),'configInstructions':_0x14f12e(0x133),'configStepTitle':_0x14f12e(0x11a),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x14f12e(0x127),'sessionId':'Session\x20ID','sessionIdDescription':_0x14f12e(0x11f),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x14f12e(0x143),'save':_0x14f12e(0x11c),'saving':_0x14f12e(0x116),'note1':_0x14f12e(0x13d),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x14f12e(0x131),'configError':_0x14f12e(0x112),'apiApplyInfo':{'title':_0x14f12e(0x11e),'description':_0x14f12e(0x12c),'univerAiLabel':_0x14f12e(0x10f),'getStarted':_0x14f12e(0x12f)},'validation':{'apiKeyRequired':_0x14f12e(0x136),'apiKeyTooShort':_0x14f12e(0x129),'invalidConfig':_0x14f12e(0x11b),'invalidApiKey':_0x14f12e(0x132)},'connectionStatus':{'disconnected':_0x14f12e(0x140),'connecting':_0x14f12e(0x13a),'connected':_0x14f12e(0x128),'failed':_0x14f12e(0x123),'retrying':_0x14f12e(0x13f)},'connectionError':{'unauthorized':_0x14f12e(0x138),'sessionOccupied':_0x14f12e(0x141),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x14f12e(0x137)}}};function _0x2bdc(){const _0x273f05=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Network\x20Error','Configuration\x20Steps:','Invalid\x20configuration','Save\x20Configuration','API\x20Key','What\x20is\x20API\x20Key?','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','9357vUeiTQ','Enter\x20your\x20API\x20key','MCP\x20Retrying...','Connection\x20Failed','MCP:\x20Session\x20ID\x20Occupied','3353CLEFiD','Enable\x20Authentication','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Click\x20to\x20connect\x20MCP','Click\x20to\x20configure\x20MCP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','1422MvJeIj','MCP\x20Connected','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Unknown\x20Status','Configuration\x20saved\x20successfully','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','16623160OnjkiD','1811860eJapUJ','API\x20key\x20is\x20required','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','exports','Connecting...','MCP\x20Configuration','MCP\x20Client\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','34CwfUWg','Retrying...','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','Max\x20Retries','Univer\x20AI\x20Console','MCP:\x20Unauthorized','24344XpRRHe','Failed\x20to\x20save\x20configuration','693645xzoKWZ','MCP\x20Connection\x20Failed','4584LhagYt','Saving...','1320245ueyuog'];_0x2bdc=function(){return _0x273f05;};return _0x2bdc();}module[_0x14f12e(0x139)]=e;
1
+ 'use strict';function _0x25c2(){const _0x6246ad=['API\x20key\x20is\x20required','Configuration\x20Parameters:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20saved\x20successfully','5LNZShn','MCP\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Save\x20Configuration','Invalid\x20configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Max\x20Retries','7310GsoLYG','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enter\x20your\x20API\x20key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','306dpgiVG','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','Retrying...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20configure\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Unauthorized','Connection\x20Failed','15627645rGghvA','56LsMVIS','exports','408289nzuyKO','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20with\x20Bearer\x20prefix.','Failed\x20to\x20save\x20configuration','3257376dqdlhu','Saving...','API\x20Key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','248390rPPVOR','200735QYPsex','MCP:\x20Max\x20Retries\x20Exceeded','Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Steps:','1410544wlCvkC','MCP:\x20Network\x20Error','What\x20is\x20API\x20Key?','MCP\x20Connecting...','Connecting...','717GEbDMy','MCP\x20Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser'];_0x25c2=function(){return _0x6246ad;};return _0x25c2();}const _0x4db9cd=_0x2d23;(function(_0x541399,_0x506644){const _0x34b9e9=_0x2d23,_0x282c2f=_0x541399();while(!![]){try{const _0x1157c8=parseInt(_0x34b9e9(0xd0))/0x1+-parseInt(_0x34b9e9(0xea))/0x2*(parseInt(_0x34b9e9(0xda))/0x3)+parseInt(_0x34b9e9(0xd5))/0x4*(-parseInt(_0x34b9e9(0xe1))/0x5)+parseInt(_0x34b9e9(0xcb))/0x6+parseInt(_0x34b9e9(0xc6))/0x7*(parseInt(_0x34b9e9(0xc4))/0x8)+parseInt(_0x34b9e9(0xb9))/0x9*(-parseInt(_0x34b9e9(0xcf))/0xa)+parseInt(_0x34b9e9(0xc3))/0xb;if(_0x1157c8===_0x506644)break;else _0x282c2f['push'](_0x282c2f['shift']());}catch(_0x243c59){_0x282c2f['push'](_0x282c2f['shift']());}}}(_0x25c2,0x7a894));function _0x2d23(_0x443efc,_0x43ffae){_0x443efc=_0x443efc-0xb6;const _0x25c2d1=_0x25c2();let _0x2d230=_0x25c2d1[_0x443efc];return _0x2d230;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4db9cd(0xd8),'connected':_0x4db9cd(0xe7),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4db9cd(0xdb),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x4db9cd(0xc1),'sessionOccupied':_0x4db9cd(0xc8),'networkError':_0x4db9cd(0xd6),'maxRetriesExceeded':_0x4db9cd(0xd1),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4db9cd(0xbe)},'mcpConfig':{'title':_0x4db9cd(0xe2),'description':_0x4db9cd(0xe3),'apiKey':_0x4db9cd(0xcd),'apiKeyPlaceholder':_0x4db9cd(0xb7),'apiKeyHint':_0x4db9cd(0xdc),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4db9cd(0xc0),'connectionInfo':_0x4db9cd(0xbb),'mcpClientConfig':_0x4db9cd(0xbb),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x4db9cd(0xd4),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x4db9cd(0xdf),'configStep3':_0x4db9cd(0xe6),'sessionId':_0x4db9cd(0xeb),'sessionIdDescription':_0x4db9cd(0xce),'authorizationDescription':_0x4db9cd(0xc9),'configParameters':_0x4db9cd(0xde),'maxRetries':_0x4db9cd(0xe9),'save':_0x4db9cd(0xe4),'saving':_0x4db9cd(0xcc),'note1':_0x4db9cd(0xbd),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4db9cd(0xe0),'configError':_0x4db9cd(0xca),'apiApplyInfo':{'title':_0x4db9cd(0xd7),'description':_0x4db9cd(0xb8),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4db9cd(0xc7)},'validation':{'apiKeyRequired':_0x4db9cd(0xdd),'apiKeyTooShort':_0x4db9cd(0xbf),'invalidConfig':_0x4db9cd(0xe5),'invalidApiKey':_0x4db9cd(0xb6)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4db9cd(0xd9),'connected':_0x4db9cd(0xd2),'failed':_0x4db9cd(0xc2),'retrying':_0x4db9cd(0xbc)},'connectionError':{'unauthorized':_0x4db9cd(0xe8),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4db9cd(0xd3),'maxRetriesExceeded':_0x4db9cd(0xba)}}};module[_0x4db9cd(0xc5)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x502c94=_0xcdd1;(function(_0x2ed35a,_0x4a898b){const _0x18ea24=_0xcdd1,_0x59a56c=_0x2ed35a();while(!![]){try{const _0x3fb148=-parseInt(_0x18ea24(0x1e3))/0x1*(parseInt(_0x18ea24(0x1df))/0x2)+-parseInt(_0x18ea24(0x1e8))/0x3*(-parseInt(_0x18ea24(0x1d6))/0x4)+parseInt(_0x18ea24(0x205))/0x5*(-parseInt(_0x18ea24(0x201))/0x6)+parseInt(_0x18ea24(0x1fb))/0x7*(parseInt(_0x18ea24(0x1de))/0x8)+parseInt(_0x18ea24(0x1ef))/0x9+parseInt(_0x18ea24(0x1ea))/0xa*(parseInt(_0x18ea24(0x1f3))/0xb)+parseInt(_0x18ea24(0x206))/0xc;if(_0x3fb148===_0x4a898b)break;else _0x59a56c['push'](_0x59a56c['shift']());}catch(_0x44fb96){_0x59a56c['push'](_0x59a56c['shift']());}}}(_0x1d23,0x311a3));function _0x1d23(){const _0x23ac29=['MCP\x20Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key','12670lqpvSv','824760GuttAn','Enable\x20Authentication','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Univer\x20AI\x20Console','Save\x20Configuration','Saving...','MCP\x20Client\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Retrying...','7068pfOzNn','Configuration\x20Steps:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connected','Session\x20ID','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','What\x20is\x20API\x20Key?','75368RrlnXt','154892CbMAcS','Configuration\x20Parameters:','API\x20key\x20is\x20required','Configuration\x20saved\x20successfully','4uIjLqG','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connection\x20Failed','exports','Failed\x20to\x20save\x20configuration','174PakWRt','Get\x20your\x20API\x20key\x20in\x20seconds','446620GpqIES','MCP:\x20Unauthorized','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Disconnected','MCP:\x20Session\x20ID\x20Occupied','770922cralrn','MCP\x20Connection\x20Failed','Max\x20Retries','Retrying...','55NaYQmy','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Max\x20Retries\x20Exceeded','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\x20changes\x20will\x20take\x20effect\x20immediately','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','MCP\x20Configuration','245vqIXof','API\x20Key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20authentication\x20for\x20secure\x20connections','Connecting...','API\x20key\x20with\x20Bearer\x20prefix.','708hvIzFy'];_0x1d23=function(){return _0x23ac29;};return _0x1d23();}const e={'mcpStatus':{'disconnected':_0x502c94(0x1ed),'connecting':_0x502c94(0x202),'connected':'MCP\x20Connected','failed':_0x502c94(0x1f0),'retrying':_0x502c94(0x1d5),'unknown':_0x502c94(0x1db),'unauthorized':_0x502c94(0x1eb),'sessionOccupied':_0x502c94(0x1ee),'networkError':_0x502c94(0x1dc),'maxRetriesExceeded':_0x502c94(0x1f5),'clickToConnect':_0x502c94(0x1f9),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x502c94(0x1fa),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x502c94(0x1fc),'apiKeyPlaceholder':_0x502c94(0x204),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x502c94(0x207),'enableAuthHint':_0x502c94(0x1fe),'connectionInfo':_0x502c94(0x20d),'mcpClientConfig':_0x502c94(0x20d),'configInstructions':_0x502c94(0x1f8),'configStepTitle':_0x502c94(0x1d7),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x502c94(0x1ec),'configStep3':_0x502c94(0x208),'sessionId':_0x502c94(0x1da),'sessionIdDescription':_0x502c94(0x1f4),'authorizationDescription':_0x502c94(0x200),'configParameters':_0x502c94(0x1e0),'maxRetries':_0x502c94(0x1f1),'save':_0x502c94(0x20b),'saving':_0x502c94(0x20c),'note1':_0x502c94(0x1f7),'note2':_0x502c94(0x1d4),'configSaved':_0x502c94(0x1e2),'configError':_0x502c94(0x1e7),'apiApplyInfo':{'title':_0x502c94(0x1dd),'description':_0x502c94(0x1f6),'univerAiLabel':_0x502c94(0x20a),'getStarted':_0x502c94(0x1e9)},'validation':{'apiKeyRequired':_0x502c94(0x1e1),'apiKeyTooShort':_0x502c94(0x203),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x502c94(0x1fd)},'connectionStatus':{'disconnected':_0x502c94(0x20f),'connecting':_0x502c94(0x1ff),'connected':_0x502c94(0x1d9),'failed':_0x502c94(0x1e5),'retrying':_0x502c94(0x1f2)},'connectionError':{'unauthorized':_0x502c94(0x209),'sessionOccupied':_0x502c94(0x20e),'networkError':_0x502c94(0x1d8),'maxRetriesExceeded':_0x502c94(0x1e4)}}},n=e;function _0xcdd1(_0x492a6c,_0x5b66bc){_0x492a6c=_0x492a6c-0x1d4;const _0x1d2376=_0x1d23();let _0xcdd12f=_0x1d2376[_0x492a6c];return _0xcdd12f;}module[_0x502c94(0x1e6)]=n;
1
+ 'use strict';const _0x3c27aa=_0x4289;(function(_0x12e31a,_0x2d720e){const _0x5cd390=_0x4289,_0x5566f9=_0x12e31a();while(!![]){try{const _0x28eab3=parseInt(_0x5cd390(0x205))/0x1*(-parseInt(_0x5cd390(0x1f5))/0x2)+-parseInt(_0x5cd390(0x1f4))/0x3*(parseInt(_0x5cd390(0x1f3))/0x4)+-parseInt(_0x5cd390(0x1f1))/0x5*(-parseInt(_0x5cd390(0x1ee))/0x6)+parseInt(_0x5cd390(0x1d9))/0x7+-parseInt(_0x5cd390(0x20b))/0x8+parseInt(_0x5cd390(0x1dc))/0x9*(parseInt(_0x5cd390(0x20d))/0xa)+-parseInt(_0x5cd390(0x1e5))/0xb;if(_0x28eab3===_0x2d720e)break;else _0x5566f9['push'](_0x5566f9['shift']());}catch(_0x495798){_0x5566f9['push'](_0x5566f9['shift']());}}}(_0x3152,0x53ca7));function _0x4289(_0x303293,_0x13d617){_0x303293=_0x303293-0x1d9;const _0x3152fe=_0x3152();let _0x42893d=_0x3152fe[_0x303293];return _0x42893d;}const e={'mcpStatus':{'disconnected':_0x3c27aa(0x1f2),'connecting':'MCP\x20Connecting...','connected':_0x3c27aa(0x1e2),'failed':_0x3c27aa(0x210),'retrying':'MCP\x20Retrying...','unknown':_0x3c27aa(0x204),'unauthorized':_0x3c27aa(0x1ed),'sessionOccupied':_0x3c27aa(0x1fb),'networkError':_0x3c27aa(0x1da),'maxRetriesExceeded':_0x3c27aa(0x1dd),'clickToConnect':_0x3c27aa(0x1ea),'clickToConfigure':_0x3c27aa(0x1e4)},'mcpConfig':{'title':_0x3c27aa(0x20a),'description':_0x3c27aa(0x1f9),'apiKey':_0x3c27aa(0x20f),'apiKeyPlaceholder':_0x3c27aa(0x20e),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x3c27aa(0x1e1),'enableAuthHint':_0x3c27aa(0x1e0),'connectionInfo':_0x3c27aa(0x1e3),'mcpClientConfig':_0x3c27aa(0x1e3),'configInstructions':_0x3c27aa(0x1e9),'configStepTitle':_0x3c27aa(0x1e6),'configStep1':_0x3c27aa(0x1ec),'configStep2':_0x3c27aa(0x1fc),'configStep3':_0x3c27aa(0x1f6),'sessionId':_0x3c27aa(0x207),'sessionIdDescription':_0x3c27aa(0x202),'authorizationDescription':_0x3c27aa(0x206),'configParameters':_0x3c27aa(0x209),'maxRetries':_0x3c27aa(0x1ef),'save':_0x3c27aa(0x208),'saving':_0x3c27aa(0x20c),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x3c27aa(0x201),'configSaved':_0x3c27aa(0x203),'configError':_0x3c27aa(0x1fa),'apiApplyInfo':{'title':_0x3c27aa(0x1eb),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x3c27aa(0x1df)},'validation':{'apiKeyRequired':_0x3c27aa(0x1e7),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x3c27aa(0x1ff),'invalidApiKey':_0x3c27aa(0x1e8)},'connectionStatus':{'disconnected':_0x3c27aa(0x1fe),'connecting':_0x3c27aa(0x1fd),'connected':_0x3c27aa(0x1f8),'failed':_0x3c27aa(0x1f0),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x3c27aa(0x1db),'sessionOccupied':_0x3c27aa(0x1de),'networkError':_0x3c27aa(0x211),'maxRetriesExceeded':_0x3c27aa(0x200)}}},n=e;function _0x3152(){const _0x139b27=['10THgcMx','Enter\x20your\x20API\x20key','API\x20Key','MCP\x20Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2543583DmWQbu','MCP:\x20Network\x20Error','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','5368257LJkQjJ','MCP:\x20Max\x20Retries\x20Exceeded','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Get\x20your\x20API\x20key\x20in\x20seconds','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','MCP\x20Connected','MCP\x20Client\x20Configuration','Click\x20to\x20configure\x20MCP','4358365KwuboZ','Configuration\x20Steps:','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','What\x20is\x20API\x20Key?','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Unauthorized','1050kQaofM','Max\x20Retries','Connection\x20Failed','9490tViaRW','MCP\x20Disconnected','1196gsFqnB','207BYuhRP','4192kxEfSe','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','exports','Connected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','MCP:\x20Session\x20ID\x20Occupied','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connecting...','Disconnected','Invalid\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20saved\x20successfully','MCP\x20Unknown\x20Status','16pHXIOg','API\x20key\x20with\x20Bearer\x20prefix.','Session\x20ID','Save\x20Configuration','Configuration\x20Parameters:','MCP\x20Configuration','3987224IhVhtJ','Saving...'];_0x3152=function(){return _0x139b27;};return _0x3152();}module[_0x3c27aa(0x1f7)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x3345(){const _0x36f4fc=['11VjjfwY','MCP\x20Configuration','4156752eeyhzl','889IwiYpb','MCP\x20Client\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','MCP:\x20Unauthorized','Get\x20your\x20API\x20key\x20in\x20seconds','55828DgewUf','MCP:\x20Network\x20Error','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','Failed\x20to\x20save\x20configuration','232FZsZyD','API\x20Key','Configuration\x20Steps:','MCP:\x20Session\x20ID\x20Occupied','Max\x20Retries','MCP\x20Connected','2137590dbHcVg','Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connecting...','54DXlUkf','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','13455BfcNnm','MCP\x20Unknown\x20Status','Connection\x20Failed','Invalid\x20configuration','Retrying...','8lGPDeC','Saving...','Click\x20to\x20connect\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','Configuration\x20Parameters:','6420RhZNgP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','1792240yNLhGK','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20saved\x20successfully','158511dkQxCB','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Univer\x20AI\x20Console','Connecting...'];_0x3345=function(){return _0x36f4fc;};return _0x3345();}const _0x52c779=_0x47e5;(function(_0x5d5fbc,_0x2276df){const _0x5dc5bf=_0x47e5,_0x4096c9=_0x5d5fbc();while(!![]){try{const _0x4920c9=-parseInt(_0x5dc5bf(0xa0))/0x1*(-parseInt(_0x5dc5bf(0x90))/0x2)+-parseInt(_0x5dc5bf(0x89))/0x3*(parseInt(_0x5dc5bf(0xad))/0x4)+parseInt(_0x5dc5bf(0xb9))/0x5+parseInt(_0x5dc5bf(0x96))/0x6*(-parseInt(_0x5dc5bf(0xa7))/0x7)+parseInt(_0x5dc5bf(0xb3))/0x8*(-parseInt(_0x5dc5bf(0x8b))/0x9)+parseInt(_0x5dc5bf(0x9a))/0xa*(parseInt(_0x5dc5bf(0xa4))/0xb)+-parseInt(_0x5dc5bf(0xa6))/0xc;if(_0x4920c9===_0x2276df)break;else _0x4096c9['push'](_0x4096c9['shift']());}catch(_0x1f0bd7){_0x4096c9['push'](_0x4096c9['shift']());}}}(_0x3345,0x7142f));function _0x47e5(_0x5087cd,_0x438237){_0x5087cd=_0x5087cd-0x88;const _0x334545=_0x3345();let _0x47e508=_0x334545[_0x5087cd];return _0x47e508;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x52c779(0x88),'connected':_0x52c779(0xb8),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x52c779(0x8c),'unauthorized':_0x52c779(0xab),'sessionOccupied':_0x52c779(0xb6),'networkError':_0x52c779(0xae),'maxRetriesExceeded':_0x52c779(0x99),'clickToConnect':_0x52c779(0x92),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x52c779(0xa5),'description':_0x52c779(0x8a),'apiKey':_0x52c779(0xb4),'apiKeyPlaceholder':_0x52c779(0x98),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x52c779(0x94),'enableAuthHint':_0x52c779(0x93),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x52c779(0xa8),'configInstructions':_0x52c779(0x97),'configStepTitle':_0x52c779(0xb5),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x52c779(0xbb),'configStep3':_0x52c779(0xa9),'sessionId':_0x52c779(0x9d),'sessionIdDescription':_0x52c779(0x9e),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x52c779(0x95),'maxRetries':_0x52c779(0xb7),'save':_0x52c779(0xaa),'saving':_0x52c779(0x91),'note1':_0x52c779(0xb0),'note2':_0x52c779(0x9c),'configSaved':_0x52c779(0x9f),'configError':_0x52c779(0xb2),'apiApplyInfo':{'title':_0x52c779(0xb1),'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':_0x52c779(0xa2),'getStarted':_0x52c779(0xac)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x52c779(0x8e),'invalidApiKey':_0x52c779(0x9b)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x52c779(0xa3),'connected':_0x52c779(0xba),'failed':_0x52c779(0x8d),'retrying':_0x52c779(0x8f)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x52c779(0xa1),'networkError':_0x52c779(0xaf),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
1
+ 'use strict';const _0x38241f=_0x57f9;function _0x5d2d(){const _0x57a559=['MCP\x20Client\x20Configuration','Session\x20ID','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','416uTimaR','Save\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20Authentication','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Session\x20ID\x20Occupied','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','7400zbVpKk','Connecting...','API\x20key\x20is\x20required','1920446ErSqLn','Click\x20to\x20connect\x20MCP','What\x20is\x20API\x20Key?','Connected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Steps:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','4519355DiOSTM','API\x20Key','Disconnected','2nEwnMu','12fkvnzY','2093811ovgWZt','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connection\x20Failed','MCP\x20Retrying...','Configuration\x20Parameters:','MCP\x20Disconnected','Copy\x20the\x20JSON\x20configuration\x20below','Get\x20your\x20API\x20key\x20in\x20seconds','144977NdHnDK','1520003rnkihK','Univer\x20AI\x20Console','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Saving...','4bvSfxX','MCP\x20Configuration','MCP\x20Unknown\x20Status','MCP\x20Connection\x20Failed','Click\x20to\x20configure\x20MCP','MCP\x20Connected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','exports','Enter\x20your\x20API\x20key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','7839PYFvcy','Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','3862794pqVBwv'];_0x5d2d=function(){return _0x57a559;};return _0x5d2d();}(function(_0x2c0f17,_0x5bddb0){const _0x2011ea=_0x57f9,_0x5f1438=_0x2c0f17();while(!![]){try{const _0x1d995c=-parseInt(_0x2011ea(0x11d))/0x1*(-parseInt(_0x2011ea(0x14b))/0x2)+-parseInt(_0x2011ea(0x14d))/0x3+-parseInt(_0x2011ea(0x122))/0x4*(parseInt(_0x2011ea(0x148))/0x5)+parseInt(_0x2011ea(0x130))/0x6+parseInt(_0x2011ea(0x155))/0x7*(parseInt(_0x2011ea(0x134))/0x8)+parseInt(_0x2011ea(0x12d))/0x9*(-parseInt(_0x2011ea(0x13e))/0xa)+-parseInt(_0x2011ea(0x141))/0xb*(parseInt(_0x2011ea(0x14c))/0xc);if(_0x1d995c===_0x5bddb0)break;else _0x5f1438['push'](_0x5f1438['shift']());}catch(_0x5455f3){_0x5f1438['push'](_0x5f1438['shift']());}}}(_0x5d2d,0xc8280));function _0x57f9(_0x5c3fc8,_0x5401a1){_0x5c3fc8=_0x5c3fc8-0x11d;const _0x5d2d11=_0x5d2d();let _0x57f96e=_0x5d2d11[_0x5c3fc8];return _0x57f96e;}const e={'mcpStatus':{'disconnected':_0x38241f(0x152),'connecting':'MCP\x20Connecting...','connected':_0x38241f(0x127),'failed':_0x38241f(0x125),'retrying':_0x38241f(0x150),'unknown':_0x38241f(0x124),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x38241f(0x13a),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x38241f(0x139),'clickToConnect':_0x38241f(0x142),'clickToConfigure':_0x38241f(0x126)},'mcpConfig':{'title':_0x38241f(0x123),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x38241f(0x149),'apiKeyPlaceholder':_0x38241f(0x12a),'apiKeyHint':_0x38241f(0x120),'enableAuth':_0x38241f(0x137),'enableAuthHint':_0x38241f(0x12e),'connectionInfo':_0x38241f(0x131),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x38241f(0x147),'configStepTitle':_0x38241f(0x146),'configStep1':_0x38241f(0x153),'configStep2':_0x38241f(0x12b),'configStep3':_0x38241f(0x12f),'sessionId':_0x38241f(0x132),'sessionIdDescription':_0x38241f(0x145),'authorizationDescription':_0x38241f(0x136),'configParameters':_0x38241f(0x151),'maxRetries':'Max\x20Retries','save':_0x38241f(0x135),'saving':_0x38241f(0x121),'note1':_0x38241f(0x13d),'note2':_0x38241f(0x12c),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x38241f(0x13c),'apiApplyInfo':{'title':_0x38241f(0x143),'description':_0x38241f(0x11f),'univerAiLabel':_0x38241f(0x11e),'getStarted':_0x38241f(0x154)},'validation':{'apiKeyRequired':_0x38241f(0x140),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x38241f(0x138)},'connectionStatus':{'disconnected':_0x38241f(0x14a),'connecting':_0x38241f(0x13f),'connected':_0x38241f(0x144),'failed':_0x38241f(0x14f),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x38241f(0x133),'sessionOccupied':_0x38241f(0x128),'networkError':_0x38241f(0x14e),'maxRetriesExceeded':_0x38241f(0x13b)}}},n=e;module[_0x38241f(0x129)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x349cc8=_0x10d1;function _0x21e3(){const _0x5027e2=['Max\x20Retries','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20is\x20required','7zpsZGa','MCP\x20Configuration','What\x20is\x20API\x20Key?','MCP\x20Unknown\x20Status','86924eOLUfq','MCP\x20Connecting...','5884820ivsSDC','2048985YAIAeH','Session\x20ID','Failed\x20to\x20save\x20configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','224rFxpTM','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','6755IrHDvG','45768qDJUMQ','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','8mBEyMC','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','300912xOGPpp','Univer\x20AI\x20Console','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Retrying...','Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20configure\x20MCP','Connected','MCP:\x20Session\x20ID\x20Occupied','206338JORneC','MCP\x20Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Copy\x20the\x20JSON\x20configuration\x20below','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Steps:','Enable\x20Authentication','MCP\x20Connected','MCP\x20Client\x20Configuration','Click\x20to\x20connect\x20MCP','Invalid\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Unauthorized'];_0x21e3=function(){return _0x5027e2;};return _0x21e3();}function _0x10d1(_0x5b62ff,_0x1f0ef1){_0x5b62ff=_0x5b62ff-0xbf;const _0x21e376=_0x21e3();let _0x10d107=_0x21e376[_0x5b62ff];return _0x10d107;}(function(_0x425b6d,_0x45cb33){const _0x4d76d5=_0x10d1,_0x223f0a=_0x425b6d();while(!![]){try{const _0x27fc0f=-parseInt(_0x4d76d5(0xe1))/0x1+-parseInt(_0x4d76d5(0xc8))/0x2+-parseInt(_0x4d76d5(0xd2))/0x3+parseInt(_0x4d76d5(0xcf))/0x4*(parseInt(_0x4d76d5(0xd1))/0x5)+parseInt(_0x4d76d5(0xd7))/0x6*(-parseInt(_0x4d76d5(0xc4))/0x7)+parseInt(_0x4d76d5(0xd5))/0x8*(-parseInt(_0x4d76d5(0xcb))/0x9)+parseInt(_0x4d76d5(0xca))/0xa;if(_0x27fc0f===_0x45cb33)break;else _0x223f0a['push'](_0x223f0a['shift']());}catch(_0x7cd2a9){_0x223f0a['push'](_0x223f0a['shift']());}}}(_0x21e3,0x1d9b1));const e={'mcpStatus':{'disconnected':_0x349cc8(0xe2),'connecting':_0x349cc8(0xc9),'connected':_0x349cc8(0xe9),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x349cc8(0xc7),'unauthorized':_0x349cc8(0xbf),'sessionOccupied':_0x349cc8(0xe0),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x349cc8(0xeb),'clickToConfigure':_0x349cc8(0xde)},'mcpConfig':{'title':_0x349cc8(0xc5),'description':_0x349cc8(0xd9),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x349cc8(0xc2),'enableAuth':_0x349cc8(0xe8),'enableAuthHint':_0x349cc8(0xdd),'connectionInfo':_0x349cc8(0xea),'mcpClientConfig':_0x349cc8(0xea),'configInstructions':_0x349cc8(0xc1),'configStepTitle':_0x349cc8(0xe7),'configStep1':_0x349cc8(0xe5),'configStep2':_0x349cc8(0xd3),'configStep3':_0x349cc8(0xd6),'sessionId':_0x349cc8(0xcc),'sessionIdDescription':_0x349cc8(0xe4),'authorizationDescription':_0x349cc8(0xef),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x349cc8(0xc0),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x349cc8(0xe3),'note2':_0x349cc8(0xdc),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x349cc8(0xcd),'apiApplyInfo':{'title':_0x349cc8(0xc6),'description':_0x349cc8(0xd4),'univerAiLabel':_0x349cc8(0xd8),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x349cc8(0xc3),'apiKeyTooShort':_0x349cc8(0xee),'invalidConfig':_0x349cc8(0xec),'invalidApiKey':_0x349cc8(0xed)},'connectionStatus':{'disconnected':_0x349cc8(0xdb),'connecting':'Connecting...','connected':_0x349cc8(0xdf),'failed':'Connection\x20Failed','retrying':_0x349cc8(0xda)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x349cc8(0xce),'networkError':_0x349cc8(0xe6),'maxRetriesExceeded':_0x349cc8(0xd0)}}},n=e;module['exports']=n;
1
+ 'use strict';const _0xec038a=_0x4bfe;(function(_0x3d98d8,_0x3317c3){const _0x30aa6a=_0x4bfe,_0x4db774=_0x3d98d8();while(!![]){try{const _0x2f7f8e=parseInt(_0x30aa6a(0x16b))/0x1*(parseInt(_0x30aa6a(0x171))/0x2)+-parseInt(_0x30aa6a(0x14c))/0x3*(-parseInt(_0x30aa6a(0x149))/0x4)+parseInt(_0x30aa6a(0x14f))/0x5*(parseInt(_0x30aa6a(0x16c))/0x6)+parseInt(_0x30aa6a(0x155))/0x7+-parseInt(_0x30aa6a(0x157))/0x8+parseInt(_0x30aa6a(0x14e))/0x9+-parseInt(_0x30aa6a(0x175))/0xa;if(_0x2f7f8e===_0x3317c3)break;else _0x4db774['push'](_0x4db774['shift']());}catch(_0x4b2533){_0x4db774['push'](_0x4db774['shift']());}}}(_0x2db2,0xefd1b));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0xec038a(0x160),'connected':_0xec038a(0x16f),'failed':_0xec038a(0x164),'retrying':_0xec038a(0x177),'unknown':_0xec038a(0x14d),'unauthorized':_0xec038a(0x165),'sessionOccupied':_0xec038a(0x150),'networkError':_0xec038a(0x169),'maxRetriesExceeded':_0xec038a(0x17b),'clickToConnect':_0xec038a(0x167),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xec038a(0x170),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xec038a(0x163),'apiKeyPlaceholder':_0xec038a(0x162),'apiKeyHint':_0xec038a(0x156),'enableAuth':_0xec038a(0x161),'enableAuthHint':_0xec038a(0x158),'connectionInfo':_0xec038a(0x148),'mcpClientConfig':_0xec038a(0x148),'configInstructions':_0xec038a(0x179),'configStepTitle':_0xec038a(0x151),'configStep1':_0xec038a(0x15d),'configStep2':_0xec038a(0x14b),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0xec038a(0x15f),'configParameters':_0xec038a(0x16d),'maxRetries':_0xec038a(0x166),'save':_0xec038a(0x173),'saving':'Saving...','note1':_0xec038a(0x174),'note2':_0xec038a(0x152),'configSaved':_0xec038a(0x172),'configError':_0xec038a(0x178),'apiApplyInfo':{'title':_0xec038a(0x15b),'description':_0xec038a(0x15c),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0xec038a(0x147)},'validation':{'apiKeyRequired':_0xec038a(0x154),'apiKeyTooShort':_0xec038a(0x14a),'invalidConfig':_0xec038a(0x16e),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0xec038a(0x15e),'connecting':_0xec038a(0x176),'connected':_0xec038a(0x168),'failed':_0xec038a(0x15a),'retrying':_0xec038a(0x153)},'connectionError':{'unauthorized':_0xec038a(0x17a),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0xec038a(0x16a),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0xec038a(0x159)]=n;function _0x4bfe(_0x237028,_0x46fef3){_0x237028=_0x237028-0x147;const _0x2db2e4=_0x2db2();let _0x4bfedc=_0x2db2e4[_0x237028];return _0x4bfedc;}function _0x2db2(){const _0x458415=['Click\x20to\x20connect\x20MCP','Connected','MCP:\x20Network\x20Error','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2gQQmDr','756CmIaAq','Configuration\x20Parameters:','Invalid\x20configuration','MCP\x20Connected','MCP\x20Configuration','148914lZwgsd','Configuration\x20saved\x20successfully','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','23823560ufLSup','Connecting...','MCP\x20Retrying...','Failed\x20to\x20save\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Client\x20Configuration','6341548UkWUgK','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','3MJJipp','MCP\x20Unknown\x20Status','1704213RnkuWG','31985BKQwHF','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Steps:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Retrying...','API\x20key\x20is\x20required','9582636ombLjT','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','5871784GhmlDW','Enable\x20authentication\x20for\x20secure\x20connections','exports','Connection\x20Failed','What\x20is\x20API\x20Key?','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Copy\x20the\x20JSON\x20configuration\x20below','Disconnected','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connecting...','Enable\x20Authentication','Enter\x20your\x20API\x20key','API\x20Key','MCP\x20Connection\x20Failed','MCP:\x20Unauthorized','Max\x20Retries'];_0x2db2=function(){return _0x458415;};return _0x2db2();}
@@ -1 +1 @@
1
- 'use strict';function _0x4ea9(_0x585134,_0x5ea913){_0x585134=_0x585134-0x109;const _0x2e037e=_0x2e03();let _0x4ea9b8=_0x2e037e[_0x585134];return _0x4ea9b8;}const _0x291b89=_0x4ea9;(function(_0x336a04,_0x61a96d){const _0x471b1d=_0x4ea9,_0x273b0e=_0x336a04();while(!![]){try{const _0x5406bf=parseInt(_0x471b1d(0x116))/0x1*(-parseInt(_0x471b1d(0x123))/0x2)+-parseInt(_0x471b1d(0x138))/0x3+parseInt(_0x471b1d(0x122))/0x4*(parseInt(_0x471b1d(0x12f))/0x5)+parseInt(_0x471b1d(0x120))/0x6+-parseInt(_0x471b1d(0x10f))/0x7*(-parseInt(_0x471b1d(0x133))/0x8)+parseInt(_0x471b1d(0x10c))/0x9*(parseInt(_0x471b1d(0x10e))/0xa)+-parseInt(_0x471b1d(0x121))/0xb*(parseInt(_0x471b1d(0x134))/0xc);if(_0x5406bf===_0x61a96d)break;else _0x273b0e['push'](_0x273b0e['shift']());}catch(_0x4a3bfa){_0x273b0e['push'](_0x273b0e['shift']());}}}(_0x2e03,0x1e51c));function _0x2e03(){const _0x44ba39=['MCP\x20再試行中...','設定パラメータ:','210114dKqeDO','10197OjoLEF','1172iaZBvj','2jtJJQY','設定の変更は直ちに有効になります','以下のJSON設定をコピー','Bearerプレフィックス付きのAPIキー。','MCPクライアント設定','MCPを設定してAIでスプレッドシートを操作','無効な設定','MCP:\x20認証されていません','接続中...','APIキーはこのブラウザのローカルに保存されます','MCP\x20接続中...','MCP\x20未接続','3130SLHNWR','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','未接続','APIキーは必須です','32EbgtNo','60JPtyaW','MCP:\x20セッションIDが使用中','MCP:\x20ネットワークエラー','最大再試行回数を超過しました。後でもう一度お試しください','88236NTRbWg','最大再試行回数','exports','MCPクライアントの設定ファイルに設定を追加','セッションID','APIキーとは?','189DhoEJb','MCPクライアントの設定に次の設定を追加してください:','28810YGwIug','92288sAaxrt','セキュアな接続のために認証を有効にする','MCP\x20不明な状態','APIキー','APIキーを入力してください','認証に失敗しました。APIキーを確認してください','無効なAPIキーです。キーが正しいか確認してください','173439pwbzdi','MCPクライアントを再起動して設定を適用','数秒でAPIキーを取得','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','接続済み','保存中...','再試行中...','設定の保存に失敗しました'];_0x2e03=function(){return _0x44ba39;};return _0x2e03();}const e={'mcpStatus':{'disconnected':_0x291b89(0x12e),'connecting':_0x291b89(0x12d),'connected':'MCP\x20接続済み','failed':'MCP\x20接続失敗','retrying':_0x291b89(0x11e),'unknown':_0x291b89(0x111),'unauthorized':_0x291b89(0x12a),'sessionOccupied':_0x291b89(0x135),'networkError':_0x291b89(0x136),'maxRetriesExceeded':'MCP:\x20最大再試行回数を超過','clickToConnect':'クリックしてMCPに接続','clickToConfigure':'クリックしてMCPを設定'},'mcpConfig':{'title':'MCP設定','description':_0x291b89(0x128),'apiKey':_0x291b89(0x112),'apiKeyPlaceholder':_0x291b89(0x113),'apiKeyHint':_0x291b89(0x12c),'enableAuth':'認証を有効にする','enableAuthHint':_0x291b89(0x110),'connectionInfo':_0x291b89(0x127),'mcpClientConfig':_0x291b89(0x127),'configInstructions':_0x291b89(0x10d),'configStepTitle':'設定手順:','configStep1':_0x291b89(0x125),'configStep2':_0x291b89(0x109),'configStep3':_0x291b89(0x117),'sessionId':_0x291b89(0x10a),'sessionIdDescription':_0x291b89(0x130),'authorizationDescription':_0x291b89(0x126),'configParameters':_0x291b89(0x11f),'maxRetries':_0x291b89(0x139),'save':'設定を保存','saving':_0x291b89(0x11b),'note1':_0x291b89(0x124),'note2':'APIキーはローカルストレージに安全に保存されます','configSaved':'設定が正常に保存されました','configError':_0x291b89(0x11d),'apiApplyInfo':{'title':_0x291b89(0x10b),'description':_0x291b89(0x119),'univerAiLabel':'Univer\x20AIコンソール','getStarted':_0x291b89(0x118)},'validation':{'apiKeyRequired':_0x291b89(0x132),'apiKeyTooShort':'APIキーは10文字以上である必要があります','invalidConfig':_0x291b89(0x129),'invalidApiKey':_0x291b89(0x115)},'connectionStatus':{'disconnected':_0x291b89(0x131),'connecting':_0x291b89(0x12b),'connected':_0x291b89(0x11a),'failed':'接続失敗','retrying':_0x291b89(0x11c)},'connectionError':{'unauthorized':_0x291b89(0x114),'sessionOccupied':'セッションIDが現在使用中です。後でもう一度お試しください','networkError':'ネットワーク接続エラー。インターネット接続を確認してください','maxRetriesExceeded':_0x291b89(0x137)}}};module[_0x291b89(0x13a)]=e;
1
+ 'use strict';function _0x4277(){const _0x236f63=['認証を有効にする','Univer\x20AIコンソール','9599508TzzrYs','777759oCKlqp','APIキーはこのブラウザのローカルに保存されます','Bearerプレフィックス付きのAPIキー。','数秒でAPIキーを取得','設定が正常に保存されました','1008268NTCqxR','APIキー','セッションID','13243881HCwYSg','最大再試行回数','MCP:\x20認証されていません','接続失敗','APIキーは必須です','設定パラメータ:','クリックしてMCPに接続','MCP:\x20最大再試行回数を超過','MCP:\x20ネットワークエラー','3ulrsAA','MCP\x20接続失敗','MCPクライアント設定','56qYxPlY','3937688ltMjBU','MCP\x20接続中...','ネットワーク接続エラー。インターネット接続を確認してください','MCP\x20未接続','無効な設定','4887306dwmtsI','保存中...','exports','MCP\x20不明な状態','以下のJSON設定をコピー','接続済み','設定手順:','無効なAPIキーです。キーが正しいか確認してください','APIキーは10文字以上である必要があります','MCPクライアントを再起動して設定を適用','セキュアな接続のために認証を有効にする','MCPクライアントの設定に次の設定を追加してください:','APIキーはローカルストレージに安全に保存されます','MCP\x20接続済み','設定の保存に失敗しました','セッションIDが現在使用中です。後でもう一度お試しください','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','未接続','APIキーとは?','5971550YIQFEI'];_0x4277=function(){return _0x236f63;};return _0x4277();}function _0x504e(_0xd4744d,_0x2c886a){_0xd4744d=_0xd4744d-0x10f;const _0x427706=_0x4277();let _0x504ebe=_0x427706[_0xd4744d];return _0x504ebe;}const _0x585a12=_0x504e;(function(_0x3626fe,_0x13c701){const _0x18fca5=_0x504e,_0x126177=_0x3626fe();while(!![]){try{const _0x5d46df=parseInt(_0x18fca5(0x113))/0x1+parseInt(_0x18fca5(0x128))/0x2+-parseInt(_0x18fca5(0x124))/0x3*(parseInt(_0x18fca5(0x118))/0x4)+-parseInt(_0x18fca5(0x10f))/0x5+parseInt(_0x18fca5(0x112))/0x6+parseInt(_0x18fca5(0x11b))/0x7+-parseInt(_0x18fca5(0x127))/0x8*(parseInt(_0x18fca5(0x12d))/0x9);if(_0x5d46df===_0x13c701)break;else _0x126177['push'](_0x126177['shift']());}catch(_0x371088){_0x126177['push'](_0x126177['shift']());}}}(_0x4277,0xf1ea9));const e={'mcpStatus':{'disconnected':_0x585a12(0x12b),'connecting':_0x585a12(0x129),'connected':_0x585a12(0x13a),'failed':_0x585a12(0x125),'retrying':'MCP\x20再試行中...','unknown':_0x585a12(0x130),'unauthorized':_0x585a12(0x11d),'sessionOccupied':'MCP:\x20セッションIDが使用中','networkError':_0x585a12(0x123),'maxRetriesExceeded':_0x585a12(0x122),'clickToConnect':_0x585a12(0x121),'clickToConfigure':'クリックしてMCPを設定'},'mcpConfig':{'title':'MCP設定','description':'MCPを設定してAIでスプレッドシートを操作','apiKey':_0x585a12(0x119),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':_0x585a12(0x114),'enableAuth':_0x585a12(0x110),'enableAuthHint':_0x585a12(0x137),'connectionInfo':_0x585a12(0x126),'mcpClientConfig':_0x585a12(0x126),'configInstructions':_0x585a12(0x138),'configStepTitle':_0x585a12(0x133),'configStep1':_0x585a12(0x131),'configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':_0x585a12(0x136),'sessionId':_0x585a12(0x11a),'sessionIdDescription':_0x585a12(0x13d),'authorizationDescription':_0x585a12(0x115),'configParameters':_0x585a12(0x120),'maxRetries':_0x585a12(0x11c),'save':'設定を保存','saving':_0x585a12(0x12e),'note1':'設定の変更は直ちに有効になります','note2':_0x585a12(0x139),'configSaved':_0x585a12(0x117),'configError':_0x585a12(0x13b),'apiApplyInfo':{'title':_0x585a12(0x13f),'description':'APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','univerAiLabel':_0x585a12(0x111),'getStarted':_0x585a12(0x116)},'validation':{'apiKeyRequired':_0x585a12(0x11f),'apiKeyTooShort':_0x585a12(0x135),'invalidConfig':_0x585a12(0x12c),'invalidApiKey':_0x585a12(0x134)},'connectionStatus':{'disconnected':_0x585a12(0x13e),'connecting':'接続中...','connected':_0x585a12(0x132),'failed':_0x585a12(0x11e),'retrying':'再試行中...'},'connectionError':{'unauthorized':'認証に失敗しました。APIキーを確認してください','sessionOccupied':_0x585a12(0x13c),'networkError':_0x585a12(0x12a),'maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};module[_0x585a12(0x12f)]=e;