@univerjs-pro/mcp-ui 0.10.9-experimental.20250925-61b61a0 → 0.10.9-nightly.202509260614

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +6 -6
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x4abf76=_0x5c61;(function(_0x146cac,_0x21fd58){var _0x2a8f74=_0x5c61,_0x2025d5=_0x146cac();while(!![]){try{var _0x30888f=-parseInt(_0x2a8f74(0x26a))/0x1*(-parseInt(_0x2a8f74(0x1fb))/0x2)+parseInt(_0x2a8f74(0x235))/0x3+parseInt(_0x2a8f74(0x201))/0x4*(-parseInt(_0x2a8f74(0x1f8))/0x5)+-parseInt(_0x2a8f74(0x21e))/0x6*(parseInt(_0x2a8f74(0x2e9))/0x7)+parseInt(_0x2a8f74(0x18b))/0x8*(parseInt(_0x2a8f74(0x276))/0x9)+parseInt(_0x2a8f74(0x2a7))/0xa+-parseInt(_0x2a8f74(0x2a6))/0xb;if(_0x30888f===_0x21fd58)break;else _0x2025d5['push'](_0x2025d5['shift']());}catch(_0x7b76fb){_0x2025d5['push'](_0x2025d5['shift']());}}}(_0x3bfb,0xc1c41));var ue=Object[_0x4abf76(0x321)],le=(_0x5bbbc3,_0x2804b9,_0x54736a)=>_0x2804b9 in _0x5bbbc3?ue(_0x5bbbc3,_0x2804b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54736a}):_0x5bbbc3[_0x2804b9]=_0x54736a,I=(_0x4e87d4,_0x55738a,_0x5838db)=>le(_0x4e87d4,typeof _0x55738a!=_0x4abf76(0x302)?_0x55738a+'':_0x55738a,_0x5838db);Object['defineProperty'](exports,Symbol[_0x4abf76(0x228)],{'value':_0x4abf76(0x318)});const l=require('@univerjs/core'),t=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),S=require('@univerjs/design'),v=require('@univerjs/ui'),N=require('rxjs'),d=require('react'),A=require('@univerjs/network');var g=function(){var _0x3fb631=_0x4abf76;return g=Object[_0x3fb631(0x269)]||function(_0x3ca1e7){var _0x5828f6=_0x3fb631;for(var _0x46f8f5,_0x5aac6f=0x1,_0x39e6a9=arguments['length'];_0x5aac6f<_0x39e6a9;_0x5aac6f++){_0x46f8f5=arguments[_0x5aac6f];for(var _0x37a243 in _0x46f8f5)Object[_0x5828f6(0x24f)]['hasOwnProperty']['call'](_0x46f8f5,_0x37a243)&&(_0x3ca1e7[_0x37a243]=_0x46f8f5[_0x37a243]);}return _0x3ca1e7;},g[_0x3fb631(0x31a)](this,arguments);},ve=function(_0x56d5ae,_0x512b8a){var _0x2407b2=_0x4abf76,_0x12d010={};for(var _0x366865 in _0x56d5ae)Object[_0x2407b2(0x24f)][_0x2407b2(0x209)]['call'](_0x56d5ae,_0x366865)&&_0x512b8a[_0x2407b2(0x215)](_0x366865)<0x0&&(_0x12d010[_0x366865]=_0x56d5ae[_0x366865]);if(_0x56d5ae!=null&&typeof Object[_0x2407b2(0x2d6)]==_0x2407b2(0x2f3)){for(var _0x5738b9=0x0,_0x366865=Object['getOwnPropertySymbols'](_0x56d5ae);_0x5738b9<_0x366865[_0x2407b2(0x2c3)];_0x5738b9++)_0x512b8a[_0x2407b2(0x215)](_0x366865[_0x5738b9])<0x0&&Object[_0x2407b2(0x24f)][_0x2407b2(0x20d)]['call'](_0x56d5ae,_0x366865[_0x5738b9])&&(_0x12d010[_0x366865[_0x5738b9]]=_0x56d5ae[_0x366865[_0x5738b9]]);}return _0x12d010;},_=d['forwardRef'](function(_0x4df93c,_0x587b87){var _0x2bada1=_0x4abf76,_0x3a15d9=_0x4df93c[_0x2bada1(0x231)],_0x3493e5=_0x4df93c['id'],_0x309869=_0x4df93c[_0x2bada1(0x193)],_0x34547d=_0x4df93c[_0x2bada1(0x284)],_0x23e3d0=ve(_0x4df93c,[_0x2bada1(0x231),'id',_0x2bada1(0x193),_0x2bada1(0x284)]),_0x589b4c=_0x2bada1(0x1a2)[_0x2bada1(0x1af)](_0x3493e5,'\x20')[_0x2bada1(0x1af)](_0x309869||'')[_0x2bada1(0x2fd)](),_0x198a6f=d['useRef']('_'[_0x2bada1(0x1af)](ge()));return H(_0x3a15d9,''[_0x2bada1(0x1af)](_0x3493e5),{'defIds':_0x3a15d9[_0x2bada1(0x19c)],'idSuffix':_0x198a6f[_0x2bada1(0x2fa)]},g({'ref':_0x587b87,'className':_0x589b4c},_0x23e3d0),_0x34547d);});function H(_0x1960b,_0x4a9936,_0x7d8e7f,_0x881e0d,_0x423954){var _0x181c37=_0x4abf76;return d['createElement'](_0x1960b['tag'],g(g({'key':_0x4a9936},de(_0x1960b,_0x7d8e7f,_0x423954)),_0x881e0d),(Ce(_0x1960b,_0x7d8e7f)[_0x181c37(0x2c1)]||[])[_0x181c37(0x26d)](function(_0x59a259,_0x171661){var _0x1a263e=_0x181c37;return H(_0x59a259,''['concat'](_0x4a9936,'-')[_0x1a263e(0x1af)](_0x1960b[_0x1a263e(0x26f)],'-')[_0x1a263e(0x1af)](_0x171661),_0x7d8e7f,void 0x0,_0x423954);}));}function de(_0x4932b9,_0x5f098b,_0x574a57){var _0x2a55da=_0x4abf76,_0x455871=g({},_0x4932b9[_0x2a55da(0x31c)]);_0x574a57!=null&&_0x574a57[_0x2a55da(0x223)]&&_0x455871['fill']===_0x2a55da(0x223)&&(_0x455871[_0x2a55da(0x278)]=_0x574a57[_0x2a55da(0x223)]),_0x4932b9['tag']==='mask'&&_0x455871['id']&&(_0x455871['id']=_0x455871['id']+_0x5f098b[_0x2a55da(0x2d0)]),Object['entries'](_0x455871)[_0x2a55da(0x273)](function(_0x3f28b5){var _0x41e5c5=_0x2a55da,_0x3dd1fd=_0x3f28b5[0x0],_0x361463=_0x3f28b5[0x1];_0x3dd1fd===_0x41e5c5(0x22b)&&typeof _0x361463=='string'&&(_0x455871[_0x3dd1fd]=_0x361463[_0x41e5c5(0x1c7)](/url\(#(.*)\)/,_0x41e5c5(0x2af)[_0x41e5c5(0x1af)](_0x5f098b[_0x41e5c5(0x2d0)],')')));});var _0x1b1256=_0x5f098b[_0x2a55da(0x19c)];return!_0x1b1256||_0x1b1256[_0x2a55da(0x2c3)]===0x0||(_0x4932b9[_0x2a55da(0x26f)]===_0x2a55da(0x251)&&_0x455871[_0x2a55da(0x23f)]&&(_0x455871[_0x2a55da(0x23f)]=_0x455871['xlink:href']+_0x5f098b[_0x2a55da(0x2d0)]),Object[_0x2a55da(0x2f7)](_0x455871)[_0x2a55da(0x273)](function(_0x3dcd1b){var _0x7569b3=_0x2a55da,_0x583084=_0x3dcd1b[0x0],_0x29d159=_0x3dcd1b[0x1];typeof _0x29d159==_0x7569b3(0x271)&&(_0x455871[_0x583084]=_0x29d159[_0x7569b3(0x1c7)](/url\(#(.*)\)/,'url(#$1'[_0x7569b3(0x1af)](_0x5f098b[_0x7569b3(0x2d0)],')')));})),_0x455871;}function Ce(_0x4c351f,_0x4737b0){var _0x1bb83e=_0x4abf76,_0x576d12,_0x2a4e4c=_0x4737b0['defIds'];return!_0x2a4e4c||_0x2a4e4c[_0x1bb83e(0x2c3)]===0x0?_0x4c351f:_0x4c351f[_0x1bb83e(0x26f)]===_0x1bb83e(0x2f9)&&(!((_0x576d12=_0x4c351f[_0x1bb83e(0x2c1)])===null||_0x576d12===void 0x0)&&_0x576d12[_0x1bb83e(0x2c3)])?g(g({},_0x4c351f),{'children':_0x4c351f[_0x1bb83e(0x2c1)]['map'](function(_0x1ea843){var _0x1553bb=_0x1bb83e;return typeof _0x1ea843[_0x1553bb(0x31c)]['id']==_0x1553bb(0x271)&&_0x2a4e4c&&_0x2a4e4c[_0x1553bb(0x1ec)](_0x1ea843[_0x1553bb(0x31c)]['id'])?g(g({},_0x1ea843),{'attrs':g(g({},_0x1ea843[_0x1553bb(0x31c)]),{'id':_0x1ea843[_0x1553bb(0x31c)]['id']+_0x4737b0[_0x1553bb(0x2d0)]})}):_0x1ea843;})}):_0x4c351f;}function ge(){var _0x339ae9=_0x4abf76;return Math[_0x339ae9(0x263)]()[_0x339ae9(0x2a8)](0x24)['substring'](0x2,0x8);}_[_0x4abf76(0x1bd)]=_0x4abf76(0x1a8);var fe={'tag':_0x4abf76(0x265),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4abf76(0x2b5),'viewBox':_0x4abf76(0x2f4),'width':_0x4abf76(0x2aa),'height':_0x4abf76(0x2aa)},'children':[{'tag':_0x4abf76(0x2b2),'attrs':{'fill':_0x4abf76(0x255),'d':_0x4abf76(0x262),'fillRule':'evenodd','clipRule':_0x4abf76(0x270)}}]},B=d['forwardRef'](function(_0x4344b3,_0x59ca02){var _0x275781=_0x4abf76;return d[_0x275781(0x2c2)](_,Object['assign']({},_0x4344b3,{'id':_0x275781(0x1b8),'ref':_0x59ca02,'icon':fe}));});B[_0x4abf76(0x1bd)]=_0x4abf76(0x190);var pe={'tag':_0x4abf76(0x265),'attrs':{'xmlns':_0x4abf76(0x23e),'fill':_0x4abf76(0x2b5),'viewBox':_0x4abf76(0x250),'width':_0x4abf76(0x2aa),'height':_0x4abf76(0x2aa)},'children':[{'tag':'path','attrs':{'stroke':_0x4abf76(0x255),'d':_0x4abf76(0x2d7),'strokeLinecap':'round','strokeLinejoin':_0x4abf76(0x230),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':'currentColor','d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':_0x4abf76(0x230),'strokeLinejoin':'round','strokeWidth':1.33}}]},F=d[_0x4abf76(0x2dc)](function(_0x3f8ad8,_0x10bfb6){var _0x2fbbe9=_0x4abf76;return d[_0x2fbbe9(0x2c2)](_,Object[_0x2fbbe9(0x269)]({},_0x3f8ad8,{'id':_0x2fbbe9(0x1c4),'ref':_0x10bfb6,'icon':pe}));});F['displayName']=_0x4abf76(0x2a0);var he={'tag':_0x4abf76(0x265),'attrs':{'xmlns':_0x4abf76(0x23e),'fill':_0x4abf76(0x2b5),'viewBox':_0x4abf76(0x2f4),'width':_0x4abf76(0x2aa),'height':_0x4abf76(0x2aa)},'children':[{'tag':_0x4abf76(0x2b2),'attrs':{'fill':_0x4abf76(0x255),'d':_0x4abf76(0x30c)}},{'tag':_0x4abf76(0x2b2),'attrs':{'fill':'currentColor','d':_0x4abf76(0x24e)}},{'tag':_0x4abf76(0x2b2),'attrs':{'fill':'currentColor','d':_0x4abf76(0x2d4),'fillRule':_0x4abf76(0x270),'clipRule':_0x4abf76(0x270)}}]},Y=d[_0x4abf76(0x2dc)](function(_0x4f6126,_0x44de54){var _0x7551b6=_0x4abf76;return d[_0x7551b6(0x2c2)](_,Object[_0x7551b6(0x269)]({},_0x4f6126,{'id':'help-single','ref':_0x44de54,'icon':he}));});Y['displayName']='HelpSingle';var me={'tag':_0x4abf76(0x265),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4abf76(0x2b5),'viewBox':_0x4abf76(0x2f4),'width':_0x4abf76(0x2aa),'height':_0x4abf76(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':_0x4abf76(0x2e6)},'children':[{'tag':_0x4abf76(0x2b2),'attrs':{'stroke':'currentColor','d':_0x4abf76(0x216),'strokeLinecap':'round','strokeLinejoin':_0x4abf76(0x230),'strokeWidth':1.2}}]},{'tag':_0x4abf76(0x2f9),'attrs':{},'children':[{'tag':_0x4abf76(0x192),'attrs':{'id':_0x4abf76(0x2de)},'children':[{'tag':_0x4abf76(0x2b2),'attrs':{'fill':'white','d':_0x4abf76(0x1c2)}}]}]}],'defIds':[_0x4abf76(0x2de)]},q=d[_0x4abf76(0x2dc)](function(_0x4aabcd,_0x5c420d){var _0x30ac27=_0x4abf76;return d[_0x30ac27(0x2c2)](_,Object[_0x30ac27(0x269)]({},_0x4aabcd,{'id':_0x30ac27(0x2bd),'ref':_0x5c420d,'icon':me}));});q['displayName']=_0x4abf76(0x1fc);var xe={'tag':_0x4abf76(0x265),'attrs':{'xmlns':_0x4abf76(0x23e),'fill':_0x4abf76(0x2b5),'viewBox':_0x4abf76(0x2f5),'width':_0x4abf76(0x2aa),'height':_0x4abf76(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x4abf76(0x2b2),'attrs':{'stroke':_0x4abf76(0x255),'d':_0x4abf76(0x1cd),'strokeLinecap':_0x4abf76(0x230),'strokeLinejoin':_0x4abf76(0x230),'strokeWidth':1.2}}]},{'tag':_0x4abf76(0x2f9),'attrs':{},'children':[{'tag':_0x4abf76(0x192),'attrs':{'id':_0x4abf76(0x29a)},'children':[{'tag':_0x4abf76(0x2b2),'attrs':{'fill':_0x4abf76(0x300),'d':'M0\x200H16V16H0z','transform':_0x4abf76(0x206)}}]}]}],'defIds':[_0x4abf76(0x29a)]},V=d[_0x4abf76(0x2dc)](function(_0x4e3000,_0x64a145){var _0x32fcf7=_0x4abf76;return d['createElement'](_,Object['assign']({},_0x4e3000,{'id':_0x32fcf7(0x237),'ref':_0x64a145,'icon':xe}));});V[_0x4abf76(0x1bd)]=_0x4abf76(0x2fe);function W(_0x29be56){var _0xafc3ab=_0x4abf76,_0x966e60,_0x18b8c5;const {mcpCoreConfig:_0x45a236,onSave:_0x471bc4,loading:_0x50045b=!0x1,config:_0x3fb4cb,connectionStatus$:_0x2eb46f,connectionError$:_0x1143dc,currentApiKey$:_0xc1e633,currentSessionId$:_0x4bb147}=_0x29be56,_0x3a288f=v[_0xafc3ab(0x2fc)](l[_0xafc3ab(0x2d9)]),_0x63c6d5=v[_0xafc3ab(0x241)](_0x2eb46f,s[_0xafc3ab(0x26b)]['DISCONNECTED']),_0x8b8d76=v[_0xafc3ab(0x241)](_0x1143dc,s[_0xafc3ab(0x28c)]['NONE']),_0x435f4d=v[_0xafc3ab(0x241)](_0x4bb147,''),_0x3547e6=v[_0xafc3ab(0x241)](_0xc1e633,''),[_0x5a18ff,_0x318c56]=d[_0xafc3ab(0x272)](_0x3547e6||''),_0x32ae7e=!0x0,_0x4ba684=_0x3fb4cb[_0xafc3ab(0x18a)]&&_0x45a236[_0xafc3ab(0x21f)]&&(_0x45a236[_0xafc3ab(0x21f)]['includes'](_0xafc3ab(0x1ac))||_0x45a236[_0xafc3ab(0x21f)][_0xafc3ab(0x1ec)](_0xafc3ab(0x218))),_0x489ab0=(_0x966e60=_0x45a236[_0xafc3ab(0x21f)])==null?void 0x0:_0x966e60[_0xafc3ab(0x1ec)](_0xafc3ab(0x1ac)),_0xfefe5b=(_0x18b8c5=_0x45a236[_0xafc3ab(0x21f)])==null?void 0x0:_0x18b8c5[_0xafc3ab(0x1ec)](_0xafc3ab(0x218)),_0x50827a=_0x489ab0?'https://console.univer.plus':_0xafc3ab(0x2b4),_0x51d0b4=_0x3fb4cb[_0xafc3ab(0x18a)]&&(_0x489ab0||_0xfefe5b),[_0x3b980b,_0x2718d1]=d[_0xafc3ab(0x272)](!_0x5a18ff[_0xafc3ab(0x2fd)]()),_0x3b9c5a=(_0xc37d78,_0x53b96e)=>{var _0x146aa7=_0xafc3ab;if(_0x53b96e===s[_0x146aa7(0x28c)][_0x146aa7(0x2c4)])return _0x146aa7(0x1d6);switch(_0xc37d78){case s['MCPConnectionStatus'][_0x146aa7(0x18c)]:return _0x146aa7(0x1cf);case s[_0x146aa7(0x26b)][_0x146aa7(0x290)]:case s[_0x146aa7(0x26b)][_0x146aa7(0x2dd)]:return _0x146aa7(0x2a3);case s[_0x146aa7(0x26b)][_0x146aa7(0x2c9)]:return _0x146aa7(0x1d6);default:return _0x146aa7(0x1df);}},_0x1e5c21=(_0x2aa103,_0x55f09f)=>{var _0x326d94=_0xafc3ab;if(_0x55f09f===s['MCPConnectionError'][_0x326d94(0x2c4)])return _0x326d94(0x2ae);switch(_0x2aa103){case s['MCPConnectionStatus'][_0x326d94(0x18c)]:return'univer-bg-green-500';case s[_0x326d94(0x26b)][_0x326d94(0x290)]:case s[_0x326d94(0x26b)][_0x326d94(0x2dd)]:return'univer-bg-blue-500';case s['MCPConnectionStatus']['FAILED']:return'univer-bg-red-500';default:return _0x326d94(0x261);}},_0x3c3978=_0x311bd=>{var _0x2f3528=_0xafc3ab;switch(_0x311bd){case s[_0x2f3528(0x26b)][_0x2f3528(0x18c)]:return _0x3a288f['t'](_0x2f3528(0x1ae));case s[_0x2f3528(0x26b)][_0x2f3528(0x290)]:return _0x3a288f['t'](_0x2f3528(0x1c6));case s['MCPConnectionStatus'][_0x2f3528(0x2c9)]:return _0x3a288f['t'](_0x2f3528(0x2ef));case s[_0x2f3528(0x26b)]['RETRYING']:return _0x3a288f['t'](_0x2f3528(0x21a));default:return _0x3a288f['t'](_0x2f3528(0x2e7));}},_0x4b15a5=_0x20e15d=>{var _0x20a199=_0xafc3ab;switch(_0x20e15d){case s[_0x20a199(0x28c)][_0x20a199(0x2c4)]:return _0x3a288f['t'](_0x20a199(0x1ca));case s[_0x20a199(0x28c)][_0x20a199(0x239)]:return _0x3a288f['t'](_0x20a199(0x258));case s[_0x20a199(0x28c)][_0x20a199(0x1aa)]:return _0x3a288f['t']('mcpConfig.connectionError.networkError');case s['MCPConnectionError'][_0x20a199(0x1a3)]:return _0x3a288f['t'](_0x20a199(0x30d));default:return'';}},_0x38b04b=d[_0xafc3ab(0x2b0)](()=>{const _0x1880eb={..._0x45a236,'apiKey':_0x5a18ff['trim'](),'enableAuth':_0x32ae7e};_0x471bc4(_0x1880eb);},[_0x45a236,_0x5a18ff,_0x32ae7e,_0x471bc4]),_0x3a2784=_0x5a18ff[_0xafc3ab(0x2fd)]()[_0xafc3ab(0x2c3)]>0x0;return t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x2a5),'children':[t[_0xafc3ab(0x1c1)]('div',{'className':_0xafc3ab(0x2c6),'children':t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x289),'children':[t['jsx'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x19f),'children':t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'className':'univer-text-white','children':'⚙'})}),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'children':t['jsx']('p',{'className':_0xafc3ab(0x264),'children':_0x3a288f['t']('mcpConfig.description')})})]})}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x25c),'children':[t[_0xafc3ab(0x1c1)]('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3b9c5a(_0x63c6d5,_0x8b8d76)+_0xafc3ab(0x1f9),'children':t['jsxs'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x226),'children':[t['jsx'](_0xafc3ab(0x2a2),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x1e5c21(_0x63c6d5,_0x8b8d76)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'className':_0xafc3ab(0x31f),'children':_0x3c3978(_0x63c6d5)})]})}),_0x8b8d76!==s[_0xafc3ab(0x28c)][_0xafc3ab(0x18d)]&&(_0x63c6d5===s[_0xafc3ab(0x26b)][_0xafc3ab(0x2c9)]||_0x8b8d76===s['MCPConnectionError'][_0xafc3ab(0x2c4)])&&t[_0xafc3ab(0x1c1)]('div',{'className':_0xafc3ab(0x1a5),'children':t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x22c),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),t['jsx']('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x4b15a5(_0x8b8d76)})]})})]}),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':t['jsxs'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x24b),'children':[t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x2ba),'children':[t[_0xafc3ab(0x315)](_0xafc3ab(0x313),{'className':_0xafc3ab(0x305),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'children':'🔑'}),'\x20',_0x3a288f['t']('mcpConfig.apiKey'),t[_0xafc3ab(0x1c1)]('span',{'className':_0xafc3ab(0x24c),'children':'*'}),_0x4ba684&&t[_0xafc3ab(0x1c1)]('a',{'href':'javascript:void(0)','onClick':()=>_0x2718d1(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x3a288f['t'](_0xafc3ab(0x210)),'children':t[_0xafc3ab(0x1c1)](Y,{})})]}),t[_0xafc3ab(0x1c1)](S['Input'],{'type':_0xafc3ab(0x2fb),'placeholder':_0x3a288f['t'](_0xafc3ab(0x22a)),'value':_0x5a18ff,'onChange':_0x318c56,'disabled':_0x50045b,'autoComplete':_0xafc3ab(0x28f)}),t['jsx']('p',{'className':_0xafc3ab(0x320),'children':_0x3a288f['t']('mcpConfig.apiKeyHint')})]}),_0x4ba684&&_0x3b980b&&t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x31d),'children':[t[_0xafc3ab(0x1c1)]('a',{'href':_0xafc3ab(0x30b),'onClick':()=>_0x2718d1(!0x1),'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','title':'Close','children':t['jsx'](F,{})}),t[_0xafc3ab(0x315)]('div',{'className':_0xafc3ab(0x220),'children':[t['jsx'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1f1),'children':t[_0xafc3ab(0x1c1)]('span',{'className':'univer-text-blue-600','children':'🚀'})}),t['jsxs']('div',{'className':_0xafc3ab(0x1de),'children':[t[_0xafc3ab(0x1c1)]('h4',{'className':_0xafc3ab(0x1a4),'children':_0x3a288f['t'](_0xafc3ab(0x210))}),t['jsx']('p',{'className':_0xafc3ab(0x292),'children':_0x3a288f['t'](_0xafc3ab(0x238))}),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x25b),'children':_0x51d0b4&&t[_0xafc3ab(0x315)]('a',{'href':_0x50827a,'target':'_blank','rel':_0xafc3ab(0x2cb),'className':_0xafc3ab(0x31e),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'children':'🤖'}),_0x3a288f['t']('mcpConfig.apiApplyInfo.univerAiLabel'),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'className':'univer-text-gray-400','children':'↗'})]})}),t[_0xafc3ab(0x315)]('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x3a288f['t'](_0xafc3ab(0x1a6))]})]})]})]}),_0x3fb4cb[_0xafc3ab(0x18a)]&&t['jsxs']('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[t[_0xafc3ab(0x315)]('h4',{'className':_0xafc3ab(0x2b3),'children':[t['jsx'](_0xafc3ab(0x1cc),{'children':'🔗'}),'\x20',_0x3a288f['t'](_0xafc3ab(0x2d3))]}),t[_0xafc3ab(0x315)]('div',{'className':'univer-space-y-4','children':[t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1f7),'children':[t['jsx']('p',{'className':_0xafc3ab(0x2ca),'children':_0x3a288f['t'](_0xafc3ab(0x27c))}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x2ba),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1ed),'children':_0x3a288f['t'](_0xafc3ab(0x205))}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x260),'children':[t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x226),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'className':_0xafc3ab(0x2ab),'children':'1'}),_0x3a288f['t'](_0xafc3ab(0x2e3))]}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x226),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x1cc),{'className':_0xafc3ab(0x2ab),'children':'2'}),_0x3a288f['t'](_0xafc3ab(0x298))]}),t['jsxs'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x226),'children':[t[_0xafc3ab(0x1c1)]('span',{'className':_0xafc3ab(0x2ab),'children':'3'}),_0x3a288f['t']('mcpConfig.configStep3')]})]})]})]}),t['jsxs'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x2ba),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0xafc3ab(0x1be)}),t['jsx'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1b6),'children':t[_0xafc3ab(0x1c1)](_0xafc3ab(0x26e),{'className':_0xafc3ab(0x25a),'children':_0xafc3ab(0x30a)+_0x435f4d+_0xafc3ab(0x1dd)+(_0x5a18ff||'<API_KEY>')+_0xafc3ab(0x316)})})]}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1f7),'children':[t['jsx'](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1ed),'children':_0x3a288f['t'](_0xafc3ab(0x1f6))}),t['jsxs'](_0xafc3ab(0x2a2),{'className':'univer-space-y-2','children':[t['jsxs'](_0xafc3ab(0x2a2),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x2ad)}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x297),'children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0xafc3ab(0x21d)}),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x320),'children':_0x3a288f['t']('mcpConfig.sessionIdDescription')})]})]}),t[_0xafc3ab(0x315)]('div',{'className':_0xafc3ab(0x2cf),'children':[t['jsx'](_0xafc3ab(0x2a2),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x297),'children':[t[_0xafc3ab(0x1c1)]('div',{'className':_0xafc3ab(0x29b),'children':_0xafc3ab(0x319)}),t['jsx']('div',{'className':_0xafc3ab(0x320),'children':_0x3a288f['t'](_0xafc3ab(0x2f2))})]})]})]})]})]})]}),t[_0xafc3ab(0x1c1)](S[_0xafc3ab(0x24d)],{'onClick':_0x38b04b,'disabled':!_0x3a2784||_0x50045b,'className':_0xafc3ab(0x23b),'children':_0x50045b?t[_0xafc3ab(0x315)](_0xafc3ab(0x1cc),{'className':_0xafc3ab(0x226),'children':[t['jsx'](_0xafc3ab(0x1cc),{'children':'⟲'}),_0x3a288f['t'](_0xafc3ab(0x1e2))]}):t[_0xafc3ab(0x315)](_0xafc3ab(0x1cc),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[t[_0xafc3ab(0x1c1)](B,{}),_0x3a288f['t'](_0xafc3ab(0x29c))]})}),t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1b2),'children':t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x1d7),'children':[t[_0xafc3ab(0x1c1)]('span',{'className':_0xafc3ab(0x2db),'children':'💡'}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[t[_0xafc3ab(0x1c1)](_0xafc3ab(0x2a2),{'className':_0xafc3ab(0x246),'children':'Configuration\x20Notes:'}),t[_0xafc3ab(0x315)](_0xafc3ab(0x2a2),{'children':['•',_0x3a288f['t']('mcpConfig.note1')]}),t['jsxs'](_0xafc3ab(0x2a2),{'children':['•',_0x3a288f['t'](_0xafc3ab(0x1e3))]})]})]})})]})})]});}const y=_0x4abf76(0x2a9),G={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0x3bfb(){var _0x262966=['NONE','_loading$','_dialogService','CheckMarkIcon','validateApiKey','clipPath','className','Configuration\x20Parameters:','warn','MCPConnectionController','MCP:\x20超出最大重试次数','mcpConfig.validation.invalidApiKey','Bearer\x20','getOwnPropertyDescriptor','_initializeMenus','defIds','Failed\x20to\x20save\x20configuration','重连中...','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','setItem','Copy\x20the\x20JSON\x20configuration\x20below','univerjs-icon\x20univerjs-icon-','MAX_RETRIES_EXCEEDED','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.apiApplyInfo.getStarted','next','UniverIcon','errorMessage','NETWORK_ERROR','Session\x20ID','univer.plus','BehaviorSubject','mcpConfig.connectionStatus.connected','concat','zhCN','ICommandService','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','几秒钟内获取您的\x20API\x20密钥','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MCPStatusDisplay','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','Univer\x20AI\x20控制台','check-mark-icon','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.','mcpConfig.validation.apiKeyRequired','ComponentManager','displayName','MCP\x20Configuration','mcp-ui.command.openConfigPanel','API\x20key\x20with\x20Bearer\x20prefix.','jsx','M0\x200H16V16H0z','sessionId$','close-small-single','_commandService','mcpConfig.connectionStatus.connecting','replace','__setCustomHeaders','会话ID','mcpConfig.connectionError.unauthorized','请输入您的\x20API\x20密钥','span','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','MCP\x20状态未知','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','配置参数:','_menuManagerService','Click\x20to\x20connect\x20MCP','IMenuManagerService','带有\x20Bearer\x20前缀的\x20API\x20密钥。','Click\x20to\x20configure\x20MCP','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-flex\x20univer-gap-3','mcpStatus.connecting','_registerComponent','HEADER_MENU','API\x20密钥无效,请检查密钥是否正确','\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','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','univer-flex-1','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','ILogService','mcpConfig.saving','mcpConfig.note2','MCP\x20Client\x20Configuration','MCP\x20Disconnected','连接中...','IConfigService','MCP_UI_PLUGIN','OTHERS','_config$','MessageType','includes','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','配置保存失败','WebSocketService','将以下配置添加到您的\x20MCP\x20客户端设置中:','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','MCP\x20Connecting...','Success','IUIPartsService','MCP:\x20Network\x20Error','mcpConfig.configParameters','univer-space-y-3','115mObkeN','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','DependentOn','6rvzRoa','OffLineIcon','_mcpCoreConfig$','MCP:\x20未授权','Enable\x20authentication\x20for\x20secure\x20connections','univer-flex\x20univer-items-center','16232PiDmlN','API\x20密钥长度至少需要\x2010\x20位','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connection\x20Failed','mcpConfig.configStepTitle','translate(.97)','\x20-\x20','show','hasOwnProperty','_configService','RibbonStartGroup','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','propertyIsEnumerable','mcpStatus.unknown','IDialogService','mcpConfig.apiApplyInfo.title','OpenMCPConfigPanelCommand','Connected','Connecting...','connectInjector','indexOf','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','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer.ai','启用身份验证','mcpConfig.connectionStatus.retrying','Enter\x20your\x20API\x20key','_localeService','univer_session_id:','546luSpCl','mcpServerUrl','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','Inject','配置更改将立即生效','colorChannel1','showStatus','BUTTON','univer-flex\x20univer-items-center\x20univer-gap-2','mcpConfig.title','toStringTag','COMMAND','mcpConfig.apiKeyPlaceholder','mask','univer-flex\x20univer-items-start\x20univer-gap-2','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','subscribe','UniverMCPUIPlugin','round','icon','_logService','has','最大重试次数','2163618RBWLKP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','on-line-icon','mcpConfig.apiApplyInfo.description','SESSION_ID_OCCUPIED','MCP\x20已断开','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','_initAutoConnect','ILocalStorageService','http://www.w3.org/2000/svg','xlink:href','DISCONNECTED','useObservable','_uiPartsService','_config','MenuIcon','_injector','univer-font-medium','mcpConfig.configError','MCP\x20Unknown\x20Status','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','univer-space-y-5','univer-text-red-500','Button','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','prototype','0\x200\x2017\x2017','use','未连接','getCurrentConfig','Max\x20Retries','currentColor','isValid','API\x20密钥','mcpConfig.connectionError.sessionOccupied','启用身份验证以获得安全连接','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','_initStatusComponent','您的\x20API\x20密钥安全存储在本地存储中','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','univer-bg-gray-500','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','random','univer-text-sm\x20univer-text-gray-500','svg','get','_mcpConnectionController','权限验证失败,请检查您的\x20API\x20密钥','assign','211285UboMtY','MCPConnectionStatus','connectionError$','map','pre','tag','evenodd','string','useState','forEach','open','removeItem','1722915qFQMyz','push','fill','配置步骤:','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Connection\x20Failed','mcpConfig.configInstructions','复制以下\x20JSON\x20配置','mcpStatus.sessionOccupied','register','univer-text-gray-500','_connectionController','配置\x20MCP\x20使用\x20AI\x20操作电子表格','UniverMCPPlugin','extend','MCPUIMenuController','API\x20Key','apiKey','MenuItemType','univer-flex\x20univer-items-center\x20univer-gap-3','_handleConfigSave','MCP\x20已连接','MCPConnectionError','MCP_PLUGIN_CONFIG_KEY','MCP:\x20网络错误','off','CONNECTING','setConfig','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','pluginName','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20Retrying...','_createConfigPanelComponent','univer-min-w-0\x20univer-flex-1','mcpConfig.configStep2','_messageService','on-line-icon_clip0_910_349','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.save','Saving...','subscribeConfigValue$','bottom','CloseSmallSingle','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','div','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','点击配置\x20MCP','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','3318689fMtDqY','883420QyaWgU','toString','mcp-ui.config','1em','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','showConfigPanel','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-bg-red-500','url(#$1','useCallback','保存中...','path','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','https://console.univer.ai','none','Injector','API\x20密钥不能为空','mcpConfig.validation.apiKeyTooShort','MCPConfigUIController','univer-space-y-2','点击连接\x20MCP','disposeWithMe','off-line-icon','IMessageService','MCP\x20连接失败','clsx','children','createElement','length','UNAUTHORIZED','mcpStatus.retrying','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','onStarting','Tooltip','FAILED','univer-text-xs\x20univer-text-gray-600','noopener\x20noreferrer','mergeMenu','add','_validateConfig','univer-flex\x20univer-items-start\x20univer-gap-3','idSuffix','MCPConfigPanel','getConfig','mcpConfig.connectionInfo','M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','会话\x20ID\x20已被占用,请稍后再试','getOwnPropertySymbols','M5.21243\x205.62036L11.8791\x2012.287','mcpConfig.validation.invalidConfig','LocaleService','Configuration\x20Steps:','univer-flex-shrink-0\x20univer-text-blue-500','forwardRef','RETRYING','off-line-icon_clip0_910_343','保存配置','_initializeCommands','close','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','mcpConfig.configStep1','enableAutoConnect','网络连接错误,请检查您的网络连接','url(#off-line-icon_clip0_910_343)','mcpConfig.connectionStatus.disconnected','mcpStatus.unauthorized','63770hHsmiB','什么是\x20API\x20密钥?','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20saved\x20successfully','univer-text-green-500','MCP\x20客户端配置','mcpConfig.connectionStatus.failed','MCP\x20Connected','_initConfigSync','mcpConfig.authorizationDescription','function','0\x200\x2016\x2016','0\x200\x2017\x2016','error','entries','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','defs','current','text','useDependency','trim','OnLineIcon','ISocketService','white','重启您的\x20MCP\x20客户端以使配置生效','symbol','value','Save\x20Configuration','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','Error','配置无效','Retrying...','_handleConfigure','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','javascript:void(0)','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','mcpConfig.connectionError.maxRetriesExceeded','Enable\x20Authentication','connectionStatus$','registerCommand','Disposable','_loadStoredApiKey','label','MCPConnectionUIController','jsxs','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','_apiKey$','Module','Authorization:','apply','_localStorageService','attrs','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-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','univer-text-sm\x20univer-font-medium','univer-text-xs\x20univer-text-gray-500','defineProperty','mcpConfig.configSaved','showDeveloperTools','24zhznTH','CONNECTED'];_0x3bfb=function(){return _0x262966;};return _0x3bfb();}var Se=Object[_0x4abf76(0x19a)],Pe=(_0x17417d,_0x58443e,_0x1c32d4,_0x92ec2c)=>{var _0x44f3f2=_0x4abf76;for(var _0x1cd1e7=_0x92ec2c>0x1?void 0x0:_0x92ec2c?Se(_0x58443e,_0x1c32d4):_0x58443e,_0x2446b1=_0x17417d[_0x44f3f2(0x2c3)]-0x1,_0x26556e;_0x2446b1>=0x0;_0x2446b1--)(_0x26556e=_0x17417d[_0x2446b1])&&(_0x1cd1e7=_0x26556e(_0x1cd1e7)||_0x1cd1e7);return _0x1cd1e7;},f=(_0x291482,_0x45519d)=>(_0x511f50,_0x2459d1)=>_0x45519d(_0x511f50,_0x2459d1,_0x291482);const D='mcp.apiKey',k='mcp-config-dialog';exports['MCPConfigUIController']=class extends l['Disposable']{constructor(_0x53c740,_0x34de5c,_0xbee0ba,_0x23394b,_0x1b99c8,_0xb1ed34,_0x5deb5e,_0x3d23aa,_0x8a1eee,_0x45f84e){var _0x4d3e7d=_0x4abf76;super(),I(this,_0x4d3e7d(0x18e),new N[(_0x4d3e7d(0x1ad))](!0x1)),I(this,_0x4d3e7d(0x1fd),new N[(_0x4d3e7d(0x1ad))]({})),I(this,_0x4d3e7d(0x1ea),new N[(_0x4d3e7d(0x1ad))]({})),I(this,'_apiKey$',new N['BehaviorSubject']('')),I(this,_0x4d3e7d(0x28a),async _0x23e303=>{var _0x2f2d49=_0x4d3e7d,_0x54b874,_0x294d68;this[_0x2f2d49(0x18e)][_0x2f2d49(0x1a7)](!0x0);try{const _0x4703ac=await this['_validateConfig'](_0x23e303);if(!_0x4703ac[_0x2f2d49(0x256)]){this[_0x2f2d49(0x299)][_0x2f2d49(0x208)]({'type':S['MessageType'][_0x2f2d49(0x306)],'content':_0x4703ac[_0x2f2d49(0x1a9)]||this['_localeService']['t'](_0x2f2d49(0x2d8))});return;}_0x23e303[_0x2f2d49(0x287)]?await this['_localStorageService'][_0x2f2d49(0x1a0)](D,_0x23e303[_0x2f2d49(0x287)][_0x2f2d49(0x2fd)]()):await this['_localStorageService'][_0x2f2d49(0x275)](D),this['_apiKey$'][_0x2f2d49(0x1a7)](((_0x54b874=_0x23e303['apiKey'])==null?void 0x0:_0x54b874[_0x2f2d49(0x2fd)]())||''),this[_0x2f2d49(0x267)][_0x2f2d49(0x1c8)]({'Authorization':_0x2f2d49(0x199)+((_0x294d68=_0x23e303[_0x2f2d49(0x287)])==null?void 0x0:_0x294d68[_0x2f2d49(0x2fd)]())}),this[_0x2f2d49(0x299)][_0x2f2d49(0x208)]({'type':S[_0x2f2d49(0x1eb)][_0x2f2d49(0x1f3)],'content':this[_0x2f2d49(0x21c)]['t'](_0x2f2d49(0x189))}),setTimeout(()=>{var _0x4fab42=_0x2f2d49;this[_0x4fab42(0x18f)][_0x4fab42(0x2e1)](k);},0x320);}catch(_0x50eaea){this[_0x2f2d49(0x232)][_0x2f2d49(0x2f6)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x50eaea),this[_0x2f2d49(0x299)]['show']({'type':S[_0x2f2d49(0x1eb)][_0x2f2d49(0x306)],'content':this[_0x2f2d49(0x21c)]['t'](_0x2f2d49(0x247))});}finally{this['_loading$']['next'](!0x1);}}),(this[_0x4d3e7d(0x245)]=_0x53c740,this['_uiPartsService']=_0x34de5c,this[_0x4d3e7d(0x20a)]=_0xbee0ba,this[_0x4d3e7d(0x31b)]=_0x23394b,this[_0x4d3e7d(0x18f)]=_0x1b99c8,this[_0x4d3e7d(0x299)]=_0xb1ed34,this['_componentManager']=_0x5deb5e,this[_0x4d3e7d(0x21c)]=_0x3d23aa,this[_0x4d3e7d(0x232)]=_0x8a1eee,this[_0x4d3e7d(0x267)]=_0x45f84e,this['_initConfigSync'](),this[_0x4d3e7d(0x312)](),this['_registerComponent']());}[_0x4abf76(0x2ac)](){var _0x22ed8e=_0x4abf76;const _0x3ff2fe=this['_configService'][_0x22ed8e(0x2d2)](y);_0x3ff2fe!=null&&_0x3ff2fe[_0x22ed8e(0x18a)]&&this['_dialogService'][_0x22ed8e(0x274)]({'id':k,'title':{'title':this[_0x22ed8e(0x21c)]['t'](_0x22ed8e(0x227))},'children':{'label':_0x22ed8e(0x2d1)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x37724c=_0x22ed8e;this[_0x37724c(0x18f)][_0x37724c(0x2e1)](k);}});}[_0x4abf76(0x253)](){var _0x52bc8c=_0x4abf76;return this[_0x52bc8c(0x1fd)][_0x52bc8c(0x303)];}[_0x4abf76(0x1d9)](){var _0x4c2612=_0x4abf76;this[_0x4c2612(0x2bc)](this['_componentManager'][_0x4c2612(0x27f)](_0x4c2612(0x2d1),this[_0x4c2612(0x296)]()));}['_createConfigPanelComponent'](){var _0x59144a=_0x4abf76;return v[_0x59144a(0x214)](()=>{var _0x113c99=_0x59144a,_0x4d20bd,_0x1d124e,_0x582134;return t[_0x113c99(0x1c1)](W,{'config':this[_0x113c99(0x1ea)][_0x113c99(0x303)],'mcpCoreConfig':this[_0x113c99(0x1fd)][_0x113c99(0x303)],'currentApiKey$':this[_0x113c99(0x317)],'onSave':this[_0x113c99(0x28a)],'loading':this[_0x113c99(0x18e)][_0x113c99(0x303)],'connectionStatus$':(_0x4d20bd=this[_0x113c99(0x267)])==null?void 0x0:_0x4d20bd[_0x113c99(0x30f)],'connectionError$':(_0x1d124e=this[_0x113c99(0x267)])==null?void 0x0:_0x1d124e[_0x113c99(0x26c)],'currentSessionId$':(_0x582134=this[_0x113c99(0x267)])==null?void 0x0:_0x582134[_0x113c99(0x1c3)]});},this['_injector']);}[_0x4abf76(0x2f1)](){var _0x5092cb=_0x4abf76;this['disposeWithMe'](this[_0x5092cb(0x20a)][_0x5092cb(0x29e)](s['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0x3faad6=>{var _0xd17636=_0x5092cb;this[_0xd17636(0x1fd)][_0xd17636(0x1a7)](_0x3faad6||{});}));const _0x34b121=this['_configService'][_0x5092cb(0x2d2)](s[_0x5092cb(0x28d)]);this['_mcpCoreConfig$'][_0x5092cb(0x1a7)](_0x34b121||{}),this[_0x5092cb(0x2bc)](this['_configService'][_0x5092cb(0x29e)](y)[_0x5092cb(0x22e)](_0x4b2420=>{var _0x50d19=_0x5092cb;this['_config$'][_0x50d19(0x1a7)](_0x4b2420||{});}));const _0x41d268=this[_0x5092cb(0x20a)][_0x5092cb(0x2d2)](y);this[_0x5092cb(0x1ea)][_0x5092cb(0x1a7)](_0x41d268||{});}async['_loadStoredApiKey'](){var _0x30bc94=_0x4abf76;const _0x3a53a8=this[_0x30bc94(0x20a)]['getConfig'](y);if(!(_0x3a53a8!=null&&_0x3a53a8['showDeveloperTools']))return;const _0x1e95e2=await this[_0x30bc94(0x31b)]['getItem'](D);_0x1e95e2&&(this[_0x30bc94(0x267)][_0x30bc94(0x1c8)]({'Authorization':_0x30bc94(0x199)+_0x1e95e2}),this[_0x30bc94(0x317)][_0x30bc94(0x1a7)](_0x1e95e2));}async[_0x4abf76(0x2ce)](_0x59a6ea){var _0x1a0f23=_0x4abf76;if(!_0x59a6ea['apiKey']||_0x59a6ea[_0x1a0f23(0x287)]['trim']()[_0x1a0f23(0x2c3)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x1a0f23(0x21c)]['t'](_0x1a0f23(0x1bb))};if(_0x59a6ea[_0x1a0f23(0x287)][_0x1a0f23(0x2fd)]()[_0x1a0f23(0x2c3)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x1a0f23(0x21c)]['t'](_0x1a0f23(0x2b8))};try{const _0x423219=await this[_0x1a0f23(0x245)][_0x1a0f23(0x266)](s[_0x1a0f23(0x196)])[_0x1a0f23(0x191)](_0x59a6ea[_0x1a0f23(0x287)][_0x1a0f23(0x2fd)]());return _0x423219[_0x1a0f23(0x256)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x423219[_0x1a0f23(0x2f6)]||this[_0x1a0f23(0x21c)]['t'](_0x1a0f23(0x198))};}catch(_0x40497f){return console[_0x1a0f23(0x195)](_0x1a0f23(0x2e2),_0x40497f),{'isValid':!0x0};}}},exports[_0x4abf76(0x2b9)]=Pe([f(0x0,l[_0x4abf76(0x221)](l[_0x4abf76(0x2b6)])),f(0x1,v[_0x4abf76(0x1f4)]),f(0x2,l['IConfigService']),f(0x3,l[_0x4abf76(0x23d)]),f(0x4,v[_0x4abf76(0x20f)]),f(0x5,v[_0x4abf76(0x2be)]),f(0x6,l[_0x4abf76(0x221)](v[_0x4abf76(0x1bc)])),f(0x7,l[_0x4abf76(0x221)](l[_0x4abf76(0x2d9)])),f(0x8,l[_0x4abf76(0x1e1)]),f(0x9,l[_0x4abf76(0x221)](s['MCPConnectionController']))],exports[_0x4abf76(0x2b9)]);const j={'id':_0x4abf76(0x1bf),'type':l['CommandType'][_0x4abf76(0x229)],'handler':async(_0x209c07,_0x322515)=>(_0x209c07[_0x4abf76(0x266)](exports['MCPConfigUIController'])[_0x4abf76(0x2ac)](),!0x0)};function Z(_0x30f726,_0x3fa356){var _0x59bc42=_0x4abf76;switch(_0x30f726){case s[_0x59bc42(0x26b)]['DISCONNECTED']:return'mcpStatus.disconnected';case s[_0x59bc42(0x26b)][_0x59bc42(0x290)]:return _0x59bc42(0x1d8);case s[_0x59bc42(0x26b)][_0x59bc42(0x18c)]:return'mcpStatus.connected';case s[_0x59bc42(0x26b)][_0x59bc42(0x2c9)]:switch(_0x3fa356){case s['MCPConnectionError'][_0x59bc42(0x2c4)]:return _0x59bc42(0x2e8);case s['MCPConnectionError'][_0x59bc42(0x239)]:return _0x59bc42(0x27e);case s['MCPConnectionError']['NETWORK_ERROR']:return'mcpStatus.networkError';case s[_0x59bc42(0x28c)]['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case s['MCPConnectionStatus'][_0x59bc42(0x2dd)]:return _0x59bc42(0x2c5);default:return _0x59bc42(0x20e);}}function ye(_0xfd1cda,_0xf2d3a1,_0x55c6d1,_0x2ae8f1=!0x0){var _0x57e426=_0x4abf76;const _0x5b7df3=Z(_0xfd1cda,_0xf2d3a1),_0x2ef20b=_0x55c6d1['t'](_0x5b7df3);return _0x2ae8f1?_0xfd1cda===s[_0x57e426(0x26b)][_0x57e426(0x240)]&&_0xf2d3a1===s[_0x57e426(0x28c)][_0x57e426(0x2c4)]?_0x2ef20b+_0x57e426(0x207)+_0x55c6d1['t']('mcpStatus.clickToConfigure'):_0xfd1cda===s[_0x57e426(0x26b)]['CONNECTED']?''+_0x2ef20b:_0xfd1cda===s[_0x57e426(0x26b)]['DISCONNECTED']||_0xfd1cda===s[_0x57e426(0x26b)][_0x57e426(0x2c9)]?_0x2ef20b+_0x57e426(0x207)+_0x55c6d1['t']('mcpStatus.clickToConnect'):_0x2ef20b:_0x2ef20b;}function Ie(_0x27c201){var _0x55039d=_0x4abf76;switch(_0x27c201){case s[_0x55039d(0x26b)][_0x55039d(0x18c)]:return _0x55039d(0x2ed);case s[_0x55039d(0x26b)][_0x55039d(0x290)]:case s['MCPConnectionStatus'][_0x55039d(0x2dd)]:return'univer-text-yellow-500';case s['MCPConnectionStatus']['FAILED']:case s[_0x55039d(0x26b)]['DISCONNECTED']:return'univer-text-red-500';default:return _0x55039d(0x280);}}function X(_0x3de0b4){var _0xaa6768=_0x4abf76;const {status$:_0x2a309e,error$:_0x53b35d,onConfigure:_0x1ac039,showClickable:_0x1997fe=!0x0}=_0x3de0b4,_0xba56a6=v[_0xaa6768(0x241)](_0x2a309e,s[_0xaa6768(0x26b)][_0xaa6768(0x240)]),_0x316747=v[_0xaa6768(0x241)](_0x53b35d,s[_0xaa6768(0x28c)][_0xaa6768(0x18d)]),_0x4fc056=v[_0xaa6768(0x2fc)](l[_0xaa6768(0x2d9)]),_0x23bf33=_0xba56a6===s[_0xaa6768(0x26b)][_0xaa6768(0x18c)];_0xba56a6===s['MCPConnectionStatus'][_0xaa6768(0x290)]||s[_0xaa6768(0x26b)][_0xaa6768(0x2dd)];const _0x8f4adb=_0x4fc056['t'](Z(_0xba56a6,_0x316747)),_0xd434a7=ye(_0xba56a6,_0x316747,_0x4fc056,_0x1997fe),_0x4cb9bf=Ie(_0xba56a6),_0x1a39ab=_0x23bf33?t[_0xaa6768(0x1c1)](V,{}):t['jsx'](q,{}),_0x3db9c2=d[_0xaa6768(0x2b0)](()=>{_0x1997fe&&_0x1ac039&&_0x1ac039();},[_0x1997fe,_0x1ac039]);function _0x35299c(){var _0x21c5a9=_0xaa6768;return t['jsxs'](_0x21c5a9(0x2a2),{'className':S[_0x21c5a9(0x2c0)](_0x21c5a9(0x200),_0x1997fe&&_0x1ac039&&_0x21c5a9(0x1dc)),'onClick':_0x1997fe&&_0x1ac039?_0x3db9c2:void 0x0,'children':[t[_0x21c5a9(0x1c1)](_0x21c5a9(0x2a2),{'className':S[_0x21c5a9(0x2c0)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x4cb9bf),'children':_0x1a39ab}),t[_0x21c5a9(0x1c1)](_0x21c5a9(0x2a2),{'className':_0x21c5a9(0x1b4),'children':_0x8f4adb})]});}return t[_0xaa6768(0x1c1)](S[_0xaa6768(0x2c8)],{'title':_0xd434a7,'placement':_0xaa6768(0x29f),'children':_0x35299c()});}var _e=Object[_0x4abf76(0x19a)],Me=(_0x28ed71,_0x50c6c9,_0x5211ba,_0x1742f5)=>{var _0x2e1468=_0x4abf76;for(var _0x4fbc9a=_0x1742f5>0x1?void 0x0:_0x1742f5?_e(_0x50c6c9,_0x5211ba):_0x50c6c9,_0x4337b2=_0x28ed71[_0x2e1468(0x2c3)]-0x1,_0x482d6f;_0x4337b2>=0x0;_0x4337b2--)(_0x482d6f=_0x28ed71[_0x4337b2])&&(_0x4fbc9a=_0x482d6f(_0x4fbc9a)||_0x4fbc9a);return _0x4fbc9a;},b=(_0x4faaa3,_0x14cc99)=>(_0x2cea3d,_0x86cd46)=>_0x14cc99(_0x2cea3d,_0x86cd46,_0x4faaa3);exports['MCPConnectionUIController']=class extends l[_0x4abf76(0x311)]{constructor(_0x40ef86,_0x284a51,_0x39c6ba,_0xfe2cd9){var _0x1353e0=_0x4abf76;super(),this[_0x1353e0(0x245)]=_0x40ef86,this['_connectionController']=_0x284a51,this['_uiPartsService']=_0x39c6ba,this[_0x1353e0(0x20a)]=_0xfe2cd9,this['_initAutoConnect'](),this[_0x1353e0(0x25d)]();}[_0x4abf76(0x23c)](){var _0x48eb37=_0x4abf76;const _0x2445ee=this['_configService'][_0x48eb37(0x2d2)](y);_0x2445ee!=null&&_0x2445ee[_0x48eb37(0x18a)]&&(this['_connectionController'][_0x48eb37(0x2e4)]=!0x1);}[_0x4abf76(0x25d)](){var _0x430617=_0x4abf76;const _0x50d6d9=this[_0x430617(0x20a)]['getConfig'](y);(_0x50d6d9==null?void 0x0:_0x50d6d9[_0x430617(0x224)])!==!0x1&&this[_0x430617(0x2bc)](this[_0x430617(0x242)]['registerComponent'](v['BuiltInUIPart'][_0x430617(0x1da)],()=>{var _0x2b7d2b=_0x430617,_0xebb856;return v[_0x2b7d2b(0x214)](Ne({'status$':this[_0x2b7d2b(0x281)][_0x2b7d2b(0x30f)],'error$':this[_0x2b7d2b(0x281)][_0x2b7d2b(0x26c)],'onConfigure':()=>this[_0x2b7d2b(0x309)](),'showClickable':(_0xebb856=_0x50d6d9==null?void 0x0:_0x50d6d9['showDeveloperTools'])!=null?_0xebb856:!0x1}),this[_0x2b7d2b(0x245)]);}));}['_handleConfigure'](){var _0x1ec27d=_0x4abf76;this['_injector'][_0x1ec27d(0x266)](exports['MCPConfigUIController'])[_0x1ec27d(0x2ac)]();}},exports[_0x4abf76(0x314)]=Me([b(0x0,l[_0x4abf76(0x221)](l[_0x4abf76(0x2b6)])),b(0x1,l[_0x4abf76(0x221)](s[_0x4abf76(0x196)])),b(0x2,v[_0x4abf76(0x1f4)]),b(0x3,l[_0x4abf76(0x1e7)])],exports[_0x4abf76(0x314)]);function _0x5c61(_0x4fa7a0,_0x367482){var _0x3bfb03=_0x3bfb();return _0x5c61=function(_0x5c616d,_0x402280){_0x5c616d=_0x5c616d-0x189;var _0x20c8e7=_0x3bfb03[_0x5c616d];return _0x20c8e7;},_0x5c61(_0x4fa7a0,_0x367482);}function Ne(_0x31ed8e){const {status$:_0x1b85ed,error$:_0x4497df,onConfigure:_0x40d51d,showClickable:_0x2535d5}=_0x31ed8e;return function(){var _0xf2ad25=_0x5c61;return t[_0xf2ad25(0x1c1)](X,{'status$':_0x1b85ed,'error$':_0x4497df,'onConfigure':_0x40d51d,'showClickable':_0x2535d5});};}function be(_0x393a50){var _0x1c3980=_0x4abf76;return{'id':j['id'],'type':v[_0x1c3980(0x288)][_0x1c3980(0x225)],'icon':_0x1c3980(0x244),'title':_0x1c3980(0x227),'tooltip':'mcpConfig.title'};}const je={[v[_0x4abf76(0x20b)][_0x4abf76(0x1e9)]]:{[j['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object['getOwnPropertyDescriptor'],we=(_0x3c942d,_0x549154,_0x49cfa3,_0x123ae5)=>{var _0x2cd1f1=_0x4abf76;for(var _0x4d0686=_0x123ae5>0x1?void 0x0:_0x123ae5?Ee(_0x549154,_0x49cfa3):_0x549154,_0x563d52=_0x3c942d[_0x2cd1f1(0x2c3)]-0x1,_0x4f56fd;_0x563d52>=0x0;_0x563d52--)(_0x4f56fd=_0x3c942d[_0x563d52])&&(_0x4d0686=_0x4f56fd(_0x4d0686)||_0x4d0686);return _0x4d0686;},z=(_0x4868c3,_0x2f2276)=>(_0x8f403b,_0xc1594c)=>_0x2f2276(_0x8f403b,_0xc1594c,_0x4868c3);exports['MCPUIMenuController']=class extends l[_0x4abf76(0x311)]{constructor(_0x372175,_0x494574){var _0x3d7c6c=_0x4abf76;super(),this['_commandService']=_0x372175,this[_0x3d7c6c(0x1d1)]=_0x494574,this['_initializeCommands'](),this['_initializeMenus']();}[_0x4abf76(0x2e0)](){var _0x259fd1=_0x4abf76;[j][_0x259fd1(0x273)](_0x5b40dc=>{var _0x463e80=_0x259fd1;this[_0x463e80(0x2bc)](this[_0x463e80(0x1c5)][_0x463e80(0x310)](_0x5b40dc));});}[_0x4abf76(0x19b)](){var _0x18d5a6=_0x4abf76;this[_0x18d5a6(0x1d1)][_0x18d5a6(0x2cc)](je);}},exports['MCPUIMenuController']=we([z(0x0,l[_0x4abf76(0x1b1)]),z(0x1,v[_0x4abf76(0x1d3)])],exports[_0x4abf76(0x285)]);const Oe={'mcpStatus':{'disconnected':_0x4abf76(0x1e5),'connecting':_0x4abf76(0x1f2),'connected':_0x4abf76(0x2f0),'failed':_0x4abf76(0x204),'retrying':_0x4abf76(0x295),'unknown':_0x4abf76(0x248),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4abf76(0x1f5),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4abf76(0x1d2),'clickToConfigure':_0x4abf76(0x1d5)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4abf76(0x2a1),'apiKey':_0x4abf76(0x286),'apiKeyPlaceholder':_0x4abf76(0x21b),'apiKeyHint':_0x4abf76(0x236),'enableAuth':_0x4abf76(0x30e),'enableAuthHint':_0x4abf76(0x1ff),'connectionInfo':_0x4abf76(0x1e4),'mcpClientConfig':_0x4abf76(0x1e4),'configInstructions':_0x4abf76(0x203),'configStepTitle':_0x4abf76(0x2da),'configStep1':_0x4abf76(0x1a1),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x4abf76(0x20c),'sessionId':_0x4abf76(0x1ab),'sessionIdDescription':_0x4abf76(0x2f8),'authorizationDescription':_0x4abf76(0x1c0),'configParameters':_0x4abf76(0x194),'maxRetries':_0x4abf76(0x254),'save':_0x4abf76(0x304),'saving':_0x4abf76(0x29d),'note1':_0x4abf76(0x249),'note2':_0x4abf76(0x217),'configSaved':_0x4abf76(0x2ec),'configError':_0x4abf76(0x19d),'apiApplyInfo':{'title':_0x4abf76(0x24a),'description':_0x4abf76(0x1ba),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4abf76(0x1e0)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4abf76(0x213),'connected':_0x4abf76(0x212),'failed':_0x4abf76(0x27b),'retrying':_0x4abf76(0x308)},'connectionError':{'unauthorized':_0x4abf76(0x25f),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4abf76(0x2eb),'maxRetriesExceeded':_0x4abf76(0x1b9)}}},Ae={'mcpStatus':{'disconnected':_0x4abf76(0x23a),'connecting':'MCP\x20连接中...','connected':_0x4abf76(0x28b),'failed':_0x4abf76(0x2bf),'retrying':'MCP\x20重连中...','unknown':_0x4abf76(0x1ce),'unauthorized':_0x4abf76(0x1fe),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x4abf76(0x28e),'maxRetriesExceeded':_0x4abf76(0x197),'clickToConnect':_0x4abf76(0x2bb),'clickToConfigure':_0x4abf76(0x2a4)},'mcpConfig':{'title':'MCP\x20配置','description':_0x4abf76(0x282),'apiKey':_0x4abf76(0x257),'apiKeyPlaceholder':_0x4abf76(0x1cb),'apiKeyHint':_0x4abf76(0x294),'enableAuth':_0x4abf76(0x219),'enableAuthHint':_0x4abf76(0x259),'connectionInfo':_0x4abf76(0x2ee),'mcpClientConfig':_0x4abf76(0x2ee),'configInstructions':_0x4abf76(0x1f0),'configStepTitle':_0x4abf76(0x279),'configStep1':_0x4abf76(0x27d),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x4abf76(0x301),'sessionId':_0x4abf76(0x1c9),'sessionIdDescription':_0x4abf76(0x27a),'authorizationDescription':_0x4abf76(0x1d4),'configParameters':_0x4abf76(0x1d0),'maxRetries':_0x4abf76(0x234),'save':_0x4abf76(0x2df),'saving':_0x4abf76(0x2b1),'note1':_0x4abf76(0x222),'note2':_0x4abf76(0x25e),'configSaved':'配置保存成功','configError':_0x4abf76(0x1ee),'apiApplyInfo':{'title':_0x4abf76(0x2ea),'description':_0x4abf76(0x22d),'univerAiLabel':_0x4abf76(0x1b7),'getStarted':_0x4abf76(0x1b3)},'validation':{'apiKeyRequired':_0x4abf76(0x2b7),'apiKeyTooShort':_0x4abf76(0x202),'invalidConfig':_0x4abf76(0x307),'invalidApiKey':_0x4abf76(0x1db)},'connectionStatus':{'disconnected':_0x4abf76(0x252),'connecting':_0x4abf76(0x1e6),'connected':'已连接','failed':'连接失败','retrying':_0x4abf76(0x19e)},'connectionError':{'unauthorized':_0x4abf76(0x268),'sessionOccupied':_0x4abf76(0x2d5),'networkError':_0x4abf76(0x2e5),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var De=Object[_0x4abf76(0x321)],ke=Object[_0x4abf76(0x19a)],Ue=(_0x1f7258,_0x24627d,_0x3986ed)=>_0x24627d in _0x1f7258?De(_0x1f7258,_0x24627d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3986ed}):_0x1f7258[_0x24627d]=_0x3986ed,Te=(_0x1ed476,_0x4dd26e,_0x467080,_0x1eab6d)=>{for(var _0x320497=_0x1eab6d>0x1?void 0x0:_0x1eab6d?ke(_0x4dd26e,_0x467080):_0x4dd26e,_0x5bb380=_0x1ed476['length']-0x1,_0x27056f;_0x5bb380>=0x0;_0x5bb380--)(_0x27056f=_0x1ed476[_0x5bb380])&&(_0x320497=_0x27056f(_0x320497)||_0x320497);return _0x320497;},M=(_0x5c64a9,_0x3aa57a)=>(_0x4786bd,_0xef6c70)=>_0x3aa57a(_0x4786bd,_0xef6c70,_0x5c64a9),$e=(_0x439a22,_0x41fb64,_0x5b6f70)=>Ue(_0x439a22,_0x41fb64+'',_0x5b6f70);exports['UniverMCPUIPlugin']=class extends l['Plugin']{constructor(_0x4e125b=G,_0x49893a,_0x45b0be,_0x1f3ecd,_0x662d4,_0x379a26){var _0x3da9b8=_0x4abf76;super(),this[_0x3da9b8(0x243)]=_0x4e125b,this[_0x3da9b8(0x245)]=_0x49893a,this[_0x3da9b8(0x20a)]=_0x45b0be,this[_0x3da9b8(0x242)]=_0x1f3ecd,this[_0x3da9b8(0x31b)]=_0x662d4,this[_0x3da9b8(0x21c)]=_0x379a26;const {..._0x4b6a6c}=l['merge']({},G,this[_0x3da9b8(0x243)]);this[_0x3da9b8(0x20a)][_0x3da9b8(0x291)](y,_0x4b6a6c);}async[_0x4abf76(0x2c7)](){var _0x1ffbb3=_0x4abf76;const _0x2a3751=[[exports[_0x1ffbb3(0x314)]],[exports[_0x1ffbb3(0x2b9)]],[exports[_0x1ffbb3(0x285)]]];this[_0x1ffbb3(0x245)][_0x1ffbb3(0x233)](A['ISocketService'])||_0x2a3751[_0x1ffbb3(0x277)]([A[_0x1ffbb3(0x2ff)],{'useClass':A[_0x1ffbb3(0x1ef)]}]),_0x2a3751[_0x1ffbb3(0x273)](_0x10da09=>this['_injector'][_0x1ffbb3(0x2cd)](_0x10da09)),this[_0x1ffbb3(0x245)][_0x1ffbb3(0x266)](exports[_0x1ffbb3(0x314)]),this['_injector']['get'](exports[_0x1ffbb3(0x2b9)]),this[_0x1ffbb3(0x245)][_0x1ffbb3(0x266)](exports[_0x1ffbb3(0x285)]);}},$e(exports['UniverMCPUIPlugin'],_0x4abf76(0x293),_0x4abf76(0x1e8)),exports[_0x4abf76(0x22f)]=Te([l[_0x4abf76(0x1fa)](s[_0x4abf76(0x283)]),M(0x1,l[_0x4abf76(0x221)](l[_0x4abf76(0x2b6)])),M(0x2,l[_0x4abf76(0x1e7)]),M(0x3,v[_0x4abf76(0x1f4)]),M(0x4,l[_0x4abf76(0x23d)]),M(0x5,l[_0x4abf76(0x221)](l[_0x4abf76(0x2d9)]))],exports[_0x4abf76(0x22f)]),exports['MCPConfigPanel']=W,exports[_0x4abf76(0x1b5)]=X,exports[_0x4abf76(0x211)]=j,exports['enUS']=Oe,exports[_0x4abf76(0x1b0)]=Ae;
1
+ 'use strict';var _0x16b0a0=_0x3975;(function(_0x4bafbd,_0x1d8e8f){var _0x2bac28=_0x3975,_0x5133c1=_0x4bafbd();while(!![]){try{var _0x57d0cf=-parseInt(_0x2bac28(0x23f))/0x1+parseInt(_0x2bac28(0x318))/0x2+-parseInt(_0x2bac28(0x2f7))/0x3*(-parseInt(_0x2bac28(0x24e))/0x4)+-parseInt(_0x2bac28(0x28e))/0x5*(parseInt(_0x2bac28(0x29a))/0x6)+parseInt(_0x2bac28(0x1f0))/0x7+-parseInt(_0x2bac28(0x2aa))/0x8+parseInt(_0x2bac28(0x2c3))/0x9;if(_0x57d0cf===_0x1d8e8f)break;else _0x5133c1['push'](_0x5133c1['shift']());}catch(_0x2bf67e){_0x5133c1['push'](_0x5133c1['shift']());}}}(_0x2aa2,0xde55c));var ue=Object[_0x16b0a0(0x2f5)],le=(_0x32b457,_0x41dd98,_0x46c826)=>_0x41dd98 in _0x32b457?ue(_0x32b457,_0x41dd98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46c826}):_0x32b457[_0x41dd98]=_0x46c826,I=(_0x23428f,_0x5333ea,_0x1abcc1)=>le(_0x23428f,typeof _0x5333ea!=_0x16b0a0(0x327)?_0x5333ea+'':_0x5333ea,_0x1abcc1);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const l=require('@univerjs/core'),t=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),S=require('@univerjs/design'),v=require('@univerjs/ui'),N=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _0x3975(_0x41e92e,_0xfdd023){var _0x2aa278=_0x2aa2();return _0x3975=function(_0x3975db,_0x442086){_0x3975db=_0x3975db-0x1a5;var _0x49adbe=_0x2aa278[_0x3975db];return _0x49adbe;},_0x3975(_0x41e92e,_0xfdd023);}var g=function(){var _0x5c59bf=_0x16b0a0;return g=Object[_0x5c59bf(0x243)]||function(_0xdc8030){var _0x2a3426=_0x5c59bf;for(var _0x2417db,_0x2f7627=0x1,_0xde8610=arguments[_0x2a3426(0x281)];_0x2f7627<_0xde8610;_0x2f7627++){_0x2417db=arguments[_0x2f7627];for(var _0x5c6323 in _0x2417db)Object[_0x2a3426(0x319)][_0x2a3426(0x285)]['call'](_0x2417db,_0x5c6323)&&(_0xdc8030[_0x5c6323]=_0x2417db[_0x5c6323]);}return _0xdc8030;},g[_0x5c59bf(0x263)](this,arguments);},ve=function(_0xd8e669,_0x5c6817){var _0x4bee80=_0x16b0a0,_0x3cd727={};for(var _0x2154da in _0xd8e669)Object['prototype'][_0x4bee80(0x285)][_0x4bee80(0x2bf)](_0xd8e669,_0x2154da)&&_0x5c6817['indexOf'](_0x2154da)<0x0&&(_0x3cd727[_0x2154da]=_0xd8e669[_0x2154da]);if(_0xd8e669!=null&&typeof Object[_0x4bee80(0x301)]==_0x4bee80(0x2be)){for(var _0x455743=0x0,_0x2154da=Object['getOwnPropertySymbols'](_0xd8e669);_0x455743<_0x2154da['length'];_0x455743++)_0x5c6817[_0x4bee80(0x20b)](_0x2154da[_0x455743])<0x0&&Object['prototype'][_0x4bee80(0x1cf)]['call'](_0xd8e669,_0x2154da[_0x455743])&&(_0x3cd727[_0x2154da[_0x455743]]=_0xd8e669[_0x2154da[_0x455743]]);}return _0x3cd727;},_=d[_0x16b0a0(0x2f0)](function(_0x6c14e1,_0x2f5148){var _0x4eda8c=_0x16b0a0,_0x430d8b=_0x6c14e1[_0x4eda8c(0x2a5)],_0x2884c6=_0x6c14e1['id'],_0x21efa3=_0x6c14e1[_0x4eda8c(0x1c8)],_0x123991=_0x6c14e1['extend'],_0x421cea=ve(_0x6c14e1,['icon','id','className',_0x4eda8c(0x28b)]),_0x3aa748=_0x4eda8c(0x323)[_0x4eda8c(0x22e)](_0x2884c6,'\x20')[_0x4eda8c(0x22e)](_0x21efa3||'')['trim'](),_0x570482=d[_0x4eda8c(0x2fb)]('_'['concat'](ge()));return H(_0x430d8b,''[_0x4eda8c(0x22e)](_0x2884c6),{'defIds':_0x430d8b[_0x4eda8c(0x2c0)],'idSuffix':_0x570482[_0x4eda8c(0x24d)]},g({'ref':_0x2f5148,'className':_0x3aa748},_0x421cea),_0x123991);});function H(_0x5d307f,_0x112e7e,_0x505a43,_0x5a7511,_0x381a61){var _0x16479d=_0x16b0a0;return d[_0x16479d(0x1e0)](_0x5d307f[_0x16479d(0x2dd)],g(g({'key':_0x112e7e},de(_0x5d307f,_0x505a43,_0x381a61)),_0x5a7511),(Ce(_0x5d307f,_0x505a43)[_0x16479d(0x1b4)]||[])['map'](function(_0x1b72b0,_0x333b8b){var _0xac3617=_0x16479d;return H(_0x1b72b0,''[_0xac3617(0x22e)](_0x112e7e,'-')['concat'](_0x5d307f['tag'],'-')[_0xac3617(0x22e)](_0x333b8b),_0x505a43,void 0x0,_0x381a61);}));}function de(_0x5f31e0,_0x131d85,_0xb809cc){var _0xf2a430=_0x16b0a0,_0x50c9bc=g({},_0x5f31e0[_0xf2a430(0x2f3)]);_0xb809cc!=null&&_0xb809cc[_0xf2a430(0x271)]&&_0x50c9bc['fill']===_0xf2a430(0x271)&&(_0x50c9bc['fill']=_0xb809cc[_0xf2a430(0x271)]),_0x5f31e0[_0xf2a430(0x2dd)]===_0xf2a430(0x1f3)&&_0x50c9bc['id']&&(_0x50c9bc['id']=_0x50c9bc['id']+_0x131d85[_0xf2a430(0x1f6)]),Object['entries'](_0x50c9bc)[_0xf2a430(0x1cc)](function(_0x37dea5){var _0x5ed3fd=_0xf2a430,_0x429f89=_0x37dea5[0x0],_0x8bf977=_0x37dea5[0x1];_0x429f89===_0x5ed3fd(0x1f3)&&typeof _0x8bf977==_0x5ed3fd(0x2ab)&&(_0x50c9bc[_0x429f89]=_0x8bf977[_0x5ed3fd(0x237)](/url\(#(.*)\)/,_0x5ed3fd(0x2c2)['concat'](_0x131d85[_0x5ed3fd(0x1f6)],')')));});var _0x1e3cfd=_0x131d85[_0xf2a430(0x2c0)];return!_0x1e3cfd||_0x1e3cfd[_0xf2a430(0x281)]===0x0||(_0x5f31e0[_0xf2a430(0x2dd)]===_0xf2a430(0x2e6)&&_0x50c9bc[_0xf2a430(0x32f)]&&(_0x50c9bc[_0xf2a430(0x32f)]=_0x50c9bc[_0xf2a430(0x32f)]+_0x131d85[_0xf2a430(0x1f6)]),Object[_0xf2a430(0x27a)](_0x50c9bc)[_0xf2a430(0x1cc)](function(_0x52ba62){var _0x230184=_0xf2a430,_0x2ab56e=_0x52ba62[0x0],_0x1ba69d=_0x52ba62[0x1];typeof _0x1ba69d==_0x230184(0x2ab)&&(_0x50c9bc[_0x2ab56e]=_0x1ba69d['replace'](/url\(#(.*)\)/,'url(#$1'[_0x230184(0x22e)](_0x131d85[_0x230184(0x1f6)],')')));})),_0x50c9bc;}function Ce(_0x2b5a4e,_0x244d67){var _0x101a63=_0x16b0a0,_0x44387f,_0x5587e0=_0x244d67[_0x101a63(0x2c0)];return!_0x5587e0||_0x5587e0[_0x101a63(0x281)]===0x0?_0x2b5a4e:_0x2b5a4e[_0x101a63(0x2dd)]===_0x101a63(0x22f)&&(!((_0x44387f=_0x2b5a4e['children'])===null||_0x44387f===void 0x0)&&_0x44387f['length'])?g(g({},_0x2b5a4e),{'children':_0x2b5a4e[_0x101a63(0x1b4)][_0x101a63(0x1b7)](function(_0x168451){var _0x6757ff=_0x101a63;return typeof _0x168451[_0x6757ff(0x2f3)]['id']==_0x6757ff(0x2ab)&&_0x5587e0&&_0x5587e0[_0x6757ff(0x2bd)](_0x168451[_0x6757ff(0x2f3)]['id'])?g(g({},_0x168451),{'attrs':g(g({},_0x168451[_0x6757ff(0x2f3)]),{'id':_0x168451[_0x6757ff(0x2f3)]['id']+_0x244d67['idSuffix']})}):_0x168451;})}):_0x2b5a4e;}function ge(){var _0x4136fc=_0x16b0a0;return Math[_0x4136fc(0x20f)]()[_0x4136fc(0x26c)](0x24)[_0x4136fc(0x23e)](0x2,0x8);}_[_0x16b0a0(0x264)]=_0x16b0a0(0x279);var fe={'tag':_0x16b0a0(0x1ff),'attrs':{'xmlns':_0x16b0a0(0x2c6),'fill':_0x16b0a0(0x321),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x16b0a0(0x254),'attrs':{'fill':'currentColor','d':_0x16b0a0(0x229),'fillRule':_0x16b0a0(0x302),'clipRule':_0x16b0a0(0x302)}}]},B=d['forwardRef'](function(_0x33cc0b,_0x2165b5){var _0x5d033c=_0x16b0a0;return d[_0x5d033c(0x1e0)](_,Object[_0x5d033c(0x243)]({},_0x33cc0b,{'id':_0x5d033c(0x1fc),'ref':_0x2165b5,'icon':fe}));});B['displayName']=_0x16b0a0(0x1f7);var pe={'tag':_0x16b0a0(0x1ff),'attrs':{'xmlns':_0x16b0a0(0x2c6),'fill':_0x16b0a0(0x321),'viewBox':_0x16b0a0(0x316),'width':_0x16b0a0(0x2f9),'height':_0x16b0a0(0x2f9)},'children':[{'tag':_0x16b0a0(0x254),'attrs':{'stroke':_0x16b0a0(0x1db),'d':_0x16b0a0(0x226),'strokeLinecap':_0x16b0a0(0x23a),'strokeLinejoin':_0x16b0a0(0x23a),'strokeWidth':1.33}},{'tag':_0x16b0a0(0x254),'attrs':{'stroke':_0x16b0a0(0x1db),'d':_0x16b0a0(0x1b9),'strokeLinecap':_0x16b0a0(0x23a),'strokeLinejoin':'round','strokeWidth':1.33}}]},F=d[_0x16b0a0(0x2f0)](function(_0x3c2b56,_0x3347d0){var _0x30e334=_0x16b0a0;return d[_0x30e334(0x1e0)](_,Object[_0x30e334(0x243)]({},_0x3c2b56,{'id':'close-small-single','ref':_0x3347d0,'icon':pe}));});F[_0x16b0a0(0x264)]=_0x16b0a0(0x289);var he={'tag':_0x16b0a0(0x1ff),'attrs':{'xmlns':_0x16b0a0(0x2c6),'fill':_0x16b0a0(0x321),'viewBox':'0\x200\x2016\x2016','width':_0x16b0a0(0x2f9),'height':_0x16b0a0(0x2f9)},'children':[{'tag':_0x16b0a0(0x254),'attrs':{'fill':'currentColor','d':_0x16b0a0(0x1d2)}},{'tag':_0x16b0a0(0x254),'attrs':{'fill':'currentColor','d':_0x16b0a0(0x31c)}},{'tag':_0x16b0a0(0x254),'attrs':{'fill':_0x16b0a0(0x1db),'d':_0x16b0a0(0x252),'fillRule':_0x16b0a0(0x302),'clipRule':_0x16b0a0(0x302)}}]},Y=d[_0x16b0a0(0x2f0)](function(_0x57da94,_0x48b5a5){var _0x5a65a9=_0x16b0a0;return d[_0x5a65a9(0x1e0)](_,Object['assign']({},_0x57da94,{'id':_0x5a65a9(0x1b3),'ref':_0x48b5a5,'icon':he}));});Y[_0x16b0a0(0x264)]=_0x16b0a0(0x1ba);var me={'tag':_0x16b0a0(0x1ff),'attrs':{'xmlns':_0x16b0a0(0x2c6),'fill':_0x16b0a0(0x321),'viewBox':_0x16b0a0(0x2de),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x16b0a0(0x1ed)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x16b0a0(0x23a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x16b0a0(0x22f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x16b0a0(0x1c7)},'children':[{'tag':_0x16b0a0(0x254),'attrs':{'fill':_0x16b0a0(0x272),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x16b0a0(0x1c7)]},q=d[_0x16b0a0(0x2f0)](function(_0x3f6529,_0x4db0c4){var _0x538d4a=_0x16b0a0;return d[_0x538d4a(0x1e0)](_,Object['assign']({},_0x3f6529,{'id':_0x538d4a(0x284),'ref':_0x4db0c4,'icon':me}));});q['displayName']=_0x16b0a0(0x333);var xe={'tag':_0x16b0a0(0x1ff),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x16b0a0(0x321),'viewBox':'0\x200\x2017\x2016','width':_0x16b0a0(0x2f9),'height':_0x16b0a0(0x2f9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x16b0a0(0x254),'attrs':{'stroke':'currentColor','d':_0x16b0a0(0x30f),'strokeLinecap':_0x16b0a0(0x23a),'strokeLinejoin':_0x16b0a0(0x23a),'strokeWidth':1.2}}]},{'tag':_0x16b0a0(0x22f),'attrs':{},'children':[{'tag':_0x16b0a0(0x29d),'attrs':{'id':_0x16b0a0(0x2cf)},'children':[{'tag':_0x16b0a0(0x254),'attrs':{'fill':_0x16b0a0(0x272),'d':_0x16b0a0(0x1c1),'transform':_0x16b0a0(0x324)}}]}]}],'defIds':[_0x16b0a0(0x2cf)]},V=d['forwardRef'](function(_0x16fa37,_0x43717b){var _0x3fed7d=_0x16b0a0;return d['createElement'](_,Object['assign']({},_0x16fa37,{'id':_0x3fed7d(0x290),'ref':_0x43717b,'icon':xe}));});V[_0x16b0a0(0x264)]=_0x16b0a0(0x2fe);function W(_0x2220a7){var _0x1a2508=_0x16b0a0,_0x4c46e7,_0x34d0c2;const {mcpCoreConfig:_0x1cd484,onSave:_0xba94e,loading:_0x501eed=!0x1,config:_0x1802e0,connectionStatus$:_0x1565ff,connectionError$:_0x297b9a,currentApiKey$:_0x58335d,currentSessionId$:_0x20fdff}=_0x2220a7,_0x176232=v[_0x1a2508(0x21d)](l[_0x1a2508(0x24a)]),_0x42ae55=v[_0x1a2508(0x20d)](_0x1565ff,s[_0x1a2508(0x232)][_0x1a2508(0x282)]),_0x290905=v[_0x1a2508(0x20d)](_0x297b9a,s[_0x1a2508(0x2e8)]['NONE']),_0x5c687c=v[_0x1a2508(0x20d)](_0x20fdff,''),_0x3f99d9=v['useObservable'](_0x58335d,''),[_0x52567c,_0x4cee95]=d['useState'](_0x3f99d9||''),_0x2b0d7f=!0x0,_0x56d8de=_0x1802e0['showDeveloperTools']&&_0x1cd484[_0x1a2508(0x204)]&&(_0x1cd484[_0x1a2508(0x204)]['includes'](_0x1a2508(0x2d2))||_0x1cd484[_0x1a2508(0x204)]['includes']('univer.ai')),_0x3002da=(_0x4c46e7=_0x1cd484[_0x1a2508(0x204)])==null?void 0x0:_0x4c46e7[_0x1a2508(0x2bd)]('univer.plus'),_0x28360d=(_0x34d0c2=_0x1cd484[_0x1a2508(0x204)])==null?void 0x0:_0x34d0c2[_0x1a2508(0x2bd)](_0x1a2508(0x2ec)),_0x10c9bf=_0x3002da?_0x1a2508(0x29b):'https://console.univer.ai',_0x12d702=_0x1802e0['showDeveloperTools']&&(_0x3002da||_0x28360d),[_0x9c0a51,_0x423719]=d[_0x1a2508(0x21e)](!_0x52567c[_0x1a2508(0x1a6)]()),_0x7b16be=(_0x3e638b,_0x3472a3)=>{var _0x3083d6=_0x1a2508;if(_0x3472a3===s[_0x3083d6(0x2e8)][_0x3083d6(0x2ca)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x3e638b){case s['MCPConnectionStatus'][_0x3083d6(0x222)]:return _0x3083d6(0x2cc);case s['MCPConnectionStatus'][_0x3083d6(0x1bb)]:case s[_0x3083d6(0x232)][_0x3083d6(0x31b)]:return _0x3083d6(0x269);case s[_0x3083d6(0x232)]['FAILED']:return _0x3083d6(0x2af);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x47d3f0=(_0x260090,_0x52a00f)=>{var _0x3b64e8=_0x1a2508;if(_0x52a00f===s[_0x3b64e8(0x2e8)][_0x3b64e8(0x2ca)])return'univer-bg-red-500';switch(_0x260090){case s[_0x3b64e8(0x232)][_0x3b64e8(0x222)]:return _0x3b64e8(0x2fc);case s['MCPConnectionStatus'][_0x3b64e8(0x1bb)]:case s[_0x3b64e8(0x232)][_0x3b64e8(0x31b)]:return _0x3b64e8(0x1ee);case s[_0x3b64e8(0x232)][_0x3b64e8(0x32c)]:return _0x3b64e8(0x1ca);default:return _0x3b64e8(0x24b);}},_0x528f3f=_0x510873=>{var _0x44bbdc=_0x1a2508;switch(_0x510873){case s[_0x44bbdc(0x232)]['CONNECTED']:return _0x176232['t']('mcpConfig.connectionStatus.connected');case s[_0x44bbdc(0x232)][_0x44bbdc(0x1bb)]:return _0x176232['t'](_0x44bbdc(0x2d0));case s[_0x44bbdc(0x232)]['FAILED']:return _0x176232['t'](_0x44bbdc(0x23b));case s[_0x44bbdc(0x232)][_0x44bbdc(0x31b)]:return _0x176232['t'](_0x44bbdc(0x201));default:return _0x176232['t'](_0x44bbdc(0x1bf));}},_0x4022ad=_0x5f139d=>{var _0x56ea0c=_0x1a2508;switch(_0x5f139d){case s[_0x56ea0c(0x2e8)][_0x56ea0c(0x2ca)]:return _0x176232['t'](_0x56ea0c(0x1eb));case s[_0x56ea0c(0x2e8)][_0x56ea0c(0x1e2)]:return _0x176232['t'](_0x56ea0c(0x24c));case s['MCPConnectionError'][_0x56ea0c(0x1b1)]:return _0x176232['t']('mcpConfig.connectionError.networkError');case s['MCPConnectionError'][_0x56ea0c(0x32e)]:return _0x176232['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x2c4039=d[_0x1a2508(0x1ab)](()=>{var _0x49f575=_0x1a2508;const _0x2fd6c6={..._0x1cd484,'apiKey':_0x52567c[_0x49f575(0x1a6)](),'enableAuth':_0x2b0d7f};_0xba94e(_0x2fd6c6);},[_0x1cd484,_0x52567c,_0x2b0d7f,_0xba94e]),_0x102761=_0x52567c[_0x1a2508(0x1a6)]()[_0x1a2508(0x281)]>0x0;return t[_0x1a2508(0x266)]('div',{'className':_0x1a2508(0x2a9),'children':[t['jsx'](_0x1a2508(0x26f),{'className':_0x1a2508(0x1fa),'children':t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x205),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x206),'children':t['jsx'](_0x1a2508(0x274),{'className':'univer-text-white','children':'⚙'})}),t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'children':t['jsx']('p',{'className':_0x1a2508(0x2ef),'children':_0x176232['t']('mcpConfig.description')})})]})}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x1d1),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x28f)+_0x7b16be(_0x42ae55,_0x290905)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':t[_0x1a2508(0x266)]('div',{'className':_0x1a2508(0x230),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x2e5)+_0x47d3f0(_0x42ae55,_0x290905)+_0x1a2508(0x248)}),t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':_0x1a2508(0x2ac),'children':_0x528f3f(_0x42ae55)})]})}),_0x290905!==s[_0x1a2508(0x2e8)][_0x1a2508(0x2f8)]&&(_0x42ae55===s[_0x1a2508(0x232)][_0x1a2508(0x32c)]||_0x290905===s[_0x1a2508(0x2e8)][_0x1a2508(0x2ca)])&&t['jsx'](_0x1a2508(0x26f),{'className':_0x1a2508(0x1ea),'children':t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x1c4),'children':[t['jsx'](_0x1a2508(0x274),{'className':_0x1a2508(0x1dc),'children':'⚠️'}),t['jsx']('p',{'className':_0x1a2508(0x1bc),'children':_0x4022ad(_0x290905)})]})})]}),t[_0x1a2508(0x21b)]('div',{'className':_0x1a2508(0x288),'children':t['jsxs'](_0x1a2508(0x26f),{'className':_0x1a2508(0x1ae),'children':[t[_0x1a2508(0x266)]('div',{'className':'univer-space-y-2','children':[t['jsxs'](_0x1a2508(0x320),{'className':_0x1a2508(0x293),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'children':'🔑'}),'\x20',_0x176232['t']('mcpConfig.apiKey'),t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':_0x1a2508(0x2c8),'children':'*'}),_0x56d8de&&t[_0x1a2508(0x21b)]('a',{'href':_0x1a2508(0x228),'onClick':()=>_0x423719(!0x0),'className':_0x1a2508(0x265),'title':_0x176232['t']('mcpConfig.apiApplyInfo.title'),'children':t[_0x1a2508(0x21b)](Y,{})})]}),t[_0x1a2508(0x21b)](S[_0x1a2508(0x2b8)],{'type':_0x1a2508(0x32d),'placeholder':_0x176232['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x52567c,'onChange':_0x4cee95,'disabled':_0x501eed,'autoComplete':_0x1a2508(0x225)}),t['jsx']('p',{'className':_0x1a2508(0x1d7),'children':_0x176232['t'](_0x1a2508(0x256))})]}),_0x56d8de&&_0x9c0a51&&t['jsxs'](_0x1a2508(0x26f),{'className':_0x1a2508(0x294),'children':[t[_0x1a2508(0x21b)]('a',{'href':'javascript:void(0)','onClick':()=>_0x423719(!0x1),'className':_0x1a2508(0x328),'title':_0x1a2508(0x2f2),'children':t['jsx'](F,{})}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x311),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x238),'children':t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':_0x1a2508(0x287),'children':'🚀'})}),t['jsxs'](_0x1a2508(0x26f),{'className':_0x1a2508(0x220),'children':[t[_0x1a2508(0x21b)]('h4',{'className':_0x1a2508(0x1d5),'children':_0x176232['t'](_0x1a2508(0x2c5))}),t[_0x1a2508(0x21b)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x176232['t'](_0x1a2508(0x1de))}),t[_0x1a2508(0x21b)]('div',{'className':_0x1a2508(0x2b6),'children':_0x12d702&&t[_0x1a2508(0x266)]('a',{'href':_0x10c9bf,'target':_0x1a2508(0x1f2),'rel':'noopener\x20noreferrer','className':_0x1a2508(0x2db),'children':[t[_0x1a2508(0x21b)]('span',{'children':'🤖'}),_0x176232['t'](_0x1a2508(0x200)),t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':_0x1a2508(0x27b),'children':'↗'})]})}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x176232['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x1802e0[_0x1a2508(0x235)]&&t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[t[_0x1a2508(0x266)]('h4',{'className':_0x1a2508(0x1fb),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'children':'🔗'}),'\x20',_0x176232['t'](_0x1a2508(0x2e4))]}),t[_0x1a2508(0x266)]('div',{'className':_0x1a2508(0x1c5),'children':[t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-space-y-3','children':[t[_0x1a2508(0x21b)]('p',{'className':_0x1a2508(0x1df),'children':_0x176232['t']('mcpConfig.configInstructions')}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-space-y-2','children':[t[_0x1a2508(0x21b)]('div',{'className':_0x1a2508(0x296),'children':_0x176232['t'](_0x1a2508(0x25b))}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x230),'children':[t[_0x1a2508(0x21b)]('span',{'className':_0x1a2508(0x332),'children':'1'}),_0x176232['t'](_0x1a2508(0x203))]}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':_0x1a2508(0x332),'children':'2'}),_0x176232['t']('mcpConfig.configStep2')]}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x230),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':_0x1a2508(0x332),'children':'3'}),_0x176232['t'](_0x1a2508(0x1b0))]})]})]})]}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-space-y-2','children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x1a2508(0x1fe)}),t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x209),'children':t[_0x1a2508(0x21b)](_0x1a2508(0x22d),{'className':_0x1a2508(0x2bc),'children':'{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id='+_0x5c687c+_0x1a2508(0x253)+(_0x52567c||_0x1a2508(0x20e))+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),t[_0x1a2508(0x266)]('div',{'className':_0x1a2508(0x1e6),'children':[t[_0x1a2508(0x21b)]('div',{'className':_0x1a2508(0x296),'children':_0x176232['t'](_0x1a2508(0x244))}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x1fd),'children':[t['jsxs'](_0x1a2508(0x26f),{'className':_0x1a2508(0x1f4),'children':[t[_0x1a2508(0x21b)]('div',{'className':_0x1a2508(0x317)}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x20a),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x1c0),'children':'univer_session_id:'}),t['jsx'](_0x1a2508(0x26f),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x176232['t']('mcpConfig.sessionIdDescription')})]})]}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x1f4),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x317)}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':'univer-min-w-0\x20univer-flex-1','children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x1a2508(0x262)}),t[_0x1a2508(0x21b)]('div',{'className':_0x1a2508(0x1d7),'children':_0x176232['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),t['jsx'](S[_0x1a2508(0x280)],{'onClick':_0x2c4039,'disabled':!_0x102761||_0x501eed,'className':_0x1a2508(0x2c7),'children':_0x501eed?t[_0x1a2508(0x266)](_0x1a2508(0x274),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[t['jsx'](_0x1a2508(0x274),{'children':'⟲'}),_0x176232['t']('mcpConfig.saving')]}):t[_0x1a2508(0x266)]('span',{'className':_0x1a2508(0x230),'children':[t['jsx'](B,{}),_0x176232['t']('mcpConfig.save')]})}),t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'className':_0x1a2508(0x1e3),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x274),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),t[_0x1a2508(0x266)]('div',{'className':_0x1a2508(0x2b4),'children':[t[_0x1a2508(0x21b)](_0x1a2508(0x26f),{'className':_0x1a2508(0x2ad),'children':_0x1a2508(0x1ef)}),t['jsxs'](_0x1a2508(0x26f),{'children':['•',_0x176232['t']('mcpConfig.note1')]}),t[_0x1a2508(0x266)](_0x1a2508(0x26f),{'children':['•',_0x176232['t']('mcpConfig.note2')]})]})]})})]})})]});}const y=_0x16b0a0(0x1d6),G={'showDeveloperTools':!0x1,'showStatus':!0x0};var Se=Object['getOwnPropertyDescriptor'],Pe=(_0x14063d,_0x3e7bac,_0x191d32,_0x566e16)=>{var _0x87a8d2=_0x16b0a0;for(var _0x2abd74=_0x566e16>0x1?void 0x0:_0x566e16?Se(_0x3e7bac,_0x191d32):_0x3e7bac,_0x2c7951=_0x14063d[_0x87a8d2(0x281)]-0x1,_0x4d0d22;_0x2c7951>=0x0;_0x2c7951--)(_0x4d0d22=_0x14063d[_0x2c7951])&&(_0x2abd74=_0x4d0d22(_0x2abd74)||_0x2abd74);return _0x2abd74;},f=(_0x2e7b44,_0x903387)=>(_0x47931b,_0x4cc801)=>_0x903387(_0x47931b,_0x4cc801,_0x2e7b44);const D=_0x16b0a0(0x28a),k=_0x16b0a0(0x26e);function _0x2aa2(){var _0x3ae80f=['MessageType','BehaviorSubject','currentColor','univer-flex-shrink-0\x20univer-text-red-500','点击连接\x20MCP','mcpConfig.apiApplyInfo.description','univer-text-xs\x20univer-text-gray-600','createElement','next','SESSION_ID_OCCUPIED','univer-flex\x20univer-gap-3','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','mcpStatus.connecting','univer-space-y-3','MCP_UI_PLUGIN','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','_loadStoredApiKey','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.connectionError.unauthorized','Invalid\x20configuration','url(#off-line-icon_clip0_910_343)','univer-bg-blue-500','Configuration\x20Notes:','1876987OfBkxo','API\x20密钥长度至少需要\x2010\x20位','_blank','mask','univer-flex\x20univer-items-start\x20univer-gap-3','MCP\x20连接失败','idSuffix','CheckMarkIcon','MCPConnectionController','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','check-mark-icon','univer-space-y-2','MCP\x20Configuration','svg','mcpConfig.apiApplyInfo.univerAiLabel','mcpConfig.connectionStatus.retrying','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.configStep1','mcpServerUrl','univer-flex\x20univer-items-center\x20univer-gap-3','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Max\x20Retries','apiKey','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-min-w-0\x20univer-flex-1','indexOf','Univer\x20AI\x20Console','useObservable','<API_KEY>','random','连接中...','connectionStatus$','showConfigPanel','open','IConfigService','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Max\x20Retries\x20Exceeded','启用身份验证以获得安全连接','IUIPartsService','Retrying...','merge','jsx','BuiltInUIPart','useDependency','useState','Disposable','univer-flex-1','_injector','CONNECTED','网络连接错误,请检查您的网络连接','_initStatusComponent','off','M5.21243\x205.62036L11.8791\x2012.287','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','javascript:void(0)','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','removeItem','clsx','Bearer\x20','pre','concat','defs','univer-flex\x20univer-items-center\x20univer-gap-2','Click\x20to\x20configure\x20MCP','MCPConnectionStatus','Injector','IDialogService','showDeveloperTools','Plugin','replace','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','_localStorageService','round','mcpConfig.connectionStatus.failed','_menuManagerService','Enter\x20your\x20API\x20key','substring','1343631qydGHY','UniverMCPPlugin','API\x20Key','MCPConfigPanel','assign','mcpConfig.configParameters','BUTTON','点击配置\x20MCP','MCPStatusDisplay','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','register','LocaleService','univer-bg-gray-500','mcpConfig.connectionError.sessionOccupied','current','873716xBZuOg','MCP\x20Connection\x20Failed','subscribe','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','path','_handleConfigure','mcpConfig.apiKeyHint','mcpConfig.validation.invalidConfig','MenuIcon','_apiKey$','MCP\x20重连中...','mcpConfig.configStepTitle','Connecting...','_logService','connectionError$','配置参数:','_validateConfig','配置无效','Authorization:','apply','displayName','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','jsxs','MCP\x20Disconnected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','mcp-ui.command.openConfigPanel','toString','HEADER_MENU','mcp-config-dialog','div','zhCN','colorChannel1','white','MCP\x20Connected','span','COMMAND','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Saving...','配置步骤:','UniverIcon','entries','univer-text-gray-400','超出最大重试次数,请稍后再试','MCPUIMenuController','MCP\x20Unknown\x20Status','mcpStatus.retrying','Button','length','DISCONNECTED','Copy\x20the\x20JSON\x20configuration\x20below','off-line-icon','hasOwnProperty','UniverMCPUIPlugin','univer-text-blue-600','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','CloseSmallSingle','mcp.apiKey','extend','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','最大重试次数','965eDbvWa','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','on-line-icon','What\x20is\x20API\x20Key?','MCP:\x20Unauthorized','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','_config$','IMenuManagerService','showStatus','28020neQokf','https://console.univer.plus','_initConfigSync','clipPath','_initializeCommands','pluginName','getCurrentConfig','_mcpConnectionController','mcpStatus.disconnected','enUS','MCP:\x20网络错误','icon','CommandType','_dialogService','MCP\x20Client\x20Configuration','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','5688848axbrRJ','string','univer-text-sm\x20univer-font-medium','univer-font-medium','get','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Tooltip','mcpConfig.configError','MCP\x20已断开','subscribeConfigValue$','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','API\x20密钥不能为空','univer-flex\x20univer-flex-wrap\x20univer-gap-2','MCPConnectionUIController','Input','IMessageService','未连接','mcpStatus.unknown','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','includes','function','call','defIds','Configuration\x20Steps:','url(#$1','20872152NEnpzd','MenuItemType','mcpConfig.apiApplyInfo.title','http://www.w3.org/2000/svg','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer-text-red-500','_uiPartsService','UNAUTHORIZED','mcpStatus.failed','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','_messageService','Enable\x20Authentication','on-line-icon_clip0_910_349','mcpConfig.connectionStatus.connecting','mcpConfig.title','univer.plus','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','mcpConfig.configSaved','请输入您的\x20API\x20密钥','API\x20密钥无效,请检查密钥是否正确','_handleConfigSave','registerCommand','MCP:\x20未授权','value','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','setItem','tag','0\x200\x2016\x2016','univer-flex\x20univer-items-center','API\x20key\x20with\x20Bearer\x20prefix.','将配置添加到您的\x20MCP\x20客户端设置文件中','validateApiKey','Inject','mcpConfig.connectionInfo','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','use','MCP:\x20超出最大重试次数','MCPConnectionError','Save\x20Configuration','MCP\x20Retrying...','OpenMCPConfigPanelCommand','univer.ai','_config','MCPConfigUIController','univer-text-sm\x20univer-text-gray-500','forwardRef','Get\x20your\x20API\x20key\x20in\x20seconds','Close','attrs','_loading$','defineProperty','push','12OXmImS','NONE','1em','会话ID','useRef','univer-bg-green-500','Disconnected','OnLineIcon','connectInjector','\x20-\x20','getOwnPropertySymbols','evenodd','bottom','_localeService','error','_createConfigPanelComponent','_connectionController','getItem','warn','setConfig','ICommandService','mcpStatus.maxRetriesExceeded','RibbonStartGroup','_componentManager','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','univer-text-gray-500','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','registerComponent','isValid','MCP:\x20Network\x20Error','您的\x20API\x20密钥将在此浏览器中本地存储','0\x200\x2017\x2017','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','811492MqAmgS','prototype','mergeMenu','RETRYING','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','getOwnPropertyDescriptor','_configService','mcpStatus.unauthorized','label','none','_initializeMenus','univerjs-icon\x20univerjs-icon-','translate(.97)','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MCP:\x20Session\x20ID\x20Occupied','symbol','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','重启您的\x20MCP\x20客户端以使配置生效','MCP:\x20会话\x20ID\x20已被占用','FAILED','text','MAX_RETRIES_EXCEEDED','xlink:href','MCP\x20配置','API\x20密钥','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','OffLineIcon','mcpStatus.connected','几秒钟内获取您的\x20API\x20密钥','ILocalStorageService','trim','将以下配置添加到您的\x20MCP\x20客户端设置中:','Success','已连接','Configuration\x20Parameters:','useCallback','配置保存失败','API\x20key\x20is\x20required','univer-space-y-5','Connected','mcpConfig.configStep3','NETWORK_ERROR','ISocketService','help-single','children','_commandService','MCP_PLUGIN_CONFIG_KEY','map','Click\x20to\x20connect\x20MCP','M5.21243\x2012.287L11.8791\x205.62036','HelpSingle','CONNECTING','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','errorMessage','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcpConfig.connectionStatus.disconnected','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','M0\x200H16V16H0z','_mcpCoreConfig$','_registerComponent','univer-flex\x20univer-items-start\x20univer-gap-2','univer-space-y-4','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','off-line-icon_clip0_910_343','className','add','univer-bg-red-500','getConfig','forEach','show','_initAutoConnect','propertyIsEnumerable','__setCustomHeaders','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z','disposeWithMe','Error','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcp-ui.config','univer-text-xs\x20univer-text-gray-500','会话\x20ID\x20已被占用,请稍后再试'];_0x2aa2=function(){return _0x3ae80f;};return _0x2aa2();}exports[_0x16b0a0(0x2ee)]=class extends l[_0x16b0a0(0x21f)]{constructor(_0x3c5236,_0x1fc71c,_0x388938,_0x339bc9,_0x27f6e5,_0x5c008c,_0x46c0f4,_0x31d406,_0x1edde9,_0x250dc4){var _0x2f2cf0=_0x16b0a0;super(),I(this,_0x2f2cf0(0x2f4),new N[(_0x2f2cf0(0x1da))](!0x1)),I(this,_0x2f2cf0(0x1c2),new N[(_0x2f2cf0(0x1da))]({})),I(this,_0x2f2cf0(0x297),new N[(_0x2f2cf0(0x1da))]({})),I(this,'_apiKey$',new N[(_0x2f2cf0(0x1da))]('')),I(this,_0x2f2cf0(0x2d7),async _0x3be7c3=>{var _0x475563=_0x2f2cf0,_0x5b299a,_0x476fe4;this['_loading$'][_0x475563(0x1e1)](!0x0);try{const _0x3cd7e4=await this[_0x475563(0x260)](_0x3be7c3);if(!_0x3cd7e4['isValid']){this[_0x475563(0x2cd)]['show']({'type':S['MessageType'][_0x475563(0x1d4)],'content':_0x3cd7e4[_0x475563(0x1bd)]||this[_0x475563(0x304)]['t'](_0x475563(0x257))});return;}_0x3be7c3[_0x475563(0x208)]?await this['_localStorageService'][_0x475563(0x2dc)](D,_0x3be7c3['apiKey'][_0x475563(0x1a6)]()):await this[_0x475563(0x239)][_0x475563(0x22a)](D),this[_0x475563(0x259)][_0x475563(0x1e1)](((_0x5b299a=_0x3be7c3[_0x475563(0x208)])==null?void 0x0:_0x5b299a[_0x475563(0x1a6)]())||''),this[_0x475563(0x2a1)]['__setCustomHeaders']({'Authorization':_0x475563(0x22c)+((_0x476fe4=_0x3be7c3['apiKey'])==null?void 0x0:_0x476fe4[_0x475563(0x1a6)]())}),this[_0x475563(0x2cd)][_0x475563(0x1cd)]({'type':S[_0x475563(0x1d9)][_0x475563(0x1a8)],'content':this[_0x475563(0x304)]['t'](_0x475563(0x2d4))}),setTimeout(()=>{var _0x2b663e=_0x475563;this[_0x2b663e(0x2a7)]['close'](k);},0x320);}catch(_0x50ccf7){this[_0x475563(0x25d)][_0x475563(0x305)](_0x475563(0x1e4),_0x50ccf7),this[_0x475563(0x2cd)]['show']({'type':S[_0x475563(0x1d9)][_0x475563(0x1d4)],'content':this[_0x475563(0x304)]['t'](_0x475563(0x2b1))});}finally{this['_loading$'][_0x475563(0x1e1)](!0x1);}}),(this[_0x2f2cf0(0x221)]=_0x3c5236,this[_0x2f2cf0(0x2c9)]=_0x1fc71c,this[_0x2f2cf0(0x31e)]=_0x388938,this[_0x2f2cf0(0x239)]=_0x339bc9,this['_dialogService']=_0x27f6e5,this[_0x2f2cf0(0x2cd)]=_0x5c008c,this[_0x2f2cf0(0x30e)]=_0x46c0f4,this[_0x2f2cf0(0x304)]=_0x31d406,this['_logService']=_0x1edde9,this[_0x2f2cf0(0x2a1)]=_0x250dc4,this[_0x2f2cf0(0x29c)](),this[_0x2f2cf0(0x1e9)](),this[_0x2f2cf0(0x1c3)]());}[_0x16b0a0(0x212)](){var _0x46cdb3=_0x16b0a0;const _0x1a817c=this[_0x46cdb3(0x31e)][_0x46cdb3(0x1cb)](y);_0x1a817c!=null&&_0x1a817c['showDeveloperTools']&&this[_0x46cdb3(0x2a7)][_0x46cdb3(0x213)]({'id':k,'title':{'title':this[_0x46cdb3(0x304)]['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{this['_dialogService']['close'](k);}});}[_0x16b0a0(0x2a0)](){var _0x281d9a=_0x16b0a0;return this[_0x281d9a(0x1c2)]['value'];}[_0x16b0a0(0x1c3)](){var _0x21ca1b=_0x16b0a0;this[_0x21ca1b(0x1d3)](this[_0x21ca1b(0x30e)][_0x21ca1b(0x249)](_0x21ca1b(0x242),this[_0x21ca1b(0x306)]()));}[_0x16b0a0(0x306)](){var _0x50539c=_0x16b0a0;return v[_0x50539c(0x2ff)](()=>{var _0x5f5aca=_0x50539c,_0x4f83a9,_0x41b397,_0x2c1268;return t[_0x5f5aca(0x21b)](W,{'config':this['_config$'][_0x5f5aca(0x2da)],'mcpCoreConfig':this[_0x5f5aca(0x1c2)][_0x5f5aca(0x2da)],'currentApiKey$':this[_0x5f5aca(0x259)],'onSave':this[_0x5f5aca(0x2d7)],'loading':this[_0x5f5aca(0x2f4)][_0x5f5aca(0x2da)],'connectionStatus$':(_0x4f83a9=this[_0x5f5aca(0x2a1)])==null?void 0x0:_0x4f83a9[_0x5f5aca(0x211)],'connectionError$':(_0x41b397=this['_mcpConnectionController'])==null?void 0x0:_0x41b397[_0x5f5aca(0x25e)],'currentSessionId$':(_0x2c1268=this['_mcpConnectionController'])==null?void 0x0:_0x2c1268['sessionId$']});},this['_injector']);}[_0x16b0a0(0x29c)](){var _0x5c3903=_0x16b0a0;this[_0x5c3903(0x1d3)](this[_0x5c3903(0x31e)][_0x5c3903(0x2b3)](s['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0x2ad0d3=>{var _0x194d03=_0x5c3903;this[_0x194d03(0x1c2)][_0x194d03(0x1e1)](_0x2ad0d3||{});}));const _0xedb2f0=this['_configService']['getConfig'](s[_0x5c3903(0x1b6)]);this[_0x5c3903(0x1c2)][_0x5c3903(0x1e1)](_0xedb2f0||{}),this['disposeWithMe'](this[_0x5c3903(0x31e)][_0x5c3903(0x2b3)](y)[_0x5c3903(0x250)](_0x7f6298=>{var _0x100172=_0x5c3903;this['_config$'][_0x100172(0x1e1)](_0x7f6298||{});}));const _0x10ceb1=this[_0x5c3903(0x31e)][_0x5c3903(0x1cb)](y);this[_0x5c3903(0x297)][_0x5c3903(0x1e1)](_0x10ceb1||{});}async['_loadStoredApiKey'](){var _0x11e506=_0x16b0a0;const _0x3a9e49=this['_configService']['getConfig'](y);if(!(_0x3a9e49!=null&&_0x3a9e49['showDeveloperTools']))return;const _0x4dff91=await this[_0x11e506(0x239)][_0x11e506(0x308)](D);_0x4dff91&&(this[_0x11e506(0x2a1)][_0x11e506(0x1d0)]({'Authorization':'Bearer\x20'+_0x4dff91}),this[_0x11e506(0x259)][_0x11e506(0x1e1)](_0x4dff91));}async['_validateConfig'](_0x5b0f21){var _0x10ce5d=_0x16b0a0;if(!_0x5b0f21[_0x10ce5d(0x208)]||_0x5b0f21[_0x10ce5d(0x208)][_0x10ce5d(0x1a6)]()[_0x10ce5d(0x281)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x10ce5d(0x304)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x5b0f21[_0x10ce5d(0x208)][_0x10ce5d(0x1a6)]()[_0x10ce5d(0x281)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x10ce5d(0x304)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x1e30c3=await this['_injector'][_0x10ce5d(0x2ae)](s[_0x10ce5d(0x1f8)])[_0x10ce5d(0x2e2)](_0x5b0f21[_0x10ce5d(0x208)][_0x10ce5d(0x1a6)]());return _0x1e30c3[_0x10ce5d(0x313)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x1e30c3['error']||this['_localeService']['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x3224bf){return console[_0x10ce5d(0x309)](_0x10ce5d(0x227),_0x3224bf),{'isValid':!0x0};}}},exports[_0x16b0a0(0x2ee)]=Pe([f(0x0,l[_0x16b0a0(0x2e3)](l['Injector'])),f(0x1,v['IUIPartsService']),f(0x2,l[_0x16b0a0(0x214)]),f(0x3,l[_0x16b0a0(0x1a5)]),f(0x4,v[_0x16b0a0(0x234)]),f(0x5,v[_0x16b0a0(0x2b9)]),f(0x6,l['Inject'](v['ComponentManager'])),f(0x7,l[_0x16b0a0(0x2e3)](l['LocaleService'])),f(0x8,l['ILogService']),f(0x9,l[_0x16b0a0(0x2e3)](s[_0x16b0a0(0x1f8)]))],exports['MCPConfigUIController']);const j={'id':_0x16b0a0(0x26b),'type':l[_0x16b0a0(0x2a6)][_0x16b0a0(0x275)],'handler':async(_0x550d24,_0x5c34ee)=>(_0x550d24[_0x16b0a0(0x2ae)](exports[_0x16b0a0(0x2ee)])['showConfigPanel'](),!0x0)};function Z(_0x308997,_0x3b391f){var _0x1e8322=_0x16b0a0;switch(_0x308997){case s[_0x1e8322(0x232)][_0x1e8322(0x282)]:return _0x1e8322(0x2a2);case s[_0x1e8322(0x232)][_0x1e8322(0x1bb)]:return _0x1e8322(0x1e5);case s[_0x1e8322(0x232)][_0x1e8322(0x222)]:return _0x1e8322(0x334);case s[_0x1e8322(0x232)][_0x1e8322(0x32c)]:switch(_0x3b391f){case s[_0x1e8322(0x2e8)][_0x1e8322(0x2ca)]:return _0x1e8322(0x31f);case s[_0x1e8322(0x2e8)][_0x1e8322(0x1e2)]:return'mcpStatus.sessionOccupied';case s[_0x1e8322(0x2e8)]['NETWORK_ERROR']:return'mcpStatus.networkError';case s[_0x1e8322(0x2e8)]['MAX_RETRIES_EXCEEDED']:return _0x1e8322(0x30c);default:return _0x1e8322(0x2cb);}case s['MCPConnectionStatus'][_0x1e8322(0x31b)]:return _0x1e8322(0x27f);default:return _0x1e8322(0x2bb);}}function ye(_0x2bb931,_0x8356eb,_0x1208ae,_0x34c170=!0x0){var _0x19ab20=_0x16b0a0;const _0x239eb0=Z(_0x2bb931,_0x8356eb),_0x5530bb=_0x1208ae['t'](_0x239eb0);return _0x34c170?_0x2bb931===s[_0x19ab20(0x232)]['DISCONNECTED']&&_0x8356eb===s[_0x19ab20(0x2e8)]['UNAUTHORIZED']?_0x5530bb+_0x19ab20(0x300)+_0x1208ae['t']('mcpStatus.clickToConfigure'):_0x2bb931===s['MCPConnectionStatus'][_0x19ab20(0x222)]?''+_0x5530bb:_0x2bb931===s[_0x19ab20(0x232)][_0x19ab20(0x282)]||_0x2bb931===s['MCPConnectionStatus']['FAILED']?_0x5530bb+'\x20-\x20'+_0x1208ae['t']('mcpStatus.clickToConnect'):_0x5530bb:_0x5530bb;}function Ie(_0x3c182f){var _0x3d0c11=_0x16b0a0;switch(_0x3c182f){case s['MCPConnectionStatus'][_0x3d0c11(0x222)]:return'univer-text-green-500';case s['MCPConnectionStatus'][_0x3d0c11(0x1bb)]:case s['MCPConnectionStatus'][_0x3d0c11(0x31b)]:return'univer-text-yellow-500';case s[_0x3d0c11(0x232)][_0x3d0c11(0x32c)]:case s['MCPConnectionStatus'][_0x3d0c11(0x282)]:return'univer-text-red-500';default:return _0x3d0c11(0x310);}}function X(_0x3ddc20){var _0x476f9e=_0x16b0a0;const {status$:_0x3605d1,error$:_0x1ff7c1,onConfigure:_0x38bedc,showClickable:_0x2ed50a=!0x0}=_0x3ddc20,_0xf43e39=v[_0x476f9e(0x20d)](_0x3605d1,s[_0x476f9e(0x232)]['DISCONNECTED']),_0x1339d9=v[_0x476f9e(0x20d)](_0x1ff7c1,s[_0x476f9e(0x2e8)][_0x476f9e(0x2f8)]),_0x3f9035=v[_0x476f9e(0x21d)](l[_0x476f9e(0x24a)]),_0xf47b1=_0xf43e39===s[_0x476f9e(0x232)][_0x476f9e(0x222)];_0xf43e39===s[_0x476f9e(0x232)]['CONNECTING']||s[_0x476f9e(0x232)]['RETRYING'];const _0x47dea5=_0x3f9035['t'](Z(_0xf43e39,_0x1339d9)),_0x52befa=ye(_0xf43e39,_0x1339d9,_0x3f9035,_0x2ed50a),_0x666d43=Ie(_0xf43e39),_0x488300=_0xf47b1?t[_0x476f9e(0x21b)](V,{}):t[_0x476f9e(0x21b)](q,{}),_0xb80719=d[_0x476f9e(0x1ab)](()=>{_0x2ed50a&&_0x38bedc&&_0x38bedc();},[_0x2ed50a,_0x38bedc]);function _0x332d52(){var _0x695770=_0x476f9e;return t[_0x695770(0x266)]('div',{'className':S[_0x695770(0x22b)](_0x695770(0x2df),_0x2ed50a&&_0x38bedc&&_0x695770(0x295)),'onClick':_0x2ed50a&&_0x38bedc?_0xb80719:void 0x0,'children':[t[_0x695770(0x21b)](_0x695770(0x26f),{'className':S[_0x695770(0x22b)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x666d43),'children':_0x488300}),t[_0x695770(0x21b)](_0x695770(0x26f),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x47dea5})]});}return t['jsx'](S[_0x476f9e(0x2b0)],{'title':_0x52befa,'placement':_0x476f9e(0x303),'children':_0x332d52()});}var _e=Object[_0x16b0a0(0x31d)],Me=(_0x22282d,_0xaaf78f,_0x56fb46,_0x42187f)=>{var _0x4ed915=_0x16b0a0;for(var _0x409a67=_0x42187f>0x1?void 0x0:_0x42187f?_e(_0xaaf78f,_0x56fb46):_0xaaf78f,_0x5be5ff=_0x22282d[_0x4ed915(0x281)]-0x1,_0x579c41;_0x5be5ff>=0x0;_0x5be5ff--)(_0x579c41=_0x22282d[_0x5be5ff])&&(_0x409a67=_0x579c41(_0x409a67)||_0x409a67);return _0x409a67;},b=(_0x3ad2a8,_0x1b7585)=>(_0x5c7cf1,_0x3c1735)=>_0x1b7585(_0x5c7cf1,_0x3c1735,_0x3ad2a8);exports[_0x16b0a0(0x2b7)]=class extends l['Disposable']{constructor(_0x1a8430,_0xf7904f,_0x3c044c,_0x3efc1a){var _0x2f24e3=_0x16b0a0;super(),this['_injector']=_0x1a8430,this[_0x2f24e3(0x307)]=_0xf7904f,this[_0x2f24e3(0x2c9)]=_0x3c044c,this[_0x2f24e3(0x31e)]=_0x3efc1a,this[_0x2f24e3(0x1ce)](),this[_0x2f24e3(0x224)]();}[_0x16b0a0(0x1ce)](){var _0x3611c0=_0x16b0a0;const _0x54a803=this[_0x3611c0(0x31e)][_0x3611c0(0x1cb)](y);_0x54a803!=null&&_0x54a803[_0x3611c0(0x235)]&&(this['_connectionController']['enableAutoConnect']=!0x1);}[_0x16b0a0(0x224)](){var _0x2686f0=_0x16b0a0;const _0x589cb3=this[_0x2686f0(0x31e)][_0x2686f0(0x1cb)](y);(_0x589cb3==null?void 0x0:_0x589cb3[_0x2686f0(0x299)])!==!0x1&&this[_0x2686f0(0x1d3)](this[_0x2686f0(0x2c9)][_0x2686f0(0x312)](v[_0x2686f0(0x21c)][_0x2686f0(0x26d)],()=>{var _0x20b985=_0x2686f0,_0xeba638;return v[_0x20b985(0x2ff)](Ne({'status$':this[_0x20b985(0x307)][_0x20b985(0x211)],'error$':this[_0x20b985(0x307)]['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0xeba638=_0x589cb3==null?void 0x0:_0x589cb3[_0x20b985(0x235)])!=null?_0xeba638:!0x1}),this[_0x20b985(0x221)]);}));}[_0x16b0a0(0x255)](){var _0x301c64=_0x16b0a0;this[_0x301c64(0x221)][_0x301c64(0x2ae)](exports[_0x301c64(0x2ee)])[_0x301c64(0x212)]();}},exports[_0x16b0a0(0x2b7)]=Me([b(0x0,l[_0x16b0a0(0x2e3)](l[_0x16b0a0(0x233)])),b(0x1,l[_0x16b0a0(0x2e3)](s[_0x16b0a0(0x1f8)])),b(0x2,v[_0x16b0a0(0x218)]),b(0x3,l[_0x16b0a0(0x214)])],exports[_0x16b0a0(0x2b7)]);function Ne(_0x4514b3){const {status$:_0x2e1bba,error$:_0xee0729,onConfigure:_0x219114,showClickable:_0x228720}=_0x4514b3;return function(){return t['jsx'](X,{'status$':_0x2e1bba,'error$':_0xee0729,'onConfigure':_0x219114,'showClickable':_0x228720});};}function be(_0x2e8340){var _0x53004b=_0x16b0a0;return{'id':j['id'],'type':v[_0x53004b(0x2c4)][_0x53004b(0x245)],'icon':_0x53004b(0x258),'title':_0x53004b(0x2d1),'tooltip':_0x53004b(0x2d1)};}const je={[v[_0x16b0a0(0x30d)]['OTHERS']]:{[j['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object[_0x16b0a0(0x31d)],we=(_0x477ae7,_0x244f10,_0x3753c1,_0x544fca)=>{for(var _0x2b21a6=_0x544fca>0x1?void 0x0:_0x544fca?Ee(_0x244f10,_0x3753c1):_0x244f10,_0x1fae89=_0x477ae7['length']-0x1,_0x4d2c0e;_0x1fae89>=0x0;_0x1fae89--)(_0x4d2c0e=_0x477ae7[_0x1fae89])&&(_0x2b21a6=_0x4d2c0e(_0x2b21a6)||_0x2b21a6);return _0x2b21a6;},z=(_0x586ad0,_0x2f5080)=>(_0x948201,_0x579e3d)=>_0x2f5080(_0x948201,_0x579e3d,_0x586ad0);exports[_0x16b0a0(0x27d)]=class extends l[_0x16b0a0(0x21f)]{constructor(_0xea890e,_0x5cc72f){var _0x4f8c44=_0x16b0a0;super(),this[_0x4f8c44(0x1b5)]=_0xea890e,this[_0x4f8c44(0x23c)]=_0x5cc72f,this[_0x4f8c44(0x29e)](),this[_0x4f8c44(0x322)]();}[_0x16b0a0(0x29e)](){var _0x351dd3=_0x16b0a0;[j][_0x351dd3(0x1cc)](_0x549a76=>{var _0x24d38f=_0x351dd3;this['disposeWithMe'](this[_0x24d38f(0x1b5)][_0x24d38f(0x2d8)](_0x549a76));});}['_initializeMenus'](){var _0x535f3e=_0x16b0a0;this[_0x535f3e(0x23c)][_0x535f3e(0x31a)](je);}},exports[_0x16b0a0(0x27d)]=we([z(0x0,l[_0x16b0a0(0x30b)]),z(0x1,v[_0x16b0a0(0x298)])],exports['MCPUIMenuController']);const Oe={'mcpStatus':{'disconnected':_0x16b0a0(0x267),'connecting':'MCP\x20Connecting...','connected':_0x16b0a0(0x273),'failed':_0x16b0a0(0x24f),'retrying':_0x16b0a0(0x2ea),'unknown':_0x16b0a0(0x27e),'unauthorized':_0x16b0a0(0x292),'sessionOccupied':_0x16b0a0(0x326),'networkError':_0x16b0a0(0x314),'maxRetriesExceeded':_0x16b0a0(0x216),'clickToConnect':_0x16b0a0(0x1b8),'clickToConfigure':_0x16b0a0(0x231)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x16b0a0(0x28c),'apiKey':_0x16b0a0(0x241),'apiKeyPlaceholder':_0x16b0a0(0x23d),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x16b0a0(0x2ce),'enableAuthHint':_0x16b0a0(0x202),'connectionInfo':_0x16b0a0(0x2a8),'mcpClientConfig':_0x16b0a0(0x2a8),'configInstructions':_0x16b0a0(0x1c6),'configStepTitle':_0x16b0a0(0x2c1),'configStep1':_0x16b0a0(0x283),'configStep2':_0x16b0a0(0x215),'configStep3':_0x16b0a0(0x268),'sessionId':'Session\x20ID','sessionIdDescription':_0x16b0a0(0x276),'authorizationDescription':_0x16b0a0(0x2e0),'configParameters':_0x16b0a0(0x1aa),'maxRetries':_0x16b0a0(0x207),'save':_0x16b0a0(0x2e9),'saving':_0x16b0a0(0x277),'note1':_0x16b0a0(0x1be),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x16b0a0(0x291),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x16b0a0(0x20c),'getStarted':_0x16b0a0(0x2f1)},'validation':{'apiKeyRequired':_0x16b0a0(0x1ad),'apiKeyTooShort':_0x16b0a0(0x1e8),'invalidConfig':_0x16b0a0(0x1ec),'invalidApiKey':_0x16b0a0(0x26a)},'connectionStatus':{'disconnected':_0x16b0a0(0x2fd),'connecting':_0x16b0a0(0x25c),'connected':_0x16b0a0(0x1af),'failed':'Connection\x20Failed','retrying':_0x16b0a0(0x219)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x16b0a0(0x2d3),'networkError':_0x16b0a0(0x329),'maxRetriesExceeded':_0x16b0a0(0x251)}}},Ae={'mcpStatus':{'disconnected':_0x16b0a0(0x2b2),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x16b0a0(0x1f5),'retrying':_0x16b0a0(0x25a),'unknown':'MCP\x20状态未知','unauthorized':_0x16b0a0(0x2d9),'sessionOccupied':_0x16b0a0(0x32b),'networkError':_0x16b0a0(0x2a4),'maxRetriesExceeded':_0x16b0a0(0x2e7),'clickToConnect':_0x16b0a0(0x1dd),'clickToConfigure':_0x16b0a0(0x246)},'mcpConfig':{'title':_0x16b0a0(0x330),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x16b0a0(0x331),'apiKeyPlaceholder':_0x16b0a0(0x2d5),'apiKeyHint':_0x16b0a0(0x315),'enableAuth':'启用身份验证','enableAuthHint':_0x16b0a0(0x217),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x16b0a0(0x1a7),'configStepTitle':_0x16b0a0(0x278),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x16b0a0(0x2e1),'configStep3':_0x16b0a0(0x32a),'sessionId':_0x16b0a0(0x2fa),'sessionIdDescription':_0x16b0a0(0x1f9),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x16b0a0(0x25f),'maxRetries':_0x16b0a0(0x28d),'save':'保存配置','saving':'保存中...','note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x16b0a0(0x1ac),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x16b0a0(0x325),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x16b0a0(0x335)},'validation':{'apiKeyRequired':_0x16b0a0(0x2b5),'apiKeyTooShort':_0x16b0a0(0x1f1),'invalidConfig':_0x16b0a0(0x261),'invalidApiKey':_0x16b0a0(0x2d6)},'connectionStatus':{'disconnected':_0x16b0a0(0x2ba),'connecting':_0x16b0a0(0x210),'connected':_0x16b0a0(0x1a9),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x16b0a0(0x1d8),'networkError':_0x16b0a0(0x223),'maxRetriesExceeded':_0x16b0a0(0x27c)}}};var De=Object[_0x16b0a0(0x2f5)],ke=Object[_0x16b0a0(0x31d)],Ue=(_0x5c0b2c,_0x241dc8,_0x3810f1)=>_0x241dc8 in _0x5c0b2c?De(_0x5c0b2c,_0x241dc8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3810f1}):_0x5c0b2c[_0x241dc8]=_0x3810f1,Te=(_0x5b36a0,_0x5477e2,_0x178c86,_0x2a588e)=>{for(var _0x2d52b8=_0x2a588e>0x1?void 0x0:_0x2a588e?ke(_0x5477e2,_0x178c86):_0x5477e2,_0x2ecccc=_0x5b36a0['length']-0x1,_0x4ed093;_0x2ecccc>=0x0;_0x2ecccc--)(_0x4ed093=_0x5b36a0[_0x2ecccc])&&(_0x2d52b8=_0x4ed093(_0x2d52b8)||_0x2d52b8);return _0x2d52b8;},M=(_0x5991c4,_0x36bafe)=>(_0x5eb07f,_0xfa6fa7)=>_0x36bafe(_0x5eb07f,_0xfa6fa7,_0x5991c4),$e=(_0x24fdfb,_0x4e67fb,_0x2df7bf)=>Ue(_0x24fdfb,_0x4e67fb+'',_0x2df7bf);exports[_0x16b0a0(0x286)]=class extends l[_0x16b0a0(0x236)]{constructor(_0x144951=G,_0x226de4,_0x1ddde3,_0x352a4f,_0x16108f,_0x4a7d9f){var _0x36ca8a=_0x16b0a0;super(),this['_config']=_0x144951,this[_0x36ca8a(0x221)]=_0x226de4,this[_0x36ca8a(0x31e)]=_0x1ddde3,this[_0x36ca8a(0x2c9)]=_0x352a4f,this['_localStorageService']=_0x16108f,this[_0x36ca8a(0x304)]=_0x4a7d9f;const {..._0x3cd3d3}=l[_0x36ca8a(0x21a)]({},G,this[_0x36ca8a(0x2ed)]);this[_0x36ca8a(0x31e)][_0x36ca8a(0x30a)](y,_0x3cd3d3);}async['onStarting'](){var _0x22d8a8=_0x16b0a0;const _0x39d627=[[exports[_0x22d8a8(0x2b7)]],[exports[_0x22d8a8(0x2ee)]],[exports[_0x22d8a8(0x27d)]]];this[_0x22d8a8(0x221)]['has'](A[_0x22d8a8(0x1b2)])||_0x39d627[_0x22d8a8(0x2f6)]([A[_0x22d8a8(0x1b2)],{'useClass':A['WebSocketService']}]),_0x39d627['forEach'](_0x565af2=>this[_0x22d8a8(0x221)][_0x22d8a8(0x1c9)](_0x565af2)),this[_0x22d8a8(0x221)][_0x22d8a8(0x2ae)](exports[_0x22d8a8(0x2b7)]),this[_0x22d8a8(0x221)][_0x22d8a8(0x2ae)](exports['MCPConfigUIController']),this['_injector'][_0x22d8a8(0x2ae)](exports[_0x22d8a8(0x27d)]);}},$e(exports[_0x16b0a0(0x286)],_0x16b0a0(0x29f),_0x16b0a0(0x1e7)),exports[_0x16b0a0(0x286)]=Te([l['DependentOn'](s[_0x16b0a0(0x240)]),M(0x1,l[_0x16b0a0(0x2e3)](l[_0x16b0a0(0x233)])),M(0x2,l[_0x16b0a0(0x214)]),M(0x3,v['IUIPartsService']),M(0x4,l[_0x16b0a0(0x1a5)]),M(0x5,l[_0x16b0a0(0x2e3)](l['LocaleService']))],exports[_0x16b0a0(0x286)]),exports['MCPConfigPanel']=W,exports[_0x16b0a0(0x247)]=X,exports[_0x16b0a0(0x2eb)]=j,exports[_0x16b0a0(0x2a3)]=Oe,exports[_0x16b0a0(0x270)]=Ae;
@@ -1 +1 @@
1
- 'use strict';const _0x22e302=_0x55af;(function(_0x30e4c4,_0x3709df){const _0x34c651=_0x55af,_0x2a3a30=_0x30e4c4();while(!![]){try{const _0x5b6537=-parseInt(_0x34c651(0x117))/0x1*(parseInt(_0x34c651(0x10a))/0x2)+-parseInt(_0x34c651(0xff))/0x3+parseInt(_0x34c651(0xfa))/0x4*(-parseInt(_0x34c651(0x115))/0x5)+-parseInt(_0x34c651(0xf5))/0x6+-parseInt(_0x34c651(0xfc))/0x7*(-parseInt(_0x34c651(0x104))/0x8)+-parseInt(_0x34c651(0x119))/0x9+parseInt(_0x34c651(0x127))/0xa*(parseInt(_0x34c651(0x10f))/0xb);if(_0x5b6537===_0x3709df)break;else _0x2a3a30['push'](_0x2a3a30['shift']());}catch(_0x5ad416){_0x2a3a30['push'](_0x2a3a30['shift']());}}}(_0x38bc,0xd1d83));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x22e302(0x101),'connected':'MCP\x20Connected','failed':_0x22e302(0x128),'retrying':_0x22e302(0x112),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x22e302(0xfe),'networkError':_0x22e302(0xf6),'maxRetriesExceeded':_0x22e302(0x105),'clickToConnect':_0x22e302(0x125),'clickToConfigure':_0x22e302(0xf7)},'mcpConfig':{'title':_0x22e302(0x11b),'description':_0x22e302(0xf8),'apiKey':_0x22e302(0xf9),'apiKeyPlaceholder':_0x22e302(0x107),'apiKeyHint':_0x22e302(0x11a),'enableAuth':_0x22e302(0x114),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x22e302(0x11f),'mcpClientConfig':_0x22e302(0x11f),'configInstructions':_0x22e302(0x111),'configStepTitle':_0x22e302(0x116),'configStep1':_0x22e302(0x100),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x22e302(0x10d),'sessionId':_0x22e302(0x124),'sessionIdDescription':_0x22e302(0x10c),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x22e302(0x126),'save':_0x22e302(0x10b),'saving':_0x22e302(0x113),'note1':_0x22e302(0xfb),'note2':_0x22e302(0x102),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x22e302(0x120),'apiApplyInfo':{'title':_0x22e302(0x106),'description':_0x22e302(0x103),'univerAiLabel':_0x22e302(0x121),'getStarted':_0x22e302(0x118)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x22e302(0x10e),'invalidConfig':_0x22e302(0xfd),'invalidApiKey':_0x22e302(0x110)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x22e302(0x11c),'connected':'Connected','failed':_0x22e302(0x11e),'retrying':_0x22e302(0x108)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x22e302(0x11d),'networkError':_0x22e302(0x109),'maxRetriesExceeded':_0x22e302(0x123)}}},n=e;module[_0x22e302(0x122)]=n;function _0x55af(_0x1caa8a,_0x34432a){const _0x38bc1b=_0x38bc();return _0x55af=function(_0x55af13,_0x15c89a){_0x55af13=_0x55af13-0xf5;let _0x513b10=_0x38bc1b[_0x55af13];return _0x513b10;},_0x55af(_0x1caa8a,_0x34432a);}function _0x38bc(){const _0x171402=['Click\x20to\x20configure\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20Key','622084JvOKdx','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','185192qqjNZS','Invalid\x20configuration','MCP:\x20Session\x20ID\x20Occupied','958743SedAuT','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','424bGKJzh','MCP:\x20Max\x20Retries\x20Exceeded','What\x20is\x20API\x20Key?','Enter\x20your\x20API\x20key','Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','3216uYuILB','Save\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','33YjcsUu','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Retrying...','Saving...','Enable\x20Authentication','45YSRzUy','Configuration\x20Steps:','61gSEczL','Get\x20your\x20API\x20key\x20in\x20seconds','6421716SIQtFS','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Configuration','Connecting...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connection\x20Failed','MCP\x20Client\x20Configuration','Failed\x20to\x20save\x20configuration','Univer\x20AI\x20Console','exports','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session\x20ID','Click\x20to\x20connect\x20MCP','Max\x20Retries','8841920DOEpUL','MCP\x20Connection\x20Failed','3986034reCxXE','MCP:\x20Network\x20Error'];_0x38bc=function(){return _0x171402;};return _0x38bc();}
1
+ 'use strict';const _0x2bef78=_0x2357;function _0x2357(_0x4d024a,_0x42ddee){const _0x45b099=_0x45b0();return _0x2357=function(_0x235753,_0x21139d){_0x235753=_0x235753-0xaf;let _0xe35e8d=_0x45b099[_0x235753];return _0xe35e8d;},_0x2357(_0x4d024a,_0x42ddee);}(function(_0x517055,_0x1ff3a4){const _0x11de90=_0x2357,_0x445539=_0x517055();while(!![]){try{const _0x4a5588=-parseInt(_0x11de90(0xce))/0x1+-parseInt(_0x11de90(0xba))/0x2*(parseInt(_0x11de90(0xb9))/0x3)+parseInt(_0x11de90(0xd1))/0x4*(-parseInt(_0x11de90(0xaf))/0x5)+parseInt(_0x11de90(0xb0))/0x6+-parseInt(_0x11de90(0xc3))/0x7+parseInt(_0x11de90(0xdd))/0x8+parseInt(_0x11de90(0xd3))/0x9*(parseInt(_0x11de90(0xcc))/0xa);if(_0x4a5588===_0x1ff3a4)break;else _0x445539['push'](_0x445539['shift']());}catch(_0xfe9888){_0x445539['push'](_0x445539['shift']());}}}(_0x45b0,0x5eb70));function _0x45b0(){const _0x2e2de0=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connecting...','8786840MoOiuO','Enable\x20authentication\x20for\x20secure\x20connections','335352wTIyYA','Enter\x20your\x20API\x20key','MCP:\x20Session\x20ID\x20Occupied','28gIakjj','Configuration\x20Steps:','18azNhHp','Connected','Click\x20to\x20connect\x20MCP','MCP\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disconnected','MCP:\x20Unauthorized','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Save\x20Configuration','Saving...','3043216QClrRH','Univer\x20AI\x20Console','API\x20key\x20with\x20Bearer\x20prefix.','331550dOEHrr','3301242bsBXla','Max\x20Retries','MCP\x20Disconnected','Click\x20to\x20configure\x20MCP','API\x20key\x20is\x20required','MCP\x20Client\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','Retrying...','2631QMaOTO','1678obWZtS','MCP:\x20Network\x20Error','Invalid\x20configuration','MCP\x20Retrying...','Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Unknown\x20Status','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','5352900YolDHo','Session\x20ID','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connected','Failed\x20to\x20save\x20configuration'];_0x45b0=function(){return _0x2e2de0;};return _0x45b0();}const e={'mcpStatus':{'disconnected':_0x2bef78(0xb2),'connecting':_0x2bef78(0xcb),'connected':_0x2bef78(0xc8),'failed':'MCP\x20Connection\x20Failed','retrying':_0x2bef78(0xbd),'unknown':_0x2bef78(0xc1),'unauthorized':_0x2bef78(0xd9),'sessionOccupied':_0x2bef78(0xd0),'networkError':_0x2bef78(0xbb),'maxRetriesExceeded':_0x2bef78(0xb7),'clickToConnect':_0x2bef78(0xd5),'clickToConfigure':_0x2bef78(0xb3)},'mcpConfig':{'title':_0x2bef78(0xd6),'description':_0x2bef78(0xca),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2bef78(0xcf),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2bef78(0xcd),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2bef78(0xb5),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x2bef78(0xd2),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x2bef78(0xc2),'configStep3':_0x2bef78(0xd7),'sessionId':_0x2bef78(0xc4),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2bef78(0xdf),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x2bef78(0xb1),'save':_0x2bef78(0xdb),'saving':_0x2bef78(0xdc),'note1':_0x2bef78(0xda),'note2':_0x2bef78(0xc6),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x2bef78(0xc9),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2bef78(0xc0),'univerAiLabel':_0x2bef78(0xde),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2bef78(0xb4),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2bef78(0xbc),'invalidApiKey':_0x2bef78(0xbf)},'connectionStatus':{'disconnected':_0x2bef78(0xd8),'connecting':'Connecting...','connected':_0x2bef78(0xd4),'failed':_0x2bef78(0xbe),'retrying':_0x2bef78(0xb8)},'connectionError':{'unauthorized':_0x2bef78(0xb6),'sessionOccupied':_0x2bef78(0xc7),'networkError':_0x2bef78(0xc5),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0x46c486=_0xff0e;(function(_0x6a65a0,_0x44b82e){const _0x9e8447=_0xff0e,_0x5362b4=_0x6a65a0();while(!![]){try{const _0x1f77c4=-parseInt(_0x9e8447(0x19a))/0x1*(-parseInt(_0x9e8447(0x199))/0x2)+parseInt(_0x9e8447(0x16b))/0x3+-parseInt(_0x9e8447(0x18e))/0x4*(-parseInt(_0x9e8447(0x19d))/0x5)+parseInt(_0x9e8447(0x17c))/0x6+parseInt(_0x9e8447(0x172))/0x7*(-parseInt(_0x9e8447(0x167))/0x8)+parseInt(_0x9e8447(0x16e))/0x9*(parseInt(_0x9e8447(0x186))/0xa)+-parseInt(_0x9e8447(0x171))/0xb*(parseInt(_0x9e8447(0x168))/0xc);if(_0x1f77c4===_0x44b82e)break;else _0x5362b4['push'](_0x5362b4['shift']());}catch(_0x371247){_0x5362b4['push'](_0x5362b4['shift']());}}}(_0x221c,0xcbeb2));const e={'mcpStatus':{'disconnected':_0x46c486(0x188),'connecting':_0x46c486(0x193),'connected':_0x46c486(0x195),'failed':_0x46c486(0x17a),'retrying':'MCP\x20Retrying...','unknown':_0x46c486(0x183),'unauthorized':_0x46c486(0x18a),'sessionOccupied':_0x46c486(0x198),'networkError':_0x46c486(0x17e),'maxRetriesExceeded':_0x46c486(0x18d),'clickToConnect':_0x46c486(0x184),'clickToConfigure':_0x46c486(0x165)},'mcpConfig':{'title':_0x46c486(0x19e),'description':_0x46c486(0x181),'apiKey':_0x46c486(0x174),'apiKeyPlaceholder':_0x46c486(0x18c),'apiKeyHint':_0x46c486(0x166),'enableAuth':_0x46c486(0x19b),'enableAuthHint':_0x46c486(0x173),'connectionInfo':_0x46c486(0x169),'mcpClientConfig':_0x46c486(0x169),'configInstructions':_0x46c486(0x182),'configStepTitle':_0x46c486(0x16d),'configStep1':_0x46c486(0x197),'configStep2':_0x46c486(0x170),'configStep3':_0x46c486(0x178),'sessionId':_0x46c486(0x18f),'sessionIdDescription':_0x46c486(0x185),'authorizationDescription':_0x46c486(0x16c),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x46c486(0x187),'saving':'Saving...','note1':_0x46c486(0x17b),'note2':_0x46c486(0x177),'configSaved':_0x46c486(0x194),'configError':_0x46c486(0x17d),'apiApplyInfo':{'title':_0x46c486(0x18b),'description':_0x46c486(0x179),'univerAiLabel':_0x46c486(0x19c),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x46c486(0x176),'apiKeyTooShort':_0x46c486(0x189),'invalidConfig':_0x46c486(0x175),'invalidApiKey':_0x46c486(0x16a)},'connectionStatus':{'disconnected':_0x46c486(0x196),'connecting':'Connecting...','connected':_0x46c486(0x17f),'failed':_0x46c486(0x192),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x46c486(0x191),'sessionOccupied':_0x46c486(0x16f),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x46c486(0x180)}}};module[_0x46c486(0x190)]=e;function _0xff0e(_0x134204,_0x2a10c9){const _0x221c21=_0x221c();return _0xff0e=function(_0xff0eb1,_0x1081e5){_0xff0eb1=_0xff0eb1-0x165;let _0x44874d=_0x221c21[_0xff0eb1];return _0x44874d;},_0xff0e(_0x134204,_0x2a10c9);}function _0x221c(){const _0x3b42e2=['190VnOsry','Save\x20Configuration','MCP\x20Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Unauthorized','What\x20is\x20API\x20Key?','Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','16gfEYrP','Session\x20ID','exports','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connection\x20Failed','MCP\x20Connecting...','Configuration\x20saved\x20successfully','MCP\x20Connected','Disconnected','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Session\x20ID\x20Occupied','642412uZpkwf','5YoEVKT','Enable\x20Authentication','Univer\x20AI\x20Console','634955aRhdXi','MCP\x20Configuration','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','8DtPHyv','31082196QbPnlO','MCP\x20Client\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','767727QBQziD','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Steps:','560907tVrIkx','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','11AzGKTw','6886467ddYBDJ','Enable\x20authentication\x20for\x20secure\x20connections','API\x20Key','Invalid\x20configuration','API\x20key\x20is\x20required','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\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.','MCP\x20Connection\x20Failed','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','5131044mqQKqt','Failed\x20to\x20save\x20configuration','MCP:\x20Network\x20Error','Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Unknown\x20Status','Click\x20to\x20connect\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.'];_0x221c=function(){return _0x3b42e2;};return _0x221c();}
1
+ 'use strict';const _0x88178b=_0x200e;(function(_0x5c04aa,_0x34abd1){const _0x42e515=_0x200e,_0x49abc3=_0x5c04aa();while(!![]){try{const _0x4be35c=-parseInt(_0x42e515(0xee))/0x1*(-parseInt(_0x42e515(0xe3))/0x2)+parseInt(_0x42e515(0xdd))/0x3+-parseInt(_0x42e515(0xd4))/0x4+-parseInt(_0x42e515(0xd2))/0x5+parseInt(_0x42e515(0xe2))/0x6*(-parseInt(_0x42e515(0xf9))/0x7)+parseInt(_0x42e515(0xdb))/0x8*(parseInt(_0x42e515(0xef))/0x9)+parseInt(_0x42e515(0xf8))/0xa;if(_0x4be35c===_0x34abd1)break;else _0x49abc3['push'](_0x49abc3['shift']());}catch(_0x5449c1){_0x49abc3['push'](_0x49abc3['shift']());}}}(_0x4d0c,0x89704));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x88178b(0xe4),'connected':_0x88178b(0xf5),'failed':_0x88178b(0xda),'retrying':_0x88178b(0xe1),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x88178b(0xcc),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x88178b(0xec),'maxRetriesExceeded':_0x88178b(0xe0),'clickToConnect':_0x88178b(0xd6),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x88178b(0xf2),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x88178b(0xcd),'apiKeyPlaceholder':_0x88178b(0xd1),'apiKeyHint':_0x88178b(0xd0),'enableAuth':_0x88178b(0xeb),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x88178b(0xe7),'mcpClientConfig':_0x88178b(0xe7),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x88178b(0xf0),'configStep1':_0x88178b(0xd5),'configStep2':_0x88178b(0xd3),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x88178b(0xe5),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x88178b(0xed),'configParameters':_0x88178b(0xdc),'maxRetries':_0x88178b(0xf3),'save':_0x88178b(0xfa),'saving':_0x88178b(0xe8),'note1':_0x88178b(0xde),'note2':_0x88178b(0xca),'configSaved':_0x88178b(0xea),'configError':_0x88178b(0xcf),'apiApplyInfo':{'title':_0x88178b(0xe6),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x88178b(0xce)},'validation':{'apiKeyRequired':_0x88178b(0xf6),'apiKeyTooShort':_0x88178b(0xdf),'invalidConfig':_0x88178b(0xd7),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x88178b(0xcb),'connecting':'Connecting...','connected':_0x88178b(0xf7),'failed':_0x88178b(0xf4),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x88178b(0xd8),'sessionOccupied':_0x88178b(0xe9),'networkError':_0x88178b(0xf1),'maxRetriesExceeded':_0x88178b(0xd9)}}};module['exports']=e;function _0x200e(_0xf58018,_0x3fecef){const _0x4d0cdc=_0x4d0c();return _0x200e=function(_0x200e8d,_0x1b1b52){_0x200e8d=_0x200e8d-0xca;let _0xfcee4=_0x4d0cdc[_0x200e8d];return _0xfcee4;},_0x200e(_0xf58018,_0x3fecef);}function _0x4d0c(){const _0x24ed0a=['API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Retrying...','1617234lPsIjT','73782wrZSXH','MCP\x20Connecting...','Session\x20ID','What\x20is\x20API\x20Key?','MCP\x20Client\x20Configuration','Saving...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','Enable\x20Authentication','MCP:\x20Network\x20Error','API\x20key\x20with\x20Bearer\x20prefix.','7bKblix','18uiFwxm','Configuration\x20Steps:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Configuration','Max\x20Retries','Connection\x20Failed','MCP\x20Connected','API\x20key\x20is\x20required','Connected','12551820LJIUby','21UvQGzK','Save\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Disconnected','MCP:\x20Unauthorized','API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','Failed\x20to\x20save\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enter\x20your\x20API\x20key','2901365oQoeiO','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','3664044FCyWvI','Copy\x20the\x20JSON\x20configuration\x20below','Click\x20to\x20connect\x20MCP','Invalid\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','4351096uuRMoJ','Configuration\x20Parameters:','799968bjUGno','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x4d0c=function(){return _0x24ed0a;};return _0x4d0c();}
@@ -1 +1 @@
1
- 'use strict';const _0x2c2a67=_0x2c41;(function(_0x401eb4,_0x4e4cf9){const _0x47f91a=_0x2c41,_0x2cd195=_0x401eb4();while(!![]){try{const _0x3aaed6=-parseInt(_0x47f91a(0x83))/0x1*(parseInt(_0x47f91a(0x68))/0x2)+parseInt(_0x47f91a(0x7d))/0x3+parseInt(_0x47f91a(0x90))/0x4*(parseInt(_0x47f91a(0x81))/0x5)+-parseInt(_0x47f91a(0x82))/0x6*(parseInt(_0x47f91a(0x9e))/0x7)+parseInt(_0x47f91a(0x99))/0x8*(-parseInt(_0x47f91a(0x8b))/0x9)+parseInt(_0x47f91a(0x76))/0xa*(-parseInt(_0x47f91a(0x75))/0xb)+parseInt(_0x47f91a(0x8d))/0xc*(parseInt(_0x47f91a(0x8a))/0xd);if(_0x3aaed6===_0x4e4cf9)break;else _0x2cd195['push'](_0x2cd195['shift']());}catch(_0x123b9c){_0x2cd195['push'](_0x2cd195['shift']());}}}(_0x5786,0xb738a));function _0x2c41(_0xdc325,_0x25fa35){const _0x578687=_0x5786();return _0x2c41=function(_0x2c41b7,_0x193a56){_0x2c41b7=_0x2c41b7-0x67;let _0x51c0bf=_0x578687[_0x2c41b7];return _0x51c0bf;},_0x2c41(_0xdc325,_0x25fa35);}const e={'mcpStatus':{'disconnected':_0x2c2a67(0x7b),'connecting':'MCP\x20Connecting...','connected':_0x2c2a67(0x6f),'failed':_0x2c2a67(0x7e),'retrying':_0x2c2a67(0x95),'unknown':_0x2c2a67(0x6b),'unauthorized':_0x2c2a67(0x6c),'sessionOccupied':_0x2c2a67(0x9a),'networkError':_0x2c2a67(0x7f),'maxRetriesExceeded':_0x2c2a67(0x78),'clickToConnect':_0x2c2a67(0x97),'clickToConfigure':_0x2c2a67(0x6a)},'mcpConfig':{'title':_0x2c2a67(0x74),'description':_0x2c2a67(0x77),'apiKey':_0x2c2a67(0x9c),'apiKeyPlaceholder':_0x2c2a67(0x72),'apiKeyHint':_0x2c2a67(0x73),'enableAuth':_0x2c2a67(0x79),'enableAuthHint':_0x2c2a67(0x93),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2c2a67(0xa0),'configInstructions':_0x2c2a67(0x67),'configStepTitle':_0x2c2a67(0x86),'configStep1':_0x2c2a67(0x88),'configStep2':_0x2c2a67(0x6e),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x2c2a67(0x80),'sessionIdDescription':_0x2c2a67(0x9d),'authorizationDescription':_0x2c2a67(0x7c),'configParameters':_0x2c2a67(0x89),'maxRetries':_0x2c2a67(0x94),'save':_0x2c2a67(0x84),'saving':_0x2c2a67(0x71),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x2c2a67(0x85),'configError':_0x2c2a67(0x8e),'apiApplyInfo':{'title':_0x2c2a67(0x96),'description':_0x2c2a67(0x6d),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2c2a67(0x92),'apiKeyTooShort':_0x2c2a67(0x70),'invalidConfig':_0x2c2a67(0x87),'invalidApiKey':_0x2c2a67(0x8c)},'connectionStatus':{'disconnected':_0x2c2a67(0x98),'connecting':_0x2c2a67(0x9b),'connected':'Connected','failed':_0x2c2a67(0x69),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2c2a67(0x8f),'sessionOccupied':_0x2c2a67(0x9f),'networkError':_0x2c2a67(0x91),'maxRetriesExceeded':_0x2c2a67(0x7a)}}},n=e;module['exports']=n;function _0x5786(){const _0x3c5cd4=['Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Configuration','9305219ymIsDe','10sBjBSS','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20Authentication','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Disconnected','API\x20key\x20with\x20Bearer\x20prefix.','856983mqueLb','MCP\x20Connection\x20Failed','MCP:\x20Network\x20Error','Session\x20ID','12170mIufCp','6454926HGXxXB','29504wWLdxi','Save\x20Configuration','Configuration\x20saved\x20successfully','Configuration\x20Steps:','Invalid\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20Parameters:','520CQMavv','4104639pbkkay','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1260888PRUOCA','Failed\x20to\x20save\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','912tLCMUs','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20is\x20required','Enable\x20authentication\x20for\x20secure\x20connections','Max\x20Retries','MCP\x20Retrying...','What\x20is\x20API\x20Key?','Click\x20to\x20connect\x20MCP','Disconnected','24UNSWRA','MCP:\x20Session\x20ID\x20Occupied','Connecting...','API\x20Key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','7cLmhhU','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','68TMqiDI','Connection\x20Failed','Click\x20to\x20configure\x20MCP','MCP\x20Unknown\x20Status','MCP:\x20Unauthorized','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','MCP\x20Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Saving...'];_0x5786=function(){return _0x3c5cd4;};return _0x5786();}
1
+ 'use strict';const _0x4f80e2=_0x2776;(function(_0x59df18,_0x1e7821){const _0x1b6853=_0x2776,_0x10aed6=_0x59df18();while(!![]){try{const _0x254cdf=parseInt(_0x1b6853(0xdc))/0x1+-parseInt(_0x1b6853(0xca))/0x2*(-parseInt(_0x1b6853(0xe0))/0x3)+-parseInt(_0x1b6853(0xea))/0x4*(parseInt(_0x1b6853(0xe6))/0x5)+-parseInt(_0x1b6853(0xc8))/0x6*(-parseInt(_0x1b6853(0xde))/0x7)+parseInt(_0x1b6853(0xdf))/0x8*(parseInt(_0x1b6853(0xfa))/0x9)+-parseInt(_0x1b6853(0xed))/0xa*(parseInt(_0x1b6853(0xd9))/0xb)+-parseInt(_0x1b6853(0xf7))/0xc;if(_0x254cdf===_0x1e7821)break;else _0x10aed6['push'](_0x10aed6['shift']());}catch(_0x2602e3){_0x10aed6['push'](_0x10aed6['shift']());}}}(_0x18bb,0x47f67));function _0x2776(_0x33dba5,_0x3bcb25){const _0x18bb46=_0x18bb();return _0x2776=function(_0x277654,_0x265eb2){_0x277654=_0x277654-0xc8;let _0x1bd801=_0x18bb46[_0x277654];return _0x1bd801;},_0x2776(_0x33dba5,_0x3bcb25);}const e={'mcpStatus':{'disconnected':_0x4f80e2(0xe9),'connecting':_0x4f80e2(0xee),'connected':_0x4f80e2(0xd7),'failed':_0x4f80e2(0xe2),'retrying':'MCP\x20Retrying...','unknown':_0x4f80e2(0xd0),'unauthorized':_0x4f80e2(0xe3),'sessionOccupied':_0x4f80e2(0xf4),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x4f80e2(0xda),'clickToConnect':_0x4f80e2(0xd3),'clickToConfigure':_0x4f80e2(0xcf)},'mcpConfig':{'title':_0x4f80e2(0xf2),'description':_0x4f80e2(0xd8),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4f80e2(0xf1),'apiKeyHint':_0x4f80e2(0xd2),'enableAuth':_0x4f80e2(0xf5),'enableAuthHint':_0x4f80e2(0xf0),'connectionInfo':_0x4f80e2(0xd6),'mcpClientConfig':_0x4f80e2(0xd6),'configInstructions':_0x4f80e2(0xd4),'configStepTitle':_0x4f80e2(0xcd),'configStep1':_0x4f80e2(0xdd),'configStep2':_0x4f80e2(0xcb),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4f80e2(0xeb),'sessionIdDescription':_0x4f80e2(0xe1),'authorizationDescription':_0x4f80e2(0xf8),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x4f80e2(0xce),'saving':_0x4f80e2(0xf6),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x4f80e2(0xd5),'configSaved':_0x4f80e2(0xe5),'configError':_0x4f80e2(0xdb),'apiApplyInfo':{'title':_0x4f80e2(0xc9),'description':_0x4f80e2(0xe8),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x4f80e2(0xef),'invalidApiKey':_0x4f80e2(0xd1)},'connectionStatus':{'disconnected':_0x4f80e2(0xcc),'connecting':'Connecting...','connected':_0x4f80e2(0xf9),'failed':_0x4f80e2(0xe7),'retrying':_0x4f80e2(0xf3)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4f80e2(0xec)}}},n=e;function _0x18bb(){const _0x5dc02a=['Configuration\x20Steps:','Save\x20Configuration','Click\x20to\x20configure\x20MCP','MCP\x20Unknown\x20Status','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20connect\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Client\x20Configuration','MCP\x20Connected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','150931bmpHaT','MCP:\x20Max\x20Retries\x20Exceeded','Failed\x20to\x20save\x20configuration','199048Jmpbtv','Copy\x20the\x20JSON\x20configuration\x20below','442911dCTkzb','16aDccWb','1328163wGjRYO','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Connection\x20Failed','MCP:\x20Unauthorized','exports','Configuration\x20saved\x20successfully','45uJLHuL','Connection\x20Failed','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Disconnected','189856JenUsX','Session\x20ID','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','70AESHSW','MCP\x20Connecting...','Invalid\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','Enter\x20your\x20API\x20key','MCP\x20Configuration','Retrying...','MCP:\x20Session\x20ID\x20Occupied','Enable\x20Authentication','Saving...','5895336BYmKcn','API\x20key\x20with\x20Bearer\x20prefix.','Connected','1010610ZMTERq','42xATaqD','What\x20is\x20API\x20Key?','2KjzHAg','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Disconnected'];_0x18bb=function(){return _0x5dc02a;};return _0x18bb();}module[_0x4f80e2(0xe4)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x5c97(_0xf50dd5,_0x2dbde4){const _0x5cca67=_0x5cca();return _0x5c97=function(_0x5c97a5,_0x4af8b9){_0x5c97a5=_0x5c97a5-0x18b;let _0x14f6ef=_0x5cca67[_0x5c97a5];return _0x14f6ef;},_0x5c97(_0xf50dd5,_0x2dbde4);}function _0x5cca(){const _0x4ef124=['API\x20key\x20with\x20Bearer\x20prefix.','Disconnected','Session\x20ID','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','1148847pmyIEW','Univer\x20AI\x20Console','API\x20Key','14XATEeI','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','455024PekCYj','Configuration\x20saved\x20successfully','13523710hCtvpM','MCP\x20Client\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Disconnected','2439722ELdcuK','5739921AdtUya','8TzhxqG','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Steps:','MCP\x20Connected','MCP:\x20Session\x20ID\x20Occupied','Enter\x20your\x20API\x20key','MCP\x20Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','6AjCCty','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Max\x20Retries','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1779054rUSZzf','What\x20is\x20API\x20Key?','Connection\x20Failed','Save\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Network\x20Error','Click\x20to\x20configure\x20MCP','Configuration\x20Parameters:','6816185SCFOaf','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Saving...','MCP\x20Configuration'];_0x5cca=function(){return _0x4ef124;};return _0x5cca();}const _0x3d6fed=_0x5c97;(function(_0x36d4fd,_0x1998ca){const _0x582972=_0x5c97,_0x4985e9=_0x36d4fd();while(!![]){try{const _0x3f327e=parseInt(_0x582972(0x1b9))/0x1+-parseInt(_0x582972(0x196))/0x2+-parseInt(_0x582972(0x1a9))/0x3*(parseInt(_0x582972(0x198))/0x4)+parseInt(_0x582972(0x1b1))/0x5*(parseInt(_0x582972(0x1a5))/0x6)+-parseInt(_0x582972(0x18d))/0x7*(-parseInt(_0x582972(0x190))/0x8)+-parseInt(_0x582972(0x197))/0x9+parseInt(_0x582972(0x192))/0xa;if(_0x3f327e===_0x1998ca)break;else _0x4985e9['push'](_0x4985e9['shift']());}catch(_0x2c1065){_0x4985e9['push'](_0x4985e9['shift']());}}}(_0x5cca,0xe4291));const e={'mcpStatus':{'disconnected':_0x3d6fed(0x195),'connecting':_0x3d6fed(0x1a3),'connected':_0x3d6fed(0x1a0),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x3d6fed(0x1a1),'networkError':_0x3d6fed(0x1ae),'maxRetriesExceeded':_0x3d6fed(0x19e),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3d6fed(0x1af)},'mcpConfig':{'title':_0x3d6fed(0x1b4),'description':_0x3d6fed(0x1b8),'apiKey':_0x3d6fed(0x18c),'apiKeyPlaceholder':_0x3d6fed(0x1a2),'apiKeyHint':_0x3d6fed(0x19a),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x3d6fed(0x19d),'connectionInfo':_0x3d6fed(0x193),'mcpClientConfig':_0x3d6fed(0x193),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x3d6fed(0x19f),'configStep1':_0x3d6fed(0x19c),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3d6fed(0x1b2),'sessionId':_0x3d6fed(0x1b7),'sessionIdDescription':_0x3d6fed(0x1ad),'authorizationDescription':_0x3d6fed(0x1b5),'configParameters':_0x3d6fed(0x1b0),'maxRetries':_0x3d6fed(0x1a7),'save':_0x3d6fed(0x1ac),'saving':_0x3d6fed(0x1b3),'note1':_0x3d6fed(0x18e),'note2':_0x3d6fed(0x1a4),'configSaved':_0x3d6fed(0x191),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3d6fed(0x1aa),'description':_0x3d6fed(0x18f),'univerAiLabel':_0x3d6fed(0x18b),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x3d6fed(0x19b),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x3d6fed(0x1a8)},'connectionStatus':{'disconnected':_0x3d6fed(0x1b6),'connecting':'Connecting...','connected':'Connected','failed':_0x3d6fed(0x1ab),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x3d6fed(0x1a6),'networkError':_0x3d6fed(0x199),'maxRetriesExceeded':_0x3d6fed(0x194)}}},n=e;module['exports']=n;
1
+ 'use strict';function _0x3931(_0x5f1382,_0x459383){const _0x5f262c=_0x5f26();return _0x3931=function(_0x393183,_0x1ef5b0){_0x393183=_0x393183-0x7f;let _0x21d16c=_0x5f262c[_0x393183];return _0x21d16c;},_0x3931(_0x5f1382,_0x459383);}const _0x43ce46=_0x3931;function _0x5f26(){const _0x3807a5=['1240463CmoeWl','Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Retrying...','Save\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','6049404VcDfDU','MCP:\x20Unauthorized','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','Click\x20to\x20configure\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20Steps:','MCP\x20Unknown\x20Status','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Configuration','Max\x20Retries','API\x20key\x20with\x20Bearer\x20prefix.','Failed\x20to\x20save\x20configuration','70VQZfoE','Enable\x20Authentication','365724MBwOXP','Configuration\x20saved\x20successfully','What\x20is\x20API\x20Key?','MCP\x20Connected','Disconnected','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','1984116dbObgg','Session\x20ID','Configuration\x20Parameters:','Univer\x20AI\x20Console','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','145RbaEVv','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','2FlJRFb','Enter\x20your\x20API\x20key','MCP:\x20Network\x20Error','9414042BGyVup','MCP\x20Connecting...','MCP\x20Connection\x20Failed','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','10252456BXIkSF','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','7OEtaDR','53752YWjcZm','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'];_0x5f26=function(){return _0x3807a5;};return _0x5f26();}(function(_0x4dd499,_0x4ea0a5){const _0x453d5b=_0x3931,_0x34992e=_0x4dd499();while(!![]){try{const _0x4e10ac=parseInt(_0x453d5b(0x9f))/0x1*(parseInt(_0x453d5b(0x91))/0x2)+parseInt(_0x453d5b(0x8a))/0x3+parseInt(_0x453d5b(0x9d))/0x4*(-parseInt(_0x453d5b(0x8f))/0x5)+-parseInt(_0x453d5b(0xa7))/0x6+-parseInt(_0x453d5b(0x9c))/0x7*(-parseInt(_0x453d5b(0x98))/0x8)+parseInt(_0x453d5b(0x83))/0x9*(-parseInt(_0x453d5b(0x81))/0xa)+-parseInt(_0x453d5b(0x94))/0xb;if(_0x4e10ac===_0x4ea0a5)break;else _0x34992e['push'](_0x34992e['shift']());}catch(_0xd617ed){_0x34992e['push'](_0x34992e['shift']());}}}(_0x5f26,0x9d83e));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x43ce46(0x95),'connected':_0x43ce46(0x86),'failed':_0x43ce46(0x96),'retrying':_0x43ce46(0xab),'unknown':_0x43ce46(0xb2),'unauthorized':_0x43ce46(0xa8),'sessionOccupied':_0x43ce46(0xa5),'networkError':_0x43ce46(0x93),'maxRetriesExceeded':_0x43ce46(0xad),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x43ce46(0xac)},'mcpConfig':{'title':_0x43ce46(0xb4),'description':_0x43ce46(0x99),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x43ce46(0x92),'apiKeyHint':_0x43ce46(0xa1),'enableAuth':_0x43ce46(0x82),'enableAuthHint':_0x43ce46(0xb0),'connectionInfo':_0x43ce46(0x89),'mcpClientConfig':_0x43ce46(0x89),'configInstructions':_0x43ce46(0x9b),'configStepTitle':_0x43ce46(0xb1),'configStep1':_0x43ce46(0x88),'configStep2':_0x43ce46(0xaf),'configStep3':_0x43ce46(0x90),'sessionId':_0x43ce46(0x8b),'sessionIdDescription':_0x43ce46(0xa9),'authorizationDescription':_0x43ce46(0x7f),'configParameters':_0x43ce46(0x8c),'maxRetries':_0x43ce46(0xb5),'save':_0x43ce46(0xa4),'saving':_0x43ce46(0x9a),'note1':_0x43ce46(0xb3),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x43ce46(0x84),'configError':_0x43ce46(0x80),'apiApplyInfo':{'title':_0x43ce46(0x85),'description':_0x43ce46(0x8e),'univerAiLabel':_0x43ce46(0x8d),'getStarted':_0x43ce46(0xaa)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x43ce46(0xa6),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x43ce46(0x9e)},'connectionStatus':{'disconnected':_0x43ce46(0x87),'connecting':'Connecting...','connected':'Connected','failed':_0x43ce46(0xa0),'retrying':_0x43ce46(0xa3)},'connectionError':{'unauthorized':_0x43ce46(0xae),'sessionOccupied':_0x43ce46(0x97),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x43ce46(0xa2)}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0xe86930=_0x2315;(function(_0x2b6d71,_0x156593){const _0xe4152f=_0x2315,_0x579907=_0x2b6d71();while(!![]){try{const _0x2f564f=-parseInt(_0xe4152f(0x162))/0x1+parseInt(_0xe4152f(0x17d))/0x2*(parseInt(_0xe4152f(0x161))/0x3)+-parseInt(_0xe4152f(0x178))/0x4+parseInt(_0xe4152f(0x171))/0x5+-parseInt(_0xe4152f(0x164))/0x6*(-parseInt(_0xe4152f(0x17f))/0x7)+-parseInt(_0xe4152f(0x179))/0x8+parseInt(_0xe4152f(0x174))/0x9;if(_0x2f564f===_0x156593)break;else _0x579907['push'](_0x579907['shift']());}catch(_0x483804){_0x579907['push'](_0x579907['shift']());}}}(_0x2e1a,0xc5fa9));function _0x2315(_0x563c76,_0x8c9c49){const _0x2e1a73=_0x2e1a();return _0x2315=function(_0x231553,_0x4492a4){_0x231553=_0x231553-0x15a;let _0x40d3a8=_0x2e1a73[_0x231553];return _0x40d3a8;},_0x2315(_0x563c76,_0x8c9c49);}const e={'mcpStatus':{'disconnected':_0xe86930(0x15f),'connecting':_0xe86930(0x16f),'connected':_0xe86930(0x18c),'failed':'MCP\x20Connection\x20Failed','retrying':_0xe86930(0x18d),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0xe86930(0x165),'sessionOccupied':_0xe86930(0x177),'networkError':_0xe86930(0x183),'maxRetriesExceeded':_0xe86930(0x181),'clickToConnect':_0xe86930(0x172),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xe86930(0x15d),'description':_0xe86930(0x16a),'apiKey':_0xe86930(0x188),'apiKeyPlaceholder':_0xe86930(0x16d),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0xe86930(0x16e),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0xe86930(0x169),'configInstructions':_0xe86930(0x182),'configStepTitle':'Configuration\x20Steps:','configStep1':_0xe86930(0x17b),'configStep2':_0xe86930(0x15a),'configStep3':_0xe86930(0x170),'sessionId':'Session\x20ID','sessionIdDescription':_0xe86930(0x176),'authorizationDescription':_0xe86930(0x16b),'configParameters':_0xe86930(0x187),'maxRetries':_0xe86930(0x166),'save':_0xe86930(0x18a),'saving':_0xe86930(0x15c),'note1':_0xe86930(0x15b),'note2':_0xe86930(0x186),'configSaved':_0xe86930(0x189),'configError':_0xe86930(0x163),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xe86930(0x167),'univerAiLabel':_0xe86930(0x160),'getStarted':_0xe86930(0x16c)},'validation':{'apiKeyRequired':_0xe86930(0x180),'apiKeyTooShort':_0xe86930(0x184),'invalidConfig':_0xe86930(0x17c),'invalidApiKey':_0xe86930(0x175)},'connectionStatus':{'disconnected':_0xe86930(0x17e),'connecting':_0xe86930(0x17a),'connected':_0xe86930(0x168),'failed':_0xe86930(0x173),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0xe86930(0x185),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0xe86930(0x18b),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0xe86930(0x15e)]=n;function _0x2e1a(){const _0x90f31e=['Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20Parameters:','API\x20Key','Configuration\x20saved\x20successfully','Save\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connected','MCP\x20Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Saving...','MCP\x20Configuration','exports','MCP\x20Disconnected','Univer\x20AI\x20Console','3lARsgq','1379143zvRPdh','Failed\x20to\x20save\x20configuration','2980140XmciuG','MCP:\x20Unauthorized','Max\x20Retries','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connected','MCP\x20Client\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20with\x20Bearer\x20prefix.','Get\x20your\x20API\x20key\x20in\x20seconds','Enter\x20your\x20API\x20key','Enable\x20Authentication','MCP\x20Connecting...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','6280585yvEJRl','Click\x20to\x20connect\x20MCP','Connection\x20Failed','5262894aNuAEW','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Session\x20ID\x20Occupied','2402076sZtTMo','1350072qCRpJj','Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20configuration','250158lyfjMB','Disconnected','14khWbJo','API\x20key\x20is\x20required','MCP:\x20Max\x20Retries\x20Exceeded','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Network\x20Error','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key'];_0x2e1a=function(){return _0x90f31e;};return _0x2e1a();}
1
+ 'use strict';const _0xa83bc1=_0x2ba4;(function(_0x41d197,_0xf1761){const _0x50ab45=_0x2ba4,_0x11e4a7=_0x41d197();while(!![]){try{const _0x4305aa=-parseInt(_0x50ab45(0xb2))/0x1*(parseInt(_0x50ab45(0xd6))/0x2)+-parseInt(_0x50ab45(0xbe))/0x3*(parseInt(_0x50ab45(0xcf))/0x4)+-parseInt(_0x50ab45(0xb3))/0x5*(parseInt(_0x50ab45(0xcb))/0x6)+parseInt(_0x50ab45(0xc4))/0x7*(parseInt(_0x50ab45(0xda))/0x8)+-parseInt(_0x50ab45(0xdf))/0x9*(parseInt(_0x50ab45(0xd7))/0xa)+parseInt(_0x50ab45(0xc3))/0xb*(-parseInt(_0x50ab45(0xbf))/0xc)+-parseInt(_0x50ab45(0xc8))/0xd*(-parseInt(_0x50ab45(0xbb))/0xe);if(_0x4305aa===_0xf1761)break;else _0x11e4a7['push'](_0x11e4a7['shift']());}catch(_0x5efad9){_0x11e4a7['push'](_0x11e4a7['shift']());}}}(_0x558f,0x3e6df));function _0x2ba4(_0x10422f,_0x722e94){const _0x558fec=_0x558f();return _0x2ba4=function(_0x2ba40f,_0x258038){_0x2ba40f=_0x2ba40f-0xaf;let _0x49138c=_0x558fec[_0x2ba40f];return _0x49138c;},_0x2ba4(_0x10422f,_0x722e94);}const e={'mcpStatus':{'disconnected':_0xa83bc1(0xce),'connecting':_0xa83bc1(0xb8),'connected':_0xa83bc1(0xc1),'failed':_0xa83bc1(0xd4),'retrying':'MCP\x20Retrying...','unknown':_0xa83bc1(0xde),'unauthorized':_0xa83bc1(0xaf),'sessionOccupied':_0xa83bc1(0xbc),'networkError':_0xa83bc1(0xb6),'maxRetriesExceeded':_0xa83bc1(0xb5),'clickToConnect':_0xa83bc1(0xc5),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xa83bc1(0xc0),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0xa83bc1(0xd3),'apiKeyPlaceholder':_0xa83bc1(0xe0),'apiKeyHint':_0xa83bc1(0xcd),'enableAuth':_0xa83bc1(0xb7),'enableAuthHint':_0xa83bc1(0xb1),'connectionInfo':_0xa83bc1(0xdc),'mcpClientConfig':_0xa83bc1(0xdc),'configInstructions':_0xa83bc1(0xc6),'configStepTitle':_0xa83bc1(0xc9),'configStep1':_0xa83bc1(0xb4),'configStep2':_0xa83bc1(0xd8),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0xa83bc1(0xd9),'sessionIdDescription':_0xa83bc1(0xe4),'authorizationDescription':_0xa83bc1(0xb0),'configParameters':_0xa83bc1(0xe3),'maxRetries':_0xa83bc1(0xd5),'save':_0xa83bc1(0xc2),'saving':_0xa83bc1(0xdd),'note1':_0xa83bc1(0xe2),'note2':_0xa83bc1(0xc7),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xa83bc1(0xdb),'description':_0xa83bc1(0xba),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xa83bc1(0xd2),'invalidConfig':_0xa83bc1(0xe1),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0xa83bc1(0xbd),'failed':_0xa83bc1(0xcc),'retrying':_0xa83bc1(0xd0)},'connectionError':{'unauthorized':_0xa83bc1(0xca),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0xa83bc1(0xb9)}}},n=e;function _0x558f(){const _0x4d95b7=['Enter\x20your\x20API\x20key','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Parameters:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Unauthorized','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20authentication\x20for\x20secure\x20connections','2pgMMBe','340wVqroE','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Network\x20Error','Enable\x20Authentication','MCP\x20Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','154IUgNSE','MCP:\x20Session\x20ID\x20Occupied','Connected','49320RdAAas','132ABONHF','MCP\x20Configuration','MCP\x20Connected','Save\x20Configuration','49379uYPwqm','66227CIDUCJ','Click\x20to\x20connect\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1621204fxoxcA','Configuration\x20Steps:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','30324FiRMYv','Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Disconnected','120CXrSYg','Retrying...','exports','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key','MCP\x20Connection\x20Failed','Max\x20Retries','458554OGOfbo','50JXOwix','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Session\x20ID','424kcopoH','What\x20is\x20API\x20Key?','MCP\x20Client\x20Configuration','Saving...','MCP\x20Unknown\x20Status','490869hmeRvf'];_0x558f=function(){return _0x4d95b7;};return _0x558f();}module[_0xa83bc1(0xd1)]=n;