@univerjs-pro/mcp-ui 0.10.9-nightly.202509260614 → 0.10.10-experimental.20251010-3f807c5

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 +9 -9
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
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
+ 'use strict';var _0x3f9b05=_0x12fc;(function(_0xb7e788,_0x22c30b){var _0x153a87=_0x12fc,_0x3d1d54=_0xb7e788();while(!![]){try{var _0x1f196a=-parseInt(_0x153a87(0x32c))/0x1+parseInt(_0x153a87(0x2ef))/0x2+-parseInt(_0x153a87(0x2d3))/0x3*(-parseInt(_0x153a87(0x207))/0x4)+parseInt(_0x153a87(0x2df))/0x5+-parseInt(_0x153a87(0x330))/0x6+parseInt(_0x153a87(0x25b))/0x7*(parseInt(_0x153a87(0x353))/0x8)+parseInt(_0x153a87(0x256))/0x9;if(_0x1f196a===_0x22c30b)break;else _0x3d1d54['push'](_0x3d1d54['shift']());}catch(_0xeaebc4){_0x3d1d54['push'](_0x3d1d54['shift']());}}}(_0x2ab2,0x77125));var ue=Object[_0x3f9b05(0x2bc)],le=(_0x35923c,_0x4f3ddd,_0x20af4e)=>_0x4f3ddd in _0x35923c?ue(_0x35923c,_0x4f3ddd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20af4e}):_0x35923c[_0x4f3ddd]=_0x20af4e,I=(_0x483cd4,_0x1f5106,_0x3c11da)=>le(_0x483cd4,typeof _0x1f5106!=_0x3f9b05(0x2c5)?_0x1f5106+'':_0x1f5106,_0x3c11da);Object[_0x3f9b05(0x2bc)](exports,Symbol[_0x3f9b05(0x2ed)],{'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');var g=function(){var _0xf87b6f=_0x3f9b05;return g=Object[_0xf87b6f(0x249)]||function(_0x3f24f9){var _0x40b29b=_0xf87b6f;for(var _0x1bc42c,_0x3c18bc=0x1,_0x1c9322=arguments[_0x40b29b(0x239)];_0x3c18bc<_0x1c9322;_0x3c18bc++){_0x1bc42c=arguments[_0x3c18bc];for(var _0x2f48aa in _0x1bc42c)Object[_0x40b29b(0x30b)]['hasOwnProperty'][_0x40b29b(0x32f)](_0x1bc42c,_0x2f48aa)&&(_0x3f24f9[_0x2f48aa]=_0x1bc42c[_0x2f48aa]);}return _0x3f24f9;},g[_0xf87b6f(0x1ee)](this,arguments);},ve=function(_0x594750,_0x37172d){var _0x24c188=_0x3f9b05,_0x4f81c8={};for(var _0x595991 in _0x594750)Object['prototype'][_0x24c188(0x2fd)]['call'](_0x594750,_0x595991)&&_0x37172d[_0x24c188(0x32d)](_0x595991)<0x0&&(_0x4f81c8[_0x595991]=_0x594750[_0x595991]);if(_0x594750!=null&&typeof Object[_0x24c188(0x30e)]==_0x24c188(0x28c)){for(var _0x8e8c5c=0x0,_0x595991=Object[_0x24c188(0x30e)](_0x594750);_0x8e8c5c<_0x595991[_0x24c188(0x239)];_0x8e8c5c++)_0x37172d[_0x24c188(0x32d)](_0x595991[_0x8e8c5c])<0x0&&Object[_0x24c188(0x30b)][_0x24c188(0x2ff)][_0x24c188(0x32f)](_0x594750,_0x595991[_0x8e8c5c])&&(_0x4f81c8[_0x595991[_0x8e8c5c]]=_0x594750[_0x595991[_0x8e8c5c]]);}return _0x4f81c8;},_=d[_0x3f9b05(0x294)](function(_0x540831,_0x9f3c8d){var _0x5f475f=_0x3f9b05,_0x26c443=_0x540831[_0x5f475f(0x1f9)],_0x253fe7=_0x540831['id'],_0x4b1edb=_0x540831[_0x5f475f(0x217)],_0x2c2657=_0x540831[_0x5f475f(0x349)],_0x1be9cf=ve(_0x540831,['icon','id',_0x5f475f(0x217),_0x5f475f(0x349)]),_0x442f73='univerjs-icon\x20univerjs-icon-'['concat'](_0x253fe7,'\x20')[_0x5f475f(0x299)](_0x4b1edb||'')['trim'](),_0x2a3e48=d[_0x5f475f(0x213)]('_'[_0x5f475f(0x299)](ge()));return H(_0x26c443,''['concat'](_0x253fe7),{'defIds':_0x26c443[_0x5f475f(0x279)],'idSuffix':_0x2a3e48[_0x5f475f(0x1ef)]},g({'ref':_0x9f3c8d,'className':_0x442f73},_0x1be9cf),_0x2c2657);});function H(_0x42757d,_0x316946,_0x1be973,_0x4c2ef0,_0x485bb9){var _0x2ce994=_0x3f9b05;return d['createElement'](_0x42757d[_0x2ce994(0x23e)],g(g({'key':_0x316946},de(_0x42757d,_0x1be973,_0x485bb9)),_0x4c2ef0),(Ce(_0x42757d,_0x1be973)[_0x2ce994(0x23b)]||[])[_0x2ce994(0x1f5)](function(_0x4b0d2b,_0x5b0499){var _0x3db9a1=_0x2ce994;return H(_0x4b0d2b,''[_0x3db9a1(0x299)](_0x316946,'-')[_0x3db9a1(0x299)](_0x42757d[_0x3db9a1(0x23e)],'-')[_0x3db9a1(0x299)](_0x5b0499),_0x1be973,void 0x0,_0x485bb9);}));}function de(_0x328e0d,_0x26faed,_0x55b0d0){var _0x316de8=_0x3f9b05,_0x321a34=g({},_0x328e0d[_0x316de8(0x241)]);_0x55b0d0!=null&&_0x55b0d0[_0x316de8(0x30d)]&&_0x321a34[_0x316de8(0x341)]===_0x316de8(0x30d)&&(_0x321a34[_0x316de8(0x341)]=_0x55b0d0[_0x316de8(0x30d)]),_0x328e0d[_0x316de8(0x23e)]===_0x316de8(0x219)&&_0x321a34['id']&&(_0x321a34['id']=_0x321a34['id']+_0x26faed[_0x316de8(0x32b)]),Object[_0x316de8(0x31c)](_0x321a34)[_0x316de8(0x291)](function(_0x366d0b){var _0x3234ac=_0x316de8,_0x82106e=_0x366d0b[0x0],_0xd2f2ce=_0x366d0b[0x1];_0x82106e===_0x3234ac(0x219)&&typeof _0xd2f2ce==_0x3234ac(0x205)&&(_0x321a34[_0x82106e]=_0xd2f2ce['replace'](/url\(#(.*)\)/,_0x3234ac(0x309)[_0x3234ac(0x299)](_0x26faed[_0x3234ac(0x32b)],')')));});var _0x4c7515=_0x26faed[_0x316de8(0x279)];return!_0x4c7515||_0x4c7515[_0x316de8(0x239)]===0x0||(_0x328e0d['tag']===_0x316de8(0x20b)&&_0x321a34[_0x316de8(0x2d2)]&&(_0x321a34[_0x316de8(0x2d2)]=_0x321a34[_0x316de8(0x2d2)]+_0x26faed[_0x316de8(0x32b)]),Object[_0x316de8(0x31c)](_0x321a34)[_0x316de8(0x291)](function(_0x61a44f){var _0x4126d9=_0x316de8,_0x5491ba=_0x61a44f[0x0],_0x5df7b2=_0x61a44f[0x1];typeof _0x5df7b2==_0x4126d9(0x205)&&(_0x321a34[_0x5491ba]=_0x5df7b2[_0x4126d9(0x289)](/url\(#(.*)\)/,_0x4126d9(0x309)['concat'](_0x26faed[_0x4126d9(0x32b)],')')));})),_0x321a34;}function Ce(_0xda7954,_0x1348a4){var _0x4573ae=_0x3f9b05,_0x582f70,_0x29f1a5=_0x1348a4[_0x4573ae(0x279)];return!_0x29f1a5||_0x29f1a5[_0x4573ae(0x239)]===0x0?_0xda7954:_0xda7954[_0x4573ae(0x23e)]===_0x4573ae(0x1d5)&&(!((_0x582f70=_0xda7954[_0x4573ae(0x23b)])===null||_0x582f70===void 0x0)&&_0x582f70['length'])?g(g({},_0xda7954),{'children':_0xda7954[_0x4573ae(0x23b)]['map'](function(_0x55a8a6){var _0x33f6ac=_0x4573ae;return typeof _0x55a8a6[_0x33f6ac(0x241)]['id']==_0x33f6ac(0x205)&&_0x29f1a5&&_0x29f1a5[_0x33f6ac(0x240)](_0x55a8a6[_0x33f6ac(0x241)]['id'])?g(g({},_0x55a8a6),{'attrs':g(g({},_0x55a8a6[_0x33f6ac(0x241)]),{'id':_0x55a8a6[_0x33f6ac(0x241)]['id']+_0x1348a4[_0x33f6ac(0x32b)]})}):_0x55a8a6;})}):_0xda7954;}function ge(){var _0x3175b7=_0x3f9b05;return Math[_0x3175b7(0x292)]()['toString'](0x24)['substring'](0x2,0x8);}_[_0x3f9b05(0x2e8)]=_0x3f9b05(0x2e9);var fe={'tag':_0x3f9b05(0x25a),'attrs':{'xmlns':_0x3f9b05(0x321),'fill':_0x3f9b05(0x2e6),'viewBox':_0x3f9b05(0x225),'width':_0x3f9b05(0x30f),'height':_0x3f9b05(0x30f)},'children':[{'tag':_0x3f9b05(0x24a),'attrs':{'fill':_0x3f9b05(0x306),'d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':_0x3f9b05(0x26b),'clipRule':_0x3f9b05(0x26b)}}]},B=d[_0x3f9b05(0x294)](function(_0x6a0ac2,_0x59ef89){var _0x53edfc=_0x3f9b05;return d[_0x53edfc(0x211)](_,Object[_0x53edfc(0x249)]({},_0x6a0ac2,{'id':_0x53edfc(0x30a),'ref':_0x59ef89,'icon':fe}));});B[_0x3f9b05(0x2e8)]=_0x3f9b05(0x248);var pe={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3f9b05(0x2e6),'viewBox':_0x3f9b05(0x202),'width':'1em','height':_0x3f9b05(0x30f)},'children':[{'tag':'path','attrs':{'stroke':_0x3f9b05(0x306),'d':_0x3f9b05(0x2e0),'strokeLinecap':_0x3f9b05(0x2c4),'strokeLinejoin':_0x3f9b05(0x2c4),'strokeWidth':1.33}},{'tag':_0x3f9b05(0x24a),'attrs':{'stroke':_0x3f9b05(0x306),'d':_0x3f9b05(0x26f),'strokeLinecap':_0x3f9b05(0x2c4),'strokeLinejoin':_0x3f9b05(0x2c4),'strokeWidth':1.33}}]},F=d[_0x3f9b05(0x294)](function(_0x3b3461,_0x236ea9){var _0x1237ae=_0x3f9b05;return d[_0x1237ae(0x211)](_,Object[_0x1237ae(0x249)]({},_0x3b3461,{'id':_0x1237ae(0x245),'ref':_0x236ea9,'icon':pe}));});F['displayName']=_0x3f9b05(0x203);var he={'tag':_0x3f9b05(0x25a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3f9b05(0x2e6),'viewBox':_0x3f9b05(0x225),'width':_0x3f9b05(0x30f),'height':_0x3f9b05(0x30f)},'children':[{'tag':_0x3f9b05(0x24a),'attrs':{'fill':'currentColor','d':_0x3f9b05(0x238)}},{'tag':_0x3f9b05(0x24a),'attrs':{'fill':_0x3f9b05(0x306),'d':_0x3f9b05(0x24f)}},{'tag':_0x3f9b05(0x24a),'attrs':{'fill':_0x3f9b05(0x306),'d':_0x3f9b05(0x34b),'fillRule':_0x3f9b05(0x26b),'clipRule':_0x3f9b05(0x26b)}}]},Y=d[_0x3f9b05(0x294)](function(_0x1a41e4,_0x40468b){var _0x3af2ae=_0x3f9b05;return d[_0x3af2ae(0x211)](_,Object[_0x3af2ae(0x249)]({},_0x1a41e4,{'id':_0x3af2ae(0x2a9),'ref':_0x40468b,'icon':he}));});Y[_0x3f9b05(0x2e8)]=_0x3f9b05(0x2c3);var me={'tag':_0x3f9b05(0x25a),'attrs':{'xmlns':_0x3f9b05(0x321),'fill':_0x3f9b05(0x2e6),'viewBox':_0x3f9b05(0x225),'width':_0x3f9b05(0x30f),'height':_0x3f9b05(0x30f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f9b05(0x26d)},'children':[{'tag':_0x3f9b05(0x24a),'attrs':{'stroke':_0x3f9b05(0x306),'d':_0x3f9b05(0x229),'strokeLinecap':_0x3f9b05(0x2c4),'strokeLinejoin':_0x3f9b05(0x2c4),'strokeWidth':1.2}}]},{'tag':_0x3f9b05(0x1d5),'attrs':{},'children':[{'tag':_0x3f9b05(0x29e),'attrs':{'id':_0x3f9b05(0x31f)},'children':[{'tag':_0x3f9b05(0x24a),'attrs':{'fill':_0x3f9b05(0x1fe),'d':_0x3f9b05(0x26e)}}]}]}],'defIds':[_0x3f9b05(0x31f)]},q=d[_0x3f9b05(0x294)](function(_0x31e83d,_0x5d7a9f){var _0x11be23=_0x3f9b05;return d[_0x11be23(0x211)](_,Object[_0x11be23(0x249)]({},_0x31e83d,{'id':_0x11be23(0x242),'ref':_0x5d7a9f,'icon':me}));});q[_0x3f9b05(0x2e8)]=_0x3f9b05(0x2ee);var xe={'tag':_0x3f9b05(0x25a),'attrs':{'xmlns':_0x3f9b05(0x321),'fill':'none','viewBox':_0x3f9b05(0x2f9),'width':_0x3f9b05(0x30f),'height':_0x3f9b05(0x30f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f9b05(0x2fc)},'children':[{'tag':'path','attrs':{'stroke':_0x3f9b05(0x306),'d':_0x3f9b05(0x1dc),'strokeLinecap':_0x3f9b05(0x2c4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3f9b05(0x1d5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f9b05(0x2b7)},'children':[{'tag':_0x3f9b05(0x24a),'attrs':{'fill':'white','d':_0x3f9b05(0x26e),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3f9b05(0x2b7)]},V=d[_0x3f9b05(0x294)](function(_0x42d040,_0x56adf9){var _0x38d54a=_0x3f9b05;return d[_0x38d54a(0x211)](_,Object['assign']({},_0x42d040,{'id':'on-line-icon','ref':_0x56adf9,'icon':xe}));});V[_0x3f9b05(0x2e8)]='OnLineIcon';function W(_0x5e2fcf){var _0xd415f9=_0x3f9b05,_0x5f51d5,_0x28b291;const {mcpCoreConfig:_0x75f603,onSave:_0x3cdd6c,loading:_0x21d064=!0x1,config:_0x48876a,connectionStatus$:_0x599258,connectionError$:_0x24be0e,currentApiKey$:_0x4fca82,currentSessionId$:_0x27abf0}=_0x5e2fcf,_0x342756=v[_0xd415f9(0x227)](l[_0xd415f9(0x233)]),_0x1cbabe=v[_0xd415f9(0x251)](_0x599258,s['MCPConnectionStatus'][_0xd415f9(0x32e)]),_0xb60ae9=v[_0xd415f9(0x251)](_0x24be0e,s['MCPConnectionError'][_0xd415f9(0x34e)]),_0x4f7876=v['useObservable'](_0x27abf0,''),_0x27a150=v['useObservable'](_0x4fca82,''),[_0x32cd82,_0x117702]=d[_0xd415f9(0x23a)](_0x27a150||''),_0x2529f5=!0x0,_0x102407=_0x48876a[_0xd415f9(0x274)]&&_0x75f603[_0xd415f9(0x22d)]&&(_0x75f603[_0xd415f9(0x22d)][_0xd415f9(0x240)](_0xd415f9(0x28f))||_0x75f603[_0xd415f9(0x22d)][_0xd415f9(0x240)](_0xd415f9(0x257))),_0x3a20cd=(_0x5f51d5=_0x75f603[_0xd415f9(0x22d)])==null?void 0x0:_0x5f51d5[_0xd415f9(0x240)](_0xd415f9(0x28f)),_0x529a82=(_0x28b291=_0x75f603[_0xd415f9(0x22d)])==null?void 0x0:_0x28b291[_0xd415f9(0x240)](_0xd415f9(0x257)),_0x3ef437=_0x3a20cd?_0xd415f9(0x30c):_0xd415f9(0x20c),_0x2cf723=_0x48876a[_0xd415f9(0x274)]&&(_0x3a20cd||_0x529a82),[_0xfc7ff9,_0x340d5b]=d[_0xd415f9(0x23a)](!_0x32cd82['trim']()),_0x1b875d=(_0x593dde,_0x42e10c)=>{var _0x328119=_0xd415f9;if(_0x42e10c===s['MCPConnectionError'][_0x328119(0x2b1)])return _0x328119(0x31e);switch(_0x593dde){case s[_0x328119(0x2c6)][_0x328119(0x276)]:return _0x328119(0x208);case s[_0x328119(0x2c6)][_0x328119(0x307)]:case s[_0x328119(0x2c6)][_0x328119(0x2f4)]:return _0x328119(0x2be);case s[_0x328119(0x2c6)]['FAILED']:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x328119(0x2a3);}},_0x583306=(_0x2b4e51,_0x47b720)=>{var _0x28bc25=_0xd415f9;if(_0x47b720===s[_0x28bc25(0x243)][_0x28bc25(0x2b1)])return'univer-bg-red-500';switch(_0x2b4e51){case s['MCPConnectionStatus'][_0x28bc25(0x276)]:return'univer-bg-green-500';case s[_0x28bc25(0x2c6)][_0x28bc25(0x307)]:case s[_0x28bc25(0x2c6)]['RETRYING']:return _0x28bc25(0x354);case s[_0x28bc25(0x2c6)][_0x28bc25(0x244)]:return _0x28bc25(0x283);default:return _0x28bc25(0x2da);}},_0x5bea84=_0x47ad7c=>{var _0x5a4a91=_0xd415f9;switch(_0x47ad7c){case s[_0x5a4a91(0x2c6)][_0x5a4a91(0x276)]:return _0x342756['t']('mcpConfig.connectionStatus.connected');case s['MCPConnectionStatus']['CONNECTING']:return _0x342756['t']('mcpConfig.connectionStatus.connecting');case s['MCPConnectionStatus'][_0x5a4a91(0x244)]:return _0x342756['t'](_0x5a4a91(0x2e5));case s[_0x5a4a91(0x2c6)][_0x5a4a91(0x2f4)]:return _0x342756['t']('mcpConfig.connectionStatus.retrying');default:return _0x342756['t'](_0x5a4a91(0x258));}},_0x567349=_0x4dd838=>{var _0x28aa6=_0xd415f9;switch(_0x4dd838){case s['MCPConnectionError'][_0x28aa6(0x2b1)]:return _0x342756['t']('mcpConfig.connectionError.unauthorized');case s[_0x28aa6(0x243)][_0x28aa6(0x325)]:return _0x342756['t'](_0x28aa6(0x29a));case s[_0x28aa6(0x243)][_0x28aa6(0x2ad)]:return _0x342756['t'](_0x28aa6(0x27a));case s[_0x28aa6(0x243)][_0x28aa6(0x1e4)]:return _0x342756['t'](_0x28aa6(0x214));default:return'';}},_0x4553ba=d['useCallback'](()=>{var _0x2c236d=_0xd415f9;const _0x5081da={..._0x75f603,'apiKey':_0x32cd82[_0x2c236d(0x338)](),'enableAuth':_0x2529f5};_0x3cdd6c(_0x5081da);},[_0x75f603,_0x32cd82,_0x2529f5,_0x3cdd6c]),_0x1f5fd1=_0x32cd82[_0xd415f9(0x338)]()[_0xd415f9(0x239)]>0x0;return t['jsxs'](_0xd415f9(0x2d5),{'className':_0xd415f9(0x210),'children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x2b9),'children':t[_0xd415f9(0x2f1)]('div',{'className':_0xd415f9(0x1ec),'children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d5),{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':t[_0xd415f9(0x336)](_0xd415f9(0x2d8),{'className':'univer-text-white','children':'⚙'})}),t[_0xd415f9(0x336)](_0xd415f9(0x2d5),{'children':t[_0xd415f9(0x336)]('p',{'className':_0xd415f9(0x223),'children':_0x342756['t']('mcpConfig.description')})})]})}),t[_0xd415f9(0x2f1)]('div',{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d5),{'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'+_0x1b875d(_0x1cbabe,_0xb60ae9)+_0xd415f9(0x302),'children':t['jsxs'](_0xd415f9(0x2d5),{'className':_0xd415f9(0x1f4),'children':[t[_0xd415f9(0x336)]('div',{'className':_0xd415f9(0x2c2)+_0x583306(_0x1cbabe,_0xb60ae9)+_0xd415f9(0x275)}),t[_0xd415f9(0x336)]('span',{'className':_0xd415f9(0x2d6),'children':_0x5bea84(_0x1cbabe)})]})}),_0xb60ae9!==s['MCPConnectionError'][_0xd415f9(0x34e)]&&(_0x1cbabe===s['MCPConnectionStatus'][_0xd415f9(0x244)]||_0xb60ae9===s[_0xd415f9(0x243)][_0xd415f9(0x2b1)])&&t[_0xd415f9(0x336)]('div',{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x20a),'children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d8),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),t['jsx']('p',{'className':_0xd415f9(0x356),'children':_0x567349(_0xb60ae9)})]})})]}),t[_0xd415f9(0x336)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x33d),'children':t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':'univer-space-y-5','children':[t['jsxs'](_0xd415f9(0x2d5),{'className':_0xd415f9(0x24c),'children':[t[_0xd415f9(0x2f1)](_0xd415f9(0x33e),{'className':_0xd415f9(0x1f6),'children':[t[_0xd415f9(0x336)]('span',{'children':'🔑'}),'\x20',_0x342756['t']('mcpConfig.apiKey'),t[_0xd415f9(0x336)](_0xd415f9(0x2d8),{'className':_0xd415f9(0x1ed),'children':'*'}),_0x102407&&t[_0xd415f9(0x336)]('a',{'href':'javascript:void(0)','onClick':()=>_0x340d5b(!0x0),'className':_0xd415f9(0x334),'title':_0x342756['t'](_0xd415f9(0x2a5)),'children':t['jsx'](Y,{})})]}),t[_0xd415f9(0x336)](S[_0xd415f9(0x1e9)],{'type':'text','placeholder':_0x342756['t'](_0xd415f9(0x31d)),'value':_0x32cd82,'onChange':_0x117702,'disabled':_0x21d064,'autoComplete':'off'}),t[_0xd415f9(0x336)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x342756['t']('mcpConfig.apiKeyHint')})]}),_0x102407&&_0xfc7ff9&&t['jsxs'](_0xd415f9(0x2d5),{'className':_0xd415f9(0x267),'children':[t['jsx']('a',{'href':_0xd415f9(0x21e),'onClick':()=>_0x340d5b(!0x1),'className':_0xd415f9(0x2bb),'title':_0xd415f9(0x25c),'children':t[_0xd415f9(0x336)](F,{})}),t['jsxs']('div',{'className':_0xd415f9(0x1d3),'children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x347),'children':t[_0xd415f9(0x336)]('span',{'className':_0xd415f9(0x2ea),'children':'🚀'})}),t['jsxs'](_0xd415f9(0x2d5),{'className':'univer-flex-1','children':[t[_0xd415f9(0x336)]('h4',{'className':_0xd415f9(0x2d0),'children':_0x342756['t']('mcpConfig.apiApplyInfo.title')}),t['jsx']('p',{'className':_0xd415f9(0x1dd),'children':_0x342756['t'](_0xd415f9(0x27d))}),t['jsx'](_0xd415f9(0x2d5),{'className':_0xd415f9(0x351),'children':_0x2cf723&&t[_0xd415f9(0x2f1)]('a',{'href':_0x3ef437,'target':_0xd415f9(0x2f2),'rel':_0xd415f9(0x2bd),'className':_0xd415f9(0x27e),'children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d8),{'children':'🤖'}),_0x342756['t']('mcpConfig.apiApplyInfo.univerAiLabel'),t[_0xd415f9(0x336)]('span',{'className':'univer-text-gray-400','children':'↗'})]})}),t['jsxs']('div',{'className':_0xd415f9(0x327),'children':['✨','\x20',_0x342756['t'](_0xd415f9(0x2cc))]})]})]})]}),_0x48876a[_0xd415f9(0x274)]&&t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[t['jsxs']('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[t['jsx'](_0xd415f9(0x2d8),{'children':'🔗'}),'\x20',_0x342756['t'](_0xd415f9(0x2fa))]}),t['jsxs']('div',{'className':_0xd415f9(0x337),'children':[t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x2d7),'children':[t['jsx']('p',{'className':_0xd415f9(0x215),'children':_0x342756['t'](_0xd415f9(0x2ae))}),t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':'univer-space-y-2','children':[t['jsx'](_0xd415f9(0x2d5),{'className':_0xd415f9(0x23c),'children':_0x342756['t'](_0xd415f9(0x232))}),t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x34d),'children':[t[_0xd415f9(0x2f1)]('div',{'className':_0xd415f9(0x1f4),'children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d8),{'className':_0xd415f9(0x2eb),'children':'1'}),_0x342756['t']('mcpConfig.configStep1')]}),t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x1f4),'children':[t['jsx'](_0xd415f9(0x2d8),{'className':_0xd415f9(0x2eb),'children':'2'}),_0x342756['t'](_0xd415f9(0x280))]}),t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x1f4),'children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d8),{'className':_0xd415f9(0x2eb),'children':'3'}),_0x342756['t'](_0xd415f9(0x34f))]})]})]})]}),t[_0xd415f9(0x2f1)]('div',{'className':_0xd415f9(0x24c),'children':[t['jsx'](_0xd415f9(0x2d5),{'className':_0xd415f9(0x23c),'children':_0xd415f9(0x1ff)}),t['jsx'](_0xd415f9(0x2d5),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':t[_0xd415f9(0x336)]('pre',{'className':_0xd415f9(0x286),'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='+_0x4f7876+_0xd415f9(0x1db)+(_0x32cd82||_0xd415f9(0x34c))+_0xd415f9(0x22f)})})]}),t[_0xd415f9(0x2f1)]('div',{'className':'univer-space-y-3','children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x23c),'children':_0x342756['t'](_0xd415f9(0x346))}),t[_0xd415f9(0x2f1)]('div',{'className':_0xd415f9(0x24c),'children':[t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x24d),'children':[t[_0xd415f9(0x336)]('div',{'className':_0xd415f9(0x300)}),t['jsxs'](_0xd415f9(0x2d5),{'className':_0xd415f9(0x355),'children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x270),'children':_0xd415f9(0x308)}),t['jsx'](_0xd415f9(0x2d5),{'className':_0xd415f9(0x287),'children':_0x342756['t'](_0xd415f9(0x22e))})]})]}),t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x300)}),t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x355),'children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x270),'children':_0xd415f9(0x284)}),t['jsx'](_0xd415f9(0x2d5),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x342756['t'](_0xd415f9(0x320))})]})]})]})]})]})]}),t[_0xd415f9(0x336)](S[_0xd415f9(0x2a6)],{'onClick':_0x4553ba,'disabled':!_0x1f5fd1||_0x21d064,'className':_0xd415f9(0x23d),'children':_0x21d064?t[_0xd415f9(0x2f1)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[t[_0xd415f9(0x336)](_0xd415f9(0x2d8),{'children':'⟲'}),_0x342756['t']('mcpConfig.saving')]}):t[_0xd415f9(0x2f1)](_0xd415f9(0x2d8),{'className':_0xd415f9(0x1f4),'children':[t[_0xd415f9(0x336)](B,{}),_0x342756['t'](_0xd415f9(0x322))]})}),t[_0xd415f9(0x336)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x1e1),'children':t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x2ac),'children':[t['jsx'](_0xd415f9(0x2d8),{'className':_0xd415f9(0x1f7),'children':'💡'}),t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'className':_0xd415f9(0x304),'children':[t[_0xd415f9(0x336)]('div',{'className':_0xd415f9(0x2c7),'children':'Configuration\x20Notes:'}),t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'children':['•',_0x342756['t'](_0xd415f9(0x21c))]}),t[_0xd415f9(0x2f1)](_0xd415f9(0x2d5),{'children':['•',_0x342756['t'](_0xd415f9(0x278))]})]})]})})]})})]});}const y='mcp-ui.config',G={'showDeveloperTools':!0x1,'showStatus':!0x0};var Se=Object[_0x3f9b05(0x222)],Pe=(_0x46df57,_0x4c5e72,_0x5df0f6,_0x770aba)=>{var _0x21b1b9=_0x3f9b05;for(var _0x5b3ce0=_0x770aba>0x1?void 0x0:_0x770aba?Se(_0x4c5e72,_0x5df0f6):_0x4c5e72,_0x4c311d=_0x46df57[_0x21b1b9(0x239)]-0x1,_0x562c01;_0x4c311d>=0x0;_0x4c311d--)(_0x562c01=_0x46df57[_0x4c311d])&&(_0x5b3ce0=_0x562c01(_0x5b3ce0)||_0x5b3ce0);return _0x5b3ce0;},f=(_0x10a41d,_0x4f5b05)=>(_0x1c8bcc,_0x54fe32)=>_0x4f5b05(_0x1c8bcc,_0x54fe32,_0x10a41d);const D='mcp.apiKey',k='mcp-config-dialog';exports['MCPConfigUIController']=class extends l[_0x3f9b05(0x2d1)]{constructor(_0xb5b39,_0x23cf3a,_0x5c8947,_0x237240,_0x26df6b,_0x37aac7,_0x19c562,_0x13597e,_0x587d41,_0x46a62f){var _0x2ba92d=_0x3f9b05;super(),I(this,'_loading$',new N[(_0x2ba92d(0x350))](!0x1)),I(this,_0x2ba92d(0x265),new N[(_0x2ba92d(0x350))]({})),I(this,'_config$',new N[(_0x2ba92d(0x350))]({})),I(this,_0x2ba92d(0x24b),new N[(_0x2ba92d(0x350))]('')),I(this,_0x2ba92d(0x206),async _0x1160e7=>{var _0x4f8e7f=_0x2ba92d,_0xeee5fd,_0x35d933;this['_loading$'][_0x4f8e7f(0x333)](!0x0);try{const _0x33fd64=await this[_0x4f8e7f(0x2ba)](_0x1160e7);if(!_0x33fd64[_0x4f8e7f(0x212)]){this[_0x4f8e7f(0x2b3)][_0x4f8e7f(0x315)]({'type':S['MessageType']['Error'],'content':_0x33fd64[_0x4f8e7f(0x316)]||this[_0x4f8e7f(0x2dc)]['t'](_0x4f8e7f(0x2de))});return;}_0x1160e7[_0x4f8e7f(0x218)]?await this[_0x4f8e7f(0x2db)][_0x4f8e7f(0x264)](D,_0x1160e7[_0x4f8e7f(0x218)][_0x4f8e7f(0x338)]()):await this[_0x4f8e7f(0x2db)]['removeItem'](D),this[_0x4f8e7f(0x24b)][_0x4f8e7f(0x333)](((_0xeee5fd=_0x1160e7['apiKey'])==null?void 0x0:_0xeee5fd[_0x4f8e7f(0x338)]())||''),this['_mcpConnectionController'][_0x4f8e7f(0x234)]({'Authorization':_0x4f8e7f(0x1d6)+((_0x35d933=_0x1160e7[_0x4f8e7f(0x218)])==null?void 0x0:_0x35d933[_0x4f8e7f(0x338)]())}),this[_0x4f8e7f(0x2b3)][_0x4f8e7f(0x315)]({'type':S[_0x4f8e7f(0x342)][_0x4f8e7f(0x331)],'content':this[_0x4f8e7f(0x2dc)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{var _0x57e8d9=_0x4f8e7f;this[_0x57e8d9(0x1f0)][_0x57e8d9(0x277)](k);},0x320);}catch(_0x1a8cbf){this[_0x4f8e7f(0x301)][_0x4f8e7f(0x247)](_0x4f8e7f(0x33a),_0x1a8cbf),this[_0x4f8e7f(0x2b3)][_0x4f8e7f(0x315)]({'type':S[_0x4f8e7f(0x342)][_0x4f8e7f(0x2a1)],'content':this[_0x4f8e7f(0x2dc)]['t'](_0x4f8e7f(0x268))});}finally{this[_0x4f8e7f(0x21a)][_0x4f8e7f(0x333)](!0x1);}}),(this[_0x2ba92d(0x2b8)]=_0xb5b39,this[_0x2ba92d(0x295)]=_0x23cf3a,this[_0x2ba92d(0x303)]=_0x5c8947,this[_0x2ba92d(0x2db)]=_0x237240,this['_dialogService']=_0x26df6b,this[_0x2ba92d(0x2b3)]=_0x37aac7,this[_0x2ba92d(0x220)]=_0x19c562,this['_localeService']=_0x13597e,this[_0x2ba92d(0x301)]=_0x587d41,this[_0x2ba92d(0x22a)]=_0x46a62f,this[_0x2ba92d(0x20d)](),this[_0x2ba92d(0x2a4)](),this['_registerComponent']());}[_0x3f9b05(0x26a)](){var _0x5a7ed8=_0x3f9b05;const _0x16fe4a=this[_0x5a7ed8(0x303)][_0x5a7ed8(0x288)](y);_0x16fe4a!=null&&_0x16fe4a[_0x5a7ed8(0x274)]&&this['_dialogService'][_0x5a7ed8(0x204)]({'id':k,'title':{'title':this[_0x5a7ed8(0x2dc)]['t'](_0x5a7ed8(0x1fb))},'children':{'label':_0x5a7ed8(0x263)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0xa7b8=_0x5a7ed8;this[_0xa7b8(0x1f0)][_0xa7b8(0x277)](k);}});}['getCurrentConfig'](){var _0x5be953=_0x3f9b05;return this[_0x5be953(0x265)][_0x5be953(0x318)];}[_0x3f9b05(0x271)](){var _0xbd1547=_0x3f9b05;this[_0xbd1547(0x31b)](this[_0xbd1547(0x220)][_0xbd1547(0x246)](_0xbd1547(0x263),this[_0xbd1547(0x1e5)]()));}[_0x3f9b05(0x1e5)](){var _0x1e87be=_0x3f9b05;return v[_0x1e87be(0x328)](()=>{var _0x5d0516=_0x1e87be,_0x484d9f,_0x129677,_0x28ccb3;return t['jsx'](W,{'config':this[_0x5d0516(0x29b)][_0x5d0516(0x318)],'mcpCoreConfig':this[_0x5d0516(0x265)][_0x5d0516(0x318)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x5d0516(0x206)],'loading':this[_0x5d0516(0x21a)]['value'],'connectionStatus$':(_0x484d9f=this[_0x5d0516(0x22a)])==null?void 0x0:_0x484d9f[_0x5d0516(0x237)],'connectionError$':(_0x129677=this[_0x5d0516(0x22a)])==null?void 0x0:_0x129677[_0x5d0516(0x261)],'currentSessionId$':(_0x28ccb3=this[_0x5d0516(0x22a)])==null?void 0x0:_0x28ccb3[_0x5d0516(0x323)]});},this[_0x1e87be(0x2b8)]);}['_initConfigSync'](){var _0x4acde7=_0x3f9b05;this['disposeWithMe'](this['_configService']['subscribeConfigValue$'](s[_0x4acde7(0x2a7)])['subscribe'](_0x8b8b45=>{var _0x3871d9=_0x4acde7;this[_0x3871d9(0x265)]['next'](_0x8b8b45||{});}));const _0x2574cb=this[_0x4acde7(0x303)][_0x4acde7(0x288)](s[_0x4acde7(0x2a7)]);this[_0x4acde7(0x265)][_0x4acde7(0x333)](_0x2574cb||{}),this['disposeWithMe'](this[_0x4acde7(0x303)][_0x4acde7(0x2cd)](y)[_0x4acde7(0x33c)](_0xbb1742=>{this['_config$']['next'](_0xbb1742||{});}));const _0x49b5cb=this[_0x4acde7(0x303)][_0x4acde7(0x288)](y);this[_0x4acde7(0x29b)][_0x4acde7(0x333)](_0x49b5cb||{});}async['_loadStoredApiKey'](){var _0x4b870d=_0x3f9b05;const _0x22db0c=this['_configService']['getConfig'](y);if(!(_0x22db0c!=null&&_0x22db0c[_0x4b870d(0x274)]))return;const _0x1b77b4=await this[_0x4b870d(0x2db)]['getItem'](D);_0x1b77b4&&(this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':_0x4b870d(0x1d6)+_0x1b77b4}),this[_0x4b870d(0x24b)]['next'](_0x1b77b4));}async[_0x3f9b05(0x2ba)](_0x5835c4){var _0x49a5cb=_0x3f9b05;if(!_0x5835c4['apiKey']||_0x5835c4[_0x49a5cb(0x218)][_0x49a5cb(0x338)]()[_0x49a5cb(0x239)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x49a5cb(0x2dc)]['t'](_0x49a5cb(0x314))};if(_0x5835c4[_0x49a5cb(0x218)]['trim']()[_0x49a5cb(0x239)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x49a5cb(0x2dc)]['t'](_0x49a5cb(0x297))};try{const _0x90dc89=await this[_0x49a5cb(0x2b8)][_0x49a5cb(0x20f)](s['MCPConnectionController'])[_0x49a5cb(0x24e)](_0x5835c4['apiKey'][_0x49a5cb(0x338)]());return _0x90dc89[_0x49a5cb(0x212)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x90dc89[_0x49a5cb(0x247)]||this[_0x49a5cb(0x2dc)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x5ce644){return console[_0x49a5cb(0x1fc)](_0x49a5cb(0x2aa),_0x5ce644),{'isValid':!0x0};}}},exports[_0x3f9b05(0x1da)]=Pe([f(0x0,l[_0x3f9b05(0x293)](l['Injector'])),f(0x1,v['IUIPartsService']),f(0x2,l[_0x3f9b05(0x2b4)]),f(0x3,l[_0x3f9b05(0x221)]),f(0x4,v['IDialogService']),f(0x5,v['IMessageService']),f(0x6,l[_0x3f9b05(0x293)](v[_0x3f9b05(0x21f)])),f(0x7,l[_0x3f9b05(0x293)](l[_0x3f9b05(0x233)])),f(0x8,l['ILogService']),f(0x9,l[_0x3f9b05(0x293)](s[_0x3f9b05(0x1f1)]))],exports[_0x3f9b05(0x1da)]);const j={'id':_0x3f9b05(0x201),'type':l['CommandType'][_0x3f9b05(0x332)],'handler':async(_0x18fcbf,_0x34706d)=>(_0x18fcbf[_0x3f9b05(0x20f)](exports[_0x3f9b05(0x1da)])[_0x3f9b05(0x26a)](),!0x0)};function Z(_0x1731fe,_0x30bca1){var _0x574d80=_0x3f9b05;switch(_0x1731fe){case s['MCPConnectionStatus']['DISCONNECTED']:return _0x574d80(0x272);case s['MCPConnectionStatus'][_0x574d80(0x307)]:return'mcpStatus.connecting';case s[_0x574d80(0x2c6)][_0x574d80(0x276)]:return _0x574d80(0x26c);case s['MCPConnectionStatus'][_0x574d80(0x244)]:switch(_0x30bca1){case s[_0x574d80(0x243)]['UNAUTHORIZED']:return _0x574d80(0x235);case s[_0x574d80(0x243)][_0x574d80(0x325)]:return _0x574d80(0x2e3);case s[_0x574d80(0x243)]['NETWORK_ERROR']:return'mcpStatus.networkError';case s[_0x574d80(0x243)][_0x574d80(0x1e4)]:return _0x574d80(0x352);default:return'mcpStatus.failed';}case s[_0x574d80(0x2c6)]['RETRYING']:return _0x574d80(0x2a0);default:return _0x574d80(0x1e0);}}function ye(_0x552cce,_0x1d49b3,_0x3c5f5d,_0x587601=!0x0){var _0x20c0e1=_0x3f9b05;const _0x514d23=Z(_0x552cce,_0x1d49b3),_0x1ce8ae=_0x3c5f5d['t'](_0x514d23);return _0x587601?_0x552cce===s[_0x20c0e1(0x2c6)][_0x20c0e1(0x32e)]&&_0x1d49b3===s[_0x20c0e1(0x243)]['UNAUTHORIZED']?_0x1ce8ae+_0x20c0e1(0x224)+_0x3c5f5d['t']('mcpStatus.clickToConfigure'):_0x552cce===s[_0x20c0e1(0x2c6)][_0x20c0e1(0x276)]?''+_0x1ce8ae:_0x552cce===s['MCPConnectionStatus'][_0x20c0e1(0x32e)]||_0x552cce===s[_0x20c0e1(0x2c6)][_0x20c0e1(0x244)]?_0x1ce8ae+_0x20c0e1(0x224)+_0x3c5f5d['t']('mcpStatus.clickToConnect'):_0x1ce8ae:_0x1ce8ae;}function Ie(_0x54acf6){var _0x5db53a=_0x3f9b05;switch(_0x54acf6){case s[_0x5db53a(0x2c6)][_0x5db53a(0x276)]:return _0x5db53a(0x255);case s[_0x5db53a(0x2c6)][_0x5db53a(0x307)]:case s[_0x5db53a(0x2c6)][_0x5db53a(0x2f4)]:return _0x5db53a(0x2c8);case s['MCPConnectionStatus'][_0x5db53a(0x244)]:case s[_0x5db53a(0x2c6)][_0x5db53a(0x32e)]:return _0x5db53a(0x1ed);default:return'univer-text-gray-500';}}function X(_0x4a5ef0){var _0x122e44=_0x3f9b05;const {status$:_0x42594e,error$:_0x4e1b66,onConfigure:_0x3ae3c0,showClickable:_0xd61571=!0x0}=_0x4a5ef0,_0x5570ba=v[_0x122e44(0x251)](_0x42594e,s[_0x122e44(0x2c6)][_0x122e44(0x32e)]),_0x130898=v['useObservable'](_0x4e1b66,s[_0x122e44(0x243)]['NONE']),_0x443057=v[_0x122e44(0x227)](l[_0x122e44(0x233)]),_0x4651e4=_0x5570ba===s[_0x122e44(0x2c6)]['CONNECTED'];_0x5570ba===s[_0x122e44(0x2c6)][_0x122e44(0x307)]||s[_0x122e44(0x2c6)]['RETRYING'];const _0x3efcdc=_0x443057['t'](Z(_0x5570ba,_0x130898)),_0x6fea17=ye(_0x5570ba,_0x130898,_0x443057,_0xd61571),_0x2fff95=Ie(_0x5570ba),_0x59e6aa=_0x4651e4?t[_0x122e44(0x336)](V,{}):t[_0x122e44(0x336)](q,{}),_0x41e4cf=d['useCallback'](()=>{_0xd61571&&_0x3ae3c0&&_0x3ae3c0();},[_0xd61571,_0x3ae3c0]);function _0x32c8d6(){var _0x42dab5=_0x122e44;return t[_0x42dab5(0x2f1)](_0x42dab5(0x2d5),{'className':S['clsx'](_0x42dab5(0x335),_0xd61571&&_0x3ae3c0&&_0x42dab5(0x273)),'onClick':_0xd61571&&_0x3ae3c0?_0x41e4cf:void 0x0,'children':[t['jsx'](_0x42dab5(0x2d5),{'className':S[_0x42dab5(0x2ab)](_0x42dab5(0x285),_0x2fff95),'children':_0x59e6aa}),t['jsx']('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3efcdc})]});}return t['jsx'](S['Tooltip'],{'title':_0x6fea17,'placement':'bottom','children':_0x32c8d6()});}var _e=Object[_0x3f9b05(0x222)],Me=(_0x205635,_0x4471a2,_0x2f7e54,_0x24e1df)=>{var _0x726cf4=_0x3f9b05;for(var _0x4b4692=_0x24e1df>0x1?void 0x0:_0x24e1df?_e(_0x4471a2,_0x2f7e54):_0x4471a2,_0x44f6b4=_0x205635[_0x726cf4(0x239)]-0x1,_0x18c2bc;_0x44f6b4>=0x0;_0x44f6b4--)(_0x18c2bc=_0x205635[_0x44f6b4])&&(_0x4b4692=_0x18c2bc(_0x4b4692)||_0x4b4692);return _0x4b4692;},b=(_0x81346,_0x2bf274)=>(_0x48a9c3,_0xba305d)=>_0x2bf274(_0x48a9c3,_0xba305d,_0x81346);function _0x12fc(_0x554c6f,_0x2fc39b){var _0x2ab27f=_0x2ab2();return _0x12fc=function(_0x12fcbb,_0x3fd9ed){_0x12fcbb=_0x12fcbb-0x1d2;var _0x4645e0=_0x2ab27f[_0x12fcbb];return _0x4645e0;},_0x12fc(_0x554c6f,_0x2fc39b);}exports[_0x3f9b05(0x269)]=class extends l[_0x3f9b05(0x2d1)]{constructor(_0x400cfb,_0x4503c6,_0x55c6d0,_0x573e39){var _0x240049=_0x3f9b05;super(),this[_0x240049(0x2b8)]=_0x400cfb,this[_0x240049(0x2fe)]=_0x4503c6,this[_0x240049(0x295)]=_0x55c6d0,this['_configService']=_0x573e39,this[_0x240049(0x340)](),this[_0x240049(0x1f2)]();}[_0x3f9b05(0x340)](){var _0x17e934=_0x3f9b05;const _0x3df93d=this[_0x17e934(0x303)][_0x17e934(0x288)](y);_0x3df93d!=null&&_0x3df93d[_0x17e934(0x274)]&&(this[_0x17e934(0x2fe)][_0x17e934(0x319)]=!0x1);}[_0x3f9b05(0x1f2)](){var _0x4ae1f8=_0x3f9b05;const _0x19d413=this[_0x4ae1f8(0x303)][_0x4ae1f8(0x288)](y);(_0x19d413==null?void 0x0:_0x19d413[_0x4ae1f8(0x2b5)])!==!0x1&&this[_0x4ae1f8(0x31b)](this[_0x4ae1f8(0x295)][_0x4ae1f8(0x2d4)](v[_0x4ae1f8(0x23f)]['HEADER_MENU'],()=>{var _0x253eaa=_0x4ae1f8,_0x371539;return v[_0x253eaa(0x328)](Ne({'status$':this[_0x253eaa(0x2fe)][_0x253eaa(0x237)],'error$':this['_connectionController'][_0x253eaa(0x261)],'onConfigure':()=>this[_0x253eaa(0x1d8)](),'showClickable':(_0x371539=_0x19d413==null?void 0x0:_0x19d413[_0x253eaa(0x274)])!=null?_0x371539:!0x1}),this[_0x253eaa(0x2b8)]);}));}[_0x3f9b05(0x1d8)](){var _0x4eb5b0=_0x3f9b05;this[_0x4eb5b0(0x2b8)]['get'](exports['MCPConfigUIController'])[_0x4eb5b0(0x26a)]();}},exports[_0x3f9b05(0x269)]=Me([b(0x0,l[_0x3f9b05(0x293)](l[_0x3f9b05(0x2ec)])),b(0x1,l[_0x3f9b05(0x293)](s[_0x3f9b05(0x1f1)])),b(0x2,v[_0x3f9b05(0x2e4)]),b(0x3,l[_0x3f9b05(0x2b4)])],exports['MCPConnectionUIController']);function Ne(_0x205446){const {status$:_0x5918bf,error$:_0x2a17ac,onConfigure:_0x597076,showClickable:_0x417f8d}=_0x205446;return function(){var _0x591bdf=_0x12fc;return t[_0x591bdf(0x336)](X,{'status$':_0x5918bf,'error$':_0x2a17ac,'onConfigure':_0x597076,'showClickable':_0x417f8d});};}function be(_0x313939){var _0x4dd7f9=_0x3f9b05;return{'id':j['id'],'type':v[_0x4dd7f9(0x296)][_0x4dd7f9(0x252)],'icon':'MenuIcon','title':'mcpConfig.title','tooltip':_0x4dd7f9(0x1fb)};}const je={[v['RibbonStartGroup'][_0x3f9b05(0x226)]]:{[j['id']]:{'order':0xa,'menuItemFactory':be}}};var Ee=Object[_0x3f9b05(0x222)],we=(_0x59d087,_0x593693,_0x2dfc36,_0x4c5480)=>{var _0x5d4951=_0x3f9b05;for(var _0x44a919=_0x4c5480>0x1?void 0x0:_0x4c5480?Ee(_0x593693,_0x2dfc36):_0x593693,_0x1b3f15=_0x59d087[_0x5d4951(0x239)]-0x1,_0x3f3e07;_0x1b3f15>=0x0;_0x1b3f15--)(_0x3f3e07=_0x59d087[_0x1b3f15])&&(_0x44a919=_0x3f3e07(_0x44a919)||_0x44a919);return _0x44a919;},z=(_0x38d640,_0x1b4f88)=>(_0x58d8ed,_0x44aee2)=>_0x1b4f88(_0x58d8ed,_0x44aee2,_0x38d640);function _0x2ab2(){var _0x548f00=['M5.21243\x2012.287L11.8791\x205.62036','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','_registerComponent','mcpStatus.disconnected','\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','showDeveloperTools','\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','CONNECTED','close','mcpConfig.note2','defIds','mcpConfig.connectionError.networkError','未连接','请输入您的\x20API\x20密钥','mcpConfig.apiApplyInfo.description','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','点击连接\x20MCP','mcpConfig.configStep2','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20密钥不能为空','univer-bg-red-500','Authorization:','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-text-xs\x20univer-text-gray-500','getConfig','replace','配置参数:','Save\x20Configuration','function','API\x20密钥无效,请检查密钥是否正确','配置更改将立即生效','univer.plus','已连接','forEach','random','Inject','forwardRef','_uiPartsService','MenuItemType','mcpConfig.validation.apiKeyTooShort','重启您的\x20MCP\x20客户端以使配置生效','concat','mcpConfig.connectionError.sessionOccupied','_config$','MCP\x20Connected','Copy\x20the\x20JSON\x20configuration\x20below','clipPath','MCP:\x20Session\x20ID\x20Occupied','mcpStatus.retrying','Error','您的\x20API\x20密钥安全存储在本地存储中','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','_loadStoredApiKey','mcpConfig.apiApplyInfo.title','Button','MCP_PLUGIN_CONFIG_KEY','权限验证失败,请检查您的\x20API\x20密钥','help-single','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','clsx','univer-flex\x20univer-gap-3','NETWORK_ERROR','mcpConfig.configInstructions','MCP:\x20未授权','Connection\x20Failed','UNAUTHORIZED','最大重试次数','_messageService','IConfigService','showStatus','Invalid\x20configuration','on-line-icon_clip0_910_349','_injector','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','_validateConfig','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','defineProperty','noopener\x20noreferrer','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','MCPUIMenuController','_config','MCP\x20连接中...','\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','HelpSingle','round','symbol','MCPConnectionStatus','univer-font-medium','univer-text-yellow-500','Configuration\x20Steps:','MCP:\x20网络错误','连接失败','mcpConfig.apiApplyInfo.getStarted','subscribeConfigValue$','ISocketService','_initializeCommands','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Disposable','xlink:href','388683wfNrhR','registerComponent','div','univer-text-sm\x20univer-font-medium','univer-space-y-3','span','enUS','univer-bg-gray-500','_localStorageService','_localeService','启用身份验证以获得安全连接','mcpConfig.validation.invalidConfig','3064135VtQwMh','M5.21243\x205.62036L11.8791\x2012.287','Saving...','MCP\x20配置','mcpStatus.sessionOccupied','IUIPartsService','mcpConfig.connectionStatus.failed','none','Plugin','displayName','UniverIcon','univer-text-blue-600','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','Injector','toStringTag','OffLineIcon','763608ybUsfK','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','jsxs','_blank','Click\x20to\x20configure\x20MCP','RETRYING','MCP\x20Retrying...','_commandService','将配置添加到您的\x20MCP\x20客户端设置文件中','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','0\x200\x2017\x2016','mcpConfig.connectionInfo','MCP\x20状态未知','url(#on-line-icon_clip0_910_349)','hasOwnProperty','_connectionController','propertyIsEnumerable','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_logService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_configService','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','Max\x20Retries','currentColor','CONNECTING','univer_session_id:','url(#$1','check-mark-icon','prototype','https://console.univer.plus','colorChannel1','getOwnPropertySymbols','1em','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCPStatusDisplay','Retrying...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','mcpConfig.validation.apiKeyRequired','show','errorMessage','Connected','value','enableAutoConnect','重连中...','disposeWithMe','entries','mcpConfig.apiKeyPlaceholder','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','off-line-icon_clip0_910_343','mcpConfig.authorizationDescription','http://www.w3.org/2000/svg','mcpConfig.save','sessionId$','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','SESSION_ID_OCCUPIED','什么是\x20API\x20密钥?','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','connectInjector','API\x20密钥长度至少需要\x2010\x20位','复制以下\x20JSON\x20配置','idSuffix','736077iweKgt','indexOf','DISCONNECTED','call','5088996LgSFQE','Success','COMMAND','next','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','univer-flex\x20univer-items-center','jsx','univer-space-y-4','trim','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','MCP\x20连接失败','subscribe','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','label','Disconnected','_initAutoConnect','fill','MessageType','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','setConfig','配置保存成功','mcpConfig.configParameters','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','What\x20is\x20API\x20Key?','extend','MCP\x20Client\x20Configuration','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','<API_KEY>','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','NONE','mcpConfig.configStep3','BehaviorSubject','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpStatus.maxRetriesExceeded','8GsmfDp','univer-bg-blue-500','univer-min-w-0\x20univer-flex-1','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','IMenuManagerService','Failed\x20to\x20save\x20configuration','Session\x20ID','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','API\x20密钥','defs','Bearer\x20','DependentOn','_handleConfigure','MCP\x20Connection\x20Failed','MCPConfigUIController','\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','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-mb-3\x20univer-text-xs\x20univer-text-gray-600','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20已连接','mcpStatus.unknown','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','MCP:\x20超出最大重试次数','Univer\x20AI\x20Console','MAX_RETRIES_EXCEEDED','_createConfigPanelComponent','MCP\x20客户端配置','UniverMCPUIPlugin','pluginName','Input','API\x20key\x20is\x20required','启用身份验证','univer-flex\x20univer-items-center\x20univer-gap-3','univer-text-red-500','apply','current','_dialogService','MCPConnectionController','_initStatusComponent','MCP\x20Unknown\x20Status','univer-flex\x20univer-items-center\x20univer-gap-2','map','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-flex-shrink-0\x20univer-text-blue-500','您的\x20API\x20密钥将在此浏览器中本地存储','icon','配置步骤:','mcpConfig.title','warn','MCP\x20Disconnected','white','MCP\x20Configuration','ICommandService','mcp-ui.command.openConfigPanel','0\x200\x2017\x2017','CloseSmallSingle','open','string','_handleConfigSave','12IzZlas','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mergeMenu','univer-flex\x20univer-items-start\x20univer-gap-2','use','https://console.univer.ai','_initConfigSync','MCP:\x20Max\x20Retries\x20Exceeded','get','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','createElement','isValid','useRef','mcpConfig.connectionError.maxRetriesExceeded','univer-text-xs\x20univer-text-gray-600','超出最大重试次数,请稍后再试','className','apiKey','mask','_loading$','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpConfig.note1','Enter\x20your\x20API\x20key','javascript:void(0)','ComponentManager','_componentManager','ILocalStorageService','getOwnPropertyDescriptor','univer-text-sm\x20univer-text-gray-500','\x20-\x20','0\x200\x2016\x2016','OTHERS','useDependency','Configuration\x20Parameters:','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','_mcpConnectionController','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcpServerUrl','mcpConfig.sessionIdDescription','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','MCP\x20重连中...','has','mcpConfig.configStepTitle','LocaleService','__setCustomHeaders','mcpStatus.unauthorized','_initializeMenus','connectionStatus$','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','length','useState','children','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','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','tag','BuiltInUIPart','includes','attrs','off-line-icon','MCPConnectionError','FAILED','close-small-single','register','error','CheckMarkIcon','assign','path','_apiKey$','univer-space-y-2','univer-flex\x20univer-items-start\x20univer-gap-3','validateApiKey','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','保存配置','useObservable','BUTTON','点击配置\x20MCP','配置无效','univer-text-green-500','5342589ZXuplQ','univer.ai','mcpConfig.connectionStatus.disconnected','Enable\x20Authentication','svg','665175QzuEKO','Close','MCP:\x20Unauthorized','UniverMCPPlugin','add','registerCommand','connectionError$','merge','MCPConfigPanel','setItem','_mcpCoreConfig$','带有\x20Bearer\x20前缀的\x20API\x20密钥。','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','mcpConfig.configError','MCPConnectionUIController','showConfigPanel','evenodd','mcpStatus.connected','url(#off-line-icon_clip0_910_343)','M0\x200H16V16H0z'];_0x2ab2=function(){return _0x548f00;};return _0x2ab2();}exports[_0x3f9b05(0x2bf)]=class extends l['Disposable']{constructor(_0x2e33d7,_0x5427c2){var _0x1afa76=_0x3f9b05;super(),this['_commandService']=_0x2e33d7,this['_menuManagerService']=_0x5427c2,this[_0x1afa76(0x2cf)](),this[_0x1afa76(0x236)]();}[_0x3f9b05(0x2cf)](){var _0x5620dd=_0x3f9b05;[j][_0x5620dd(0x291)](_0x349716=>{var _0x2f5e7d=_0x5620dd;this[_0x2f5e7d(0x31b)](this[_0x2f5e7d(0x2f6)][_0x2f5e7d(0x260)](_0x349716));});}[_0x3f9b05(0x236)](){var _0x48dcef=_0x3f9b05;this['_menuManagerService'][_0x48dcef(0x209)](je);}},exports[_0x3f9b05(0x2bf)]=we([z(0x0,l[_0x3f9b05(0x200)]),z(0x1,v[_0x3f9b05(0x357)])],exports[_0x3f9b05(0x2bf)]);const Oe={'mcpStatus':{'disconnected':_0x3f9b05(0x1fd),'connecting':'MCP\x20Connecting...','connected':_0x3f9b05(0x29c),'failed':_0x3f9b05(0x1d9),'retrying':_0x3f9b05(0x2f5),'unknown':_0x3f9b05(0x1f3),'unauthorized':_0x3f9b05(0x25d),'sessionOccupied':_0x3f9b05(0x29f),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x3f9b05(0x20e),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3f9b05(0x2f3)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x3f9b05(0x21d),'apiKeyHint':_0x3f9b05(0x22b),'enableAuth':_0x3f9b05(0x259),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x3f9b05(0x34a),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x3f9b05(0x2c9),'configStep1':_0x3f9b05(0x29d),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x3f9b05(0x1d2),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3f9b05(0x228),'maxRetries':_0x3f9b05(0x305),'save':_0x3f9b05(0x28b),'saving':_0x3f9b05(0x2e1),'note1':_0x3f9b05(0x22c),'note2':_0x3f9b05(0x2f0),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x3f9b05(0x358),'apiApplyInfo':{'title':_0x3f9b05(0x348),'description':_0x3f9b05(0x339),'univerAiLabel':_0x3f9b05(0x1e3),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x3f9b05(0x1ea),'apiKeyTooShort':_0x3f9b05(0x1de),'invalidConfig':_0x3f9b05(0x2b6),'invalidApiKey':_0x3f9b05(0x324)},'connectionStatus':{'disconnected':_0x3f9b05(0x33f),'connecting':'Connecting...','connected':_0x3f9b05(0x317),'failed':_0x3f9b05(0x2b0),'retrying':_0x3f9b05(0x312)},'connectionError':{'unauthorized':_0x3f9b05(0x313),'sessionOccupied':_0x3f9b05(0x281),'networkError':_0x3f9b05(0x343),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},Ae={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x3f9b05(0x2c1),'connected':_0x3f9b05(0x1df),'failed':_0x3f9b05(0x33b),'retrying':_0x3f9b05(0x230),'unknown':_0x3f9b05(0x2fb),'unauthorized':_0x3f9b05(0x2af),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x3f9b05(0x2ca),'maxRetriesExceeded':_0x3f9b05(0x1e2),'clickToConnect':_0x3f9b05(0x27f),'clickToConfigure':_0x3f9b05(0x253)},'mcpConfig':{'title':_0x3f9b05(0x2e2),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x3f9b05(0x1d4),'apiKeyPlaceholder':_0x3f9b05(0x27c),'apiKeyHint':_0x3f9b05(0x1f8),'enableAuth':_0x3f9b05(0x1eb),'enableAuthHint':_0x3f9b05(0x2dd),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x3f9b05(0x1e6),'configInstructions':_0x3f9b05(0x310),'configStepTitle':_0x3f9b05(0x1fa),'configStep1':_0x3f9b05(0x32a),'configStep2':_0x3f9b05(0x2f7),'configStep3':_0x3f9b05(0x298),'sessionId':'会话ID','sessionIdDescription':_0x3f9b05(0x2f8),'authorizationDescription':_0x3f9b05(0x266),'configParameters':_0x3f9b05(0x28a),'maxRetries':_0x3f9b05(0x2b2),'save':_0x3f9b05(0x250),'saving':'保存中...','note1':_0x3f9b05(0x28e),'note2':_0x3f9b05(0x2a2),'configSaved':_0x3f9b05(0x345),'configError':'配置保存失败','apiApplyInfo':{'title':_0x3f9b05(0x326),'description':_0x3f9b05(0x21b),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x3f9b05(0x282),'apiKeyTooShort':_0x3f9b05(0x329),'invalidConfig':_0x3f9b05(0x254),'invalidApiKey':_0x3f9b05(0x28d)},'connectionStatus':{'disconnected':_0x3f9b05(0x27b),'connecting':'连接中...','connected':_0x3f9b05(0x290),'failed':_0x3f9b05(0x2cb),'retrying':_0x3f9b05(0x31a)},'connectionError':{'unauthorized':_0x3f9b05(0x2a8),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x3f9b05(0x216)}}};var De=Object[_0x3f9b05(0x2bc)],ke=Object[_0x3f9b05(0x222)],Ue=(_0x2ad6e,_0x572e4,_0x4b7bde)=>_0x572e4 in _0x2ad6e?De(_0x2ad6e,_0x572e4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b7bde}):_0x2ad6e[_0x572e4]=_0x4b7bde,Te=(_0x51ea2c,_0x289612,_0x400fa5,_0x47b238)=>{var _0x2c30b2=_0x3f9b05;for(var _0xec9dfc=_0x47b238>0x1?void 0x0:_0x47b238?ke(_0x289612,_0x400fa5):_0x289612,_0x543f79=_0x51ea2c[_0x2c30b2(0x239)]-0x1,_0x510939;_0x543f79>=0x0;_0x543f79--)(_0x510939=_0x51ea2c[_0x543f79])&&(_0xec9dfc=_0x510939(_0xec9dfc)||_0xec9dfc);return _0xec9dfc;},M=(_0x18fc42,_0x22df36)=>(_0x12284d,_0x3fc4ce)=>_0x22df36(_0x12284d,_0x3fc4ce,_0x18fc42),$e=(_0x45eb3a,_0x5a2fa4,_0x38458f)=>Ue(_0x45eb3a,_0x5a2fa4+'',_0x38458f);exports[_0x3f9b05(0x1e7)]=class extends l[_0x3f9b05(0x2e7)]{constructor(_0x275dd6=G,_0x5d479b,_0x31b5a2,_0x5e81b9,_0xccebe,_0x1151ab){var _0x5b7346=_0x3f9b05;super(),this['_config']=_0x275dd6,this['_injector']=_0x5d479b,this[_0x5b7346(0x303)]=_0x31b5a2,this[_0x5b7346(0x295)]=_0x5e81b9,this[_0x5b7346(0x2db)]=_0xccebe,this[_0x5b7346(0x2dc)]=_0x1151ab;const {..._0x5da7b1}=l[_0x5b7346(0x262)]({},G,this[_0x5b7346(0x2c0)]);this[_0x5b7346(0x303)][_0x5b7346(0x344)](y,_0x5da7b1);}async['onStarting'](){var _0x4fbfc5=_0x3f9b05;const _0x186de9=[[exports['MCPConnectionUIController']],[exports[_0x4fbfc5(0x1da)]],[exports['MCPUIMenuController']]];this[_0x4fbfc5(0x2b8)][_0x4fbfc5(0x231)](A[_0x4fbfc5(0x2ce)])||_0x186de9['push']([A[_0x4fbfc5(0x2ce)],{'useClass':A['WebSocketService']}]),_0x186de9[_0x4fbfc5(0x291)](_0xfe0951=>this[_0x4fbfc5(0x2b8)][_0x4fbfc5(0x25f)](_0xfe0951)),this[_0x4fbfc5(0x2b8)][_0x4fbfc5(0x20f)](exports[_0x4fbfc5(0x269)]),this['_injector'][_0x4fbfc5(0x20f)](exports[_0x4fbfc5(0x1da)]),this[_0x4fbfc5(0x2b8)][_0x4fbfc5(0x20f)](exports[_0x4fbfc5(0x2bf)]);}},$e(exports['UniverMCPUIPlugin'],_0x3f9b05(0x1e8),'MCP_UI_PLUGIN'),exports[_0x3f9b05(0x1e7)]=Te([l[_0x3f9b05(0x1d7)](s[_0x3f9b05(0x25e)]),M(0x1,l['Inject'](l[_0x3f9b05(0x2ec)])),M(0x2,l[_0x3f9b05(0x2b4)]),M(0x3,v['IUIPartsService']),M(0x4,l[_0x3f9b05(0x221)]),M(0x5,l[_0x3f9b05(0x293)](l[_0x3f9b05(0x233)]))],exports[_0x3f9b05(0x1e7)]),exports[_0x3f9b05(0x263)]=W,exports[_0x3f9b05(0x311)]=X,exports['OpenMCPConfigPanelCommand']=j,exports[_0x3f9b05(0x2d9)]=Oe,exports['zhCN']=Ae;
@@ -1 +1 @@
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
+ 'use strict';function _0x261c(_0x5ce8bf,_0x4328d2){const _0x5327b4=_0x5327();return _0x261c=function(_0x261ccf,_0x40892b){_0x261ccf=_0x261ccf-0xb5;let _0x5bc12a=_0x5327b4[_0x261ccf];return _0x5bc12a;},_0x261c(_0x5ce8bf,_0x4328d2);}const _0x5b50cf=_0x261c;function _0x5327(){const _0x1f4188=['Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connected','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Steps:','MCP:\x20Network\x20Error','Failed\x20to\x20save\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','53240Rwfuqf','Configuration\x20saved\x20successfully','15352CfuEQe','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','5106020wovKBr','Retrying...','MCP\x20Connection\x20Failed','15090867vjdHcH','956724Ybcjnj','MCP\x20Connected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','231HreAtM','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Client\x20Configuration','MCP\x20Unknown\x20Status','747LnEtiJ','exports','MCP\x20Configuration','API\x20Key','Click\x20to\x20connect\x20MCP','501203lTYSge','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Copy\x20the\x20JSON\x20configuration\x20below','Enter\x20your\x20API\x20key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Disconnected','Invalid\x20configuration','API\x20key\x20is\x20required','Enable\x20Authentication','7092678tMkWfs','Save\x20Configuration','What\x20is\x20API\x20Key?','Connection\x20Failed','Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.'];_0x5327=function(){return _0x1f4188;};return _0x5327();}(function(_0x1638f6,_0x433dc3){const _0x3076db=_0x261c,_0x54ec2a=_0x1638f6();while(!![]){try{const _0x538567=-parseInt(_0x3076db(0xc4))/0x1+parseInt(_0x3076db(0xb8))/0x2+parseInt(_0x3076db(0xbf))/0x3*(-parseInt(_0x3076db(0xdf))/0x4)+parseInt(_0x3076db(0xe3))/0x5+-parseInt(_0x3076db(0xcf))/0x6+-parseInt(_0x3076db(0xbb))/0x7*(-parseInt(_0x3076db(0xdd))/0x8)+parseInt(_0x3076db(0xb7))/0x9;if(_0x538567===_0x433dc3)break;else _0x54ec2a['push'](_0x54ec2a['shift']());}catch(_0x4e10b8){_0x54ec2a['push'](_0x54ec2a['shift']());}}}(_0x5327,0xb8ce6));const e={'mcpStatus':{'disconnected':_0x5b50cf(0xcb),'connecting':'MCP\x20Connecting...','connected':_0x5b50cf(0xb9),'failed':_0x5b50cf(0xb6),'retrying':'MCP\x20Retrying...','unknown':_0x5b50cf(0xbe),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x5b50cf(0xd7),'networkError':_0x5b50cf(0xda),'maxRetriesExceeded':_0x5b50cf(0xbc),'clickToConnect':_0x5b50cf(0xc3),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x5b50cf(0xc1),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5b50cf(0xc2),'apiKeyPlaceholder':_0x5b50cf(0xc8),'apiKeyHint':_0x5b50cf(0xe2),'enableAuth':_0x5b50cf(0xce),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5b50cf(0xbd),'mcpClientConfig':_0x5b50cf(0xbd),'configInstructions':_0x5b50cf(0xc6),'configStepTitle':_0x5b50cf(0xd9),'configStep1':_0x5b50cf(0xc7),'configStep2':_0x5b50cf(0xe0),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x5b50cf(0xba),'authorizationDescription':_0x5b50cf(0xd8),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x5b50cf(0xd0),'saving':_0x5b50cf(0xe1),'note1':_0x5b50cf(0xd5),'note2':_0x5b50cf(0xca),'configSaved':_0x5b50cf(0xde),'configError':_0x5b50cf(0xdb),'apiApplyInfo':{'title':_0x5b50cf(0xd1),'description':_0x5b50cf(0xd4),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x5b50cf(0xdc)},'validation':{'apiKeyRequired':_0x5b50cf(0xcd),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x5b50cf(0xcc),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x5b50cf(0xd3),'connected':_0x5b50cf(0xd6),'failed':_0x5b50cf(0xd2),'retrying':_0x5b50cf(0xb5)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x5b50cf(0xc5),'networkError':_0x5b50cf(0xc9),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x5b50cf(0xc0)]=n;
@@ -1 +1 @@
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
+ 'use strict';const _0xf2056e=_0x4fbd;(function(_0x361fb6,_0x1b6cb1){const _0x1030e7=_0x4fbd,_0x3be0f0=_0x361fb6();while(!![]){try{const _0x72172e=-parseInt(_0x1030e7(0xed))/0x1*(-parseInt(_0x1030e7(0xe0))/0x2)+parseInt(_0x1030e7(0xe1))/0x3*(-parseInt(_0x1030e7(0xf0))/0x4)+-parseInt(_0x1030e7(0xee))/0x5*(parseInt(_0x1030e7(0x10a))/0x6)+parseInt(_0x1030e7(0x102))/0x7*(-parseInt(_0x1030e7(0xfc))/0x8)+parseInt(_0x1030e7(0xec))/0x9*(parseInt(_0x1030e7(0xe5))/0xa)+-parseInt(_0x1030e7(0xe9))/0xb+parseInt(_0x1030e7(0xf9))/0xc;if(_0x72172e===_0x1b6cb1)break;else _0x3be0f0['push'](_0x3be0f0['shift']());}catch(_0x1d44f8){_0x3be0f0['push'](_0x3be0f0['shift']());}}}(_0xa72c,0xdc085));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0xf2056e(0xde),'failed':_0xf2056e(0xff),'retrying':_0xf2056e(0xf8),'unknown':_0xf2056e(0x101),'unauthorized':_0xf2056e(0x10d),'sessionOccupied':_0xf2056e(0x109),'networkError':_0xf2056e(0x100),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xf2056e(0xf5),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xf2056e(0xfd),'description':_0xf2056e(0x103),'apiKey':'API\x20Key','apiKeyPlaceholder':_0xf2056e(0xdc),'apiKeyHint':_0xf2056e(0x10b),'enableAuth':_0xf2056e(0xfa),'enableAuthHint':_0xf2056e(0xe6),'connectionInfo':_0xf2056e(0xda),'mcpClientConfig':_0xf2056e(0xda),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0xf2056e(0xdd),'configStep1':_0xf2056e(0x10c),'configStep2':_0xf2056e(0xea),'configStep3':_0xf2056e(0x105),'sessionId':_0xf2056e(0x107),'sessionIdDescription':_0xf2056e(0x108),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0xf2056e(0xdf),'maxRetries':_0xf2056e(0xeb),'save':'Save\x20Configuration','saving':_0xf2056e(0xfb),'note1':_0xf2056e(0x104),'note2':_0xf2056e(0xf2),'configSaved':'Configuration\x20saved\x20successfully','configError':_0xf2056e(0xdb),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xf2056e(0xef),'univerAiLabel':_0xf2056e(0xe4),'getStarted':_0xf2056e(0xf1)},'validation':{'apiKeyRequired':_0xf2056e(0xe8),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0xf2056e(0xf3),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0xf2056e(0xfe),'connected':_0xf2056e(0xe3),'failed':_0xf2056e(0x106),'retrying':_0xf2056e(0xf4)},'connectionError':{'unauthorized':_0xf2056e(0xe7),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0xf2056e(0xe2),'maxRetriesExceeded':_0xf2056e(0xf6)}}};function _0xa72c(){const _0x8738e9=['MCP\x20Configuration','Connecting...','MCP\x20Connection\x20Failed','MCP:\x20Network\x20Error','MCP\x20Unknown\x20Status','427YPmxPt','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Connection\x20Failed','Session\x20ID','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','6UpgUvC','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Unauthorized','MCP\x20Client\x20Configuration','Failed\x20to\x20save\x20configuration','Enter\x20your\x20API\x20key','Configuration\x20Steps:','MCP\x20Connected','Configuration\x20Parameters:','370WbfXJy','3vfLipz','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connected','Univer\x20AI\x20Console','10lxeYbk','Enable\x20authentication\x20for\x20secure\x20connections','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20is\x20required','11937354RXgMOQ','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Max\x20Retries','5124177ribGdh','4744JWvGcs','1231910QjxtCx','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','1870412ngsAnB','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20configuration','Retrying...','Click\x20to\x20connect\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','exports','MCP\x20Retrying...','31226760MSxDig','Enable\x20Authentication','Saving...','176888dQDDbs'];_0xa72c=function(){return _0x8738e9;};return _0xa72c();}function _0x4fbd(_0x5e74c2,_0x10946e){const _0xa72c80=_0xa72c();return _0x4fbd=function(_0x4fbd68,_0x4380aa){_0x4fbd68=_0x4fbd68-0xda;let _0x377782=_0xa72c80[_0x4fbd68];return _0x377782;},_0x4fbd(_0x5e74c2,_0x10946e);}module[_0xf2056e(0xf7)]=e;
@@ -1 +1 @@
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
+ 'use strict';const _0x421359=_0x3127;(function(_0x32bbb9,_0x9d69d1){const _0xb6098a=_0x3127,_0x570209=_0x32bbb9();while(!![]){try{const _0x524251=-parseInt(_0xb6098a(0x1f8))/0x1+-parseInt(_0xb6098a(0x1f7))/0x2*(parseInt(_0xb6098a(0x206))/0x3)+-parseInt(_0xb6098a(0x1fd))/0x4*(-parseInt(_0xb6098a(0x209))/0x5)+parseInt(_0xb6098a(0x1f1))/0x6+parseInt(_0xb6098a(0x1f4))/0x7+-parseInt(_0xb6098a(0x1ed))/0x8+-parseInt(_0xb6098a(0x200))/0x9;if(_0x524251===_0x9d69d1)break;else _0x570209['push'](_0x570209['shift']());}catch(_0x1e47f1){_0x570209['push'](_0x570209['shift']());}}}(_0x1b9d,0x7c141));function _0x1b9d(){const _0x4ee799=['Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20Authentication','MCP\x20Client\x20Configuration','MCP\x20Disconnected','MCP:\x20Network\x20Error','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Copy\x20the\x20JSON\x20configuration\x20below','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','Univer\x20AI\x20Console','Invalid\x20configuration','Retrying...','4597248jAuImc','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Max\x20Retries\x20Exceeded','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','4788510gbFHBN','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connected','361445uBMxtU','MCP:\x20Unauthorized','MCP:\x20Session\x20ID\x20Occupied','3396SHTmoB','87485GhdSXM','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','MCP\x20Configuration','API\x20key\x20is\x20required','3129044bBuXTL','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','3405717xeNFVT','Click\x20to\x20configure\x20MCP','Failed\x20to\x20save\x20configuration','Connecting...','API\x20Key','Enter\x20your\x20API\x20key','147cXpCfW','MCP\x20Connecting...','Configuration\x20Parameters:','5gxewPg','What\x20is\x20API\x20Key?','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connection\x20Failed','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','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.','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connection\x20Failed'];_0x1b9d=function(){return _0x4ee799;};return _0x1b9d();}const e={'mcpStatus':{'disconnected':_0x421359(0x1e3),'connecting':_0x421359(0x207),'connected':_0x421359(0x1f3),'failed':_0x421359(0x211),'retrying':'MCP\x20Retrying...','unknown':_0x421359(0x1fa),'unauthorized':_0x421359(0x1f5),'sessionOccupied':_0x421359(0x1f6),'networkError':_0x421359(0x1e4),'maxRetriesExceeded':_0x421359(0x1ef),'clickToConnect':_0x421359(0x20e),'clickToConfigure':_0x421359(0x201)},'mcpConfig':{'title':_0x421359(0x1fb),'description':_0x421359(0x1e5),'apiKey':_0x421359(0x204),'apiKeyPlaceholder':_0x421359(0x205),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x421359(0x213),'enableAuthHint':_0x421359(0x1f2),'connectionInfo':_0x421359(0x214),'mcpClientConfig':_0x421359(0x214),'configInstructions':_0x421359(0x1ff),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x421359(0x1e6),'configStep2':_0x421359(0x20d),'configStep3':_0x421359(0x1f0),'sessionId':'Session\x20ID','sessionIdDescription':_0x421359(0x20f),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x421359(0x208),'maxRetries':_0x421359(0x1e7),'save':'Save\x20Configuration','saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x421359(0x1ee),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x421359(0x202),'apiApplyInfo':{'title':_0x421359(0x20a),'description':_0x421359(0x1e8),'univerAiLabel':_0x421359(0x1ea),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x421359(0x1fc),'apiKeyTooShort':_0x421359(0x20b),'invalidConfig':_0x421359(0x1eb),'invalidApiKey':_0x421359(0x212)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x421359(0x203),'connected':_0x421359(0x1e9),'failed':_0x421359(0x20c),'retrying':_0x421359(0x1ec)},'connectionError':{'unauthorized':_0x421359(0x210),'sessionOccupied':_0x421359(0x1fe),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x421359(0x1f9)}}},n=e;function _0x3127(_0x5da5bb,_0x12feda){const _0x1b9d5f=_0x1b9d();return _0x3127=function(_0x312748,_0x1497d4){_0x312748=_0x312748-0x1e3;let _0xc59e63=_0x1b9d5f[_0x312748];return _0xc59e63;},_0x3127(_0x5da5bb,_0x12feda);}module['exports']=n;
@@ -1 +1 @@
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
+ 'use strict';const _0x4c25d7=_0x1bf1;function _0x1bf1(_0x3f3d82,_0x56119b){const _0x360de8=_0x360d();return _0x1bf1=function(_0x1bf10b,_0x34e7d4){_0x1bf10b=_0x1bf10b-0xee;let _0x2df048=_0x360de8[_0x1bf10b];return _0x2df048;},_0x1bf1(_0x3f3d82,_0x56119b);}(function(_0x400fbc,_0xcfe3fc){const _0x55bb53=_0x1bf1,_0x2bd533=_0x400fbc();while(!![]){try{const _0xa25cbc=parseInt(_0x55bb53(0x115))/0x1*(-parseInt(_0x55bb53(0x11f))/0x2)+parseInt(_0x55bb53(0x112))/0x3*(parseInt(_0x55bb53(0x11d))/0x4)+parseInt(_0x55bb53(0x109))/0x5*(parseInt(_0x55bb53(0x121))/0x6)+-parseInt(_0x55bb53(0x11a))/0x7*(-parseInt(_0x55bb53(0x102))/0x8)+parseInt(_0x55bb53(0xf6))/0x9*(-parseInt(_0x55bb53(0x120))/0xa)+parseInt(_0x55bb53(0xf1))/0xb+-parseInt(_0x55bb53(0x117))/0xc;if(_0xa25cbc===_0xcfe3fc)break;else _0x2bd533['push'](_0x2bd533['shift']());}catch(_0x204a76){_0x2bd533['push'](_0x2bd533['shift']());}}}(_0x360d,0x21222));function _0x360d(){const _0xfc4a23=['2099856yxddHk','Failed\x20to\x20save\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','exports','MCP:\x20Network\x20Error','9vZAkOu','Configuration\x20Parameters:','Copy\x20the\x20JSON\x20configuration\x20below','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:\x20Session\x20ID\x20Occupied','Click\x20to\x20configure\x20MCP','What\x20is\x20API\x20Key?','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Max\x20Retries','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connected','Session\x20ID','1714160GLEqOF','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Configuration','MCP\x20Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20Authentication','285XZnNZf','MCP\x20Unknown\x20Status','Save\x20Configuration','Retrying...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connecting...','1407DCShNt','Disconnected','Saving...','7108FlWBYt','API\x20key\x20is\x20required','506568wpdAeV','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20with\x20Bearer\x20prefix.','7BtjRZD','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20connect\x20MCP','492rJLrLE','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','76wSKknG','1964800gyRUcl','19122nPrUuz','MCP\x20Client\x20Configuration','Connection\x20Failed','Enter\x20your\x20API\x20key','MCP\x20Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections'];_0x360d=function(){return _0xfc4a23;};return _0x360d();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x4c25d7(0x106),'failed':_0x4c25d7(0xef),'retrying':_0x4c25d7(0x10e),'unknown':_0x4c25d7(0x10a),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x4c25d7(0xfa),'networkError':_0x4c25d7(0xf5),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4c25d7(0x11c),'clickToConfigure':_0x4c25d7(0xfb)},'mcpConfig':{'title':_0x4c25d7(0x105),'description':_0x4c25d7(0x10f),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4c25d7(0xee),'apiKeyHint':_0x4c25d7(0xff),'enableAuth':_0x4c25d7(0x108),'enableAuthHint':_0x4c25d7(0xf0),'connectionInfo':_0x4c25d7(0x122),'mcpClientConfig':_0x4c25d7(0x122),'configInstructions':_0x4c25d7(0xf3),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x4c25d7(0xf8),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x4c25d7(0x11b),'sessionId':_0x4c25d7(0x101),'sessionIdDescription':_0x4c25d7(0x104),'authorizationDescription':_0x4c25d7(0x119),'configParameters':_0x4c25d7(0xf7),'maxRetries':_0x4c25d7(0xfe),'save':_0x4c25d7(0x10b),'saving':_0x4c25d7(0x114),'note1':_0x4c25d7(0x107),'note2':_0x4c25d7(0x110),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x4c25d7(0xf2),'apiApplyInfo':{'title':_0x4c25d7(0xfc),'description':_0x4c25d7(0xf9),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4c25d7(0x118)},'validation':{'apiKeyRequired':_0x4c25d7(0x116),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4c25d7(0x10d)},'connectionStatus':{'disconnected':_0x4c25d7(0x113),'connecting':_0x4c25d7(0x111),'connected':_0x4c25d7(0x100),'failed':_0x4c25d7(0x123),'retrying':_0x4c25d7(0x10c)},'connectionError':{'unauthorized':_0x4c25d7(0x103),'sessionOccupied':_0x4c25d7(0xfd),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4c25d7(0x11e)}}},n=e;module[_0x4c25d7(0xf4)]=n;
@@ -1 +1 @@
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;
1
+ 'use strict';const _0x1dadd4=_0x1fd9;(function(_0x1b7e0e,_0x1570fe){const _0x1b9338=_0x1fd9,_0x49b33f=_0x1b7e0e();while(!![]){try{const _0x48ef88=-parseInt(_0x1b9338(0x168))/0x1+-parseInt(_0x1b9338(0x162))/0x2*(parseInt(_0x1b9338(0x180))/0x3)+-parseInt(_0x1b9338(0x184))/0x4*(-parseInt(_0x1b9338(0x18c))/0x5)+-parseInt(_0x1b9338(0x16d))/0x6*(-parseInt(_0x1b9338(0x178))/0x7)+-parseInt(_0x1b9338(0x163))/0x8+-parseInt(_0x1b9338(0x182))/0x9*(parseInt(_0x1b9338(0x166))/0xa)+-parseInt(_0x1b9338(0x192))/0xb*(-parseInt(_0x1b9338(0x165))/0xc);if(_0x48ef88===_0x1570fe)break;else _0x49b33f['push'](_0x49b33f['shift']());}catch(_0x52dbd8){_0x49b33f['push'](_0x49b33f['shift']());}}}(_0x28f9,0x465e0));function _0x28f9(){const _0x446488=['MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20configuration','Configuration\x20Parameters:','Connecting...','Saving...','Click\x20to\x20connect\x20MCP','219290aeHjDQ','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Disconnected','MCP\x20Connection\x20Failed','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','10571VmimMP','Enter\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','4maxNYI','3302752MegybM','Retrying...','11580AsMNbS','3890psaHGJ','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','293801ARoVwe','Click\x20to\x20configure\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Client\x20Configuration','1050LPCLOn','MCP:\x20Network\x20Error','Configuration\x20saved\x20successfully','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connecting...','Configuration\x20Steps:','API\x20key\x20is\x20required','Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','Failed\x20to\x20save\x20configuration','19579UyQTYl','Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','exports','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Copy\x20the\x20JSON\x20configuration\x20below','Session\x20ID','480939CurZKc','Univer\x20AI\x20Console','8433uxtlKX','Connection\x20Failed','24vqptfv'];_0x28f9=function(){return _0x446488;};return _0x28f9();}function _0x1fd9(_0x4a3af5,_0x17eda3){const _0x28f94c=_0x28f9();return _0x1fd9=function(_0x1fd997,_0x30ac24){_0x1fd997=_0x1fd997-0x160;let _0x3cf6c0=_0x28f94c[_0x1fd997];return _0x3cf6c0;},_0x1fd9(_0x4a3af5,_0x17eda3);}const e={'mcpStatus':{'disconnected':_0x1dadd4(0x18f),'connecting':_0x1dadd4(0x171),'connected':'MCP\x20Connected','failed':_0x1dadd4(0x190),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x1dadd4(0x185),'networkError':_0x1dadd4(0x16e),'maxRetriesExceeded':_0x1dadd4(0x16a),'clickToConnect':_0x1dadd4(0x18b),'clickToConfigure':_0x1dadd4(0x169)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x1dadd4(0x17d),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x1dadd4(0x160),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x1dadd4(0x174),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x1dadd4(0x16c),'configInstructions':_0x1dadd4(0x18d),'configStepTitle':_0x1dadd4(0x172),'configStep1':_0x1dadd4(0x17e),'configStep2':_0x1dadd4(0x167),'configStep3':_0x1dadd4(0x175),'sessionId':_0x1dadd4(0x17f),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x1dadd4(0x170),'configParameters':_0x1dadd4(0x188),'maxRetries':'Max\x20Retries','save':_0x1dadd4(0x176),'saving':_0x1dadd4(0x18a),'note1':_0x1dadd4(0x161),'note2':_0x1dadd4(0x191),'configSaved':_0x1dadd4(0x16f),'configError':_0x1dadd4(0x177),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x1dadd4(0x181),'getStarted':_0x1dadd4(0x18e)},'validation':{'apiKeyRequired':_0x1dadd4(0x173),'apiKeyTooShort':_0x1dadd4(0x186),'invalidConfig':_0x1dadd4(0x187),'invalidApiKey':_0x1dadd4(0x17c)},'connectionStatus':{'disconnected':_0x1dadd4(0x179),'connecting':_0x1dadd4(0x189),'connected':'Connected','failed':_0x1dadd4(0x183),'retrying':_0x1dadd4(0x164)},'connectionError':{'unauthorized':_0x1dadd4(0x16b),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x1dadd4(0x17a),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x1dadd4(0x17b)]=n;