@univerjs-pro/mcp-ui 0.24.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ja-JP.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/sk-SK.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +8 -8
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- const _0x143d7b=_0x1382;(function(_0x4076ee,_0x332a26){const _0x32cf19=_0x1382,_0x2ae27b=_0x4076ee();while(!![]){try{const _0x5b0d05=-parseInt(_0x32cf19(0x15e))/0x1+parseInt(_0x32cf19(0xb9))/0x2+-parseInt(_0x32cf19(0x124))/0x3*(-parseInt(_0x32cf19(0x1d0))/0x4)+parseInt(_0x32cf19(0x132))/0x5+-parseInt(_0x32cf19(0x192))/0x6+parseInt(_0x32cf19(0x128))/0x7*(parseInt(_0x32cf19(0x185))/0x8)+-parseInt(_0x32cf19(0x19e))/0x9*(parseInt(_0x32cf19(0x1c6))/0xa);if(_0x5b0d05===_0x332a26)break;else _0x2ae27b['push'](_0x2ae27b['shift']());}catch(_0x3d36a2){_0x2ae27b['push'](_0x2ae27b['shift']());}}}(_0x3e53,0x7a852),Object[_0x143d7b(0x13f)](exports,Symbol[_0x143d7b(0x1bf)],{'value':_0x143d7b(0xbe)}));let e=require(`@univerjs/core`),t=require(`@univerjs-pro/mcp`),n=require(`@univerjs/design`),r=require(`@univerjs/ui`),i=require(`rxjs`),a=require(`@univerjs/icons`),o=require(`react`),s=require(`react/jsx-runtime`),c=require(`@univerjs/network`);function l(_0x4b11c2){const _0x502ec1=_0x143d7b;var _0x1b8e85,_0x5772c1;let {mcpCoreConfig:_0x22d1c9,onSave:_0x34c69b,loading:_0x2fee97=!0x1,config:_0x428811,connectionStatus$:_0x4c8b06,connectionError$:_0x4e1667,currentApiKey$:_0x529f6e,currentSessionId$:_0x5dfd17}=_0x4b11c2,_0x584ed3=(0x0,r['useDependency'])(e[_0x502ec1(0x1f7)]),_0x4e3d16=(0x0,r[_0x502ec1(0x15d)])(_0x4c8b06,t[_0x502ec1(0x1f2)][_0x502ec1(0x108)]),_0x5e44c8=(0x0,r[_0x502ec1(0x15d)])(_0x4e1667,t[_0x502ec1(0xc2)][_0x502ec1(0x175)]),_0x451a00=(0x0,r[_0x502ec1(0x15d)])(_0x5dfd17,''),[_0x589338,_0x17bf95]=(0x0,o[_0x502ec1(0x1e6)])((0x0,r['useObservable'])(_0x529f6e,'')||''),_0x4071a4=_0x428811['showDeveloperTools']&&_0x22d1c9['mcpServerUrl']&&(_0x22d1c9[_0x502ec1(0x16d)][_0x502ec1(0x1af)](_0x502ec1(0x1ac))||_0x22d1c9[_0x502ec1(0x16d)][_0x502ec1(0x1af)](_0x502ec1(0x107))),_0x5193fd=(_0x1b8e85=_0x22d1c9['mcpServerUrl'])==null?void 0x0:_0x1b8e85[_0x502ec1(0x1af)]('univer.plus'),_0x5ddc20=(_0x5772c1=_0x22d1c9['mcpServerUrl'])==null?void 0x0:_0x5772c1['includes'](_0x502ec1(0x107)),_0x4b5e6a=_0x5193fd?_0x502ec1(0xc6):_0x502ec1(0xf3),_0x5b894e=_0x428811[_0x502ec1(0x1e2)]&&(_0x5193fd||_0x5ddc20),[_0x353c7a,_0x2f280e]=(0x0,o[_0x502ec1(0x1e6)])(!_0x589338[_0x502ec1(0x201)]()),_0x551e82=(_0x508230,_0x52c146)=>{const _0x1309d1=_0x502ec1;if(_0x52c146===t['MCPConnectionError'][_0x1309d1(0x1d6)])return _0x1309d1(0x15c);switch(_0x508230){case t['MCPConnectionStatus'][_0x1309d1(0x1e7)]:return _0x1309d1(0x190);case t[_0x1309d1(0x1f2)][_0x1309d1(0x165)]:case t[_0x1309d1(0x1f2)][_0x1309d1(0xce)]:return _0x1309d1(0x1e4);case t[_0x1309d1(0x1f2)]['FAILED']:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x1309d1(0x1c0);}},_0x454720=(_0x1c1988,_0x212e23)=>{const _0x285da5=_0x502ec1;if(_0x212e23===t[_0x285da5(0xc2)][_0x285da5(0x1d6)])return _0x285da5(0x174);switch(_0x1c1988){case t[_0x285da5(0x1f2)][_0x285da5(0x1e7)]:return _0x285da5(0xb4);case t[_0x285da5(0x1f2)][_0x285da5(0x165)]:case t[_0x285da5(0x1f2)]['RETRYING']:return _0x285da5(0x17d);case t[_0x285da5(0x1f2)]['FAILED']:return _0x285da5(0x174);default:return _0x285da5(0x1f8);}},_0x454c1f=_0x24477d=>{const _0x1e3932=_0x502ec1;switch(_0x24477d){case t[_0x1e3932(0x1f2)][_0x1e3932(0x1e7)]:return _0x584ed3['t'](_0x1e3932(0x1d7));case t['MCPConnectionStatus'][_0x1e3932(0x165)]:return _0x584ed3['t'](_0x1e3932(0x146));case t[_0x1e3932(0x1f2)][_0x1e3932(0x1d3)]:return _0x584ed3['t'](_0x1e3932(0x1ef));case t[_0x1e3932(0x1f2)][_0x1e3932(0xce)]:return _0x584ed3['t']('mcpConfig.connectionStatus.retrying');default:return _0x584ed3['t'](_0x1e3932(0x152));}},_0xc2b2d=_0x483a45=>{const _0x5dd702=_0x502ec1;switch(_0x483a45){case t[_0x5dd702(0xc2)]['UNAUTHORIZED']:return _0x584ed3['t'](_0x5dd702(0x1c9));case t[_0x5dd702(0xc2)][_0x5dd702(0xe3)]:return _0x584ed3['t']('mcpConfig.connectionError.sessionOccupied');case t[_0x5dd702(0xc2)]['NETWORK_ERROR']:return _0x584ed3['t'](_0x5dd702(0xb0));case t['MCPConnectionError'][_0x5dd702(0x139)]:return _0x584ed3['t'](_0x5dd702(0x17b));default:return'';}},_0x32d409=(0x0,o['useCallback'])(()=>{const _0x58ddf6=_0x502ec1;_0x34c69b({..._0x22d1c9,'apiKey':_0x589338[_0x58ddf6(0x201)](),'enableAuth':!0x0});},[_0x22d1c9,_0x589338,!0x0,_0x34c69b]),_0x325ac4=_0x589338['trim']()[_0x502ec1(0xfa)]>0x0;return(0x0,s[_0x502ec1(0xf7)])('div',{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[(0x0,s['jsx'])(_0x502ec1(0x168),{'className':_0x502ec1(0xfc),'children':(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0x12d),'children':[(0x0,s['jsx'])('div',{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':_0x502ec1(0x160),'children':'⚙'})}),(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'children':(0x0,s[_0x502ec1(0x16c)])('p',{'className':_0x502ec1(0xc9),'children':_0x584ed3['t'](_0x502ec1(0xd5))})})]})}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0x1e9),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':(0x0,n[_0x502ec1(0xee)])(_0x502ec1(0xc3),_0x551e82(_0x4e3d16,_0x5e44c8)),'children':(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0xa7),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':(0x0,n[_0x502ec1(0xee)])(_0x502ec1(0xeb),_0x454720(_0x4e3d16,_0x5e44c8))}),(0x0,s[_0x502ec1(0x16c)])('span',{'className':'univer-text-sm\x20univer-font-medium','children':_0x454c1f(_0x4e3d16)})]})}),_0x5e44c8!==t[_0x502ec1(0xc2)][_0x502ec1(0x175)]&&(_0x4e3d16===t[_0x502ec1(0x1f2)][_0x502ec1(0x1d3)]||_0x5e44c8===t[_0x502ec1(0xc2)][_0x502ec1(0x1d6)])&&(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0x13e),'children':(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[(0x0,s['jsx'])('span',{'className':_0x502ec1(0x100),'children':'⚠️'}),(0x0,s[_0x502ec1(0x16c)])('p',{'className':_0x502ec1(0x1eb),'children':_0xc2b2d(_0x5e44c8)})]})})]}),(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0xba),'children':[(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0x15f),'children':[(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0xcc),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'children':'🔑'}),'\x20',_0x584ed3['t'](_0x502ec1(0xbc)),(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':_0x502ec1(0xbd),'children':'*'}),_0x4071a4&&(0x0,s[_0x502ec1(0x16c)])('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x584ed3['t'](_0x502ec1(0xd2)),'role':_0x502ec1(0x102),'onClick':()=>_0x2f280e(!0x0),'children':(0x0,s[_0x502ec1(0x16c)])(a['HelpIcon'],{})})]}),(0x0,s[_0x502ec1(0x16c)])(n[_0x502ec1(0x14b)],{'type':_0x502ec1(0x166),'placeholder':_0x584ed3['t'](_0x502ec1(0x12c)),'value':_0x589338,'disabled':_0x2fee97,'autoComplete':_0x502ec1(0x194),'onChange':_0x17bf95}),(0x0,s[_0x502ec1(0x16c)])('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x584ed3['t']('mcpConfig.apiKeyHint')})]}),_0x4071a4&&_0x353c7a&&(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[(0x0,s[_0x502ec1(0x16c)])('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':_0x502ec1(0x102),'onClick':()=>_0x2f280e(!0x1),'children':(0x0,s[_0x502ec1(0x16c)])(a[_0x502ec1(0x1ec)],{'className':_0x502ec1(0x14f)})}),(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0xdc),'children':[(0x0,s[_0x502ec1(0x16c)])('div',{'className':_0x502ec1(0x13b),'children':(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':_0x502ec1(0x10b),'children':'🚀'})}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0xb3),'children':[(0x0,s[_0x502ec1(0x16c)])('h4',{'className':_0x502ec1(0x129),'children':_0x584ed3['t']('mcpConfig.apiApplyInfo.title')}),(0x0,s[_0x502ec1(0x16c)])('p',{'className':_0x502ec1(0x133),'children':_0x584ed3['t']('mcpConfig.apiApplyInfo.description')}),(0x0,s[_0x502ec1(0x16c)])('div',{'className':_0x502ec1(0x1ce),'children':_0x5b894e&&(0x0,s[_0x502ec1(0xf7)])('a',{'className':_0x502ec1(0x18c),'href':_0x4b5e6a,'target':_0x502ec1(0x14a),'rel':_0x502ec1(0x197),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'children':'🤖'}),_0x584ed3['t'](_0x502ec1(0x179)),(0x0,s['jsx'])(_0x502ec1(0x182),{'className':_0x502ec1(0x1b0),'children':'↗'})]})}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0x18d),'children':['✨','\x20',_0x584ed3['t'](_0x502ec1(0x1b9))]})]})]})]}),_0x428811['showDeveloperTools']&&(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0x1ed),'children':[(0x0,s[_0x502ec1(0xf7)])('h4',{'className':_0x502ec1(0x138),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'children':'🔗'}),'\x20',_0x584ed3['t'](_0x502ec1(0x13c))]}),(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0xef),'children':[(0x0,s[_0x502ec1(0xf7)])('div',{'className':_0x502ec1(0xfb),'children':[(0x0,s['jsx'])('p',{'className':_0x502ec1(0xd1),'children':_0x584ed3['t'](_0x502ec1(0xa6))}),(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':'univer-space-y-2','children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0x154),'children':_0x584ed3['t'](_0x502ec1(0x110))}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0xa8),'children':[(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0xa7),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':_0x502ec1(0x1b6),'children':'1'}),_0x584ed3['t'](_0x502ec1(0x1e8))]}),(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0xa7),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':_0x502ec1(0x1b6),'children':'2'}),_0x584ed3['t'](_0x502ec1(0xbf))]}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0xa7),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':_0x502ec1(0x1b6),'children':'3'}),_0x584ed3['t'](_0x502ec1(0xe1))]})]})]})]}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0x15f),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0x154),'children':'MCP\x20Configuration'}),(0x0,s['jsx'])(_0x502ec1(0x168),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':(0x0,s[_0x502ec1(0x16c)])('pre',{'className':_0x502ec1(0x125),'children':JSON[_0x502ec1(0xb7)]({'mcpServers':{'univer':{'url':_0x502ec1(0x1d5)+(_0x451a00||_0x502ec1(0x1a7)),'type':_0x502ec1(0x135),'headers':{'Authorization':_0x502ec1(0x1b8)+(_0x589338||_0x502ec1(0xc8))}}}},null,0x2)})})]}),(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0xfb),'children':[(0x0,s['jsx'])(_0x502ec1(0x168),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x584ed3['t'](_0x502ec1(0x1cb))}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':'univer-space-y-2','children':[(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0x1aa),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0x1fd)}),(0x0,s['jsxs'])('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x502ec1(0xf6)}),(0x0,s[_0x502ec1(0x16c)])('div',{'className':_0x502ec1(0x17e),'children':_0x584ed3['t'](_0x502ec1(0xd4))})]})]}),(0x0,s[_0x502ec1(0xf7)])('div',{'className':_0x502ec1(0x1aa),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0x1fd)}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':_0x502ec1(0xd9),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0x1be),'children':_0x502ec1(0x1e3)}),(0x0,s[_0x502ec1(0x16c)])('div',{'className':_0x502ec1(0x17e),'children':_0x584ed3['t'](_0x502ec1(0xd7))})]})]})]})]})]})]}),(0x0,s[_0x502ec1(0x16c)])(n[_0x502ec1(0x1b3)],{'onClick':_0x32d409,'disabled':!_0x325ac4||_0x2fee97,'className':_0x502ec1(0x143),'children':_0x2fee97?(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x182),{'className':_0x502ec1(0xa7),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'children':'⟲'}),_0x584ed3['t'](_0x502ec1(0x1de))]}):(0x0,s[_0x502ec1(0xf7)])('span',{'className':_0x502ec1(0xa7),'children':[(0x0,s[_0x502ec1(0x16c)])(a[_0x502ec1(0x162)],{}),_0x584ed3['t'](_0x502ec1(0x167))]})}),(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':_0x502ec1(0xe6),'children':(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'className':'univer-flex\x20univer-gap-3','children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x182),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),(0x0,s['jsxs'])(_0x502ec1(0x168),{'className':_0x502ec1(0x1c3),'children':[(0x0,s[_0x502ec1(0x16c)])(_0x502ec1(0x168),{'className':'univer-font-medium','children':'Configuration\x20Notes:'}),(0x0,s['jsxs'])('div',{'children':['•',_0x584ed3['t'](_0x502ec1(0x12f))]}),(0x0,s[_0x502ec1(0xf7)])(_0x502ec1(0x168),{'children':['•',_0x584ed3['t']('mcpConfig.note2')]})]})]})})]})})]});}const u=_0x143d7b(0x157);Symbol(u);const d={'showDeveloperTools':!0x1,'showStatus':!0x0};function f(_0x2ccf11){'@babel/helpers - typeof';const _0x37e1e2=_0x143d7b;return f=typeof Symbol==_0x37e1e2(0x18a)&&typeof Symbol[_0x37e1e2(0xac)]==_0x37e1e2(0x1e0)?function(_0x491005){return typeof _0x491005;}:function(_0x285ea2){const _0x9a86b2=_0x37e1e2;return _0x285ea2&&typeof Symbol==_0x9a86b2(0x18a)&&_0x285ea2[_0x9a86b2(0xf0)]===Symbol&&_0x285ea2!==Symbol[_0x9a86b2(0xdf)]?_0x9a86b2(0x1e0):typeof _0x285ea2;},f(_0x2ccf11);}function p(_0xb124ce,_0x338326){const _0x160715=_0x143d7b;if(f(_0xb124ce)!='object'||!_0xb124ce)return _0xb124ce;var _0x17289c=_0xb124ce[Symbol['toPrimitive']];if(_0x17289c!==void 0x0){var _0x2ef400=_0x17289c['call'](_0xb124ce,_0x338326||_0x160715(0x15b));if(f(_0x2ef400)!=_0x160715(0xfe))return _0x2ef400;throw TypeError(_0x160715(0x1a1));}return(_0x338326===_0x160715(0x178)?String:Number)(_0xb124ce);}function m(_0x503323){const _0xf42d7c=_0x143d7b;var _0x2490b0=p(_0x503323,_0xf42d7c(0x178));return f(_0x2490b0)=='symbol'?_0x2490b0:_0x2490b0+'';}function h(_0x723a8c,_0x68ab70,_0x4cc0bc){const _0x7fe991=_0x143d7b;return(_0x68ab70=m(_0x68ab70))in _0x723a8c?Object[_0x7fe991(0x13f)](_0x723a8c,_0x68ab70,{'value':_0x4cc0bc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x723a8c[_0x68ab70]=_0x4cc0bc,_0x723a8c;}function g(_0x213b4f,_0x420ae6){return function(_0x3f6d2f,_0x42544d){_0x420ae6(_0x3f6d2f,_0x42544d,_0x213b4f);};}function _(_0x1cabba,_0x562ded,_0x201fbe,_0x15ef48){const _0x5eda51=_0x143d7b;var _0x2a677a=arguments[_0x5eda51(0xfa)],_0x491c18=_0x2a677a<0x3?_0x562ded:_0x15ef48===null?_0x15ef48=Object[_0x5eda51(0x145)](_0x562ded,_0x201fbe):_0x15ef48,_0x2b7d0b;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x491c18=Reflect['decorate'](_0x1cabba,_0x562ded,_0x201fbe,_0x15ef48);else{for(var _0x3d3af2=_0x1cabba[_0x5eda51(0xfa)]-0x1;_0x3d3af2>=0x0;_0x3d3af2--)(_0x2b7d0b=_0x1cabba[_0x3d3af2])&&(_0x491c18=(_0x2a677a<0x3?_0x2b7d0b(_0x491c18):_0x2a677a>0x3?_0x2b7d0b(_0x562ded,_0x201fbe,_0x491c18):_0x2b7d0b(_0x562ded,_0x201fbe))||_0x491c18);}return _0x2a677a>0x3&&_0x491c18&&Object['defineProperty'](_0x562ded,_0x201fbe,_0x491c18),_0x491c18;}const v=_0x143d7b(0x14d),y='mcp-config-dialog';let b=class extends e[_0x143d7b(0x164)]{constructor(_0x4f0a03,_0x5c29de,_0x40559a,_0x134f0,_0x22ea1b,_0x16f060,_0x1f0756,_0x15653d,_0x1844b2,_0x40133d){const _0x47c1b4=_0x143d7b;super(),this[_0x47c1b4(0x113)]=_0x4f0a03,this[_0x47c1b4(0x1ff)]=_0x5c29de,this[_0x47c1b4(0x17a)]=_0x40559a,this['_localStorageService']=_0x134f0,this[_0x47c1b4(0x1c8)]=_0x22ea1b,this[_0x47c1b4(0x1ad)]=_0x16f060,this[_0x47c1b4(0x1db)]=_0x1f0756,this['_localeService']=_0x15653d,this[_0x47c1b4(0x18e)]=_0x1844b2,this['_mcpConnectionController']=_0x40133d,h(this,_0x47c1b4(0x196),new i[(_0x47c1b4(0xcf))](!0x1)),h(this,_0x47c1b4(0x1b4),new i[(_0x47c1b4(0xcf))]({})),h(this,_0x47c1b4(0x156),new i['BehaviorSubject']({})),h(this,_0x47c1b4(0x155),new i[(_0x47c1b4(0xcf))]('')),h(this,_0x47c1b4(0x184),async _0x28408d=>{const _0x3dffda=_0x47c1b4;this[_0x3dffda(0x196)][_0x3dffda(0x117)](!0x0);try{var _0x2582ec,_0x5909b1;let _0x4b8707=await this['_validateConfig'](_0x28408d);if(!_0x4b8707[_0x3dffda(0x193)]){this['_messageService'][_0x3dffda(0x1c2)]({'type':n[_0x3dffda(0x16a)]['Error'],'content':_0x4b8707[_0x3dffda(0xcb)]||this[_0x3dffda(0x1d2)]['t'](_0x3dffda(0x10e))});return;}_0x28408d[_0x3dffda(0x1c7)]?await this[_0x3dffda(0x1a0)][_0x3dffda(0x1cd)](v,_0x28408d[_0x3dffda(0x1c7)][_0x3dffda(0x201)]()):await this[_0x3dffda(0x1a0)][_0x3dffda(0x1cc)](v),this[_0x3dffda(0x155)][_0x3dffda(0x117)](((_0x2582ec=_0x28408d['apiKey'])==null?void 0x0:_0x2582ec[_0x3dffda(0x201)]())||''),this['_mcpConnectionController'][_0x3dffda(0x188)]({'Authorization':_0x3dffda(0x1b8)+((_0x5909b1=_0x28408d['apiKey'])==null?void 0x0:_0x5909b1[_0x3dffda(0x201)]())}),this['_messageService'][_0x3dffda(0x1c2)]({'type':n[_0x3dffda(0x16a)][_0x3dffda(0x16e)],'content':this[_0x3dffda(0x1d2)]['t'](_0x3dffda(0xd6))}),setTimeout(()=>{const _0x2760be=_0x3dffda;this[_0x2760be(0x1c8)][_0x2760be(0xc5)](y);},0x320);}catch(_0x5259d0){this[_0x3dffda(0x18e)][_0x3dffda(0x1a4)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x5259d0),this['_messageService'][_0x3dffda(0x1c2)]({'type':n[_0x3dffda(0x16a)][_0x3dffda(0xe8)],'content':this['_localeService']['t']('mcpConfig.configError')});}finally{this[_0x3dffda(0x196)]['next'](!0x1);}}),this['_initConfigSync'](),this[_0x47c1b4(0x15a)](),this['_registerComponent']();}['showConfigPanel'](){const _0x1378b0=_0x143d7b;let _0x5be946=this['_configService']['getConfig'](u);_0x5be946!=null&&_0x5be946[_0x1378b0(0x1e2)]&&this[_0x1378b0(0x1c8)][_0x1378b0(0x173)]({'id':y,'title':{'title':this[_0x1378b0(0x1d2)]['t']('mcpConfig.title')},'children':{'label':_0x1378b0(0xf1)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3b4772=_0x1378b0;this['_dialogService'][_0x3b4772(0xc5)](y);}});}[_0x143d7b(0x19d)](){return this['_mcpCoreConfig$']['value'];}['_registerComponent'](){const _0x2f45f2=_0x143d7b;this[_0x2f45f2(0x158)](this[_0x2f45f2(0x1db)]['register'](_0x2f45f2(0xf1),this[_0x2f45f2(0x103)]()));}[_0x143d7b(0x103)](){const _0x248b99=_0x143d7b;return(0x0,r['connectInjector'])(()=>{const _0x39d3ad=_0x1382;var _0x23bb05,_0x503d82,_0x14fc97;return(0x0,s[_0x39d3ad(0x16c)])(l,{'config':this[_0x39d3ad(0x156)][_0x39d3ad(0xb8)],'mcpCoreConfig':this[_0x39d3ad(0x1b4)][_0x39d3ad(0xb8)],'currentApiKey$':this[_0x39d3ad(0x155)],'onSave':this[_0x39d3ad(0x184)],'loading':this['_loading$'][_0x39d3ad(0xb8)],'connectionStatus$':(_0x23bb05=this[_0x39d3ad(0xe5)])==null?void 0x0:_0x23bb05[_0x39d3ad(0x134)],'connectionError$':(_0x503d82=this['_mcpConnectionController'])==null?void 0x0:_0x503d82[_0x39d3ad(0xf9)],'currentSessionId$':(_0x14fc97=this[_0x39d3ad(0xe5)])==null?void 0x0:_0x14fc97[_0x39d3ad(0x131)]});},this[_0x248b99(0x113)]);}[_0x143d7b(0x161)](){const _0x53f9db=_0x143d7b;this['disposeWithMe'](this[_0x53f9db(0x17a)][_0x53f9db(0x1b5)](t[_0x53f9db(0x169)])['subscribe'](_0x18ef34=>{const _0x4efae3=_0x53f9db;this['_mcpCoreConfig$'][_0x4efae3(0x117)](_0x18ef34||{});}));let _0x3a0708=this[_0x53f9db(0x17a)][_0x53f9db(0x12a)](t['MCP_PLUGIN_CONFIG_KEY']);this[_0x53f9db(0x1b4)][_0x53f9db(0x117)](_0x3a0708||{}),this[_0x53f9db(0x158)](this[_0x53f9db(0x17a)]['subscribeConfigValue$'](u)[_0x53f9db(0x1c1)](_0x368f10=>{const _0x2b312d=_0x53f9db;this[_0x2b312d(0x156)]['next'](_0x368f10||{});}));let _0x5c6eeb=this[_0x53f9db(0x17a)][_0x53f9db(0x12a)](u);this['_config$'][_0x53f9db(0x117)](_0x5c6eeb||{});}async[_0x143d7b(0x15a)](){const _0x516ab8=_0x143d7b;let _0x1a509a=this[_0x516ab8(0x17a)][_0x516ab8(0x12a)](u);if(!(_0x1a509a!=null&&_0x1a509a[_0x516ab8(0x1e2)]))return;let _0x206cf8=await this[_0x516ab8(0x1a0)]['getItem'](v);_0x206cf8&&(this[_0x516ab8(0xe5)][_0x516ab8(0x188)]({'Authorization':'Bearer\x20'+_0x206cf8}),this['_apiKey$'][_0x516ab8(0x117)](_0x206cf8));}async[_0x143d7b(0x199)](_0x471c7d){const _0x61858a=_0x143d7b;if(!_0x471c7d['apiKey']||_0x471c7d['apiKey'][_0x61858a(0x201)]()[_0x61858a(0xfa)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x61858a(0x1d2)]['t'](_0x61858a(0x148))};if(_0x471c7d[_0x61858a(0x1c7)]['trim']()[_0x61858a(0xfa)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x61858a(0x1d2)]['t'](_0x61858a(0xd0))};try{let _0x2f662c=await this[_0x61858a(0x113)]['get'](t[_0x61858a(0x13d)])[_0x61858a(0xc1)](_0x471c7d[_0x61858a(0x1c7)][_0x61858a(0x201)]());return _0x2f662c['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2f662c['error']||this[_0x61858a(0x1d2)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x2dfd5f){return console[_0x61858a(0xf5)](_0x61858a(0xc4),_0x2dfd5f),{'isValid':!0x0};}}};b=_([g(0x0,(0x0,e[_0x143d7b(0x1fe)])(e[_0x143d7b(0x123)])),g(0x1,r['IUIPartsService']),g(0x2,e[_0x143d7b(0x186)]),g(0x3,e[_0x143d7b(0xc0)]),g(0x4,r['IDialogService']),g(0x5,r[_0x143d7b(0x1a3)]),g(0x6,(0x0,e[_0x143d7b(0x1fe)])(r[_0x143d7b(0x11d)])),g(0x7,(0x0,e[_0x143d7b(0x1fe)])(e[_0x143d7b(0x1f7)])),g(0x8,e['ILogService']),g(0x9,(0x0,e[_0x143d7b(0x1fe)])(t['MCPConnectionController']))],b);const x={'id':'mcp-ui.command.openConfigPanel','type':e[_0x143d7b(0x1bb)]['COMMAND'],'handler':async(_0x11d7c6,_0x2df630)=>(_0x11d7c6['get'](b)[_0x143d7b(0x1fc)](),!0x0)};function S(_0x4d0111,_0x1e8835){const _0x26977c=_0x143d7b;switch(_0x4d0111){case t[_0x26977c(0x1f2)]['DISCONNECTED']:return _0x26977c(0x181);case t[_0x26977c(0x1f2)]['CONNECTING']:return _0x26977c(0x180);case t[_0x26977c(0x1f2)]['CONNECTED']:return'mcpStatus.connected';case t['MCPConnectionStatus']['FAILED']:switch(_0x1e8835){case t[_0x26977c(0xc2)][_0x26977c(0x1d6)]:return _0x26977c(0x203);case t[_0x26977c(0xc2)][_0x26977c(0xe3)]:return _0x26977c(0x18f);case t[_0x26977c(0xc2)]['NETWORK_ERROR']:return _0x26977c(0x1e5);case t[_0x26977c(0xc2)]['MAX_RETRIES_EXCEEDED']:return _0x26977c(0x200);default:return _0x26977c(0x1a2);}case t[_0x26977c(0x1f2)][_0x26977c(0xce)]:return _0x26977c(0x195);default:return _0x26977c(0x116);}}function C(_0x52f7f1,_0xba4dc3,_0x39e127,_0x549ae4=!0x0){const _0x1cdcdd=_0x143d7b;let _0x43ae9e=S(_0x52f7f1,_0xba4dc3),_0x385c91=_0x39e127['t'](_0x43ae9e);return _0x549ae4?_0x52f7f1===t[_0x1cdcdd(0x1f2)][_0x1cdcdd(0x108)]&&_0xba4dc3===t[_0x1cdcdd(0xc2)]['UNAUTHORIZED']?_0x385c91+_0x1cdcdd(0x1bc)+_0x39e127['t']('mcpStatus.clickToConfigure'):_0x52f7f1===t[_0x1cdcdd(0x1f2)][_0x1cdcdd(0x1e7)]?''+_0x385c91:_0x52f7f1===t['MCPConnectionStatus'][_0x1cdcdd(0x108)]||_0x52f7f1===t[_0x1cdcdd(0x1f2)][_0x1cdcdd(0x1d3)]?_0x385c91+'\x20-\x20'+_0x39e127['t'](_0x1cdcdd(0xb1)):_0x385c91:_0x385c91;}function w(_0x37f8fa){const _0x4b91ea=_0x143d7b;switch(_0x37f8fa){case t[_0x4b91ea(0x1f2)][_0x4b91ea(0x1e7)]:return _0x4b91ea(0x11c);case t[_0x4b91ea(0x1f2)][_0x4b91ea(0x165)]:case t[_0x4b91ea(0x1f2)][_0x4b91ea(0xce)]:return _0x4b91ea(0x140);case t['MCPConnectionStatus']['FAILED']:case t[_0x4b91ea(0x1f2)][_0x4b91ea(0x108)]:return _0x4b91ea(0xbd);default:return _0x4b91ea(0x1b2);}}function _0x1382(_0x246aeb,_0x206992){_0x246aeb=_0x246aeb-0xa6;const _0x3e5330=_0x3e53();let _0x138228=_0x3e5330[_0x246aeb];return _0x138228;}function T(_0xbd0a1f){const _0x51572b=_0x143d7b;let {status$:_0x897b1e,error$:_0x370ca6,onConfigure:_0x22a8a9,showClickable:_0x93972a=!0x0}=_0xbd0a1f,_0x2cbdcd=(0x0,r[_0x51572b(0x15d)])(_0x897b1e,t[_0x51572b(0x1f2)][_0x51572b(0x108)]),_0x2e6f7e=(0x0,r[_0x51572b(0x15d)])(_0x370ca6,t[_0x51572b(0xc2)][_0x51572b(0x175)]),_0x192ff5=(0x0,r['useDependency'])(e['LocaleService']),_0x5f048c=_0x2cbdcd===t[_0x51572b(0x1f2)]['CONNECTED'];_0x2cbdcd===t['MCPConnectionStatus'][_0x51572b(0x165)]||t[_0x51572b(0x1f2)][_0x51572b(0xce)];let _0x54784b=_0x192ff5['t'](S(_0x2cbdcd,_0x2e6f7e)),_0x27ec10=C(_0x2cbdcd,_0x2e6f7e,_0x192ff5,_0x93972a),_0x25d35d=w(_0x2cbdcd),_0x112a67=_0x5f048c?(0x0,s[_0x51572b(0x16c)])(a[_0x51572b(0x10c)],{}):(0x0,s[_0x51572b(0x16c)])(a[_0x51572b(0x11e)],{}),_0x55934f=(0x0,o[_0x51572b(0x1a8)])(()=>{_0x93972a&&_0x22a8a9&&_0x22a8a9();},[_0x93972a,_0x22a8a9]);function _0x4c7f50(){const _0x3f7bfd=_0x51572b;return(0x0,s[_0x3f7bfd(0xf7)])('div',{'className':(0x0,n[_0x3f7bfd(0xee)])(_0x3f7bfd(0x1dd),_0x93972a&&_0x22a8a9&&_0x3f7bfd(0x153)),'role':_0x3f7bfd(0x102),'onClick':_0x93972a&&_0x22a8a9?_0x55934f:void 0x0,'children':[(0x0,s['jsx'])(_0x3f7bfd(0x168),{'className':(0x0,n[_0x3f7bfd(0xee)])(_0x3f7bfd(0xb6),_0x25d35d),'children':_0x112a67}),(0x0,s[_0x3f7bfd(0x16c)])(_0x3f7bfd(0x168),{'className':_0x3f7bfd(0x189),'children':_0x54784b})]});}return(0x0,s['jsx'])(n[_0x51572b(0xf8)],{'title':_0x27ec10,'placement':_0x51572b(0x1ab),'children':_0x4c7f50()});}let E=class extends e[_0x143d7b(0x164)]{constructor(_0x3c09ca,_0x2ca996,_0x430f4f,_0x1157b3){const _0x11ab5d=_0x143d7b;super(),this['_injector']=_0x3c09ca,this[_0x11ab5d(0x112)]=_0x2ca996,this['_uiPartsService']=_0x430f4f,this['_configService']=_0x1157b3,this[_0x11ab5d(0x202)](),this[_0x11ab5d(0x1f6)]();}[_0x143d7b(0x202)](){const _0x30d3b2=_0x143d7b;let _0x242f35=this[_0x30d3b2(0x17a)][_0x30d3b2(0x12a)](u);_0x242f35!=null&&_0x242f35[_0x30d3b2(0x1e2)]&&(this[_0x30d3b2(0x112)]['enableAutoConnect']=!0x1);}[_0x143d7b(0x1f6)](){const _0x17319a=_0x143d7b;let _0x237fe9=this[_0x17319a(0x17a)][_0x17319a(0x12a)](u);(_0x237fe9==null?void 0x0:_0x237fe9[_0x17319a(0x115)])!==!0x1&&this[_0x17319a(0x158)](this[_0x17319a(0x1ff)]['registerComponent'](r[_0x17319a(0x1cf)]['HEADER_MENU'],()=>{const _0x5cf9da=_0x17319a;var _0x580aad;return(0x0,r[_0x5cf9da(0x1bd)])(D({'status$':this[_0x5cf9da(0x112)]['connectionStatus$'],'error$':this[_0x5cf9da(0x112)][_0x5cf9da(0xf9)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x580aad=_0x237fe9==null?void 0x0:_0x237fe9[_0x5cf9da(0x1e2)])==null?!0x1:_0x580aad}),this[_0x5cf9da(0x113)]);}));}[_0x143d7b(0xdb)](){const _0x4e88eb=_0x143d7b;this[_0x4e88eb(0x113)][_0x4e88eb(0x118)](b)[_0x4e88eb(0x1fc)]();}};E=_([g(0x0,(0x0,e[_0x143d7b(0x1fe)])(e[_0x143d7b(0x123)])),g(0x1,(0x0,e['Inject'])(t[_0x143d7b(0x13d)])),g(0x2,r[_0x143d7b(0x151)]),g(0x3,e[_0x143d7b(0x186)])],E);function _0x3e53(){const _0x5609cb=['open','univer-bg-red-500','NONE','merge','MenuIcon','string','mcpConfig.apiApplyInfo.univerAiLabel','_configService','mcpConfig.connectionError.maxRetriesExceeded','_initializeMenus','univer-bg-blue-500','univer-text-xs\x20univer-text-gray-500','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpStatus.connecting','mcpStatus.disconnected','span','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','_handleConfigSave','8dOAifc','IConfigService','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','__setCustomHeaders','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','function','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','_logService','mcpStatus.sessionOccupied','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','配置步骤:','540792eivtMg','isValid','off','mcpStatus.retrying','_loading$','noopener\x20noreferrer','registerCommand','_validateConfig','配置保存失败','Saving...','启用身份验证以获得安全连接','getCurrentConfig','11007396txuhpG','OTHERS','_localStorageService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','mcpStatus.failed','IMessageService','error','Enable\x20Authentication','DependentOn','<SESSION_ID>','useCallback','Get\x20your\x20API\x20key\x20in\x20seconds','univer-flex\x20univer-items-start\x20univer-gap-3','bottom','univer.plus','_messageService','Plugin','includes','univer-text-gray-400','IMenuManagerService','univer-text-gray-500','Button','_mcpCoreConfig$','subscribeConfigValue$','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','MCPStatusDisplay','Bearer\x20','mcpConfig.apiApplyInfo.getStarted','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','CommandType','\x20-\x20','connectInjector','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','toStringTag','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','subscribe','show','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','API\x20密钥不能为空','重启您的\x20MCP\x20客户端以使配置生效','10UPuavO','apiKey','_dialogService','mcpConfig.connectionError.unauthorized','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpConfig.configParameters','removeItem','setItem','univer-flex\x20univer-flex-wrap\x20univer-gap-2','BuiltInUIPart','4dtDYLq','version','_localeService','FAILED','配置更改将立即生效','https://mcp.univer.ai/mcp/?univer_session_id=','UNAUTHORIZED','mcpConfig.connectionStatus.connected','已连接','MCP\x20Retrying...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','_componentManager','Click\x20to\x20configure\x20MCP','univer-flex\x20univer-items-center','mcpConfig.saving','Invalid\x20configuration','symbol','onStarting','showDeveloperTools','Authorization:','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','mcpStatus.networkError','useState','CONNECTED','mcpConfig.configStep1','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','配置参数:','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','CloseIcon','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','请输入您的\x20API\x20密钥','mcpConfig.connectionStatus.failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','会话ID','MCPConnectionStatus','MCP\x20Disconnected','MCP\x20Configuration','UniverMCPPlugin','_initStatusComponent','LocaleService','univer-bg-gray-500','网络连接错误,请检查您的网络连接','MenuItemType','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','showConfigPanel','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Inject','_uiPartsService','mcpStatus.maxRetriesExceeded','trim','_initAutoConnect','mcpStatus.unauthorized','MCP_UI_PLUGIN','mcpConfig.configInstructions','univer-flex\x20univer-items-center\x20univer-gap-2','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','0.24.0','点击配置\x20MCP','iterator','MCP:\x20Max\x20Retries\x20Exceeded','pluginName','Connecting...','mcpConfig.connectionError.networkError','mcpStatus.clickToConnect','add','univer-flex-1','univer-bg-green-500','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-mr-2\x20univer-flex\x20univer-text-xl','stringify','value','752396xCbtHT','univer-space-y-5','Configuration\x20saved\x20successfully','mcpConfig.apiKey','univer-text-red-500','Module','mcpConfig.configStep2','ILocalStorageService','validateApiKey','MCPConnectionError','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','close','https://console.univer.plus','Retrying...','<API_KEY>','univer-text-sm\x20univer-text-gray-500','重连中...','errorMessage','label','MCP\x20连接失败','RETRYING','BehaviorSubject','mcpConfig.validation.apiKeyTooShort','univer-text-xs\x20univer-text-gray-600','mcpConfig.apiApplyInfo.title','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','mcpConfig.sessionIdDescription','mcpConfig.description','mcpConfig.configSaved','mcpConfig.authorizationDescription','enUS','univer-min-w-0\x20univer-flex-1','Max\x20Retries','_handleConfigure','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','MCP\x20重连中...','mcpConfig.title','prototype','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','mcpConfig.configStep3','MCP\x20Connection\x20Failed','SESSION_ID_OCCUPIED','MCP\x20客户端配置','_mcpConnectionController','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','API\x20key\x20is\x20required','Error','您的\x20API\x20密钥将在此浏览器中本地存储','mergeMenu','univer-size-2\x20univer-rounded-full','OpenMCPConfigPanelCommand','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','clsx','univer-space-y-4','constructor','MCPConfigPanel','MCP:\x20未授权','https://console.univer.ai','权限验证失败,请检查您的\x20API\x20密钥','warn','univer_session_id:','jsxs','Tooltip','connectionError$','length','univer-space-y-3','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','forEach','object','_initializeCommands','univer-shrink-0\x20univer-text-red-500','配置无效','button','_createConfigPanelComponent','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP:\x20Session\x20ID\x20Occupied','MCPConfigUIController','univer.ai','DISCONNECTED','RibbonStartGroup','API\x20key\x20with\x20Bearer\x20prefix.','univer-text-blue-600','OnLineIcon','zhCN','mcpConfig.validation.invalidConfig','MCPUIMenuController','mcpConfig.configStepTitle','Enter\x20your\x20API\x20key','_connectionController','_injector','WebSocketService','showStatus','mcpStatus.unknown','next','get','Session\x20ID','MCP\x20已断开','API\x20密钥无效,请检查密钥是否正确','univer-text-green-500','ComponentManager','OffLineIcon','_commandService','has','UniverMCPUIPlugin','Configuration\x20Parameters:','Injector','2742477sXbheI','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20配置','1336713HJMxaT','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','getConfig','Save\x20Configuration','mcpConfig.apiKeyPlaceholder','univer-flex\x20univer-items-center\x20univer-gap-3','API\x20密钥','mcpConfig.note1','最大重试次数','sessionId$','3297390GAxFxo','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','connectionStatus$','http','Disconnected','MCP\x20Unknown\x20Status','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MAX_RETRIES_EXCEEDED','保存配置','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcpConfig.connectionInfo','MCPConnectionController','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','defineProperty','univer-text-yellow-500','MCPConnectionUIController','push','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\x20AI\x20Console','getOwnPropertyDescriptor','mcpConfig.connectionStatus.connecting','MCP\x20Connected','mcpConfig.validation.apiKeyRequired','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','_blank','Input','API\x20密钥长度至少需要\x2010\x20位','mcp.apiKey','MCP:\x20Network\x20Error','univer-size-4','ISocketService','IUIPartsService','mcpConfig.connectionStatus.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','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','_apiKey$','_config$','mcp-ui.config','disposeWithMe','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_loadStoredApiKey','default','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','useObservable','325776GwmhYf','univer-space-y-2','univer-text-white','_initConfigSync','CheckMarkIcon','MCP\x20状态未知','Disposable','CONNECTING','text','mcpConfig.save','div','MCP_PLUGIN_CONFIG_KEY','MessageType','超出最大重试次数,请稍后再试','jsx','mcpServerUrl','Success','MCP\x20Client\x20Configuration','Configuration\x20Steps:','What\x20is\x20API\x20Key?','MCP:\x20超出最大重试次数'];_0x3e53=function(){return _0x5609cb;};return _0x3e53();}function D(_0x3cd6cc){let {status$:_0x3d9fbf,error$:_0x15997b,onConfigure:_0x244a40,showClickable:_0x5b681e}=_0x3cd6cc;return function(){const _0x5056ac=_0x1382;return(0x0,s[_0x5056ac(0x16c)])(T,{'status$':_0x3d9fbf,'error$':_0x15997b,'onConfigure':_0x244a40,'showClickable':_0x5b681e});};}function O(_0x3604eb){const _0x2ecfa2=_0x143d7b;return{'id':x['id'],'type':r[_0x2ecfa2(0x1fa)]['BUTTON'],'icon':_0x2ecfa2(0x177),'title':_0x2ecfa2(0xde),'tooltip':'mcpConfig.title'};}const k={[r[_0x143d7b(0x109)][_0x143d7b(0x19f)]]:{[x['id']]:{'order':0xa,'menuItemFactory':O}}};let A=class extends e[_0x143d7b(0x164)]{constructor(_0x1610e9,_0x14475a){const _0x27c318=_0x143d7b;super(),this[_0x27c318(0x11f)]=_0x1610e9,this['_menuManagerService']=_0x14475a,this[_0x27c318(0xff)](),this[_0x27c318(0x17c)]();}['_initializeCommands'](){[x]['forEach'](_0x4ca5cb=>{const _0x587c58=_0x1382;this['disposeWithMe'](this[_0x587c58(0x11f)][_0x587c58(0x198)](_0x4ca5cb));});}['_initializeMenus'](){const _0x4a7834=_0x143d7b;this['_menuManagerService'][_0x4a7834(0xea)](k);}};A=_([g(0x0,e['ICommandService']),g(0x1,r[_0x143d7b(0x1b1)])],A);const j={'mcpStatus':{'disconnected':_0x143d7b(0x1f3),'connecting':'MCP\x20Connecting...','connected':_0x143d7b(0x147),'failed':_0x143d7b(0xe2),'retrying':_0x143d7b(0x1d9),'unknown':_0x143d7b(0x137),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x143d7b(0x105),'networkError':_0x143d7b(0x14e),'maxRetriesExceeded':_0x143d7b(0xad),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x143d7b(0x1dc)},'mcpConfig':{'title':_0x143d7b(0x1f4),'description':_0x143d7b(0x1ba),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x143d7b(0x111),'apiKeyHint':_0x143d7b(0xed),'enableAuth':_0x143d7b(0x1a5),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x143d7b(0x16f),'configInstructions':_0x143d7b(0x159),'configStepTitle':_0x143d7b(0x170),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x143d7b(0x187),'configStep3':_0x143d7b(0xe0),'sessionId':_0x143d7b(0x119),'sessionIdDescription':_0x143d7b(0x183),'authorizationDescription':_0x143d7b(0x10a),'configParameters':_0x143d7b(0x122),'maxRetries':_0x143d7b(0xda),'save':_0x143d7b(0x12b),'saving':_0x143d7b(0x19b),'note1':_0x143d7b(0x126),'note2':_0x143d7b(0x18b),'configSaved':_0x143d7b(0xbb),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x143d7b(0x171),'description':_0x143d7b(0xd3),'univerAiLabel':_0x143d7b(0x144),'getStarted':_0x143d7b(0x1a9)},'validation':{'apiKeyRequired':_0x143d7b(0xe7),'apiKeyTooShort':_0x143d7b(0x1f0),'invalidConfig':_0x143d7b(0x1df),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x143d7b(0x136),'connecting':_0x143d7b(0xaf),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x143d7b(0xc7)},'connectionError':{'unauthorized':_0x143d7b(0x149),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x143d7b(0xa9),'maxRetriesExceeded':_0x143d7b(0x1da)}}},M={'mcpStatus':{'disconnected':_0x143d7b(0x11a),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x143d7b(0xcd),'retrying':_0x143d7b(0xdd),'unknown':_0x143d7b(0x163),'unauthorized':_0x143d7b(0xf2),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x143d7b(0x172),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x143d7b(0xab)},'mcpConfig':{'title':_0x143d7b(0x127),'description':_0x143d7b(0xb5),'apiKey':_0x143d7b(0x12e),'apiKeyPlaceholder':_0x143d7b(0x1ee),'apiKeyHint':_0x143d7b(0xe9),'enableAuth':'启用身份验证','enableAuthHint':_0x143d7b(0x19c),'connectionInfo':_0x143d7b(0xe4),'mcpClientConfig':_0x143d7b(0xe4),'configInstructions':_0x143d7b(0x17f),'configStepTitle':_0x143d7b(0x191),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x143d7b(0x1c5),'sessionId':_0x143d7b(0x1f1),'sessionIdDescription':_0x143d7b(0x1fb),'authorizationDescription':_0x143d7b(0x104),'configParameters':_0x143d7b(0x1ea),'maxRetries':_0x143d7b(0x130),'save':_0x143d7b(0x13a),'saving':'保存中...','note1':_0x143d7b(0x1d4),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x143d7b(0x19a),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x143d7b(0x1ca),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x143d7b(0x1c4),'apiKeyTooShort':_0x143d7b(0x14c),'invalidConfig':_0x143d7b(0x101),'invalidApiKey':_0x143d7b(0x11b)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x143d7b(0x1d8),'failed':'连接失败','retrying':_0x143d7b(0xca)},'connectionError':{'unauthorized':_0x143d7b(0xf4),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x143d7b(0x1f9),'maxRetriesExceeded':_0x143d7b(0x16b)}}};var N='@univerjs-pro/mcp-ui',P=_0x143d7b(0xaa);let F=class extends e[_0x143d7b(0x1ae)]{constructor(_0x5d181a=d,_0x59f2a4,_0x54b4f9,_0x43e6ca,_0x19f183,_0x3e3f3a){const _0x11e3ab=_0x143d7b;super(),this['_config']=_0x5d181a,this['_injector']=_0x59f2a4,this[_0x11e3ab(0x17a)]=_0x54b4f9,this[_0x11e3ab(0x1ff)]=_0x43e6ca,this['_localStorageService']=_0x19f183,this[_0x11e3ab(0x1d2)]=_0x3e3f3a;let {..._0x32a9c7}=(0x0,e[_0x11e3ab(0x176)])({},d,this['_config']);this[_0x11e3ab(0x17a)]['setConfig'](u,_0x32a9c7);}async[_0x143d7b(0x1e1)](){const _0x5c325d=_0x143d7b;let _0x2c1fb2=[[E],[b],[A]];this[_0x5c325d(0x113)][_0x5c325d(0x120)](c[_0x5c325d(0x150)])||_0x2c1fb2[_0x5c325d(0x142)]([c['ISocketService'],{'useClass':c[_0x5c325d(0x114)]}]),_0x2c1fb2[_0x5c325d(0xfd)](_0x5b02e9=>this[_0x5c325d(0x113)][_0x5c325d(0xb2)](_0x5b02e9)),this[_0x5c325d(0x113)][_0x5c325d(0x118)](E),this[_0x5c325d(0x113)][_0x5c325d(0x118)](b),this[_0x5c325d(0x113)][_0x5c325d(0x118)](A);}};h(F,_0x143d7b(0xae),_0x143d7b(0x204)),h(F,'packageName',N),h(F,_0x143d7b(0x1d1),P),F=_([(0x0,e[_0x143d7b(0x1a6)])(t[_0x143d7b(0x1f5)]),g(0x1,(0x0,e[_0x143d7b(0x1fe)])(e['Injector'])),g(0x2,e[_0x143d7b(0x186)]),g(0x3,r['IUIPartsService']),g(0x4,e[_0x143d7b(0xc0)]),g(0x5,(0x0,e[_0x143d7b(0x1fe)])(e['LocaleService']))],F),exports[_0x143d7b(0xf1)]=l,Object[_0x143d7b(0x13f)](exports,_0x143d7b(0x106),{'enumerable':!0x0,'get':function(){return b;}}),Object['defineProperty'](exports,_0x143d7b(0x141),{'enumerable':!0x0,'get':function(){return E;}}),exports[_0x143d7b(0x1b7)]=T,Object[_0x143d7b(0x13f)](exports,_0x143d7b(0x10f),{'enumerable':!0x0,'get':function(){return A;}}),exports[_0x143d7b(0xec)]=x,Object[_0x143d7b(0x13f)](exports,_0x143d7b(0x121),{'enumerable':!0x0,'get':function(){return F;}}),exports[_0x143d7b(0xd8)]=j,exports[_0x143d7b(0x10d)]=M;
1
+ const _0x1a848e=_0x58e1;function _0x58e1(_0x490353,_0x47ab53){_0x490353=_0x490353-0xe4;const _0x4f3f7e=_0x4f3f();let _0x58e1e8=_0x4f3f7e[_0x490353];return _0x58e1e8;}(function(_0x5385c0,_0x41e405){const _0x46439c=_0x58e1,_0x433b0d=_0x5385c0();while(!![]){try{const _0x2e0333=-parseInt(_0x46439c(0x1bc))/0x1*(parseInt(_0x46439c(0x19d))/0x2)+-parseInt(_0x46439c(0x230))/0x3*(-parseInt(_0x46439c(0x23e))/0x4)+parseInt(_0x46439c(0x140))/0x5+-parseInt(_0x46439c(0x248))/0x6+-parseInt(_0x46439c(0x187))/0x7*(parseInt(_0x46439c(0x1cb))/0x8)+parseInt(_0x46439c(0x176))/0x9*(parseInt(_0x46439c(0x164))/0xa)+-parseInt(_0x46439c(0x14a))/0xb*(parseInt(_0x46439c(0xf8))/0xc);if(_0x2e0333===_0x41e405)break;else _0x433b0d['push'](_0x433b0d['shift']());}catch(_0x267b8a){_0x433b0d['push'](_0x433b0d['shift']());}}}(_0x4f3f,0xafffc),Object[_0x1a848e(0x165)](exports,Symbol[_0x1a848e(0x1e3)],{'value':_0x1a848e(0x1b1)}));let e=require('@univerjs/core'),t=require('@univerjs-pro/mcp'),n=require('@univerjs/design'),r=require('@univerjs/ui'),i=require('rxjs'),a=require('@univerjs/icons'),o=require('react'),s=require('react/jsx-runtime'),c=require('@univerjs/network');function l(_0x1cc2cc){const _0x37f20e=_0x1a848e;var _0xf4fa73,_0x403a12;let {mcpCoreConfig:_0x23bebb,onSave:_0x4391eb,loading:_0xfc4605=!0x1,config:_0x8f1538,connectionStatus$:_0x7b0391,connectionError$:_0x8df2a9,currentApiKey$:_0x32686a,currentSessionId$:_0x276dff}=_0x1cc2cc,_0x4f3e42=(0x0,r[_0x37f20e(0x16c)])(e[_0x37f20e(0x226)]),_0x2a8c95=(0x0,r[_0x37f20e(0x1dc)])(_0x7b0391,t[_0x37f20e(0x1c0)]['DISCONNECTED']),_0x3d39e7=(0x0,r['useObservable'])(_0x8df2a9,t[_0x37f20e(0x17c)][_0x37f20e(0x16f)]),_0x56fc2b=(0x0,r[_0x37f20e(0x1dc)])(_0x276dff,''),[_0x55fdd1,_0x5b2efc]=(0x0,o[_0x37f20e(0x1c1)])((0x0,r['useObservable'])(_0x32686a,'')||''),_0x5e5fd5=_0x8f1538[_0x37f20e(0x1ad)]&&_0x23bebb[_0x37f20e(0x149)]&&(_0x23bebb['mcpServerUrl'][_0x37f20e(0x10e)](_0x37f20e(0x166))||_0x23bebb['mcpServerUrl'][_0x37f20e(0x10e)]('univer.ai')),_0x4dcb2d=(_0xf4fa73=_0x23bebb['mcpServerUrl'])==null?void 0x0:_0xf4fa73[_0x37f20e(0x10e)](_0x37f20e(0x166)),_0x29199f=(_0x403a12=_0x23bebb[_0x37f20e(0x149)])==null?void 0x0:_0x403a12[_0x37f20e(0x10e)](_0x37f20e(0x15f)),_0x55fcac=_0x4dcb2d?_0x37f20e(0x122):'https://console.univer.ai',_0x1e721e=_0x8f1538['showDeveloperTools']&&(_0x4dcb2d||_0x29199f),[_0x3f1935,_0x3f8caf]=(0x0,o['useState'])(!_0x55fdd1[_0x37f20e(0x132)]()),_0x581cca=(_0x4ac4e6,_0x3da960)=>{const _0x19283d=_0x37f20e;if(_0x3da960===t['MCPConnectionError']['UNAUTHORIZED'])return _0x19283d(0x180);switch(_0x4ac4e6){case t[_0x19283d(0x1c0)]['CONNECTED']:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case t['MCPConnectionStatus'][_0x19283d(0x10b)]:case t[_0x19283d(0x1c0)][_0x19283d(0x20c)]:return _0x19283d(0x22b);case t[_0x19283d(0x1c0)]['FAILED']:return _0x19283d(0x180);default:return _0x19283d(0x17a);}},_0x338be6=(_0x4dd14c,_0x5d656d)=>{const _0x45f3f1=_0x37f20e;if(_0x5d656d===t[_0x45f3f1(0x17c)][_0x45f3f1(0x217)])return _0x45f3f1(0x19f);switch(_0x4dd14c){case t['MCPConnectionStatus']['CONNECTED']:return _0x45f3f1(0x214);case t['MCPConnectionStatus'][_0x45f3f1(0x10b)]:case t[_0x45f3f1(0x1c0)][_0x45f3f1(0x20c)]:return _0x45f3f1(0x1e2);case t[_0x45f3f1(0x1c0)][_0x45f3f1(0x19b)]:return _0x45f3f1(0x19f);default:return _0x45f3f1(0x160);}},_0x15ae99=_0x400d9a=>{const _0x5bd882=_0x37f20e;switch(_0x400d9a){case t[_0x5bd882(0x1c0)]['CONNECTED']:return _0x4f3e42['t']('mcpConfig.connectionStatus.connected');case t[_0x5bd882(0x1c0)][_0x5bd882(0x10b)]:return _0x4f3e42['t']('mcpConfig.connectionStatus.connecting');case t[_0x5bd882(0x1c0)][_0x5bd882(0x19b)]:return _0x4f3e42['t'](_0x5bd882(0x116));case t[_0x5bd882(0x1c0)]['RETRYING']:return _0x4f3e42['t']('mcpConfig.connectionStatus.retrying');default:return _0x4f3e42['t'](_0x5bd882(0x126));}},_0x37c6ac=_0x23ddcb=>{const _0x516b28=_0x37f20e;switch(_0x23ddcb){case t[_0x516b28(0x17c)][_0x516b28(0x217)]:return _0x4f3e42['t'](_0x516b28(0x174));case t['MCPConnectionError'][_0x516b28(0x127)]:return _0x4f3e42['t'](_0x516b28(0x21e));case t[_0x516b28(0x17c)][_0x516b28(0x20a)]:return _0x4f3e42['t'](_0x516b28(0x20e));case t[_0x516b28(0x17c)][_0x516b28(0x1c6)]:return _0x4f3e42['t'](_0x516b28(0x19e));default:return'';}},_0xc9f689=(0x0,o[_0x37f20e(0x227)])(()=>{const _0xcfc72a=_0x37f20e;_0x4391eb({..._0x23bebb,'apiKey':_0x55fdd1[_0xcfc72a(0x132)](),'enableAuth':!0x0});},[_0x23bebb,_0x55fdd1,!0x0,_0x4391eb]),_0x2384dd=_0x55fdd1[_0x37f20e(0x132)]()[_0x37f20e(0x1be)]>0x0;return(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x142),'children':[(0x0,s['jsx'])('div',{'className':_0x37f20e(0xf4),'children':(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x18c),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x161),'children':(0x0,s[_0x37f20e(0x129)])('span',{'className':_0x37f20e(0x111),'children':'⚙'})}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'children':(0x0,s[_0x37f20e(0x129)])('p',{'className':_0x37f20e(0x1ac),'children':_0x4f3e42['t'](_0x37f20e(0x1c7))})})]})}),(0x0,s['jsxs'])(_0x37f20e(0x1da),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[(0x0,s[_0x37f20e(0x129)])('div',{'className':(0x0,n[_0x37f20e(0x216)])(_0x37f20e(0x1a7),_0x581cca(_0x2a8c95,_0x3d39e7)),'children':(0x0,s[_0x37f20e(0x1a0)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':(0x0,n['clsx'])('univer-size-2\x20univer-rounded-full',_0x338be6(_0x2a8c95,_0x3d39e7))}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x169),'children':_0x15ae99(_0x2a8c95)})]})}),_0x3d39e7!==t[_0x37f20e(0x17c)][_0x37f20e(0x16f)]&&(_0x2a8c95===t['MCPConnectionStatus'][_0x37f20e(0x19b)]||_0x3d39e7===t[_0x37f20e(0x17c)][_0x37f20e(0x217)])&&(0x0,s['jsx'])(_0x37f20e(0x1da),{'className':_0x37f20e(0x1ea),'children':(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x1ec),'children':[(0x0,s[_0x37f20e(0x129)])('span',{'className':_0x37f20e(0x15e),'children':'⚠️'}),(0x0,s[_0x37f20e(0x129)])('p',{'className':_0x37f20e(0x1d4),'children':_0x37c6ac(_0x3d39e7)})]})})]}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x146),'children':(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0xe4),'children':[(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x114),'children':[(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x136),{'className':_0x37f20e(0x235),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'children':'🔑'}),'\x20',_0x4f3e42['t'](_0x37f20e(0x1d3)),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x103),'children':'*'}),_0x5e5fd5&&(0x0,s['jsx'])('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x4f3e42['t'](_0x37f20e(0x177)),'role':'button','onClick':()=>_0x3f8caf(!0x0),'children':(0x0,s['jsx'])(a[_0x37f20e(0x1c5)],{})})]}),(0x0,s[_0x37f20e(0x129)])(n[_0x37f20e(0x1ce)],{'type':_0x37f20e(0x1e9),'placeholder':_0x4f3e42['t'](_0x37f20e(0x168)),'value':_0x55fdd1,'disabled':_0xfc4605,'autoComplete':_0x37f20e(0x1ae),'onChange':_0x5b2efc}),(0x0,s['jsx'])('p',{'className':_0x37f20e(0xe8),'children':_0x4f3e42['t'](_0x37f20e(0x117))})]}),_0x5e5fd5&&_0x3f1935&&(0x0,s[_0x37f20e(0x1a0)])('div',{'className':_0x37f20e(0x21b),'children':[(0x0,s[_0x37f20e(0x129)])('a',{'className':_0x37f20e(0x106),'role':_0x37f20e(0x23b),'onClick':()=>_0x3f8caf(!0x1),'children':(0x0,s[_0x37f20e(0x129)])(a[_0x37f20e(0x1c3)],{'className':_0x37f20e(0x212)})}),(0x0,s[_0x37f20e(0x1a0)])('div',{'className':_0x37f20e(0x223),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0xeb),'children':(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x1fe),'children':'🚀'})}),(0x0,s['jsxs'])(_0x37f20e(0x1da),{'className':_0x37f20e(0x220),'children':[(0x0,s['jsx'])('h4',{'className':_0x37f20e(0x1ed),'children':_0x4f3e42['t'](_0x37f20e(0x177))}),(0x0,s[_0x37f20e(0x129)])('p',{'className':_0x37f20e(0x104),'children':_0x4f3e42['t'](_0x37f20e(0x218))}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x16e),'children':_0x1e721e&&(0x0,s['jsxs'])('a',{'className':_0x37f20e(0x1cc),'href':_0x55fcac,'target':_0x37f20e(0xea),'rel':_0x37f20e(0x12a),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'children':'🤖'}),_0x4f3e42['t']('mcpConfig.apiApplyInfo.univerAiLabel'),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x22c),'children':'↗'})]})}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x23c),'children':['✨','\x20',_0x4f3e42['t'](_0x37f20e(0x108))]})]})]})]}),_0x8f1538[_0x37f20e(0x1ad)]&&(0x0,s['jsxs'])(_0x37f20e(0x1da),{'className':_0x37f20e(0x1a6),'children':[(0x0,s[_0x37f20e(0x1a0)])('h4',{'className':_0x37f20e(0x13b),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'children':'🔗'}),'\x20',_0x4f3e42['t'](_0x37f20e(0x143))]}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x18e),'children':[(0x0,s[_0x37f20e(0x1a0)])('div',{'className':'univer-space-y-3','children':[(0x0,s[_0x37f20e(0x129)])('p',{'className':_0x37f20e(0x1b6),'children':_0x4f3e42['t'](_0x37f20e(0x119))}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x114),'children':[(0x0,s[_0x37f20e(0x129)])('div',{'className':_0x37f20e(0x10f),'children':_0x4f3e42['t']('mcpConfig.configStepTitle')}),(0x0,s[_0x37f20e(0x1a0)])('div',{'className':_0x37f20e(0x152),'children':[(0x0,s['jsxs'])('div',{'className':_0x37f20e(0x21d),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x158),'children':'1'}),_0x4f3e42['t']('mcpConfig.configStep1')]}),(0x0,s['jsxs'])(_0x37f20e(0x1da),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,s['jsx'])('span',{'className':_0x37f20e(0x158),'children':'2'}),_0x4f3e42['t'](_0x37f20e(0x1e6))]}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x21d),'children':[(0x0,s[_0x37f20e(0x129)])('span',{'className':_0x37f20e(0x158),'children':'3'}),_0x4f3e42['t'](_0x37f20e(0x1e4))]})]})]})]}),(0x0,s[_0x37f20e(0x1a0)])('div',{'className':_0x37f20e(0x114),'children':[(0x0,s['jsx'])('div',{'className':_0x37f20e(0x10f),'children':_0x37f20e(0x1c9)}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x213),'children':(0x0,s[_0x37f20e(0x129)])('pre',{'className':_0x37f20e(0x247),'children':JSON[_0x37f20e(0x1f0)]({'mcpServers':{'univer':{'url':_0x37f20e(0x221)+(_0x56fc2b||_0x37f20e(0x245)),'type':_0x37f20e(0x184),'headers':{'Authorization':_0x37f20e(0x229)+(_0x55fdd1||_0x37f20e(0xe6))}}}},null,0x2)})})]}),(0x0,s['jsxs'])('div',{'className':_0x37f20e(0x233),'children':[(0x0,s[_0x37f20e(0x129)])('div',{'className':_0x37f20e(0x10f),'children':_0x4f3e42['t'](_0x37f20e(0x179))}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x114),'children':[(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x147),'children':[(0x0,s['jsx'])(_0x37f20e(0x1da),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),(0x0,s[_0x37f20e(0x1a0)])('div',{'className':_0x37f20e(0x172),'children':[(0x0,s['jsx'])(_0x37f20e(0x1da),{'className':_0x37f20e(0x10c),'children':_0x37f20e(0x232)}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x4f3e42['t'](_0x37f20e(0x1a5))})]})]}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x147),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x17d)}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x172),'children':[(0x0,s['jsx'])(_0x37f20e(0x1da),{'className':_0x37f20e(0x10c),'children':_0x37f20e(0x10d)}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0xe8),'children':_0x4f3e42['t'](_0x37f20e(0x211))})]})]})]})]})]})]}),(0x0,s[_0x37f20e(0x129)])(n[_0x37f20e(0x135)],{'onClick':_0xc9f689,'disabled':!_0x2384dd||_0xfc4605,'className':_0x37f20e(0x182),'children':_0xfc4605?(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x21d),'children':[(0x0,s[_0x37f20e(0x129)])('span',{'children':'⟲'}),_0x4f3e42['t'](_0x37f20e(0x14c))]}):(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x21d),'children':[(0x0,s[_0x37f20e(0x129)])(a['CheckMarkIcon'],{}),_0x4f3e42['t']('mcpConfig.save')]})}),(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x1d5),'children':(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'className':_0x37f20e(0x138),'children':[(0x0,s[_0x37f20e(0x129)])(_0x37f20e(0x1bd),{'className':_0x37f20e(0x156),'children':'💡'}),(0x0,s[_0x37f20e(0x1a0)])('div',{'className':_0x37f20e(0x1f8),'children':[(0x0,s['jsx'])('div',{'className':_0x37f20e(0x1cf),'children':_0x37f20e(0x199)}),(0x0,s[_0x37f20e(0x1a0)])(_0x37f20e(0x1da),{'children':['•',_0x4f3e42['t'](_0x37f20e(0xf5))]}),(0x0,s['jsxs'])(_0x37f20e(0x1da),{'children':['•',_0x4f3e42['t'](_0x37f20e(0x1d1))]})]})]})})]})})]});}const u=_0x1a848e(0x100),d={'showDeveloperTools':!0x1,'showStatus':!0x0};function f(_0x4646b3){'@babel/helpers - typeof';const _0x564f18=_0x1a848e;return f=typeof Symbol==_0x564f18(0x13e)&&typeof Symbol[_0x564f18(0x1a9)]=='symbol'?function(_0x43aa65){return typeof _0x43aa65;}:function(_0x103bc3){const _0x810499=_0x564f18;return _0x103bc3&&typeof Symbol==_0x810499(0x13e)&&_0x103bc3['constructor']===Symbol&&_0x103bc3!==Symbol[_0x810499(0x175)]?'symbol':typeof _0x103bc3;},f(_0x4646b3);}function p(_0x2d1813,_0x3d5441){const _0x2a56ab=_0x1a848e;if(f(_0x2d1813)!=_0x2a56ab(0x170)||!_0x2d1813)return _0x2d1813;var _0x154740=_0x2d1813[Symbol[_0x2a56ab(0x121)]];if(_0x154740!==void 0x0){var _0x482434=_0x154740[_0x2a56ab(0x15b)](_0x2d1813,_0x3d5441||_0x2a56ab(0x150));if(f(_0x482434)!='object')return _0x482434;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3d5441===_0x2a56ab(0x1aa)?String:Number)(_0x2d1813);}function m(_0x12f2c7){const _0xa80b16=_0x1a848e;var _0x5f124c=p(_0x12f2c7,_0xa80b16(0x1aa));return f(_0x5f124c)==_0xa80b16(0x153)?_0x5f124c:_0x5f124c+'';}function h(_0xcc8a03,_0x27345e,_0x1f330d){return(_0x27345e=m(_0x27345e))in _0xcc8a03?Object['defineProperty'](_0xcc8a03,_0x27345e,{'value':_0x1f330d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xcc8a03[_0x27345e]=_0x1f330d,_0xcc8a03;}function g(_0x22f86f,_0x30b2a3){return function(_0x3edc68,_0x4943d1){_0x30b2a3(_0x3edc68,_0x4943d1,_0x22f86f);};}function _(_0x5c801f,_0x5b142a,_0x10b657,_0x1c62f9){const _0x29026b=_0x1a848e;var _0x57c21d=arguments[_0x29026b(0x1be)],_0x568449=_0x57c21d<0x3?_0x5b142a:_0x1c62f9===null?_0x1c62f9=Object[_0x29026b(0x207)](_0x5b142a,_0x10b657):_0x1c62f9,_0x7f346a;if(typeof Reflect=='object'&&typeof Reflect[_0x29026b(0x15a)]==_0x29026b(0x13e))_0x568449=Reflect[_0x29026b(0x15a)](_0x5c801f,_0x5b142a,_0x10b657,_0x1c62f9);else{for(var _0xa055e7=_0x5c801f[_0x29026b(0x1be)]-0x1;_0xa055e7>=0x0;_0xa055e7--)(_0x7f346a=_0x5c801f[_0xa055e7])&&(_0x568449=(_0x57c21d<0x3?_0x7f346a(_0x568449):_0x57c21d>0x3?_0x7f346a(_0x5b142a,_0x10b657,_0x568449):_0x7f346a(_0x5b142a,_0x10b657))||_0x568449);}return _0x57c21d>0x3&&_0x568449&&Object[_0x29026b(0x165)](_0x5b142a,_0x10b657,_0x568449),_0x568449;}const v='mcp.apiKey',y=_0x1a848e(0x1c4);let b=class extends e[_0x1a848e(0x185)]{constructor(_0x1ac939,_0xb2d68c,_0xc97026,_0x1acf45,_0x27eb35,_0x5cc8c7,_0x4ae1ae,_0x596d1d,_0x210add,_0x393578){const _0x9325ea=_0x1a848e;super(),this['_injector']=_0x1ac939,this[_0x9325ea(0x17e)]=_0xb2d68c,this['_configService']=_0xc97026,this[_0x9325ea(0x115)]=_0x1acf45,this[_0x9325ea(0xff)]=_0x27eb35,this[_0x9325ea(0xf6)]=_0x5cc8c7,this[_0x9325ea(0x1f5)]=_0x4ae1ae,this['_localeService']=_0x596d1d,this[_0x9325ea(0x20f)]=_0x210add,this[_0x9325ea(0x16a)]=_0x393578,h(this,_0x9325ea(0x208),new i[(_0x9325ea(0x1a8))](!0x1)),h(this,_0x9325ea(0x189),new i[(_0x9325ea(0x1a8))]({})),h(this,_0x9325ea(0x16b),new i[(_0x9325ea(0x1a8))]({})),h(this,_0x9325ea(0x195),new i[(_0x9325ea(0x1a8))]('')),h(this,_0x9325ea(0x120),async _0x3bff19=>{const _0x1babd1=_0x9325ea;this[_0x1babd1(0x208)]['next'](!0x0);try{var _0xed9dc7,_0x434b73;let _0x3427a3=await this[_0x1babd1(0x1d8)](_0x3bff19);if(!_0x3427a3[_0x1babd1(0xe9)]){this[_0x1babd1(0xf6)][_0x1babd1(0x203)]({'type':n[_0x1babd1(0x1ff)][_0x1babd1(0x14e)],'content':_0x3427a3[_0x1babd1(0xfd)]||this[_0x1babd1(0x125)]['t'](_0x1babd1(0x20b))});return;}_0x3bff19[_0x1babd1(0x151)]?await this[_0x1babd1(0x115)][_0x1babd1(0x231)](v,_0x3bff19['apiKey'][_0x1babd1(0x132)]()):await this[_0x1babd1(0x115)][_0x1babd1(0x11b)](v),this['_apiKey$'][_0x1babd1(0x202)](((_0xed9dc7=_0x3bff19[_0x1babd1(0x151)])==null?void 0x0:_0xed9dc7['trim']())||''),this['_mcpConnectionController'][_0x1babd1(0x215)]({'Authorization':_0x1babd1(0x229)+((_0x434b73=_0x3bff19[_0x1babd1(0x151)])==null?void 0x0:_0x434b73[_0x1babd1(0x132)]())}),this['_messageService'][_0x1babd1(0x203)]({'type':n[_0x1babd1(0x1ff)][_0x1babd1(0x239)],'content':this['_localeService']['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x1a700f=_0x1babd1;this[_0x1a700f(0xff)][_0x1a700f(0x205)](y);},0x320);}catch(_0x348461){this[_0x1babd1(0x20f)]['error'](_0x1babd1(0x15c),_0x348461),this['_messageService'][_0x1babd1(0x203)]({'type':n[_0x1babd1(0x1ff)][_0x1babd1(0x14e)],'content':this[_0x1babd1(0x125)]['t'](_0x1babd1(0x237))});}finally{this['_loading$'][_0x1babd1(0x202)](!0x1);}}),this['_initConfigSync'](),this[_0x9325ea(0x23a)](),this['_registerComponent']();}[_0x1a848e(0x163)](){const _0x4c0844=_0x1a848e;let _0x400175=this[_0x4c0844(0x234)]['getConfig'](u);_0x400175!=null&&_0x400175[_0x4c0844(0x1ad)]&&this[_0x4c0844(0xff)][_0x4c0844(0x13c)]({'id':y,'title':{'title':this[_0x4c0844(0x125)]['t']('mcpConfig.title')},'children':{'label':_0x4c0844(0x14f)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3b7b7f=_0x4c0844;this[_0x3b7b7f(0xff)][_0x3b7b7f(0x205)](y);}});}[_0x1a848e(0x228)](){const _0xe28ede=_0x1a848e;return this['_mcpCoreConfig$'][_0xe28ede(0x1b5)];}['_registerComponent'](){const _0x1e094a=_0x1a848e;this[_0x1e094a(0x241)](this['_componentManager'][_0x1e094a(0x1a3)](_0x1e094a(0x14f),this['_createConfigPanelComponent']()));}[_0x1a848e(0xf3)](){const _0xe3fedb=_0x1a848e;return(0x0,r[_0xe3fedb(0xee)])(()=>{const _0x3ef6cd=_0xe3fedb;var _0xb2dc6c,_0x37c381,_0x55e7f4;return(0x0,s[_0x3ef6cd(0x129)])(l,{'config':this[_0x3ef6cd(0x16b)][_0x3ef6cd(0x1b5)],'mcpCoreConfig':this[_0x3ef6cd(0x189)][_0x3ef6cd(0x1b5)],'currentApiKey$':this[_0x3ef6cd(0x195)],'onSave':this['_handleConfigSave'],'loading':this[_0x3ef6cd(0x208)][_0x3ef6cd(0x1b5)],'connectionStatus$':(_0xb2dc6c=this['_mcpConnectionController'])==null?void 0x0:_0xb2dc6c[_0x3ef6cd(0xf2)],'connectionError$':(_0x37c381=this[_0x3ef6cd(0x16a)])==null?void 0x0:_0x37c381['connectionError$'],'currentSessionId$':(_0x55e7f4=this[_0x3ef6cd(0x16a)])==null?void 0x0:_0x55e7f4['sessionId$']});},this[_0xe3fedb(0x13f)]);}[_0x1a848e(0x236)](){const _0x16721e=_0x1a848e;this['disposeWithMe'](this[_0x16721e(0x234)][_0x16721e(0x1bb)](t['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0x2afd77=>{const _0x414061=_0x16721e;this['_mcpCoreConfig$'][_0x414061(0x202)](_0x2afd77||{});}));let _0x4fd924=this['_configService'][_0x16721e(0x105)](t[_0x16721e(0x1db)]);this[_0x16721e(0x189)][_0x16721e(0x202)](_0x4fd924||{}),this[_0x16721e(0x241)](this[_0x16721e(0x234)][_0x16721e(0x1bb)](u)[_0x16721e(0x183)](_0x513dbd=>{const _0x54a074=_0x16721e;this[_0x54a074(0x16b)][_0x54a074(0x202)](_0x513dbd||{});}));let _0x53bb2d=this[_0x16721e(0x234)][_0x16721e(0x105)](u);this['_config$'][_0x16721e(0x202)](_0x53bb2d||{});}async[_0x1a848e(0x23a)](){const _0x3fbb97=_0x1a848e;let _0x886d3=this['_configService']['getConfig'](u);if(!(_0x886d3!=null&&_0x886d3[_0x3fbb97(0x1ad)]))return;let _0x46c67c=await this[_0x3fbb97(0x115)][_0x3fbb97(0x130)](v);_0x46c67c&&(this[_0x3fbb97(0x16a)][_0x3fbb97(0x215)]({'Authorization':_0x3fbb97(0x229)+_0x46c67c}),this[_0x3fbb97(0x195)][_0x3fbb97(0x202)](_0x46c67c));}async['_validateConfig'](_0x5d7bb5){const _0x47f0ad=_0x1a848e;if(!_0x5d7bb5[_0x47f0ad(0x151)]||_0x5d7bb5['apiKey'][_0x47f0ad(0x132)]()[_0x47f0ad(0x1be)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x47f0ad(0x125)]['t'](_0x47f0ad(0x1c8))};if(_0x5d7bb5[_0x47f0ad(0x151)]['trim']()[_0x47f0ad(0x1be)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x47f0ad(0x125)]['t']('mcpConfig.validation.apiKeyTooShort')};try{let _0x376c6c=await this[_0x47f0ad(0x13f)][_0x47f0ad(0x134)](t[_0x47f0ad(0x13d)])[_0x47f0ad(0x22d)](_0x5d7bb5['apiKey'][_0x47f0ad(0x132)]());return _0x376c6c[_0x47f0ad(0xe9)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x376c6c[_0x47f0ad(0x22a)]||this[_0x47f0ad(0x125)]['t'](_0x47f0ad(0x1b7))};}catch(_0x577244){return console['warn']('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x577244),{'isValid':!0x0};}}};b=_([g(0x0,(0x0,e['Inject'])(e['Injector'])),g(0x1,r[_0x1a848e(0x123)]),g(0x2,e[_0x1a848e(0x141)]),g(0x3,e['ILocalStorageService']),g(0x4,r[_0x1a848e(0xf9)]),g(0x5,r[_0x1a848e(0x102)]),g(0x6,(0x0,e['Inject'])(r[_0x1a848e(0x1d2)])),g(0x7,(0x0,e[_0x1a848e(0x21a)])(e['LocaleService'])),g(0x8,e[_0x1a848e(0x18b)]),g(0x9,(0x0,e[_0x1a848e(0x21a)])(t['MCPConnectionController']))],b);const x={'id':_0x1a848e(0x1ba),'type':e[_0x1a848e(0x18f)][_0x1a848e(0x171)],'handler':async(_0x3b3de7,_0x3b09f5)=>(_0x3b3de7[_0x1a848e(0x134)](b)[_0x1a848e(0x163)](),!0x0)};function S(_0x8abfb,_0xdc0ca9){const _0x2f6828=_0x1a848e;switch(_0x8abfb){case t[_0x2f6828(0x1c0)][_0x2f6828(0x12f)]:return _0x2f6828(0x188);case t[_0x2f6828(0x1c0)][_0x2f6828(0x10b)]:return _0x2f6828(0x128);case t[_0x2f6828(0x1c0)][_0x2f6828(0x190)]:return'mcpStatus.connected';case t['MCPConnectionStatus'][_0x2f6828(0x19b)]:switch(_0xdc0ca9){case t['MCPConnectionError']['UNAUTHORIZED']:return'mcpStatus.unauthorized';case t['MCPConnectionError'][_0x2f6828(0x127)]:return _0x2f6828(0x101);case t[_0x2f6828(0x17c)]['NETWORK_ERROR']:return _0x2f6828(0x10a);case t[_0x2f6828(0x17c)]['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case t[_0x2f6828(0x1c0)][_0x2f6828(0x20c)]:return'mcpStatus.retrying';default:return _0x2f6828(0x1f2);}}function C(_0x5336d4,_0x11e751,_0x1dde82,_0x331b79=!0x0){const _0x49ca7b=_0x1a848e;let _0x419ef9=S(_0x5336d4,_0x11e751),_0x117cac=_0x1dde82['t'](_0x419ef9);return _0x331b79?_0x5336d4===t[_0x49ca7b(0x1c0)][_0x49ca7b(0x12f)]&&_0x11e751===t['MCPConnectionError'][_0x49ca7b(0x217)]?_0x117cac+_0x49ca7b(0x200)+_0x1dde82['t'](_0x49ca7b(0xfa)):_0x5336d4===t[_0x49ca7b(0x1c0)][_0x49ca7b(0x190)]?''+_0x117cac:_0x5336d4===t[_0x49ca7b(0x1c0)][_0x49ca7b(0x12f)]||_0x5336d4===t['MCPConnectionStatus'][_0x49ca7b(0x19b)]?_0x117cac+_0x49ca7b(0x200)+_0x1dde82['t'](_0x49ca7b(0x1ab)):_0x117cac:_0x117cac;}function w(_0x2d1fd0){const _0xa7a5c3=_0x1a848e;switch(_0x2d1fd0){case t[_0xa7a5c3(0x1c0)][_0xa7a5c3(0x190)]:return'univer-text-green-500';case t[_0xa7a5c3(0x1c0)][_0xa7a5c3(0x10b)]:case t[_0xa7a5c3(0x1c0)][_0xa7a5c3(0x20c)]:return'univer-text-yellow-500';case t[_0xa7a5c3(0x1c0)]['FAILED']:case t['MCPConnectionStatus'][_0xa7a5c3(0x12f)]:return _0xa7a5c3(0x103);default:return _0xa7a5c3(0x198);}}function T(_0x53e29e){const _0x1d2eaa=_0x1a848e;let {status$:_0x347654,error$:_0x34a8be,onConfigure:_0x1d391a,showClickable:_0x153531=!0x0}=_0x53e29e,_0x26f7a0=(0x0,r[_0x1d2eaa(0x1dc)])(_0x347654,t[_0x1d2eaa(0x1c0)]['DISCONNECTED']),_0x3decac=(0x0,r[_0x1d2eaa(0x1dc)])(_0x34a8be,t[_0x1d2eaa(0x17c)]['NONE']),_0x5720e8=(0x0,r[_0x1d2eaa(0x16c)])(e[_0x1d2eaa(0x226)]),_0x4b6afe=_0x26f7a0===t[_0x1d2eaa(0x1c0)][_0x1d2eaa(0x190)];_0x26f7a0===t[_0x1d2eaa(0x1c0)][_0x1d2eaa(0x10b)]||t[_0x1d2eaa(0x1c0)][_0x1d2eaa(0x20c)];let _0x478095=_0x5720e8['t'](S(_0x26f7a0,_0x3decac)),_0x2a89d1=C(_0x26f7a0,_0x3decac,_0x5720e8,_0x153531),_0x4d9c43=w(_0x26f7a0),_0x572726=_0x4b6afe?(0x0,s[_0x1d2eaa(0x129)])(a[_0x1d2eaa(0xfc)],{}):(0x0,s[_0x1d2eaa(0x129)])(a['OffLineIcon'],{}),_0x140baa=(0x0,o[_0x1d2eaa(0x227)])(()=>{_0x153531&&_0x1d391a&&_0x1d391a();},[_0x153531,_0x1d391a]);function _0x79fc04(){const _0x1828d5=_0x1d2eaa;return(0x0,s[_0x1828d5(0x1a0)])(_0x1828d5(0x1da),{'className':(0x0,n[_0x1828d5(0x216)])('univer-flex\x20univer-items-center',_0x153531&&_0x1d391a&&_0x1828d5(0x110)),'role':'button','onClick':_0x153531&&_0x1d391a?_0x140baa:void 0x0,'children':[(0x0,s[_0x1828d5(0x129)])(_0x1828d5(0x1da),{'className':(0x0,n[_0x1828d5(0x216)])('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x4d9c43),'children':_0x572726}),(0x0,s['jsx'])('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x478095})]});}return(0x0,s[_0x1d2eaa(0x129)])(n[_0x1d2eaa(0x1b4)],{'title':_0x2a89d1,'placement':'bottom','children':_0x79fc04()});}let E=class extends e[_0x1a848e(0x185)]{constructor(_0x4e8fd9,_0x11867b,_0x1b14fb,_0x335dae){const _0x4d8b58=_0x1a848e;super(),this['_injector']=_0x4e8fd9,this[_0x4d8b58(0x1e5)]=_0x11867b,this['_uiPartsService']=_0x1b14fb,this[_0x4d8b58(0x234)]=_0x335dae,this[_0x4d8b58(0x107)](),this[_0x4d8b58(0x194)]();}[_0x1a848e(0x107)](){const _0x12e8ce=_0x1a848e;let _0x1ff5a2=this[_0x12e8ce(0x234)][_0x12e8ce(0x105)](u);_0x1ff5a2!=null&&_0x1ff5a2[_0x12e8ce(0x1ad)]&&(this[_0x12e8ce(0x1e5)][_0x12e8ce(0x124)]=!0x1);}[_0x1a848e(0x194)](){const _0x2452e4=_0x1a848e;let _0x24dc37=this[_0x2452e4(0x234)][_0x2452e4(0x105)](u);(_0x24dc37==null?void 0x0:_0x24dc37[_0x2452e4(0x11a)])!==!0x1&&this[_0x2452e4(0x241)](this['_uiPartsService'][_0x2452e4(0x12d)](r[_0x2452e4(0x1fc)][_0x2452e4(0x210)],()=>{const _0x1b83e1=_0x2452e4;var _0x1951e0;return(0x0,r['connectInjector'])(D({'status$':this[_0x1b83e1(0x1e5)][_0x1b83e1(0xf2)],'error$':this[_0x1b83e1(0x1e5)][_0x1b83e1(0x19c)],'onConfigure':()=>this[_0x1b83e1(0x244)](),'showClickable':(_0x1951e0=_0x24dc37==null?void 0x0:_0x24dc37[_0x1b83e1(0x1ad)])==null?!0x1:_0x1951e0}),this[_0x1b83e1(0x13f)]);}));}[_0x1a848e(0x244)](){const _0x4ec30e=_0x1a848e;this[_0x4ec30e(0x13f)][_0x4ec30e(0x134)](b)[_0x4ec30e(0x163)]();}};E=_([g(0x0,(0x0,e[_0x1a848e(0x21a)])(e[_0x1a848e(0x1af)])),g(0x1,(0x0,e[_0x1a848e(0x21a)])(t[_0x1a848e(0x13d)])),g(0x2,r[_0x1a848e(0x123)]),g(0x3,e[_0x1a848e(0x141)])],E);function D(_0x5aad77){let {status$:_0x105980,error$:_0x40bbe2,onConfigure:_0x4638cf,showClickable:_0x5eb80e}=_0x5aad77;return function(){const _0x9a6ea1=_0x58e1;return(0x0,s[_0x9a6ea1(0x129)])(T,{'status$':_0x105980,'error$':_0x40bbe2,'onConfigure':_0x4638cf,'showClickable':_0x5eb80e});};}function O(_0x49a004){const _0x5cd51e=_0x1a848e;return{'id':x['id'],'type':r[_0x5cd51e(0x209)]['BUTTON'],'icon':_0x5cd51e(0x1dd),'title':_0x5cd51e(0x1bf),'tooltip':'mcpConfig.title'};}const k={[r[_0x1a848e(0x1e0)][_0x1a848e(0x1df)]]:{[x['id']]:{'order':0xa,'menuItemFactory':O}}};let A=class extends e[_0x1a848e(0x185)]{constructor(_0x21bf68,_0x5194d8){const _0xc35592=_0x1a848e;super(),this[_0xc35592(0x186)]=_0x21bf68,this[_0xc35592(0x196)]=_0x5194d8,this[_0xc35592(0x1d6)](),this['_initializeMenus']();}[_0x1a848e(0x1d6)](){[x]['forEach'](_0x1179d4=>{const _0x502d2b=_0x58e1;this[_0x502d2b(0x241)](this[_0x502d2b(0x186)][_0x502d2b(0x1ef)](_0x1179d4));});}[_0x1a848e(0x1d7)](){const _0x32f37a=_0x1a848e;this['_menuManagerService'][_0x32f37a(0x181)](k);}};A=_([g(0x0,e[_0x1a848e(0x240)]),g(0x1,r[_0x1a848e(0x1d9)])],A);function _0x4f3f(){const _0x30c51c=['symbol','has','MCP\x20已断开','univer-shrink-0\x20univer-text-blue-500','MCPStatusDisplay','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','decorate','call','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','点击配置\x20MCP','univer-shrink-0\x20univer-text-red-500','univer.ai','univer-bg-gray-500','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','已连接','showConfigPanel','190HsayMh','defineProperty','univer.plus','MCP:\x20Network\x20Error','mcpConfig.apiKeyPlaceholder','univer-text-sm\x20univer-font-medium','_mcpConnectionController','_config$','useDependency','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','univer-flex\x20univer-flex-wrap\x20univer-gap-2','NONE','object','COMMAND','univer-min-w-0\x20univer-flex-1','未连接','mcpConfig.connectionError.unauthorized','prototype','662436urXquH','mcpConfig.apiApplyInfo.title','Enter\x20your\x20API\x20key','mcpConfig.configParameters','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','保存配置','MCPConnectionError','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_uiPartsService','Connection\x20Failed','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','mergeMenu','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','subscribe','http','Disposable','_commandService','56nFzoDH','mcpStatus.disconnected','_mcpCoreConfig$','API\x20密钥长度至少需要\x2010\x20位','ILogService','univer-flex\x20univer-items-center\x20univer-gap-3','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-space-y-4','CommandType','CONNECTED','Plugin','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20超出最大重试次数','_initStatusComponent','_apiKey$','_menuManagerService','Session\x20ID','univer-text-gray-500','Configuration\x20Notes:','超出最大重试次数,请稍后再试','FAILED','connectionError$','738igwtAl','mcpConfig.connectionError.maxRetriesExceeded','univer-bg-red-500','jsxs','MCP:\x20网络错误','Enable\x20Authentication','register','连接失败','mcpConfig.sessionIdDescription','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','BehaviorSubject','iterator','string','mcpStatus.clickToConnect','univer-text-sm\x20univer-text-gray-500','showDeveloperTools','off','Injector','Invalid\x20configuration','Module','最大重试次数','ISocketService','Tooltip','value','univer-text-xs\x20univer-text-gray-600','mcpConfig.validation.invalidApiKey','您的\x20API\x20密钥将在此浏览器中本地存储','Retrying...','mcp-ui.command.openConfigPanel','subscribeConfigValue$','900vZEbVS','span','length','mcpConfig.title','MCPConnectionStatus','useState','MCP:\x20Max\x20Retries\x20Exceeded','CloseIcon','mcp-config-dialog','HelpIcon','MAX_RETRIES_EXCEEDED','mcpConfig.description','mcpConfig.validation.apiKeyRequired','MCP\x20Configuration','API\x20密钥','189256koYafQ','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','MCP:\x20Unauthorized','Input','univer-font-medium','什么是\x20API\x20密钥?','mcpConfig.note2','ComponentManager','mcpConfig.apiKey','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','_initializeCommands','_initializeMenus','_validateConfig','IMenuManagerService','div','MCP_PLUGIN_CONFIG_KEY','useObservable','MenuIcon','启用身份验证','OTHERS','RibbonStartGroup','网络连接错误,请检查您的网络连接','univer-bg-blue-500','toStringTag','mcpConfig.configStep3','_connectionController','mcpConfig.configStep2','配置更改将立即生效','Connected','text','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Configuration\x20Parameters:','univer-flex\x20univer-items-start\x20univer-gap-2','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','配置保存成功','registerCommand','stringify','version','mcpStatus.unknown','会话ID','_config','_componentManager','MCP\x20已连接','setConfig','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','zhCN','MCPUIMenuController','BuiltInUIPart','API\x20密钥无效,请检查密钥是否正确','univer-text-blue-600','MessageType','\x20-\x20','API\x20Key','next','show','请输入您的\x20API\x20密钥','close','重连中...','getOwnPropertyDescriptor','_loading$','MenuItemType','NETWORK_ERROR','mcpConfig.validation.invalidConfig','RETRYING','MCP:\x20Session\x20ID\x20Occupied','mcpConfig.connectionError.networkError','_logService','HEADER_MENU','mcpConfig.authorizationDescription','univer-size-4','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-bg-green-500','__setCustomHeaders','clsx','UNAUTHORIZED','mcpConfig.apiApplyInfo.description','将以下配置添加到您的\x20MCP\x20客户端设置中:','Inject','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','Disconnected','univer-flex\x20univer-items-center\x20univer-gap-2','mcpConfig.connectionError.sessionOccupied','MCP\x20状态未知','univer-flex-1','https://mcp.univer.ai/mcp/?univer_session_id=','配置无效','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','MCP\x20Connected','MCP\x20Client\x20Configuration','LocaleService','useCallback','getCurrentConfig','Bearer\x20','error','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-text-gray-400','validateApiKey','权限验证失败,请检查您的\x20API\x20密钥','Univer\x20AI\x20Console','795018zceFyD','setItem','univer_session_id:','univer-space-y-3','_configService','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','_initConfigSync','mcpConfig.configError','MCP\x20Retrying...','Success','_loadStoredApiKey','button','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','MCP\x20Disconnected','20atbUzb','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','ICommandService','disposeWithMe','Failed\x20to\x20save\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_handleConfigure','<SESSION_ID>','onStarting','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','3967116MuKslA','univer-space-y-5','UniverMCPPlugin','<API_KEY>','Configuration\x20Steps:','univer-text-xs\x20univer-text-gray-500','isValid','_blank','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','OpenMCPConfigPanelCommand','几秒钟内获取您的\x20API\x20密钥','connectInjector','API\x20key\x20is\x20required','push','Save\x20Configuration','connectionStatus$','_createConfigPanelComponent','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','mcpConfig.note1','_messageService','What\x20is\x20API\x20Key?','1473324qXQwpp','IDialogService','mcpStatus.clickToConfigure','API\x20key\x20with\x20Bearer\x20prefix.','OnLineIcon','errorMessage','配置步骤:','_dialogService','mcp-ui.config','mcpStatus.sessionOccupied','IMessageService','univer-text-red-500','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','getConfig','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','_initAutoConnect','mcpConfig.apiApplyInfo.getStarted','API\x20密钥不能为空','mcpStatus.networkError','CONNECTING','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','Authorization:','includes','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-white','带有\x20Bearer\x20前缀的\x20API\x20密钥。','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-space-y-2','_localStorageService','mcpConfig.connectionStatus.failed','mcpConfig.apiKeyHint','packageName','mcpConfig.configInstructions','showStatus','removeItem','Univer\x20AI\x20控制台','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Max\x20Retries','配置保存失败','_handleConfigSave','toPrimitive','https://console.univer.plus','IUIPartsService','enableAutoConnect','_localeService','mcpConfig.connectionStatus.disconnected','SESSION_ID_OCCUPIED','mcpStatus.connecting','jsx','noopener\x20noreferrer','配置参数:','MCP\x20Connecting...','registerComponent','DependentOn','DISCONNECTED','getItem','Click\x20to\x20connect\x20MCP','trim','enUS','get','Button','label','add','univer-flex\x20univer-gap-3','重启您的\x20MCP\x20客户端以使配置生效','MCP\x20连接失败','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','open','MCPConnectionController','function','_injector','196835PwXUqS','IConfigService','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mcpConfig.connectionInfo','连接中...','merge','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-flex\x20univer-items-start\x20univer-gap-3','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpServerUrl','77hpIjGG','保存中...','mcpConfig.saving','MCP\x20Connection\x20Failed','Error','MCPConfigPanel','default','apiKey','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600'];_0x4f3f=function(){return _0x30c51c;};return _0x4f3f();}const j={'mcpStatus':{'disconnected':_0x1a848e(0x23d),'connecting':_0x1a848e(0x12c),'connected':_0x1a848e(0x224),'failed':_0x1a848e(0x14d),'retrying':_0x1a848e(0x238),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x1a848e(0x1cd),'sessionOccupied':_0x1a848e(0x20d),'networkError':_0x1a848e(0x167),'maxRetriesExceeded':_0x1a848e(0x1c2),'clickToConnect':_0x1a848e(0x131),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1a848e(0x1c9),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1a848e(0x201),'apiKeyPlaceholder':_0x1a848e(0x178),'apiKeyHint':_0x1a848e(0x148),'enableAuth':_0x1a848e(0x1a2),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1a848e(0x225),'mcpClientConfig':_0x1a848e(0x225),'configInstructions':_0x1a848e(0x243),'configStepTitle':_0x1a848e(0xe7),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x1a848e(0x159),'configStep3':_0x1a848e(0x11d),'sessionId':_0x1a848e(0x197),'sessionIdDescription':_0x1a848e(0x16d),'authorizationDescription':_0x1a848e(0xfb),'configParameters':_0x1a848e(0x1eb),'maxRetries':_0x1a848e(0x11e),'save':_0x1a848e(0xf1),'saving':'Saving...','note1':_0x1a848e(0x23f),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x1a848e(0x242),'apiApplyInfo':{'title':_0x1a848e(0xf7),'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':_0x1a848e(0x22f),'getStarted':_0x1a848e(0x192)},'validation':{'apiKeyRequired':_0x1a848e(0xef),'apiKeyTooShort':_0x1a848e(0x113),'invalidConfig':_0x1a848e(0x1b0),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1a848e(0x21c),'connecting':'Connecting...','connected':_0x1a848e(0x1e8),'failed':_0x1a848e(0x17f),'retrying':_0x1a848e(0x1b9)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1a848e(0x18d),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},M={'mcpStatus':{'disconnected':_0x1a848e(0x155),'connecting':'MCP\x20连接中...','connected':_0x1a848e(0x1f6),'failed':_0x1a848e(0x13a),'retrying':'MCP\x20重连中...','unknown':_0x1a848e(0x21f),'unauthorized':'MCP:\x20未授权','sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x1a848e(0x1a1),'maxRetriesExceeded':_0x1a848e(0x193),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x1a848e(0x15d)},'mcpConfig':{'title':'MCP\x20配置','description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x1a848e(0x1ca),'apiKeyPlaceholder':_0x1a848e(0x204),'apiKeyHint':_0x1a848e(0x1b8),'enableAuth':_0x1a848e(0x1de),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x1a848e(0x219),'configStepTitle':_0x1a848e(0xfe),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x1a848e(0x139),'sessionId':_0x1a848e(0x1f3),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x1a848e(0x112),'configParameters':_0x1a848e(0x12b),'maxRetries':_0x1a848e(0x1b2),'save':_0x1a848e(0x17b),'saving':_0x1a848e(0x14b),'note1':_0x1a848e(0x1e7),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x1a848e(0x1ee),'configError':_0x1a848e(0x11f),'apiApplyInfo':{'title':_0x1a848e(0x1d0),'description':_0x1a848e(0x1f9),'univerAiLabel':_0x1a848e(0x11c),'getStarted':_0x1a848e(0xed)},'validation':{'apiKeyRequired':_0x1a848e(0x109),'apiKeyTooShort':_0x1a848e(0x18a),'invalidConfig':_0x1a848e(0x222),'invalidApiKey':_0x1a848e(0x1fd)},'connectionStatus':{'disconnected':_0x1a848e(0x173),'connecting':_0x1a848e(0x144),'connected':_0x1a848e(0x162),'failed':_0x1a848e(0x1a4),'retrying':_0x1a848e(0x206)},'connectionError':{'unauthorized':_0x1a848e(0x22e),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x1a848e(0x1e1),'maxRetriesExceeded':_0x1a848e(0x19a)}}};var N='@univerjs-pro/mcp-ui',P='0.25.0';let F=class extends e[_0x1a848e(0x191)]{constructor(_0x1a09e9=d,_0x3ddaab,_0x1cf915,_0x2d0287,_0x1fa6e0,_0xf625c5){const _0x4767bf=_0x1a848e;super(),this['_config']=_0x1a09e9,this[_0x4767bf(0x13f)]=_0x3ddaab,this[_0x4767bf(0x234)]=_0x1cf915,this['_uiPartsService']=_0x2d0287,this[_0x4767bf(0x115)]=_0x1fa6e0,this[_0x4767bf(0x125)]=_0xf625c5;let {..._0x5a3f19}=(0x0,e[_0x4767bf(0x145)])({},d,this[_0x4767bf(0x1f4)]);this[_0x4767bf(0x234)][_0x4767bf(0x1f7)](u,_0x5a3f19);}async[_0x1a848e(0x246)](){const _0xa18412=_0x1a848e;let _0x33370a=[[E],[b],[A]];this[_0xa18412(0x13f)][_0xa18412(0x154)](c[_0xa18412(0x1b3)])||_0x33370a[_0xa18412(0xf0)]([c[_0xa18412(0x1b3)],{'useClass':c['WebSocketService']}]),_0x33370a['forEach'](_0x4c994a=>this[_0xa18412(0x13f)][_0xa18412(0x137)](_0x4c994a)),this[_0xa18412(0x13f)][_0xa18412(0x134)](E),this[_0xa18412(0x13f)][_0xa18412(0x134)](b),this['_injector'][_0xa18412(0x134)](A);}};h(F,'pluginName','MCP_UI_PLUGIN'),h(F,_0x1a848e(0x118),N),h(F,_0x1a848e(0x1f1),P),F=_([(0x0,e[_0x1a848e(0x12e)])(t[_0x1a848e(0xe5)]),g(0x1,(0x0,e[_0x1a848e(0x21a)])(e[_0x1a848e(0x1af)])),g(0x2,e['IConfigService']),g(0x3,r[_0x1a848e(0x123)]),g(0x4,e['ILocalStorageService']),g(0x5,(0x0,e[_0x1a848e(0x21a)])(e[_0x1a848e(0x226)]))],F),exports[_0x1a848e(0x14f)]=l,Object['defineProperty'](exports,'MCPConfigUIController',{'enumerable':!0x0,'get':function(){return b;}}),Object['defineProperty'](exports,'MCPConnectionUIController',{'enumerable':!0x0,'get':function(){return E;}}),exports[_0x1a848e(0x157)]=T,Object[_0x1a848e(0x165)](exports,_0x1a848e(0x1fb),{'enumerable':!0x0,'get':function(){return A;}}),exports[_0x1a848e(0xec)]=x,Object[_0x1a848e(0x165)](exports,'UniverMCPUIPlugin',{'enumerable':!0x0,'get':function(){return F;}}),exports[_0x1a848e(0x133)]=j,exports[_0x1a848e(0x1fa)]=M;
@@ -1 +1 @@
1
- function _0x24e1(){const _0x284ae4=['MCP\x20Client\x20Configuration','Disconnected','12MzQYBy','808181sPTLWb','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','12SbTLHH','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session\x20ID','API\x20key\x20with\x20Bearer\x20prefix.','28284420KQDWKL','MCP\x20Retrying...','144675aqlXYv','48122RnLKHE','Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Saving...','3248616qVOKti','3875984TmPoEY','Max\x20Retries','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20saved\x20successfully','MCP:\x20Unauthorized','exports','263755PmNdtq','Retrying...','Enable\x20Authentication','Save\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connecting...','Configuration\x20Parameters:','MCP\x20Connected','Enter\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','Invalid\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Network\x20Error','MCP\x20Connecting...','API\x20key\x20is\x20required','8gjZCyB','Click\x20to\x20configure\x20MCP','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20Key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Steps:','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Disconnected','Failed\x20to\x20save\x20configuration','MCP\x20Connection\x20Failed','Click\x20to\x20connect\x20MCP'];_0x24e1=function(){return _0x284ae4;};return _0x24e1();}const _0xd88e38=_0x3f55;(function(_0x2e4b21,_0x5b0c72){const _0x3ce0c9=_0x3f55,_0xdd449e=_0x2e4b21();while(!![]){try{const _0x20ecc2=-parseInt(_0x3ce0c9(0x104))/0x1+parseInt(_0x3ce0c9(0xdb))/0x2*(-parseInt(_0x3ce0c9(0x103))/0x3)+-parseInt(_0x3ce0c9(0xdf))/0x4+-parseInt(_0x3ce0c9(0xe6))/0x5*(parseInt(_0x3ce0c9(0x10b))/0x6)+-parseInt(_0x3ce0c9(0xe0))/0x7+-parseInt(_0x3ce0c9(0xf6))/0x8*(parseInt(_0x3ce0c9(0xda))/0x9)+parseInt(_0x3ce0c9(0x10f))/0xa;if(_0x20ecc2===_0x5b0c72)break;else _0xdd449e['push'](_0xdd449e['shift']());}catch(_0x249882){_0xdd449e['push'](_0xdd449e['shift']());}}}(_0x24e1,0x6a95e));function _0x3f55(_0x43eb9c,_0x57db03){_0x43eb9c=_0x43eb9c-0xda;const _0x24e1d5=_0x24e1();let _0x3f55bf=_0x24e1d5[_0x43eb9c];return _0x3f55bf;}const e={'mcpStatus':{'disconnected':_0xd88e38(0xfd),'connecting':_0xd88e38(0xf4),'connected':_0xd88e38(0xed),'failed':_0xd88e38(0xff),'retrying':_0xd88e38(0x110),'unknown':_0xd88e38(0x106),'unauthorized':_0xd88e38(0xe4),'sessionOccupied':_0xd88e38(0xe2),'networkError':_0xd88e38(0xf3),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xd88e38(0x100),'clickToConfigure':_0xd88e38(0xf7)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xd88e38(0x107),'apiKey':_0xd88e38(0xf9),'apiKeyPlaceholder':_0xd88e38(0xee),'apiKeyHint':_0xd88e38(0xf2),'enableAuth':_0xd88e38(0xe8),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0xd88e38(0x101),'configInstructions':_0xd88e38(0x108),'configStepTitle':_0xd88e38(0xfb),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0xd88e38(0xfa),'configStep3':_0xd88e38(0x10a),'sessionId':_0xd88e38(0x10d),'sessionIdDescription':_0xd88e38(0x10c),'authorizationDescription':_0xd88e38(0x10e),'configParameters':_0xd88e38(0xec),'maxRetries':_0xd88e38(0xe1),'save':_0xd88e38(0xe9),'saving':_0xd88e38(0xde),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0xd88e38(0xe3),'configError':_0xd88e38(0xfe),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xd88e38(0xea),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0xd88e38(0xfc)},'validation':{'apiKeyRequired':_0xd88e38(0xf5),'apiKeyTooShort':_0xd88e38(0xdd),'invalidConfig':_0xd88e38(0xf1),'invalidApiKey':_0xd88e38(0xef)},'connectionStatus':{'disconnected':_0xd88e38(0x102),'connecting':_0xd88e38(0xeb),'connected':_0xd88e38(0xdc),'failed':_0xd88e38(0xf0),'retrying':_0xd88e38(0xe7)},'connectionError':{'unauthorized':_0xd88e38(0xf8),'sessionOccupied':_0xd88e38(0x105),'networkError':_0xd88e38(0x109),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module[_0xd88e38(0xe5)]=e;
1
+ const _0x381822=_0xaded;(function(_0x59fb95,_0x5f1598){const _0x39fd27=_0xaded,_0x3b680b=_0x59fb95();while(!![]){try{const _0x330260=-parseInt(_0x39fd27(0xe2))/0x1*(-parseInt(_0x39fd27(0xf9))/0x2)+parseInt(_0x39fd27(0xe1))/0x3*(parseInt(_0x39fd27(0xf8))/0x4)+parseInt(_0x39fd27(0x109))/0x5+parseInt(_0x39fd27(0x108))/0x6*(parseInt(_0x39fd27(0xea))/0x7)+-parseInt(_0x39fd27(0xf3))/0x8+parseInt(_0x39fd27(0xdc))/0x9*(parseInt(_0x39fd27(0x107))/0xa)+-parseInt(_0x39fd27(0xec))/0xb*(parseInt(_0x39fd27(0x100))/0xc);if(_0x330260===_0x5f1598)break;else _0x3b680b['push'](_0x3b680b['shift']());}catch(_0x254113){_0x3b680b['push'](_0x3b680b['shift']());}}}(_0x5091,0x84c10));const e={'mcpStatus':{'disconnected':_0x381822(0xfe),'connecting':_0x381822(0xdd),'connected':'MCP\x20Connected','failed':_0x381822(0xe7),'retrying':'MCP\x20Retrying...','unknown':_0x381822(0xeb),'unauthorized':_0x381822(0xf5),'sessionOccupied':_0x381822(0xed),'networkError':_0x381822(0xf6),'maxRetriesExceeded':_0x381822(0xe9),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x381822(0xff)},'mcpConfig':{'title':_0x381822(0x106),'description':_0x381822(0xe6),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x381822(0xef),'apiKeyHint':_0x381822(0xf2),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x381822(0xe5),'mcpClientConfig':_0x381822(0xe5),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x381822(0xfa),'configStep1':_0x381822(0xf1),'configStep2':_0x381822(0x105),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x381822(0xe4),'configParameters':_0x381822(0xf7),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x381822(0xfb),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x381822(0xf4),'configSaved':_0x381822(0xe0),'configError':_0x381822(0x102),'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':'Univer\x20AI\x20Console','getStarted':_0x381822(0xee)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x381822(0xde),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x381822(0xdf)},'connectionStatus':{'disconnected':_0x381822(0x101),'connecting':_0x381822(0xfd),'connected':_0x381822(0x104),'failed':_0x381822(0xfc),'retrying':_0x381822(0xf0)},'connectionError':{'unauthorized':_0x381822(0xe8),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x381822(0xe3)}}};function _0x5091(){const _0x3b63e8=['Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Configuration','6390XXDzDL','6DKlzFb','4943820KSSQGi','1359pEMwOd','MCP\x20Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20saved\x20successfully','1132314ZEedMJ','1079yKLfQU','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Client\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','3579947umfeVb','MCP\x20Unknown\x20Status','11WjQLwA','MCP:\x20Session\x20ID\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','Enter\x20your\x20API\x20key','Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','8166728ubTPRz','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Unauthorized','MCP:\x20Network\x20Error','Configuration\x20Parameters:','4KCrazl','1058wfdacb','Configuration\x20Steps:','Saving...','Connection\x20Failed','Connecting...','MCP\x20Disconnected','Click\x20to\x20configure\x20MCP','11763624TFVxVc','Disconnected','Failed\x20to\x20save\x20configuration','exports','Connected'];_0x5091=function(){return _0x3b63e8;};return _0x5091();}function _0xaded(_0x47fbe6,_0x550cda){_0x47fbe6=_0x47fbe6-0xdc;const _0x509120=_0x5091();let _0xadedec=_0x509120[_0x47fbe6];return _0xadedec;}module[_0x381822(0x103)]=e;
@@ -1 +1 @@
1
- function _0x2c75(){const _0x58e71b=['Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Client\x20Configuration','Max\x20Retries','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','2127568dfYLzi','2468KHeQpY','1815339pFxGHX','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Univer\x20AI\x20Console','7872997PSIDyL','MCP:\x20Unauthorized','5009473xgEOMJ','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','exports','2573165NjYVxD','API\x20key\x20with\x20Bearer\x20prefix.','Connection\x20Failed','Saving...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Click\x20to\x20configure\x20MCP','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Parameters:','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connected','41796uHsvmQ','MCP\x20Unknown\x20Status','18wLFhKE','6jnQcJT','API\x20key\x20is\x20required','What\x20is\x20API\x20Key?','MCP\x20Disconnected','Configuration\x20Steps:','API\x20Key','4NbLiIX','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session\x20ID','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connecting...','2290GPohii'];_0x2c75=function(){return _0x58e71b;};return _0x2c75();}const _0x3f421f=_0x5bbd;(function(_0x4f1013,_0x3f7b9c){const _0x211050=_0x5bbd,_0x5a0791=_0x4f1013();while(!![]){try{const _0x4628de=parseInt(_0x211050(0x130))/0x1*(-parseInt(_0x211050(0x118))/0x2)+parseInt(_0x211050(0x131))/0x3*(-parseInt(_0x211050(0x11f))/0x4)+parseInt(_0x211050(0x10a))/0x5+parseInt(_0x211050(0x119))/0x6*(parseInt(_0x211050(0x107))/0x7)+-parseInt(_0x211050(0x12f))/0x8+-parseInt(_0x211050(0x116))/0x9*(-parseInt(_0x211050(0x126))/0xa)+-parseInt(_0x211050(0x105))/0xb;if(_0x4628de===_0x3f7b9c)break;else _0x5a0791['push'](_0x5a0791['shift']());}catch(_0x24c06b){_0x5a0791['push'](_0x5a0791['shift']());}}}(_0x2c75,0xa72ce));const e={'mcpStatus':{'disconnected':_0x3f421f(0x11c),'connecting':_0x3f421f(0x125),'connected':_0x3f421f(0x115),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x3f421f(0x117),'unauthorized':_0x3f421f(0x106),'sessionOccupied':_0x3f421f(0x112),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3f421f(0x10f),'clickToConfigure':_0x3f421f(0x111)},'mcpConfig':{'title':_0x3f421f(0x12a),'description':_0x3f421f(0x134),'apiKey':_0x3f421f(0x11e),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x3f421f(0x120),'connectionInfo':_0x3f421f(0x12c),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x3f421f(0x108),'configStepTitle':_0x3f421f(0x11d),'configStep1':_0x3f421f(0x129),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x3f421f(0x123),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x3f421f(0x10b),'configParameters':_0x3f421f(0x113),'maxRetries':_0x3f421f(0x12d),'save':'Save\x20Configuration','saving':_0x3f421f(0x10d),'note1':_0x3f421f(0x122),'note2':_0x3f421f(0x110),'configSaved':_0x3f421f(0x133),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3f421f(0x11b),'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':_0x3f421f(0x104),'getStarted':_0x3f421f(0x114)},'validation':{'apiKeyRequired':_0x3f421f(0x11a),'apiKeyTooShort':_0x3f421f(0x12b),'invalidConfig':_0x3f421f(0x121),'invalidApiKey':_0x3f421f(0x127)},'connectionStatus':{'disconnected':_0x3f421f(0x128),'connecting':'Connecting...','connected':'Connected','failed':_0x3f421f(0x10c),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x3f421f(0x124),'sessionOccupied':_0x3f421f(0x132),'networkError':_0x3f421f(0x10e),'maxRetriesExceeded':_0x3f421f(0x12e)}}};function _0x5bbd(_0x407574,_0x45930b){_0x407574=_0x407574-0x104;const _0x2c7548=_0x2c75();let _0x5bbd03=_0x2c7548[_0x407574];return _0x5bbd03;}module[_0x3f421f(0x109)]=e;
1
+ const _0x409103=_0x580f;(function(_0x51cad4,_0x4df03c){const _0x5b8c9d=_0x580f,_0x520dee=_0x51cad4();while(!![]){try{const _0x5e1463=parseInt(_0x5b8c9d(0x174))/0x1*(-parseInt(_0x5b8c9d(0x158))/0x2)+parseInt(_0x5b8c9d(0x189))/0x3*(-parseInt(_0x5b8c9d(0x164))/0x4)+parseInt(_0x5b8c9d(0x183))/0x5*(parseInt(_0x5b8c9d(0x179))/0x6)+parseInt(_0x5b8c9d(0x17a))/0x7+parseInt(_0x5b8c9d(0x165))/0x8*(-parseInt(_0x5b8c9d(0x182))/0x9)+-parseInt(_0x5b8c9d(0x18c))/0xa+-parseInt(_0x5b8c9d(0x156))/0xb*(-parseInt(_0x5b8c9d(0x175))/0xc);if(_0x5e1463===_0x4df03c)break;else _0x520dee['push'](_0x520dee['shift']());}catch(_0x2dfc81){_0x520dee['push'](_0x520dee['shift']());}}}(_0x18ad,0xd0eca));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x409103(0x15d),'connected':_0x409103(0x177),'failed':_0x409103(0x17c),'retrying':_0x409103(0x17f),'unknown':_0x409103(0x157),'unauthorized':_0x409103(0x176),'sessionOccupied':_0x409103(0x170),'networkError':_0x409103(0x184),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x409103(0x187),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x409103(0x17d),'description':_0x409103(0x16f),'apiKey':_0x409103(0x180),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x409103(0x16c),'enableAuth':_0x409103(0x188),'enableAuthHint':_0x409103(0x181),'connectionInfo':_0x409103(0x173),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x409103(0x186),'configStepTitle':_0x409103(0x15f),'configStep1':_0x409103(0x18b),'configStep2':_0x409103(0x159),'configStep3':_0x409103(0x16d),'sessionId':_0x409103(0x171),'sessionIdDescription':_0x409103(0x166),'authorizationDescription':_0x409103(0x168),'configParameters':_0x409103(0x15a),'maxRetries':'Max\x20Retries','save':_0x409103(0x17e),'saving':_0x409103(0x16b),'note1':_0x409103(0x18a),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x409103(0x172),'configError':_0x409103(0x178),'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':_0x409103(0x16a),'getStarted':_0x409103(0x15b)},'validation':{'apiKeyRequired':_0x409103(0x15e),'apiKeyTooShort':_0x409103(0x163),'invalidConfig':_0x409103(0x185),'invalidApiKey':_0x409103(0x15c)},'connectionStatus':{'disconnected':_0x409103(0x16e),'connecting':'Connecting...','connected':_0x409103(0x161),'failed':_0x409103(0x169),'retrying':_0x409103(0x167)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x409103(0x18d),'networkError':_0x409103(0x162),'maxRetriesExceeded':_0x409103(0x17b)}}};module[_0x409103(0x160)]=e;function _0x580f(_0x583ec4,_0x3c1dd1){_0x583ec4=_0x583ec4-0x156;const _0x18ad2e=_0x18ad();let _0x580f3a=_0x18ad2e[_0x583ec4];return _0x580f3a;}function _0x18ad(){const _0x47fa68=['Failed\x20to\x20save\x20configuration','1308QcPgkS','3275363fiiLho','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','MCP\x20Configuration','Save\x20Configuration','MCP\x20Retrying...','API\x20Key','Enable\x20authentication\x20for\x20secure\x20connections','10099215RRzWGT','25460EeUvXk','MCP:\x20Network\x20Error','Invalid\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','Enable\x20Authentication','1996377oshACU','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Copy\x20the\x20JSON\x20configuration\x20below','7547660gCrFSx','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','255541avpIae','MCP\x20Unknown\x20Status','1190AcQVwf','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20Parameters:','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connecting...','API\x20key\x20is\x20required','Configuration\x20Steps:','exports','Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','4DQgmIb','8gKaquj','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','Connection\x20Failed','Univer\x20AI\x20Console','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disconnected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Session\x20ID\x20Occupied','Session\x20ID','Configuration\x20saved\x20successfully','MCP\x20Client\x20Configuration','2368SvJndD','1668PcIggi','MCP:\x20Unauthorized','MCP\x20Connected'];_0x18ad=function(){return _0x47fa68;};return _0x18ad();}
@@ -1 +1 @@
1
- const _0x33538f=_0x3613;(function(_0x5dc9c8,_0x3f9692){const _0x273c60=_0x3613,_0x4eee4e=_0x5dc9c8();while(!![]){try{const _0x242bc1=-parseInt(_0x273c60(0x16c))/0x1*(parseInt(_0x273c60(0x175))/0x2)+-parseInt(_0x273c60(0x14f))/0x3+parseInt(_0x273c60(0x147))/0x4+-parseInt(_0x273c60(0x14e))/0x5*(-parseInt(_0x273c60(0x16d))/0x6)+parseInt(_0x273c60(0x164))/0x7+-parseInt(_0x273c60(0x14b))/0x8*(parseInt(_0x273c60(0x150))/0x9)+-parseInt(_0x273c60(0x14c))/0xa;if(_0x242bc1===_0x3f9692)break;else _0x4eee4e['push'](_0x4eee4e['shift']());}catch(_0x5d4553){_0x4eee4e['push'](_0x4eee4e['shift']());}}}(_0x4170,0xa54a7));function _0x3613(_0x345001,_0x34b11b){_0x345001=_0x345001-0x146;const _0x41709d=_0x4170();let _0x361356=_0x41709d[_0x345001];return _0x361356;}function _0x4170(){const _0x226608=['Failed\x20to\x20save\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20configure\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Session\x20ID\x20Occupied','Univer\x20AI\x20Console','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Get\x20your\x20API\x20key\x20in\x20seconds','Save\x20Configuration','MCP\x20Configuration','8949010uhbSpu','Saving...','MCP\x20Client\x20Configuration','MCP:\x20Network\x20Error','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20saved\x20successfully','1Yvomgj','6GcyWPR','MCP\x20Connected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Unknown\x20Status','exports','781602eAGReS','Session\x20ID','MCP:\x20Unauthorized','4605864xfkyrH','Invalid\x20configuration','Connecting...','Connection\x20Failed','1994224kzpLFL','7442220fSKXpE','MCP\x20Disconnected','1211565mMRixH','1832631sMAUqk','9KLpthn','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Parameters:','Enter\x20your\x20API\x20key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20connect\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Max\x20Retries\x20Exceeded'];_0x4170=function(){return _0x226608;};return _0x4170();}const e={'mcpStatus':{'disconnected':_0x33538f(0x14d),'connecting':'MCP\x20Connecting...','connected':_0x33538f(0x16e),'failed':'MCP\x20Connection\x20Failed','retrying':_0x33538f(0x171),'unknown':_0x33538f(0x173),'unauthorized':_0x33538f(0x146),'sessionOccupied':_0x33538f(0x15e),'networkError':_0x33538f(0x167),'maxRetriesExceeded':_0x33538f(0x159),'clickToConnect':_0x33538f(0x156),'clickToConfigure':_0x33538f(0x15c)},'mcpConfig':{'title':_0x33538f(0x163),'description':_0x33538f(0x158),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x33538f(0x154),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x33538f(0x172),'connectionInfo':_0x33538f(0x166),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x33538f(0x160),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x33538f(0x15d),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x33538f(0x176),'sessionIdDescription':_0x33538f(0x152),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x33538f(0x153),'maxRetries':'Max\x20Retries','save':_0x33538f(0x162),'saving':_0x33538f(0x165),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x33538f(0x168),'configSaved':_0x33538f(0x16b),'configError':_0x33538f(0x15a),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x33538f(0x155),'univerAiLabel':_0x33538f(0x15f),'getStarted':_0x33538f(0x161)},'validation':{'apiKeyRequired':_0x33538f(0x169),'apiKeyTooShort':_0x33538f(0x157),'invalidConfig':_0x33538f(0x148),'invalidApiKey':_0x33538f(0x16a)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x33538f(0x149),'connected':'Connected','failed':_0x33538f(0x14a),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x33538f(0x16f),'sessionOccupied':_0x33538f(0x151),'networkError':_0x33538f(0x15b),'maxRetriesExceeded':_0x33538f(0x170)}}};module[_0x33538f(0x174)]=e;
1
+ function _0x28d3(){const _0x1b857f=['Configuration\x20Steps:','Invalid\x20configuration','16274646sckbwr','Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','6552310uLQZor','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','9413896EBoTNS','Configuration\x20Parameters:','MCP:\x20Unauthorized','897978gOMdHG','Retrying...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','4799lwZfEk','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','1099590UfBICh','API\x20key\x20with\x20Bearer\x20prefix.','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Retrying...','20SEQKxl','Save\x20Configuration','MCP\x20Unknown\x20Status','Configuration\x20saved\x20successfully','Enter\x20your\x20API\x20key','Saving...','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Client\x20Configuration','MCP\x20Disconnected','Enable\x20Authentication','MCP\x20Connecting...','API\x20key\x20is\x20required','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','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.','14IwHaKA','MCP\x20Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Univer\x20AI\x20Console','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connecting...','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session\x20ID','206LpiTqn','983084lhfYAl','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed'];_0x28d3=function(){return _0x1b857f;};return _0x28d3();}function _0x2ae4(_0x1da794,_0x1d036c){_0x1da794=_0x1da794-0x1ec;const _0x28d373=_0x28d3();let _0x2ae42d=_0x28d373[_0x1da794];return _0x2ae42d;}const _0x4a8a9e=_0x2ae4;(function(_0xc5cfca,_0x34922b){const _0x4ebfe8=_0x2ae4,_0x56340b=_0xc5cfca();while(!![]){try{const _0x16ba12=-parseInt(_0x4ebfe8(0x206))/0x1*(parseInt(_0x4ebfe8(0x1f4))/0x2)+-parseInt(_0x4ebfe8(0x208))/0x3+parseInt(_0x4ebfe8(0x1f5))/0x4+-parseInt(_0x4ebfe8(0x1fe))/0x5+-parseInt(_0x4ebfe8(0x203))/0x6*(-parseInt(_0x4ebfe8(0x21c))/0x7)+-parseInt(_0x4ebfe8(0x200))/0x8+parseInt(_0x4ebfe8(0x1fb))/0x9*(parseInt(_0x4ebfe8(0x20d))/0xa);if(_0x16ba12===_0x34922b)break;else _0x56340b['push'](_0x56340b['shift']());}catch(_0x1b9471){_0x56340b['push'](_0x56340b['shift']());}}}(_0x28d3,0xc6a5b));const e={'mcpStatus':{'disconnected':_0x4a8a9e(0x215),'connecting':_0x4a8a9e(0x217),'connected':_0x4a8a9e(0x21d),'failed':_0x4a8a9e(0x1f8),'retrying':_0x4a8a9e(0x20c),'unknown':_0x4a8a9e(0x20f),'unauthorized':_0x4a8a9e(0x202),'sessionOccupied':_0x4a8a9e(0x1ee),'networkError':_0x4a8a9e(0x1f7),'maxRetriesExceeded':_0x4a8a9e(0x213),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4a8a9e(0x1ef),'description':_0x4a8a9e(0x205),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4a8a9e(0x211),'apiKeyHint':_0x4a8a9e(0x1fd),'enableAuth':_0x4a8a9e(0x216),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x4a8a9e(0x214),'mcpClientConfig':_0x4a8a9e(0x214),'configInstructions':_0x4a8a9e(0x207),'configStepTitle':_0x4a8a9e(0x1f9),'configStep1':_0x4a8a9e(0x1f6),'configStep2':_0x4a8a9e(0x1ff),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4a8a9e(0x1f3),'sessionIdDescription':_0x4a8a9e(0x1f0),'authorizationDescription':_0x4a8a9e(0x209),'configParameters':_0x4a8a9e(0x201),'maxRetries':_0x4a8a9e(0x21a),'save':_0x4a8a9e(0x20e),'saving':_0x4a8a9e(0x212),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4a8a9e(0x210),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4a8a9e(0x21b),'univerAiLabel':_0x4a8a9e(0x1ed),'getStarted':_0x4a8a9e(0x1ec)},'validation':{'apiKeyRequired':_0x4a8a9e(0x218),'apiKeyTooShort':_0x4a8a9e(0x219),'invalidConfig':_0x4a8a9e(0x1fa),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4a8a9e(0x20a),'connecting':_0x4a8a9e(0x1f1),'connected':_0x4a8a9e(0x1fc),'failed':'Connection\x20Failed','retrying':_0x4a8a9e(0x204)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x4a8a9e(0x20b),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4a8a9e(0x1f2)}}};module['exports']=e;
@@ -1 +1 @@
1
- function _0x4461(_0x3d9f90,_0x31dccf){_0x3d9f90=_0x3d9f90-0x18d;const _0x2b99d9=_0x2b99();let _0x446148=_0x2b99d9[_0x3d9f90];return _0x446148;}const _0x4ac1a8=_0x4461;(function(_0x32b88c,_0x182909){const _0x4babff=_0x4461,_0x285937=_0x32b88c();while(!![]){try{const _0x440a76=-parseInt(_0x4babff(0x1b7))/0x1+-parseInt(_0x4babff(0x199))/0x2+parseInt(_0x4babff(0x1a6))/0x3+-parseInt(_0x4babff(0x1ae))/0x4*(parseInt(_0x4babff(0x1b5))/0x5)+-parseInt(_0x4babff(0x19f))/0x6*(-parseInt(_0x4babff(0x1b0))/0x7)+parseInt(_0x4babff(0x19d))/0x8+-parseInt(_0x4babff(0x1bf))/0x9;if(_0x440a76===_0x182909)break;else _0x285937['push'](_0x285937['shift']());}catch(_0x9cd3d8){_0x285937['push'](_0x285937['shift']());}}}(_0x2b99,0xa2e89));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4ac1a8(0x1af),'connected':_0x4ac1a8(0x1b1),'failed':_0x4ac1a8(0x190),'retrying':_0x4ac1a8(0x1b6),'unknown':_0x4ac1a8(0x1ba),'unauthorized':_0x4ac1a8(0x1bb),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4ac1a8(0x18f),'maxRetriesExceeded':_0x4ac1a8(0x1aa),'clickToConnect':_0x4ac1a8(0x19e),'clickToConfigure':_0x4ac1a8(0x195)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4ac1a8(0x1ac),'apiKey':_0x4ac1a8(0x1a9),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x4ac1a8(0x1b2),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4ac1a8(0x1a5),'connectionInfo':_0x4ac1a8(0x193),'mcpClientConfig':_0x4ac1a8(0x193),'configInstructions':_0x4ac1a8(0x18d),'configStepTitle':_0x4ac1a8(0x19a),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x4ac1a8(0x1b3),'configStep3':_0x4ac1a8(0x1be),'sessionId':_0x4ac1a8(0x192),'sessionIdDescription':_0x4ac1a8(0x1a8),'authorizationDescription':_0x4ac1a8(0x1a4),'configParameters':_0x4ac1a8(0x19c),'maxRetries':_0x4ac1a8(0x194),'save':_0x4ac1a8(0x1a1),'saving':_0x4ac1a8(0x1a3),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4ac1a8(0x1bc),'configError':_0x4ac1a8(0x191),'apiApplyInfo':{'title':_0x4ac1a8(0x198),'description':_0x4ac1a8(0x1b9),'univerAiLabel':_0x4ac1a8(0x1a2),'getStarted':_0x4ac1a8(0x1b4)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x4ac1a8(0x196),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4ac1a8(0x1ab)},'connectionStatus':{'disconnected':_0x4ac1a8(0x1a0),'connecting':_0x4ac1a8(0x1bd),'connected':_0x4ac1a8(0x197),'failed':'Connection\x20Failed','retrying':_0x4ac1a8(0x1b8)},'connectionError':{'unauthorized':_0x4ac1a8(0x1a7),'sessionOccupied':_0x4ac1a8(0x1ad),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4ac1a8(0x18e)}}};module[_0x4ac1a8(0x19b)]=e;function _0x2b99(){const _0x5ccb3a=['Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','5130576ksLYkl','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed','Failed\x20to\x20save\x20configuration','Session\x20ID','MCP\x20Client\x20Configuration','Max\x20Retries','Click\x20to\x20configure\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','What\x20is\x20API\x20Key?','261550fgEfRJ','Configuration\x20Steps:','exports','Configuration\x20Parameters:','3124944xRblbU','Click\x20to\x20connect\x20MCP','6138708lTBFQx','Disconnected','Save\x20Configuration','Univer\x20AI\x20Console','Saving...','API\x20key\x20with\x20Bearer\x20prefix.','Enable\x20authentication\x20for\x20secure\x20connections','1990080EJbSLB','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.','API\x20Key','MCP:\x20Max\x20Retries\x20Exceeded','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','26576CDqQaD','MCP\x20Connecting...','7TwwKWP','MCP\x20Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Get\x20your\x20API\x20key\x20in\x20seconds','300ObQKBS','MCP\x20Retrying...','310344VSyJZP','Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Unknown\x20Status','MCP:\x20Unauthorized','Configuration\x20saved\x20successfully','Connecting...'];_0x2b99=function(){return _0x5ccb3a;};return _0x2b99();}
1
+ function _0x5d5c(_0x442073,_0x2d78a6){_0x442073=_0x442073-0x120;const _0x23f88e=_0x23f8();let _0x5d5c3e=_0x23f88e[_0x442073];return _0x5d5c3e;}const _0x557f8d=_0x5d5c;(function(_0x23f6c1,_0x3b9327){const _0xafde10=_0x5d5c,_0x1463e0=_0x23f6c1();while(!![]){try{const _0x157c30=parseInt(_0xafde10(0x130))/0x1*(-parseInt(_0xafde10(0x139))/0x2)+parseInt(_0xafde10(0x124))/0x3*(parseInt(_0xafde10(0x136))/0x4)+-parseInt(_0xafde10(0x122))/0x5+-parseInt(_0xafde10(0x150))/0x6*(-parseInt(_0xafde10(0x14e))/0x7)+parseInt(_0xafde10(0x142))/0x8*(-parseInt(_0xafde10(0x132))/0x9)+-parseInt(_0xafde10(0x145))/0xa*(-parseInt(_0xafde10(0x126))/0xb)+parseInt(_0xafde10(0x13d))/0xc;if(_0x157c30===_0x3b9327)break;else _0x1463e0['push'](_0x1463e0['shift']());}catch(_0x307b1f){_0x1463e0['push'](_0x1463e0['shift']());}}}(_0x23f8,0x7360e));const e={'mcpStatus':{'disconnected':_0x557f8d(0x12c),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x557f8d(0x14f),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x557f8d(0x13e),'networkError':_0x557f8d(0x138),'maxRetriesExceeded':_0x557f8d(0x133),'clickToConnect':_0x557f8d(0x151),'clickToConfigure':_0x557f8d(0x129)},'mcpConfig':{'title':_0x557f8d(0x128),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x557f8d(0x125),'apiKeyHint':_0x557f8d(0x121),'enableAuth':_0x557f8d(0x12d),'enableAuthHint':_0x557f8d(0x13a),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x557f8d(0x12f),'configInstructions':_0x557f8d(0x141),'configStepTitle':_0x557f8d(0x120),'configStep1':_0x557f8d(0x12b),'configStep2':_0x557f8d(0x14a),'configStep3':_0x557f8d(0x149),'sessionId':_0x557f8d(0x13b),'sessionIdDescription':_0x557f8d(0x134),'authorizationDescription':_0x557f8d(0x147),'configParameters':_0x557f8d(0x153),'maxRetries':_0x557f8d(0x14c),'save':_0x557f8d(0x152),'saving':'Saving...','note1':_0x557f8d(0x12a),'note2':_0x557f8d(0x131),'configSaved':_0x557f8d(0x13f),'configError':_0x557f8d(0x146),'apiApplyInfo':{'title':_0x557f8d(0x123),'description':_0x557f8d(0x144),'univerAiLabel':_0x557f8d(0x12e),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x557f8d(0x14b),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x557f8d(0x127),'invalidApiKey':_0x557f8d(0x137)},'connectionStatus':{'disconnected':_0x557f8d(0x155),'connecting':'Connecting...','connected':_0x557f8d(0x14d),'failed':_0x557f8d(0x140),'retrying':_0x557f8d(0x135)},'connectionError':{'unauthorized':_0x557f8d(0x148),'sessionOccupied':_0x557f8d(0x143),'networkError':_0x557f8d(0x13c),'maxRetriesExceeded':_0x557f8d(0x154)}}};module['exports']=e;function _0x23f8(){const _0x2194f6=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20is\x20required','Max\x20Retries','Connected','8813gPKQCg','MCP\x20Unknown\x20Status','954WNGVYK','Click\x20to\x20connect\x20MCP','Save\x20Configuration','Configuration\x20Parameters:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Disconnected','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','533160ISHgkq','What\x20is\x20API\x20Key?','16149nOYAGU','Enter\x20your\x20API\x20key','1133wzstnk','Invalid\x20configuration','MCP\x20Configuration','Click\x20to\x20configure\x20MCP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Disconnected','Enable\x20Authentication','Univer\x20AI\x20Console','MCP\x20Client\x20Configuration','413053hYbsFa','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1831941uQfOcw','MCP:\x20Max\x20Retries\x20Exceeded','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Retrying...','28xOhZKg','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Network\x20Error','2KFanPG','Enable\x20authentication\x20for\x20secure\x20connections','Session\x20ID','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','8886348PllNPb','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20saved\x20successfully','Connection\x20Failed','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','8hoRUOK','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','21110pQMfgv','Failed\x20to\x20save\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.'];_0x23f8=function(){return _0x2194f6;};return _0x23f8();}
@@ -1 +1 @@
1
- function _0x2523(_0x193742,_0x68b7e1){_0x193742=_0x193742-0x1f1;const _0x415ae9=_0x415a();let _0x252353=_0x415ae9[_0x193742];return _0x252353;}const _0xdb2b0e=_0x2523;(function(_0x3983c8,_0xca3ecf){const _0x59bb85=_0x2523,_0x53556f=_0x3983c8();while(!![]){try{const _0x2bfdbf=parseInt(_0x59bb85(0x20c))/0x1*(parseInt(_0x59bb85(0x219))/0x2)+parseInt(_0x59bb85(0x1f8))/0x3+parseInt(_0x59bb85(0x20e))/0x4+parseInt(_0x59bb85(0x201))/0x5+parseInt(_0x59bb85(0x1f5))/0x6+parseInt(_0x59bb85(0x1fb))/0x7+-parseInt(_0x59bb85(0x1f1))/0x8;if(_0x2bfdbf===_0xca3ecf)break;else _0x53556f['push'](_0x53556f['shift']());}catch(_0x56e934){_0x53556f['push'](_0x53556f['shift']());}}}(_0x415a,0xda78a));function _0x415a(){const _0x5f4ff8=['What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','Retrying...','MCP\x20Disconnected','836810wEFtfz','MCP\x20Client\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Disconnected','API\x20Key','MCP:\x20Unauthorized','API\x20key\x20with\x20Bearer\x20prefix.','673167JEMNjc','Enter\x20your\x20API\x20key','4060796IXVlcV','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Steps:','Click\x20to\x20configure\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connection\x20Failed','2azEXqG','Max\x20Retries','Enable\x20authentication\x20for\x20secure\x20connections','exports','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','28252656rUhLHI','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','2948010GohyrN','Connection\x20Failed','MCP\x20Unknown\x20Status','3367659vzyWcU','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Parameters:','6697768RskvPL','Enable\x20Authentication'];_0x415a=function(){return _0x5f4ff8;};return _0x415a();}const e={'mcpStatus':{'disconnected':_0xdb2b0e(0x200),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0xdb2b0e(0x218),'retrying':_0xdb2b0e(0x1f4),'unknown':_0xdb2b0e(0x1f7),'unauthorized':_0xdb2b0e(0x20a),'sessionOccupied':_0xdb2b0e(0x213),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xdb2b0e(0x204),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0xdb2b0e(0x215)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xdb2b0e(0x216),'apiKey':_0xdb2b0e(0x209),'apiKeyPlaceholder':_0xdb2b0e(0x20d),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0xdb2b0e(0x1fc),'enableAuthHint':_0xdb2b0e(0x21b),'connectionInfo':_0xdb2b0e(0x202),'mcpClientConfig':_0xdb2b0e(0x202),'configInstructions':_0xdb2b0e(0x21d),'configStepTitle':_0xdb2b0e(0x214),'configStep1':_0xdb2b0e(0x205),'configStep2':_0xdb2b0e(0x207),'configStep3':_0xdb2b0e(0x203),'sessionId':_0xdb2b0e(0x1f2),'sessionIdDescription':_0xdb2b0e(0x21e),'authorizationDescription':_0xdb2b0e(0x20b),'configParameters':_0xdb2b0e(0x1fa),'maxRetries':_0xdb2b0e(0x21a),'save':'Save\x20Configuration','saving':'Saving...','note1':_0xdb2b0e(0x211),'note2':_0xdb2b0e(0x217),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xdb2b0e(0x1fd),'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':_0xdb2b0e(0x1fe),'getStarted':_0xdb2b0e(0x210)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xdb2b0e(0x1f9),'invalidConfig':_0xdb2b0e(0x206),'invalidApiKey':_0xdb2b0e(0x1f3)},'connectionStatus':{'disconnected':_0xdb2b0e(0x208),'connecting':'Connecting...','connected':'Connected','failed':_0xdb2b0e(0x1f6),'retrying':_0xdb2b0e(0x1ff)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0xdb2b0e(0x212),'maxRetriesExceeded':_0xdb2b0e(0x20f)}}};module[_0xdb2b0e(0x21c)]=e;
1
+ function _0x1d58(_0x50917c,_0x30f2f0){_0x50917c=_0x50917c-0x1af;const _0x584dab=_0x584d();let _0x1d58d4=_0x584dab[_0x50917c];return _0x1d58d4;}const _0x2d8eca=_0x1d58;function _0x584d(){const _0x56624e=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','27818pTghJp','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','29662xoYmNE','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Disconnected','MCP\x20Retrying...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Unauthorized','MCP\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','exports','6cwJwXG','3905388ZAxnco','Configuration\x20saved\x20successfully','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enter\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','303vcduHi','What\x20is\x20API\x20Key?','2618450gPHquW','7279063CXsUEe','Saving...','2080000smrPgC','Connection\x20Failed','Configuration\x20Parameters:','API\x20Key','Click\x20to\x20connect\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Session\x20ID','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20authentication\x20for\x20secure\x20connections','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connecting...','API\x20key\x20is\x20required','API\x20key\x20with\x20Bearer\x20prefix.','Max\x20Retries','MCP\x20Connecting...','59kMCUNR','5272BcsoHx','232PqoMmw','MCP\x20Client\x20Configuration','MCP\x20Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x584d=function(){return _0x56624e;};return _0x584d();}(function(_0x2930f4,_0x465153){const _0x22415b=_0x1d58,_0x5b1c44=_0x2930f4();while(!![]){try{const _0xbbd76c=parseInt(_0x22415b(0x1b3))/0x1*(parseInt(_0x22415b(0x1bc))/0x2)+parseInt(_0x22415b(0x1ce))/0x3*(-parseInt(_0x22415b(0x1b4))/0x4)+-parseInt(_0x22415b(0x1d3))/0x5*(-parseInt(_0x22415b(0x1c6))/0x6)+parseInt(_0x22415b(0x1ba))/0x7*(-parseInt(_0x22415b(0x1b5))/0x8)+parseInt(_0x22415b(0x1c7))/0x9+-parseInt(_0x22415b(0x1d0))/0xa+-parseInt(_0x22415b(0x1d1))/0xb;if(_0xbbd76c===_0x465153)break;else _0x5b1c44['push'](_0x5b1c44['shift']());}catch(_0x57fa48){_0x5b1c44['push'](_0x5b1c44['shift']());}}}(_0x584d,0x8703b));const e={'mcpStatus':{'disconnected':_0x2d8eca(0x1bf),'connecting':_0x2d8eca(0x1b2),'connected':_0x2d8eca(0x1b7),'failed':'MCP\x20Connection\x20Failed','retrying':_0x2d8eca(0x1c0),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2d8eca(0x1c2),'sessionOccupied':_0x2d8eca(0x1c4),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2d8eca(0x1da),'clickToConnect':_0x2d8eca(0x1d7),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2d8eca(0x1c3),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2d8eca(0x1d6),'apiKeyPlaceholder':_0x2d8eca(0x1ca),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2d8eca(0x1db),'connectionInfo':_0x2d8eca(0x1b6),'mcpClientConfig':_0x2d8eca(0x1b6),'configInstructions':_0x2d8eca(0x1bd),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x2d8eca(0x1c9),'configStep3':_0x2d8eca(0x1c1),'sessionId':_0x2d8eca(0x1d9),'sessionIdDescription':_0x2d8eca(0x1dc),'authorizationDescription':_0x2d8eca(0x1b0),'configParameters':_0x2d8eca(0x1d5),'maxRetries':_0x2d8eca(0x1b1),'save':'Save\x20Configuration','saving':_0x2d8eca(0x1d2),'note1':_0x2d8eca(0x1b8),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x2d8eca(0x1c8),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2d8eca(0x1cf),'description':_0x2d8eca(0x1bb),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2d8eca(0x1af),'apiKeyTooShort':_0x2d8eca(0x1be),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x2d8eca(0x1d8)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2d8eca(0x1dd),'connected':'Connected','failed':_0x2d8eca(0x1d4),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2d8eca(0x1b9),'sessionOccupied':_0x2d8eca(0x1cc),'networkError':_0x2d8eca(0x1cd),'maxRetriesExceeded':_0x2d8eca(0x1cb)}}};module[_0x2d8eca(0x1c5)]=e;
@@ -1 +1 @@
1
- const _0x3907d0=_0x5168;function _0xfce5(){const _0x4350e3=['7JwQMtX','MCPクライアント設定','未接続','MCPクライアントの設定ファイルに設定を追加','2546091ooMZWG','再試行中...','MCP:\x20セッションIDが使用中','接続済み','MCP\x20接続済み','MCP\x20不明な状態','857096jWezTm','クリックしてMCPに接続','exports','セッションIDが現在使用中です。後でもう一度お試しください','1199ADZvBE','2009256rYgogx','無効な設定','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','最大再試行回数を超過しました。後でもう一度お試しください','最大再試行回数','設定が正常に保存されました','MCPを設定してAIでスプレッドシートを操作','898615StrCTm','APIキーはローカルストレージに安全に保存されます','MCP設定','MCPクライアントの設定に次の設定を追加してください:','MCP:\x20認証されていません','接続中...','4890159Uhsqun','Univer\x20AIコンソール','クリックしてMCPを設定','Bearerプレフィックス付きのAPIキー。','認証に失敗しました。APIキーを確認してください','保存中...','APIキーは必須です','12JtrdYf','接続失敗','以下のJSON設定をコピー','設定を保存','APIキーはこのブラウザのローカルに保存されます','MCP\x20未接続','862hSpYop','セッションID','無効なAPIキーです。キーが正しいか確認してください','設定の保存に失敗しました','APIキー','設定パラメータ:','2098990peHKvd','MCP:\x20ネットワークエラー','APIキーとは?','ネットワーク接続エラー。インターネット接続を確認してください','MCPクライアントを再起動して設定を適用','APIキーは10文字以上である必要があります','MCP\x20接続中...'];_0xfce5=function(){return _0x4350e3;};return _0xfce5();}(function(_0x1aa9ab,_0x3a377c){const _0x30ae9e=_0x5168,_0x38bedc=_0x1aa9ab();while(!![]){try{const _0x5039a3=parseInt(_0x30ae9e(0xc0))/0x1*(-parseInt(_0x30ae9e(0xa5))/0x2)+parseInt(_0x30ae9e(0x98))/0x3+-parseInt(_0x30ae9e(0xbc))/0x4+parseInt(_0x30ae9e(0x92))/0x5*(-parseInt(_0x30ae9e(0x9f))/0x6)+-parseInt(_0x30ae9e(0xb2))/0x7*(-parseInt(_0x30ae9e(0xc1))/0x8)+parseInt(_0x30ae9e(0xb6))/0x9+-parseInt(_0x30ae9e(0xab))/0xa;if(_0x5039a3===_0x3a377c)break;else _0x38bedc['push'](_0x38bedc['shift']());}catch(_0x478dc1){_0x38bedc['push'](_0x38bedc['shift']());}}}(_0xfce5,0xd2de9));function _0x5168(_0x5d97bb,_0x156be2){_0x5d97bb=_0x5d97bb-0x90;const _0xfce5ba=_0xfce5();let _0x51687e=_0xfce5ba[_0x5d97bb];return _0x51687e;}const e={'mcpStatus':{'disconnected':_0x3907d0(0xa4),'connecting':_0x3907d0(0xb1),'connected':_0x3907d0(0xba),'failed':'MCP\x20接続失敗','retrying':'MCP\x20再試行中...','unknown':_0x3907d0(0xbb),'unauthorized':_0x3907d0(0x96),'sessionOccupied':_0x3907d0(0xb8),'networkError':_0x3907d0(0xac),'maxRetriesExceeded':'MCP:\x20最大再試行回数を超過','clickToConnect':_0x3907d0(0xbd),'clickToConfigure':_0x3907d0(0x9a)},'mcpConfig':{'title':_0x3907d0(0x94),'description':_0x3907d0(0x91),'apiKey':_0x3907d0(0xa9),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':_0x3907d0(0xa3),'enableAuth':'認証を有効にする','enableAuthHint':'セキュアな接続のために認証を有効にする','connectionInfo':_0x3907d0(0xb3),'mcpClientConfig':_0x3907d0(0xb3),'configInstructions':_0x3907d0(0x95),'configStepTitle':'設定手順:','configStep1':_0x3907d0(0xa1),'configStep2':_0x3907d0(0xb5),'configStep3':_0x3907d0(0xaf),'sessionId':_0x3907d0(0xa6),'sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':_0x3907d0(0x9b),'configParameters':_0x3907d0(0xaa),'maxRetries':_0x3907d0(0xc5),'save':_0x3907d0(0xa2),'saving':_0x3907d0(0x9d),'note1':'設定の変更は直ちに有効になります','note2':_0x3907d0(0x93),'configSaved':_0x3907d0(0x90),'configError':_0x3907d0(0xa8),'apiApplyInfo':{'title':_0x3907d0(0xad),'description':_0x3907d0(0xc3),'univerAiLabel':_0x3907d0(0x99),'getStarted':'数秒でAPIキーを取得'},'validation':{'apiKeyRequired':_0x3907d0(0x9e),'apiKeyTooShort':_0x3907d0(0xb0),'invalidConfig':_0x3907d0(0xc2),'invalidApiKey':_0x3907d0(0xa7)},'connectionStatus':{'disconnected':_0x3907d0(0xb4),'connecting':_0x3907d0(0x97),'connected':_0x3907d0(0xb9),'failed':_0x3907d0(0xa0),'retrying':_0x3907d0(0xb7)},'connectionError':{'unauthorized':_0x3907d0(0x9c),'sessionOccupied':_0x3907d0(0xbf),'networkError':_0x3907d0(0xae),'maxRetriesExceeded':_0x3907d0(0xc4)}}};module[_0x3907d0(0xbe)]=e;
1
+ const _0x3f1759=_0x2d66;function _0x2fc9(){const _0xfc3bcf=['APIキーはローカルストレージに安全に保存されます','未接続','保存中...','MCP:\x20最大再試行回数を超過','APIキーは必須です','MCP\x20再試行中...','3915HMGsjQ','MCP\x20不明な状態','1918038LexvHB','最大再試行回数','設定パラメータ:','認証を有効にする','894238qsojrB','セッションIDが現在使用中です。後でもう一度お試しください','APIキーとは?','MCP\x20接続中...','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','無効な設定','exports','2574856WIcEda','154209BHdQzH','24832bTEGay','APIキーは10文字以上である必要があります','MCP設定','750198yUHVQH','数秒でAPIキーを取得','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','設定が正常に保存されました','MCPクライアントを再起動して設定を適用','APIキーはこのブラウザのローカルに保存されます','MCPクライアント設定','設定の保存に失敗しました','MCP\x20未接続','クリックしてMCPを設定','1539650VLeaUt','MCPクライアントの設定に次の設定を追加してください:','Bearerプレフィックス付きのAPIキー。','再試行中...','接続中...','MCP:\x20認証されていません','5THDUdH','設定を保存','APIキー'];_0x2fc9=function(){return _0xfc3bcf;};return _0x2fc9();}(function(_0x156253,_0x526b3f){const _0xe790de=_0x2d66,_0x4784b6=_0x156253();while(!![]){try{const _0x289d62=-parseInt(_0xe790de(0x12b))/0x1+-parseInt(_0xe790de(0x127))/0x2+parseInt(_0xe790de(0x133))/0x3+parseInt(_0xe790de(0x132))/0x4+parseInt(_0xe790de(0x11c))/0x5*(parseInt(_0xe790de(0x137))/0x6)+parseInt(_0xe790de(0x141))/0x7+-parseInt(_0xe790de(0x134))/0x8*(-parseInt(_0xe790de(0x125))/0x9);if(_0x289d62===_0x526b3f)break;else _0x4784b6['push'](_0x4784b6['shift']());}catch(_0x90f30e){_0x4784b6['push'](_0x4784b6['shift']());}}}(_0x2fc9,0x831fb));function _0x2d66(_0x3e9fc3,_0x46e4e4){_0x3e9fc3=_0x3e9fc3-0x11a;const _0x2fc9cc=_0x2fc9();let _0x2d660c=_0x2fc9cc[_0x3e9fc3];return _0x2d660c;}const e={'mcpStatus':{'disconnected':_0x3f1759(0x13f),'connecting':_0x3f1759(0x12e),'connected':'MCP\x20接続済み','failed':'MCP\x20接続失敗','retrying':_0x3f1759(0x124),'unknown':_0x3f1759(0x126),'unauthorized':_0x3f1759(0x11b),'sessionOccupied':'MCP:\x20セッションIDが使用中','networkError':'MCP:\x20ネットワークエラー','maxRetriesExceeded':_0x3f1759(0x122),'clickToConnect':'クリックしてMCPに接続','clickToConfigure':_0x3f1759(0x140)},'mcpConfig':{'title':_0x3f1759(0x136),'description':'MCPを設定してAIでスプレッドシートを操作','apiKey':_0x3f1759(0x11e),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':_0x3f1759(0x13c),'enableAuth':_0x3f1759(0x12a),'enableAuthHint':'セキュアな接続のために認証を有効にする','connectionInfo':_0x3f1759(0x13d),'mcpClientConfig':_0x3f1759(0x13d),'configInstructions':_0x3f1759(0x142),'configStepTitle':'設定手順:','configStep1':'以下のJSON設定をコピー','configStep2':'MCPクライアントの設定ファイルに設定を追加','configStep3':_0x3f1759(0x13b),'sessionId':'セッションID','sessionIdDescription':_0x3f1759(0x139),'authorizationDescription':_0x3f1759(0x143),'configParameters':_0x3f1759(0x129),'maxRetries':_0x3f1759(0x128),'save':_0x3f1759(0x11d),'saving':_0x3f1759(0x121),'note1':'設定の変更は直ちに有効になります','note2':_0x3f1759(0x11f),'configSaved':_0x3f1759(0x13a),'configError':_0x3f1759(0x13e),'apiApplyInfo':{'title':_0x3f1759(0x12d),'description':_0x3f1759(0x12f),'univerAiLabel':'Univer\x20AIコンソール','getStarted':_0x3f1759(0x138)},'validation':{'apiKeyRequired':_0x3f1759(0x123),'apiKeyTooShort':_0x3f1759(0x135),'invalidConfig':_0x3f1759(0x130),'invalidApiKey':'無効なAPIキーです。キーが正しいか確認してください'},'connectionStatus':{'disconnected':_0x3f1759(0x120),'connecting':_0x3f1759(0x11a),'connected':'接続済み','failed':'接続失敗','retrying':_0x3f1759(0x144)},'connectionError':{'unauthorized':'認証に失敗しました。APIキーを確認してください','sessionOccupied':_0x3f1759(0x12c),'networkError':'ネットワーク接続エラー。インターネット接続を確認してください','maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};module[_0x3f1759(0x131)]=e;
@@ -1 +1 @@
1
- const _0x38c00c=_0x211b;function _0x1d62(){const _0x554255=['최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','연결\x20중...','API\x20키란\x20무엇인가요?','세션\x20ID','설정\x20저장','exports','MCP\x20연결\x20중...','설정\x20저장\x20실패','MCP\x20설정','1341976lYtEqD','Univer\x20AI\x20콘솔','1277793QIcXqd','MCP\x20알\x20수\x20없는\x20상태','MCP\x20클라이언트\x20설정','9271598wkhJDs','저장\x20중...','MCP:\x20세션\x20ID\x20사용\x20중','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','3175JWtTMX','MCP\x20연결\x20끊김','MCP\x20재시도\x20중...','인증\x20활성화','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','9169904Fnploi','9vvSopv','4270182EKHlGu','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','MCP:\x20네트워크\x20오류','1343607eSyuDx','재시도\x20중...','클릭하여\x20MCP\x20설정','2kBNWDC','인증\x20실패.\x20API\x20키를\x20확인하세요','연결됨','설정이\x20성공적으로\x20저장되었습니다','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','설정\x20단계:','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','8564yMiOLg','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','API\x20키','MCP:\x20최대\x20재시도\x20횟수\x20초과','보안\x20연결을\x20위해\x20인증\x20활성화','API\x20키는\x2010자\x20이상이어야\x20합니다','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','40wWMtfx','몇\x20초\x20만에\x20API\x20키\x20발급받기','클릭하여\x20MCP\x20연결','아래\x20JSON\x20설정\x20복사','유효하지\x20않은\x20설정'];_0x1d62=function(){return _0x554255;};return _0x1d62();}function _0x211b(_0x3430de,_0x419c03){_0x3430de=_0x3430de-0x19e;const _0x1d62da=_0x1d62();let _0x211b53=_0x1d62da[_0x3430de];return _0x211b53;}(function(_0x2e311d,_0x25c31b){const _0x36701a=_0x211b,_0x196063=_0x2e311d();while(!![]){try{const _0x4506ba=parseInt(_0x36701a(0x1b7))/0x1+-parseInt(_0x36701a(0x1ce))/0x2*(parseInt(_0x36701a(0x1cb))/0x3)+parseInt(_0x36701a(0x1a2))/0x4*(parseInt(_0x36701a(0x1c0))/0x5)+parseInt(_0x36701a(0x1c8))/0x6+-parseInt(_0x36701a(0x1bc))/0x7+-parseInt(_0x36701a(0x1c6))/0x8*(parseInt(_0x36701a(0x1c7))/0x9)+-parseInt(_0x36701a(0x1a9))/0xa*(-parseInt(_0x36701a(0x1b9))/0xb);if(_0x4506ba===_0x25c31b)break;else _0x196063['push'](_0x196063['shift']());}catch(_0x32582d){_0x196063['push'](_0x196063['shift']());}}}(_0x1d62,0xea307));const e={'mcpStatus':{'disconnected':_0x38c00c(0x1c1),'connecting':_0x38c00c(0x1b4),'connected':'MCP\x20연결됨','failed':'MCP\x20연결\x20실패','retrying':_0x38c00c(0x1c2),'unknown':_0x38c00c(0x1ba),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x38c00c(0x1be),'networkError':_0x38c00c(0x1ca),'maxRetriesExceeded':_0x38c00c(0x1a5),'clickToConnect':_0x38c00c(0x1ab),'clickToConfigure':_0x38c00c(0x1cd)},'mcpConfig':{'title':_0x38c00c(0x1b6),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0x38c00c(0x1a4),'apiKeyPlaceholder':'API\x20키를\x20입력하세요','apiKeyHint':_0x38c00c(0x1bf),'enableAuth':_0x38c00c(0x1c3),'enableAuthHint':_0x38c00c(0x1a6),'connectionInfo':_0x38c00c(0x1bb),'mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':_0x38c00c(0x1a3),'configStepTitle':_0x38c00c(0x1a0),'configStep1':_0x38c00c(0x1ac),'configStep2':'MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','configStep3':_0x38c00c(0x1a8),'sessionId':_0x38c00c(0x1b1),'sessionIdDescription':_0x38c00c(0x1c5),'authorizationDescription':'Bearer\x20접두사가\x20있는\x20API\x20키.','configParameters':'설정\x20매개변수:','maxRetries':'최대\x20재시도\x20횟수','save':_0x38c00c(0x1b2),'saving':_0x38c00c(0x1bd),'note1':_0x38c00c(0x19f),'note2':'API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','configSaved':_0x38c00c(0x19e),'configError':_0x38c00c(0x1b5),'apiApplyInfo':{'title':_0x38c00c(0x1b0),'description':_0x38c00c(0x1c4),'univerAiLabel':_0x38c00c(0x1b8),'getStarted':_0x38c00c(0x1aa)},'validation':{'apiKeyRequired':'API\x20키는\x20필수입니다','apiKeyTooShort':_0x38c00c(0x1a7),'invalidConfig':_0x38c00c(0x1ad),'invalidApiKey':_0x38c00c(0x1c9)},'connectionStatus':{'disconnected':'연결\x20끊김','connecting':_0x38c00c(0x1af),'connected':_0x38c00c(0x1d0),'failed':'연결\x20실패','retrying':_0x38c00c(0x1cc)},'connectionError':{'unauthorized':_0x38c00c(0x1cf),'sessionOccupied':_0x38c00c(0x1a1),'networkError':'네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','maxRetriesExceeded':_0x38c00c(0x1ae)}}};module[_0x38c00c(0x1b3)]=e;
1
+ const _0x2e983f=_0x76c1;(function(_0x4479b6,_0x29afba){const _0xf06d53=_0x76c1,_0x5db180=_0x4479b6();while(!![]){try{const _0x153958=-parseInt(_0xf06d53(0x1d0))/0x1*(-parseInt(_0xf06d53(0x1cb))/0x2)+parseInt(_0xf06d53(0x1eb))/0x3*(parseInt(_0xf06d53(0x1bb))/0x4)+-parseInt(_0xf06d53(0x1ea))/0x5+-parseInt(_0xf06d53(0x1df))/0x6*(-parseInt(_0xf06d53(0x1bf))/0x7)+parseInt(_0xf06d53(0x1db))/0x8*(parseInt(_0xf06d53(0x1c7))/0x9)+parseInt(_0xf06d53(0x1ca))/0xa+-parseInt(_0xf06d53(0x1c1))/0xb;if(_0x153958===_0x29afba)break;else _0x5db180['push'](_0x5db180['shift']());}catch(_0x4e8363){_0x5db180['push'](_0x5db180['shift']());}}}(_0x22ac,0x7c51c));function _0x76c1(_0x175c13,_0x25dec5){_0x175c13=_0x175c13-0x1b7;const _0x22ac6d=_0x22ac();let _0x76c1de=_0x22ac6d[_0x175c13];return _0x76c1de;}const e={'mcpStatus':{'disconnected':'MCP\x20연결\x20끊김','connecting':_0x2e983f(0x1c4),'connected':_0x2e983f(0x1cd),'failed':_0x2e983f(0x1c6),'retrying':_0x2e983f(0x1c3),'unknown':_0x2e983f(0x1e5),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x2e983f(0x1d3),'networkError':_0x2e983f(0x1b8),'maxRetriesExceeded':_0x2e983f(0x1e9),'clickToConnect':'클릭하여\x20MCP\x20연결','clickToConfigure':_0x2e983f(0x1dc)},'mcpConfig':{'title':_0x2e983f(0x1cf),'description':_0x2e983f(0x1cc),'apiKey':_0x2e983f(0x1e6),'apiKeyPlaceholder':'API\x20키를\x20입력하세요','apiKeyHint':_0x2e983f(0x1d4),'enableAuth':_0x2e983f(0x1da),'enableAuthHint':_0x2e983f(0x1e8),'connectionInfo':_0x2e983f(0x1b7),'mcpClientConfig':_0x2e983f(0x1b7),'configInstructions':_0x2e983f(0x1d6),'configStepTitle':_0x2e983f(0x1d1),'configStep1':_0x2e983f(0x1d7),'configStep2':_0x2e983f(0x1ec),'configStep3':_0x2e983f(0x1e3),'sessionId':_0x2e983f(0x1ce),'sessionIdDescription':_0x2e983f(0x1ed),'authorizationDescription':_0x2e983f(0x1bd),'configParameters':'설정\x20매개변수:','maxRetries':_0x2e983f(0x1d8),'save':_0x2e983f(0x1b9),'saving':_0x2e983f(0x1e7),'note1':_0x2e983f(0x1de),'note2':_0x2e983f(0x1d9),'configSaved':_0x2e983f(0x1d5),'configError':_0x2e983f(0x1be),'apiApplyInfo':{'title':_0x2e983f(0x1e1),'description':'API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','univerAiLabel':_0x2e983f(0x1e2),'getStarted':_0x2e983f(0x1c0)},'validation':{'apiKeyRequired':_0x2e983f(0x1dd),'apiKeyTooShort':'API\x20키는\x2010자\x20이상이어야\x20합니다','invalidConfig':_0x2e983f(0x1bc),'invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':_0x2e983f(0x1d2),'connecting':'연결\x20중...','connected':_0x2e983f(0x1e4),'failed':_0x2e983f(0x1c8),'retrying':_0x2e983f(0x1c5)},'connectionError':{'unauthorized':_0x2e983f(0x1c2),'sessionOccupied':_0x2e983f(0x1c9),'networkError':_0x2e983f(0x1e0),'maxRetriesExceeded':_0x2e983f(0x1ee)}}};function _0x22ac(){const _0x411169=['설정이\x20성공적으로\x20저장되었습니다','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','아래\x20JSON\x20설정\x20복사','최대\x20재시도\x20횟수','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','인증\x20활성화','48984NNVxPP','클릭하여\x20MCP\x20설정','API\x20키는\x20필수입니다','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','496302CEenBW','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','API\x20키란\x20무엇인가요?','Univer\x20AI\x20콘솔','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','연결됨','MCP\x20알\x20수\x20없는\x20상태','API\x20키','저장\x20중...','보안\x20연결을\x20위해\x20인증\x20활성화','MCP:\x20최대\x20재시도\x20횟수\x20초과','5056410mhUBhG','27EKMGUd','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','MCP\x20클라이언트\x20설정','MCP:\x20네트워크\x20오류','설정\x20저장','exports','293156syHJtV','유효하지\x20않은\x20설정','Bearer\x20접두사가\x20있는\x20API\x20키.','설정\x20저장\x20실패','35HQrdFj','몇\x20초\x20만에\x20API\x20키\x20발급받기','19007967vOoxSI','인증\x20실패.\x20API\x20키를\x20확인하세요','MCP\x20재시도\x20중...','MCP\x20연결\x20중...','재시도\x20중...','MCP\x20연결\x20실패','1017Fjqmhc','연결\x20실패','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','9308980Hcubqo','1105016rqWcVg','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','MCP\x20연결됨','세션\x20ID','MCP\x20설정','1TmWraU','설정\x20단계:','연결\x20끊김','MCP:\x20세션\x20ID\x20사용\x20중','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다'];_0x22ac=function(){return _0x411169;};return _0x22ac();}module[_0x2e983f(0x1ba)]=e;
@@ -1 +1 @@
1
- function _0x448f(){const _0x2abb07=['API\x20key\x20is\x20required','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connecting...','3258WvNmqk','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','Univer\x20AI\x20Console','1268487djZlWA','Enter\x20your\x20API\x20key','651272kUpnyu','API\x20key\x20with\x20Bearer\x20prefix.','48JteBnH','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Copy\x20the\x20JSON\x20configuration\x20below','477GGPzva','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','What\x20is\x20API\x20Key?','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connected','Configuration\x20saved\x20successfully','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Network\x20Error','698480xKDKTU','Session\x20ID','MCP\x20Unknown\x20Status','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','exports','8mXrkQs','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Client\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Steps:','33684eJbUOl','Invalid\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Session\x20ID\x20Occupied','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connection\x20Failed','12612vzphgG','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Retrying...','Save\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20configure\x20MCP','Max\x20Retries','Get\x20your\x20API\x20key\x20in\x20seconds','60580gNZSAt','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Parameters:','Saving...','126QMPJaV','MCP\x20Connected'];_0x448f=function(){return _0x2abb07;};return _0x448f();}const _0x7bff9b=_0x2388;(function(_0x13a111,_0x1bfe08){const _0x48174d=_0x2388,_0x2ad570=_0x13a111();while(!![]){try{const _0x1631ad=-parseInt(_0x48174d(0x15f))/0x1+-parseInt(_0x48174d(0x16b))/0x2*(-parseInt(_0x48174d(0x170))/0x3)+parseInt(_0x48174d(0x18a))/0x4*(parseInt(_0x48174d(0x183))/0x5)+-parseInt(_0x48174d(0x178))/0x6*(parseInt(_0x48174d(0x191))/0x7)+parseInt(_0x48174d(0x176))/0x8+-parseInt(_0x48174d(0x17b))/0x9*(parseInt(_0x48174d(0x167))/0xa)+parseInt(_0x48174d(0x174))/0xb;if(_0x1631ad===_0x1bfe08)break;else _0x2ad570['push'](_0x2ad570['shift']());}catch(_0x483cbb){_0x2ad570['push'](_0x2ad570['shift']());}}}(_0x448f,0x2a142));function _0x2388(_0x1024da,_0x434e8a){_0x1024da=_0x1024da-0x15c;const _0x448fd3=_0x448f();let _0x238851=_0x448fd3[_0x1024da];return _0x238851;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x7bff9b(0x16f),'connected':_0x7bff9b(0x16c),'failed':_0x7bff9b(0x15e),'retrying':_0x7bff9b(0x161),'unknown':_0x7bff9b(0x185),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x7bff9b(0x15c),'networkError':_0x7bff9b(0x182),'maxRetriesExceeded':_0x7bff9b(0x15d),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x7bff9b(0x164)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x7bff9b(0x17e),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x7bff9b(0x175),'apiKeyHint':_0x7bff9b(0x18d),'enableAuth':_0x7bff9b(0x187),'enableAuthHint':_0x7bff9b(0x186),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x7bff9b(0x18e),'configInstructions':_0x7bff9b(0x179),'configStepTitle':_0x7bff9b(0x190),'configStep1':_0x7bff9b(0x17a),'configStep2':_0x7bff9b(0x181),'configStep3':_0x7bff9b(0x16e),'sessionId':_0x7bff9b(0x184),'sessionIdDescription':_0x7bff9b(0x18f),'authorizationDescription':_0x7bff9b(0x177),'configParameters':_0x7bff9b(0x169),'maxRetries':_0x7bff9b(0x165),'save':_0x7bff9b(0x162),'saving':_0x7bff9b(0x16a),'note1':_0x7bff9b(0x193),'note2':_0x7bff9b(0x160),'configSaved':_0x7bff9b(0x180),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x7bff9b(0x17d),'description':_0x7bff9b(0x163),'univerAiLabel':_0x7bff9b(0x173),'getStarted':_0x7bff9b(0x166)},'validation':{'apiKeyRequired':_0x7bff9b(0x16d),'apiKeyTooShort':_0x7bff9b(0x17c),'invalidConfig':_0x7bff9b(0x192),'invalidApiKey':_0x7bff9b(0x171)},'connectionStatus':{'disconnected':_0x7bff9b(0x172),'connecting':_0x7bff9b(0x18c),'connected':_0x7bff9b(0x17f),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x7bff9b(0x18b),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x7bff9b(0x168),'maxRetriesExceeded':_0x7bff9b(0x188)}}};module[_0x7bff9b(0x189)]=e;
1
+ const _0x50c040=_0x48dd;(function(_0x5763f2,_0x1b6262){const _0x334591=_0x48dd,_0x59bd32=_0x5763f2();while(!![]){try{const _0x3ce4e9=parseInt(_0x334591(0xa5))/0x1+-parseInt(_0x334591(0xc7))/0x2+-parseInt(_0x334591(0xcd))/0x3+parseInt(_0x334591(0xb1))/0x4+parseInt(_0x334591(0xc9))/0x5*(parseInt(_0x334591(0xc4))/0x6)+-parseInt(_0x334591(0xbb))/0x7*(-parseInt(_0x334591(0xc0))/0x8)+parseInt(_0x334591(0xb2))/0x9*(-parseInt(_0x334591(0xd2))/0xa);if(_0x3ce4e9===_0x1b6262)break;else _0x59bd32['push'](_0x59bd32['shift']());}catch(_0x3efab0){_0x59bd32['push'](_0x59bd32['shift']());}}}(_0x3106,0x67e98));const e={'mcpStatus':{'disconnected':_0x50c040(0xbd),'connecting':_0x50c040(0xb0),'connected':_0x50c040(0xc2),'failed':_0x50c040(0xad),'retrying':'MCP\x20Retrying...','unknown':_0x50c040(0xa6),'unauthorized':_0x50c040(0xce),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x50c040(0xb3),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x50c040(0xb6),'clickToConfigure':_0x50c040(0xb4)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x50c040(0xc6),'apiKey':_0x50c040(0xaa),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x50c040(0xa7),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x50c040(0xcb),'mcpClientConfig':_0x50c040(0xcb),'configInstructions':_0x50c040(0xc3),'configStepTitle':_0x50c040(0xab),'configStep1':_0x50c040(0xb9),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x50c040(0xd3),'sessionId':_0x50c040(0xb5),'sessionIdDescription':_0x50c040(0xba),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x50c040(0xac),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x50c040(0xc1),'configSaved':_0x50c040(0xca),'configError':_0x50c040(0xc5),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x50c040(0xbc),'univerAiLabel':_0x50c040(0xbf),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x50c040(0xcf),'apiKeyTooShort':_0x50c040(0xcc),'invalidConfig':_0x50c040(0xae),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x50c040(0xa8),'connecting':_0x50c040(0xb7),'connected':_0x50c040(0xd1),'failed':_0x50c040(0xaf),'retrying':_0x50c040(0xb8)},'connectionError':{'unauthorized':_0x50c040(0xbe),'sessionOccupied':_0x50c040(0xd0),'networkError':_0x50c040(0xa9),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};function _0x48dd(_0x3af87e,_0x4c25ef){_0x3af87e=_0x3af87e-0xa5;const _0x31065b=_0x3106();let _0x48dd19=_0x31065b[_0x3af87e];return _0x48dd19;}function _0x3106(){const _0x12d91f=['11016CItkcY','MCP:\x20Network\x20Error','Click\x20to\x20configure\x20MCP','Session\x20ID','Click\x20to\x20connect\x20MCP','Connecting...','Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','763TODJkT','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','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Univer\x20AI\x20Console','49488OBjpyK','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','6pGyHel','Failed\x20to\x20save\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','888974IsHeww','exports','4152865cEeDWw','Configuration\x20saved\x20successfully','MCP\x20Client\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','68493gCUnSZ','MCP:\x20Unauthorized','API\x20key\x20is\x20required','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connected','15890rVZfJj','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','638762imFWex','MCP\x20Unknown\x20Status','Enable\x20Authentication','Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key','Configuration\x20Steps:','Save\x20Configuration','MCP\x20Connection\x20Failed','Invalid\x20configuration','Connection\x20Failed','MCP\x20Connecting...','2777076owqAfK'];_0x3106=function(){return _0x12d91f;};return _0x3106();}module[_0x50c040(0xc8)]=e;