@univerjs-pro/mcp-ui 0.24.0 → 0.25.0-insiders.20260608-e4336f7

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 _0x4337a2=_0xdaf6;(function(_0x300371,_0x2895ed){const _0x57ac10=_0xdaf6,_0x469fb4=_0x300371();while(!![]){try{const _0x17ad10=parseInt(_0x57ac10(0x2df))/0x1*(parseInt(_0x57ac10(0x2fb))/0x2)+-parseInt(_0x57ac10(0x1d9))/0x3*(-parseInt(_0x57ac10(0x304))/0x4)+parseInt(_0x57ac10(0x2a2))/0x5+-parseInt(_0x57ac10(0x1c7))/0x6*(parseInt(_0x57ac10(0x2e6))/0x7)+-parseInt(_0x57ac10(0x2a4))/0x8+parseInt(_0x57ac10(0x210))/0x9*(parseInt(_0x57ac10(0x28b))/0xa)+-parseInt(_0x57ac10(0x301))/0xb;if(_0x17ad10===_0x2895ed)break;else _0x469fb4['push'](_0x469fb4['shift']());}catch(_0xeb6ece){_0x469fb4['push'](_0x469fb4['shift']());}}}(_0x2564,0x61f3f),Object[_0x4337a2(0x1ce)](exports,Symbol[_0x4337a2(0x218)],{'value':'Module'}));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(_0x4ab88b){const _0x20a956=_0x4337a2;var _0x1a73e2,_0x44cf68;let {mcpCoreConfig:_0x4dc2c0,onSave:_0x31b16,loading:_0x748af4=!0x1,config:_0x3f81c6,connectionStatus$:_0x5bbf78,connectionError$:_0x40e4b0,currentApiKey$:_0x5ecb0e,currentSessionId$:_0x4aadcb}=_0x4ab88b,_0x40622e=(0x0,r['useDependency'])(e[_0x20a956(0x1fc)]),_0x3fcdb5=(0x0,r[_0x20a956(0x25b)])(_0x5bbf78,t['MCPConnectionStatus'][_0x20a956(0x2f7)]),_0x2f8cef=(0x0,r[_0x20a956(0x25b)])(_0x40e4b0,t[_0x20a956(0x22b)]['NONE']),_0x25d1a4=(0x0,r[_0x20a956(0x25b)])(_0x4aadcb,''),[_0xa0fc9d,_0x589b67]=(0x0,o[_0x20a956(0x2a7)])((0x0,r['useObservable'])(_0x5ecb0e,'')||''),_0x4f7f6e=_0x3f81c6[_0x20a956(0x2c7)]&&_0x4dc2c0[_0x20a956(0x1be)]&&(_0x4dc2c0[_0x20a956(0x1be)][_0x20a956(0x2d0)](_0x20a956(0x20f))||_0x4dc2c0[_0x20a956(0x1be)][_0x20a956(0x2d0)]('univer.ai')),_0xa32a3b=(_0x1a73e2=_0x4dc2c0[_0x20a956(0x1be)])==null?void 0x0:_0x1a73e2['includes'](_0x20a956(0x20f)),_0xe1517a=(_0x44cf68=_0x4dc2c0[_0x20a956(0x1be)])==null?void 0x0:_0x44cf68['includes'](_0x20a956(0x238)),_0x82030e=_0xa32a3b?_0x20a956(0x256):'https://console.univer.ai',_0x29c6ce=_0x3f81c6[_0x20a956(0x2c7)]&&(_0xa32a3b||_0xe1517a),[_0x371790,_0x20054b]=(0x0,o['useState'])(!_0xa0fc9d[_0x20a956(0x27c)]()),_0x539ad0=(_0x4e1ced,_0xeacb92)=>{const _0x10bd7e=_0x20a956;if(_0xeacb92===t['MCPConnectionError'][_0x10bd7e(0x25c)])return _0x10bd7e(0x27a);switch(_0x4e1ced){case t[_0x10bd7e(0x2f0)]['CONNECTED']:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case t[_0x10bd7e(0x2f0)][_0x10bd7e(0x2ca)]:case t[_0x10bd7e(0x2f0)][_0x10bd7e(0x309)]:return _0x10bd7e(0x1fe);case t[_0x10bd7e(0x2f0)][_0x10bd7e(0x2dc)]:return _0x10bd7e(0x27a);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x5393e0=(_0x33c186,_0x5363b8)=>{const _0x43cdcf=_0x20a956;if(_0x5363b8===t['MCPConnectionError'][_0x43cdcf(0x25c)])return _0x43cdcf(0x208);switch(_0x33c186){case t[_0x43cdcf(0x2f0)]['CONNECTED']:return _0x43cdcf(0x1bf);case t[_0x43cdcf(0x2f0)][_0x43cdcf(0x2ca)]:case t['MCPConnectionStatus'][_0x43cdcf(0x309)]:return _0x43cdcf(0x1ba);case t[_0x43cdcf(0x2f0)][_0x43cdcf(0x2dc)]:return'univer-bg-red-500';default:return _0x43cdcf(0x1eb);}},_0x179827=_0x58097a=>{const _0x516fed=_0x20a956;switch(_0x58097a){case t[_0x516fed(0x2f0)][_0x516fed(0x2ba)]:return _0x40622e['t']('mcpConfig.connectionStatus.connected');case t[_0x516fed(0x2f0)]['CONNECTING']:return _0x40622e['t'](_0x516fed(0x26d));case t[_0x516fed(0x2f0)][_0x516fed(0x2dc)]:return _0x40622e['t'](_0x516fed(0x1f4));case t[_0x516fed(0x2f0)][_0x516fed(0x309)]:return _0x40622e['t'](_0x516fed(0x2d2));default:return _0x40622e['t'](_0x516fed(0x26a));}},_0x5da31c=_0xc8bd7=>{const _0x4dc67e=_0x20a956;switch(_0xc8bd7){case t[_0x4dc67e(0x22b)][_0x4dc67e(0x25c)]:return _0x40622e['t']('mcpConfig.connectionError.unauthorized');case t[_0x4dc67e(0x22b)][_0x4dc67e(0x27d)]:return _0x40622e['t']('mcpConfig.connectionError.sessionOccupied');case t[_0x4dc67e(0x22b)][_0x4dc67e(0x239)]:return _0x40622e['t']('mcpConfig.connectionError.networkError');case t[_0x4dc67e(0x22b)][_0x4dc67e(0x28e)]:return _0x40622e['t'](_0x4dc67e(0x25f));default:return'';}},_0x350f42=(0x0,o['useCallback'])(()=>{_0x31b16({..._0x4dc2c0,'apiKey':_0xa0fc9d['trim'](),'enableAuth':!0x0});},[_0x4dc2c0,_0xa0fc9d,!0x0,_0x31b16]),_0x4494e4=_0xa0fc9d[_0x20a956(0x27c)]()['length']>0x0;return(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':_0x20a956(0x268),'children':[(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1c5),{'className':_0x20a956(0x1ed),'children':(0x0,s['jsxs'])(_0x20a956(0x1c5),{'className':_0x20a956(0x1ac),'children':[(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1c5),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1dc),{'className':_0x20a956(0x1b7),'children':'⚙'})}),(0x0,s['jsx'])(_0x20a956(0x1c5),{'children':(0x0,s[_0x20a956(0x2a1)])('p',{'className':_0x20a956(0x1b2),'children':_0x40622e['t']('mcpConfig.description')})})]})}),(0x0,s[_0x20a956(0x2bb)])('div',{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[(0x0,s['jsx'])('div',{'className':(0x0,n[_0x20a956(0x2e8)])(_0x20a956(0x259),_0x539ad0(_0x3fcdb5,_0x2f8cef)),'children':(0x0,s['jsxs'])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1c5),{'className':(0x0,n[_0x20a956(0x2e8)])(_0x20a956(0x232),_0x5393e0(_0x3fcdb5,_0x2f8cef))}),(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1dc),{'className':_0x20a956(0x1e2),'children':_0x179827(_0x3fcdb5)})]})}),_0x2f8cef!==t['MCPConnectionError'][_0x20a956(0x2b6)]&&(_0x3fcdb5===t[_0x20a956(0x2f0)]['FAILED']||_0x2f8cef===t['MCPConnectionError']['UNAUTHORIZED'])&&(0x0,s[_0x20a956(0x2a1)])('div',{'className':_0x20a956(0x2cc),'children':(0x0,s['jsxs'])(_0x20a956(0x1c5),{'className':_0x20a956(0x2b1),'children':[(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1dc),{'className':_0x20a956(0x303),'children':'⚠️'}),(0x0,s[_0x20a956(0x2a1)])('p',{'className':_0x20a956(0x2c3),'children':_0x5da31c(_0x2f8cef)})]})})]}),(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1c5),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':_0x20a956(0x233),'children':[(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':_0x20a956(0x23f),'children':[(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x2ac),{'className':_0x20a956(0x1f8),'children':[(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1dc),{'children':'🔑'}),'\x20',_0x40622e['t'](_0x20a956(0x1ca)),(0x0,s[_0x20a956(0x2a1)])('span',{'className':'univer-text-red-500','children':'*'}),_0x4f7f6e&&(0x0,s[_0x20a956(0x2a1)])('a',{'className':_0x20a956(0x2b5),'title':_0x40622e['t'](_0x20a956(0x1f5)),'role':'button','onClick':()=>_0x20054b(!0x0),'children':(0x0,s[_0x20a956(0x2a1)])(a[_0x20a956(0x2b3)],{})})]}),(0x0,s['jsx'])(n[_0x20a956(0x279)],{'type':_0x20a956(0x1cc),'placeholder':_0x40622e['t'](_0x20a956(0x213)),'value':_0xa0fc9d,'disabled':_0x748af4,'autoComplete':_0x20a956(0x302),'onChange':_0x589b67}),(0x0,s[_0x20a956(0x2a1)])('p',{'className':_0x20a956(0x2ad),'children':_0x40622e['t']('mcpConfig.apiKeyHint')})]}),_0x4f7f6e&&_0x371790&&(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':_0x20a956(0x2d9),'children':[(0x0,s['jsx'])('a',{'className':_0x20a956(0x21a),'role':'button','onClick':()=>_0x20054b(!0x1),'children':(0x0,s['jsx'])(a[_0x20a956(0x22f)],{'className':_0x20a956(0x22c)})}),(0x0,s['jsxs'])(_0x20a956(0x1c5),{'className':_0x20a956(0x251),'children':[(0x0,s[_0x20a956(0x2a1)])('div',{'className':_0x20a956(0x2ea),'children':(0x0,s['jsx'])('span',{'className':_0x20a956(0x25d),'children':'🚀'})}),(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':_0x20a956(0x217),'children':[(0x0,s[_0x20a956(0x2a1)])('h4',{'className':_0x20a956(0x2a6),'children':_0x40622e['t'](_0x20a956(0x1f5))}),(0x0,s[_0x20a956(0x2a1)])('p',{'className':_0x20a956(0x30f),'children':_0x40622e['t'](_0x20a956(0x2f3))}),(0x0,s['jsx'])(_0x20a956(0x1c5),{'className':_0x20a956(0x221),'children':_0x29c6ce&&(0x0,s[_0x20a956(0x2bb)])('a',{'className':_0x20a956(0x24c),'href':_0x82030e,'target':'_blank','rel':_0x20a956(0x286),'children':[(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1dc),{'children':'🤖'}),_0x40622e['t'](_0x20a956(0x22e)),(0x0,s['jsx'])(_0x20a956(0x1dc),{'className':_0x20a956(0x1cb),'children':'↗'})]})}),(0x0,s['jsxs'])(_0x20a956(0x1c5),{'className':_0x20a956(0x2af),'children':['✨','\x20',_0x40622e['t'](_0x20a956(0x2c4))]})]})]})]}),_0x3f81c6[_0x20a956(0x2c7)]&&(0x0,s['jsxs'])(_0x20a956(0x1c5),{'className':_0x20a956(0x1fa),'children':[(0x0,s[_0x20a956(0x2bb)])('h4',{'className':_0x20a956(0x30b),'children':[(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1dc),{'children':'🔗'}),'\x20',_0x40622e['t'](_0x20a956(0x1b3))]}),(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':_0x20a956(0x225),'children':[(0x0,s[_0x20a956(0x2bb)])('div',{'className':_0x20a956(0x294),'children':[(0x0,s[_0x20a956(0x2a1)])('p',{'className':_0x20a956(0x26b),'children':_0x40622e['t'](_0x20a956(0x228))}),(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':'univer-space-y-2','children':[(0x0,s['jsx'])('div',{'className':_0x20a956(0x21d),'children':_0x40622e['t'](_0x20a956(0x2e5))}),(0x0,s['jsxs'])(_0x20a956(0x1c5),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[(0x0,s['jsxs'])('div',{'className':_0x20a956(0x2b4),'children':[(0x0,s['jsx'])(_0x20a956(0x1dc),{'className':_0x20a956(0x1c2),'children':'1'}),_0x40622e['t'](_0x20a956(0x258))]}),(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':_0x20a956(0x2b4),'children':[(0x0,s['jsx'])(_0x20a956(0x1dc),{'className':_0x20a956(0x1c2),'children':'2'}),_0x40622e['t']('mcpConfig.configStep2')]}),(0x0,s[_0x20a956(0x2bb)])('div',{'className':_0x20a956(0x2b4),'children':[(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1dc),{'className':_0x20a956(0x1c2),'children':'3'}),_0x40622e['t'](_0x20a956(0x278))]})]})]})]}),(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':'univer-space-y-2','children':[(0x0,s['jsx'])('div',{'className':_0x20a956(0x21d),'children':_0x20a956(0x280)}),(0x0,s[_0x20a956(0x2a1)])('div',{'className':_0x20a956(0x272),'children':(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x261),{'className':_0x20a956(0x2ee),'children':JSON[_0x20a956(0x1f7)]({'mcpServers':{'univer':{'url':_0x20a956(0x2f4)+(_0x25d1a4||_0x20a956(0x2e3)),'type':_0x20a956(0x260),'headers':{'Authorization':_0x20a956(0x29d)+(_0xa0fc9d||_0x20a956(0x1d7))}}}},null,0x2)})})]}),(0x0,s[_0x20a956(0x2bb)])('div',{'className':_0x20a956(0x294),'children':[(0x0,s['jsx'])(_0x20a956(0x1c5),{'className':_0x20a956(0x21d),'children':_0x40622e['t'](_0x20a956(0x226))}),(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':_0x20a956(0x23f),'children':[(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':_0x20a956(0x291),'children':[(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1c5),{'className':_0x20a956(0x1e0)}),(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':_0x20a956(0x243),'children':[(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1c5),{'className':_0x20a956(0x24e),'children':_0x20a956(0x1ff)}),(0x0,s['jsx'])(_0x20a956(0x1c5),{'className':_0x20a956(0x2ad),'children':_0x40622e['t']('mcpConfig.sessionIdDescription')})]})]}),(0x0,s['jsxs'])(_0x20a956(0x1c5),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1c5),{'className':_0x20a956(0x1e0)}),(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':_0x20a956(0x243),'children':[(0x0,s[_0x20a956(0x2a1)])('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x20a956(0x2fa)}),(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1c5),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x40622e['t'](_0x20a956(0x207))})]})]})]})]})]})]}),(0x0,s['jsx'])(n['Button'],{'onClick':_0x350f42,'disabled':!_0x4494e4||_0x748af4,'className':_0x20a956(0x245),'children':_0x748af4?(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1dc),{'className':_0x20a956(0x2b4),'children':[(0x0,s[_0x20a956(0x2a1)])(_0x20a956(0x1dc),{'children':'⟲'}),_0x40622e['t'](_0x20a956(0x1ab))]}):(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1dc),{'className':_0x20a956(0x2b4),'children':[(0x0,s[_0x20a956(0x2a1)])(a[_0x20a956(0x2fe)],{}),_0x40622e['t'](_0x20a956(0x24d))]})}),(0x0,s[_0x20a956(0x2a1)])('div',{'className':_0x20a956(0x25e),'children':(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':_0x20a956(0x2f2),'children':[(0x0,s['jsx'])('span',{'className':_0x20a956(0x30e),'children':'💡'}),(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[(0x0,s[_0x20a956(0x2a1)])('div',{'className':_0x20a956(0x219),'children':_0x20a956(0x2a0)}),(0x0,s[_0x20a956(0x2bb)])(_0x20a956(0x1c5),{'children':['•',_0x40622e['t'](_0x20a956(0x2cb))]}),(0x0,s['jsxs'])(_0x20a956(0x1c5),{'children':['•',_0x40622e['t']('mcpConfig.note2')]})]})]})})]})})]});}const u=_0x4337a2(0x263),d={'showDeveloperTools':!0x1,'showStatus':!0x0};function f(_0x54ea20){'@babel/helpers - typeof';const _0xf5b200=_0x4337a2;return f=typeof Symbol=='function'&&typeof Symbol[_0xf5b200(0x1ea)]==_0xf5b200(0x2a9)?function(_0x45d486){return typeof _0x45d486;}:function(_0x436bef){const _0x4680f8=_0xf5b200;return _0x436bef&&typeof Symbol==_0x4680f8(0x2ab)&&_0x436bef[_0x4680f8(0x1e3)]===Symbol&&_0x436bef!==Symbol[_0x4680f8(0x1b1)]?_0x4680f8(0x2a9):typeof _0x436bef;},f(_0x54ea20);}function p(_0x5dd272,_0x35a662){const _0x153ae0=_0x4337a2;if(f(_0x5dd272)!=_0x153ae0(0x1d3)||!_0x5dd272)return _0x5dd272;var _0x4ce29e=_0x5dd272[Symbol[_0x153ae0(0x2b8)]];if(_0x4ce29e!==void 0x0){var _0x2182c3=_0x4ce29e[_0x153ae0(0x1e9)](_0x5dd272,_0x35a662||_0x153ae0(0x24f));if(f(_0x2182c3)!=_0x153ae0(0x1d3))return _0x2182c3;throw TypeError(_0x153ae0(0x1bc));}return(_0x35a662===_0x153ae0(0x29e)?String:Number)(_0x5dd272);}function m(_0x452f30){const _0x1e9069=_0x4337a2;var _0x5df5e9=p(_0x452f30,'string');return f(_0x5df5e9)==_0x1e9069(0x2a9)?_0x5df5e9:_0x5df5e9+'';}function h(_0x5dbedb,_0x4f9fab,_0xc44730){const _0x1b0733=_0x4337a2;return(_0x4f9fab=m(_0x4f9fab))in _0x5dbedb?Object[_0x1b0733(0x1ce)](_0x5dbedb,_0x4f9fab,{'value':_0xc44730,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5dbedb[_0x4f9fab]=_0xc44730,_0x5dbedb;}function g(_0x2324f2,_0x58e9c4){return function(_0xec8943,_0x52ca5d){_0x58e9c4(_0xec8943,_0x52ca5d,_0x2324f2);};}function _0x2564(){const _0x422f98=['Univer\x20AI\x20Console','API\x20Key','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','配置更改将立即生效','univer-text-sm\x20univer-font-medium','constructor','MCPConnectionUIController','已连接','_dialogService','会话\x20ID\x20已被占用,请稍后再试','_menuManagerService','call','iterator','univer-bg-gray-500','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','bottom','IMessageService','getItem','MCP\x20配置','_commandService','useCallback','mcpConfig.connectionStatus.failed','mcpConfig.apiApplyInfo.title','MCP:\x20会话\x20ID\x20已被占用','stringify','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','mcp-config-dialog','LocaleService','_handleConfigSave','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer_session_id:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCPUIMenuController','网络连接错误,请检查您的网络连接','_registerComponent','showStatus','isValid','value','mcpConfig.authorizationDescription','univer-bg-red-500','close','univer-mr-2\x20univer-flex\x20univer-text-xl','showConfigPanel','Session\x20ID','mcpStatus.disconnected','配置保存失败','univer.plus','774WAxcvI','MCPConnectionController','Copy\x20the\x20JSON\x20configuration\x20below','mcpConfig.apiKeyPlaceholder','mcpConfig.validation.invalidApiKey','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','会话ID','univer-flex-1','toStringTag','univer-font-medium','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','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','最大重试次数','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','连接失败','_mcpCoreConfig$','mcpConfig.validation.apiKeyTooShort','univer-flex\x20univer-flex-wrap\x20univer-gap-2','IConfigService','未连接','MCP:\x20未授权','univer-space-y-4','mcpConfig.configParameters','API\x20密钥不能为空','mcpConfig.configInstructions','registerComponent','IUIPartsService','MCPConnectionError','univer-size-4','apiKey','mcpConfig.apiApplyInfo.univerAiLabel','CloseIcon','配置参数:','MCPConfigPanel','univer-size-2\x20univer-rounded-full','univer-space-y-5','version','CommandType','push','配置保存成功','univer.ai','NETWORK_ERROR','MCP\x20已连接','BuiltInUIPart','ICommandService','setItem','validateApiKey','univer-space-y-2','几秒钟内获取您的\x20API\x20密钥','univer-text-gray-500','_config','univer-min-w-0\x20univer-flex-1','连接中...','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','UniverMCPPlugin','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpStatus.connected','MCP\x20Disconnected','BehaviorSubject','MCPConfigUIController','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','mcpConfig.save','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','default','重连中...','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','_injector','ISocketService','保存中...','Disconnected','https://console.univer.plus','mcpConfig.configSaved','mcpConfig.configStep1','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','length','useObservable','UNAUTHORIZED','univer-text-blue-600','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpConfig.connectionError.maxRetriesExceeded','http','pre','_initAutoConnect','mcp-ui.config','mcp.apiKey','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','useDependency','_initStatusComponent','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','mcpConfig.connectionStatus.disconnected','univer-text-xs\x20univer-text-gray-600','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpConfig.connectionStatus.connecting','_config$','超出最大重试次数,请稍后再试','API\x20密钥无效,请检查密钥是否正确','Configuration\x20saved\x20successfully','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','IDialogService','connectInjector','_initializeMenus','_messageService','ComponentManager','mcpConfig.configStep3','Input','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','getConfig','trim','SESSION_ID_OCCUPIED','mergeMenu','UniverMCPUIPlugin','MCP\x20Configuration','Enter\x20your\x20API\x20key','OffLineIcon','Connecting...','@univerjs-pro/mcp-ui','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','noopener\x20noreferrer','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Disposable','setConfig','启用身份验证','46070sVUHFf','_logService','MCP\x20Client\x20Configuration','MAX_RETRIES_EXCEEDED','removeItem','subscribeConfigValue$','univer-flex\x20univer-items-start\x20univer-gap-3','registerCommand','MCP:\x20网络错误','univer-space-y-3','0.25.0-insiders.20260608-e4336f7','_uiPartsService','__setCustomHeaders','MCP\x20重连中...','API\x20key\x20is\x20required','API\x20密钥长度至少需要\x2010\x20位','MCP\x20Connecting...','mcpConfig.validation.invalidConfig','Bearer\x20','string','has','Configuration\x20Notes:','jsx','2725275pENkWn','MCP\x20连接失败','2670984rjcZRH','decorate','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','useState','What\x20is\x20API\x20Key?','symbol','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','function','label','univer-text-xs\x20univer-text-gray-500','connectionError$','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-text-green-500','univer-flex\x20univer-items-start\x20univer-gap-2','mcpStatus.connecting','HelpIcon','univer-flex\x20univer-items-center\x20univer-gap-2','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','NONE','_localStorageService','toPrimitive','COMMAND','CONNECTED','jsxs','配置无效','MCP\x20Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','MCP_UI_PLUGIN','enableAutoConnect','Connected','_loadStoredApiKey','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','mcpConfig.apiApplyInfo.getStarted','next','Connection\x20Failed','showDeveloperTools','_mcpConnectionController','subscribe','CONNECTING','mcpConfig.note1','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpStatus.sessionOccupied','disposeWithMe','\x20-\x20','includes','Inject','mcpConfig.connectionStatus.retrying','Enable\x20Authentication','merge','_initConfigSync','errorMessage','将配置添加到您的\x20MCP\x20客户端设置文件中','button','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','配置\x20MCP\x20使用\x20AI\x20操作电子表格','复制以下\x20JSON\x20配置','FAILED','_connectionController','启用身份验证以获得安全连接','1144zqijad','MCP\x20Unknown\x20Status','MCP\x20已断开','MCP\x20状态未知','<SESSION_ID>','error','mcpConfig.configStepTitle','259rINFmT','_createConfigPanelComponent','clsx','OnLineIcon','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','RibbonStartGroup','MCPStatusDisplay','MCP:\x20Max\x20Retries\x20Exceeded','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Univer\x20AI\x20控制台','MCPConnectionStatus','配置步骤:','univer-flex\x20univer-gap-3','mcpConfig.apiApplyInfo.description','https://mcp.univer.ai/mcp/?univer_session_id=','Invalid\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','DISCONNECTED','Configuration\x20Steps:','Failed\x20to\x20save\x20configuration','Authorization:','466eEmyQu','Injector','_handleConfigure','CheckMarkIcon','connectionStatus$','OTHERS','7192790tYzYvd','off','univer-shrink-0\x20univer-text-red-500','40uQDpcQ','WebSocketService','MCP_PLUGIN_CONFIG_KEY','_apiKey$','MCP\x20Connected','RETRYING','show','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','get','enUS','univer-shrink-0\x20univer-text-blue-500','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','getOwnPropertyDescriptor','_initializeCommands','mcpConfig.saving','univer-flex\x20univer-items-center\x20univer-gap-3','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','ILocalStorageService','_localeService','warn','prototype','univer-text-sm\x20univer-text-gray-500','mcpConfig.connectionInfo','Plugin','mcpStatus.maxRetriesExceeded','点击配置\x20MCP','univer-text-white','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.configError','univer-bg-blue-500','MessageType','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','MCP\x20连接中...','mcpServerUrl','univer-bg-green-500','点击连接\x20MCP','_loading$','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','_validateConfig','Error','div','\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','22158TYPZOd','open','_configService','mcpConfig.apiKey','univer-text-gray-400','text','forEach','defineProperty','ILogService','mcp-ui.command.openConfigPanel','Configuration\x20Parameters:','MCP\x20客户端配置','object','mcpConfig.title','Click\x20to\x20connect\x20MCP','onStarting','<API_KEY>','Click\x20to\x20configure\x20MCP','95343JrOkpf','保存配置','OpenMCPConfigPanelCommand','span','您的\x20API\x20密钥安全存储在本地存储中'];_0x2564=function(){return _0x422f98;};return _0x2564();}function _(_0x582ac1,_0x3416d4,_0x1527a1,_0x3c43bd){const _0x1b7e0e=_0x4337a2;var _0x30be5c=arguments[_0x1b7e0e(0x25a)],_0x721422=_0x30be5c<0x3?_0x3416d4:_0x3c43bd===null?_0x3c43bd=Object[_0x1b7e0e(0x310)](_0x3416d4,_0x1527a1):_0x3c43bd,_0x3ac888;if(typeof Reflect==_0x1b7e0e(0x1d3)&&typeof Reflect[_0x1b7e0e(0x2a5)]==_0x1b7e0e(0x2ab))_0x721422=Reflect[_0x1b7e0e(0x2a5)](_0x582ac1,_0x3416d4,_0x1527a1,_0x3c43bd);else{for(var _0x4f9580=_0x582ac1['length']-0x1;_0x4f9580>=0x0;_0x4f9580--)(_0x3ac888=_0x582ac1[_0x4f9580])&&(_0x721422=(_0x30be5c<0x3?_0x3ac888(_0x721422):_0x30be5c>0x3?_0x3ac888(_0x3416d4,_0x1527a1,_0x721422):_0x3ac888(_0x3416d4,_0x1527a1))||_0x721422);}return _0x30be5c>0x3&&_0x721422&&Object['defineProperty'](_0x3416d4,_0x1527a1,_0x721422),_0x721422;}const v=_0x4337a2(0x264),y=_0x4337a2(0x1fb);let b=class extends e['Disposable']{constructor(_0x52779c,_0x1c5986,_0x59b43f,_0x19c224,_0x23c1e1,_0x1160c5,_0x534c95,_0x3a6016,_0x57c00c,_0x1cb51f){const _0x173b8e=_0x4337a2;super(),this[_0x173b8e(0x252)]=_0x52779c,this[_0x173b8e(0x296)]=_0x1c5986,this[_0x173b8e(0x1c9)]=_0x59b43f,this[_0x173b8e(0x2b7)]=_0x19c224,this[_0x173b8e(0x1e6)]=_0x23c1e1,this[_0x173b8e(0x276)]=_0x1160c5,this['_componentManager']=_0x534c95,this['_localeService']=_0x3a6016,this[_0x173b8e(0x28c)]=_0x57c00c,this[_0x173b8e(0x2c8)]=_0x1cb51f,h(this,_0x173b8e(0x1c1),new i[(_0x173b8e(0x24a))](!0x1)),h(this,_0x173b8e(0x21f),new i[(_0x173b8e(0x24a))]({})),h(this,_0x173b8e(0x26e),new i[(_0x173b8e(0x24a))]({})),h(this,_0x173b8e(0x307),new i['BehaviorSubject']('')),h(this,_0x173b8e(0x1fd),async _0x1db8de=>{const _0x4eb34b=_0x173b8e;this[_0x4eb34b(0x1c1)][_0x4eb34b(0x2c5)](!0x0);try{var _0x76c077,_0x3e4397;let _0x24d49f=await this[_0x4eb34b(0x1c3)](_0x1db8de);if(!_0x24d49f[_0x4eb34b(0x205)]){this[_0x4eb34b(0x276)][_0x4eb34b(0x30a)]({'type':n[_0x4eb34b(0x1bb)][_0x4eb34b(0x1c4)],'content':_0x24d49f[_0x4eb34b(0x2d6)]||this[_0x4eb34b(0x1af)]['t'](_0x4eb34b(0x29c))});return;}_0x1db8de[_0x4eb34b(0x22d)]?await this['_localStorageService'][_0x4eb34b(0x23d)](v,_0x1db8de['apiKey'][_0x4eb34b(0x27c)]()):await this[_0x4eb34b(0x2b7)][_0x4eb34b(0x28f)](v),this['_apiKey$'][_0x4eb34b(0x2c5)](((_0x76c077=_0x1db8de['apiKey'])==null?void 0x0:_0x76c077[_0x4eb34b(0x27c)]())||''),this['_mcpConnectionController'][_0x4eb34b(0x297)]({'Authorization':_0x4eb34b(0x29d)+((_0x3e4397=_0x1db8de[_0x4eb34b(0x22d)])==null?void 0x0:_0x3e4397[_0x4eb34b(0x27c)]())}),this[_0x4eb34b(0x276)][_0x4eb34b(0x30a)]({'type':n[_0x4eb34b(0x1bb)]['Success'],'content':this[_0x4eb34b(0x1af)]['t'](_0x4eb34b(0x257))}),setTimeout(()=>{const _0x5c7ebd=_0x4eb34b;this[_0x5c7ebd(0x1e6)][_0x5c7ebd(0x209)](y);},0x320);}catch(_0x158ed0){this[_0x4eb34b(0x28c)][_0x4eb34b(0x2e4)](_0x4eb34b(0x1ec),_0x158ed0),this[_0x4eb34b(0x276)]['show']({'type':n[_0x4eb34b(0x1bb)]['Error'],'content':this['_localeService']['t'](_0x4eb34b(0x1b9))});}finally{this[_0x4eb34b(0x1c1)][_0x4eb34b(0x2c5)](!0x1);}}),this[_0x173b8e(0x2d5)](),this[_0x173b8e(0x2c2)](),this[_0x173b8e(0x203)]();}[_0x4337a2(0x20b)](){const _0x387e1c=_0x4337a2;let _0x365652=this['_configService'][_0x387e1c(0x27b)](u);_0x365652!=null&&_0x365652[_0x387e1c(0x2c7)]&&this[_0x387e1c(0x1e6)][_0x387e1c(0x1c8)]({'id':y,'title':{'title':this[_0x387e1c(0x1af)]['t'](_0x387e1c(0x1d4))},'children':{'label':_0x387e1c(0x231)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3b6426=_0x387e1c;this['_dialogService'][_0x3b6426(0x209)](y);}});}['getCurrentConfig'](){return this['_mcpCoreConfig$']['value'];}['_registerComponent'](){const _0x347aa3=_0x4337a2;this[_0x347aa3(0x2ce)](this['_componentManager']['register'](_0x347aa3(0x231),this[_0x347aa3(0x2e7)]()));}[_0x4337a2(0x2e7)](){const _0xd6aab=_0x4337a2;return(0x0,r[_0xd6aab(0x274)])(()=>{const _0x171f69=_0xd6aab;var _0x4f0970,_0x2b5d2a,_0x39d787;return(0x0,s[_0x171f69(0x2a1)])(l,{'config':this[_0x171f69(0x26e)][_0x171f69(0x206)],'mcpCoreConfig':this[_0x171f69(0x21f)][_0x171f69(0x206)],'currentApiKey$':this[_0x171f69(0x307)],'onSave':this[_0x171f69(0x1fd)],'loading':this[_0x171f69(0x1c1)][_0x171f69(0x206)],'connectionStatus$':(_0x4f0970=this['_mcpConnectionController'])==null?void 0x0:_0x4f0970[_0x171f69(0x2ff)],'connectionError$':(_0x2b5d2a=this[_0x171f69(0x2c8)])==null?void 0x0:_0x2b5d2a[_0x171f69(0x2ae)],'currentSessionId$':(_0x39d787=this[_0x171f69(0x2c8)])==null?void 0x0:_0x39d787['sessionId$']});},this['_injector']);}['_initConfigSync'](){const _0x5805e=_0x4337a2;this[_0x5805e(0x2ce)](this['_configService'][_0x5805e(0x290)](t[_0x5805e(0x306)])[_0x5805e(0x2c9)](_0x21026a=>{const _0x1b7c50=_0x5805e;this[_0x1b7c50(0x21f)][_0x1b7c50(0x2c5)](_0x21026a||{});}));let _0xadb77e=this[_0x5805e(0x1c9)][_0x5805e(0x27b)](t[_0x5805e(0x306)]);this['_mcpCoreConfig$'][_0x5805e(0x2c5)](_0xadb77e||{}),this[_0x5805e(0x2ce)](this[_0x5805e(0x1c9)][_0x5805e(0x290)](u)[_0x5805e(0x2c9)](_0x3a5375=>{const _0x312900=_0x5805e;this[_0x312900(0x26e)][_0x312900(0x2c5)](_0x3a5375||{});}));let _0x3a4010=this[_0x5805e(0x1c9)]['getConfig'](u);this['_config$']['next'](_0x3a4010||{});}async[_0x4337a2(0x2c2)](){const _0x36411e=_0x4337a2;let _0x46a8b1=this[_0x36411e(0x1c9)][_0x36411e(0x27b)](u);if(!(_0x46a8b1!=null&&_0x46a8b1[_0x36411e(0x2c7)]))return;let _0x1c35eb=await this[_0x36411e(0x2b7)][_0x36411e(0x1f0)](v);_0x1c35eb&&(this[_0x36411e(0x2c8)][_0x36411e(0x297)]({'Authorization':'Bearer\x20'+_0x1c35eb}),this[_0x36411e(0x307)][_0x36411e(0x2c5)](_0x1c35eb));}async[_0x4337a2(0x1c3)](_0x4a52ba){const _0x1a0335=_0x4337a2;if(!_0x4a52ba['apiKey']||_0x4a52ba[_0x1a0335(0x22d)]['trim']()[_0x1a0335(0x25a)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x1a0335(0x1af)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x4a52ba[_0x1a0335(0x22d)][_0x1a0335(0x27c)]()[_0x1a0335(0x25a)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x1a0335(0x1af)]['t'](_0x1a0335(0x220))};try{let _0x1981b4=await this[_0x1a0335(0x252)][_0x1a0335(0x30c)](t[_0x1a0335(0x211)])[_0x1a0335(0x23e)](_0x4a52ba[_0x1a0335(0x22d)]['trim']());return _0x1981b4[_0x1a0335(0x205)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x1981b4[_0x1a0335(0x2e4)]||this['_localeService']['t'](_0x1a0335(0x214))};}catch(_0xf3cfe8){return console[_0x1a0335(0x1b0)](_0x1a0335(0x21b),_0xf3cfe8),{'isValid':!0x0};}}};b=_([g(0x0,(0x0,e[_0x4337a2(0x2d1)])(e[_0x4337a2(0x2fc)])),g(0x1,r[_0x4337a2(0x22a)]),g(0x2,e['IConfigService']),g(0x3,e[_0x4337a2(0x1ae)]),g(0x4,r[_0x4337a2(0x273)]),g(0x5,r[_0x4337a2(0x1ef)]),g(0x6,(0x0,e[_0x4337a2(0x2d1)])(r[_0x4337a2(0x277)])),g(0x7,(0x0,e[_0x4337a2(0x2d1)])(e[_0x4337a2(0x1fc)])),g(0x8,e[_0x4337a2(0x1cf)]),g(0x9,(0x0,e[_0x4337a2(0x2d1)])(t[_0x4337a2(0x211)]))],b);function _0xdaf6(_0x5d706f,_0x4f186b){_0x5d706f=_0x5d706f-0x1aa;const _0x2564fa=_0x2564();let _0xdaf61c=_0x2564fa[_0x5d706f];return _0xdaf61c;}const x={'id':_0x4337a2(0x1d0),'type':e[_0x4337a2(0x235)][_0x4337a2(0x2b9)],'handler':async(_0x5aa89b,_0x19cecd)=>(_0x5aa89b[_0x4337a2(0x30c)](b)['showConfigPanel'](),!0x0)};function S(_0x5a77a1,_0x54ff32){const _0x57a3fb=_0x4337a2;switch(_0x5a77a1){case t[_0x57a3fb(0x2f0)]['DISCONNECTED']:return _0x57a3fb(0x20d);case t[_0x57a3fb(0x2f0)][_0x57a3fb(0x2ca)]:return _0x57a3fb(0x2b2);case t[_0x57a3fb(0x2f0)]['CONNECTED']:return _0x57a3fb(0x248);case t[_0x57a3fb(0x2f0)]['FAILED']:switch(_0x54ff32){case t[_0x57a3fb(0x22b)][_0x57a3fb(0x25c)]:return'mcpStatus.unauthorized';case t[_0x57a3fb(0x22b)][_0x57a3fb(0x27d)]:return _0x57a3fb(0x2cd);case t[_0x57a3fb(0x22b)][_0x57a3fb(0x239)]:return'mcpStatus.networkError';case t['MCPConnectionError'][_0x57a3fb(0x28e)]:return _0x57a3fb(0x1b5);default:return'mcpStatus.failed';}case t[_0x57a3fb(0x2f0)][_0x57a3fb(0x309)]:return'mcpStatus.retrying';default:return'mcpStatus.unknown';}}function C(_0x4b2148,_0x5b31ed,_0x584703,_0xac9183=!0x0){const _0x56cf3b=_0x4337a2;let _0x4ce097=S(_0x4b2148,_0x5b31ed),_0x26046e=_0x584703['t'](_0x4ce097);return _0xac9183?_0x4b2148===t[_0x56cf3b(0x2f0)][_0x56cf3b(0x2f7)]&&_0x5b31ed===t[_0x56cf3b(0x22b)][_0x56cf3b(0x25c)]?_0x26046e+_0x56cf3b(0x2cf)+_0x584703['t']('mcpStatus.clickToConfigure'):_0x4b2148===t['MCPConnectionStatus']['CONNECTED']?''+_0x26046e:_0x4b2148===t[_0x56cf3b(0x2f0)][_0x56cf3b(0x2f7)]||_0x4b2148===t[_0x56cf3b(0x2f0)][_0x56cf3b(0x2dc)]?_0x26046e+_0x56cf3b(0x2cf)+_0x584703['t']('mcpStatus.clickToConnect'):_0x26046e:_0x26046e;}function w(_0x142a77){const _0x2736d8=_0x4337a2;switch(_0x142a77){case t[_0x2736d8(0x2f0)][_0x2736d8(0x2ba)]:return _0x2736d8(0x2b0);case t['MCPConnectionStatus']['CONNECTING']:case t[_0x2736d8(0x2f0)][_0x2736d8(0x309)]:return'univer-text-yellow-500';case t['MCPConnectionStatus'][_0x2736d8(0x2dc)]:case t[_0x2736d8(0x2f0)][_0x2736d8(0x2f7)]:return'univer-text-red-500';default:return _0x2736d8(0x241);}}function T(_0x188091){const _0x585598=_0x4337a2;let {status$:_0x463942,error$:_0x3d9c8f,onConfigure:_0x3106b2,showClickable:_0x1fcf49=!0x0}=_0x188091,_0x33000b=(0x0,r[_0x585598(0x25b)])(_0x463942,t['MCPConnectionStatus'][_0x585598(0x2f7)]),_0x35d21f=(0x0,r[_0x585598(0x25b)])(_0x3d9c8f,t[_0x585598(0x22b)][_0x585598(0x2b6)]),_0x31307b=(0x0,r[_0x585598(0x266)])(e[_0x585598(0x1fc)]),_0x1ee5cb=_0x33000b===t[_0x585598(0x2f0)][_0x585598(0x2ba)];_0x33000b===t[_0x585598(0x2f0)][_0x585598(0x2ca)]||t['MCPConnectionStatus']['RETRYING'];let _0x17c1a=_0x31307b['t'](S(_0x33000b,_0x35d21f)),_0x6be4ee=C(_0x33000b,_0x35d21f,_0x31307b,_0x1fcf49),_0x11cdbd=w(_0x33000b),_0x3f8ebb=_0x1ee5cb?(0x0,s['jsx'])(a[_0x585598(0x2e9)],{}):(0x0,s[_0x585598(0x2a1)])(a[_0x585598(0x282)],{}),_0x3994be=(0x0,o[_0x585598(0x1f3)])(()=>{_0x1fcf49&&_0x3106b2&&_0x3106b2();},[_0x1fcf49,_0x3106b2]);function _0x264f9f(){const _0x3b4ea3=_0x585598;return(0x0,s['jsxs'])('div',{'className':(0x0,n[_0x3b4ea3(0x2e8)])('univer-flex\x20univer-items-center',_0x1fcf49&&_0x3106b2&&_0x3b4ea3(0x1c6)),'role':_0x3b4ea3(0x2d8),'onClick':_0x1fcf49&&_0x3106b2?_0x3994be:void 0x0,'children':[(0x0,s[_0x3b4ea3(0x2a1)])('div',{'className':(0x0,n[_0x3b4ea3(0x2e8)])(_0x3b4ea3(0x20a),_0x11cdbd),'children':_0x3f8ebb}),(0x0,s[_0x3b4ea3(0x2a1)])('div',{'className':_0x3b4ea3(0x215),'children':_0x17c1a})]});}return(0x0,s[_0x585598(0x2a1)])(n['Tooltip'],{'title':_0x6be4ee,'placement':_0x585598(0x1ee),'children':_0x264f9f()});}let E=class extends e[_0x4337a2(0x288)]{constructor(_0xe9ce49,_0x16c550,_0x189e0f,_0x382e17){const _0x4485d1=_0x4337a2;super(),this['_injector']=_0xe9ce49,this[_0x4485d1(0x2dd)]=_0x16c550,this[_0x4485d1(0x296)]=_0x189e0f,this[_0x4485d1(0x1c9)]=_0x382e17,this[_0x4485d1(0x262)](),this['_initStatusComponent']();}['_initAutoConnect'](){const _0xef090=_0x4337a2;let _0x26e0ce=this[_0xef090(0x1c9)][_0xef090(0x27b)](u);_0x26e0ce!=null&&_0x26e0ce['showDeveloperTools']&&(this['_connectionController'][_0xef090(0x2c0)]=!0x1);}[_0x4337a2(0x267)](){const _0x40322b=_0x4337a2;let _0x48e714=this[_0x40322b(0x1c9)]['getConfig'](u);(_0x48e714==null?void 0x0:_0x48e714[_0x40322b(0x204)])!==!0x1&&this[_0x40322b(0x2ce)](this[_0x40322b(0x296)][_0x40322b(0x229)](r[_0x40322b(0x23b)]['HEADER_MENU'],()=>{const _0x24ea85=_0x40322b;var _0x443705;return(0x0,r['connectInjector'])(D({'status$':this[_0x24ea85(0x2dd)][_0x24ea85(0x2ff)],'error$':this[_0x24ea85(0x2dd)][_0x24ea85(0x2ae)],'onConfigure':()=>this[_0x24ea85(0x2fd)](),'showClickable':(_0x443705=_0x48e714==null?void 0x0:_0x48e714[_0x24ea85(0x2c7)])==null?!0x1:_0x443705}),this[_0x24ea85(0x252)]);}));}['_handleConfigure'](){const _0x106e46=_0x4337a2;this[_0x106e46(0x252)][_0x106e46(0x30c)](b)[_0x106e46(0x20b)]();}};E=_([g(0x0,(0x0,e[_0x4337a2(0x2d1)])(e['Injector'])),g(0x1,(0x0,e['Inject'])(t[_0x4337a2(0x211)])),g(0x2,r[_0x4337a2(0x22a)]),g(0x3,e[_0x4337a2(0x222)])],E);function D(_0x19b3ac){let {status$:_0x3a1f22,error$:_0x2e6b6d,onConfigure:_0x12e1b7,showClickable:_0x2c7cd7}=_0x19b3ac;return function(){const _0x11c7bb=_0xdaf6;return(0x0,s[_0x11c7bb(0x2a1)])(T,{'status$':_0x3a1f22,'error$':_0x2e6b6d,'onConfigure':_0x12e1b7,'showClickable':_0x2c7cd7});};}function O(_0x823d1d){const _0x16fde3=_0x4337a2;return{'id':x['id'],'type':r['MenuItemType']['BUTTON'],'icon':'MenuIcon','title':_0x16fde3(0x1d4),'tooltip':_0x16fde3(0x1d4)};}const k={[r[_0x4337a2(0x2eb)][_0x4337a2(0x300)]]:{[x['id']]:{'order':0xa,'menuItemFactory':O}}};let A=class extends e['Disposable']{constructor(_0x1c027d,_0x47c9f4){const _0x1d8b14=_0x4337a2;super(),this['_commandService']=_0x1c027d,this[_0x1d8b14(0x1e8)]=_0x47c9f4,this[_0x1d8b14(0x1aa)](),this[_0x1d8b14(0x275)]();}[_0x4337a2(0x1aa)](){const _0x1a4f8a=_0x4337a2;[x][_0x1a4f8a(0x1cd)](_0x21b920=>{const _0x2dc8b5=_0x1a4f8a;this['disposeWithMe'](this[_0x2dc8b5(0x1f2)][_0x2dc8b5(0x292)](_0x21b920));});}['_initializeMenus'](){const _0x35be71=_0x4337a2;this[_0x35be71(0x1e8)][_0x35be71(0x27e)](k);}};A=_([g(0x0,e[_0x4337a2(0x23c)]),g(0x1,r['IMenuManagerService'])],A);const j={'mcpStatus':{'disconnected':_0x4337a2(0x249),'connecting':_0x4337a2(0x29b),'connected':_0x4337a2(0x308),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4337a2(0x2bd),'unknown':_0x4337a2(0x2e0),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x4337a2(0x2ed),'clickToConnect':_0x4337a2(0x1d5),'clickToConfigure':_0x4337a2(0x1d8)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4337a2(0x285),'apiKey':_0x4337a2(0x1df),'apiKeyPlaceholder':_0x4337a2(0x281),'apiKeyHint':_0x4337a2(0x1ad),'enableAuth':_0x4337a2(0x2d3),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x4337a2(0x28d),'mcpClientConfig':_0x4337a2(0x28d),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x4337a2(0x2f8),'configStep1':_0x4337a2(0x212),'configStep2':_0x4337a2(0x269),'configStep3':_0x4337a2(0x2aa),'sessionId':_0x4337a2(0x20c),'sessionIdDescription':_0x4337a2(0x200),'authorizationDescription':_0x4337a2(0x2be),'configParameters':_0x4337a2(0x1d1),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x4337a2(0x247),'configSaved':_0x4337a2(0x271),'configError':_0x4337a2(0x2f9),'apiApplyInfo':{'title':_0x4337a2(0x2a8),'description':_0x4337a2(0x1b8),'univerAiLabel':_0x4337a2(0x1de),'getStarted':_0x4337a2(0x2f6)},'validation':{'apiKeyRequired':_0x4337a2(0x299),'apiKeyTooShort':_0x4337a2(0x265),'invalidConfig':_0x4337a2(0x2f5),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4337a2(0x255),'connecting':_0x4337a2(0x283),'connected':_0x4337a2(0x2c1),'failed':_0x4337a2(0x2c6),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x4337a2(0x1f9),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},M={'mcpStatus':{'disconnected':_0x4337a2(0x2e1),'connecting':_0x4337a2(0x1bd),'connected':_0x4337a2(0x23a),'failed':_0x4337a2(0x2a3),'retrying':_0x4337a2(0x298),'unknown':_0x4337a2(0x2e2),'unauthorized':_0x4337a2(0x224),'sessionOccupied':_0x4337a2(0x1f6),'networkError':_0x4337a2(0x293),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x4337a2(0x1c0),'clickToConfigure':_0x4337a2(0x1b6)},'mcpConfig':{'title':_0x4337a2(0x1f1),'description':_0x4337a2(0x2da),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x4337a2(0x28a),'enableAuthHint':_0x4337a2(0x2de),'connectionInfo':_0x4337a2(0x1d2),'mcpClientConfig':_0x4337a2(0x1d2),'configInstructions':_0x4337a2(0x26c),'configStepTitle':_0x4337a2(0x2f1),'configStep1':_0x4337a2(0x2db),'configStep2':_0x4337a2(0x2d7),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x4337a2(0x216),'sessionIdDescription':_0x4337a2(0x287),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x4337a2(0x230),'maxRetries':_0x4337a2(0x21c),'save':_0x4337a2(0x1da),'saving':_0x4337a2(0x254),'note1':_0x4337a2(0x1e1),'note2':_0x4337a2(0x1dd),'configSaved':_0x4337a2(0x237),'configError':_0x4337a2(0x20e),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x4337a2(0x2ef),'getStarted':_0x4337a2(0x240)},'validation':{'apiKeyRequired':_0x4337a2(0x227),'apiKeyTooShort':_0x4337a2(0x29a),'invalidConfig':_0x4337a2(0x2bc),'invalidApiKey':_0x4337a2(0x270)},'connectionStatus':{'disconnected':_0x4337a2(0x223),'connecting':_0x4337a2(0x244),'connected':_0x4337a2(0x1e5),'failed':_0x4337a2(0x21e),'retrying':_0x4337a2(0x250)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x4337a2(0x1e7),'networkError':_0x4337a2(0x202),'maxRetriesExceeded':_0x4337a2(0x26f)}}};var N=_0x4337a2(0x284),P=_0x4337a2(0x295);let F=class extends e[_0x4337a2(0x1b4)]{constructor(_0x3ed2bc=d,_0x3f289a,_0xa4cf60,_0x554d5b,_0x553f7f,_0x5e491b){const _0x1977f6=_0x4337a2;super(),this[_0x1977f6(0x242)]=_0x3ed2bc,this[_0x1977f6(0x252)]=_0x3f289a,this[_0x1977f6(0x1c9)]=_0xa4cf60,this[_0x1977f6(0x296)]=_0x554d5b,this[_0x1977f6(0x2b7)]=_0x553f7f,this['_localeService']=_0x5e491b;let {..._0x171b95}=(0x0,e[_0x1977f6(0x2d4)])({},d,this[_0x1977f6(0x242)]);this['_configService'][_0x1977f6(0x289)](u,_0x171b95);}async[_0x4337a2(0x1d6)](){const _0x355c85=_0x4337a2;let _0xb1a969=[[E],[b],[A]];this[_0x355c85(0x252)][_0x355c85(0x29f)](c[_0x355c85(0x253)])||_0xb1a969[_0x355c85(0x236)]([c[_0x355c85(0x253)],{'useClass':c[_0x355c85(0x305)]}]),_0xb1a969['forEach'](_0x543d2d=>this[_0x355c85(0x252)]['add'](_0x543d2d)),this[_0x355c85(0x252)]['get'](E),this[_0x355c85(0x252)]['get'](b),this[_0x355c85(0x252)][_0x355c85(0x30c)](A);}};h(F,'pluginName',_0x4337a2(0x2bf)),h(F,'packageName',N),h(F,_0x4337a2(0x234),P),F=_([(0x0,e['DependentOn'])(t[_0x4337a2(0x246)]),g(0x1,(0x0,e['Inject'])(e['Injector'])),g(0x2,e[_0x4337a2(0x222)]),g(0x3,r[_0x4337a2(0x22a)]),g(0x4,e[_0x4337a2(0x1ae)]),g(0x5,(0x0,e['Inject'])(e[_0x4337a2(0x1fc)]))],F),exports[_0x4337a2(0x231)]=l,Object[_0x4337a2(0x1ce)](exports,_0x4337a2(0x24b),{'enumerable':!0x0,'get':function(){return b;}}),Object[_0x4337a2(0x1ce)](exports,_0x4337a2(0x1e4),{'enumerable':!0x0,'get':function(){return E;}}),exports[_0x4337a2(0x2ec)]=T,Object[_0x4337a2(0x1ce)](exports,_0x4337a2(0x201),{'enumerable':!0x0,'get':function(){return A;}}),exports[_0x4337a2(0x1db)]=x,Object[_0x4337a2(0x1ce)](exports,_0x4337a2(0x27f),{'enumerable':!0x0,'get':function(){return F;}}),exports[_0x4337a2(0x30d)]=j,exports['zhCN']=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 _0x527c66=_0x3738;function _0x47b9(){const _0x4d9bae=['903035yrvMTz','Failed\x20to\x20save\x20configuration','API\x20Key','MCP\x20Connecting...','Saving...','MCP:\x20Unauthorized','Enable\x20authentication\x20for\x20secure\x20connections','exports','Connected','50eLmZqE','Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Steps:','MCP\x20Connected','997060fYiAfX','Copy\x20the\x20JSON\x20configuration\x20below','API\x20key\x20is\x20required','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session\x20ID','16LODZxO','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Retrying...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','Enter\x20your\x20API\x20key','4ZsaAMS','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Unknown\x20Status','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Client\x20Configuration','6418182HAzpZZ','Invalid\x20configuration','Save\x20Configuration','Retrying...','MCP:\x20Network\x20Error','438TPsCiM','4141143nAMQkQ','Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20saved\x20successfully','9192865jyMqFx','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\x20Configuration','9409001YCZFDd','Click\x20to\x20configure\x20MCP','Enable\x20Authentication','Click\x20to\x20connect\x20MCP','MCP\x20Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Parameters:','17596sVYnLm','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'];_0x47b9=function(){return _0x4d9bae;};return _0x47b9();}(function(_0x494817,_0x28389d){const _0x4fdf20=_0x3738,_0x2675f6=_0x494817();while(!![]){try{const _0x511571=parseInt(_0x4fdf20(0x15b))/0x1+parseInt(_0x4fdf20(0x149))/0x2*(-parseInt(_0x4fdf20(0x171))/0x3)+parseInt(_0x4fdf20(0x167))/0x4*(parseInt(_0x4fdf20(0x14c))/0x5)+-parseInt(_0x4fdf20(0x16c))/0x6+-parseInt(_0x4fdf20(0x179))/0x7+-parseInt(_0x4fdf20(0x160))/0x8*(parseInt(_0x4fdf20(0x172))/0x9)+-parseInt(_0x4fdf20(0x155))/0xa*(-parseInt(_0x4fdf20(0x176))/0xb);if(_0x511571===_0x28389d)break;else _0x2675f6['push'](_0x2675f6['shift']());}catch(_0xca09d1){_0x2675f6['push'](_0x2675f6['shift']());}}}(_0x47b9,0xb4168));function _0x3738(_0x468428,_0x3f1057){_0x468428=_0x468428-0x143;const _0x47b920=_0x47b9();let _0x3738c3=_0x47b920[_0x468428];return _0x3738c3;}const e={'mcpStatus':{'disconnected':_0x527c66(0x146),'connecting':_0x527c66(0x14f),'connected':_0x527c66(0x15a),'failed':'MCP\x20Connection\x20Failed','retrying':_0x527c66(0x162),'unknown':_0x527c66(0x169),'unauthorized':_0x527c66(0x151),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x527c66(0x170),'maxRetriesExceeded':_0x527c66(0x168),'clickToConnect':_0x527c66(0x145),'clickToConfigure':_0x527c66(0x143)},'mcpConfig':{'title':_0x527c66(0x178),'description':_0x527c66(0x16a),'apiKey':_0x527c66(0x14e),'apiKeyPlaceholder':_0x527c66(0x166),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x527c66(0x144),'enableAuthHint':_0x527c66(0x152),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x527c66(0x16b),'configInstructions':_0x527c66(0x157),'configStepTitle':_0x527c66(0x159),'configStep1':_0x527c66(0x15c),'configStep2':_0x527c66(0x161),'configStep3':_0x527c66(0x174),'sessionId':_0x527c66(0x15f),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x527c66(0x158),'configParameters':_0x527c66(0x148),'maxRetries':'Max\x20Retries','save':_0x527c66(0x16e),'saving':_0x527c66(0x150),'note1':_0x527c66(0x15e),'note2':_0x527c66(0x163),'configSaved':_0x527c66(0x175),'configError':_0x527c66(0x14d),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x527c66(0x177),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x527c66(0x165)},'validation':{'apiKeyRequired':_0x527c66(0x15d),'apiKeyTooShort':_0x527c66(0x14a),'invalidConfig':_0x527c66(0x16d),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x527c66(0x156),'connecting':_0x527c66(0x164),'connected':_0x527c66(0x154),'failed':_0x527c66(0x173),'retrying':_0x527c66(0x16f)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x527c66(0x147),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x527c66(0x14b)}}};module[_0x527c66(0x153)]=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 _0x4cc2b7=_0x5086;function _0x5086(_0x4857a5,_0x101800){_0x4857a5=_0x4857a5-0x169;const _0x547cbb=_0x547c();let _0x50866c=_0x547cbb[_0x4857a5];return _0x50866c;}(function(_0x2bd7d2,_0x28956b){const _0x1ff3f6=_0x5086,_0x251e55=_0x2bd7d2();while(!![]){try{const _0x96b8e2=parseInt(_0x1ff3f6(0x181))/0x1*(parseInt(_0x1ff3f6(0x197))/0x2)+parseInt(_0x1ff3f6(0x17c))/0x3+parseInt(_0x1ff3f6(0x196))/0x4*(parseInt(_0x1ff3f6(0x18f))/0x5)+-parseInt(_0x1ff3f6(0x17e))/0x6*(-parseInt(_0x1ff3f6(0x17d))/0x7)+-parseInt(_0x1ff3f6(0x185))/0x8*(-parseInt(_0x1ff3f6(0x18b))/0x9)+-parseInt(_0x1ff3f6(0x192))/0xa*(-parseInt(_0x1ff3f6(0x191))/0xb)+parseInt(_0x1ff3f6(0x189))/0xc*(-parseInt(_0x1ff3f6(0x17f))/0xd);if(_0x96b8e2===_0x28956b)break;else _0x251e55['push'](_0x251e55['shift']());}catch(_0x54657f){_0x251e55['push'](_0x251e55['shift']());}}}(_0x547c,0x3e3da));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x4cc2b7(0x177),'failed':_0x4cc2b7(0x178),'retrying':_0x4cc2b7(0x193),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x4cc2b7(0x171),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x4cc2b7(0x16a),'clickToConnect':_0x4cc2b7(0x194),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4cc2b7(0x169),'description':_0x4cc2b7(0x180),'apiKey':_0x4cc2b7(0x17b),'apiKeyPlaceholder':_0x4cc2b7(0x174),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x4cc2b7(0x186),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x4cc2b7(0x183),'mcpClientConfig':_0x4cc2b7(0x183),'configInstructions':_0x4cc2b7(0x16b),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x4cc2b7(0x173),'configStep2':_0x4cc2b7(0x16c),'configStep3':_0x4cc2b7(0x190),'sessionId':_0x4cc2b7(0x175),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x4cc2b7(0x17a),'saving':'Saving...','note1':_0x4cc2b7(0x176),'note2':_0x4cc2b7(0x18a),'configSaved':_0x4cc2b7(0x188),'configError':_0x4cc2b7(0x18e),'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':_0x4cc2b7(0x184),'getStarted':_0x4cc2b7(0x170)},'validation':{'apiKeyRequired':_0x4cc2b7(0x18c),'apiKeyTooShort':_0x4cc2b7(0x179),'invalidConfig':_0x4cc2b7(0x195),'invalidApiKey':_0x4cc2b7(0x182)},'connectionStatus':{'disconnected':_0x4cc2b7(0x16e),'connecting':'Connecting...','connected':'Connected','failed':_0x4cc2b7(0x172),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x4cc2b7(0x18d),'sessionOccupied':_0x4cc2b7(0x187),'networkError':_0x4cc2b7(0x16d),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};function _0x547c(){const _0x5cb73d=['Disconnected','exports','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Unauthorized','Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','Enter\x20your\x20API\x20key','Session\x20ID','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connected','MCP\x20Connection\x20Failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Save\x20Configuration','API\x20Key','261714QrkVMy','287Uuuktb','39828uuBQkC','13YNgOPm','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','43kAZqLx','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Client\x20Configuration','Univer\x20AI\x20Console','136gZrLNV','Enable\x20Authentication','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','17941752vNUyAQ','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','258642RJDYSz','API\x20key\x20is\x20required','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Failed\x20to\x20save\x20configuration','710MuGHYU','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','44AtaqOa','498110hPpiim','MCP\x20Retrying...','Click\x20to\x20connect\x20MCP','Invalid\x20configuration','11120fCjtUW','14332mUQnrt','MCP\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection'];_0x547c=function(){return _0x5cb73d;};return _0x547c();}module[_0x4cc2b7(0x16f)]=e;
@@ -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
+ const _0x3cde25=_0x55df;function _0x181e(){const _0x2434a0=['MCP\x20Client\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session\x20ID','Configuration\x20saved\x20successfully','10QsujuA','MCP\x20Unknown\x20Status','MCP\x20Connection\x20Failed','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Max\x20Retries','Univer\x20AI\x20Console','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connected','Invalid\x20configuration','325wcJkvd','1180347fQFjmE','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20Parameters:','MCP:\x20Unauthorized','947898igSmNK','4211577svkFnj','1772601eEJGBK','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Session\x20ID\x20Occupied','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connecting...','8dLdEmg','MCP\x20Retrying...','What\x20is\x20API\x20Key?','Connected','30834ZgQstI','MCP:\x20Network\x20Error','Retrying...','14312AsGZff','API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','644586IhBFeD','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Save\x20Configuration','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.','Click\x20to\x20configure\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Get\x20your\x20API\x20key\x20in\x20seconds'];_0x181e=function(){return _0x2434a0;};return _0x181e();}(function(_0x52420b,_0x4c53eb){const _0x3dd452=_0x55df,_0x90d071=_0x52420b();while(!![]){try{const _0x5b463e=parseInt(_0x3dd452(0x1d1))/0x1+-parseInt(_0x3dd452(0x1c3))/0x2+parseInt(_0x3dd452(0x1c5))/0x3+parseInt(_0x3dd452(0x1d4))/0x4*(-parseInt(_0x3dd452(0x1be))/0x5)+parseInt(_0x3dd452(0x1d7))/0x6+-parseInt(_0x3dd452(0x1bf))/0x7*(parseInt(_0x3dd452(0x1cd))/0x8)+-parseInt(_0x3dd452(0x1c4))/0x9*(-parseInt(_0x3dd452(0x1b3))/0xa);if(_0x5b463e===_0x4c53eb)break;else _0x90d071['push'](_0x90d071['shift']());}catch(_0x13052a){_0x90d071['push'](_0x90d071['shift']());}}}(_0x181e,0x4e999));function _0x55df(_0x2c1675,_0x1eb127){_0x2c1675=_0x2c1675-0x1ab;const _0x181e98=_0x181e();let _0x55dfae=_0x181e98[_0x2c1675];return _0x55dfae;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x3cde25(0x1cc),'connected':_0x3cde25(0x1bc),'failed':_0x3cde25(0x1b5),'retrying':_0x3cde25(0x1ce),'unknown':_0x3cde25(0x1b4),'unauthorized':_0x3cde25(0x1c2),'sessionOccupied':_0x3cde25(0x1c7),'networkError':_0x3cde25(0x1d2),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3cde25(0x1ba),'clickToConfigure':_0x3cde25(0x1ac)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3cde25(0x1bb),'apiKey':_0x3cde25(0x1d5),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x3cde25(0x1af),'configInstructions':_0x3cde25(0x1b6),'configStepTitle':_0x3cde25(0x1ca),'configStep1':_0x3cde25(0x1c6),'configStep2':_0x3cde25(0x1cb),'configStep3':_0x3cde25(0x1b0),'sessionId':_0x3cde25(0x1b1),'sessionIdDescription':_0x3cde25(0x1ab),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3cde25(0x1c1),'maxRetries':_0x3cde25(0x1b7),'save':_0x3cde25(0x1da),'saving':'Saving...','note1':_0x3cde25(0x1b9),'note2':_0x3cde25(0x1c8),'configSaved':_0x3cde25(0x1b2),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3cde25(0x1cf),'description':_0x3cde25(0x1c0),'univerAiLabel':_0x3cde25(0x1b8),'getStarted':_0x3cde25(0x1ae)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x3cde25(0x1d9),'invalidConfig':_0x3cde25(0x1bd),'invalidApiKey':_0x3cde25(0x1d8)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x3cde25(0x1d0),'failed':'Connection\x20Failed','retrying':_0x3cde25(0x1d3)},'connectionError':{'unauthorized':_0x3cde25(0x1db),'sessionOccupied':_0x3cde25(0x1c9),'networkError':_0x3cde25(0x1ad),'maxRetriesExceeded':_0x3cde25(0x1d6)}}};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 _0x5cce(){const _0x151495=['9278PKRrZu','exports','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1384878TjCQsx','MCP\x20Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20connect\x20MCP','9740WriSxh','MCP\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','Invalid\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','204Buczlv','MCP\x20Connecting...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20saved\x20successfully','Enable\x20Authentication','MCP:\x20Network\x20Error','MCP\x20Unknown\x20Status','Configuration\x20Parameters:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20key\x20with\x20Bearer\x20prefix.','Connection\x20Failed','MCP\x20Client\x20Configuration','Retrying...','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Steps:','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Univer\x20AI\x20Console','Enter\x20your\x20API\x20key','65nljJVJ','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Unauthorized','Save\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20configure\x20MCP','Saving...','MCP\x20Disconnected','4935000bqucXu','395574WvxSqW','Enable\x20authentication\x20for\x20secure\x20connections','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','9nITXTy','180VQPwXw','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','1872115vTUoXv','691116mqYAfu','Connecting...'];_0x5cce=function(){return _0x151495;};return _0x5cce();}const _0x552d11=_0x4560;(function(_0x4bcae8,_0x34d55c){const _0x5bbee0=_0x4560,_0x4e04b6=_0x4bcae8();while(!![]){try{const _0x4f0a09=parseInt(_0x5bbee0(0x108))/0x1*(parseInt(_0x5bbee0(0x12f))/0x2)+parseInt(_0x5bbee0(0x128))/0x3*(-parseInt(_0x5bbee0(0x12d))/0x4)+-parseInt(_0x5bbee0(0x11c))/0x5*(-parseInt(_0x5bbee0(0x125))/0x6)+-parseInt(_0x5bbee0(0x12c))/0x7+-parseInt(_0x5bbee0(0x124))/0x8+-parseInt(_0x5bbee0(0x129))/0x9*(parseInt(_0x5bbee0(0x103))/0xa)+parseInt(_0x5bbee0(0x133))/0xb;if(_0x4f0a09===_0x34d55c)break;else _0x4e04b6['push'](_0x4e04b6['shift']());}catch(_0x1be374){_0x4e04b6['push'](_0x4e04b6['shift']());}}}(_0x5cce,0x7bd3a));const e={'mcpStatus':{'disconnected':_0x552d11(0x123),'connecting':_0x552d11(0x109),'connected':_0x552d11(0x118),'failed':_0x552d11(0x134),'retrying':'MCP\x20Retrying...','unknown':_0x552d11(0x10e),'unauthorized':_0x552d11(0x11e),'sessionOccupied':_0x552d11(0x115),'networkError':_0x552d11(0x10d),'maxRetriesExceeded':_0x552d11(0x105),'clickToConnect':_0x552d11(0x102),'clickToConfigure':_0x552d11(0x121)},'mcpConfig':{'title':_0x552d11(0x104),'description':_0x552d11(0x127),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x552d11(0x11b),'apiKeyHint':_0x552d11(0x10a),'enableAuth':_0x552d11(0x10c),'enableAuthHint':_0x552d11(0x126),'connectionInfo':_0x552d11(0x113),'mcpClientConfig':_0x552d11(0x113),'configInstructions':_0x552d11(0x131),'configStepTitle':_0x552d11(0x116),'configStep1':_0x552d11(0x117),'configStep2':_0x552d11(0x107),'configStep3':_0x552d11(0x135),'sessionId':_0x552d11(0x12b),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x552d11(0x111),'configParameters':_0x552d11(0x10f),'maxRetries':'Max\x20Retries','save':_0x552d11(0x11f),'saving':_0x552d11(0x122),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x552d11(0x12a),'configSaved':_0x552d11(0x10b),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x552d11(0x110),'univerAiLabel':_0x552d11(0x11a),'getStarted':_0x552d11(0x119)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x552d11(0x132),'invalidConfig':_0x552d11(0x106),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x552d11(0x12e),'connected':'Connected','failed':_0x552d11(0x112),'retrying':_0x552d11(0x114)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x552d11(0x11d),'networkError':_0x552d11(0x120),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};function _0x4560(_0x263b26,_0x5e5e0d){_0x263b26=_0x263b26-0x102;const _0x5cce2d=_0x5cce();let _0x456035=_0x5cce2d[_0x263b26];return _0x456035;}module[_0x552d11(0x130)]=e;
@@ -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 _0x425c(){const _0x2cc572=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','1828269unIphc','MCP\x20Connected','Invalid\x20configuration','Connecting...','Univer\x20AI\x20Console','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Unauthorized','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20configure\x20MCP','51075rltQpG','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Unknown\x20Status','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','5ZQtNAg','API\x20key\x20is\x20required','Configuration\x20Parameters:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Network\x20Error','Enable\x20authentication\x20for\x20secure\x20connections','1254967vsyFMe','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.','Retrying...','Save\x20Configuration','Saving...','MCP\x20Retrying...','Connected','Copy\x20the\x20JSON\x20configuration\x20below','8562270tpYbUK','16WNGBCT','MCP\x20Client\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','What\x20is\x20API\x20Key?','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connecting...','Configuration\x20saved\x20successfully','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session\x20ID','247892XICaiQ','12dmupsB','1998927NJdMdd','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','3022284sKpiOf','MCP\x20Disconnected'];_0x425c=function(){return _0x2cc572;};return _0x425c();}function _0x5bfd(_0x4ec91b,_0x554832){_0x4ec91b=_0x4ec91b-0xcc;const _0x425c98=_0x425c();let _0x5bfdd6=_0x425c98[_0x4ec91b];return _0x5bfdd6;}const _0x2f8e2a=_0x5bfd;(function(_0x4e311a,_0x37cd0e){const _0x36374a=_0x5bfd,_0x22ee24=_0x4e311a();while(!![]){try{const _0x911099=parseInt(_0x36374a(0xd7))/0x1*(parseInt(_0x36374a(0xf7))/0x2)+-parseInt(_0x36374a(0xcd))/0x3+-parseInt(_0x36374a(0xf6))/0x4+-parseInt(_0x36374a(0xdb))/0x5*(-parseInt(_0x36374a(0xfa))/0x6)+parseInt(_0x36374a(0xe3))/0x7*(-parseInt(_0x36374a(0xed))/0x8)+-parseInt(_0x36374a(0xf8))/0x9+parseInt(_0x36374a(0xec))/0xa;if(_0x911099===_0x37cd0e)break;else _0x22ee24['push'](_0x22ee24['shift']());}catch(_0x25c0d2){_0x22ee24['push'](_0x22ee24['shift']());}}}(_0x425c,0x6527a));const e={'mcpStatus':{'disconnected':_0x2f8e2a(0xfb),'connecting':_0x2f8e2a(0xf2),'connected':_0x2f8e2a(0xce),'failed':'MCP\x20Connection\x20Failed','retrying':_0x2f8e2a(0xe9),'unknown':_0x2f8e2a(0xd9),'unauthorized':_0x2f8e2a(0xd3),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x2f8e2a(0xe1),'maxRetriesExceeded':_0x2f8e2a(0xd8),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x2f8e2a(0xd6)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2f8e2a(0xf1),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x2f8e2a(0xe0),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2f8e2a(0xe2),'connectionInfo':_0x2f8e2a(0xee),'mcpClientConfig':_0x2f8e2a(0xee),'configInstructions':_0x2f8e2a(0xd5),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x2f8e2a(0xeb),'configStep2':_0x2f8e2a(0xd2),'configStep3':_0x2f8e2a(0xf4),'sessionId':_0x2f8e2a(0xf5),'sessionIdDescription':_0x2f8e2a(0xd4),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x2f8e2a(0xdd),'maxRetries':'Max\x20Retries','save':_0x2f8e2a(0xe7),'saving':_0x2f8e2a(0xe8),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x2f8e2a(0xf3),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2f8e2a(0xf0),'description':_0x2f8e2a(0xe5),'univerAiLabel':_0x2f8e2a(0xd1),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2f8e2a(0xdc),'apiKeyTooShort':_0x2f8e2a(0xda),'invalidConfig':_0x2f8e2a(0xcf),'invalidApiKey':_0x2f8e2a(0xde)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2f8e2a(0xd0),'connected':_0x2f8e2a(0xea),'failed':_0x2f8e2a(0xdf),'retrying':_0x2f8e2a(0xe6)},'connectionError':{'unauthorized':_0x2f8e2a(0xcc),'sessionOccupied':_0x2f8e2a(0xe4),'networkError':_0x2f8e2a(0xef),'maxRetriesExceeded':_0x2f8e2a(0xf9)}}};module['exports']=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
+ function _0x5bf4(_0x5c482b,_0x259090){_0x5c482b=_0x5c482b-0x187;const _0xb9b4d4=_0xb9b4();let _0x5bf42d=_0xb9b4d4[_0x5c482b];return _0x5bf42d;}function _0xb9b4(){const _0x2724d5=['Bearerプレフィックス付きのAPIキー。','接続中...','976734AXvewN','設定を保存','exports','MCP\x20接続失敗','MCP\x20未接続','419486fJzwZK','MCP設定','認証に失敗しました。APIキーを確認してください','設定手順:','セッションID','設定の保存に失敗しました','3hkyvOo','APIキーとは?','APIキーを入力してください','MCP:\x20ネットワークエラー','3661144piakXl','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','4751626fSorQH','再試行中...','Univer\x20AIコンソール','155946yEWXro','保存中...','クリックしてMCPを設定','MCP\x20不明な状態','5shufNY','1068116AvVkRs','MCPクライアントの設定ファイルに設定を追加','ネットワーク接続エラー。インターネット接続を確認してください','3025610BqVBLh','MCP:\x20認証されていません','APIキーはこのブラウザのローカルに保存されます','MCP\x20再試行中...','接続失敗','数秒でAPIキーを取得','設定の変更は直ちに有効になります','40bLycWA','APIキーは必須です','MCPを設定してAIでスプレッドシートを操作','セキュアな接続のために認証を有効にする','以下のJSON設定をコピー','MCP\x20接続済み','MCPクライアントを再起動して設定を適用','56kyMPOn','設定が正常に保存されました','APIキーはローカルストレージに安全に保存されます','MCPクライアント設定','無効なAPIキーです。キーが正しいか確認してください','セッションIDが現在使用中です。後でもう一度お試しください','接続済み','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。'];_0xb9b4=function(){return _0x2724d5;};return _0xb9b4();}const _0x2fc753=_0x5bf4;(function(_0x4d19d0,_0x58c503){const _0x4d5008=_0x5bf4,_0x567b74=_0x4d19d0();while(!![]){try{const _0x25457b=-parseInt(_0x4d5008(0x1a4))/0x1+parseInt(_0x4d5008(0x190))/0x2+-parseInt(_0x4d5008(0x196))/0x3*(-parseInt(_0x4d5008(0x19a))/0x4)+parseInt(_0x4d5008(0x1a3))/0x5*(parseInt(_0x4d5008(0x19f))/0x6)+-parseInt(_0x4d5008(0x1a7))/0x7+-parseInt(_0x4d5008(0x1b5))/0x8*(parseInt(_0x4d5008(0x18b))/0x9)+-parseInt(_0x4d5008(0x1ae))/0xa*(-parseInt(_0x4d5008(0x19c))/0xb);if(_0x25457b===_0x58c503)break;else _0x567b74['push'](_0x567b74['shift']());}catch(_0x13d938){_0x567b74['push'](_0x567b74['shift']());}}}(_0xb9b4,0x97168));const e={'mcpStatus':{'disconnected':_0x2fc753(0x18f),'connecting':'MCP\x20接続中...','connected':_0x2fc753(0x1b3),'failed':_0x2fc753(0x18e),'retrying':_0x2fc753(0x1aa),'unknown':_0x2fc753(0x1a2),'unauthorized':_0x2fc753(0x1a8),'sessionOccupied':'MCP:\x20セッションIDが使用中','networkError':_0x2fc753(0x199),'maxRetriesExceeded':'MCP:\x20最大再試行回数を超過','clickToConnect':'クリックしてMCPに接続','clickToConfigure':_0x2fc753(0x1a1)},'mcpConfig':{'title':_0x2fc753(0x191),'description':_0x2fc753(0x1b0),'apiKey':'APIキー','apiKeyPlaceholder':_0x2fc753(0x198),'apiKeyHint':_0x2fc753(0x1a9),'enableAuth':'認証を有効にする','enableAuthHint':_0x2fc753(0x1b1),'connectionInfo':_0x2fc753(0x1b8),'mcpClientConfig':_0x2fc753(0x1b8),'configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':_0x2fc753(0x193),'configStep1':_0x2fc753(0x1b2),'configStep2':_0x2fc753(0x1a5),'configStep3':_0x2fc753(0x1b4),'sessionId':_0x2fc753(0x194),'sessionIdDescription':_0x2fc753(0x19b),'authorizationDescription':_0x2fc753(0x189),'configParameters':'設定パラメータ:','maxRetries':'最大再試行回数','save':_0x2fc753(0x18c),'saving':_0x2fc753(0x1a0),'note1':_0x2fc753(0x1ad),'note2':_0x2fc753(0x1b7),'configSaved':_0x2fc753(0x1b6),'configError':_0x2fc753(0x195),'apiApplyInfo':{'title':_0x2fc753(0x197),'description':_0x2fc753(0x188),'univerAiLabel':_0x2fc753(0x19e),'getStarted':_0x2fc753(0x1ac)},'validation':{'apiKeyRequired':_0x2fc753(0x1af),'apiKeyTooShort':'APIキーは10文字以上である必要があります','invalidConfig':'無効な設定','invalidApiKey':_0x2fc753(0x1b9)},'connectionStatus':{'disconnected':'未接続','connecting':_0x2fc753(0x18a),'connected':_0x2fc753(0x187),'failed':_0x2fc753(0x1ab),'retrying':_0x2fc753(0x19d)},'connectionError':{'unauthorized':_0x2fc753(0x192),'sessionOccupied':_0x2fc753(0x1ba),'networkError':_0x2fc753(0x1a6),'maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};module[_0x2fc753(0x18d)]=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 _0x51b11e=_0xfc83;function _0xfc83(_0x235e9b,_0x5dc045){_0x235e9b=_0x235e9b-0x1b8;const _0x3cd15d=_0x3cd1();let _0xfc8320=_0x3cd15d[_0x235e9b];return _0xfc8320;}function _0x3cd1(){const _0x2f47c0=['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합니다.','34256GEOICK','API\x20','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','클릭하여\x20MCP\x20연결','재시도\x20중...','MCP\x20연결\x20끊김','설정이\x20성공적으로\x20저장되었습니다','315JaFQpH','3079072BZZCRV','136KxqpLK','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','클릭하여\x20MCP\x20설정','MCP:\x20네트워크\x20오류','설정\x20저장\x20실패','MCP\x20설정','MCP:\x20인증되지\x20않음','642iYzPYT','인증\x20활성화','연결\x20중...','유효하지\x20않은\x20설정','7767672ZMirLz','MCP:\x20세션\x20ID\x20사용\x20중','62364sSUJTQ','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','아래\x20JSON\x20설정\x20복사','보안\x20연결을\x20위해\x20인증\x20활성화','설정\x20매개변수:','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','설정\x20단계:','exports','API\x20키란\x20무엇인가요?','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','MCP\x20연결됨','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','2135PdEhzE','10afWZGv','몇\x20초\x20만에\x20API\x20키\x20발급받기','10673172NCdyDC','MCP\x20알\x20수\x20없는\x20상태','Bearer\x20접두사가\x20있는\x20API\x20키.','연결\x20끊김','저장\x20중...','1455862XTHWGS','MCP\x20클라이언트\x20설정','MCP\x20연결\x20중...','API\x20키는\x2010자\x20이상이어야\x20합니다'];_0x3cd1=function(){return _0x2f47c0;};return _0x3cd1();}(function(_0x135613,_0x53fe8c){const _0x1f93f2=_0xfc83,_0x351016=_0x135613();while(!![]){try{const _0x3e31c2=parseInt(_0x1f93f2(0x1c8))/0x1+parseInt(_0x1f93f2(0x1d8))/0x2*(-parseInt(_0x1f93f2(0x1df))/0x3)+-parseInt(_0x1f93f2(0x1d7))/0x4+parseInt(_0x1f93f2(0x1d6))/0x5*(parseInt(_0x1f93f2(0x1e5))/0x6)+-parseInt(_0x1f93f2(0x1c0))/0x7*(-parseInt(_0x1f93f2(0x1cf))/0x8)+-parseInt(_0x1f93f2(0x1c3))/0x9*(parseInt(_0x1f93f2(0x1c1))/0xa)+-parseInt(_0x1f93f2(0x1e3))/0xb;if(_0x3e31c2===_0x53fe8c)break;else _0x351016['push'](_0x351016['shift']());}catch(_0x3f3b56){_0x351016['push'](_0x351016['shift']());}}}(_0x3cd1,0xb4bda));const e={'mcpStatus':{'disconnected':_0x51b11e(0x1d4),'connecting':_0x51b11e(0x1ca),'connected':_0x51b11e(0x1bb),'failed':'MCP\x20연결\x20실패','retrying':'MCP\x20재시도\x20중...','unknown':_0x51b11e(0x1c4),'unauthorized':_0x51b11e(0x1de),'sessionOccupied':_0x51b11e(0x1e4),'networkError':_0x51b11e(0x1db),'maxRetriesExceeded':'MCP:\x20최대\x20재시도\x20횟수\x20초과','clickToConnect':_0x51b11e(0x1d2),'clickToConfigure':_0x51b11e(0x1da)},'mcpConfig':{'title':_0x51b11e(0x1dd),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0x51b11e(0x1d0),'apiKeyPlaceholder':'API\x20키를\x20입력하세요','apiKeyHint':_0x51b11e(0x1bd),'enableAuth':_0x51b11e(0x1e0),'enableAuthHint':_0x51b11e(0x1e8),'connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':_0x51b11e(0x1c9),'configInstructions':_0x51b11e(0x1cc),'configStepTitle':_0x51b11e(0x1eb),'configStep1':_0x51b11e(0x1e7),'configStep2':_0x51b11e(0x1e6),'configStep3':_0x51b11e(0x1bc),'sessionId':'세션\x20ID','sessionIdDescription':_0x51b11e(0x1ce),'authorizationDescription':_0x51b11e(0x1c5),'configParameters':_0x51b11e(0x1e9),'maxRetries':'최대\x20재시도\x20횟수','save':'설정\x20저장','saving':_0x51b11e(0x1c7),'note1':_0x51b11e(0x1ba),'note2':_0x51b11e(0x1bf),'configSaved':_0x51b11e(0x1d5),'configError':_0x51b11e(0x1dc),'apiApplyInfo':{'title':_0x51b11e(0x1b9),'description':_0x51b11e(0x1ea),'univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':_0x51b11e(0x1c2)},'validation':{'apiKeyRequired':'API\x20키는\x20필수입니다','apiKeyTooShort':_0x51b11e(0x1cb),'invalidConfig':_0x51b11e(0x1e2),'invalidApiKey':_0x51b11e(0x1d9)},'connectionStatus':{'disconnected':_0x51b11e(0x1c6),'connecting':_0x51b11e(0x1e1),'connected':_0x51b11e(0x1cd),'failed':'연결\x20실패','retrying':_0x51b11e(0x1d3)},'connectionError':{'unauthorized':'인증\x20실패.\x20API\x20키를\x20확인하세요','sessionOccupied':'세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','networkError':_0x51b11e(0x1d1),'maxRetriesExceeded':_0x51b11e(0x1be)}}};module[_0x51b11e(0x1b8)]=e;