@univerjs-pro/mcp-ui 0.10.6-experimental.20250903-f52e3bf → 0.10.6-experimental.20250904-44da50e
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.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/mcp-config-ui.controller.d.ts +3 -1
- package/lib/types/controllers/mcp-connection-ui.controller.d.ts +4 -36
- package/lib/types/locale/en-US.d.ts +20 -1
- package/lib/types/locale/zh-CN.d.ts +20 -1
- package/lib/types/views/components/mcp-config.d.ts +7 -2
- package/lib/types/views/components/mcp-status.d.ts +0 -4
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +5 -5
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x4fdc28=_0x43f7;(function(_0x479b6f,_0xda897a){const _0x537b2e=_0x43f7,_0xd01fe4=_0x479b6f();while(!![]){try{const _0x2ffbd5=-parseInt(_0x537b2e(0x197))/0x1+-parseInt(_0x537b2e(0x18a))/0x2*(parseInt(_0x537b2e(0x198))/0x3)+parseInt(_0x537b2e(0x199))/0x4+-parseInt(_0x537b2e(0x196))/0x5+parseInt(_0x537b2e(0x1a8))/0x6+-parseInt(_0x537b2e(0x1ab))/0x7*(parseInt(_0x537b2e(0x189))/0x8)+-parseInt(_0x537b2e(0x19f))/0x9*(-parseInt(_0x537b2e(0x17b))/0xa);if(_0x2ffbd5===_0xda897a)break;else _0xd01fe4['push'](_0xd01fe4['shift']());}catch(_0x143e8a){_0xd01fe4['push'](_0xd01fe4['shift']());}}}(_0x44c8,0x7f3d3));function _0x44c8(){const _0x541f79=['Session\x20ID','MCP\x20Connecting...','486311CKncQN','Retrying...','10HfUpcM','Click\x20to\x20configure\x20MCP','Invalid\x20configuration','Click\x20to\x20connect\x20MCP','Failed\x20to\x20save\x20configuration','Max\x20Retries','Connected','MCP\x20Disconnected','What\x20is\x20API\x20Key?','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','API\x20Key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connection\x20Failed','24rkAUVJ','12838HueHvO','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connection\x20Information','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','MCP:\x20Invalid\x20API\x20Key','Saving...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Connected','Enter\x20your\x20API\x20key','MCP:\x20API\x20Key\x20Missing','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','4748910iTWJHP','292913hXDTSw','276QusvCm','446732tfMpbn','exports','Disconnected','MCP\x20Configuration','MCP\x20Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','15556554drPEUk','API\x20key\x20is\x20required\x20to\x20connect','Configuration\x20saved\x20successfully','MCP:\x20Session\x20Occupied','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Network\x20Error','MCP\x20Unknown\x20Status','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20Authentication','4335864YMEbiZ'];_0x44c8=function(){return _0x541f79;};return _0x44c8();}function _0x43f7(_0x2666a8,_0x65043){const _0x44c81d=_0x44c8();return _0x43f7=function(_0x43f710,_0x3d1722){_0x43f710=_0x43f710-0x17a;let _0x2fe26a=_0x44c81d[_0x43f710];return _0x2fe26a;},_0x43f7(_0x2666a8,_0x65043);}const e={'mcpStatus':{'disconnected':_0x4fdc28(0x182),'connecting':_0x4fdc28(0x1aa),'connected':_0x4fdc28(0x192),'failed':_0x4fdc28(0x188),'retrying':_0x4fdc28(0x19d),'unknown':_0x4fdc28(0x1a5),'missingApiKey':_0x4fdc28(0x194),'invalidApiKey':_0x4fdc28(0x18f),'sessionOccupied':_0x4fdc28(0x1a2),'networkError':_0x4fdc28(0x1a4),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4fdc28(0x17e),'clickToConfigure':_0x4fdc28(0x17c)},'mcpConfig':{'title':_0x4fdc28(0x19c),'description':_0x4fdc28(0x18d),'apiKey':_0x4fdc28(0x185),'apiKeyPlaceholder':_0x4fdc28(0x193),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x4fdc28(0x1a7),'enableAuthHint':_0x4fdc28(0x1a3),'connectionInfo':_0x4fdc28(0x18c),'serverEndpoint':'Server\x20Endpoint','sessionId':_0x4fdc28(0x1a9),'maxRetries':_0x4fdc28(0x180),'save':'Save\x20Configuration','saving':_0x4fdc28(0x190),'note1':_0x4fdc28(0x1a6),'note2':_0x4fdc28(0x186),'configSaved':_0x4fdc28(0x1a1),'configError':_0x4fdc28(0x17f),'apiApplyInfo':{'title':_0x4fdc28(0x183),'description':_0x4fdc28(0x18b),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4fdc28(0x18e),'apiKeyTooShort':_0x4fdc28(0x191),'invalidConfig':_0x4fdc28(0x17d),'invalidApiKey':_0x4fdc28(0x187)},'connectionStatus':{'disconnected':_0x4fdc28(0x19b),'connecting':'Connecting...','connected':_0x4fdc28(0x181),'failed':'Connection\x20Failed','retrying':_0x4fdc28(0x17a)},'connectionError':{'missingApiKey':_0x4fdc28(0x1a0),'invalidApiKey':_0x4fdc28(0x19e),'sessionOccupied':_0x4fdc28(0x184),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4fdc28(0x195)}}},n=e;module[_0x4fdc28(0x19a)]=n;
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x18b954=_0x29ae;(function(_0x33312e,_0x500309){var _0x3ace69=_0x29ae,_0x431c6d=_0x33312e();while(!![]){try{var _0x38a235=-parseInt(_0x3ace69(0x12a))/0x1+parseInt(_0x3ace69(0x109))/0x2+-parseInt(_0x3ace69(0xdc))/0x3+-parseInt(_0x3ace69(0x16f))/0x4+parseInt(_0x3ace69(0x108))/0x5*(-parseInt(_0x3ace69(0xc9))/0x6)+-parseInt(_0x3ace69(0x8b))/0x7*(-parseInt(_0x3ace69(0xaa))/0x8)+parseInt(_0x3ace69(0x137))/0x9*(parseInt(_0x3ace69(0x118))/0xa);if(_0x38a235===_0x500309)break;else _0x431c6d['push'](_0x431c6d['shift']());}catch(_0x4dfd47){_0x431c6d['push'](_0x431c6d['shift']());}}}(_0x3f04,0x204b4));var oe=Object[_0x18b954(0x13e)],se=(_0x1b6a2c,_0x4a3984,_0x2961ce)=>_0x4a3984 in _0x1b6a2c?oe(_0x1b6a2c,_0x4a3984,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2961ce}):_0x1b6a2c[_0x4a3984]=_0x2961ce,C=(_0x1284fa,_0x350a52,_0x48abcb)=>se(_0x1284fa,typeof _0x350a52!=_0x18b954(0x77)?_0x350a52+'':_0x350a52,_0x48abcb);import{LocaleService as _0x1cc567,Inject as _0x10bf36,Injector as _0x48abb6,IConfigService as _0x3aa9b6,ILocalStorageService as _0xaed26f,ILogService as _0x1ed053,Disposable as _0x1d7a10,CommandType as _0x289b76,ICommandService as _0x110d41,DependentOn as _0x597ce7,Plugin as _0x48b334,merge as _0x121b24}from'@univerjs/core';import{jsxs as _0x14e4ab,jsx as _0x42796a}from'react/jsx-runtime';import{MCP_PLUGIN_CONFIG_KEY as _0x4973a4,MCPConnectionController as _0x4be806,MCPConnectionStatus as _0x3261f5,MCPConnectionError as _0x4270eb,UniverMCPPlugin as _0xe91f0c}from'@univerjs-pro/mcp';import{Input as _0x3490da,Button as _0xd5cb7a,MessageType as _0x5a09c0,Tooltip as _0x75055,clsx as _0x137af3}from'@univerjs/design';import{useDependency as _0x44da42,IUIPartsService as _0x37c99c,IDialogService as _0x3a9698,IMessageService as _0x2fb0f5,ComponentManager as _0x59e7bf,connectInjector as _0x26e18f,useObservable as _0x2b82ce,BuiltInUIPart as _0x1fa0bb,MenuItemType as _0x21d199,RibbonStartGroup as _0x2b2294,IMenuManagerService as _0x4effab}from'@univerjs/ui';import{BehaviorSubject as _0x1c6526}from'rxjs';import{useState as _0x40e668,useCallback as _0x4dad47,forwardRef as _0x523c89,useRef as _0x21626b,createElement as _0x3eeede}from'react';function be(_0x3dde29){var _0x4b87a8=_0x18b954;const {mcpCoreConfig:_0xc2685a,onSave:_0x325201,loading:_0x4bba86=!0x1,config:_0x28e9a5}=_0x3dde29,_0xbcb16f=_0x44da42(_0x1cc567),[_0x2c70a9,_0x3b1246]=_0x40e668(_0xc2685a[_0x4b87a8(0x10d)]||''),_0x354ec9=!0x0,_0x28ce1e=_0x4dad47(()=>{var _0x2da29d=_0x4b87a8;const _0x15d66e={..._0xc2685a,'apiKey':_0x2c70a9[_0x2da29d(0x154)](),'enableAuth':_0x354ec9};_0x325201(_0x15d66e);},[_0xc2685a,_0x2c70a9,_0x354ec9,_0x325201]),_0x26b8b3=_0x2c70a9[_0x4b87a8(0x154)]()['length']>0x0;return _0x14e4ab(_0x4b87a8(0x7f),{'className':_0x4b87a8(0x14f),'children':[_0x42796a(_0x4b87a8(0x7f),{'className':_0x4b87a8(0x11d),'children':_0x14e4ab(_0x4b87a8(0x7f),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x42796a(_0x4b87a8(0x7f),{'className':_0x4b87a8(0x100),'children':_0x42796a(_0x4b87a8(0x120),{'className':_0x4b87a8(0x139),'children':'⚙'})}),_0x42796a(_0x4b87a8(0x7f),{'children':_0x42796a('p',{'className':_0x4b87a8(0xbb),'children':_0xbcb16f['t']('mcpConfig.description')})})]})}),_0x42796a(_0x4b87a8(0x7f),{'className':_0x4b87a8(0xb7),'children':_0x14e4ab(_0x4b87a8(0x7f),{'className':_0x4b87a8(0xb4),'children':[_0x14e4ab(_0x4b87a8(0x7f),{'className':'univer-space-y-2','children':[_0x14e4ab('label',{'className':_0x4b87a8(0x175),'children':[_0x42796a(_0x4b87a8(0x120),{'children':'🔑'}),'\x20',_0xbcb16f['t']('mcpConfig.apiKey'),_0x42796a(_0x4b87a8(0x120),{'className':_0x4b87a8(0xe9),'children':'*'})]}),_0x42796a(_0x3490da,{'type':_0x4b87a8(0xe7),'placeholder':_0xbcb16f['t'](_0x4b87a8(0xea)),'value':_0x2c70a9,'onChange':_0x3b1246,'disabled':_0x4bba86,'autoComplete':_0x4b87a8(0x163)}),_0x42796a('p',{'className':_0x4b87a8(0xec),'children':_0xbcb16f['t']('mcpConfig.apiKeyHint')})]}),_0x28e9a5[_0x4b87a8(0x15a)]&&_0x14e4ab('div',{'className':_0x4b87a8(0xce),'children':[_0x14e4ab('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x42796a('span',{'children':'🔗'}),'\x20',_0xbcb16f['t'](_0x4b87a8(0x15f))]}),_0x14e4ab('div',{'className':_0x4b87a8(0xbf),'children':[_0x14e4ab('div',{'className':_0x4b87a8(0x7b),'children':[_0x42796a(_0x4b87a8(0x7f),{'className':_0x4b87a8(0xe6)}),_0x14e4ab(_0x4b87a8(0x7f),{'className':_0x4b87a8(0xc5),'children':[_0x42796a(_0x4b87a8(0x7f),{'className':_0x4b87a8(0xb9),'children':_0xbcb16f['t'](_0x4b87a8(0x11c))}),_0x42796a(_0x4b87a8(0x151),{'className':'univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','children':_0xc2685a[_0x4b87a8(0x144)]||_0x4b87a8(0xc2)})]})]}),_0x14e4ab(_0x4b87a8(0x7f),{'className':_0x4b87a8(0x7b),'children':[_0x42796a('div',{'className':_0x4b87a8(0x138)}),_0x14e4ab(_0x4b87a8(0x7f),{'className':_0x4b87a8(0xc5),'children':[_0x42796a(_0x4b87a8(0x7f),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0xbcb16f['t'](_0x4b87a8(0x91))}),_0x42796a(_0x4b87a8(0x151),{'className':'univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','children':_0xc2685a[_0x4b87a8(0xcf)]||'default'})]})]})]})]}),_0x42796a(_0xd5cb7a,{'onClick':_0x28ce1e,'disabled':!_0x26b8b3||_0x4bba86,'className':_0x4b87a8(0x15d),'children':_0x4bba86?_0x14e4ab(_0x4b87a8(0x120),{'children':['⟲',_0xbcb16f['t']('mcpConfig.saving')]}):_0x14e4ab('span',{'children':['✓',_0xbcb16f['t']('mcpConfig.save')]})}),_0x42796a(_0x4b87a8(0x7f),{'className':_0x4b87a8(0x8f),'children':_0x14e4ab(_0x4b87a8(0x7f),{'className':_0x4b87a8(0x80),'children':[_0x42796a('span',{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x14e4ab(_0x4b87a8(0x7f),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x42796a(_0x4b87a8(0x7f),{'className':_0x4b87a8(0x147),'children':'Configuration\x20Notes:'}),_0x14e4ab(_0x4b87a8(0x7f),{'children':['•',_0xbcb16f['t'](_0x4b87a8(0xe0))]}),_0x14e4ab(_0x4b87a8(0x7f),{'children':['•',_0xbcb16f['t'](_0x4b87a8(0x174))]})]})]})})]})})]});}const K=_0x18b954(0xac),H={'showDeveloperTools':!0x1};var Me=Object['getOwnPropertyDescriptor'],Ee=(_0x2bf0b2,_0x445c33,_0x1fa28d,_0x1b4cbd)=>{var _0x4af1c1=_0x18b954;for(var _0x5e7a80=_0x1b4cbd>0x1?void 0x0:_0x1b4cbd?Me(_0x445c33,_0x1fa28d):_0x445c33,_0x102828=_0x2bf0b2[_0x4af1c1(0x11b)]-0x1,_0x52928f;_0x102828>=0x0;_0x102828--)(_0x52928f=_0x2bf0b2[_0x102828])&&(_0x5e7a80=_0x52928f(_0x5e7a80)||_0x5e7a80);return _0x5e7a80;},f=(_0x56059a,_0x360fee)=>(_0x2dcc5c,_0xea4ece)=>_0x360fee(_0x2dcc5c,_0xea4ece,_0x56059a);const w='mcp.apiKey',D=_0x18b954(0xe2);let S=class extends _0x1d7a10{constructor(_0x495e97,_0x6957e0,_0x53f79e,_0x2c63bf,_0x53168d,_0x298f13,_0x5076dd,_0xc6b56d,_0x15d983){var _0x5870f8=_0x18b954;super(),C(this,_0x5870f8(0x135),new _0x1c6526(!0x1)),C(this,'_mcpCoreConfig$',new _0x1c6526({})),C(this,_0x5870f8(0xd7),new _0x1c6526({})),C(this,_0x5870f8(0x14c),async _0x4000ab=>{var _0x13e999=_0x5870f8;this[_0x13e999(0x135)]['next'](!0x0);try{const _0x183ed9=await this[_0x13e999(0xbd)](_0x4000ab);if(!_0x183ed9[_0x13e999(0x136)]){this[_0x13e999(0x126)][_0x13e999(0x165)]({'type':_0x5a09c0[_0x13e999(0x143)],'content':_0x183ed9[_0x13e999(0xdd)]||this[_0x13e999(0xe5)]['t'](_0x13e999(0xba))});return;}_0x4000ab[_0x13e999(0x10d)]?await this[_0x13e999(0x78)][_0x13e999(0x79)](w,_0x4000ab[_0x13e999(0x10d)][_0x13e999(0x154)]()):await this[_0x13e999(0x78)]['removeItem'](w),this[_0x13e999(0xaf)][_0x13e999(0x16d)](_0x4973a4,{..._0x4000ab,'apiKey':_0x4000ab['apiKey'][_0x13e999(0x154)]()}),this[_0x13e999(0x103)][_0x13e999(0x101)]({..._0x4000ab,'apiKey':_0x4000ab[_0x13e999(0x10d)][_0x13e999(0x154)]()}),this[_0x13e999(0x126)][_0x13e999(0x165)]({'type':_0x5a09c0[_0x13e999(0x146)],'content':this[_0x13e999(0xe5)]['t'](_0x13e999(0x16c))}),setTimeout(()=>{var _0x31db83=_0x13e999;this[_0x31db83(0x112)][_0x31db83(0xd2)](D);},0x320);}catch(_0x29831a){this[_0x13e999(0x9b)][_0x13e999(0x16a)](_0x13e999(0x149),_0x29831a),this[_0x13e999(0x126)][_0x13e999(0x165)]({'type':_0x5a09c0['Error'],'content':this[_0x13e999(0xe5)]['t'](_0x13e999(0x98))});}finally{this[_0x13e999(0x135)][_0x13e999(0x101)](!0x1);}}),(this[_0x5870f8(0xca)]=_0x495e97,this[_0x5870f8(0xad)]=_0x6957e0,this[_0x5870f8(0xaf)]=_0x53f79e,this['_localStorageService']=_0x2c63bf,this['_dialogService']=_0x53168d,this[_0x5870f8(0x126)]=_0x298f13,this[_0x5870f8(0x86)]=_0x5076dd,this[_0x5870f8(0xe5)]=_0xc6b56d,this[_0x5870f8(0x9b)]=_0x15d983,this[_0x5870f8(0x13d)](),this[_0x5870f8(0x122)](),this[_0x5870f8(0x10f)]());}['showConfigPanel'](){var _0x92b3c9=_0x18b954;this[_0x92b3c9(0x112)]['open']({'id':D,'title':{'title':this['_localeService']['t'](_0x92b3c9(0x15c))},'children':{'label':_0x92b3c9(0x7d)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x592ab2=_0x92b3c9;this[_0x592ab2(0x112)][_0x592ab2(0xd2)](D);}});}['getCurrentConfig'](){var _0x5728fc=_0x18b954;return this[_0x5728fc(0x103)]['value'];}[_0x18b954(0x10f)](){var _0x322a83=_0x18b954;this[_0x322a83(0x92)](this[_0x322a83(0x86)][_0x322a83(0xc1)](_0x322a83(0x7d),this[_0x322a83(0x107)]()));}[_0x18b954(0x107)](){var _0x1459fc=_0x18b954;return _0x26e18f(()=>_0x42796a(be,{'config':this['_config$']['value'],'mcpCoreConfig':this[_0x1459fc(0x103)][_0x1459fc(0xc0)],'onSave':this[_0x1459fc(0x14c)],'loading':this[_0x1459fc(0x135)]['value']}),this[_0x1459fc(0xca)]);}[_0x18b954(0x13d)](){var _0x288262=_0x18b954;this[_0x288262(0x92)](this[_0x288262(0xaf)][_0x288262(0xfd)](_0x4973a4)[_0x288262(0x16e)](_0x4e46c3=>{var _0x511920=_0x288262;this[_0x511920(0x103)][_0x511920(0x101)](_0x4e46c3||{});}));const _0x69794b=this[_0x288262(0xaf)][_0x288262(0x155)](_0x4973a4);this[_0x288262(0x103)][_0x288262(0x101)](_0x69794b||{}),this[_0x288262(0x92)](this[_0x288262(0xaf)][_0x288262(0xfd)](K)[_0x288262(0x16e)](_0x59833a=>{var _0x7047b4=_0x288262;this['_config$'][_0x7047b4(0x101)](_0x59833a||{});}));const _0x1090f3=this[_0x288262(0xaf)][_0x288262(0x155)](K);this[_0x288262(0xd7)]['next'](_0x1090f3||{});}async[_0x18b954(0x122)](){var _0x2c34ec=_0x18b954;const _0x218786=await this[_0x2c34ec(0x78)][_0x2c34ec(0xf5)](w);if(_0x218786){const _0x552745={...this[_0x2c34ec(0x103)][_0x2c34ec(0xc0)],'apiKey':_0x218786};this[_0x2c34ec(0xaf)][_0x2c34ec(0x16d)](_0x4973a4,_0x552745),this[_0x2c34ec(0x103)][_0x2c34ec(0x101)](_0x552745);}}async[_0x18b954(0xbd)](_0x52d73c){var _0x1048f5=_0x18b954;if(!_0x52d73c[_0x1048f5(0x10d)]||_0x52d73c[_0x1048f5(0x10d)][_0x1048f5(0x154)]()[_0x1048f5(0x11b)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyRequired')};if(_0x52d73c['apiKey'][_0x1048f5(0x154)]()[_0x1048f5(0x11b)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x1048f5(0xe5)]['t'](_0x1048f5(0x171))};try{const _0x1ff94f=await this[_0x1048f5(0xca)][_0x1048f5(0xc6)](_0x4be806)[_0x1048f5(0x10a)](_0x52d73c[_0x1048f5(0x10d)]['trim']());return _0x1ff94f['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x1ff94f[_0x1048f5(0x16a)]||this['_localeService']['t'](_0x1048f5(0x152))};}catch(_0x4d20a8){return console[_0x1048f5(0x15b)](_0x1048f5(0xd0),_0x4d20a8),{'isValid':!0x0};}}};S=Ee([f(0x0,_0x10bf36(_0x48abb6)),f(0x1,_0x37c99c),f(0x2,_0x3aa9b6),f(0x3,_0xaed26f),f(0x4,_0x3a9698),f(0x5,_0x2fb0f5),f(0x6,_0x10bf36(_0x59e7bf)),f(0x7,_0x10bf36(_0x1cc567)),f(0x8,_0x1ed053)],S);const G={'id':'mcp-ui.command.openConfigPanel','type':_0x289b76[_0x18b954(0xc3)],'handler':async(_0x4ad38a,_0x4977c7)=>(_0x4ad38a[_0x18b954(0xc6)](S)[_0x18b954(0x14b)](),!0x0)};var v=function(){var _0x338a19=_0x18b954;return v=Object[_0x338a19(0x7a)]||function(_0x1bc342){var _0x4a504a=_0x338a19;for(var _0x4d4bbf,_0xc07da6=0x1,_0x2e46fc=arguments['length'];_0xc07da6<_0x2e46fc;_0xc07da6++){_0x4d4bbf=arguments[_0xc07da6];for(var _0xa49dd5 in _0x4d4bbf)Object['prototype']['hasOwnProperty'][_0x4a504a(0x12c)](_0x4d4bbf,_0xa49dd5)&&(_0x1bc342[_0xa49dd5]=_0x4d4bbf[_0xa49dd5]);}return _0x1bc342;},v[_0x338a19(0xf0)](this,arguments);},Oe=function(_0x30e2a7,_0x55b603){var _0x5c1982=_0x18b954,_0x45c69a={};for(var _0x79b2d0 in _0x30e2a7)Object[_0x5c1982(0x9d)][_0x5c1982(0x14d)][_0x5c1982(0x12c)](_0x30e2a7,_0x79b2d0)&&_0x55b603[_0x5c1982(0xfc)](_0x79b2d0)<0x0&&(_0x45c69a[_0x79b2d0]=_0x30e2a7[_0x79b2d0]);if(_0x30e2a7!=null&&typeof Object[_0x5c1982(0x83)]==_0x5c1982(0x14a)){for(var _0x408eae=0x0,_0x79b2d0=Object['getOwnPropertySymbols'](_0x30e2a7);_0x408eae<_0x79b2d0[_0x5c1982(0x11b)];_0x408eae++)_0x55b603[_0x5c1982(0xfc)](_0x79b2d0[_0x408eae])<0x0&&Object[_0x5c1982(0x9d)][_0x5c1982(0x167)][_0x5c1982(0x12c)](_0x30e2a7,_0x79b2d0[_0x408eae])&&(_0x45c69a[_0x79b2d0[_0x408eae]]=_0x30e2a7[_0x79b2d0[_0x408eae]]);}return _0x45c69a;},F=_0x523c89(function(_0x28b882,_0x35f769){var _0x140c02=_0x18b954,_0x52c83c=_0x28b882[_0x140c02(0xcd)],_0x1be505=_0x28b882['id'],_0x27750e=_0x28b882['className'],_0x3ffa9e=_0x28b882['extend'],_0x32b699=Oe(_0x28b882,['icon','id',_0x140c02(0xf2),_0x140c02(0xa3)]),_0x36224e='univerjs-icon\x20univerjs-icon-'[_0x140c02(0x72)](_0x1be505,'\x20')['concat'](_0x27750e||'')[_0x140c02(0x154)](),_0x36e060=_0x21626b('_'[_0x140c02(0x72)](Ke()));return Q(_0x52c83c,''[_0x140c02(0x72)](_0x1be505),{'defIds':_0x52c83c[_0x140c02(0x10e)],'idSuffix':_0x36e060[_0x140c02(0xa9)]},v({'ref':_0x35f769,'className':_0x36224e},_0x32b699),_0x3ffa9e);});function Q(_0x47cc60,_0x12cd9b,_0x73a555,_0x508235,_0x4c4d3d){var _0x1a0652=_0x18b954;return _0x3eeede(_0x47cc60[_0x1a0652(0x162)],v(v({'key':_0x12cd9b},we(_0x47cc60,_0x73a555,_0x4c4d3d)),_0x508235),(De(_0x47cc60,_0x73a555)[_0x1a0652(0x97)]||[])['map'](function(_0x31fe24,_0x3f816a){var _0x35f089=_0x1a0652;return Q(_0x31fe24,''[_0x35f089(0x72)](_0x12cd9b,'-')[_0x35f089(0x72)](_0x47cc60['tag'],'-')['concat'](_0x3f816a),_0x73a555,void 0x0,_0x4c4d3d);}));}function we(_0x2afd6f,_0x26f9d9,_0x9adf95){var _0x325ee7=_0x18b954,_0x2a47c4=v({},_0x2afd6f['attrs']);_0x9adf95!=null&&_0x9adf95[_0x325ee7(0xa4)]&&_0x2a47c4[_0x325ee7(0x12b)]===_0x325ee7(0xa4)&&(_0x2a47c4['fill']=_0x9adf95['colorChannel1']),_0x2afd6f[_0x325ee7(0x162)]===_0x325ee7(0x102)&&_0x2a47c4['id']&&(_0x2a47c4['id']=_0x2a47c4['id']+_0x26f9d9[_0x325ee7(0xa5)]),Object['entries'](_0x2a47c4)['forEach'](function(_0x4c4cdf){var _0x15b44c=_0x325ee7,_0x1cf7aa=_0x4c4cdf[0x0],_0x4a9bd7=_0x4c4cdf[0x1];_0x1cf7aa==='mask'&&typeof _0x4a9bd7=='string'&&(_0x2a47c4[_0x1cf7aa]=_0x4a9bd7[_0x15b44c(0xab)](/url\(#(.*)\)/,_0x15b44c(0xfe)[_0x15b44c(0x72)](_0x26f9d9[_0x15b44c(0xa5)],')')));});var _0x48d1cd=_0x26f9d9[_0x325ee7(0x10e)];return!_0x48d1cd||_0x48d1cd['length']===0x0||(_0x2afd6f[_0x325ee7(0x162)]===_0x325ee7(0x88)&&_0x2a47c4[_0x325ee7(0xda)]&&(_0x2a47c4[_0x325ee7(0xda)]=_0x2a47c4[_0x325ee7(0xda)]+_0x26f9d9['idSuffix']),Object['entries'](_0x2a47c4)[_0x325ee7(0xb2)](function(_0x2f3427){var _0x467377=_0x325ee7,_0x57c504=_0x2f3427[0x0],_0x1c95f2=_0x2f3427[0x1];typeof _0x1c95f2==_0x467377(0x9c)&&(_0x2a47c4[_0x57c504]=_0x1c95f2[_0x467377(0xab)](/url\(#(.*)\)/,_0x467377(0xfe)[_0x467377(0x72)](_0x26f9d9[_0x467377(0xa5)],')')));})),_0x2a47c4;}function De(_0x114c3e,_0x5bde3f){var _0x4d8065=_0x18b954,_0x1b46d1,_0x639495=_0x5bde3f[_0x4d8065(0x10e)];return!_0x639495||_0x639495[_0x4d8065(0x11b)]===0x0?_0x114c3e:_0x114c3e[_0x4d8065(0x162)]===_0x4d8065(0xa8)&&(!((_0x1b46d1=_0x114c3e[_0x4d8065(0x97)])===null||_0x1b46d1===void 0x0)&&_0x1b46d1[_0x4d8065(0x11b)])?v(v({},_0x114c3e),{'children':_0x114c3e[_0x4d8065(0x97)]['map'](function(_0x406112){var _0x88fcb5=_0x4d8065;return typeof _0x406112['attrs']['id']==_0x88fcb5(0x9c)&&_0x639495&&_0x639495[_0x88fcb5(0x170)](_0x406112[_0x88fcb5(0xb6)]['id'])?v(v({},_0x406112),{'attrs':v(v({},_0x406112[_0x88fcb5(0xb6)]),{'id':_0x406112[_0x88fcb5(0xb6)]['id']+_0x5bde3f[_0x88fcb5(0xa5)]})}):_0x406112;})}):_0x114c3e;}function Ke(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}F['displayName']=_0x18b954(0x156);var $e={'tag':_0x18b954(0x11f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x18b954(0xa2)},'children':[{'tag':'g','attrs':{'clipPath':_0x18b954(0x12d)},'children':[{'tag':_0x18b954(0x16b),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x18b954(0x94),'strokeLinejoin':_0x18b954(0x94),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x18b954(0x140)},'children':[{'tag':_0x18b954(0x16b),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Z=_0x523c89(function(_0x32c6e0,_0x27cbd9){var _0x5c55c0=_0x18b954;return _0x3eeede(F,Object['assign']({},_0x32c6e0,{'id':_0x5c55c0(0xff),'ref':_0x27cbd9,'icon':$e}));});Z[_0x18b954(0x115)]=_0x18b954(0xb5);var Ae={'tag':'svg','attrs':{'xmlns':_0x18b954(0xd8),'fill':_0x18b954(0x73),'viewBox':_0x18b954(0x75),'width':_0x18b954(0xa2),'height':_0x18b954(0xa2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x18b954(0x157),'d':_0x18b954(0xd3),'strokeLinecap':_0x18b954(0x94),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x18b954(0xa8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x18b954(0x113)},'children':[{'tag':_0x18b954(0x16b),'attrs':{'fill':_0x18b954(0xbe),'d':'M0\x200H16V16H0z','transform':_0x18b954(0x105)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},$=_0x523c89(function(_0x3bede9,_0x325c32){var _0x173fb8=_0x18b954;return _0x3eeede(F,Object['assign']({},_0x3bede9,{'id':_0x173fb8(0x81),'ref':_0x325c32,'icon':Ae}));});$[_0x18b954(0x115)]=_0x18b954(0x8e);function ee(_0x5b07fb,_0x51ab73){var _0x4def0a=_0x18b954;switch(_0x5b07fb){case _0x3261f5[_0x4def0a(0xed)]:return _0x51ab73===_0x4270eb['MISSING_API_KEY']?_0x4def0a(0xf8):_0x4def0a(0x114);case _0x3261f5['CONNECTING']:return'mcpStatus.connecting';case _0x3261f5[_0x4def0a(0x134)]:return _0x4def0a(0x153);case _0x3261f5[_0x4def0a(0x13a)]:switch(_0x51ab73){case _0x4270eb[_0x4def0a(0xb1)]:return _0x4def0a(0x104);case _0x4270eb['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case _0x4270eb['NETWORK_ERROR']:return _0x4def0a(0xd5);case _0x4270eb[_0x4def0a(0x12f)]:return _0x4def0a(0x173);default:return'mcpStatus.failed';}case _0x3261f5[_0x4def0a(0xde)]:return'mcpStatus.retrying';default:return _0x4def0a(0xd4);}}function Te(_0x1c0c2d,_0x28aa2a,_0x39dbf2){var _0x43a689=_0x18b954;const _0x188e9e=ee(_0x1c0c2d,_0x28aa2a),_0x41f7da=_0x39dbf2['t'](_0x188e9e);return _0x1c0c2d===_0x3261f5['DISCONNECTED']&&_0x28aa2a===_0x4270eb[_0x43a689(0xa0)]?_0x41f7da+_0x43a689(0xb8)+_0x39dbf2['t'](_0x43a689(0x89)):_0x1c0c2d===_0x3261f5[_0x43a689(0x134)]?_0x41f7da+_0x43a689(0xb8)+_0x39dbf2['t'](_0x43a689(0xe1)):_0x1c0c2d===_0x3261f5[_0x43a689(0xed)]||_0x1c0c2d===_0x3261f5[_0x43a689(0x13a)]?_0x41f7da+_0x43a689(0xb8)+_0x39dbf2['t'](_0x43a689(0x159)):_0x41f7da;}function ke(_0x3e61f3){var _0x541ca7=_0x18b954;switch(_0x3e61f3){case _0x3261f5[_0x541ca7(0x134)]:return _0x541ca7(0x8d);case _0x3261f5[_0x541ca7(0xe4)]:case _0x3261f5['RETRYING']:return'univer-text-yellow-500';case _0x3261f5[_0x541ca7(0x13a)]:case _0x3261f5[_0x541ca7(0xed)]:return _0x541ca7(0xe9);default:return _0x541ca7(0xcc);}}function je(_0x2d9bcb){var _0x30a8ff=_0x18b954;const {status$:_0x195e82,error$:_0x2744d0,onConnect:_0x440b99,onDisconnect:_0x5bdc67,onConfigure:_0x40bf55}=_0x2d9bcb,_0x1d3f27=_0x2b82ce(_0x195e82,_0x3261f5['DISCONNECTED']),_0x4da1f6=_0x2b82ce(_0x2744d0,_0x4270eb['NONE']),_0x1645dc=_0x44da42(_0x1cc567),_0x2432c1=_0x1d3f27===_0x3261f5[_0x30a8ff(0x134)],_0x5b4b74=_0x1d3f27===_0x3261f5[_0x30a8ff(0xe4)]||_0x1d3f27===_0x3261f5['RETRYING'],_0x1c2855=_0x1645dc['t'](ee(_0x1d3f27,_0x4da1f6)),_0x943a39=Te(_0x1d3f27,_0x4da1f6,_0x1645dc),_0x5409d2=ke(_0x1d3f27),_0x3a05cf=_0x2432c1?_0x42796a($,{}):_0x5b4b74?_0x42796a($,{'className':_0x30a8ff(0x130)}):_0x42796a(Z,{}),_0x2382e0=_0x4dad47(()=>{_0x40bf55?_0x40bf55():_0x2432c1&&_0x5bdc67?_0x5bdc67():!_0x5b4b74&&_0x440b99&&_0x440b99();},[_0x2432c1,_0x5b4b74,_0x440b99,_0x5bdc67,_0x40bf55]),_0x45dde2=_0x40bf55||_0x2432c1&&_0x5bdc67||!_0x5b4b74&&_0x440b99;return _0x42796a(_0x75055,{'title':_0x943a39,'placement':'bottom','children':_0x14e4ab(_0x30a8ff(0x7f),{'className':_0x137af3(_0x30a8ff(0x9e),_0x5409d2,_0x45dde2&&_0x30a8ff(0x87)),'onClick':_0x45dde2?_0x2382e0:void 0x0,'children':[_0x3a05cf,_0x42796a(_0x30a8ff(0x120),{'className':'univer-hidden\x20sm:univer-inline','children':_0x1c2855})]})});}function _0x3f04(){var _0x314f2e=['Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','asObservable','CONNECTED','_loading$','isValid','9DYxtdm','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-text-white','FAILED','保存配置','Save\x20Configuration','_initConfigSync','defineProperty','Configure\x20your\x20MCP\x20connection\x20settings','off-line-icon_clip0_910_343','Configuration\x20saved\x20successfully','MCP\x20Disconnected','Error','mcpServerEndpoint','点击断开\x20MCP','Success','univer-font-medium','connectionStatus$','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','function','showConfigPanel','_handleConfigSave','hasOwnProperty','_initRealConnectionListener','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','updateStatus','code','mcpConfig.validation.invalidApiKey','mcpStatus.connected','trim','getConfig','UniverIcon','currentColor','MCP\x20Connecting...','mcpStatus.clickToConnect','showDeveloperTools','warn','mcpConfig.title','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','connect','mcpConfig.connectionInfo','_initializeCommands','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','tag','off','MCP\x20Unknown\x20Status','show','MCP\x20Connected','propertyIsEnumerable','MCP\x20状态未知','MCP\x20Configuration','error','path','mcpConfig.configSaved','setConfig','subscribe','515540VPIaNB','includes','mcpConfig.validation.apiKeyTooShort','MCP\x20Retrying...','mcpStatus.maxRetriesExceeded','mcpConfig.note2','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','concat','none','add','0\x200\x2017\x2016','_menuManagerService','symbol','_localStorageService','setItem','assign','univer-flex\x20univer-items-start\x20univer-gap-3','Click\x20to\x20disconnect\x20MCP','MCPConfigPanel','_commandService','div','univer-flex\x20univer-gap-3','on-line-icon','MCP:\x20无效的\x20API\x20密钥','getOwnPropertySymbols','OTHERS','Max\x20Retries','_componentManager','\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','use','mcpStatus.clickToConfigure','配置更改将立即生效','161YgoFdB','请输入您的\x20API\x20密钥','univer-text-green-500','OnLineIcon','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','MCP:\x20Network\x20Error','mcpConfig.sessionId','disposeWithMe','API\x20密钥无效,请检查密钥是否正确','round','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20重连中...','children','mcpConfig.configError','Enable\x20authentication\x20for\x20secure\x20connections','load','_logService','string','prototype','univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-px-2\x20univer-py-1\x20univer-text-sm','_handleDisconnect','MISSING_API_KEY','MCP\x20已断开','1em','extend','colorChannel1','idSuffix','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','最大重试次数','defs','current','53224xxRKaT','replace','mcp-ui.config','_uiPartsService','MCP\x20连接失败','_configService','registerComponent','INVALID_API_KEY','forEach','API\x20key\x20is\x20required','univer-space-y-5','OffLineIcon','attrs','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','\x20-\x20','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.validation.invalidConfig','univer-text-sm\x20univer-text-gray-500','[MCPConnectionUI]\x20Failed\x20to\x20get\x20connection\x20controller:','_validateConfig','white','univer-space-y-3','value','register','ws://127.0.0.1:5001/mcp-server-api/ws','COMMAND','_initializeMenus','univer-min-w-0\x20univer-flex-1','get','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','_status$','102HtfVKV','_injector','Click\x20to\x20configure\x20MCP','univer-text-gray-500','icon','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','sessionId','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','getOwnPropertyDescriptor','close','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','mcpStatus.unknown','mcpStatus.networkError','Connection\x20Information','_config$','http://www.w3.org/2000/svg','Session\x20ID','xlink:href','MCP:\x20缺少\x20API\x20密钥','134628ZimlKJ','errorMessage','RETRYING','_config','mcpConfig.note1','mcpStatus.clickToDisconnect','mcp-config-dialog','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','CONNECTING','_localeService','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-green-500','text','getStatus$','univer-text-red-500','mcpConfig.apiKeyPlaceholder','Click\x20to\x20connect\x20MCP','univer-text-xs\x20univer-text-gray-500','DISCONNECTED','配置您的\x20MCP\x20连接设置','disconnect','apply','MCP\x20连接中...','className','Saving...','API\x20Key','getItem','配置保存失败','Invalid\x20configuration','mcpStatus.missingApiKey','_initFallbackEventListener','_error$','getConnectionError','indexOf','subscribeConfigValue$','url(#$1','off-line-icon','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','next','mask','_mcpCoreConfig$','mcpStatus.invalidApiKey','translate(.97)','您的\x20API\x20密钥安全存储在本地存储中','_createConfigPanelComponent','34400baQnid','315248ZPKxpx','validateApiKey','API\x20密钥','连接信息','apiKey','defIds','_registerComponent','getError$','pluginName','_dialogService','on-line-icon_clip0_910_349','mcpStatus.disconnected','displayName','_handleConnect','BUTTON','3322070CXnSnd','registerCommand','NONE','length','mcpConfig.serverEndpoint','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','connectionError$','svg','span','[MCPConnectionUI]\x20Could\x20not\x20connect\x20to\x20MCP\x20core\x20plugin,\x20falling\x20back\x20to\x20config\x20monitoring:','_loadStoredApiKey','_handleConfigure','点击连接\x20MCP','MCP:\x20网络错误','_messageService','配置保存成功','mergeMenu','MCP:\x20Session\x20Occupied','219853myWBvT','fill','call','url(#off-line-icon_clip0_910_343)','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MAX_RETRIES_EXCEEDED','univer-animate-spin\x20univer-opacity-60'];_0x3f04=function(){return _0x314f2e;};return _0x3f04();}var Re=Object[_0x18b954(0xd1)],Le=(_0x330432,_0x1efa14,_0x5731ae,_0x2265c4)=>{var _0x30215a=_0x18b954;for(var _0x235f2d=_0x2265c4>0x1?void 0x0:_0x2265c4?Re(_0x1efa14,_0x5731ae):_0x1efa14,_0x2ea0b8=_0x330432[_0x30215a(0x11b)]-0x1,_0x76f238;_0x2ea0b8>=0x0;_0x2ea0b8--)(_0x76f238=_0x330432[_0x2ea0b8])&&(_0x235f2d=_0x76f238(_0x235f2d)||_0x235f2d);return _0x235f2d;},P=(_0x1f2052,_0x8098b3)=>(_0x40da8e,_0x5a058a)=>_0x8098b3(_0x40da8e,_0x5a058a,_0x1f2052);let x=class extends _0x1d7a10{constructor(_0x491740,_0x19a921,_0x50d26e,_0x5465ea){var _0x2e07a9=_0x18b954;super(),C(this,_0x2e07a9(0xc8),new _0x1c6526(_0x3261f5[_0x2e07a9(0xed)])),C(this,_0x2e07a9(0xfa),new _0x1c6526(_0x4270eb['NONE'])),(this[_0x2e07a9(0xca)]=_0x491740,this[_0x2e07a9(0xad)]=_0x19a921,this[_0x2e07a9(0xaf)]=_0x50d26e,this['_logService']=_0x5465ea,this['_initStatusComponent'](),this[_0x2e07a9(0x14e)]());}[_0x18b954(0xe8)](){var _0x1907d9=_0x18b954;return this['_status$'][_0x1907d9(0x133)]();}[_0x18b954(0x110)](){var _0x4336b9=_0x18b954;return this[_0x4336b9(0xfa)][_0x4336b9(0x133)]();}[_0x18b954(0x150)](_0x505091,_0x2505d0=_0x4270eb[_0x18b954(0x11a)]){var _0x1819d2=_0x18b954;this[_0x1819d2(0xc8)][_0x1819d2(0xc0)]!==_0x505091&&this[_0x1819d2(0xc8)][_0x1819d2(0x101)](_0x505091),this['_error$'][_0x1819d2(0xc0)]!==_0x2505d0&&this['_error$'][_0x1819d2(0x101)](_0x2505d0);}['_initStatusComponent'](){var _0x383d7a=_0x18b954;this['disposeWithMe'](this['_uiPartsService'][_0x383d7a(0xb0)](_0x1fa0bb['HEADER_MENU'],()=>_0x26e18f(Ue({'status$':this[_0x383d7a(0xc8)]['asObservable'](),'error$':this[_0x383d7a(0xfa)][_0x383d7a(0x133)](),'onConnect':()=>this['_handleConnect'](),'onDisconnect':()=>this[_0x383d7a(0x9f)](),'onConfigure':()=>this['_handleConfigure']()}),this[_0x383d7a(0xca)])));}[_0x18b954(0x14e)](){var _0x5bd70e=_0x18b954;try{const _0x3a5862=this[_0x5bd70e(0xca)]['get'](_0x4be806);this[_0x5bd70e(0x92)](_0x3a5862[_0x5bd70e(0x148)][_0x5bd70e(0x16e)](_0x23be41=>{var _0x2cfea9=_0x5bd70e;this[_0x2cfea9(0xc8)][_0x2cfea9(0x101)](_0x23be41);})),this[_0x5bd70e(0x92)](_0x3a5862[_0x5bd70e(0x11e)]['subscribe'](_0x1678f9=>{var _0x32890c=_0x5bd70e;this['_error$'][_0x32890c(0x101)](_0x1678f9);})),this['_status$'][_0x5bd70e(0x101)](_0x3a5862['getConnectionStatus']()),this[_0x5bd70e(0xfa)][_0x5bd70e(0x101)](_0x3a5862[_0x5bd70e(0xfb)]());}catch(_0x1805e5){this[_0x5bd70e(0x9b)][_0x5bd70e(0x15b)](_0x5bd70e(0x121),_0x1805e5),this['_initFallbackEventListener']();}}[_0x18b954(0xf9)](){var _0x1b1367=_0x18b954;this['disposeWithMe'](this[_0x1b1367(0xaf)][_0x1b1367(0xfd)](_0x4973a4)['subscribe'](_0xd3d71b=>{var _0x11b306=_0x1b1367;_0xd3d71b!=null&&_0xd3d71b[_0x11b306(0x10d)]?this['_status$'][_0x11b306(0xc0)]===_0x3261f5[_0x11b306(0xed)]&&this[_0x11b306(0xfa)][_0x11b306(0xc0)]===_0x4270eb[_0x11b306(0xa0)]&&this[_0x11b306(0x150)](_0x3261f5[_0x11b306(0xed)],_0x4270eb[_0x11b306(0x11a)]):this[_0x11b306(0x150)](_0x3261f5['DISCONNECTED'],_0x4270eb[_0x11b306(0xa0)]);}));const _0x1f8abc=this[_0x1b1367(0xaf)]['getConfig'](_0x4973a4);_0x1f8abc!=null&&_0x1f8abc['apiKey']||this[_0x1b1367(0x150)](_0x3261f5['DISCONNECTED'],_0x4270eb[_0x1b1367(0xa0)]);}[_0x18b954(0x116)](){var _0x5abc0e=_0x18b954;try{this[_0x5abc0e(0xca)][_0x5abc0e(0xc6)](_0x4be806)[_0x5abc0e(0x15e)]();}catch(_0x2fe368){this[_0x5abc0e(0x9b)]['error'](_0x5abc0e(0xbc),_0x2fe368);const _0x20a9cd=this[_0x5abc0e(0xaf)][_0x5abc0e(0x155)](_0x4973a4);if(!_0x20a9cd||!_0x20a9cd[_0x5abc0e(0x10d)]){this[_0x5abc0e(0x150)](_0x3261f5[_0x5abc0e(0xed)],_0x4270eb[_0x5abc0e(0xa0)]);return;}this[_0x5abc0e(0x150)](_0x3261f5['CONNECTING']);}}[_0x18b954(0x9f)](){var _0x45cef9=_0x18b954;try{this[_0x45cef9(0xca)][_0x45cef9(0xc6)](_0x4be806)[_0x45cef9(0xef)]();}catch(_0x573807){this[_0x45cef9(0x9b)]['error'](_0x45cef9(0xbc),_0x573807),this[_0x45cef9(0x150)](_0x3261f5[_0x45cef9(0xed)]);}}[_0x18b954(0x123)](){var _0x14f338=_0x18b954;this[_0x14f338(0xca)][_0x14f338(0xc6)](S)[_0x14f338(0x14b)]();}};x=Le([P(0x0,_0x10bf36(_0x48abb6)),P(0x1,_0x37c99c),P(0x2,_0x3aa9b6),P(0x3,_0x1ed053)],x);function Ue(_0x31d52b){const {status$:_0x39c6ff,error$:_0x4e157b,onConnect:_0x157452,onDisconnect:_0x3a811a,onConfigure:_0xd8e18a}=_0x31d52b;return function(){return _0x42796a(je,{'status$':_0x39c6ff,'error$':_0x4e157b,'onConnect':_0x157452,'onDisconnect':_0x3a811a,'onConfigure':_0xd8e18a});};}function Ge(_0x25c34a){var _0x14f2dc=_0x18b954;return{'id':G['id'],'type':_0x21d199[_0x14f2dc(0x117)],'icon':'MenuIcon','title':_0x14f2dc(0x15c),'tooltip':_0x14f2dc(0x15c)};}const Fe={[_0x2b2294[_0x18b954(0x84)]]:{[G['id']]:{'order':0xa,'menuItemFactory':Ge}}};var Ye=Object[_0x18b954(0xd1)],Ve=(_0x1715a6,_0x3ff90a,_0x2a6fa9,_0x46dd79)=>{var _0x25c9ee=_0x18b954;for(var _0x4aa066=_0x46dd79>0x1?void 0x0:_0x46dd79?Ye(_0x3ff90a,_0x2a6fa9):_0x3ff90a,_0x199c71=_0x1715a6[_0x25c9ee(0x11b)]-0x1,_0x30a02b;_0x199c71>=0x0;_0x199c71--)(_0x30a02b=_0x1715a6[_0x199c71])&&(_0x4aa066=_0x30a02b(_0x4aa066)||_0x4aa066);return _0x4aa066;},W=(_0x104656,_0x3f2cd3)=>(_0x6c6e3c,_0xecae4d)=>_0x3f2cd3(_0x6c6e3c,_0xecae4d,_0x104656);let b=class extends _0x1d7a10{constructor(_0xcab506,_0x291ddf){var _0x58e142=_0x18b954;super(),this[_0x58e142(0x7e)]=_0xcab506,this[_0x58e142(0x76)]=_0x291ddf,this[_0x58e142(0x160)](),this[_0x58e142(0xc4)]();}[_0x18b954(0x160)](){[G]['forEach'](_0x1098cb=>{var _0x406228=_0x29ae;this['disposeWithMe'](this[_0x406228(0x7e)][_0x406228(0x119)](_0x1098cb));});}[_0x18b954(0xc4)](){var _0x4ebec7=_0x18b954;this[_0x4ebec7(0x76)][_0x4ebec7(0x128)](Fe);}};b=Ve([W(0x0,_0x110d41),W(0x1,_0x4effab)],b);const He={'mcpStatus':{'disconnected':_0x18b954(0x142),'connecting':_0x18b954(0x158),'connected':_0x18b954(0x166),'failed':'MCP\x20Connection\x20Failed','retrying':_0x18b954(0x172),'unknown':_0x18b954(0x164),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x18b954(0x129),'networkError':_0x18b954(0x90),'maxRetriesExceeded':_0x18b954(0x132),'clickToConnect':_0x18b954(0xeb),'clickToDisconnect':_0x18b954(0x7c),'clickToConfigure':_0x18b954(0xcb)},'mcpConfig':{'title':_0x18b954(0x169),'description':_0x18b954(0x13f),'apiKey':_0x18b954(0xf4),'apiKeyPlaceholder':_0x18b954(0x131),'apiKeyHint':_0x18b954(0x12e),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x18b954(0x99),'connectionInfo':_0x18b954(0xd6),'serverEndpoint':'Server\x20Endpoint','sessionId':_0x18b954(0xd9),'maxRetries':_0x18b954(0x85),'save':_0x18b954(0x13c),'saving':_0x18b954(0xf3),'note1':_0x18b954(0xa6),'note2':_0x18b954(0xc7),'configSaved':_0x18b954(0x141),'configError':'Failed\x20to\x20save\x20configuration','validation':{'apiKeyRequired':_0x18b954(0xb3),'apiKeyTooShort':_0x18b954(0xe3),'invalidConfig':_0x18b954(0xf7),'invalidApiKey':_0x18b954(0x161)}}},We={'mcpStatus':{'disconnected':_0x18b954(0xa1),'connecting':_0x18b954(0xf1),'connected':'MCP\x20已连接','failed':_0x18b954(0xae),'retrying':_0x18b954(0x96),'unknown':_0x18b954(0x168),'missingApiKey':_0x18b954(0xdb),'invalidApiKey':_0x18b954(0x82),'sessionOccupied':'MCP:\x20会话被占用','networkError':_0x18b954(0x125),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x18b954(0x124),'clickToDisconnect':_0x18b954(0x145),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':'MCP\x20配置','description':_0x18b954(0xee),'apiKey':_0x18b954(0x10b),'apiKeyPlaceholder':_0x18b954(0x8c),'apiKeyHint':_0x18b954(0x95),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x18b954(0x10c),'serverEndpoint':'服务器端点','sessionId':'会话ID','maxRetries':_0x18b954(0xa7),'save':_0x18b954(0x13b),'saving':'保存中...','note1':_0x18b954(0x8a),'note2':_0x18b954(0x106),'configSaved':_0x18b954(0x127),'configError':_0x18b954(0xf6),'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':_0x18b954(0x93)}}};function _0x29ae(_0xfaae88,_0x403e35){var _0x3f04b5=_0x3f04();return _0x29ae=function(_0x29ae7d,_0x28e227){_0x29ae7d=_0x29ae7d-0x72;var _0x44bf17=_0x3f04b5[_0x29ae7d];return _0x44bf17;},_0x29ae(_0xfaae88,_0x403e35);}var ze=Object[_0x18b954(0x13e)],Be=Object[_0x18b954(0xd1)],qe=(_0x16d48b,_0x26cac5,_0x556000)=>_0x26cac5 in _0x16d48b?ze(_0x16d48b,_0x26cac5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x556000}):_0x16d48b[_0x26cac5]=_0x556000,Xe=(_0x4f5ca8,_0x4d26e1,_0x1aae52,_0x91f8cb)=>{var _0x2ccd69=_0x18b954;for(var _0x5e4b9a=_0x91f8cb>0x1?void 0x0:_0x91f8cb?Be(_0x4d26e1,_0x1aae52):_0x4d26e1,_0xe8641e=_0x4f5ca8[_0x2ccd69(0x11b)]-0x1,_0x481d71;_0xe8641e>=0x0;_0xe8641e--)(_0x481d71=_0x4f5ca8[_0xe8641e])&&(_0x5e4b9a=_0x481d71(_0x5e4b9a)||_0x5e4b9a);return _0x5e4b9a;},y=(_0x24f47d,_0x59f98c)=>(_0x173aa5,_0x271336)=>_0x59f98c(_0x173aa5,_0x271336,_0x24f47d),Je=(_0x139bcc,_0x45394b,_0x7905ac)=>qe(_0x139bcc,_0x45394b+'',_0x7905ac);let A=class extends _0x48b334{constructor(_0x323d58=H,_0x4545d1,_0x110fa8,_0x6538ce,_0x2e1fbf,_0x2b74b6){var _0x13fca0=_0x18b954;super(),this['_config']=_0x323d58,this[_0x13fca0(0xca)]=_0x4545d1,this['_configService']=_0x110fa8,this['_uiPartsService']=_0x6538ce,this['_localStorageService']=_0x2e1fbf,this['_localeService']=_0x2b74b6;const {..._0x159eca}=_0x121b24({},H,this[_0x13fca0(0xdf)]);this['_configService']['setConfig'](K,_0x159eca),this[_0x13fca0(0xe5)][_0x13fca0(0x9a)]({'zhCN':We,'enUS':He});}async['onStarting'](){var _0x12d1e5=_0x18b954;[[x],[S],[b]][_0x12d1e5(0xb2)](_0x1ecdb5=>this[_0x12d1e5(0xca)][_0x12d1e5(0x74)](_0x1ecdb5)),this['_injector']['get'](x),this[_0x12d1e5(0xca)][_0x12d1e5(0xc6)](S),this[_0x12d1e5(0xca)][_0x12d1e5(0xc6)](b);}};Je(A,_0x18b954(0x111),'MCP_UI_PLUGIN'),A=Xe([_0x597ce7(_0xe91f0c),y(0x1,_0x10bf36(_0x48abb6)),y(0x2,_0x3aa9b6),y(0x3,_0x37c99c),y(0x4,_0xaed26f),y(0x5,_0x10bf36(_0x1cc567))],A);export{be as MCPConfigPanel,S as MCPConfigUIController,x as MCPConnectionUIController,je as MCPStatusDisplay,b as MCPUIMenuController,G as OpenMCPConfigPanelCommand,A as UniverMCPUIPlugin,He as enUS,We as zhCN};
|
|
1
|
+
var _0x1f6754=_0x12b9;(function(_0x5975bd,_0x19c269){var _0x5d96a0=_0x12b9,_0x8414f0=_0x5975bd();while(!![]){try{var _0xd8711a=parseInt(_0x5d96a0(0x23a))/0x1*(parseInt(_0x5d96a0(0x194))/0x2)+-parseInt(_0x5d96a0(0x267))/0x3*(-parseInt(_0x5d96a0(0x1a0))/0x4)+-parseInt(_0x5d96a0(0x162))/0x5+parseInt(_0x5d96a0(0x28b))/0x6+parseInt(_0x5d96a0(0x1ff))/0x7+parseInt(_0x5d96a0(0x1d9))/0x8+-parseInt(_0x5d96a0(0x21d))/0x9*(parseInt(_0x5d96a0(0x1ad))/0xa);if(_0xd8711a===_0x19c269)break;else _0x8414f0['push'](_0x8414f0['shift']());}catch(_0x4c9065){_0x8414f0['push'](_0x8414f0['shift']());}}}(_0x2cf3,0x9eedb));var Se=Object[_0x1f6754(0x166)],xe=(_0x1337ae,_0x24c14d,_0x54d42e)=>_0x24c14d in _0x1337ae?Se(_0x1337ae,_0x24c14d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54d42e}):_0x1337ae[_0x24c14d]=_0x54d42e,N=(_0x3aa700,_0x4a03db,_0x519e33)=>xe(_0x3aa700,typeof _0x4a03db!=_0x1f6754(0x185)?_0x4a03db+'':_0x4a03db,_0x519e33);import{LocaleService as _0x3a6e68,Inject as _0x168537,Injector as _0x35562b,IConfigService as _0x479cf5,ILocalStorageService as _0x9008f1,ILogService as _0x282e34,Disposable as _0x3795db,CommandType as _0x427252,ICommandService as _0x1cf2e4,DependentOn as _0x5d8337,Plugin as _0x331c1d,merge as _0x509d2b}from'@univerjs/core';import{jsxs as _0x45cd34,jsx as _0x132941}from'react/jsx-runtime';import{MCPConnectionStatus as _0xc322cc,MCPConnectionError as _0x64bacc,MCPConnectionController as _0x4b8235,MCP_PLUGIN_CONFIG_KEY as _0x14ee85,UniverMCPPlugin as _0x14392c}from'@univerjs-pro/mcp';import{Input as _0x5daca3,Button as _0x68c388,MessageType as _0x3922df,Tooltip as _0x3b2bb4,clsx as _0x4800bb}from'@univerjs/design';import{useDependency as _0x36454f,useObservable as _0x562084,IUIPartsService as _0x4f21f7,IDialogService as _0x3cd5f3,IMessageService as _0x266579,ComponentManager as _0x16ee23,connectInjector as _0x5e3fab,BuiltInUIPart as _0x56f7ac,MenuItemType as _0x1bcab4,RibbonStartGroup as _0x6f977a,IMenuManagerService as _0x25bf65}from'@univerjs/ui';import{BehaviorSubject as _0x18f2d8}from'rxjs';import{forwardRef as _0x19bdff,useRef as _0x3115f5,createElement as _0x491403,useState as _0x286f45,useCallback as _0x11b793}from'react';var d=function(){var _0x218fc8=_0x1f6754;return d=Object[_0x218fc8(0x29b)]||function(_0x4c9ffc){var _0x52ebae=_0x218fc8;for(var _0x3f27f0,_0x1a6597=0x1,_0x5f33e2=arguments[_0x52ebae(0x214)];_0x1a6597<_0x5f33e2;_0x1a6597++){_0x3f27f0=arguments[_0x1a6597];for(var _0x5c261d in _0x3f27f0)Object[_0x52ebae(0x1fb)][_0x52ebae(0x299)][_0x52ebae(0x22e)](_0x3f27f0,_0x5c261d)&&(_0x4c9ffc[_0x5c261d]=_0x3f27f0[_0x5c261d]);}return _0x4c9ffc;},d['apply'](this,arguments);},Ye=function(_0x56a3c1,_0x284c37){var _0x5db4cf=_0x1f6754,_0x2595f6={};for(var _0x2d7e97 in _0x56a3c1)Object[_0x5db4cf(0x1fb)][_0x5db4cf(0x299)][_0x5db4cf(0x22e)](_0x56a3c1,_0x2d7e97)&&_0x284c37[_0x5db4cf(0x1d8)](_0x2d7e97)<0x0&&(_0x2595f6[_0x2d7e97]=_0x56a3c1[_0x2d7e97]);if(_0x56a3c1!=null&&typeof Object[_0x5db4cf(0x1b7)]==_0x5db4cf(0x226)){for(var _0x337aa4=0x0,_0x2d7e97=Object[_0x5db4cf(0x1b7)](_0x56a3c1);_0x337aa4<_0x2d7e97[_0x5db4cf(0x214)];_0x337aa4++)_0x284c37[_0x5db4cf(0x1d8)](_0x2d7e97[_0x337aa4])<0x0&&Object[_0x5db4cf(0x1fb)][_0x5db4cf(0x29f)]['call'](_0x56a3c1,_0x2d7e97[_0x337aa4])&&(_0x2595f6[_0x2d7e97[_0x337aa4]]=_0x56a3c1[_0x2d7e97[_0x337aa4]]);}return _0x2595f6;},S=_0x19bdff(function(_0x18bb05,_0x4faff7){var _0x3f0f48=_0x1f6754,_0x3009d1=_0x18bb05[_0x3f0f48(0x1c9)],_0x34fc0c=_0x18bb05['id'],_0x42300e=_0x18bb05[_0x3f0f48(0x254)],_0x9ea48a=_0x18bb05[_0x3f0f48(0x207)],_0x1d7cae=Ye(_0x18bb05,['icon','id',_0x3f0f48(0x254),'extend']),_0x21b075=_0x3f0f48(0x273)['concat'](_0x34fc0c,'\x20')['concat'](_0x42300e||'')[_0x3f0f48(0x1e6)](),_0x3575a7=_0x3115f5('_'[_0x3f0f48(0x24a)](He()));return oe(_0x3009d1,''[_0x3f0f48(0x24a)](_0x34fc0c),{'defIds':_0x3009d1[_0x3f0f48(0x289)],'idSuffix':_0x3575a7[_0x3f0f48(0x211)]},d({'ref':_0x4faff7,'className':_0x21b075},_0x1d7cae),_0x9ea48a);});function _0x12b9(_0x14a339,_0x7b651a){var _0x2cf30e=_0x2cf3();return _0x12b9=function(_0x12b9be,_0x127832){_0x12b9be=_0x12b9be-0x157;var _0x554756=_0x2cf30e[_0x12b9be];return _0x554756;},_0x12b9(_0x14a339,_0x7b651a);}function oe(_0x6ba0c4,_0x215320,_0x1da08f,_0x499cc6,_0x18e0f2){var _0x514085=_0x1f6754;return _0x491403(_0x6ba0c4['tag'],d(d({'key':_0x215320},Ve(_0x6ba0c4,_0x1da08f,_0x18e0f2)),_0x499cc6),(Fe(_0x6ba0c4,_0x1da08f)[_0x514085(0x1ba)]||[])[_0x514085(0x255)](function(_0x506988,_0x3beb14){var _0x55848b=_0x514085;return oe(_0x506988,''['concat'](_0x215320,'-')[_0x55848b(0x24a)](_0x6ba0c4[_0x55848b(0x16a)],'-')[_0x55848b(0x24a)](_0x3beb14),_0x1da08f,void 0x0,_0x18e0f2);}));}function Ve(_0x5d2cad,_0x2b4036,_0x5d7cfb){var _0x2cf54a=_0x1f6754,_0x1e1e91=d({},_0x5d2cad[_0x2cf54a(0x28c)]);_0x5d7cfb!=null&&_0x5d7cfb[_0x2cf54a(0x1b4)]&&_0x1e1e91['fill']===_0x2cf54a(0x1b4)&&(_0x1e1e91[_0x2cf54a(0x234)]=_0x5d7cfb[_0x2cf54a(0x1b4)]),_0x5d2cad[_0x2cf54a(0x16a)]===_0x2cf54a(0x284)&&_0x1e1e91['id']&&(_0x1e1e91['id']=_0x1e1e91['id']+_0x2b4036['idSuffix']),Object[_0x2cf54a(0x1af)](_0x1e1e91)[_0x2cf54a(0x259)](function(_0x5da4e0){var _0x47b078=_0x2cf54a,_0x49ba04=_0x5da4e0[0x0],_0x50cfae=_0x5da4e0[0x1];_0x49ba04===_0x47b078(0x284)&&typeof _0x50cfae=='string'&&(_0x1e1e91[_0x49ba04]=_0x50cfae['replace'](/url\(#(.*)\)/,_0x47b078(0x200)['concat'](_0x2b4036[_0x47b078(0x29d)],')')));});var _0x357e22=_0x2b4036['defIds'];return!_0x357e22||_0x357e22[_0x2cf54a(0x214)]===0x0||(_0x5d2cad['tag']===_0x2cf54a(0x1ee)&&_0x1e1e91['xlink:href']&&(_0x1e1e91[_0x2cf54a(0x222)]=_0x1e1e91[_0x2cf54a(0x222)]+_0x2b4036[_0x2cf54a(0x29d)]),Object[_0x2cf54a(0x1af)](_0x1e1e91)[_0x2cf54a(0x259)](function(_0x2baf1d){var _0x1e23a8=_0x2cf54a,_0x1ab113=_0x2baf1d[0x0],_0x5d7aa9=_0x2baf1d[0x1];typeof _0x5d7aa9==_0x1e23a8(0x1ae)&&(_0x1e1e91[_0x1ab113]=_0x5d7aa9['replace'](/url\(#(.*)\)/,_0x1e23a8(0x200)[_0x1e23a8(0x24a)](_0x2b4036[_0x1e23a8(0x29d)],')')));})),_0x1e1e91;}function Fe(_0x55b15f,_0x594064){var _0x262734=_0x1f6754,_0x53839c,_0x61c658=_0x594064['defIds'];return!_0x61c658||_0x61c658[_0x262734(0x214)]===0x0?_0x55b15f:_0x55b15f[_0x262734(0x16a)]===_0x262734(0x16d)&&(!((_0x53839c=_0x55b15f[_0x262734(0x1ba)])===null||_0x53839c===void 0x0)&&_0x53839c['length'])?d(d({},_0x55b15f),{'children':_0x55b15f[_0x262734(0x1ba)][_0x262734(0x255)](function(_0x39bd0e){var _0x464f79=_0x262734;return typeof _0x39bd0e[_0x464f79(0x28c)]['id']==_0x464f79(0x1ae)&&_0x61c658&&_0x61c658[_0x464f79(0x20e)](_0x39bd0e[_0x464f79(0x28c)]['id'])?d(d({},_0x39bd0e),{'attrs':d(d({},_0x39bd0e[_0x464f79(0x28c)]),{'id':_0x39bd0e[_0x464f79(0x28c)]['id']+_0x594064[_0x464f79(0x29d)]})}):_0x39bd0e;})}):_0x55b15f;}function He(){var _0x472d02=_0x1f6754;return Math[_0x472d02(0x1d5)]()['toString'](0x24)[_0x472d02(0x17e)](0x2,0x8);}S[_0x1f6754(0x1df)]='UniverIcon';var We={'tag':_0x1f6754(0x1bb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x1f6754(0x217),'attrs':{'fill':_0x1f6754(0x227),'d':_0x1f6754(0x25f),'fillRule':_0x1f6754(0x247),'clipRule':_0x1f6754(0x247)}}]},ce=_0x19bdff(function(_0x41842e,_0x497ef0){var _0x15c306=_0x1f6754;return _0x491403(S,Object['assign']({},_0x41842e,{'id':_0x15c306(0x24c),'ref':_0x497ef0,'icon':We}));});ce[_0x1f6754(0x1df)]=_0x1f6754(0x187);var Be={'tag':_0x1f6754(0x1bb),'attrs':{'xmlns':_0x1f6754(0x1fe),'fill':_0x1f6754(0x201),'viewBox':'0\x200\x2017\x2017','width':_0x1f6754(0x1c5),'height':_0x1f6754(0x1c5)},'children':[{'tag':_0x1f6754(0x217),'attrs':{'stroke':_0x1f6754(0x227),'d':_0x1f6754(0x160),'strokeLinecap':_0x1f6754(0x29c),'strokeLinejoin':_0x1f6754(0x29c),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x1f6754(0x165),'strokeLinecap':_0x1f6754(0x29c),'strokeLinejoin':_0x1f6754(0x29c),'strokeWidth':1.33}}]},ae=_0x19bdff(function(_0xd6eb1e,_0x46cb8e){var _0x5aedd8=_0x1f6754;return _0x491403(S,Object[_0x5aedd8(0x29b)]({},_0xd6eb1e,{'id':'close-small-single','ref':_0x46cb8e,'icon':Be}));});ae[_0x1f6754(0x1df)]='CloseSmallSingle';var ze={'tag':_0x1f6754(0x1bb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1f6754(0x18f),'width':_0x1f6754(0x1c5),'height':_0x1f6754(0x1c5)},'children':[{'tag':_0x1f6754(0x217),'attrs':{'fill':_0x1f6754(0x227),'d':_0x1f6754(0x24f)}},{'tag':'path','attrs':{'fill':_0x1f6754(0x227),'d':_0x1f6754(0x27d)}},{'tag':'path','attrs':{'fill':_0x1f6754(0x227),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x1f6754(0x247),'clipRule':_0x1f6754(0x247)}}]},se=_0x19bdff(function(_0xdd29ad,_0x301da7){var _0x5e70b0=_0x1f6754;return _0x491403(S,Object['assign']({},_0xdd29ad,{'id':_0x5e70b0(0x188),'ref':_0x301da7,'icon':ze}));});se[_0x1f6754(0x1df)]='HelpSingle';var qe={'tag':_0x1f6754(0x1bb),'attrs':{'xmlns':_0x1f6754(0x1fe),'fill':_0x1f6754(0x201),'viewBox':_0x1f6754(0x18f),'width':_0x1f6754(0x1c5),'height':_0x1f6754(0x1c5)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f6754(0x1db)},'children':[{'tag':_0x1f6754(0x217),'attrs':{'stroke':_0x1f6754(0x227),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1f6754(0x29c),'strokeLinejoin':_0x1f6754(0x29c),'strokeWidth':1.2}}]},{'tag':_0x1f6754(0x16d),'attrs':{},'children':[{'tag':_0x1f6754(0x1aa),'attrs':{'id':_0x1f6754(0x1b6)},'children':[{'tag':'path','attrs':{'fill':_0x1f6754(0x1ce),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},le=_0x19bdff(function(_0x2eab01,_0x38daeb){var _0x56da5b=_0x1f6754;return _0x491403(S,Object[_0x56da5b(0x29b)]({},_0x2eab01,{'id':'off-line-icon','ref':_0x38daeb,'icon':qe}));});le[_0x1f6754(0x1df)]=_0x1f6754(0x242);var Ze={'tag':_0x1f6754(0x1bb),'attrs':{'xmlns':_0x1f6754(0x1fe),'fill':_0x1f6754(0x201),'viewBox':_0x1f6754(0x25b),'width':'1em','height':_0x1f6754(0x1c5)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f6754(0x19b)},'children':[{'tag':_0x1f6754(0x217),'attrs':{'stroke':_0x1f6754(0x227),'d':_0x1f6754(0x221),'strokeLinecap':_0x1f6754(0x29c),'strokeLinejoin':_0x1f6754(0x29c),'strokeWidth':1.2}}]},{'tag':_0x1f6754(0x16d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1f6754(0x218)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x1f6754(0x15e),'transform':_0x1f6754(0x1bf)}}]}]}],'defIds':[_0x1f6754(0x218)]},ue=_0x19bdff(function(_0x566987,_0x7e4383){var _0x2d76b5=_0x1f6754;return _0x491403(S,Object[_0x2d76b5(0x29b)]({},_0x566987,{'id':'on-line-icon','ref':_0x7e4383,'icon':Ze}));});ue[_0x1f6754(0x1df)]=_0x1f6754(0x1b0);function Xe(_0xf529f1){var _0x348734=_0x1f6754,_0x571aba,_0x488183;const {mcpCoreConfig:_0x34d315,onSave:_0x53e883,loading:_0x5a14a5=!0x1,config:_0x4becc1,connectionStatus$:_0x14cf8f,connectionError$:_0x205366}=_0xf529f1,_0x20bcd9=_0x36454f(_0x3a6e68),_0x10ef51=_0x562084(_0x14cf8f,_0xc322cc[_0x348734(0x23c)]),_0x30e055=_0x562084(_0x205366,_0x64bacc[_0x348734(0x15f)]),[_0x5025f3,_0x3a0dcd]=_0x286f45(_0x34d315[_0x348734(0x196)]||''),_0x59335e=!0x0,_0x2b59f5=_0x4becc1['showDeveloperTools']&&_0x34d315[_0x348734(0x177)]&&(_0x34d315[_0x348734(0x177)][_0x348734(0x20e)]('univer.plus')||_0x34d315[_0x348734(0x177)][_0x348734(0x20e)](_0x348734(0x266))),_0x5d663c=(_0x571aba=_0x34d315[_0x348734(0x177)])==null?void 0x0:_0x571aba[_0x348734(0x20e)](_0x348734(0x297)),_0x5c3050=(_0x488183=_0x34d315[_0x348734(0x177)])==null?void 0x0:_0x488183[_0x348734(0x20e)](_0x348734(0x266)),_0x597066=_0x5d663c?'https://console.univer.plus':_0x348734(0x1cd),_0x1234d0=_0x4becc1[_0x348734(0x206)]&&(_0x5d663c||_0x5c3050),[_0x35a349,_0x646ae2]=_0x286f45(!_0x5025f3[_0x348734(0x1e6)]()),_0x9cc38f=(_0x4a9be6,_0x3c67ba)=>{var _0x54ea9b=_0x348734;if(_0x3c67ba===_0x64bacc['MISSING_API_KEY']||_0x3c67ba===_0x64bacc[_0x54ea9b(0x287)])return _0x54ea9b(0x1ec);switch(_0x4a9be6){case _0xc322cc[_0x54ea9b(0x20a)]:return _0x54ea9b(0x15a);case _0xc322cc[_0x54ea9b(0x1a8)]:case _0xc322cc['RETRYING']:return _0x54ea9b(0x28d);case _0xc322cc[_0x54ea9b(0x1fd)]:return _0x54ea9b(0x1ec);default:return _0x54ea9b(0x1f6);}},_0xf74452=(_0x441a7b,_0x1f8779)=>{var _0xdab302=_0x348734;if(_0x1f8779===_0x64bacc[_0xdab302(0x17c)]||_0x1f8779===_0x64bacc[_0xdab302(0x287)])return'univer-bg-red-500';switch(_0x441a7b){case _0xc322cc[_0xdab302(0x20a)]:return _0xdab302(0x176);case _0xc322cc[_0xdab302(0x1a8)]:case _0xc322cc[_0xdab302(0x19d)]:return _0xdab302(0x23b);case _0xc322cc[_0xdab302(0x1fd)]:return _0xdab302(0x243);default:return _0xdab302(0x295);}},_0x57181e=_0x4e7c12=>{var _0x174b65=_0x348734;switch(_0x4e7c12){case _0xc322cc['CONNECTED']:return _0x20bcd9['t']('mcpConfig.connectionStatus.connected');case _0xc322cc[_0x174b65(0x1a8)]:return _0x20bcd9['t'](_0x174b65(0x172));case _0xc322cc[_0x174b65(0x1fd)]:return _0x20bcd9['t']('mcpConfig.connectionStatus.failed');case _0xc322cc['RETRYING']:return _0x20bcd9['t'](_0x174b65(0x264));default:return _0x20bcd9['t'](_0x174b65(0x251));}},_0x396b73=_0x12b5ab=>{var _0x2a1706=_0x348734;switch(_0x12b5ab){case _0x64bacc[_0x2a1706(0x17c)]:return _0x20bcd9['t'](_0x2a1706(0x1d4));case _0x64bacc['INVALID_API_KEY']:return _0x20bcd9['t'](_0x2a1706(0x181));case _0x64bacc[_0x2a1706(0x257)]:return _0x20bcd9['t'](_0x2a1706(0x274));case _0x64bacc[_0x2a1706(0x16c)]:return _0x20bcd9['t']('mcpConfig.connectionError.networkError');case _0x64bacc['MAX_RETRIES_EXCEEDED']:return _0x20bcd9['t'](_0x2a1706(0x22b));default:return'';}},_0x436c45=_0x11b793(()=>{var _0x2e6083=_0x348734;const _0x37193f={..._0x34d315,'apiKey':_0x5025f3[_0x2e6083(0x1e6)](),'enableAuth':_0x59335e};_0x53e883(_0x37193f);},[_0x34d315,_0x5025f3,_0x59335e,_0x53e883]),_0x1c27bd=_0x5025f3[_0x348734(0x1e6)]()[_0x348734(0x214)]>0x0;return _0x45cd34('div',{'className':_0x348734(0x224),'children':[_0x132941(_0x348734(0x232),{'className':_0x348734(0x240),'children':_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x225),'children':[_0x132941(_0x348734(0x232),{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x132941(_0x348734(0x1be),{'className':_0x348734(0x21b),'children':'⚙'})}),_0x132941(_0x348734(0x232),{'children':_0x132941('p',{'className':_0x348734(0x245),'children':_0x20bcd9['t'](_0x348734(0x286))})})]})}),_0x45cd34('div',{'className':_0x348734(0x1a9),'children':[_0x132941(_0x348734(0x232),{'className':_0x348734(0x167)+_0x9cc38f(_0x10ef51,_0x30e055)+_0x348734(0x25c),'children':_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x215),'children':[_0x132941(_0x348734(0x232),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0xf74452(_0x10ef51,_0x30e055)+_0x348734(0x28a)}),_0x132941(_0x348734(0x1be),{'className':_0x348734(0x1cb),'children':_0x57181e(_0x10ef51)})]})}),_0x30e055!==_0x64bacc[_0x348734(0x15f)]&&(_0x10ef51===_0xc322cc[_0x348734(0x1fd)]||_0x30e055===_0x64bacc[_0x348734(0x17c)]||_0x30e055===_0x64bacc[_0x348734(0x287)])&&_0x132941(_0x348734(0x232),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x229),'children':[_0x132941(_0x348734(0x1be),{'className':_0x348734(0x1f1),'children':'⚠️'}),_0x132941('p',{'className':_0x348734(0x239),'children':_0x396b73(_0x30e055)})]})})]}),_0x132941(_0x348734(0x232),{'className':_0x348734(0x203),'children':_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x26f),'children':[_0x45cd34(_0x348734(0x232),{'className':'univer-space-y-2','children':[_0x45cd34(_0x348734(0x16b),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x132941(_0x348734(0x1be),{'children':'🔑'}),'\x20',_0x20bcd9['t'](_0x348734(0x21a)),_0x132941(_0x348734(0x1be),{'className':_0x348734(0x280),'children':'*'}),_0x2b59f5&&_0x132941('a',{'href':_0x348734(0x291),'onClick':()=>_0x646ae2(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x20bcd9['t'](_0x348734(0x262)),'children':_0x132941(se,{})})]}),_0x132941(_0x5daca3,{'type':_0x348734(0x248),'placeholder':_0x20bcd9['t'](_0x348734(0x1dc)),'value':_0x5025f3,'onChange':_0x3a0dcd,'disabled':_0x5a14a5,'autoComplete':_0x348734(0x238)}),_0x132941('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x20bcd9['t'](_0x348734(0x258))})]}),_0x2b59f5&&_0x35a349&&_0x45cd34(_0x348734(0x232),{'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':[_0x132941('a',{'href':_0x348734(0x291),'onClick':()=>_0x646ae2(!0x1),'className':_0x348734(0x1b2),'title':_0x348734(0x1b1),'children':_0x132941(ae,{})}),_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x1d2),'children':[_0x132941(_0x348734(0x232),{'className':_0x348734(0x212),'children':_0x132941(_0x348734(0x1be),{'className':'univer-text-blue-600','children':'🚀'})}),_0x45cd34('div',{'className':_0x348734(0x186),'children':[_0x132941('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x20bcd9['t']('mcpConfig.apiApplyInfo.title')}),_0x132941('p',{'className':_0x348734(0x20c),'children':_0x20bcd9['t'](_0x348734(0x268))}),_0x132941(_0x348734(0x232),{'className':_0x348734(0x23d),'children':_0x1234d0&&_0x45cd34('a',{'href':_0x597066,'target':_0x348734(0x1c3),'rel':_0x348734(0x1e3),'className':'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','children':[_0x132941('span',{'children':'🤖'}),_0x20bcd9['t'](_0x348734(0x19f)),_0x132941('span',{'className':_0x348734(0x288),'children':'↗'})]})}),_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x27b),'children':['✨','\x20',_0x20bcd9['t'](_0x348734(0x179))]})]})]})]}),_0x4becc1[_0x348734(0x206)]&&_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x27a),'children':[_0x45cd34('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x132941(_0x348734(0x1be),{'children':'🔗'}),'\x20',_0x20bcd9['t']('mcpConfig.connectionInfo')]}),_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x1e1),'children':[_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x213),'children':[_0x132941(_0x348734(0x232),{'className':_0x348734(0x1f9)}),_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x270),'children':[_0x132941(_0x348734(0x232),{'className':_0x348734(0x1f5),'children':_0x20bcd9['t'](_0x348734(0x1e0))}),_0x132941(_0x348734(0x290),{'className':_0x348734(0x1e7),'children':_0x34d315[_0x348734(0x177)]})]})]}),_0x45cd34('div',{'className':_0x348734(0x213),'children':[_0x132941(_0x348734(0x232),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x45cd34('div',{'className':_0x348734(0x270),'children':[_0x132941('div',{'className':_0x348734(0x1f5),'children':_0x20bcd9['t']('mcpConfig.sessionId')}),_0x132941(_0x348734(0x290),{'className':_0x348734(0x1f0),'children':_0x34d315[_0x348734(0x298)]||'default'})]})]})]})]}),_0x132941(_0x68c388,{'onClick':_0x436c45,'disabled':!_0x1c27bd||_0x5a14a5,'className':_0x348734(0x20f),'children':_0x5a14a5?_0x45cd34('span',{'className':_0x348734(0x215),'children':[_0x132941(_0x348734(0x1be),{'children':'⟲'}),_0x20bcd9['t'](_0x348734(0x1c1))]}):_0x45cd34('span',{'className':_0x348734(0x215),'children':[_0x132941(ce,{}),_0x20bcd9['t']('mcpConfig.save')]})}),_0x132941(_0x348734(0x232),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':_0x45cd34(_0x348734(0x232),{'className':_0x348734(0x1d6),'children':[_0x132941(_0x348734(0x1be),{'className':_0x348734(0x15b),'children':'💡'}),_0x45cd34(_0x348734(0x232),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x132941('div',{'className':_0x348734(0x192),'children':_0x348734(0x27f)}),_0x45cd34(_0x348734(0x232),{'children':['•',_0x20bcd9['t'](_0x348734(0x260))]}),_0x45cd34(_0x348734(0x232),{'children':['•',_0x20bcd9['t'](_0x348734(0x1c4))]})]})]})})]})})]});}const U=_0x1f6754(0x174),J={'showDeveloperTools':!0x1};var Je=Object[_0x1f6754(0x25e)],Qe=(_0x1f8606,_0x2d5334,_0x53def2,_0x45ddff)=>{var _0x2ed10c=_0x1f6754;for(var _0x495264=_0x45ddff>0x1?void 0x0:_0x45ddff?Je(_0x2d5334,_0x53def2):_0x2d5334,_0x88853d=_0x1f8606[_0x2ed10c(0x214)]-0x1,_0x40565d;_0x88853d>=0x0;_0x88853d--)(_0x40565d=_0x1f8606[_0x88853d])&&(_0x495264=_0x40565d(_0x495264)||_0x495264);return _0x495264;},p=(_0x154b3c,_0x32c80e)=>(_0x5481a0,_0x4f3b68)=>_0x32c80e(_0x5481a0,_0x4f3b68,_0x154b3c);function _0x2cf3(){var _0x1f1c65=['5903030QDZFWH','url(#$1','none','请输入您的\x20API\x20密钥','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','MCP\x20连接中...','_componentManager','showDeveloperTools','extend','Connection\x20Information','hover:univer-opacity-80','CONNECTED','服务器端点','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.title','includes','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','MCP\x20Connected','current','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-flex\x20univer-items-start\x20univer-gap-3','length','univer-flex\x20univer-items-center\x20univer-gap-2','What\x20is\x20API\x20Key?','path','on-line-icon_clip0_910_349','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','mcpConfig.apiKey','univer-text-white','MCP\x20Retrying...','2268ZVIYHH','_initializeMenus','mcpStatus.connecting','MCPConfigPanel','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','xlink:href','Connected','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-flex\x20univer-items-center\x20univer-gap-3','function','currentColor','MCP\x20配置','univer-flex\x20univer-items-start\x20univer-gap-2','需要\x20API\x20密钥才能连接','mcpConfig.connectionError.maxRetriesExceeded','_config$','mcpStatus.invalidApiKey','call','MCP\x20Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','setConfig','div','univer-mr-2\x20univer-flex\x20univer-text-xl','fill','MCP:\x20Network\x20Error','Univer\x20AI\x20Console','最大重试次数','off','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','1OiAntG','univer-bg-blue-500','DISCONNECTED','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpStatus.networkError','MCP:\x20无效的\x20API\x20密钥','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','几秒钟内获取您的\x20API\x20密钥','OffLineIcon','univer-bg-red-500','Success','univer-text-sm\x20univer-text-gray-500','add','evenodd','text','mcpConfig.validation.invalidConfig','concat','Connecting...','check-mark-icon','_configService','mcpStatus.connected','M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.connectionStatus.disconnected','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','removeItem','className','map','MCP:\x20API\x20Key\x20Missing','SESSION_ID_OCCUPIED','mcpConfig.apiKeyHint','forEach','mcpStatus.disconnected','0\x200\x2017\x2016','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','getOwnPropertyDescriptor','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','mcpConfig.note1','mcpStatus.retrying','mcpConfig.apiApplyInfo.title','_mcpConnectionController','mcpConfig.connectionStatus.retrying','配置保存失败','univer.ai','354498QsyvuQ','mcpConfig.apiApplyInfo.description','disposeWithMe','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','_initConfigSync','mcpStatus.maxRetriesExceeded','MenuIcon','_initializeCommands','univer-space-y-5','univer-min-w-0\x20univer-flex-1','_loadStoredApiKey','get','univerjs-icon\x20univerjs-icon-','mcpConfig.connectionError.sessionOccupied','getConfig','Click\x20to\x20connect\x20MCP','mergeMenu','API\x20密钥无效,请检查您的密钥后重试','MCP\x20Unknown\x20Status','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','_commandService','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','_createConfigPanelComponent','Configuration\x20Notes:','univer-text-red-500','OTHERS','mcpStatus.clickToConnect','MCP:\x20缺少\x20API\x20密钥','mask','您的\x20API\x20密钥安全存储在本地存储中','mcpConfig.description','INVALID_API_KEY','univer-text-gray-400','defIds','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','1610274pCempP','attrs','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_localStorageService','code','javascript:void(0)','Error','subscribe','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-bg-gray-500','配置无效','univer.plus','sessionId','hasOwnProperty','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','assign','round','idSuffix','Connection\x20Failed','propertyIsEnumerable','mcpConfig.validation.invalidApiKey','showConfigPanel','_loading$','mcpConfig.configError','_menuManagerService','配置更改将立即生效','mcp-config-dialog','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-flex-shrink-0\x20univer-text-blue-500','_messageService','MCP\x20已断开','M0\x200H16V16H0z','NONE','M5.21243\x205.62036L11.8791\x2012.287','getItem','5815565xyzstT','_logService','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','M5.21243\x2012.287L11.8791\x205.62036','defineProperty','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','什么是\x20API\x20密钥?','univer-text-yellow-500','tag','label','NETWORK_ERROR','defs','error','registerCommand','Enable\x20authentication\x20for\x20secure\x20connections','load','mcpConfig.connectionStatus.connecting','errorMessage','mcp-ui.config','onStarting','univer-bg-green-500','mcpServerUrl','超出最大重试次数,请稍后再试','mcpConfig.apiApplyInfo.getStarted','mcpStatus.clickToConfigure','setItem','MISSING_API_KEY','mcpStatus.failed','substring','HEADER_MENU','MCP:\x20超出最大重试次数','mcpConfig.connectionError.invalidApiKey','COMMAND','Failed\x20to\x20save\x20configuration','API\x20密钥不能为空','symbol','univer-flex-1','CheckMarkIcon','help-single','未连接','重连中...','_config','_uiPartsService','API\x20key\x20is\x20required\x20to\x20connect','mcpConfig.configSaved','0\x200\x2016\x2016','_handleConfigure','connectionError$','univer-font-medium','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','240446BGnRKQ','mcp-ui.command.openConfigPanel','apiKey','mcpStatus.missingApiKey','_validateConfig','启用身份验证','Retrying...','url(#on-line-icon_clip0_910_349)','mcpConfig.validation.apiKeyRequired','RETRYING','MCP:\x20会话被占用','mcpConfig.apiApplyInfo.univerAiLabel','28AtLTtK','_mcpCoreConfig$','validateApiKey','API\x20密钥无效,请检查密钥是否正确','show','_injector','close','_connectionController','CONNECTING','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','clipPath','_localeService','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','41680LMGesH','string','entries','OnLineIcon','Close','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','Configuration\x20saved\x20successfully','colorChannel1','registerComponent','off-line-icon_clip0_910_343','getOwnPropertySymbols','连接中...','会话当前被占用,请稍后再试','children','svg','univer-flex\x20univer-cursor-pointer\x20univer-items-center','open','span','translate(.97)','getCurrentConfig','mcpConfig.saving','保存中...','_blank','mcpConfig.note2','1em','Univer\x20AI\x20控制台','网络连接错误,请检查您的网络连接','点击连接\x20MCP','icon','mcpStatus.unknown','univer-text-sm\x20univer-font-medium','Max\x20Retries','https://console.univer.ai','white','MAX_RETRIES_EXCEEDED','点击配置\x20MCP','BUTTON','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','_dialogService','mcpConfig.connectionError.missingApiKey','random','univer-flex\x20univer-gap-3','MCP:\x20Session\x20Occupied','indexOf','6442928PSWQzE','Server\x20Endpoint','url(#off-line-icon_clip0_910_343)','mcpConfig.apiKeyPlaceholder','API\x20密钥','mcpConfig.validation.apiKeyTooShort','displayName','mcpConfig.serverEndpoint','univer-space-y-3','_initStatusComponent','noopener\x20noreferrer','subscribeConfigValue$','MCP\x20Configuration','trim','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','connectionStatus$','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','value','API\x20密钥长度至少需要\x2010\x20位','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCP\x20Connecting...','use','Get\x20your\x20API\x20key\x20in\x20seconds','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','univer-flex-shrink-0\x20univer-text-red-500','启用身份验证以获得安全连接','next','_handleConfigSave','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Click\x20to\x20configure\x20MCP','Enter\x20your\x20API\x20key','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','register','prototype','您的\x20API\x20密钥将在此浏览器中本地存储','FAILED','http://www.w3.org/2000/svg'];_0x2cf3=function(){return _0x1f1c65;};return _0x2cf3();}const R='mcp.apiKey',j=_0x1f6754(0x159);let _=class extends _0x3795db{constructor(_0x4c826e,_0x3f6a76,_0x2376f8,_0x5e7412,_0x320cb2,_0x4c6a3d,_0x2d2ff1,_0x15f216,_0x2fc1e9,_0x2d8e82){var _0x2e7eaa=_0x1f6754;super(),N(this,_0x2e7eaa(0x2a2),new _0x18f2d8(!0x1)),N(this,'_mcpCoreConfig$',new _0x18f2d8({})),N(this,_0x2e7eaa(0x22c),new _0x18f2d8({})),N(this,_0x2e7eaa(0x1f4),async _0x520969=>{var _0x24fea1=_0x2e7eaa;this['_loading$']['next'](!0x0);try{const _0x4fb9ab=await this[_0x24fea1(0x198)](_0x520969);if(!_0x4fb9ab['isValid']){this[_0x24fea1(0x15c)][_0x24fea1(0x1a4)]({'type':_0x3922df['Error'],'content':_0x4fb9ab[_0x24fea1(0x173)]||this['_localeService']['t'](_0x24fea1(0x249))});return;}_0x520969[_0x24fea1(0x196)]?await this[_0x24fea1(0x28f)][_0x24fea1(0x17b)](R,_0x520969[_0x24fea1(0x196)]['trim']()):await this[_0x24fea1(0x28f)][_0x24fea1(0x253)](R),this[_0x24fea1(0x24d)][_0x24fea1(0x231)](_0x14ee85,{..._0x520969,'apiKey':_0x520969[_0x24fea1(0x196)]['trim']()}),this[_0x24fea1(0x1a1)][_0x24fea1(0x1f3)]({..._0x520969,'apiKey':_0x520969[_0x24fea1(0x196)][_0x24fea1(0x1e6)]()}),this[_0x24fea1(0x15c)][_0x24fea1(0x1a4)]({'type':_0x3922df[_0x24fea1(0x244)],'content':this[_0x24fea1(0x1ab)]['t'](_0x24fea1(0x18e))}),setTimeout(()=>{var _0x2c053d=_0x24fea1;this['_dialogService'][_0x2c053d(0x1a6)](j);},0x320);}catch(_0x36a4e2){this[_0x24fea1(0x163)][_0x24fea1(0x16e)](_0x24fea1(0x28e),_0x36a4e2),this[_0x24fea1(0x15c)][_0x24fea1(0x1a4)]({'type':_0x3922df[_0x24fea1(0x292)],'content':this[_0x24fea1(0x1ab)]['t'](_0x24fea1(0x2a3))});}finally{this[_0x24fea1(0x2a2)]['next'](!0x1);}}),(this[_0x2e7eaa(0x1a5)]=_0x4c826e,this[_0x2e7eaa(0x18c)]=_0x3f6a76,this['_configService']=_0x2376f8,this[_0x2e7eaa(0x28f)]=_0x5e7412,this['_dialogService']=_0x320cb2,this[_0x2e7eaa(0x15c)]=_0x4c6a3d,this[_0x2e7eaa(0x205)]=_0x2d2ff1,this[_0x2e7eaa(0x1ab)]=_0x15f216,this[_0x2e7eaa(0x163)]=_0x2fc1e9,this['_mcpConnectionController']=_0x2d8e82,this[_0x2e7eaa(0x26b)](),this[_0x2e7eaa(0x271)](),this['_registerComponent']());}[_0x1f6754(0x2a1)](){var _0x531f3e=_0x1f6754;this[_0x531f3e(0x1d3)][_0x531f3e(0x1bd)]({'id':j,'title':{'title':this[_0x531f3e(0x1ab)]['t']('mcpConfig.title')},'children':{'label':_0x531f3e(0x220)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x8e82f9=_0x531f3e;this[_0x8e82f9(0x1d3)][_0x8e82f9(0x1a6)](j);}});}[_0x1f6754(0x1c0)](){var _0x40b887=_0x1f6754;return this[_0x40b887(0x1a1)][_0x40b887(0x1ea)];}['_registerComponent'](){var _0x3d79aa=_0x1f6754;this[_0x3d79aa(0x269)](this[_0x3d79aa(0x205)][_0x3d79aa(0x1fa)]('MCPConfigPanel',this[_0x3d79aa(0x27e)]()));}[_0x1f6754(0x27e)](){var _0x973797=_0x1f6754;return _0x5e3fab(()=>{var _0x1656de=_0x12b9,_0x468f11,_0x5c7b83;return _0x132941(Xe,{'config':this[_0x1656de(0x22c)][_0x1656de(0x1ea)],'mcpCoreConfig':this[_0x1656de(0x1a1)][_0x1656de(0x1ea)],'onSave':this[_0x1656de(0x1f4)],'loading':this[_0x1656de(0x2a2)][_0x1656de(0x1ea)],'connectionStatus$':(_0x468f11=this[_0x1656de(0x263)])==null?void 0x0:_0x468f11[_0x1656de(0x1e8)],'connectionError$':(_0x5c7b83=this['_mcpConnectionController'])==null?void 0x0:_0x5c7b83[_0x1656de(0x191)]});},this[_0x973797(0x1a5)]);}['_initConfigSync'](){var _0x3abb3e=_0x1f6754;this[_0x3abb3e(0x269)](this[_0x3abb3e(0x24d)][_0x3abb3e(0x1e4)](_0x14ee85)[_0x3abb3e(0x293)](_0x488a5a=>{var _0x125b13=_0x3abb3e;this[_0x125b13(0x1a1)][_0x125b13(0x1f3)](_0x488a5a||{});}));const _0xf2ba67=this[_0x3abb3e(0x24d)][_0x3abb3e(0x275)](_0x14ee85);this[_0x3abb3e(0x1a1)][_0x3abb3e(0x1f3)](_0xf2ba67||{}),this[_0x3abb3e(0x269)](this[_0x3abb3e(0x24d)][_0x3abb3e(0x1e4)](U)[_0x3abb3e(0x293)](_0x46c398=>{var _0x3f38a3=_0x3abb3e;this[_0x3f38a3(0x22c)][_0x3f38a3(0x1f3)](_0x46c398||{});}));const _0x208c61=this['_configService'][_0x3abb3e(0x275)](U);this[_0x3abb3e(0x22c)]['next'](_0x208c61||{});}async[_0x1f6754(0x271)](){var _0x113ca2=_0x1f6754;const _0xe75104=await this[_0x113ca2(0x28f)][_0x113ca2(0x161)](R);if(_0xe75104){const _0x4115c9={...this[_0x113ca2(0x1a1)][_0x113ca2(0x1ea)],'apiKey':_0xe75104};this['_configService']['setConfig'](_0x14ee85,_0x4115c9),this['_mcpCoreConfig$'][_0x113ca2(0x1f3)](_0x4115c9);}}async[_0x1f6754(0x198)](_0x38018c){var _0xb192a=_0x1f6754;if(!_0x38018c['apiKey']||_0x38018c[_0xb192a(0x196)]['trim']()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0xb192a(0x1ab)]['t'](_0xb192a(0x19c))};if(_0x38018c[_0xb192a(0x196)][_0xb192a(0x1e6)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0xb192a(0x1ab)]['t'](_0xb192a(0x1de))};try{const _0x541e39=await this[_0xb192a(0x1a5)]['get'](_0x4b8235)[_0xb192a(0x1a2)](_0x38018c[_0xb192a(0x196)]['trim']());return _0x541e39['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x541e39['error']||this['_localeService']['t'](_0xb192a(0x2a0))};}catch(_0x485c4b){return console['warn'](_0xb192a(0x1ac),_0x485c4b),{'isValid':!0x0};}}};_=Qe([p(0x0,_0x168537(_0x35562b)),p(0x1,_0x4f21f7),p(0x2,_0x479cf5),p(0x3,_0x9008f1),p(0x4,_0x3cd5f3),p(0x5,_0x266579),p(0x6,_0x168537(_0x16ee23)),p(0x7,_0x168537(_0x3a6e68)),p(0x8,_0x282e34),p(0x9,_0x168537(_0x4b8235))],_);const W={'id':_0x1f6754(0x195),'type':_0x427252[_0x1f6754(0x182)],'handler':async(_0x3e2973,_0x444740)=>(_0x3e2973[_0x1f6754(0x272)](_)['showConfigPanel'](),!0x0)};function ve(_0x588bce,_0x4961af){var _0x304c55=_0x1f6754;switch(_0x588bce){case _0xc322cc[_0x304c55(0x23c)]:return _0x4961af===_0x64bacc[_0x304c55(0x17c)]?_0x304c55(0x197):_0x304c55(0x25a);case _0xc322cc[_0x304c55(0x1a8)]:return _0x304c55(0x21f);case _0xc322cc[_0x304c55(0x20a)]:return _0x304c55(0x24e);case _0xc322cc[_0x304c55(0x1fd)]:switch(_0x4961af){case _0x64bacc[_0x304c55(0x287)]:return _0x304c55(0x22d);case _0x64bacc[_0x304c55(0x257)]:return'mcpStatus.sessionOccupied';case _0x64bacc[_0x304c55(0x16c)]:return _0x304c55(0x23e);case _0x64bacc[_0x304c55(0x1cf)]:return _0x304c55(0x26c);default:return _0x304c55(0x17d);}case _0xc322cc[_0x304c55(0x19d)]:return _0x304c55(0x261);default:return _0x304c55(0x1ca);}}function en(_0x402d0c,_0x2743b9,_0x50196b){var _0x284563=_0x1f6754;const _0x290b1b=ve(_0x402d0c,_0x2743b9),_0x3ae92b=_0x50196b['t'](_0x290b1b);return _0x402d0c===_0xc322cc['DISCONNECTED']&&_0x2743b9===_0x64bacc[_0x284563(0x17c)]?_0x3ae92b+'\x20-\x20'+_0x50196b['t'](_0x284563(0x17a)):_0x402d0c===_0xc322cc[_0x284563(0x20a)]?''+_0x3ae92b:_0x402d0c===_0xc322cc[_0x284563(0x23c)]||_0x402d0c===_0xc322cc[_0x284563(0x1fd)]?_0x3ae92b+'\x20-\x20'+_0x50196b['t'](_0x284563(0x282)):_0x3ae92b;}function nn(_0x100174){var _0x32bd61=_0x1f6754;switch(_0x100174){case _0xc322cc['CONNECTED']:return'univer-text-green-500';case _0xc322cc[_0x32bd61(0x1a8)]:case _0xc322cc['RETRYING']:return _0x32bd61(0x169);case _0xc322cc[_0x32bd61(0x1fd)]:case _0xc322cc[_0x32bd61(0x23c)]:return'univer-text-red-500';default:return'univer-text-gray-500';}}function rn(_0x5738f6){var _0x571ec4=_0x1f6754;const {status$:_0x5787cc,error$:_0x414148,onConfigure:_0x9a614f}=_0x5738f6,_0x12dfd7=_0x562084(_0x5787cc,_0xc322cc[_0x571ec4(0x23c)]),_0xa4f9a6=_0x562084(_0x414148,_0x64bacc[_0x571ec4(0x15f)]),_0x12739a=_0x36454f(_0x3a6e68),_0x3795d5=_0x12dfd7===_0xc322cc[_0x571ec4(0x20a)],_0x5915da=_0x12dfd7===_0xc322cc[_0x571ec4(0x1a8)]||_0x12dfd7===_0xc322cc['RETRYING'],_0xaad5d8=_0x12739a['t'](ve(_0x12dfd7,_0xa4f9a6)),_0x16b8d3=en(_0x12dfd7,_0xa4f9a6,_0x12739a),_0x232be1=nn(_0x12dfd7),_0x40eee6=_0x3795d5?_0x132941(ue,{}):_0x132941(le,{}),_0x2f1c41=_0x11b793(()=>{_0x9a614f&&_0x9a614f();},[_0x3795d5,_0x5915da,_0x9a614f]);function _0x4ecfe7(){var _0x93e583=_0x571ec4;return _0x45cd34('div',{'className':_0x4800bb(_0x93e583(0x1bc),_0x9a614f&&_0x93e583(0x209)),'onClick':_0x9a614f?_0x2f1c41:void 0x0,'children':[_0x132941(_0x93e583(0x232),{'className':_0x4800bb(_0x93e583(0x233),_0x232be1),'children':_0x40eee6}),_0x132941(_0x93e583(0x232),{'className':_0x93e583(0x252),'children':_0xaad5d8})]});}return _0x132941(_0x3b2bb4,{'title':_0x16b8d3,'placement':'bottom','children':_0x4ecfe7()});}var tn=Object['getOwnPropertyDescriptor'],on=(_0x7f085c,_0x21d5d3,_0x887296,_0x5d6a38)=>{var _0x5fd96d=_0x1f6754;for(var _0xec538d=_0x5d6a38>0x1?void 0x0:_0x5d6a38?tn(_0x21d5d3,_0x887296):_0x21d5d3,_0xa617f8=_0x7f085c[_0x5fd96d(0x214)]-0x1,_0x244b33;_0xa617f8>=0x0;_0xa617f8--)(_0x244b33=_0x7f085c[_0xa617f8])&&(_0xec538d=_0x244b33(_0xec538d)||_0xec538d);return _0xec538d;},L=(_0x19bf4e,_0x226e88)=>(_0x25c2cb,_0x184870)=>_0x226e88(_0x25c2cb,_0x184870,_0x19bf4e);let O=class extends _0x3795db{constructor(_0x533bd0,_0x4cdf1a,_0x1c411d){var _0x7aa88f=_0x1f6754;super(),this[_0x7aa88f(0x1a5)]=_0x533bd0,this['_connectionController']=_0x4cdf1a,this[_0x7aa88f(0x18c)]=_0x1c411d,this[_0x7aa88f(0x1e2)]();}[_0x1f6754(0x1e2)](){var _0x26ee97=_0x1f6754;this[_0x26ee97(0x269)](this[_0x26ee97(0x18c)][_0x26ee97(0x1b5)](_0x56f7ac[_0x26ee97(0x17f)],()=>_0x5e3fab(cn({'status$':this[_0x26ee97(0x1a7)][_0x26ee97(0x1e8)],'error$':this['_connectionController']['connectionError$'],'onConfigure':()=>this['_handleConfigure']()}),this[_0x26ee97(0x1a5)])));}[_0x1f6754(0x190)](){var _0x3a8b3c=_0x1f6754;this[_0x3a8b3c(0x1a5)]['get'](_)[_0x3a8b3c(0x2a1)]();}};O=on([L(0x0,_0x168537(_0x35562b)),L(0x1,_0x168537(_0x4b8235)),L(0x2,_0x4f21f7)],O);function cn(_0x278a10){const {status$:_0x231d90,error$:_0x2f7c50,onConfigure:_0x181346}=_0x278a10;return function(){return _0x132941(rn,{'status$':_0x231d90,'error$':_0x2f7c50,'onConfigure':_0x181346});};}function an(_0x51aca1){var _0xa36bed=_0x1f6754;return{'id':W['id'],'type':_0x1bcab4[_0xa36bed(0x1d1)],'icon':_0xa36bed(0x26d),'title':_0xa36bed(0x20d),'tooltip':_0xa36bed(0x20d)};}const sn={[_0x6f977a[_0x1f6754(0x281)]]:{[W['id']]:{'order':0xa,'menuItemFactory':an}}};var ln=Object[_0x1f6754(0x25e)],un=(_0x518e00,_0x36a0ad,_0x4a305c,_0x3ea3e5)=>{var _0x5b1320=_0x1f6754;for(var _0x44906c=_0x3ea3e5>0x1?void 0x0:_0x3ea3e5?ln(_0x36a0ad,_0x4a305c):_0x36a0ad,_0x5dc6c8=_0x518e00[_0x5b1320(0x214)]-0x1,_0x242f4a;_0x5dc6c8>=0x0;_0x5dc6c8--)(_0x242f4a=_0x518e00[_0x5dc6c8])&&(_0x44906c=_0x242f4a(_0x44906c)||_0x44906c);return _0x44906c;},Q=(_0x3ac818,_0x57ad07)=>(_0x2805ae,_0x8c3ff0)=>_0x57ad07(_0x2805ae,_0x8c3ff0,_0x3ac818);let k=class extends _0x3795db{constructor(_0x113697,_0x18d450){var _0x512a7d=_0x1f6754;super(),this[_0x512a7d(0x27c)]=_0x113697,this[_0x512a7d(0x157)]=_0x18d450,this[_0x512a7d(0x26e)](),this[_0x512a7d(0x21e)]();}[_0x1f6754(0x26e)](){var _0x5e4048=_0x1f6754;[W][_0x5e4048(0x259)](_0x5bb5c9=>{var _0x392424=_0x5e4048;this['disposeWithMe'](this['_commandService'][_0x392424(0x16f)](_0x5bb5c9));});}[_0x1f6754(0x21e)](){var _0x370b5b=_0x1f6754;this[_0x370b5b(0x157)][_0x370b5b(0x277)](sn);}};k=un([Q(0x0,_0x1cf2e4),Q(0x1,_0x25bf65)],k);const vn={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x1f6754(0x1ed),'connected':_0x1f6754(0x210),'failed':_0x1f6754(0x22f),'retrying':_0x1f6754(0x21c),'unknown':_0x1f6754(0x279),'missingApiKey':_0x1f6754(0x256),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x1f6754(0x1d7),'networkError':_0x1f6754(0x235),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x1f6754(0x276),'clickToConfigure':_0x1f6754(0x1f7)},'mcpConfig':{'title':_0x1f6754(0x1e5),'description':_0x1f6754(0x230),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x1f6754(0x1f8),'apiKeyHint':_0x1f6754(0x294),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x1f6754(0x170),'connectionInfo':_0x1f6754(0x208),'serverEndpoint':_0x1f6754(0x1da),'sessionId':'Session\x20ID','maxRetries':_0x1f6754(0x1cc),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x1f6754(0x25d),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x1f6754(0x1b3),'configError':_0x1f6754(0x183),'apiApplyInfo':{'title':_0x1f6754(0x216),'description':_0x1f6754(0x164),'univerAiLabel':_0x1f6754(0x236),'getStarted':_0x1f6754(0x1ef)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x1f6754(0x29a)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x1f6754(0x24b),'connected':_0x1f6754(0x223),'failed':_0x1f6754(0x29e),'retrying':_0x1f6754(0x19a)},'connectionError':{'missingApiKey':_0x1f6754(0x18d),'invalidApiKey':_0x1f6754(0x26a),'sessionOccupied':_0x1f6754(0x1e9),'networkError':_0x1f6754(0x219),'maxRetriesExceeded':_0x1f6754(0x193)}}},dn={'mcpStatus':{'disconnected':_0x1f6754(0x15d),'connecting':_0x1f6754(0x204),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','missingApiKey':_0x1f6754(0x283),'invalidApiKey':_0x1f6754(0x23f),'sessionOccupied':_0x1f6754(0x19e),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x1f6754(0x180),'clickToConnect':_0x1f6754(0x1c8),'clickToConfigure':_0x1f6754(0x1d0)},'mcpConfig':{'title':_0x1f6754(0x228),'description':_0x1f6754(0x250),'apiKey':_0x1f6754(0x1dd),'apiKeyPlaceholder':_0x1f6754(0x202),'apiKeyHint':_0x1f6754(0x1fc),'enableAuth':_0x1f6754(0x199),'enableAuthHint':_0x1f6754(0x1f2),'connectionInfo':'连接信息','serverEndpoint':_0x1f6754(0x20b),'sessionId':'会话ID','maxRetries':_0x1f6754(0x237),'save':'保存配置','saving':_0x1f6754(0x1c2),'note1':_0x1f6754(0x158),'note2':_0x1f6754(0x285),'configSaved':'配置保存成功','configError':_0x1f6754(0x265),'apiApplyInfo':{'title':_0x1f6754(0x168),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x1f6754(0x1c6),'getStarted':_0x1f6754(0x241)},'validation':{'apiKeyRequired':_0x1f6754(0x184),'apiKeyTooShort':_0x1f6754(0x1eb),'invalidConfig':_0x1f6754(0x296),'invalidApiKey':_0x1f6754(0x1a3)},'connectionStatus':{'disconnected':_0x1f6754(0x189),'connecting':_0x1f6754(0x1b8),'connected':'已连接','failed':'连接失败','retrying':_0x1f6754(0x18a)},'connectionError':{'missingApiKey':_0x1f6754(0x22a),'invalidApiKey':_0x1f6754(0x278),'sessionOccupied':_0x1f6754(0x1b9),'networkError':_0x1f6754(0x1c7),'maxRetriesExceeded':_0x1f6754(0x178)}}};var gn=Object[_0x1f6754(0x166)],fn=Object[_0x1f6754(0x25e)],pn=(_0x53d292,_0x3d4254,_0x38e4bd)=>_0x3d4254 in _0x53d292?gn(_0x53d292,_0x3d4254,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38e4bd}):_0x53d292[_0x3d4254]=_0x38e4bd,Cn=(_0x1cda5f,_0x25708c,_0x1e16d4,_0x29778a)=>{var _0x5165e3=_0x1f6754;for(var _0x2dbbf1=_0x29778a>0x1?void 0x0:_0x29778a?fn(_0x25708c,_0x1e16d4):_0x25708c,_0x2112a7=_0x1cda5f[_0x5165e3(0x214)]-0x1,_0x794d72;_0x2112a7>=0x0;_0x2112a7--)(_0x794d72=_0x1cda5f[_0x2112a7])&&(_0x2dbbf1=_0x794d72(_0x2dbbf1)||_0x2dbbf1);return _0x2dbbf1;},P=(_0x5d9a4b,_0xf82767)=>(_0x234a4b,_0x3ff9c9)=>_0xf82767(_0x234a4b,_0x3ff9c9,_0x5d9a4b),hn=(_0x451b64,_0x3db910,_0x4fc35a)=>pn(_0x451b64,_0x3db910+'',_0x4fc35a);let G=class extends _0x331c1d{constructor(_0x53a086=J,_0x4def09,_0x25fe89,_0x4ba103,_0x2f575d,_0x2c6f3e){var _0x2fa724=_0x1f6754;super(),this[_0x2fa724(0x18b)]=_0x53a086,this[_0x2fa724(0x1a5)]=_0x4def09,this[_0x2fa724(0x24d)]=_0x25fe89,this['_uiPartsService']=_0x4ba103,this[_0x2fa724(0x28f)]=_0x2f575d,this['_localeService']=_0x2c6f3e;const {..._0x57e928}=_0x509d2b({},J,this[_0x2fa724(0x18b)]);this[_0x2fa724(0x24d)]['setConfig'](U,_0x57e928),this[_0x2fa724(0x1ab)][_0x2fa724(0x171)]({'zhCN':dn,'enUS':vn});}async[_0x1f6754(0x175)](){var _0x4e9dbe=_0x1f6754;[[O],[_],[k]][_0x4e9dbe(0x259)](_0x571c50=>this[_0x4e9dbe(0x1a5)][_0x4e9dbe(0x246)](_0x571c50)),this[_0x4e9dbe(0x1a5)][_0x4e9dbe(0x272)](O),this[_0x4e9dbe(0x1a5)][_0x4e9dbe(0x272)](_),this[_0x4e9dbe(0x1a5)][_0x4e9dbe(0x272)](k);}};hn(G,'pluginName','MCP_UI_PLUGIN'),G=Cn([_0x5d8337(_0x14392c),P(0x1,_0x168537(_0x35562b)),P(0x2,_0x479cf5),P(0x3,_0x4f21f7),P(0x4,_0x9008f1),P(0x5,_0x168537(_0x3a6e68))],G);export{Xe as MCPConfigPanel,_ as MCPConfigUIController,O as MCPConnectionUIController,rn as MCPStatusDisplay,k as MCPUIMenuController,W as OpenMCPConfigPanelCommand,G as UniverMCPUIPlugin,vn as enUS,dn as zhCN};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2bcf5d=_0x4ca6;(function(_0x470df2,_0xb076f){const _0x311db4=_0x4ca6,_0x38f5a1=_0x470df2();while(!![]){try{const _0x34b74f=-parseInt(_0x311db4(0x173))/0x1*(parseInt(_0x311db4(0x186))/0x2)+parseInt(_0x311db4(0x188))/0x3*(-parseInt(_0x311db4(0x167))/0x4)+parseInt(_0x311db4(0x15a))/0x5*(parseInt(_0x311db4(0x178))/0x6)+-parseInt(_0x311db4(0x17d))/0x7*(-parseInt(_0x311db4(0x17e))/0x8)+parseInt(_0x311db4(0x180))/0x9*(parseInt(_0x311db4(0x15b))/0xa)+parseInt(_0x311db4(0x172))/0xb+-parseInt(_0x311db4(0x16b))/0xc*(parseInt(_0x311db4(0x169))/0xd);if(_0x34b74f===_0xb076f)break;else _0x38f5a1['push'](_0x38f5a1['shift']());}catch(_0x331cca){_0x38f5a1['push'](_0x38f5a1['shift']());}}}(_0x95c9,0xa05da));function _0x4ca6(_0x253341,_0x304f77){const _0x95c99=_0x95c9();return _0x4ca6=function(_0x4ca6aa,_0x2ef85b){_0x4ca6aa=_0x4ca6aa-0x15a;let _0x4d1963=_0x95c99[_0x4ca6aa];return _0x4d1963;},_0x4ca6(_0x253341,_0x304f77);}const e={'mcpStatus':{'disconnected':_0x2bcf5d(0x17f),'connecting':_0x2bcf5d(0x15e),'connected':_0x2bcf5d(0x166),'failed':_0x2bcf5d(0x17a),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x2bcf5d(0x183),'sessionOccupied':_0x2bcf5d(0x16e),'networkError':_0x2bcf5d(0x164),'maxRetriesExceeded':_0x2bcf5d(0x16a),'clickToConnect':_0x2bcf5d(0x171),'clickToConfigure':_0x2bcf5d(0x177)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2bcf5d(0x161),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2bcf5d(0x182),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x2bcf5d(0x174),'sessionId':_0x2bcf5d(0x181),'maxRetries':_0x2bcf5d(0x168),'save':'Save\x20Configuration','saving':_0x2bcf5d(0x187),'note1':_0x2bcf5d(0x160),'note2':_0x2bcf5d(0x15c),'configSaved':_0x2bcf5d(0x185),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2bcf5d(0x163),'description':_0x2bcf5d(0x179),'univerAiLabel':_0x2bcf5d(0x16c),'getStarted':_0x2bcf5d(0x17c)},'validation':{'apiKeyRequired':_0x2bcf5d(0x15f),'apiKeyTooShort':_0x2bcf5d(0x170),'invalidConfig':_0x2bcf5d(0x16f),'invalidApiKey':_0x2bcf5d(0x165)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2bcf5d(0x184),'connected':_0x2bcf5d(0x15d),'failed':_0x2bcf5d(0x176),'retrying':_0x2bcf5d(0x17b)},'connectionError':{'missingApiKey':_0x2bcf5d(0x162),'invalidApiKey':_0x2bcf5d(0x16d),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x2bcf5d(0x175)}}},n=e;export{n as default};function _0x95c9(){const _0x708338=['Invalid\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Click\x20to\x20connect\x20MCP','7965749EcUUNP','709aMdofX','Server\x20Endpoint','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connection\x20Failed','Click\x20to\x20configure\x20MCP','228FdVQCw','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connection\x20Failed','Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','7NZShaT','10423664vVJMkp','MCP\x20Disconnected','117FtZrra','Session\x20ID','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Invalid\x20API\x20Key','Connecting...','Configuration\x20saved\x20successfully','1126lWeaAV','Saving...','15699ELxzPr','75345Kpekwx','933830gHdClJ','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connected','MCP\x20Connecting...','API\x20key\x20is\x20required','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key','API\x20key\x20is\x20required\x20to\x20connect','What\x20is\x20API\x20Key?','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connected','84cWCIYQ','Max\x20Retries','312RHAKol','MCP:\x20Max\x20Retries\x20Exceeded','1323900mKMKgx','Univer\x20AI\x20Console','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP:\x20Session\x20Occupied'];_0x95c9=function(){return _0x708338;};return _0x95c9();}
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3170(_0x714ffb,_0x9d217e){const _0x3fee46=_0x3fee();return _0x3170=function(_0x3170c8,_0x3c4dda){_0x3170c8=_0x3170c8-0x1cf;let _0x50ebf1=_0x3fee46[_0x3170c8];return _0x50ebf1;},_0x3170(_0x714ffb,_0x9d217e);}const _0xdb6e10=_0x3170;function _0x3fee(){const _0x372100=['Univer\x20AI\x20Console','MCP:\x20API\x20Key\x20Missing','API\x20key\x20is\x20required','MCP:\x20Network\x20Error','7120zuzRqw','376150djsodB','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connecting...','API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','What\x20is\x20API\x20Key?','Enable\x20Authentication','MCP\x20Connection\x20Failed','Session\x20ID','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connection\x20Information','Enter\x20your\x20API\x20key','MCP\x20Configuration','547778tlnMNu','Saving...','Disconnected','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Save\x20Configuration','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','10564KIZvOw','Invalid\x20configuration','Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','33258SBGmfu','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Retrying...','Server\x20Endpoint','MCP:\x20Session\x20Occupied','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','1378003jpoWyg','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','753440bCAZtd','24yEpFCB','1qPaVoC','MCP\x20Connected','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','2313elEjEf','35raeSTQ','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.'];_0x3fee=function(){return _0x372100;};return _0x3fee();}(function(_0x3c0f43,_0x2efc48){const _0x4eba1a=_0x3170,_0x5d9498=_0x3c0f43();while(!![]){try{const _0x1e2f1e=-parseInt(_0x4eba1a(0x1e0))/0x1*(parseInt(_0x4eba1a(0x1fe))/0x2)+-parseInt(_0x4eba1a(0x1df))/0x3*(parseInt(_0x4eba1a(0x1d1))/0x4)+parseInt(_0x4eba1a(0x1de))/0x5+parseInt(_0x4eba1a(0x1d5))/0x6*(-parseInt(_0x4eba1a(0x1e5))/0x7)+parseInt(_0x4eba1a(0x1eb))/0x8*(parseInt(_0x4eba1a(0x1e4))/0x9)+-parseInt(_0x4eba1a(0x1ec))/0xa+parseInt(_0x4eba1a(0x1dc))/0xb;if(_0x1e2f1e===_0x2efc48)break;else _0x5d9498['push'](_0x5d9498['shift']());}catch(_0x5b78c5){_0x5d9498['push'](_0x5d9498['shift']());}}}(_0x3fee,0x233d8));const e={'mcpStatus':{'disconnected':_0xdb6e10(0x1f4),'connecting':'MCP\x20Connecting...','connected':_0xdb6e10(0x1e1),'failed':_0xdb6e10(0x1f8),'retrying':'MCP\x20Retrying...','unknown':_0xdb6e10(0x202),'missingApiKey':_0xdb6e10(0x1e8),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0xdb6e10(0x1d9),'networkError':_0xdb6e10(0x1ea),'maxRetriesExceeded':_0xdb6e10(0x1db),'clickToConnect':_0xdb6e10(0x1e2),'clickToConfigure':_0xdb6e10(0x1ed)},'mcpConfig':{'title':_0xdb6e10(0x1fd),'description':_0xdb6e10(0x1dd),'apiKey':_0xdb6e10(0x1f0),'apiKeyPlaceholder':_0xdb6e10(0x1fc),'apiKeyHint':_0xdb6e10(0x1ee),'enableAuth':_0xdb6e10(0x1f7),'enableAuthHint':_0xdb6e10(0x1f5),'connectionInfo':_0xdb6e10(0x1fb),'serverEndpoint':_0xdb6e10(0x1d8),'sessionId':_0xdb6e10(0x1f9),'maxRetries':'Max\x20Retries','save':_0xdb6e10(0x1cf),'saving':_0xdb6e10(0x1ff),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xdb6e10(0x1fa),'configSaved':'Configuration\x20saved\x20successfully','configError':_0xdb6e10(0x1da),'apiApplyInfo':{'title':_0xdb6e10(0x1f6),'description':_0xdb6e10(0x1e6),'univerAiLabel':_0xdb6e10(0x1e7),'getStarted':_0xdb6e10(0x1e3)},'validation':{'apiKeyRequired':_0xdb6e10(0x1e9),'apiKeyTooShort':_0xdb6e10(0x1d4),'invalidConfig':_0xdb6e10(0x1d2),'invalidApiKey':_0xdb6e10(0x1f3)},'connectionStatus':{'disconnected':_0xdb6e10(0x200),'connecting':_0xdb6e10(0x1ef),'connected':_0xdb6e10(0x1d3),'failed':_0xdb6e10(0x1f2),'retrying':_0xdb6e10(0x1d7)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0xdb6e10(0x1d0),'sessionOccupied':_0xdb6e10(0x201),'networkError':_0xdb6e10(0x1d6),'maxRetriesExceeded':_0xdb6e10(0x1f1)}}};export{e as default};
|
package/lib/es/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0xe0890a=_0x282e;function _0x282e(_0x3cd2b9,_0x2b3a2b){const _0x5d621a=_0x5d62();return _0x282e=function(_0x282ef2,_0x2cf1e2){_0x282ef2=_0x282ef2-0xa4;let _0xc95fa9=_0x5d621a[_0x282ef2];return _0xc95fa9;},_0x282e(_0x3cd2b9,_0x2b3a2b);}(function(_0x5410cf,_0x5f1997){const _0x383257=_0x282e,_0x35383c=_0x5410cf();while(!![]){try{const _0x4e279f=parseInt(_0x383257(0xc9))/0x1*(parseInt(_0x383257(0xac))/0x2)+-parseInt(_0x383257(0xcf))/0x3+parseInt(_0x383257(0xad))/0x4*(parseInt(_0x383257(0xcd))/0x5)+-parseInt(_0x383257(0xc0))/0x6+-parseInt(_0x383257(0xbb))/0x7+-parseInt(_0x383257(0xb4))/0x8+parseInt(_0x383257(0xb2))/0x9*(parseInt(_0x383257(0xa7))/0xa);if(_0x4e279f===_0x5f1997)break;else _0x35383c['push'](_0x35383c['shift']());}catch(_0x3417f3){_0x35383c['push'](_0x35383c['shift']());}}}(_0x5d62,0xe4dec));const e={'mcpStatus':{'disconnected':_0xe0890a(0xab),'connecting':'MCP\x20Connecting...','connected':_0xe0890a(0xc7),'failed':_0xe0890a(0xc2),'retrying':_0xe0890a(0xc4),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0xe0890a(0xbc),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0xe0890a(0xb5),'networkError':_0xe0890a(0xc6),'maxRetriesExceeded':_0xe0890a(0xb3),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0xe0890a(0xca)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xe0890a(0xa6),'apiKey':_0xe0890a(0xbd),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xe0890a(0xb8),'enableAuth':_0xe0890a(0xb9),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0xe0890a(0xb1),'serverEndpoint':_0xe0890a(0xd0),'sessionId':_0xe0890a(0xba),'maxRetries':_0xe0890a(0xa4),'save':_0xe0890a(0xc5),'saving':'Saving...','note1':_0xe0890a(0xa8),'note2':_0xe0890a(0xcb),'configSaved':_0xe0890a(0xbf),'configError':_0xe0890a(0xb0),'apiApplyInfo':{'title':_0xe0890a(0xc8),'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':_0xe0890a(0xbe),'getStarted':_0xe0890a(0xc1)},'validation':{'apiKeyRequired':_0xe0890a(0xb7),'apiKeyTooShort':_0xe0890a(0xaf),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0xe0890a(0xc3),'connecting':_0xe0890a(0xa9),'connected':_0xe0890a(0xb6),'failed':_0xe0890a(0xae),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0xe0890a(0xcc),'invalidApiKey':_0xe0890a(0xa5),'sessionOccupied':_0xe0890a(0xaa),'networkError':_0xe0890a(0xce),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x5d62(){const _0x1ba68a=['MCP:\x20API\x20Key\x20Missing','API\x20Key','Univer\x20AI\x20Console','Configuration\x20saved\x20successfully','5488620csJcgu','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','Disconnected','MCP\x20Retrying...','Save\x20Configuration','MCP:\x20Network\x20Error','MCP\x20Connected','What\x20is\x20API\x20Key?','44257XPRswR','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20is\x20required\x20to\x20connect','5302235vOXYDx','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','4715052dCVDkB','Server\x20Endpoint','Max\x20Retries','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','29483310lGNhBT','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connecting...','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Disconnected','46CgzyqR','4tcTonc','Connection\x20Failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Failed\x20to\x20save\x20configuration','Connection\x20Information','9YCALjP','MCP:\x20Max\x20Retries\x20Exceeded','4807880mcACZs','MCP:\x20Session\x20Occupied','Connected','API\x20key\x20is\x20required','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20Authentication','Session\x20ID','7012586ZAcTCY'];_0x5d62=function(){return _0x1ba68a;};return _0x5d62();}export{n as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x312c11=_0x2b25;function _0xcf93(){const _0xd79d51=['376xmEctB','Click\x20to\x20connect\x20MCP','Click\x20to\x20configure\x20MCP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Invalid\x20API\x20Key','MCP\x20Connecting...','What\x20is\x20API\x20Key?','MCP\x20Configuration','113697lFnrYo','761277SuhaCM','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','8554uaJxPR','Enter\x20your\x20API\x20key','Saving...','MCP\x20Connection\x20Failed','11830WiJAzQ','2333196jvDKam','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connected','MCP\x20Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20Authentication','2728908zQUQrD','MCP\x20Unknown\x20Status','Disconnected','Server\x20Endpoint','1067nRETVM','6NVjung','5yKHRKK','Configuration\x20saved\x20successfully','Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Max\x20Retries','API\x20key\x20is\x20required\x20to\x20connect','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Session\x20Occupied','Univer\x20AI\x20Console','678044QlmiGi','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','MCP:\x20API\x20Key\x20Missing','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Retrying...','Retrying...','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP:\x20Network\x20Error','MCP:\x20Max\x20Retries\x20Exceeded'];_0xcf93=function(){return _0xd79d51;};return _0xcf93();}function _0x2b25(_0x1074be,_0x213ee1){const _0xcf934d=_0xcf93();return _0x2b25=function(_0x2b2593,_0x5425e7){_0x2b2593=_0x2b2593-0x13d;let _0x4bcf6c=_0xcf934d[_0x2b2593];return _0x4bcf6c;},_0x2b25(_0x1074be,_0x213ee1);}(function(_0xa51d76,_0x12fbe7){const _0x19dea8=_0x2b25,_0x4ee526=_0xa51d76();while(!![]){try{const _0x3696c7=-parseInt(_0x19dea8(0x14e))/0x1*(-parseInt(_0x19dea8(0x161))/0x2)+-parseInt(_0x19dea8(0x14f))/0x3+parseInt(_0x19dea8(0x16d))/0x4+-parseInt(_0x19dea8(0x162))/0x5*(parseInt(_0x19dea8(0x156))/0x6)+-parseInt(_0x19dea8(0x151))/0x7*(parseInt(_0x19dea8(0x146))/0x8)+parseInt(_0x19dea8(0x15c))/0x9+-parseInt(_0x19dea8(0x155))/0xa*(-parseInt(_0x19dea8(0x160))/0xb);if(_0x3696c7===_0x12fbe7)break;else _0x4ee526['push'](_0x4ee526['shift']());}catch(_0x353a6a){_0x4ee526['push'](_0x4ee526['shift']());}}}(_0xcf93,0x37c9a));const e={'mcpStatus':{'disconnected':_0x312c11(0x159),'connecting':_0x312c11(0x14b),'connected':_0x312c11(0x158),'failed':_0x312c11(0x154),'retrying':_0x312c11(0x141),'unknown':_0x312c11(0x15d),'missingApiKey':_0x312c11(0x13f),'invalidApiKey':_0x312c11(0x14a),'sessionOccupied':_0x312c11(0x16b),'networkError':_0x312c11(0x144),'maxRetriesExceeded':_0x312c11(0x145),'clickToConnect':_0x312c11(0x147),'clickToConfigure':_0x312c11(0x148)},'mcpConfig':{'title':_0x312c11(0x14d),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x312c11(0x152),'apiKeyHint':_0x312c11(0x150),'enableAuth':_0x312c11(0x15b),'enableAuthHint':_0x312c11(0x16a),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x312c11(0x15f),'sessionId':'Session\x20ID','maxRetries':_0x312c11(0x166),'save':'Save\x20Configuration','saving':_0x312c11(0x153),'note1':_0x312c11(0x165),'note2':_0x312c11(0x168),'configSaved':_0x312c11(0x163),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x312c11(0x14c),'description':_0x312c11(0x149),'univerAiLabel':_0x312c11(0x16c),'getStarted':_0x312c11(0x13d)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x312c11(0x13e),'invalidApiKey':_0x312c11(0x15a)},'connectionStatus':{'disconnected':_0x312c11(0x15e),'connecting':'Connecting...','connected':_0x312c11(0x164),'failed':'Connection\x20Failed','retrying':_0x312c11(0x142)},'connectionError':{'missingApiKey':_0x312c11(0x167),'invalidApiKey':_0x312c11(0x140),'sessionOccupied':_0x312c11(0x143),'networkError':_0x312c11(0x169),'maxRetriesExceeded':_0x312c11(0x157)}}},n=e;export{n as default};
|
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1b68a2=_0x41f6;(function(_0x5972c8,_0x11c242){const _0x498705=_0x41f6,_0x5647cf=_0x5972c8();while(!![]){try{const _0x44db8b=parseInt(_0x498705(0x111))/0x1*(-parseInt(_0x498705(0xf8))/0x2)+-parseInt(_0x498705(0x113))/0x3+parseInt(_0x498705(0x11f))/0x4+-parseInt(_0x498705(0xf3))/0x5*(-parseInt(_0x498705(0x110))/0x6)+parseInt(_0x498705(0x100))/0x7*(-parseInt(_0x498705(0x121))/0x8)+parseInt(_0x498705(0x112))/0x9+parseInt(_0x498705(0x107))/0xa*(parseInt(_0x498705(0x106))/0xb);if(_0x44db8b===_0x11c242)break;else _0x5647cf['push'](_0x5647cf['shift']());}catch(_0x238eec){_0x5647cf['push'](_0x5647cf['shift']());}}}(_0x5da6,0xb9f93));const e={'mcpStatus':{'disconnected':_0x1b68a2(0x101),'connecting':'MCP\x20Connecting...','connected':_0x1b68a2(0x11b),'failed':_0x1b68a2(0xf6),'retrying':_0x1b68a2(0x119),'unknown':_0x1b68a2(0xfc),'missingApiKey':_0x1b68a2(0xfd),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x1b68a2(0x102),'networkError':_0x1b68a2(0xf5),'maxRetriesExceeded':_0x1b68a2(0x11e),'clickToConnect':_0x1b68a2(0x116),'clickToConfigure':_0x1b68a2(0xf2)},'mcpConfig':{'title':_0x1b68a2(0x104),'description':_0x1b68a2(0xfa),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1b68a2(0x11d),'enableAuth':_0x1b68a2(0x117),'enableAuthHint':_0x1b68a2(0x10f),'connectionInfo':_0x1b68a2(0x105),'serverEndpoint':_0x1b68a2(0xf4),'sessionId':'Session\x20ID','maxRetries':_0x1b68a2(0xf1),'save':_0x1b68a2(0xf9),'saving':_0x1b68a2(0xfb),'note1':_0x1b68a2(0x115),'note2':_0x1b68a2(0x108),'configSaved':_0x1b68a2(0xfe),'configError':_0x1b68a2(0x103),'apiApplyInfo':{'title':_0x1b68a2(0xff),'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':_0x1b68a2(0x118),'getStarted':_0x1b68a2(0xf7)},'validation':{'apiKeyRequired':_0x1b68a2(0x10b),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1b68a2(0x114),'connecting':_0x1b68a2(0x11a),'connected':_0x1b68a2(0x11c),'failed':_0x1b68a2(0x10c),'retrying':_0x1b68a2(0x10a)},'connectionError':{'missingApiKey':_0x1b68a2(0x120),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x1b68a2(0x10e),'networkError':_0x1b68a2(0x109),'maxRetriesExceeded':_0x1b68a2(0x10d)}}},n=e;function _0x41f6(_0x2e66aa,_0x27945f){const _0x5da61f=_0x5da6();return _0x41f6=function(_0x41f6b5,_0xb1ca3f){_0x41f6b5=_0x41f6b5-0xf1;let _0x2f4f99=_0x5da61f[_0x41f6b5];return _0x2f4f99;},_0x41f6(_0x2e66aa,_0x27945f);}export{n as default};function _0x5da6(){const _0x4bbe97=['Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Retrying...','API\x20key\x20is\x20required','Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','5304738qNxzcP','427776BGMMsZ','12158757NtGIcJ','4516074apWIXA','Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20connect\x20MCP','Enable\x20Authentication','Univer\x20AI\x20Console','MCP\x20Retrying...','Connecting...','MCP\x20Connected','Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Max\x20Retries\x20Exceeded','3498972IsDURt','API\x20key\x20is\x20required\x20to\x20connect','2777472zhuWaN','Max\x20Retries','Click\x20to\x20configure\x20MCP','5VQPrhB','Server\x20Endpoint','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','4CXUmct','Save\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Saving...','MCP\x20Unknown\x20Status','MCP:\x20API\x20Key\x20Missing','Configuration\x20saved\x20successfully','What\x20is\x20API\x20Key?','7zqgWGX','MCP\x20Disconnected','MCP:\x20Session\x20Occupied','Failed\x20to\x20save\x20configuration','MCP\x20Configuration','Connection\x20Information','11xjlDIE','3600020nwltJq'];_0x5da6=function(){return _0x4bbe97;};return _0x5da6();}
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5693(){const _0xfecb1=['45039nobdOC','1865670XQmJaB','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Save\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20Authentication','Configuration\x20saved\x20successfully','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','428iZbocY','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Session\x20Occupied','MCP:\x20API\x20Key\x20Missing','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','4095154odAoNQ','231GmidCO','API\x20Key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1403550IXYdIZ','8167535elWsfL','Saving...','API\x20key\x20is\x20required','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Disconnected','Session\x20ID','MCP\x20Connecting...','MCP\x20Unknown\x20Status','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Max\x20Retries\x20Exceeded','80331DNxyOe','MCP:\x20Network\x20Error','MCP:\x20Invalid\x20API\x20Key','Retrying...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','113787YofsIl','Get\x20your\x20API\x20key\x20in\x20seconds','Session\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.','Enable\x20authentication\x20for\x20secure\x20connections','320zjrxIY','Click\x20to\x20configure\x20MCP','16gSnbiQ','Univer\x20AI\x20Console','API\x20key\x20is\x20required\x20to\x20connect'];_0x5693=function(){return _0xfecb1;};return _0x5693();}const _0x4d9494=_0x4126;function _0x4126(_0x4d454c,_0xf44a61){const _0x56937a=_0x5693();return _0x4126=function(_0x41260f,_0x14bb34){_0x41260f=_0x41260f-0xc8;let _0x56d0be=_0x56937a[_0x41260f];return _0x56d0be;},_0x4126(_0x4d454c,_0xf44a61);}(function(_0x1625c6,_0x5b978d){const _0xd9a336=_0x4126,_0xec483b=_0x1625c6();while(!![]){try{const _0x4a7a28=parseInt(_0xd9a336(0xd5))/0x1*(parseInt(_0xd9a336(0xe1))/0x2)+parseInt(_0xd9a336(0xe4))/0x3*(parseInt(_0xd9a336(0xec))/0x4)+parseInt(_0xd9a336(0xcb))/0x5+-parseInt(_0xd9a336(0xca))/0x6+parseInt(_0xd9a336(0xf1))/0x7+parseInt(_0xd9a336(0xdf))/0x8*(parseInt(_0xd9a336(0xda))/0x9)+-parseInt(_0xd9a336(0xe5))/0xa*(parseInt(_0xd9a336(0xf2))/0xb);if(_0x4a7a28===_0x5b978d)break;else _0xec483b['push'](_0xec483b['shift']());}catch(_0x55f0fc){_0xec483b['push'](_0xec483b['shift']());}}}(_0x5693,0xc88d0));const e={'mcpStatus':{'disconnected':_0x4d9494(0xcf),'connecting':_0x4d9494(0xd1),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x4d9494(0xd2),'missingApiKey':_0x4d9494(0xef),'invalidApiKey':_0x4d9494(0xd7),'sessionOccupied':_0x4d9494(0xee),'networkError':_0x4d9494(0xd6),'maxRetriesExceeded':_0x4d9494(0xd4),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4d9494(0xe0)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4d9494(0xf0),'apiKey':_0x4d9494(0xc8),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x4d9494(0xeb),'enableAuth':_0x4d9494(0xe9),'enableAuthHint':_0x4d9494(0xde),'connectionInfo':'Connection\x20Information','serverEndpoint':'Server\x20Endpoint','sessionId':_0x4d9494(0xd0),'maxRetries':'Max\x20Retries','save':_0x4d9494(0xe7),'saving':_0x4d9494(0xcc),'note1':_0x4d9494(0xd9),'note2':_0x4d9494(0xd3),'configSaved':_0x4d9494(0xea),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4d9494(0xdd),'univerAiLabel':_0x4d9494(0xe2),'getStarted':_0x4d9494(0xdb)},'validation':{'apiKeyRequired':_0x4d9494(0xcd),'apiKeyTooShort':_0x4d9494(0xc9),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4d9494(0xe8)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':'Connected','failed':'Connection\x20Failed','retrying':_0x4d9494(0xd8)},'connectionError':{'missingApiKey':_0x4d9494(0xe3),'invalidApiKey':_0x4d9494(0xce),'sessionOccupied':_0x4d9494(0xdc),'networkError':_0x4d9494(0xed),'maxRetriesExceeded':_0x4d9494(0xe6)}}},n=e;export{n as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4abbd7=_0x43de;function _0x43de(_0x2b9e40,_0x5356f2){const _0x3387d9=_0x3387();return _0x43de=function(_0x43ded5,_0x4a9419){_0x43ded5=_0x43ded5-0x9c;let _0x596e0b=_0x3387d9[_0x43ded5];return _0x596e0b;},_0x43de(_0x2b9e40,_0x5356f2);}(function(_0x4a1619,_0x15d4c6){const _0x12293c=_0x43de,_0xe5dcdd=_0x4a1619();while(!![]){try{const _0x3d3c7c=parseInt(_0x12293c(0x9c))/0x1+parseInt(_0x12293c(0xa2))/0x2+parseInt(_0x12293c(0xa8))/0x3*(-parseInt(_0x12293c(0xb3))/0x4)+parseInt(_0x12293c(0xb4))/0x5+-parseInt(_0x12293c(0xac))/0x6+parseInt(_0x12293c(0x9f))/0x7*(-parseInt(_0x12293c(0xb5))/0x8)+parseInt(_0x12293c(0xc4))/0x9*(parseInt(_0x12293c(0xc2))/0xa);if(_0x3d3c7c===_0x15d4c6)break;else _0xe5dcdd['push'](_0xe5dcdd['shift']());}catch(_0x1b8c4a){_0xe5dcdd['push'](_0xe5dcdd['shift']());}}}(_0x3387,0x6ee1c));function _0x3387(){const _0x297bba=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','2631TLyUdW','Server\x20Endpoint','MCP:\x20Network\x20Error','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','1083042Kebiah','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Retrying...','MCP\x20Connected','Enter\x20your\x20API\x20key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','1436UOMRCX','1051870FBytFp','8yPvnEo','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20Key','Disconnected','Connecting...','Connected','Saving...','Save\x20Configuration','Enable\x20Authentication','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20saved\x20successfully','Connection\x20Failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','41270UfZmWc','MCP\x20Disconnected','1818cwWlaE','Click\x20to\x20configure\x20MCP','45005RTLaxt','Failed\x20to\x20save\x20configuration','Session\x20ID','3096401lTFgbz','MCP\x20Retrying...','MCP\x20Connecting...','605664jDsUvc','MCP:\x20Session\x20Occupied','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','API\x20key\x20is\x20required','Enable\x20authentication\x20for\x20secure\x20connections'];_0x3387=function(){return _0x297bba;};return _0x3387();}const e={'mcpStatus':{'disconnected':_0x4abbd7(0xc3),'connecting':_0x4abbd7(0xa1),'connected':_0x4abbd7(0xb0),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4abbd7(0xa0),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x4abbd7(0xa3),'networkError':_0x4abbd7(0xaa),'maxRetriesExceeded':_0x4abbd7(0xad),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4abbd7(0xc5)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x4abbd7(0xa7),'apiKey':_0x4abbd7(0xb7),'apiKeyPlaceholder':_0x4abbd7(0xb1),'apiKeyHint':_0x4abbd7(0xab),'enableAuth':_0x4abbd7(0xbd),'enableAuthHint':_0x4abbd7(0xa6),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x4abbd7(0xa9),'sessionId':_0x4abbd7(0x9e),'maxRetries':'Max\x20Retries','save':_0x4abbd7(0xbc),'saving':_0x4abbd7(0xbb),'note1':_0x4abbd7(0xae),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4abbd7(0xbf),'configError':_0x4abbd7(0x9d),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4abbd7(0xbe)},'validation':{'apiKeyRequired':_0x4abbd7(0xa5),'apiKeyTooShort':_0x4abbd7(0xc1),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4abbd7(0xb6)},'connectionStatus':{'disconnected':_0x4abbd7(0xb8),'connecting':_0x4abbd7(0xb9),'connected':_0x4abbd7(0xba),'failed':_0x4abbd7(0xc0),'retrying':_0x4abbd7(0xaf)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x4abbd7(0xa4),'networkError':_0x4abbd7(0xb2),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5063(_0x18eb65,_0xe38750){const _0x4c4ed4=_0x4c4e();return _0x5063=function(_0x5063dc,_0x1eb20a){_0x5063dc=_0x5063dc-0x19d;let _0x2b239d=_0x4c4ed4[_0x5063dc];return _0x2b239d;},_0x5063(_0x18eb65,_0xe38750);}const _0x2b7007=_0x5063;(function(_0x334b25,_0x3f1897){const _0x2795ae=_0x5063,_0x10f976=_0x334b25();while(!![]){try{const _0x34487f=-parseInt(_0x2795ae(0x1d1))/0x1*(-parseInt(_0x2795ae(0x1bd))/0x2)+-parseInt(_0x2795ae(0x1a3))/0x3*(-parseInt(_0x2795ae(0x1b7))/0x4)+parseInt(_0x2795ae(0x1b0))/0x5*(parseInt(_0x2795ae(0x1a5))/0x6)+parseInt(_0x2795ae(0x1ce))/0x7+parseInt(_0x2795ae(0x1ac))/0x8+-parseInt(_0x2795ae(0x1d0))/0x9*(-parseInt(_0x2795ae(0x1b6))/0xa)+parseInt(_0x2795ae(0x1b1))/0xb*(-parseInt(_0x2795ae(0x1ba))/0xc);if(_0x34487f===_0x3f1897)break;else _0x10f976['push'](_0x10f976['shift']());}catch(_0x3ed801){_0x10f976['push'](_0x10f976['shift']());}}}(_0x4c4e,0x4a636));function _0x4c4e(){const _0x36bec7=['MCP:\x20Invalid\x20API\x20Key','Univer\x20AI\x20Console','273650ychIfu','275TJrOyV','MCP\x20Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Retrying...','10foDmFK','11104bRdMQC','Max\x20Retries','MCP\x20Configuration','680664iZXkxU','Session\x20ID','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','18tkTADc','Save\x20Configuration','Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Connected','MCP\x20Disconnected','Click\x20to\x20configure\x20MCP','Click\x20to\x20connect\x20MCP','MCP\x20Connecting...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','What\x20is\x20API\x20Key?','Invalid\x20configuration','MCP:\x20Network\x20Error','Configuration\x20saved\x20successfully','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','1295749YsQUGX','API\x20Key','968229wRsaRy','26667LLepNv','Connecting...','Saving...','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20is\x20required','Connection\x20Information','Retrying...','570EBCalu','MCP\x20Unknown\x20Status','48GVBogT','MCP\x20Connected','Failed\x20to\x20save\x20configuration','API\x20key\x20is\x20required\x20to\x20connect','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Session\x20Occupied','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','1798184OhBrCO','Server\x20Endpoint'];_0x4c4e=function(){return _0x36bec7;};return _0x4c4e();}const e={'mcpStatus':{'disconnected':_0x2b7007(0x1c3),'connecting':_0x2b7007(0x1c6),'connected':_0x2b7007(0x1a6),'failed':_0x2b7007(0x1b2),'retrying':_0x2b7007(0x1b5),'unknown':_0x2b7007(0x1a4),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x2b7007(0x1ae),'sessionOccupied':_0x2b7007(0x1aa),'networkError':_0x2b7007(0x1cb),'maxRetriesExceeded':_0x2b7007(0x1b4),'clickToConnect':_0x2b7007(0x1c5),'clickToConfigure':_0x2b7007(0x1c4)},'mcpConfig':{'title':_0x2b7007(0x1b9),'description':_0x2b7007(0x1a9),'apiKey':_0x2b7007(0x1cf),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x2b7007(0x1ab),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2b7007(0x1c0),'connectionInfo':_0x2b7007(0x1a1),'serverEndpoint':_0x2b7007(0x1ad),'sessionId':_0x2b7007(0x1bb),'maxRetries':_0x2b7007(0x1b8),'save':_0x2b7007(0x1be),'saving':_0x2b7007(0x19e),'note1':_0x2b7007(0x1c7),'note2':_0x2b7007(0x1bc),'configSaved':_0x2b7007(0x1cc),'configError':_0x2b7007(0x1a7),'apiApplyInfo':{'title':_0x2b7007(0x1c9),'description':_0x2b7007(0x1c8),'univerAiLabel':_0x2b7007(0x1af),'getStarted':_0x2b7007(0x19f)},'validation':{'apiKeyRequired':_0x2b7007(0x1a0),'apiKeyTooShort':_0x2b7007(0x1cd),'invalidConfig':_0x2b7007(0x1ca),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2b7007(0x19d),'connected':_0x2b7007(0x1c2),'failed':_0x2b7007(0x1bf),'retrying':_0x2b7007(0x1a2)},'connectionError':{'missingApiKey':_0x2b7007(0x1a8),'invalidApiKey':_0x2b7007(0x1c1),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x2b7007(0x1b3),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
|