@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/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var _0x57708f=_0xb818;(function(_0x9bc3c0,_0x2dbc9e){var _0x659417=_0xb818,_0x36db6b=_0x9bc3c0();while(!![]){try{var _0x33874f=-parseInt(_0x659417(0x1bc))/0x1*(parseInt(_0x659417(0x22c))/0x2)+parseInt(_0x659417(0x2a1))/0x3*(-parseInt(_0x659417(0x29f))/0x4)+-parseInt(_0x659417(0x288))/0x5+-parseInt(_0x659417(0x1d3))/0x6+-parseInt(_0x659417(0x1f5))/0x7+parseInt(_0x659417(0x1f6))/0x8+parseInt(_0x659417(0x213))/0x9;if(_0x33874f===_0x2dbc9e)break;else _0x36db6b['push'](_0x36db6b['shift']());}catch(_0x40dbbc){_0x36db6b['push'](_0x36db6b['shift']());}}}(_0x39df,0xed401));var V=Object[_0x57708f(0x281)],q=(_0x2f634f,_0x5cd4f9,_0x2459aa)=>_0x5cd4f9 in _0x2f634f?V(_0x2f634f,_0x5cd4f9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2459aa}):_0x2f634f[_0x5cd4f9]=_0x2459aa,_=(_0x405e59,_0x3e4d71,_0x3e51c3)=>q(_0x405e59,typeof _0x3e4d71!=_0x57708f(0x2a8)?_0x3e4d71+'':_0x3e4d71,_0x3e51c3);Object[_0x57708f(0x281)](exports,Symbol[_0x57708f(0x228)],{'value':_0x57708f(0x23d)});const l=require('@univerjs/core'),c=require('react/jsx-runtime'),o=require('@univerjs-pro/mcp'),m=require('@univerjs/design'),C=require('@univerjs/ui'),S=require('rxjs'),d=require('react');function K(_0xf16838){var _0x4672bb=_0x57708f;const {mcpCoreConfig:_0x839660,onSave:_0x3e27d4,loading:_0x2b06f5=!0x1,config:_0x2e37ec}=_0xf16838,_0x4e9870=C[_0x4672bb(0x260)](l['LocaleService']),[_0xec1c8f,_0x573ce4]=d[_0x4672bb(0x258)](_0x839660[_0x4672bb(0x1ac)]||''),_0x32d4b4=!0x0,_0xa33b8c=d['useCallback'](()=>{var _0x42aedf=_0x4672bb;const _0x4ebeca={..._0x839660,'apiKey':_0xec1c8f[_0x42aedf(0x2aa)](),'enableAuth':_0x32d4b4};_0x3e27d4(_0x4ebeca);},[_0x839660,_0xec1c8f,_0x32d4b4,_0x3e27d4]),_0x5328e7=_0xec1c8f[_0x4672bb(0x2aa)]()['length']>0x0;return c[_0x4672bb(0x1c4)](_0x4672bb(0x1fa),{'className':_0x4672bb(0x24a),'children':[c['jsx'](_0x4672bb(0x1fa),{'className':_0x4672bb(0x1cd),'children':c[_0x4672bb(0x1c4)](_0x4672bb(0x1fa),{'className':_0x4672bb(0x2a9),'children':[c[_0x4672bb(0x219)]('div',{'className':_0x4672bb(0x1ab),'children':c[_0x4672bb(0x219)](_0x4672bb(0x265),{'className':_0x4672bb(0x208),'children':'⚙'})}),c[_0x4672bb(0x219)](_0x4672bb(0x1fa),{'children':c[_0x4672bb(0x219)]('p',{'className':_0x4672bb(0x1ec),'children':_0x4e9870['t'](_0x4672bb(0x1c8))})})]})}),c[_0x4672bb(0x219)](_0x4672bb(0x1fa),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':c[_0x4672bb(0x1c4)](_0x4672bb(0x1fa),{'className':_0x4672bb(0x256),'children':[c[_0x4672bb(0x1c4)](_0x4672bb(0x1fa),{'className':_0x4672bb(0x215),'children':[c['jsxs']('label',{'className':_0x4672bb(0x243),'children':[c[_0x4672bb(0x219)](_0x4672bb(0x265),{'children':'🔑'}),'\x20',_0x4e9870['t']('mcpConfig.apiKey'),c[_0x4672bb(0x219)](_0x4672bb(0x265),{'className':_0x4672bb(0x1d0),'children':'*'})]}),c[_0x4672bb(0x219)](m['Input'],{'type':_0x4672bb(0x1f7),'placeholder':_0x4e9870['t'](_0x4672bb(0x206)),'value':_0xec1c8f,'onChange':_0x573ce4,'disabled':_0x2b06f5,'autoComplete':_0x4672bb(0x195)}),c['jsx']('p',{'className':_0x4672bb(0x1e9),'children':_0x4e9870['t'](_0x4672bb(0x1a5))})]}),_0x2e37ec['showDeveloperTools']&&c[_0x4672bb(0x1c4)](_0x4672bb(0x1fa),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[c[_0x4672bb(0x1c4)]('h4',{'className':_0x4672bb(0x21e),'children':[c[_0x4672bb(0x219)]('span',{'children':'🔗'}),'\x20',_0x4e9870['t'](_0x4672bb(0x1fb))]}),c[_0x4672bb(0x1c4)](_0x4672bb(0x1fa),{'className':_0x4672bb(0x28a),'children':[c[_0x4672bb(0x1c4)]('div',{'className':_0x4672bb(0x253),'children':[c[_0x4672bb(0x219)](_0x4672bb(0x1fa),{'className':_0x4672bb(0x188)}),c['jsxs'](_0x4672bb(0x1fa),{'className':_0x4672bb(0x21a),'children':[c['jsx']('div',{'className':_0x4672bb(0x244),'children':_0x4e9870['t'](_0x4672bb(0x248))}),c[_0x4672bb(0x219)](_0x4672bb(0x209),{'className':_0x4672bb(0x224),'children':_0x839660[_0x4672bb(0x186)]||'ws://127.0.0.1:5001/mcp-server-api/ws'})]})]}),c[_0x4672bb(0x1c4)]('div',{'className':_0x4672bb(0x253),'children':[c[_0x4672bb(0x219)]('div',{'className':_0x4672bb(0x1f9)}),c[_0x4672bb(0x1c4)]('div',{'className':_0x4672bb(0x21a),'children':[c[_0x4672bb(0x219)](_0x4672bb(0x1fa),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x4e9870['t'](_0x4672bb(0x28d))}),c[_0x4672bb(0x219)]('code',{'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':_0x839660['sessionId']||_0x4672bb(0x1f0)})]})]})]})]}),c[_0x4672bb(0x219)](m['Button'],{'onClick':_0xa33b8c,'disabled':!_0x5328e7||_0x2b06f5,'className':'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','children':_0x2b06f5?c[_0x4672bb(0x1c4)](_0x4672bb(0x265),{'children':['⟲',_0x4e9870['t'](_0x4672bb(0x252))]}):c[_0x4672bb(0x1c4)](_0x4672bb(0x265),{'children':['✓',_0x4e9870['t'](_0x4672bb(0x1a1))]})}),c[_0x4672bb(0x219)](_0x4672bb(0x1fa),{'className':_0x4672bb(0x263),'children':c[_0x4672bb(0x1c4)]('div',{'className':_0x4672bb(0x278),'children':[c[_0x4672bb(0x219)](_0x4672bb(0x265),{'className':_0x4672bb(0x211),'children':'💡'}),c['jsxs']('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[c[_0x4672bb(0x219)](_0x4672bb(0x1fa),{'className':_0x4672bb(0x225),'children':_0x4672bb(0x24b)}),c[_0x4672bb(0x1c4)](_0x4672bb(0x1fa),{'children':['•',_0x4e9870['t'](_0x4672bb(0x1fd))]}),c[_0x4672bb(0x1c4)](_0x4672bb(0x1fa),{'children':['•',_0x4e9870['t']('mcpConfig.note2')]})]})]})})]})})]});}const E='mcp-ui.config',w={'showDeveloperTools':!0x1};var B=Object[_0x57708f(0x197)],H=(_0x57848a,_0x5e9488,_0x190e7f,_0x41558a)=>{var _0x51efee=_0x57708f;for(var _0x4cc55f=_0x41558a>0x1?void 0x0:_0x41558a?B(_0x5e9488,_0x190e7f):_0x5e9488,_0x4b467a=_0x57848a[_0x51efee(0x1fc)]-0x1,_0x468c8b;_0x4b467a>=0x0;_0x4b467a--)(_0x468c8b=_0x57848a[_0x4b467a])&&(_0x4cc55f=_0x468c8b(_0x4cc55f)||_0x4cc55f);return _0x4cc55f;},f=(_0x5c4131,_0x24c40b)=>(_0x203f71,_0x24cb56)=>_0x24c40b(_0x203f71,_0x24cb56,_0x5c4131);function _0x39df(){var _0x55646a=['univer-text-gray-500','IConfigService','MCPConnectionStatus','12cygfot','xlink:href','526764LdCBbh','createElement','add','warn','use','API\x20Key','API\x20密钥不能为空','symbol','univer-flex\x20univer-items-center\x20univer-gap-3','trim','useObservable','_handleConfigSave','UniverIcon','extend','disposeWithMe','url(#off-line-icon_clip0_910_343)','_menuManagerService','open','univer-hidden\x20sm:univer-inline','API\x20密钥长度至少需要\x2010\x20位','_validateConfig','BUTTON','children','current','propertyIsEnumerable','MCP:\x20超出最大重试次数','MCPStatusDisplay','className','UniverMCPUIPlugin','Configuration\x20saved\x20successfully','mcpServerEndpoint','displayName','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-green-500','currentColor','map','Inject','setConfig','forEach','配置保存失败','MCP:\x20Max\x20Retries\x20Exceeded','off-line-icon','removeItem','ILocalStorageService','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','getStatus$','off','LocaleService','getOwnPropertyDescriptor','_initFallbackEventListener','svg','clsx','MCP\x20Connection\x20Failed','_error$','点击连接\x20MCP','MCPConfigPanel','_mcpCoreConfig$','round','mcpConfig.save','_initializeMenus','mcp-config-dialog','white','mcpConfig.apiKeyHint','OffLineIcon','点击配置\x20MCP','none','translate(.97)','Error','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','apiKey','asObservable','服务器端点','SESSION_ID_OCCUPIED','close','HEADER_MENU','url(#on-line-icon_clip0_910_349)','hasOwnProperty','mcpStatus.connecting','mcpStatus.invalidApiKey','配置更改将立即生效','API\x20key\x20is\x20required','IMenuManagerService','url(#$1','on-line-icon_clip0_910_349','API\x20密钥','5BTrDEi','Failed\x20to\x20save\x20configuration','INVALID_API_KEY','Success','NETWORK_ERROR','show','_componentManager','MCPConfigUIController','jsxs','bottom','getCurrentConfig','ComponentManager','mcpConfig.description','MCP\x20已断开','DISCONNECTED','ILogService','MCP\x20配置','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','prototype','_localStorageService','univer-text-red-500','mcpStatus.clickToConfigure','_config','232344srnyGL','mask','Enter\x20your\x20API\x20key','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','mcpConfig.validation.invalidConfig','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','attrs','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','DependentOn','_status$','_configService','_uiPartsService','getError$','MCP\x20Unknown\x20Status','mcpStatus.clickToDisconnect','defIds','error','Enable\x20Authentication','getOwnPropertySymbols','connectInjector','_createConfigPanelComponent','path','univer-text-xs\x20univer-text-gray-500','get','string','univer-text-sm\x20univer-text-gray-500','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','load','updateStatus','default','getConfig','请输入您的\x20API\x20密钥','off-line-icon_clip0_910_343','OpenMCPConfigPanelCommand','3026359hPPWeP','14308464MPJBjH','text','disconnect','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','div','mcpConfig.connectionInfo','length','mcpConfig.note1','MCP\x20重连中...','MCP:\x20Session\x20Occupied','MenuItemType','_initializeCommands','_messageService','MessageType','Disposable','IUIPartsService','mcpConfig.apiKeyPlaceholder','mcpStatus.networkError','univer-text-white','code','http://www.w3.org/2000/svg','next','0\x200\x2017\x2016','RibbonStartGroup','icon','MCP:\x20API\x20Key\x20Missing','call','univer-flex-shrink-0\x20univer-text-blue-500','保存配置','34308018EIXIFn','CommandType','univer-space-y-2','mcpConfig.title','connectionError$','0\x200\x2016\x2016','jsx','univer-min-w-0\x20univer-flex-1','MCP:\x20无效的\x20API\x20密钥','errorMessage','validateApiKey','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','FAILED','forwardRef','random','IMessageService','\x20-\x20','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','univer-font-medium','mcpStatus.clickToConnect','toString','toStringTag','colorChannel1','MCP_PLUGIN_CONFIG_KEY','univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-px-2\x20univer-py-1\x20univer-text-sm','703054HpIGLu','mcp-ui.command.openConfigPanel','MCP:\x20Invalid\x20API\x20Key','pluginName','CONNECTING','getItem','mcpConfig.validation.apiKeyTooShort','MCP\x20状态未知','MCP\x20Configuration','_initStatusComponent','Injector','连接信息','启用身份验证以获得安全连接','MISSING_API_KEY','保存中...','defs','Click\x20to\x20connect\x20MCP','Module','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','value','点击断开\x20MCP','MCPConnectionUIController','subscribe','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','NONE','_initConfigSync','showConfigPanel','mcpConfig.serverEndpoint','OnLineIcon','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','Configuration\x20Notes:','_config$','MenuIcon','_initRealConnectionListener','MCP:\x20缺少\x20API\x20密钥','_commandService','entries','mcpConfig.saving','univer-flex\x20univer-items-start\x20univer-gap-3','_handleConfigure','MCP\x20已连接','univer-space-y-5','Click\x20to\x20disconnect\x20MCP','useState','Max\x20Retries','univer-text-yellow-500','MCPConnectionError','OTHERS','mcpStatus.sessionOccupied','mcp.apiKey','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','useDependency','API\x20密钥无效,请检查密钥是否正确','配置保存成功','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','UniverMCPPlugin','span','tag','\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','Server\x20Endpoint','_handleConnect','setItem','replace','MCPUIMenuController','1em','_localeService','_registerComponent','assign','RETRYING','substring','CONNECTED','MCP:\x20网络错误','mcpStatus.connected','_dialogService','registerCommand','univer-flex\x20univer-gap-3','M0\x200H16V16H0z','Session\x20ID','mcpConfig.configError','isValid','useCallback','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','mergeMenu','idSuffix','defineProperty','_handleDisconnect','BehaviorSubject','MCPConnectionController','clipPath','Save\x20Configuration','connect','9366615heoylF','connectionStatus$','univer-space-y-3','subscribeConfigValue$','[MCPConnectionUI]\x20Failed\x20to\x20get\x20connection\x20controller:','mcpConfig.sessionId','mcpConfig.validation.apiKeyRequired','Plugin','_loading$','_logService','indexOf','mcpStatus.retrying','_loadStoredApiKey','IDialogService','fill','_injector','MCP\x20Connecting...','MCP\x20连接中...','concat','on-line-icon'];_0x39df=function(){return _0x55646a;};return _0x39df();}const y=_0x57708f(0x25e),N=_0x57708f(0x1a3);exports['MCPConfigUIController']=class extends l[_0x57708f(0x204)]{constructor(_0xa12561,_0x774cdf,_0x239203,_0x1511f2,_0x45a598,_0x4bc8cd,_0x515854,_0x22e5c5,_0x228a5a){var _0x45e59b=_0x57708f;super(),_(this,_0x45e59b(0x290),new S[(_0x45e59b(0x283))](!0x1)),_(this,'_mcpCoreConfig$',new S[(_0x45e59b(0x283))]({})),_(this,_0x45e59b(0x24c),new S[(_0x45e59b(0x283))]({})),_(this,_0x45e59b(0x2ac),async _0x24251c=>{var _0x5c4b84=_0x45e59b;this['_loading$'][_0x5c4b84(0x20b)](!0x0);try{const _0x3c7390=await this[_0x5c4b84(0x2b5)](_0x24251c);if(!_0x3c7390[_0x5c4b84(0x27c)]){this[_0x5c4b84(0x202)][_0x5c4b84(0x1c1)]({'type':m['MessageType']['Error'],'content':_0x3c7390[_0x5c4b84(0x21c)]||this[_0x5c4b84(0x26e)]['t'](_0x5c4b84(0x1d7))});return;}_0x24251c[_0x5c4b84(0x1ac)]?await this[_0x5c4b84(0x1cf)][_0x5c4b84(0x26a)](y,_0x24251c[_0x5c4b84(0x1ac)][_0x5c4b84(0x2aa)]()):await this[_0x5c4b84(0x1cf)][_0x5c4b84(0x191)](y),this[_0x5c4b84(0x1dd)]['setConfig'](o['MCP_PLUGIN_CONFIG_KEY'],{..._0x24251c,'apiKey':_0x24251c[_0x5c4b84(0x1ac)]['trim']()}),this[_0x5c4b84(0x19f)][_0x5c4b84(0x20b)]({..._0x24251c,'apiKey':_0x24251c[_0x5c4b84(0x1ac)][_0x5c4b84(0x2aa)]()}),this[_0x5c4b84(0x202)][_0x5c4b84(0x1c1)]({'type':m[_0x5c4b84(0x203)][_0x5c4b84(0x1bf)],'content':this[_0x5c4b84(0x26e)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{var _0x534c15=_0x5c4b84;this['_dialogService'][_0x534c15(0x1b0)](N);},0x320);}catch(_0x4b343d){this[_0x5c4b84(0x291)][_0x5c4b84(0x1e3)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x4b343d),this[_0x5c4b84(0x202)][_0x5c4b84(0x1c1)]({'type':m[_0x5c4b84(0x203)][_0x5c4b84(0x1aa)],'content':this[_0x5c4b84(0x26e)]['t'](_0x5c4b84(0x27b))});}finally{this['_loading$'][_0x5c4b84(0x20b)](!0x1);}}),(this[_0x45e59b(0x297)]=_0xa12561,this[_0x45e59b(0x1de)]=_0x774cdf,this['_configService']=_0x239203,this[_0x45e59b(0x1cf)]=_0x1511f2,this[_0x45e59b(0x276)]=_0x45a598,this[_0x45e59b(0x202)]=_0x4bc8cd,this[_0x45e59b(0x1c2)]=_0x515854,this[_0x45e59b(0x26e)]=_0x22e5c5,this['_logService']=_0x228a5a,this[_0x45e59b(0x246)](),this[_0x45e59b(0x294)](),this[_0x45e59b(0x26f)]());}[_0x57708f(0x247)](){var _0x246bbf=_0x57708f;this[_0x246bbf(0x276)][_0x246bbf(0x2b2)]({'id':N,'title':{'title':this['_localeService']['t'](_0x246bbf(0x216))},'children':{'label':_0x246bbf(0x19e)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x57b237=_0x246bbf;this['_dialogService'][_0x57b237(0x1b0)](N);}});}[_0x57708f(0x1c6)](){var _0x5780ca=_0x57708f;return this[_0x5780ca(0x19f)][_0x5780ca(0x23f)];}[_0x57708f(0x26f)](){var _0x38444b=_0x57708f;this[_0x38444b(0x2af)](this[_0x38444b(0x1c2)]['register'](_0x38444b(0x19e),this[_0x38444b(0x1e7)]()));}[_0x57708f(0x1e7)](){var _0x47ec20=_0x57708f;return C['connectInjector'](()=>c[_0x47ec20(0x219)](K,{'config':this[_0x47ec20(0x24c)][_0x47ec20(0x23f)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x47ec20(0x23f)],'onSave':this[_0x47ec20(0x2ac)],'loading':this[_0x47ec20(0x290)][_0x47ec20(0x23f)]}),this[_0x47ec20(0x297)]);}[_0x57708f(0x246)](){var _0x58dc8e=_0x57708f;this['disposeWithMe'](this['_configService'][_0x58dc8e(0x28b)](o[_0x58dc8e(0x22a)])['subscribe'](_0x33403c=>{var _0x391168=_0x58dc8e;this[_0x391168(0x19f)]['next'](_0x33403c||{});}));const _0x3b6b8d=this['_configService'][_0x58dc8e(0x1f1)](o['MCP_PLUGIN_CONFIG_KEY']);this[_0x58dc8e(0x19f)]['next'](_0x3b6b8d||{}),this[_0x58dc8e(0x2af)](this[_0x58dc8e(0x1dd)][_0x58dc8e(0x28b)](E)[_0x58dc8e(0x242)](_0x2c7bc5=>{var _0xb3b2ca=_0x58dc8e;this[_0xb3b2ca(0x24c)]['next'](_0x2c7bc5||{});}));const _0x50fe29=this[_0x58dc8e(0x1dd)]['getConfig'](E);this['_config$'][_0x58dc8e(0x20b)](_0x50fe29||{});}async[_0x57708f(0x294)](){var _0x3ef35e=_0x57708f;const _0x59f12f=await this[_0x3ef35e(0x1cf)][_0x3ef35e(0x231)](y);if(_0x59f12f){const _0x1c009d={...this['_mcpCoreConfig$'][_0x3ef35e(0x23f)],'apiKey':_0x59f12f};this['_configService'][_0x3ef35e(0x18c)](o[_0x3ef35e(0x22a)],_0x1c009d),this[_0x3ef35e(0x19f)]['next'](_0x1c009d);}}async[_0x57708f(0x2b5)](_0x13a406){var _0x291dd6=_0x57708f;if(!_0x13a406[_0x291dd6(0x1ac)]||_0x13a406[_0x291dd6(0x1ac)][_0x291dd6(0x2aa)]()[_0x291dd6(0x1fc)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x291dd6(0x26e)]['t'](_0x291dd6(0x28e))};if(_0x13a406[_0x291dd6(0x1ac)][_0x291dd6(0x2aa)]()[_0x291dd6(0x1fc)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x291dd6(0x232))};try{const _0x4e23fc=await this[_0x291dd6(0x297)]['get'](o[_0x291dd6(0x284)])[_0x291dd6(0x21d)](_0x13a406[_0x291dd6(0x1ac)][_0x291dd6(0x2aa)]());return _0x4e23fc[_0x291dd6(0x27c)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x4e23fc[_0x291dd6(0x1e3)]||this[_0x291dd6(0x26e)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x56db0a){return console['warn'](_0x291dd6(0x193),_0x56db0a),{'isValid':!0x0};}}},exports[_0x57708f(0x1c3)]=H([f(0x0,l[_0x57708f(0x18b)](l['Injector'])),f(0x1,C[_0x57708f(0x205)]),f(0x2,l['IConfigService']),f(0x3,l[_0x57708f(0x192)]),f(0x4,C[_0x57708f(0x295)]),f(0x5,C[_0x57708f(0x222)]),f(0x6,l[_0x57708f(0x18b)](C[_0x57708f(0x1c7)])),f(0x7,l['Inject'](l[_0x57708f(0x196)])),f(0x8,l['ILogService'])],exports[_0x57708f(0x1c3)]);const M={'id':_0x57708f(0x22d),'type':l[_0x57708f(0x214)]['COMMAND'],'handler':async(_0x20bcfb,_0xdb7afd)=>(_0x20bcfb[_0x57708f(0x1ea)](exports['MCPConfigUIController'])[_0x57708f(0x247)](),!0x0)};var v=function(){return v=Object['assign']||function(_0x3c9be0){var _0x58fbb6=_0xb818;for(var _0x384f35,_0x2ceb58=0x1,_0x4e9f15=arguments[_0x58fbb6(0x1fc)];_0x2ceb58<_0x4e9f15;_0x2ceb58++){_0x384f35=arguments[_0x2ceb58];for(var _0x5f0a8f in _0x384f35)Object[_0x58fbb6(0x1ce)][_0x58fbb6(0x1b3)][_0x58fbb6(0x210)](_0x384f35,_0x5f0a8f)&&(_0x3c9be0[_0x5f0a8f]=_0x384f35[_0x5f0a8f]);}return _0x3c9be0;},v['apply'](this,arguments);},W=function(_0x5f5297,_0x39c36f){var _0x2c075c=_0x57708f,_0x49356b={};for(var _0x448168 in _0x5f5297)Object[_0x2c075c(0x1ce)][_0x2c075c(0x1b3)][_0x2c075c(0x210)](_0x5f5297,_0x448168)&&_0x39c36f[_0x2c075c(0x292)](_0x448168)<0x0&&(_0x49356b[_0x448168]=_0x5f5297[_0x448168]);if(_0x5f5297!=null&&typeof Object[_0x2c075c(0x1e5)]=='function'){for(var _0x345cc9=0x0,_0x448168=Object['getOwnPropertySymbols'](_0x5f5297);_0x345cc9<_0x448168[_0x2c075c(0x1fc)];_0x345cc9++)_0x39c36f[_0x2c075c(0x292)](_0x448168[_0x345cc9])<0x0&&Object[_0x2c075c(0x1ce)][_0x2c075c(0x2b9)]['call'](_0x5f5297,_0x448168[_0x345cc9])&&(_0x49356b[_0x448168[_0x345cc9]]=_0x5f5297[_0x448168[_0x345cc9]]);}return _0x49356b;},j=d[_0x57708f(0x220)](function(_0x4e98ee,_0x2b0e20){var _0x1a124f=_0x57708f,_0x2a5be1=_0x4e98ee[_0x1a124f(0x20e)],_0x111873=_0x4e98ee['id'],_0x3c719c=_0x4e98ee[_0x1a124f(0x183)],_0x563bb4=_0x4e98ee[_0x1a124f(0x2ae)],_0x3bdb20=W(_0x4e98ee,[_0x1a124f(0x20e),'id',_0x1a124f(0x183),_0x1a124f(0x2ae)]),_0x37783a='univerjs-icon\x20univerjs-icon-'[_0x1a124f(0x29a)](_0x111873,'\x20')[_0x1a124f(0x29a)](_0x3c719c||'')['trim'](),_0x512116=d['useRef']('_'[_0x1a124f(0x29a)](J()));return $(_0x2a5be1,''[_0x1a124f(0x29a)](_0x111873),{'defIds':_0x2a5be1['defIds'],'idSuffix':_0x512116[_0x1a124f(0x2b8)]},v({'ref':_0x2b0e20,'className':_0x37783a},_0x3bdb20),_0x563bb4);});function $(_0x4f74c2,_0x33b327,_0x3b5526,_0x3b46bd,_0x31c654){var _0x91f456=_0x57708f;return d[_0x91f456(0x2a2)](_0x4f74c2[_0x91f456(0x266)],v(v({'key':_0x33b327},z(_0x4f74c2,_0x3b5526,_0x31c654)),_0x3b46bd),(X(_0x4f74c2,_0x3b5526)[_0x91f456(0x2b7)]||[])[_0x91f456(0x18a)](function(_0x58c5ed,_0xc346e5){var _0x442908=_0x91f456;return $(_0x58c5ed,''['concat'](_0x33b327,'-')[_0x442908(0x29a)](_0x4f74c2[_0x442908(0x266)],'-')[_0x442908(0x29a)](_0xc346e5),_0x3b5526,void 0x0,_0x31c654);}));}function z(_0x56eb69,_0x517796,_0x5efcf6){var _0x1cb250=_0x57708f,_0x1612a9=v({},_0x56eb69[_0x1cb250(0x1d9)]);_0x5efcf6!=null&&_0x5efcf6['colorChannel1']&&_0x1612a9[_0x1cb250(0x296)]===_0x1cb250(0x229)&&(_0x1612a9[_0x1cb250(0x296)]=_0x5efcf6['colorChannel1']),_0x56eb69[_0x1cb250(0x266)]===_0x1cb250(0x1d4)&&_0x1612a9['id']&&(_0x1612a9['id']=_0x1612a9['id']+_0x517796[_0x1cb250(0x280)]),Object[_0x1cb250(0x251)](_0x1612a9)[_0x1cb250(0x18d)](function(_0x359daf){var _0x3db5f1=_0x1cb250,_0x22dc4f=_0x359daf[0x0],_0x2c2b10=_0x359daf[0x1];_0x22dc4f===_0x3db5f1(0x1d4)&&typeof _0x2c2b10==_0x3db5f1(0x1eb)&&(_0x1612a9[_0x22dc4f]=_0x2c2b10[_0x3db5f1(0x26b)](/url\(#(.*)\)/,_0x3db5f1(0x1b9)[_0x3db5f1(0x29a)](_0x517796['idSuffix'],')')));});var _0x49cdee=_0x517796[_0x1cb250(0x1e2)];return!_0x49cdee||_0x49cdee[_0x1cb250(0x1fc)]===0x0||(_0x56eb69[_0x1cb250(0x266)]===_0x1cb250(0x2a5)&&_0x1612a9[_0x1cb250(0x2a0)]&&(_0x1612a9[_0x1cb250(0x2a0)]=_0x1612a9['xlink:href']+_0x517796[_0x1cb250(0x280)]),Object[_0x1cb250(0x251)](_0x1612a9)[_0x1cb250(0x18d)](function(_0x404cee){var _0xdb792d=_0x1cb250,_0x4a6352=_0x404cee[0x0],_0x5972b1=_0x404cee[0x1];typeof _0x5972b1=='string'&&(_0x1612a9[_0x4a6352]=_0x5972b1[_0xdb792d(0x26b)](/url\(#(.*)\)/,_0xdb792d(0x1b9)['concat'](_0x517796['idSuffix'],')')));})),_0x1612a9;}function X(_0x3c521e,_0x54dcb0){var _0x4ae5c4=_0x57708f,_0xd1d655,_0x179b0e=_0x54dcb0['defIds'];return!_0x179b0e||_0x179b0e[_0x4ae5c4(0x1fc)]===0x0?_0x3c521e:_0x3c521e[_0x4ae5c4(0x266)]===_0x4ae5c4(0x23b)&&(!((_0xd1d655=_0x3c521e[_0x4ae5c4(0x2b7)])===null||_0xd1d655===void 0x0)&&_0xd1d655[_0x4ae5c4(0x1fc)])?v(v({},_0x3c521e),{'children':_0x3c521e[_0x4ae5c4(0x2b7)]['map'](function(_0x33fb78){var _0x2da849=_0x4ae5c4;return typeof _0x33fb78['attrs']['id']==_0x2da849(0x1eb)&&_0x179b0e&&_0x179b0e['includes'](_0x33fb78[_0x2da849(0x1d9)]['id'])?v(v({},_0x33fb78),{'attrs':v(v({},_0x33fb78[_0x2da849(0x1d9)]),{'id':_0x33fb78['attrs']['id']+_0x54dcb0[_0x2da849(0x280)]})}):_0x33fb78;})}):_0x3c521e;}function J(){var _0x571a42=_0x57708f;return Math[_0x571a42(0x221)]()[_0x571a42(0x227)](0x24)[_0x571a42(0x272)](0x2,0x8);}j[_0x57708f(0x187)]=_0x57708f(0x2ad);var Q={'tag':_0x57708f(0x199),'attrs':{'xmlns':_0x57708f(0x20a),'fill':_0x57708f(0x1a8),'viewBox':_0x57708f(0x218),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x57708f(0x2b0)},'children':[{'tag':_0x57708f(0x1e8),'attrs':{'stroke':'currentColor','d':_0x57708f(0x25f),'strokeLinecap':_0x57708f(0x1a0),'strokeLinejoin':_0x57708f(0x1a0),'strokeWidth':1.2}}]},{'tag':_0x57708f(0x23b),'attrs':{},'children':[{'tag':_0x57708f(0x285),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x57708f(0x1e8),'attrs':{'fill':'white','d':_0x57708f(0x279)}}]}]}],'defIds':[_0x57708f(0x1f3)]},U=d[_0x57708f(0x220)](function(_0x2a6462,_0x4ec7b5){var _0x1c521f=_0x57708f;return d['createElement'](j,Object[_0x1c521f(0x270)]({},_0x2a6462,{'id':_0x1c521f(0x190),'ref':_0x4ec7b5,'icon':Q}));});U['displayName']=_0x57708f(0x1a6);var Z={'tag':_0x57708f(0x199),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x57708f(0x1a8),'viewBox':_0x57708f(0x20c),'width':_0x57708f(0x26d),'height':_0x57708f(0x26d)},'children':[{'tag':'g','attrs':{'clipPath':_0x57708f(0x1b2)},'children':[{'tag':_0x57708f(0x1e8),'attrs':{'stroke':_0x57708f(0x189),'d':_0x57708f(0x1d6),'strokeLinecap':_0x57708f(0x1a0),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x57708f(0x23b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x57708f(0x1e8),'attrs':{'fill':_0x57708f(0x1a4),'d':_0x57708f(0x279),'transform':_0x57708f(0x1a9)}}]}]}],'defIds':[_0x57708f(0x1ba)]},b=d[_0x57708f(0x220)](function(_0x1887d4,_0x4494dd){var _0x334bb8=_0x57708f;return d[_0x334bb8(0x2a2)](j,Object['assign']({},_0x1887d4,{'id':_0x334bb8(0x29b),'ref':_0x4494dd,'icon':Z}));});b['displayName']=_0x57708f(0x249);function A(_0x434218,_0x156f8a){var _0x41c6ba=_0x57708f;switch(_0x434218){case o['MCPConnectionStatus'][_0x41c6ba(0x1ca)]:return _0x156f8a===o['MCPConnectionError'][_0x41c6ba(0x239)]?'mcpStatus.missingApiKey':'mcpStatus.disconnected';case o[_0x41c6ba(0x29e)][_0x41c6ba(0x230)]:return _0x41c6ba(0x1b4);case o[_0x41c6ba(0x29e)][_0x41c6ba(0x273)]:return _0x41c6ba(0x275);case o[_0x41c6ba(0x29e)][_0x41c6ba(0x21f)]:switch(_0x156f8a){case o[_0x41c6ba(0x25b)][_0x41c6ba(0x1be)]:return _0x41c6ba(0x1b5);case o[_0x41c6ba(0x25b)][_0x41c6ba(0x1af)]:return _0x41c6ba(0x25d);case o[_0x41c6ba(0x25b)][_0x41c6ba(0x1c0)]:return _0x41c6ba(0x207);case o['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case o[_0x41c6ba(0x29e)][_0x41c6ba(0x271)]:return _0x41c6ba(0x293);default:return'mcpStatus.unknown';}}function ee(_0x18f11c,_0x1e50b9,_0x363bb7){var _0x2ba639=_0x57708f;const _0x224823=A(_0x18f11c,_0x1e50b9),_0x320893=_0x363bb7['t'](_0x224823);return _0x18f11c===o['MCPConnectionStatus'][_0x2ba639(0x1ca)]&&_0x1e50b9===o[_0x2ba639(0x25b)][_0x2ba639(0x239)]?_0x320893+_0x2ba639(0x223)+_0x363bb7['t'](_0x2ba639(0x1d1)):_0x18f11c===o[_0x2ba639(0x29e)]['CONNECTED']?_0x320893+_0x2ba639(0x223)+_0x363bb7['t'](_0x2ba639(0x1e1)):_0x18f11c===o[_0x2ba639(0x29e)][_0x2ba639(0x1ca)]||_0x18f11c===o[_0x2ba639(0x29e)][_0x2ba639(0x21f)]?_0x320893+_0x2ba639(0x223)+_0x363bb7['t'](_0x2ba639(0x226)):_0x320893;}function ne(_0xafcb57){var _0x15bdb1=_0x57708f;switch(_0xafcb57){case o[_0x15bdb1(0x29e)][_0x15bdb1(0x273)]:return'univer-text-green-500';case o[_0x15bdb1(0x29e)][_0x15bdb1(0x230)]:case o[_0x15bdb1(0x29e)][_0x15bdb1(0x271)]:return _0x15bdb1(0x25a);case o[_0x15bdb1(0x29e)][_0x15bdb1(0x21f)]:case o[_0x15bdb1(0x29e)][_0x15bdb1(0x1ca)]:return'univer-text-red-500';default:return _0x15bdb1(0x29c);}}function _0xb818(_0x58c558,_0x498ed4){var _0x39df3c=_0x39df();return _0xb818=function(_0xb8187e,_0x8dabdd){_0xb8187e=_0xb8187e-0x181;var _0x2e7a7c=_0x39df3c[_0xb8187e];return _0x2e7a7c;},_0xb818(_0x58c558,_0x498ed4);}function T(_0x7d36ba){var _0xf3fff9=_0x57708f;const {status$:_0x5d1f1b,error$:_0x2d154a,onConnect:_0x256e98,onDisconnect:_0x35b3b9,onConfigure:_0x1d0d0c}=_0x7d36ba,_0x2ef4f3=C[_0xf3fff9(0x2ab)](_0x5d1f1b,o[_0xf3fff9(0x29e)][_0xf3fff9(0x1ca)]),_0x269a80=C[_0xf3fff9(0x2ab)](_0x2d154a,o['MCPConnectionError'][_0xf3fff9(0x245)]),_0x278dea=C[_0xf3fff9(0x260)](l[_0xf3fff9(0x196)]),_0x1672c6=_0x2ef4f3===o['MCPConnectionStatus'][_0xf3fff9(0x273)],_0x3951cc=_0x2ef4f3===o[_0xf3fff9(0x29e)]['CONNECTING']||_0x2ef4f3===o['MCPConnectionStatus'][_0xf3fff9(0x271)],_0x5c47ae=_0x278dea['t'](A(_0x2ef4f3,_0x269a80)),_0x1bb6df=ee(_0x2ef4f3,_0x269a80,_0x278dea),_0x4f8266=ne(_0x2ef4f3),_0x14c675=_0x1672c6?c[_0xf3fff9(0x219)](b,{}):_0x3951cc?c['jsx'](b,{'className':'univer-animate-spin\x20univer-opacity-60'}):c[_0xf3fff9(0x219)](U,{}),_0x1c707b=d[_0xf3fff9(0x27d)](()=>{_0x1d0d0c?_0x1d0d0c():_0x1672c6&&_0x35b3b9?_0x35b3b9():!_0x3951cc&&_0x256e98&&_0x256e98();},[_0x1672c6,_0x3951cc,_0x256e98,_0x35b3b9,_0x1d0d0c]),_0x133ac7=_0x1d0d0c||_0x1672c6&&_0x35b3b9||!_0x3951cc&&_0x256e98;return c[_0xf3fff9(0x219)](m['Tooltip'],{'title':_0x1bb6df,'placement':_0xf3fff9(0x1c5),'children':c['jsxs']('div',{'className':m[_0xf3fff9(0x19a)](_0xf3fff9(0x22b),_0x4f8266,_0x133ac7&&_0xf3fff9(0x267)),'onClick':_0x133ac7?_0x1c707b:void 0x0,'children':[_0x14c675,c[_0xf3fff9(0x219)]('span',{'className':_0xf3fff9(0x2b3),'children':_0x5c47ae})]})});}var te=Object[_0x57708f(0x197)],ie=(_0x551114,_0x1b8534,_0x33b9e0,_0xa88ab3)=>{var _0x6e402b=_0x57708f;for(var _0xd299ad=_0xa88ab3>0x1?void 0x0:_0xa88ab3?te(_0x1b8534,_0x33b9e0):_0x1b8534,_0x41b684=_0x551114[_0x6e402b(0x1fc)]-0x1,_0x58a201;_0x41b684>=0x0;_0x41b684--)(_0x58a201=_0x551114[_0x41b684])&&(_0xd299ad=_0x58a201(_0xd299ad)||_0xd299ad);return _0xd299ad;},I=(_0x5f3df5,_0x2d0f8e)=>(_0x44fcc0,_0xbe9eaf)=>_0x2d0f8e(_0x44fcc0,_0xbe9eaf,_0x5f3df5);exports[_0x57708f(0x241)]=class extends l[_0x57708f(0x204)]{constructor(_0x333c31,_0x11b045,_0x34be32,_0x579bf7){var _0x424bd4=_0x57708f;super(),_(this,'_status$',new S[(_0x424bd4(0x283))](o['MCPConnectionStatus']['DISCONNECTED'])),_(this,_0x424bd4(0x19c),new S[(_0x424bd4(0x283))](o[_0x424bd4(0x25b)]['NONE'])),(this[_0x424bd4(0x297)]=_0x333c31,this['_uiPartsService']=_0x11b045,this[_0x424bd4(0x1dd)]=_0x34be32,this['_logService']=_0x579bf7,this['_initStatusComponent'](),this[_0x424bd4(0x24e)]());}[_0x57708f(0x194)](){var _0x55e11f=_0x57708f;return this['_status$'][_0x55e11f(0x1ad)]();}[_0x57708f(0x1df)](){var _0x2ab064=_0x57708f;return this[_0x2ab064(0x19c)][_0x2ab064(0x1ad)]();}[_0x57708f(0x1ef)](_0x34125,_0x3eebc3=o['MCPConnectionError'][_0x57708f(0x245)]){var _0x501f87=_0x57708f;this['_status$'][_0x501f87(0x23f)]!==_0x34125&&this[_0x501f87(0x1dc)]['next'](_0x34125),this[_0x501f87(0x19c)][_0x501f87(0x23f)]!==_0x3eebc3&&this[_0x501f87(0x19c)][_0x501f87(0x20b)](_0x3eebc3);}[_0x57708f(0x235)](){var _0x1cce55=_0x57708f;this[_0x1cce55(0x2af)](this[_0x1cce55(0x1de)]['registerComponent'](C['BuiltInUIPart'][_0x1cce55(0x1b1)],()=>C[_0x1cce55(0x1e6)](re({'status$':this[_0x1cce55(0x1dc)][_0x1cce55(0x1ad)](),'error$':this[_0x1cce55(0x19c)]['asObservable'](),'onConnect':()=>this['_handleConnect'](),'onDisconnect':()=>this[_0x1cce55(0x282)](),'onConfigure':()=>this[_0x1cce55(0x254)]()}),this[_0x1cce55(0x297)])));}[_0x57708f(0x24e)](){var _0x34e63e=_0x57708f;try{const _0x1e77bc=this[_0x34e63e(0x297)]['get'](o[_0x34e63e(0x284)]);this[_0x34e63e(0x2af)](_0x1e77bc[_0x34e63e(0x289)][_0x34e63e(0x242)](_0x1b41fc=>{var _0x4b6c9f=_0x34e63e;this[_0x4b6c9f(0x1dc)][_0x4b6c9f(0x20b)](_0x1b41fc);})),this['disposeWithMe'](_0x1e77bc[_0x34e63e(0x217)][_0x34e63e(0x242)](_0x11d2d7=>{var _0x8108c3=_0x34e63e;this['_error$'][_0x8108c3(0x20b)](_0x11d2d7);})),this[_0x34e63e(0x1dc)][_0x34e63e(0x20b)](_0x1e77bc['getConnectionStatus']()),this[_0x34e63e(0x19c)][_0x34e63e(0x20b)](_0x1e77bc['getConnectionError']());}catch(_0x1f57c0){this[_0x34e63e(0x291)][_0x34e63e(0x2a4)]('[MCPConnectionUI]\x20Could\x20not\x20connect\x20to\x20MCP\x20core\x20plugin,\x20falling\x20back\x20to\x20config\x20monitoring:',_0x1f57c0),this[_0x34e63e(0x198)]();}}['_initFallbackEventListener'](){var _0x2baabb=_0x57708f;this['disposeWithMe'](this[_0x2baabb(0x1dd)][_0x2baabb(0x28b)](o[_0x2baabb(0x22a)])[_0x2baabb(0x242)](_0x46670b=>{var _0x38200a=_0x2baabb;_0x46670b!=null&&_0x46670b[_0x38200a(0x1ac)]?this[_0x38200a(0x1dc)]['value']===o[_0x38200a(0x29e)][_0x38200a(0x1ca)]&&this[_0x38200a(0x19c)][_0x38200a(0x23f)]===o[_0x38200a(0x25b)][_0x38200a(0x239)]&&this[_0x38200a(0x1ef)](o[_0x38200a(0x29e)][_0x38200a(0x1ca)],o[_0x38200a(0x25b)][_0x38200a(0x245)]):this[_0x38200a(0x1ef)](o['MCPConnectionStatus'][_0x38200a(0x1ca)],o[_0x38200a(0x25b)][_0x38200a(0x239)]);}));const _0x239b8a=this[_0x2baabb(0x1dd)][_0x2baabb(0x1f1)](o[_0x2baabb(0x22a)]);_0x239b8a!=null&&_0x239b8a['apiKey']||this[_0x2baabb(0x1ef)](o[_0x2baabb(0x29e)]['DISCONNECTED'],o[_0x2baabb(0x25b)][_0x2baabb(0x239)]);}[_0x57708f(0x269)](){var _0x1a949f=_0x57708f;try{this[_0x1a949f(0x297)][_0x1a949f(0x1ea)](o['MCPConnectionController'])[_0x1a949f(0x287)]();}catch(_0x3f90e8){this[_0x1a949f(0x291)][_0x1a949f(0x1e3)](_0x1a949f(0x28c),_0x3f90e8);const _0x565509=this[_0x1a949f(0x1dd)][_0x1a949f(0x1f1)](o[_0x1a949f(0x22a)]);if(!_0x565509||!_0x565509['apiKey']){this['updateStatus'](o['MCPConnectionStatus'][_0x1a949f(0x1ca)],o['MCPConnectionError']['MISSING_API_KEY']);return;}this[_0x1a949f(0x1ef)](o[_0x1a949f(0x29e)][_0x1a949f(0x230)]);}}['_handleDisconnect'](){var _0x6f88d5=_0x57708f;try{this[_0x6f88d5(0x297)]['get'](o[_0x6f88d5(0x284)])[_0x6f88d5(0x1f8)]();}catch(_0x419de2){this['_logService'][_0x6f88d5(0x1e3)](_0x6f88d5(0x28c),_0x419de2),this[_0x6f88d5(0x1ef)](o[_0x6f88d5(0x29e)][_0x6f88d5(0x1ca)]);}}[_0x57708f(0x254)](){var _0x3708d0=_0x57708f;this[_0x3708d0(0x297)][_0x3708d0(0x1ea)](exports['MCPConfigUIController'])[_0x3708d0(0x247)]();}},exports[_0x57708f(0x241)]=ie([I(0x0,l['Inject'](l[_0x57708f(0x236)])),I(0x1,C[_0x57708f(0x205)]),I(0x2,l[_0x57708f(0x29d)]),I(0x3,l[_0x57708f(0x1cb)])],exports[_0x57708f(0x241)]);function re(_0x56dac9){const {status$:_0x58f8ca,error$:_0x2453ec,onConnect:_0x33346a,onDisconnect:_0x3404bf,onConfigure:_0x8d7804}=_0x56dac9;return function(){var _0x4c1ae9=_0xb818;return c[_0x4c1ae9(0x219)](T,{'status$':_0x58f8ca,'error$':_0x2453ec,'onConnect':_0x33346a,'onDisconnect':_0x3404bf,'onConfigure':_0x8d7804});};}function oe(_0x2d7520){var _0x4493a0=_0x57708f;return{'id':M['id'],'type':C[_0x4493a0(0x200)][_0x4493a0(0x2b6)],'icon':_0x4493a0(0x24d),'title':_0x4493a0(0x216),'tooltip':_0x4493a0(0x216)};}const se={[C[_0x57708f(0x20d)][_0x57708f(0x25c)]]:{[M['id']]:{'order':0xa,'menuItemFactory':oe}}};var ce=Object[_0x57708f(0x197)],ae=(_0x4cd5a2,_0x22ff3e,_0x2c4eed,_0x39c6df)=>{var _0xa9471d=_0x57708f;for(var _0x43cd73=_0x39c6df>0x1?void 0x0:_0x39c6df?ce(_0x22ff3e,_0x2c4eed):_0x22ff3e,_0x4c24c2=_0x4cd5a2[_0xa9471d(0x1fc)]-0x1,_0x194f22;_0x4c24c2>=0x0;_0x4c24c2--)(_0x194f22=_0x4cd5a2[_0x4c24c2])&&(_0x43cd73=_0x194f22(_0x43cd73)||_0x43cd73);return _0x43cd73;},D=(_0x3f4b50,_0x4557da)=>(_0x332f99,_0x5ed16a)=>_0x4557da(_0x332f99,_0x5ed16a,_0x3f4b50);exports[_0x57708f(0x26c)]=class extends l[_0x57708f(0x204)]{constructor(_0x4edef0,_0x36ba37){var _0x558b5b=_0x57708f;super(),this[_0x558b5b(0x250)]=_0x4edef0,this['_menuManagerService']=_0x36ba37,this[_0x558b5b(0x201)](),this[_0x558b5b(0x1a2)]();}[_0x57708f(0x201)](){var _0x2ea4ff=_0x57708f;[M][_0x2ea4ff(0x18d)](_0x1948bb=>{var _0x539d87=_0x2ea4ff;this[_0x539d87(0x2af)](this['_commandService'][_0x539d87(0x277)](_0x1948bb));});}['_initializeMenus'](){var _0x4f4242=_0x57708f;this[_0x4f4242(0x2b1)][_0x4f4242(0x27f)](se);}},exports[_0x57708f(0x26c)]=ae([D(0x0,l['ICommandService']),D(0x1,C[_0x57708f(0x1b8)])],exports[_0x57708f(0x26c)]);const k={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x57708f(0x298),'connected':'MCP\x20Connected','failed':_0x57708f(0x19b),'retrying':'MCP\x20Retrying...','unknown':_0x57708f(0x1e0),'missingApiKey':_0x57708f(0x20f),'invalidApiKey':_0x57708f(0x22e),'sessionOccupied':_0x57708f(0x1ff),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x57708f(0x18f),'clickToConnect':_0x57708f(0x23c),'clickToDisconnect':_0x57708f(0x257),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x57708f(0x234),'description':'Configure\x20your\x20MCP\x20connection\x20settings','apiKey':_0x57708f(0x2a6),'apiKeyPlaceholder':_0x57708f(0x1d5),'apiKeyHint':_0x57708f(0x23e),'enableAuth':_0x57708f(0x1e4),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'Connection\x20Information','serverEndpoint':_0x57708f(0x268),'sessionId':_0x57708f(0x27a),'maxRetries':_0x57708f(0x259),'save':_0x57708f(0x286),'saving':'Saving...','note1':_0x57708f(0x1d8),'note2':_0x57708f(0x1ed),'configSaved':_0x57708f(0x185),'configError':_0x57708f(0x1bd),'validation':{'apiKeyRequired':_0x57708f(0x1b7),'apiKeyTooShort':_0x57708f(0x1da),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x57708f(0x27e)}}},L={'mcpStatus':{'disconnected':_0x57708f(0x1c9),'connecting':_0x57708f(0x299),'connected':_0x57708f(0x255),'failed':'MCP\x20连接失败','retrying':_0x57708f(0x1fe),'unknown':_0x57708f(0x233),'missingApiKey':_0x57708f(0x24f),'invalidApiKey':_0x57708f(0x21b),'sessionOccupied':'MCP:\x20会话被占用','networkError':_0x57708f(0x274),'maxRetriesExceeded':_0x57708f(0x181),'clickToConnect':_0x57708f(0x19d),'clickToDisconnect':_0x57708f(0x240),'clickToConfigure':_0x57708f(0x1a7)},'mcpConfig':{'title':_0x57708f(0x1cc),'description':'配置您的\x20MCP\x20连接设置','apiKey':_0x57708f(0x1bb),'apiKeyPlaceholder':_0x57708f(0x1f2),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x57708f(0x238),'connectionInfo':_0x57708f(0x237),'serverEndpoint':_0x57708f(0x1ae),'sessionId':'会话ID','maxRetries':'最大重试次数','save':_0x57708f(0x212),'saving':_0x57708f(0x23a),'note1':_0x57708f(0x1b6),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x57708f(0x262),'configError':_0x57708f(0x18e),'validation':{'apiKeyRequired':_0x57708f(0x2a7),'apiKeyTooShort':_0x57708f(0x2b4),'invalidConfig':'配置无效','invalidApiKey':_0x57708f(0x261)}}};var le=Object[_0x57708f(0x281)],ue=Object['getOwnPropertyDescriptor'],Ce=(_0x1cd783,_0x56855c,_0x237b55)=>_0x56855c in _0x1cd783?le(_0x1cd783,_0x56855c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x237b55}):_0x1cd783[_0x56855c]=_0x237b55,ve=(_0x5c41e4,_0x62fa2e,_0x52d6bf,_0x43ac7e)=>{var _0x4801ff=_0x57708f;for(var _0x4e5bbd=_0x43ac7e>0x1?void 0x0:_0x43ac7e?ue(_0x62fa2e,_0x52d6bf):_0x62fa2e,_0x429498=_0x5c41e4[_0x4801ff(0x1fc)]-0x1,_0x3a5c97;_0x429498>=0x0;_0x429498--)(_0x3a5c97=_0x5c41e4[_0x429498])&&(_0x4e5bbd=_0x3a5c97(_0x4e5bbd)||_0x4e5bbd);return _0x4e5bbd;},P=(_0x18338d,_0x2c03cf)=>(_0x2ca72e,_0x3688b9)=>_0x2c03cf(_0x2ca72e,_0x3688b9,_0x18338d),de=(_0x18d8a1,_0x48a71f,_0x4747ea)=>Ce(_0x18d8a1,_0x48a71f+'',_0x4747ea);exports[_0x57708f(0x184)]=class extends l[_0x57708f(0x28f)]{constructor(_0x45fb03=w,_0x57795c,_0x45be4d,_0x37507c,_0x4d360a,_0x217441){var _0x31b079=_0x57708f;super(),this[_0x31b079(0x1d2)]=_0x45fb03,this[_0x31b079(0x297)]=_0x57795c,this[_0x31b079(0x1dd)]=_0x45be4d,this[_0x31b079(0x1de)]=_0x37507c,this[_0x31b079(0x1cf)]=_0x4d360a,this[_0x31b079(0x26e)]=_0x217441;const {..._0x2e6f34}=l['merge']({},w,this[_0x31b079(0x1d2)]);this[_0x31b079(0x1dd)]['setConfig'](E,_0x2e6f34),this[_0x31b079(0x26e)][_0x31b079(0x1ee)]({'zhCN':L,'enUS':k});}async['onStarting'](){var _0x370517=_0x57708f;[[exports[_0x370517(0x241)]],[exports['MCPConfigUIController']],[exports['MCPUIMenuController']]][_0x370517(0x18d)](_0xb13044=>this[_0x370517(0x297)][_0x370517(0x2a3)](_0xb13044)),this[_0x370517(0x297)][_0x370517(0x1ea)](exports[_0x370517(0x241)]),this[_0x370517(0x297)][_0x370517(0x1ea)](exports[_0x370517(0x1c3)]),this['_injector'][_0x370517(0x1ea)](exports[_0x370517(0x26c)]);}},de(exports[_0x57708f(0x184)],_0x57708f(0x22f),'MCP_UI_PLUGIN'),exports[_0x57708f(0x184)]=ve([l[_0x57708f(0x1db)](o[_0x57708f(0x264)]),P(0x1,l['Inject'](l[_0x57708f(0x236)])),P(0x2,l['IConfigService']),P(0x3,C[_0x57708f(0x205)]),P(0x4,l[_0x57708f(0x192)]),P(0x5,l[_0x57708f(0x18b)](l[_0x57708f(0x196)]))],exports[_0x57708f(0x184)]),exports[_0x57708f(0x19e)]=K,exports[_0x57708f(0x182)]=T,exports[_0x57708f(0x1f4)]=M,exports['enUS']=k,exports['zhCN']=L;
|
|
1
|
+
'use strict';var _0x1ff1df=_0x5058;(function(_0x407a5b,_0x451b42){var _0x4973fb=_0x5058,_0x425432=_0x407a5b();while(!![]){try{var _0x277472=parseInt(_0x4973fb(0x231))/0x1+parseInt(_0x4973fb(0x222))/0x2+parseInt(_0x4973fb(0x1cb))/0x3+parseInt(_0x4973fb(0x2f5))/0x4+-parseInt(_0x4973fb(0x1ec))/0x5*(-parseInt(_0x4973fb(0x29f))/0x6)+parseInt(_0x4973fb(0x244))/0x7*(parseInt(_0x4973fb(0x271))/0x8)+-parseInt(_0x4973fb(0x245))/0x9;if(_0x277472===_0x451b42)break;else _0x425432['push'](_0x425432['shift']());}catch(_0x286322){_0x425432['push'](_0x425432['shift']());}}}(_0x174d,0xb83ea));var se=Object[_0x1ff1df(0x253)],ce=(_0x477e7f,_0x542db4,_0x4f3346)=>_0x542db4 in _0x477e7f?se(_0x477e7f,_0x542db4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f3346}):_0x477e7f[_0x542db4]=_0x4f3346,_=(_0x1822c9,_0x45af26,_0x183760)=>ce(_0x1822c9,typeof _0x45af26!=_0x1ff1df(0x1c5)?_0x45af26+'':_0x45af26,_0x183760);Object[_0x1ff1df(0x253)](exports,Symbol[_0x1ff1df(0x21c)],{'value':_0x1ff1df(0x2f0)});const u=require('@univerjs/core'),o=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),x=require('@univerjs/design'),v=require('@univerjs/ui'),j=require('rxjs'),d=require('react');var C=function(){var _0x53556f=_0x1ff1df;return C=Object[_0x53556f(0x256)]||function(_0x265776){var _0x349b32=_0x53556f;for(var _0x3a88d7,_0x2504ab=0x1,_0x261caa=arguments[_0x349b32(0x275)];_0x2504ab<_0x261caa;_0x2504ab++){_0x3a88d7=arguments[_0x2504ab];for(var _0x1f5c3e in _0x3a88d7)Object[_0x349b32(0x2e2)][_0x349b32(0x26f)][_0x349b32(0x31f)](_0x3a88d7,_0x1f5c3e)&&(_0x265776[_0x1f5c3e]=_0x3a88d7[_0x1f5c3e]);}return _0x265776;},C[_0x53556f(0x215)](this,arguments);},ae=function(_0x35a798,_0x524882){var _0x1403f0=_0x1ff1df,_0x202b11={};for(var _0x16196b in _0x35a798)Object['prototype'][_0x1403f0(0x26f)]['call'](_0x35a798,_0x16196b)&&_0x524882[_0x1403f0(0x1be)](_0x16196b)<0x0&&(_0x202b11[_0x16196b]=_0x35a798[_0x16196b]);if(_0x35a798!=null&&typeof Object['getOwnPropertySymbols']==_0x1403f0(0x1ff)){for(var _0x310491=0x0,_0x16196b=Object['getOwnPropertySymbols'](_0x35a798);_0x310491<_0x16196b[_0x1403f0(0x275)];_0x310491++)_0x524882[_0x1403f0(0x1be)](_0x16196b[_0x310491])<0x0&&Object[_0x1403f0(0x2e2)][_0x1403f0(0x262)]['call'](_0x35a798,_0x16196b[_0x310491])&&(_0x202b11[_0x16196b[_0x310491]]=_0x35a798[_0x16196b[_0x310491]]);}return _0x202b11;},P=d[_0x1ff1df(0x204)](function(_0x845a51,_0x318f73){var _0x2b7509=_0x1ff1df,_0x30b8c2=_0x845a51[_0x2b7509(0x2b1)],_0x4fb721=_0x845a51['id'],_0x410124=_0x845a51[_0x2b7509(0x212)],_0x459212=_0x845a51[_0x2b7509(0x298)],_0x40395a=ae(_0x845a51,[_0x2b7509(0x2b1),'id',_0x2b7509(0x212),_0x2b7509(0x298)]),_0x8f2378=_0x2b7509(0x2cc)[_0x2b7509(0x2d7)](_0x4fb721,'\x20')[_0x2b7509(0x2d7)](_0x410124||'')[_0x2b7509(0x318)](),_0x3cc889=d[_0x2b7509(0x243)]('_'[_0x2b7509(0x2d7)](ve()));return $(_0x30b8c2,''[_0x2b7509(0x2d7)](_0x4fb721),{'defIds':_0x30b8c2[_0x2b7509(0x1c4)],'idSuffix':_0x3cc889['current']},C({'ref':_0x318f73,'className':_0x8f2378},_0x40395a),_0x459212);});function $(_0x1ca96e,_0x2f4698,_0x254420,_0xb1e534,_0x13b704){var _0x7fd028=_0x1ff1df;return d[_0x7fd028(0x29e)](_0x1ca96e['tag'],C(C({'key':_0x2f4698},le(_0x1ca96e,_0x254420,_0x13b704)),_0xb1e534),(ue(_0x1ca96e,_0x254420)[_0x7fd028(0x248)]||[])[_0x7fd028(0x29c)](function(_0x42be51,_0x204774){var _0x402db9=_0x7fd028;return $(_0x42be51,''[_0x402db9(0x2d7)](_0x2f4698,'-')[_0x402db9(0x2d7)](_0x1ca96e['tag'],'-')['concat'](_0x204774),_0x254420,void 0x0,_0x13b704);}));}function le(_0x114c01,_0x3ab35c,_0x80f6e6){var _0x383d43=_0x1ff1df,_0x4d55ef=C({},_0x114c01[_0x383d43(0x2ff)]);_0x80f6e6!=null&&_0x80f6e6['colorChannel1']&&_0x4d55ef['fill']===_0x383d43(0x205)&&(_0x4d55ef[_0x383d43(0x2f9)]=_0x80f6e6[_0x383d43(0x205)]),_0x114c01['tag']===_0x383d43(0x1af)&&_0x4d55ef['id']&&(_0x4d55ef['id']=_0x4d55ef['id']+_0x3ab35c['idSuffix']),Object['entries'](_0x4d55ef)[_0x383d43(0x1e9)](function(_0x2c8189){var _0x1caeb4=_0x383d43,_0x35191=_0x2c8189[0x0],_0x217c4a=_0x2c8189[0x1];_0x35191===_0x1caeb4(0x1af)&&typeof _0x217c4a=='string'&&(_0x4d55ef[_0x35191]=_0x217c4a[_0x1caeb4(0x2b7)](/url\(#(.*)\)/,'url(#$1'[_0x1caeb4(0x2d7)](_0x3ab35c['idSuffix'],')')));});var _0x1f0181=_0x3ab35c['defIds'];return!_0x1f0181||_0x1f0181[_0x383d43(0x275)]===0x0||(_0x114c01[_0x383d43(0x31c)]===_0x383d43(0x2eb)&&_0x4d55ef['xlink:href']&&(_0x4d55ef['xlink:href']=_0x4d55ef[_0x383d43(0x1c1)]+_0x3ab35c['idSuffix']),Object[_0x383d43(0x286)](_0x4d55ef)[_0x383d43(0x1e9)](function(_0x3dcc3c){var _0x2697b2=_0x383d43,_0x5cbbd6=_0x3dcc3c[0x0],_0x4fbf26=_0x3dcc3c[0x1];typeof _0x4fbf26==_0x2697b2(0x21e)&&(_0x4d55ef[_0x5cbbd6]=_0x4fbf26['replace'](/url\(#(.*)\)/,_0x2697b2(0x21b)['concat'](_0x3ab35c['idSuffix'],')')));})),_0x4d55ef;}function ue(_0x14aea9,_0x2d4e43){var _0xb2ea85=_0x1ff1df,_0x473e88,_0x18187f=_0x2d4e43[_0xb2ea85(0x1c4)];return!_0x18187f||_0x18187f[_0xb2ea85(0x275)]===0x0?_0x14aea9:_0x14aea9[_0xb2ea85(0x31c)]===_0xb2ea85(0x2da)&&(!((_0x473e88=_0x14aea9['children'])===null||_0x473e88===void 0x0)&&_0x473e88[_0xb2ea85(0x275)])?C(C({},_0x14aea9),{'children':_0x14aea9[_0xb2ea85(0x248)][_0xb2ea85(0x29c)](function(_0x12bcd0){var _0x44144e=_0xb2ea85;return typeof _0x12bcd0['attrs']['id']==_0x44144e(0x21e)&&_0x18187f&&_0x18187f[_0x44144e(0x1bd)](_0x12bcd0[_0x44144e(0x2ff)]['id'])?C(C({},_0x12bcd0),{'attrs':C(C({},_0x12bcd0['attrs']),{'id':_0x12bcd0[_0x44144e(0x2ff)]['id']+_0x2d4e43[_0x44144e(0x2ab)]})}):_0x12bcd0;})}):_0x14aea9;}function ve(){var _0x596df4=_0x1ff1df;return Math[_0x596df4(0x2f3)]()[_0x596df4(0x1c8)](0x24)[_0x596df4(0x22d)](0x2,0x8);}P[_0x1ff1df(0x1b6)]=_0x1ff1df(0x272);var de={'tag':_0x1ff1df(0x1e7),'attrs':{'xmlns':_0x1ff1df(0x2df),'fill':_0x1ff1df(0x1f9),'viewBox':_0x1ff1df(0x1a5),'width':_0x1ff1df(0x268),'height':_0x1ff1df(0x268)},'children':[{'tag':'path','attrs':{'fill':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x224),'fillRule':'evenodd','clipRule':_0x1ff1df(0x310)}}]},L=d[_0x1ff1df(0x204)](function(_0x384a9a,_0x1eb473){return d['createElement'](P,Object['assign']({},_0x384a9a,{'id':'check-mark-icon','ref':_0x1eb473,'icon':de}));});L['displayName']=_0x1ff1df(0x20c);var Ce={'tag':'svg','attrs':{'xmlns':_0x1ff1df(0x2df),'fill':_0x1ff1df(0x1f9),'viewBox':_0x1ff1df(0x267),'width':_0x1ff1df(0x268),'height':'1em'},'children':[{'tag':_0x1ff1df(0x1bc),'attrs':{'stroke':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x255),'strokeLinecap':_0x1ff1df(0x1f4),'strokeLinejoin':_0x1ff1df(0x1f4),'strokeWidth':1.33}},{'tag':_0x1ff1df(0x1bc),'attrs':{'stroke':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x2a8),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}}]},G=d[_0x1ff1df(0x204)](function(_0x2b9ba9,_0x3e9b03){var _0x1e25be=_0x1ff1df;return d[_0x1e25be(0x29e)](P,Object[_0x1e25be(0x256)]({},_0x2b9ba9,{'id':_0x1e25be(0x250),'ref':_0x3e9b03,'icon':Ce}));});G[_0x1ff1df(0x1b6)]=_0x1ff1df(0x1b5);var ge={'tag':_0x1ff1df(0x1e7),'attrs':{'xmlns':_0x1ff1df(0x2df),'fill':_0x1ff1df(0x1f9),'viewBox':_0x1ff1df(0x1a5),'width':_0x1ff1df(0x268),'height':_0x1ff1df(0x268)},'children':[{'tag':_0x1ff1df(0x1bc),'attrs':{'fill':_0x1ff1df(0x1d7),'d':'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'}},{'tag':_0x1ff1df(0x1bc),'attrs':{'fill':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x1de)}},{'tag':_0x1ff1df(0x1bc),'attrs':{'fill':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x1f6),'fillRule':_0x1ff1df(0x310),'clipRule':'evenodd'}}]},Y=d[_0x1ff1df(0x204)](function(_0x379dc0,_0x23507a){var _0x1904a3=_0x1ff1df;return d['createElement'](P,Object[_0x1904a3(0x256)]({},_0x379dc0,{'id':_0x1904a3(0x2dc),'ref':_0x23507a,'icon':ge}));});Y[_0x1ff1df(0x1b6)]=_0x1ff1df(0x291);var fe={'tag':_0x1ff1df(0x1e7),'attrs':{'xmlns':_0x1ff1df(0x2df),'fill':_0x1ff1df(0x1f9),'viewBox':_0x1ff1df(0x1a5),'width':_0x1ff1df(0x268),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1ff1df(0x201)},'children':[{'tag':_0x1ff1df(0x1bc),'attrs':{'stroke':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x1f1),'strokeLinecap':_0x1ff1df(0x1f4),'strokeLinejoin':_0x1ff1df(0x1f4),'strokeWidth':1.2}}]},{'tag':_0x1ff1df(0x2da),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1ff1df(0x29d)},'children':[{'tag':'path','attrs':{'fill':_0x1ff1df(0x2d4),'d':_0x1ff1df(0x1cc)}}]}]}],'defIds':[_0x1ff1df(0x29d)]},F=d[_0x1ff1df(0x204)](function(_0x49563e,_0x1098f3){var _0x3a4dca=_0x1ff1df;return d[_0x3a4dca(0x29e)](P,Object[_0x3a4dca(0x256)]({},_0x49563e,{'id':_0x3a4dca(0x28e),'ref':_0x1098f3,'icon':fe}));});F[_0x1ff1df(0x1b6)]=_0x1ff1df(0x1ab);var pe={'tag':'svg','attrs':{'xmlns':_0x1ff1df(0x2df),'fill':_0x1ff1df(0x1f9),'viewBox':_0x1ff1df(0x263),'width':_0x1ff1df(0x268),'height':_0x1ff1df(0x268)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ff1df(0x1e3)},'children':[{'tag':_0x1ff1df(0x1bc),'attrs':{'stroke':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x2d1),'strokeLinecap':_0x1ff1df(0x1f4),'strokeLinejoin':_0x1ff1df(0x1f4),'strokeWidth':1.2}}]},{'tag':_0x1ff1df(0x2da),'attrs':{},'children':[{'tag':_0x1ff1df(0x2b8),'attrs':{'id':_0x1ff1df(0x2f6)},'children':[{'tag':_0x1ff1df(0x1bc),'attrs':{'fill':_0x1ff1df(0x2d4),'d':_0x1ff1df(0x1cc),'transform':_0x1ff1df(0x1ac)}}]}]}],'defIds':[_0x1ff1df(0x2f6)]},V=d[_0x1ff1df(0x204)](function(_0x82da9e,_0x11a11a){var _0x3168fa=_0x1ff1df;return d[_0x3168fa(0x29e)](P,Object[_0x3168fa(0x256)]({},_0x82da9e,{'id':_0x3168fa(0x266),'ref':_0x11a11a,'icon':pe}));});V[_0x1ff1df(0x1b6)]=_0x1ff1df(0x236);function B(_0x3b405a){var _0x2a392b=_0x1ff1df,_0x1579d1,_0x331546;const {mcpCoreConfig:_0x272cf9,onSave:_0x58b189,loading:_0x4b0699=!0x1,config:_0x12a749,connectionStatus$:_0x385cf4,connectionError$:_0x272123}=_0x3b405a,_0x1a5205=v[_0x2a392b(0x22e)](u[_0x2a392b(0x2e7)]),_0x11b3cc=v[_0x2a392b(0x2cf)](_0x385cf4,s[_0x2a392b(0x232)][_0x2a392b(0x200)]),_0x3fb99b=v['useObservable'](_0x272123,s[_0x2a392b(0x1d5)]['NONE']),[_0x5efa25,_0x4b1221]=d['useState'](_0x272cf9['apiKey']||''),_0x4b2d66=!0x0,_0x12c45d=_0x12a749[_0x2a392b(0x1f5)]&&_0x272cf9[_0x2a392b(0x2ae)]&&(_0x272cf9[_0x2a392b(0x2ae)][_0x2a392b(0x1bd)](_0x2a392b(0x265))||_0x272cf9[_0x2a392b(0x2ae)][_0x2a392b(0x1bd)](_0x2a392b(0x26c))),_0x2738ca=(_0x1579d1=_0x272cf9['mcpServerUrl'])==null?void 0x0:_0x1579d1['includes'](_0x2a392b(0x265)),_0x5cd279=(_0x331546=_0x272cf9[_0x2a392b(0x2ae)])==null?void 0x0:_0x331546[_0x2a392b(0x1bd)](_0x2a392b(0x26c)),_0x28fd98=_0x2738ca?_0x2a392b(0x247):'https://console.univer.ai',_0x105d75=_0x12a749['showDeveloperTools']&&(_0x2738ca||_0x5cd279),[_0x8138ae,_0x3baaf2]=d['useState'](!_0x5efa25[_0x2a392b(0x318)]()),_0x439a5d=(_0x21d4cc,_0x58e8fb)=>{var _0x4abd4a=_0x2a392b;if(_0x58e8fb===s[_0x4abd4a(0x1d5)]['MISSING_API_KEY']||_0x58e8fb===s[_0x4abd4a(0x1d5)]['INVALID_API_KEY'])return _0x4abd4a(0x1b8);switch(_0x21d4cc){case s['MCPConnectionStatus'][_0x4abd4a(0x260)]:return _0x4abd4a(0x301);case s['MCPConnectionStatus']['CONNECTING']:case s['MCPConnectionStatus'][_0x4abd4a(0x2e1)]:return _0x4abd4a(0x1ba);case s[_0x4abd4a(0x232)][_0x4abd4a(0x1fc)]:return _0x4abd4a(0x1b8);default:return _0x4abd4a(0x2b3);}},_0x2021e1=(_0x523313,_0x69facf)=>{var _0x2de5b3=_0x2a392b;if(_0x69facf===s[_0x2de5b3(0x1d5)][_0x2de5b3(0x1f2)]||_0x69facf===s[_0x2de5b3(0x1d5)][_0x2de5b3(0x311)])return _0x2de5b3(0x202);switch(_0x523313){case s[_0x2de5b3(0x232)]['CONNECTED']:return _0x2de5b3(0x2b4);case s[_0x2de5b3(0x232)]['CONNECTING']:case s[_0x2de5b3(0x232)][_0x2de5b3(0x2e1)]:return _0x2de5b3(0x28d);case s[_0x2de5b3(0x232)][_0x2de5b3(0x1fc)]:return'univer-bg-red-500';default:return _0x2de5b3(0x30d);}},_0x2e622f=_0x2a736e=>{var _0x5d6d8c=_0x2a392b;switch(_0x2a736e){case s['MCPConnectionStatus'][_0x5d6d8c(0x260)]:return _0x1a5205['t']('mcpConfig.connectionStatus.connected');case s[_0x5d6d8c(0x232)]['CONNECTING']:return _0x1a5205['t'](_0x5d6d8c(0x2f7));case s[_0x5d6d8c(0x232)]['FAILED']:return _0x1a5205['t'](_0x5d6d8c(0x2fd));case s[_0x5d6d8c(0x232)][_0x5d6d8c(0x2e1)]:return _0x1a5205['t']('mcpConfig.connectionStatus.retrying');default:return _0x1a5205['t']('mcpConfig.connectionStatus.disconnected');}},_0x1fc2b1=_0x3bb129=>{var _0x231bb3=_0x2a392b;switch(_0x3bb129){case s[_0x231bb3(0x1d5)][_0x231bb3(0x1f2)]:return _0x1a5205['t'](_0x231bb3(0x305));case s[_0x231bb3(0x1d5)][_0x231bb3(0x311)]:return _0x1a5205['t'](_0x231bb3(0x2a3));case s[_0x231bb3(0x1d5)]['SESSION_ID_OCCUPIED']:return _0x1a5205['t'](_0x231bb3(0x211));case s[_0x231bb3(0x1d5)]['NETWORK_ERROR']:return _0x1a5205['t']('mcpConfig.connectionError.networkError');case s[_0x231bb3(0x1d5)][_0x231bb3(0x22c)]:return _0x1a5205['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x291fc0=d['useCallback'](()=>{const _0x27a3f8={..._0x272cf9,'apiKey':_0x5efa25['trim'](),'enableAuth':_0x4b2d66};_0x58b189(_0x27a3f8);},[_0x272cf9,_0x5efa25,_0x4b2d66,_0x58b189]),_0x239463=_0x5efa25['trim']()[_0x2a392b(0x275)]>0x0;return o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x317),'children':[o[_0x2a392b(0x251)]('div',{'className':_0x2a392b(0x313),'children':o['jsxs']('div',{'className':_0x2a392b(0x25a),'children':[o['jsx'](_0x2a392b(0x1d1),{'className':_0x2a392b(0x276),'children':o[_0x2a392b(0x251)](_0x2a392b(0x292),{'className':_0x2a392b(0x30c),'children':'⚙'})}),o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'children':o['jsx']('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x1a5205['t'](_0x2a392b(0x1e2))})})]})}),o[_0x2a392b(0x2d0)]('div',{'className':_0x2a392b(0x315),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x2a9)+_0x439a5d(_0x11b3cc,_0x3fb99b)+_0x2a392b(0x20a),'children':o['jsxs'](_0x2a392b(0x1d1),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x1df)+_0x2021e1(_0x11b3cc,_0x3fb99b)+_0x2a392b(0x21d)}),o['jsx']('span',{'className':_0x2a392b(0x2e5),'children':_0x2e622f(_0x11b3cc)})]})}),_0x3fb99b!==s[_0x2a392b(0x1d5)][_0x2a392b(0x1a4)]&&(_0x11b3cc===s[_0x2a392b(0x232)][_0x2a392b(0x1fc)]||_0x3fb99b===s['MCPConnectionError'][_0x2a392b(0x1f2)]||_0x3fb99b===s[_0x2a392b(0x1d5)][_0x2a392b(0x311)])&&o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x28b),'children':o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x295),'children':[o[_0x2a392b(0x251)]('span',{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),o[_0x2a392b(0x251)]('p',{'className':_0x2a392b(0x2fc),'children':_0x1fc2b1(_0x3fb99b)})]})})]}),o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x30f),'children':o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x25b),'children':[o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x307),'children':[o[_0x2a392b(0x2d0)](_0x2a392b(0x264),{'className':_0x2a392b(0x2b5),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x292),{'children':'🔑'}),'\x20',_0x1a5205['t'](_0x2a392b(0x229)),o['jsx'](_0x2a392b(0x292),{'className':_0x2a392b(0x2ee),'children':'*'}),_0x12c45d&&o[_0x2a392b(0x251)]('a',{'href':_0x2a392b(0x1c3),'onClick':()=>_0x3baaf2(!0x0),'className':_0x2a392b(0x23f),'title':_0x1a5205['t']('mcpConfig.apiApplyInfo.title'),'children':o[_0x2a392b(0x251)](Y,{})})]}),o[_0x2a392b(0x251)](x['Input'],{'type':_0x2a392b(0x290),'placeholder':_0x1a5205['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x5efa25,'onChange':_0x4b1221,'disabled':_0x4b0699,'autoComplete':_0x2a392b(0x27b)}),o[_0x2a392b(0x251)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x1a5205['t'](_0x2a392b(0x2c8))})]}),_0x12c45d&&_0x8138ae&&o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'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':[o['jsx']('a',{'href':_0x2a392b(0x1c3),'onClick':()=>_0x3baaf2(!0x1),'className':_0x2a392b(0x1da),'title':_0x2a392b(0x1ea),'children':o[_0x2a392b(0x251)](G,{})}),o['jsxs'](_0x2a392b(0x1d1),{'className':_0x2a392b(0x1d2),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x241),'children':o[_0x2a392b(0x251)](_0x2a392b(0x292),{'className':'univer-text-blue-600','children':'🚀'})}),o['jsxs'](_0x2a392b(0x1d1),{'className':_0x2a392b(0x1fa),'children':[o[_0x2a392b(0x251)]('h4',{'className':_0x2a392b(0x283),'children':_0x1a5205['t'](_0x2a392b(0x2e6))}),o[_0x2a392b(0x251)]('p',{'className':_0x2a392b(0x25d),'children':_0x1a5205['t']('mcpConfig.apiApplyInfo.description')}),o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x105d75&&o['jsxs']('a',{'href':_0x28fd98,'target':_0x2a392b(0x2d9),'rel':_0x2a392b(0x279),'className':_0x2a392b(0x26e),'children':[o[_0x2a392b(0x251)]('span',{'children':'🤖'}),_0x1a5205['t']('mcpConfig.apiApplyInfo.univerAiLabel'),o['jsx']('span',{'className':'univer-text-gray-400','children':'↗'})]})}),o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x1a5205['t'](_0x2a392b(0x2f4))]})]})]})]}),_0x12a749[_0x2a392b(0x1f5)]&&o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x300),'children':[o[_0x2a392b(0x2d0)]('h4',{'className':_0x2a392b(0x1b0),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x292),{'children':'🔗'}),'\x20',_0x1a5205['t'](_0x2a392b(0x246))]}),o[_0x2a392b(0x2d0)]('div',{'className':'univer-space-y-3','children':[o[_0x2a392b(0x2d0)]('div',{'className':_0x2a392b(0x254),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x2d6)}),o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x227),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x2ac),'children':_0x1a5205['t'](_0x2a392b(0x2d2))}),o[_0x2a392b(0x251)](_0x2a392b(0x233),{'className':_0x2a392b(0x1ca),'children':_0x272cf9[_0x2a392b(0x2ae)]})]})]}),o[_0x2a392b(0x2d0)]('div',{'className':_0x2a392b(0x254),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x2d6)}),o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x227),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x1a5205['t'](_0x2a392b(0x2fe))}),o[_0x2a392b(0x251)](_0x2a392b(0x233),{'className':_0x2a392b(0x2e9),'children':_0x272cf9[_0x2a392b(0x28c)]||_0x2a392b(0x2a6)})]})]})]})]}),o[_0x2a392b(0x251)](x[_0x2a392b(0x2ca)],{'onClick':_0x291fc0,'disabled':!_0x239463||_0x4b0699,'className':_0x2a392b(0x1eb),'children':_0x4b0699?o[_0x2a392b(0x2d0)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[o['jsx'](_0x2a392b(0x292),{'children':'⟲'}),_0x1a5205['t']('mcpConfig.saving')]}):o[_0x2a392b(0x2d0)](_0x2a392b(0x292),{'className':_0x2a392b(0x21f),'children':[o[_0x2a392b(0x251)](L,{}),_0x1a5205['t'](_0x2a392b(0x2cb))]})}),o[_0x2a392b(0x251)]('div',{'className':_0x2a392b(0x1ee),'children':o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':'univer-flex\x20univer-gap-3','children':[o[_0x2a392b(0x251)](_0x2a392b(0x292),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),o['jsxs'](_0x2a392b(0x1d1),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[o[_0x2a392b(0x251)]('div',{'className':_0x2a392b(0x2e3),'children':_0x2a392b(0x230)}),o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'children':['•',_0x1a5205['t'](_0x2a392b(0x30a))]}),o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'children':['•',_0x1a5205['t']('mcpConfig.note2')]})]})]})})]})})]});}const k='mcp-ui.config',T={'showDeveloperTools':!0x1};function _0x174d(){var _0x584989=['replace','clipPath','Configuration\x20saved\x20successfully','zhCN','IDialogService','DependentOn','配置保存失败','MCP:\x20会话被占用','CONNECTING','get','next','merge','_localStorageService','MCP:\x20Session\x20Occupied','ICommandService','_logService','_connectionController','mcpConfig.apiKeyHint','connectInjector','Button','mcpConfig.save','univerjs-icon\x20univerjs-icon-','CommandType','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','useObservable','jsxs','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','mcpConfig.serverEndpoint','Univer\x20AI\x20Console','white','setConfig','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','concat','什么是\x20API\x20密钥?','_blank','defs','What\x20is\x20API\x20Key?','help-single','MCP\x20Connected','保存配置','http://www.w3.org/2000/svg','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','RETRYING','prototype','univer-font-medium','Disposable','univer-text-sm\x20univer-font-medium','mcpConfig.apiApplyInfo.title','LocaleService','getItem','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','Connecting...','use','MCP\x20Configuration','register','univer-text-red-500','MCP:\x20API\x20Key\x20Missing','Module','_createConfigPanelComponent','close','random','mcpConfig.apiApplyInfo.getStarted','2812884HkmaPX','on-line-icon_clip0_910_349','mcpConfig.connectionStatus.connecting','已连接','fill','RibbonStartGroup','BuiltInUIPart','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','mcpConfig.connectionStatus.failed','mcpConfig.sessionId','attrs','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','MCP\x20状态未知','_uiPartsService','UniverMCPPlugin','mcpConfig.connectionError.missingApiKey','mcp-ui.command.openConfigPanel','univer-space-y-2','bottom','IMessageService','mcpConfig.note1','Success','univer-text-white','univer-bg-gray-500','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','evenodd','INVALID_API_KEY','需要\x20API\x20密钥才能连接','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','Injector','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','pluginName','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','trim','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','_initConfigSync','_loadStoredApiKey','tag','_mcpCoreConfig$','API\x20密钥','call','_componentManager','NONE','0\x200\x2016\x2016','_config$','几秒钟内获取您的\x20API\x20密钥','Saving...','apiKey','_dialogService','OffLineIcon','translate(.97)','服务器端点','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','mask','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCP:\x20Invalid\x20API\x20Key','_validateConfig','Error','mcpConfig.validation.apiKeyRequired','CloseSmallSingle','displayName','mcpStatus.missingApiKey','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCP\x20Unknown\x20Status','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','COMMAND','path','includes','indexOf','registerComponent','mcpConfig.validation.invalidConfig','xlink:href','getOwnPropertyDescriptor','javascript:void(0)','defIds','symbol','启用身份验证以获得安全连接','连接信息','toString','MessageType','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','3853755vUUzMV','M0\x200H16V16H0z','保存中...','MCP:\x20无效的\x20API\x20密钥','errorMessage','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','div','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','API\x20密钥不能为空','BehaviorSubject','MCPConnectionError','\x20-\x20','currentColor','mcpStatus.connecting','mcpStatus.disconnected','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','setItem','mcp.apiKey','mcpStatus.failed','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','\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','mcpStatus.networkError','Plugin','mcpConfig.description','url(#on-line-icon_clip0_910_349)','配置更改将立即生效','MCPConnectionController','MCPConfigPanel','svg','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','forEach','Close','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','5vnJCIa','_initializeCommands','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','未连接','ComponentManager','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','MISSING_API_KEY','API\x20密钥无效,请检查密钥是否正确','round','showDeveloperTools','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','UniverMCPUIPlugin','MCP\x20连接失败','none','univer-flex-1','Inject','FAILED','MCP\x20连接中...','Server\x20Endpoint','function','DISCONNECTED','url(#off-line-icon_clip0_910_343)','univer-bg-red-500','NETWORK_ERROR','forwardRef','colorChannel1','MCP_UI_PLUGIN','clsx','MCP\x20Retrying...','warn','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getCurrentConfig','CheckMarkIcon','mcpConfig.validation.apiKeyTooShort','Get\x20your\x20API\x20key\x20in\x20seconds','IConfigService','error','mcpConfig.connectionError.sessionOccupied','className','_loading$','API\x20密钥无效,请检查您的密钥后重试','apply','超出最大重试次数,请稍后再试','show','isValid','Retrying...','mcpStatus.clickToConfigure','url(#$1','toStringTag','\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','string','univer-flex\x20univer-items-center\x20univer-gap-2','_handleConfigSave','Connection\x20Information','2252712BTSpfs','onStarting','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','_registerComponent','value','univer-min-w-0\x20univer-flex-1','_injector','mcpConfig.apiKey','showConfigPanel','mcpConfig.title','MAX_RETRIES_EXCEEDED','substring','useDependency','univer-mr-2\x20univer-flex\x20univer-text-xl','Configuration\x20Notes:','1475507saUXmk','MCPConnectionStatus','code','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20密钥长度至少需要\x2010\x20位','OnLineIcon','_menuManagerService','API\x20key\x20is\x20required','点击连接\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20超出最大重试次数','connectionStatus$','网络连接错误,请检查您的网络连接','MCP\x20Connecting...','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','MCPConnectionUIController','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','MCP\x20Connection\x20Failed','useRef','1463WJLnMJ','56060091fUjLox','mcpConfig.connectionInfo','https://console.univer.plus','children','univer-text-gray-500','IUIPartsService','_config','MCP_PLUGIN_CONFIG_KEY','Click\x20to\x20connect\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','配置无效','close-small-single','jsx','连接中...','defineProperty','univer-flex\x20univer-items-start\x20univer-gap-3','M5.21243\x205.62036L11.8791\x2012.287','assign','启用身份验证','univer-flex\x20univer-cursor-pointer\x20univer-items-center','Disconnected','univer-flex\x20univer-items-center\x20univer-gap-3','univer-space-y-5','disposeWithMe','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','Save\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','CONNECTED','Failed\x20to\x20save\x20configuration','propertyIsEnumerable','0\x200\x2017\x2016','label','univer.plus','on-line-icon','0\x200\x2017\x2017','1em','最大重试次数','_messageService','您的\x20API\x20密钥将在此浏览器中本地存储','univer.ai','_configService','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','hasOwnProperty','点击配置\x20MCP','43656amwzgL','UniverIcon','MCP:\x20网络错误','_mcpConnectionController','length','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Tooltip','MCP:\x20Network\x20Error','noopener\x20noreferrer','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','off','hover:univer-opacity-80','load','mcp-config-dialog','Click\x20to\x20configure\x20MCP','useCallback','subscribe','_initializeMenus','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcpStatus.unknown','entries','connectionError$','validateApiKey','mcpConfig.configSaved','请输入您的\x20API\x20密钥','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','sessionId','univer-bg-blue-500','off-line-icon','配置\x20MCP\x20使用\x20AI\x20操作电子表格','text','HelpSingle','span','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20已断开','univer-flex\x20univer-items-start\x20univer-gap-2','subscribeConfigValue$','_localeService','extend','add','getConfig','removeItem','map','off-line-icon_clip0_910_343','createElement','7520298fHFYxd','MCPUIMenuController','enUS','_commandService','mcpConfig.connectionError.invalidApiKey','mcpConfig.validation.invalidApiKey','OTHERS','default','ILogService','M5.21243\x2012.287L11.8791\x205.62036','\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','MCPConfigUIController','idSuffix','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','BUTTON','mcpServerUrl','MenuItemType','ILocalStorageService','icon','univer-text-green-500','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-bg-green-500','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','重连中...'];_0x174d=function(){return _0x584989;};return _0x174d();}var he=Object[_0x1ff1df(0x1c2)],me=(_0x4432a8,_0x341ba8,_0x13c144,_0x346950)=>{var _0x37d97a=_0x1ff1df;for(var _0x440744=_0x346950>0x1?void 0x0:_0x346950?he(_0x341ba8,_0x13c144):_0x341ba8,_0x4c968c=_0x4432a8[_0x37d97a(0x275)]-0x1,_0x510357;_0x4c968c>=0x0;_0x4c968c--)(_0x510357=_0x4432a8[_0x4c968c])&&(_0x440744=_0x510357(_0x440744)||_0x440744);return _0x440744;},p=(_0x1bc7e2,_0x10a318)=>(_0x39f8dc,_0x5cdd6b)=>_0x10a318(_0x39f8dc,_0x5cdd6b,_0x1bc7e2);const w=_0x1ff1df(0x1dc),A=_0x1ff1df(0x27e);exports['MCPConfigUIController']=class extends u[_0x1ff1df(0x2e4)]{constructor(_0x54daa4,_0x316828,_0x5accdf,_0x2776f4,_0x2cc4c7,_0x554806,_0x1596e7,_0x867a98,_0x1d1f8a,_0x171e74){var _0x21e736=_0x1ff1df;super(),_(this,'_loading$',new j[(_0x21e736(0x1d4))](!0x1)),_(this,_0x21e736(0x31d),new j[(_0x21e736(0x1d4))]({})),_(this,_0x21e736(0x1a6),new j[(_0x21e736(0x1d4))]({})),_(this,_0x21e736(0x220),async _0x385d37=>{var _0x1d90b9=_0x21e736;this[_0x1d90b9(0x213)]['next'](!0x0);try{const _0x1a84c7=await this[_0x1d90b9(0x1b2)](_0x385d37);if(!_0x1a84c7[_0x1d90b9(0x218)]){this[_0x1d90b9(0x26a)][_0x1d90b9(0x217)]({'type':x['MessageType'][_0x1d90b9(0x1b3)],'content':_0x1a84c7[_0x1d90b9(0x1cf)]||this[_0x1d90b9(0x297)]['t'](_0x1d90b9(0x1c0))});return;}_0x385d37[_0x1d90b9(0x1a9)]?await this[_0x1d90b9(0x2c3)][_0x1d90b9(0x1db)](w,_0x385d37['apiKey'][_0x1d90b9(0x318)]()):await this[_0x1d90b9(0x2c3)][_0x1d90b9(0x29b)](w),this[_0x1d90b9(0x26d)][_0x1d90b9(0x2d5)](s[_0x1d90b9(0x24c)],{..._0x385d37,'apiKey':_0x385d37[_0x1d90b9(0x1a9)][_0x1d90b9(0x318)]()}),this['_mcpCoreConfig$']['next']({..._0x385d37,'apiKey':_0x385d37['apiKey'][_0x1d90b9(0x318)]()}),this[_0x1d90b9(0x26a)][_0x1d90b9(0x217)]({'type':x[_0x1d90b9(0x1c9)][_0x1d90b9(0x30b)],'content':this[_0x1d90b9(0x297)]['t'](_0x1d90b9(0x289))}),setTimeout(()=>{var _0x37fe11=_0x1d90b9;this['_dialogService'][_0x37fe11(0x2f2)](A);},0x320);}catch(_0x48aa49){this['_logService'][_0x1d90b9(0x210)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x48aa49),this['_messageService'][_0x1d90b9(0x217)]({'type':x['MessageType'][_0x1d90b9(0x1b3)],'content':this[_0x1d90b9(0x297)]['t']('mcpConfig.configError')});}finally{this[_0x1d90b9(0x213)][_0x1d90b9(0x2c1)](!0x1);}}),(this[_0x21e736(0x228)]=_0x54daa4,this[_0x21e736(0x303)]=_0x316828,this[_0x21e736(0x26d)]=_0x5accdf,this[_0x21e736(0x2c3)]=_0x2776f4,this[_0x21e736(0x1aa)]=_0x2cc4c7,this['_messageService']=_0x554806,this[_0x21e736(0x320)]=_0x1596e7,this[_0x21e736(0x297)]=_0x867a98,this[_0x21e736(0x2c6)]=_0x1d1f8a,this[_0x21e736(0x274)]=_0x171e74,this[_0x21e736(0x31a)](),this[_0x21e736(0x31b)](),this[_0x21e736(0x225)]());}[_0x1ff1df(0x22a)](){var _0x2e4d56=_0x1ff1df;this[_0x2e4d56(0x1aa)]['open']({'id':A,'title':{'title':this[_0x2e4d56(0x297)]['t'](_0x2e4d56(0x22b))},'children':{'label':'MCPConfigPanel'},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0xe11a95=_0x2e4d56;this[_0xe11a95(0x1aa)][_0xe11a95(0x2f2)](A);}});}[_0x1ff1df(0x20b)](){var _0x3c3561=_0x1ff1df;return this[_0x3c3561(0x31d)]['value'];}[_0x1ff1df(0x225)](){var _0x3f7459=_0x1ff1df;this[_0x3f7459(0x25c)](this['_componentManager'][_0x3f7459(0x2ed)](_0x3f7459(0x1e6),this[_0x3f7459(0x2f1)]()));}['_createConfigPanelComponent'](){var _0x825bc4=_0x1ff1df;return v[_0x825bc4(0x2c9)](()=>{var _0x24dd18=_0x825bc4,_0x56889e,_0x3ed3ff;return o[_0x24dd18(0x251)](B,{'config':this[_0x24dd18(0x1a6)][_0x24dd18(0x226)],'mcpCoreConfig':this[_0x24dd18(0x31d)][_0x24dd18(0x226)],'onSave':this[_0x24dd18(0x220)],'loading':this[_0x24dd18(0x213)][_0x24dd18(0x226)],'connectionStatus$':(_0x56889e=this[_0x24dd18(0x274)])==null?void 0x0:_0x56889e[_0x24dd18(0x23c)],'connectionError$':(_0x3ed3ff=this[_0x24dd18(0x274)])==null?void 0x0:_0x3ed3ff[_0x24dd18(0x287)]});},this[_0x825bc4(0x228)]);}['_initConfigSync'](){var _0x559979=_0x1ff1df;this[_0x559979(0x25c)](this[_0x559979(0x26d)][_0x559979(0x296)](s[_0x559979(0x24c)])['subscribe'](_0x5eb618=>{var _0x44527a=_0x559979;this['_mcpCoreConfig$'][_0x44527a(0x2c1)](_0x5eb618||{});}));const _0xe7ddf5=this[_0x559979(0x26d)]['getConfig'](s[_0x559979(0x24c)]);this['_mcpCoreConfig$'][_0x559979(0x2c1)](_0xe7ddf5||{}),this[_0x559979(0x25c)](this[_0x559979(0x26d)][_0x559979(0x296)](k)[_0x559979(0x281)](_0x169e9e=>{var _0x2b7926=_0x559979;this[_0x2b7926(0x1a6)][_0x2b7926(0x2c1)](_0x169e9e||{});}));const _0x3fb4c0=this[_0x559979(0x26d)][_0x559979(0x29a)](k);this[_0x559979(0x1a6)][_0x559979(0x2c1)](_0x3fb4c0||{});}async[_0x1ff1df(0x31b)](){var _0x3c7863=_0x1ff1df;const _0x37955d=await this[_0x3c7863(0x2c3)][_0x3c7863(0x2e8)](w);if(_0x37955d){const _0x47f30c={...this[_0x3c7863(0x31d)][_0x3c7863(0x226)],'apiKey':_0x37955d};this['_configService'][_0x3c7863(0x2d5)](s[_0x3c7863(0x24c)],_0x47f30c),this[_0x3c7863(0x31d)][_0x3c7863(0x2c1)](_0x47f30c);}}async[_0x1ff1df(0x1b2)](_0x8c7faf){var _0x3d4a34=_0x1ff1df;if(!_0x8c7faf[_0x3d4a34(0x1a9)]||_0x8c7faf['apiKey'][_0x3d4a34(0x318)]()[_0x3d4a34(0x275)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x3d4a34(0x297)]['t'](_0x3d4a34(0x1b4))};if(_0x8c7faf[_0x3d4a34(0x1a9)][_0x3d4a34(0x318)]()[_0x3d4a34(0x275)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x3d4a34(0x297)]['t'](_0x3d4a34(0x20d))};try{const _0x33dbdd=await this[_0x3d4a34(0x228)][_0x3d4a34(0x2c0)](s[_0x3d4a34(0x1e5)])[_0x3d4a34(0x288)](_0x8c7faf[_0x3d4a34(0x1a9)]['trim']());return _0x33dbdd[_0x3d4a34(0x218)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x33dbdd[_0x3d4a34(0x210)]||this[_0x3d4a34(0x297)]['t'](_0x3d4a34(0x2a4))};}catch(_0x827b67){return console[_0x3d4a34(0x209)](_0x3d4a34(0x2ce),_0x827b67),{'isValid':!0x0};}}},exports[_0x1ff1df(0x2aa)]=me([p(0x0,u[_0x1ff1df(0x1fb)](u['Injector'])),p(0x1,v[_0x1ff1df(0x24a)]),p(0x2,u[_0x1ff1df(0x20f)]),p(0x3,u[_0x1ff1df(0x2b0)]),p(0x4,v[_0x1ff1df(0x2bb)]),p(0x5,v[_0x1ff1df(0x309)]),p(0x6,u['Inject'](v[_0x1ff1df(0x1f0)])),p(0x7,u['Inject'](u[_0x1ff1df(0x2e7)])),p(0x8,u[_0x1ff1df(0x2a7)]),p(0x9,u['Inject'](s['MCPConnectionController']))],exports[_0x1ff1df(0x2aa)]);function _0x5058(_0x146263,_0x7b90d6){var _0x174de2=_0x174d();return _0x5058=function(_0x5058d8,_0x5d33d7){_0x5058d8=_0x5058d8-0x1a4;var _0x359d0c=_0x174de2[_0x5058d8];return _0x359d0c;},_0x5058(_0x146263,_0x7b90d6);}const b={'id':_0x1ff1df(0x306),'type':u[_0x1ff1df(0x2cd)][_0x1ff1df(0x1bb)],'handler':async(_0x330b57,_0x582a4a)=>(_0x330b57['get'](exports['MCPConfigUIController'])[_0x1ff1df(0x22a)](),!0x0)};function H(_0x297e5a,_0x53df42){var _0x28ec7d=_0x1ff1df;switch(_0x297e5a){case s[_0x28ec7d(0x232)][_0x28ec7d(0x200)]:return _0x53df42===s[_0x28ec7d(0x1d5)][_0x28ec7d(0x1f2)]?_0x28ec7d(0x1b7):_0x28ec7d(0x1d9);case s[_0x28ec7d(0x232)][_0x28ec7d(0x2bf)]:return _0x28ec7d(0x1d8);case s[_0x28ec7d(0x232)][_0x28ec7d(0x260)]:return'mcpStatus.connected';case s[_0x28ec7d(0x232)][_0x28ec7d(0x1fc)]:switch(_0x53df42){case s['MCPConnectionError'][_0x28ec7d(0x311)]:return'mcpStatus.invalidApiKey';case s[_0x28ec7d(0x1d5)]['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case s['MCPConnectionError'][_0x28ec7d(0x203)]:return _0x28ec7d(0x1e0);case s[_0x28ec7d(0x1d5)]['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return _0x28ec7d(0x1dd);}case s['MCPConnectionStatus'][_0x28ec7d(0x2e1)]:return'mcpStatus.retrying';default:return _0x28ec7d(0x285);}}function xe(_0x1d2355,_0x3ad568,_0x3e0763){var _0x34b51d=_0x1ff1df;const _0x1a895e=H(_0x1d2355,_0x3ad568),_0x59631d=_0x3e0763['t'](_0x1a895e);return _0x1d2355===s[_0x34b51d(0x232)][_0x34b51d(0x200)]&&_0x3ad568===s[_0x34b51d(0x1d5)][_0x34b51d(0x1f2)]?_0x59631d+'\x20-\x20'+_0x3e0763['t'](_0x34b51d(0x21a)):_0x1d2355===s[_0x34b51d(0x232)][_0x34b51d(0x260)]?''+_0x59631d:_0x1d2355===s[_0x34b51d(0x232)][_0x34b51d(0x200)]||_0x1d2355===s[_0x34b51d(0x232)][_0x34b51d(0x1fc)]?_0x59631d+_0x34b51d(0x1d6)+_0x3e0763['t']('mcpStatus.clickToConnect'):_0x59631d;}function Pe(_0x861feb){var _0x5c4493=_0x1ff1df;switch(_0x861feb){case s[_0x5c4493(0x232)][_0x5c4493(0x260)]:return _0x5c4493(0x2b2);case s[_0x5c4493(0x232)][_0x5c4493(0x2bf)]:case s['MCPConnectionStatus']['RETRYING']:return'univer-text-yellow-500';case s[_0x5c4493(0x232)][_0x5c4493(0x1fc)]:case s['MCPConnectionStatus'][_0x5c4493(0x200)]:return'univer-text-red-500';default:return _0x5c4493(0x249);}}function q(_0x33a3da){var _0x15e0a4=_0x1ff1df;const {status$:_0x340dae,error$:_0xb96a43,onConfigure:_0x2b1206}=_0x33a3da,_0x839891=v['useObservable'](_0x340dae,s[_0x15e0a4(0x232)]['DISCONNECTED']),_0x36cbd5=v[_0x15e0a4(0x2cf)](_0xb96a43,s['MCPConnectionError'][_0x15e0a4(0x1a4)]),_0xe5fd06=v['useDependency'](u[_0x15e0a4(0x2e7)]),_0x4034b7=_0x839891===s['MCPConnectionStatus'][_0x15e0a4(0x260)],_0x66d136=_0x839891===s['MCPConnectionStatus'][_0x15e0a4(0x2bf)]||_0x839891===s[_0x15e0a4(0x232)][_0x15e0a4(0x2e1)],_0x1e7ed6=_0xe5fd06['t'](H(_0x839891,_0x36cbd5)),_0x55b5ab=xe(_0x839891,_0x36cbd5,_0xe5fd06),_0x56e476=Pe(_0x839891),_0xc29c8=_0x4034b7?o[_0x15e0a4(0x251)](V,{}):o[_0x15e0a4(0x251)](F,{}),_0xa6022e=d[_0x15e0a4(0x280)](()=>{_0x2b1206&&_0x2b1206();},[_0x4034b7,_0x66d136,_0x2b1206]);function _0x10d3b7(){var _0x12cb27=_0x15e0a4;return o['jsxs'](_0x12cb27(0x1d1),{'className':x[_0x12cb27(0x207)](_0x12cb27(0x258),_0x2b1206&&_0x12cb27(0x27c)),'onClick':_0x2b1206?_0xa6022e:void 0x0,'children':[o['jsx'](_0x12cb27(0x1d1),{'className':x[_0x12cb27(0x207)](_0x12cb27(0x22f),_0x56e476),'children':_0xc29c8}),o[_0x12cb27(0x251)](_0x12cb27(0x1d1),{'className':_0x12cb27(0x1d0),'children':_0x1e7ed6})]});}return o[_0x15e0a4(0x251)](x[_0x15e0a4(0x277)],{'title':_0x55b5ab,'placement':_0x15e0a4(0x308),'children':_0x10d3b7()});}var Ie=Object[_0x1ff1df(0x1c2)],Se=(_0xce25f2,_0x27c874,_0x393d22,_0x3ac0a2)=>{var _0x37e7c6=_0x1ff1df;for(var _0x339d9b=_0x3ac0a2>0x1?void 0x0:_0x3ac0a2?Ie(_0x27c874,_0x393d22):_0x27c874,_0x3f0a57=_0xce25f2[_0x37e7c6(0x275)]-0x1,_0xec2758;_0x3f0a57>=0x0;_0x3f0a57--)(_0xec2758=_0xce25f2[_0x3f0a57])&&(_0x339d9b=_0xec2758(_0x339d9b)||_0x339d9b);return _0x339d9b;},O=(_0x196454,_0x1c4ab2)=>(_0x1ab5a2,_0x5b397d)=>_0x1c4ab2(_0x1ab5a2,_0x5b397d,_0x196454);exports['MCPConnectionUIController']=class extends u[_0x1ff1df(0x2e4)]{constructor(_0x7db582,_0x3ecc21,_0x41e8b0){var _0x1d211e=_0x1ff1df;super(),this[_0x1d211e(0x228)]=_0x7db582,this[_0x1d211e(0x2c7)]=_0x3ecc21,this[_0x1d211e(0x303)]=_0x41e8b0,this['_initStatusComponent']();}['_initStatusComponent'](){var _0xf716e4=_0x1ff1df;this['disposeWithMe'](this['_uiPartsService'][_0xf716e4(0x1bf)](v[_0xf716e4(0x2fb)]['HEADER_MENU'],()=>v[_0xf716e4(0x2c9)](_e({'status$':this[_0xf716e4(0x2c7)][_0xf716e4(0x23c)],'error$':this[_0xf716e4(0x2c7)][_0xf716e4(0x287)],'onConfigure':()=>this['_handleConfigure']()}),this['_injector'])));}['_handleConfigure'](){var _0x301f62=_0x1ff1df;this[_0x301f62(0x228)][_0x301f62(0x2c0)](exports['MCPConfigUIController'])[_0x301f62(0x22a)]();}},exports['MCPConnectionUIController']=Se([O(0x0,u[_0x1ff1df(0x1fb)](u[_0x1ff1df(0x314)])),O(0x1,u[_0x1ff1df(0x1fb)](s[_0x1ff1df(0x1e5)])),O(0x2,v[_0x1ff1df(0x24a)])],exports[_0x1ff1df(0x240)]);function _e(_0xeaca33){const {status$:_0x129957,error$:_0x2c4925,onConfigure:_0xb6b4d4}=_0xeaca33;return function(){var _0x31bc57=_0x5058;return o[_0x31bc57(0x251)](q,{'status$':_0x129957,'error$':_0x2c4925,'onConfigure':_0xb6b4d4});};}function ye(_0x5e9523){var _0x55df9a=_0x1ff1df;return{'id':b['id'],'type':v[_0x55df9a(0x2af)][_0x55df9a(0x2ad)],'icon':'MenuIcon','title':'mcpConfig.title','tooltip':_0x55df9a(0x22b)};}const Me={[v[_0x1ff1df(0x2fa)][_0x1ff1df(0x2a5)]]:{[b['id']]:{'order':0xa,'menuItemFactory':ye}}};var Ee=Object['getOwnPropertyDescriptor'],Ne=(_0x53348a,_0x538343,_0xc59761,_0x560037)=>{var _0x50d381=_0x1ff1df;for(var _0x5e7c88=_0x560037>0x1?void 0x0:_0x560037?Ee(_0x538343,_0xc59761):_0x538343,_0x4db391=_0x53348a[_0x50d381(0x275)]-0x1,_0x320c57;_0x4db391>=0x0;_0x4db391--)(_0x320c57=_0x53348a[_0x4db391])&&(_0x5e7c88=_0x320c57(_0x5e7c88)||_0x5e7c88);return _0x5e7c88;},R=(_0x59ffbf,_0x4dc59f)=>(_0x16e6e5,_0x55306f)=>_0x4dc59f(_0x16e6e5,_0x55306f,_0x59ffbf);exports['MCPUIMenuController']=class extends u[_0x1ff1df(0x2e4)]{constructor(_0x212dcc,_0x1ba2bb){var _0x4d1339=_0x1ff1df;super(),this['_commandService']=_0x212dcc,this[_0x4d1339(0x237)]=_0x1ba2bb,this[_0x4d1339(0x1ed)](),this[_0x4d1339(0x282)]();}['_initializeCommands'](){var _0xaaae50=_0x1ff1df;[b][_0xaaae50(0x1e9)](_0x3ac819=>{var _0x2347f9=_0xaaae50;this['disposeWithMe'](this[_0x2347f9(0x2a2)]['registerCommand'](_0x3ac819));});}['_initializeMenus'](){var _0x399ef7=_0x1ff1df;this[_0x399ef7(0x237)]['mergeMenu'](Me);}},exports[_0x1ff1df(0x2a0)]=Ne([R(0x0,u[_0x1ff1df(0x2c5)]),R(0x1,v['IMenuManagerService'])],exports['MCPUIMenuController']);const W={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x1ff1df(0x23e),'connected':_0x1ff1df(0x2dd),'failed':_0x1ff1df(0x242),'retrying':_0x1ff1df(0x208),'unknown':_0x1ff1df(0x1b9),'missingApiKey':_0x1ff1df(0x2ef),'invalidApiKey':_0x1ff1df(0x1b1),'sessionOccupied':_0x1ff1df(0x2c4),'networkError':_0x1ff1df(0x278),'maxRetriesExceeded':_0x1ff1df(0x25f),'clickToConnect':_0x1ff1df(0x24d),'clickToConfigure':_0x1ff1df(0x27f)},'mcpConfig':{'title':_0x1ff1df(0x2ec),'description':_0x1ff1df(0x27a),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1ff1df(0x234),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1ff1df(0x221),'serverEndpoint':_0x1ff1df(0x1fe),'sessionId':'Session\x20ID','maxRetries':'Max\x20Retries','save':_0x1ff1df(0x25e),'saving':_0x1ff1df(0x1a8),'note1':_0x1ff1df(0x284),'note2':_0x1ff1df(0x30e),'configSaved':_0x1ff1df(0x2b9),'configError':_0x1ff1df(0x261),'apiApplyInfo':{'title':_0x1ff1df(0x2db),'description':_0x1ff1df(0x1e8),'univerAiLabel':_0x1ff1df(0x2d3),'getStarted':_0x1ff1df(0x20e)},'validation':{'apiKeyRequired':_0x1ff1df(0x238),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x1ff1df(0x24e)},'connectionStatus':{'disconnected':_0x1ff1df(0x259),'connecting':_0x1ff1df(0x2ea),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x1ff1df(0x219)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x1ff1df(0x1ae),'sessionOccupied':_0x1ff1df(0x293),'networkError':_0x1ff1df(0x2e0),'maxRetriesExceeded':_0x1ff1df(0x23a)}}},z={'mcpStatus':{'disconnected':_0x1ff1df(0x294),'connecting':_0x1ff1df(0x1fd),'connected':'MCP\x20已连接','failed':_0x1ff1df(0x1f8),'retrying':'MCP\x20重连中...','unknown':_0x1ff1df(0x302),'missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':_0x1ff1df(0x1ce),'sessionOccupied':_0x1ff1df(0x2be),'networkError':_0x1ff1df(0x273),'maxRetriesExceeded':_0x1ff1df(0x23b),'clickToConnect':_0x1ff1df(0x239),'clickToConfigure':_0x1ff1df(0x270)},'mcpConfig':{'title':'MCP\x20配置','description':_0x1ff1df(0x28f),'apiKey':_0x1ff1df(0x31e),'apiKeyPlaceholder':_0x1ff1df(0x28a),'apiKeyHint':_0x1ff1df(0x26b),'enableAuth':_0x1ff1df(0x257),'enableAuthHint':_0x1ff1df(0x1c6),'connectionInfo':_0x1ff1df(0x1c7),'serverEndpoint':_0x1ff1df(0x1ad),'sessionId':'会话ID','maxRetries':_0x1ff1df(0x269),'save':_0x1ff1df(0x2de),'saving':_0x1ff1df(0x1cd),'note1':_0x1ff1df(0x1e4),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x1ff1df(0x2bd),'apiApplyInfo':{'title':_0x1ff1df(0x2d8),'description':_0x1ff1df(0x319),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x1ff1df(0x1a7)},'validation':{'apiKeyRequired':_0x1ff1df(0x1d3),'apiKeyTooShort':_0x1ff1df(0x235),'invalidConfig':_0x1ff1df(0x24f),'invalidApiKey':_0x1ff1df(0x1f3)},'connectionStatus':{'disconnected':_0x1ff1df(0x1ef),'connecting':_0x1ff1df(0x252),'connected':_0x1ff1df(0x2f8),'failed':'连接失败','retrying':_0x1ff1df(0x2b6)},'connectionError':{'missingApiKey':_0x1ff1df(0x312),'invalidApiKey':_0x1ff1df(0x214),'sessionOccupied':'会话当前被占用,请稍后再试','networkError':_0x1ff1df(0x23d),'maxRetriesExceeded':_0x1ff1df(0x216)}}};var be=Object['defineProperty'],je=Object[_0x1ff1df(0x1c2)],we=(_0x48c5bc,_0x523257,_0x40b2ef)=>_0x523257 in _0x48c5bc?be(_0x48c5bc,_0x523257,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40b2ef}):_0x48c5bc[_0x523257]=_0x40b2ef,Ae=(_0x5ace6c,_0xdddf6,_0xf41b40,_0x1fc32c)=>{var _0x331072=_0x1ff1df;for(var _0x29acf0=_0x1fc32c>0x1?void 0x0:_0x1fc32c?je(_0xdddf6,_0xf41b40):_0xdddf6,_0x429310=_0x5ace6c[_0x331072(0x275)]-0x1,_0x399ce3;_0x429310>=0x0;_0x429310--)(_0x399ce3=_0x5ace6c[_0x429310])&&(_0x29acf0=_0x399ce3(_0x29acf0)||_0x29acf0);return _0x29acf0;},y=(_0x4ffb1b,_0x45c983)=>(_0x5cba5c,_0x333494)=>_0x45c983(_0x5cba5c,_0x333494,_0x4ffb1b),Oe=(_0x426b6e,_0x1df087,_0x425764)=>we(_0x426b6e,_0x1df087+'',_0x425764);exports[_0x1ff1df(0x1f7)]=class extends u[_0x1ff1df(0x1e1)]{constructor(_0x3ea8dc=T,_0x345810,_0xb42f72,_0x94b19,_0x105d30,_0x579ade){var _0x5975e6=_0x1ff1df;super(),this[_0x5975e6(0x24b)]=_0x3ea8dc,this[_0x5975e6(0x228)]=_0x345810,this[_0x5975e6(0x26d)]=_0xb42f72,this[_0x5975e6(0x303)]=_0x94b19,this[_0x5975e6(0x2c3)]=_0x105d30,this[_0x5975e6(0x297)]=_0x579ade;const {..._0x48e0fe}=u[_0x5975e6(0x2c2)]({},T,this['_config']);this[_0x5975e6(0x26d)][_0x5975e6(0x2d5)](k,_0x48e0fe),this[_0x5975e6(0x297)][_0x5975e6(0x27d)]({'zhCN':z,'enUS':W});}async[_0x1ff1df(0x223)](){var _0x493f7a=_0x1ff1df;[[exports[_0x493f7a(0x240)]],[exports[_0x493f7a(0x2aa)]],[exports['MCPUIMenuController']]][_0x493f7a(0x1e9)](_0x89d865=>this[_0x493f7a(0x228)][_0x493f7a(0x299)](_0x89d865)),this[_0x493f7a(0x228)]['get'](exports['MCPConnectionUIController']),this[_0x493f7a(0x228)][_0x493f7a(0x2c0)](exports['MCPConfigUIController']),this[_0x493f7a(0x228)]['get'](exports[_0x493f7a(0x2a0)]);}},Oe(exports['UniverMCPUIPlugin'],_0x1ff1df(0x316),_0x1ff1df(0x206)),exports[_0x1ff1df(0x1f7)]=Ae([u[_0x1ff1df(0x2bc)](s[_0x1ff1df(0x304)]),y(0x1,u[_0x1ff1df(0x1fb)](u[_0x1ff1df(0x314)])),y(0x2,u[_0x1ff1df(0x20f)]),y(0x3,v[_0x1ff1df(0x24a)]),y(0x4,u[_0x1ff1df(0x2b0)]),y(0x5,u[_0x1ff1df(0x1fb)](u[_0x1ff1df(0x2e7)]))],exports[_0x1ff1df(0x1f7)]),exports['MCPConfigPanel']=B,exports['MCPStatusDisplay']=q,exports['OpenMCPConfigPanelCommand']=b,exports[_0x1ff1df(0x2a1)]=W,exports[_0x1ff1df(0x2ba)]=z;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x296c5f=_0x1893;(function(_0x2a0a14,_0x1d120f){const _0x25b79e=_0x1893,_0x27ac9a=_0x2a0a14();while(!![]){try{const _0x520c01=parseInt(_0x25b79e(0x97))/0x1+-parseInt(_0x25b79e(0x96))/0x2+-parseInt(_0x25b79e(0x98))/0x3*(-parseInt(_0x25b79e(0x8a))/0x4)+parseInt(_0x25b79e(0x7b))/0x5+-parseInt(_0x25b79e(0x9d))/0x6*(parseInt(_0x25b79e(0x95))/0x7)+-parseInt(_0x25b79e(0x99))/0x8+parseInt(_0x25b79e(0x82))/0x9;if(_0x520c01===_0x1d120f)break;else _0x27ac9a['push'](_0x27ac9a['shift']());}catch(_0x504532){_0x27ac9a['push'](_0x27ac9a['shift']());}}}(_0x2d01,0xf0a3c));const e={'mcpStatus':{'disconnected':_0x296c5f(0x92),'connecting':_0x296c5f(0x89),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x296c5f(0x78),'unknown':_0x296c5f(0x81),'missingApiKey':_0x296c5f(0x84),'invalidApiKey':_0x296c5f(0x7f),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x296c5f(0x7e),'maxRetriesExceeded':_0x296c5f(0x87),'clickToConnect':_0x296c5f(0x76),'clickToConfigure':_0x296c5f(0x7c)},'mcpConfig':{'title':_0x296c5f(0x8c),'description':_0x296c5f(0x9a),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x296c5f(0x9c),'apiKeyHint':_0x296c5f(0x9b),'enableAuth':_0x296c5f(0x86),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x296c5f(0x72),'serverEndpoint':_0x296c5f(0x7d),'sessionId':'Session\x20ID','maxRetries':_0x296c5f(0x83),'save':_0x296c5f(0x94),'saving':_0x296c5f(0x85),'note1':_0x296c5f(0x8e),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x296c5f(0x88),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x296c5f(0x91),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x296c5f(0x73),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x296c5f(0x80),'invalidApiKey':_0x296c5f(0x8b)},'connectionStatus':{'disconnected':_0x296c5f(0x7a),'connecting':_0x296c5f(0x77),'connected':_0x296c5f(0x90),'failed':_0x296c5f(0x71),'retrying':_0x296c5f(0x93)},'connectionError':{'missingApiKey':_0x296c5f(0x75),'invalidApiKey':_0x296c5f(0x74),'sessionOccupied':_0x296c5f(0x8f),'networkError':_0x296c5f(0x8d),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x1893(_0x28bf1a,_0x15552f){const _0x2d01ad=_0x2d01();return _0x1893=function(_0x189303,_0x26e94a){_0x189303=_0x189303-0x71;let _0x1a4db2=_0x2d01ad[_0x189303];return _0x1a4db2;},_0x1893(_0x28bf1a,_0x15552f);}module[_0x296c5f(0x79)]=n;function _0x2d01(){const _0xa1d706=['Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Connected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Disconnected','Retrying...','Save\x20Configuration','385PWLerl','3335504jPFuyu','1222119CGIkSx','99579GPuAKd','10591880axjosa','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enter\x20your\x20API\x20key','4632LxRYwL','Connection\x20Failed','Connection\x20Information','API\x20key\x20is\x20required','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','API\x20key\x20is\x20required\x20to\x20connect','Click\x20to\x20connect\x20MCP','Connecting...','MCP\x20Retrying...','exports','Disconnected','6300900DzTuGR','Click\x20to\x20configure\x20MCP','Server\x20Endpoint','MCP:\x20Network\x20Error','MCP:\x20Invalid\x20API\x20Key','Invalid\x20configuration','MCP\x20Unknown\x20Status','10253178GopZDW','Max\x20Retries','MCP:\x20API\x20Key\x20Missing','Saving...','Enable\x20Authentication','MCP:\x20Max\x20Retries\x20Exceeded','Failed\x20to\x20save\x20configuration','MCP\x20Connecting...','48XjVLRB'];_0x2d01=function(){return _0xa1d706;};return _0x2d01();}
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3e2567=_0x2594;function _0x229e(){const _0x404ca=['3886kJJJJh','Click\x20to\x20connect\x20MCP','MCP:\x20Session\x20Occupied','What\x20is\x20API\x20Key?','Disconnected','Server\x20Endpoint','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Network\x20Error','Max\x20Retries','63786OlqMio','Univer\x20AI\x20Console','372jryfsF','API\x20Key','180YAMBmm','10493170anQbsK','53284DZaKIJ','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connection\x20Failed','MCP\x20Unknown\x20Status','74979hIIdmu','Save\x20Configuration','Click\x20to\x20configure\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connection\x20Information','Invalid\x20configuration','13131dyljVN','API\x20key\x20is\x20required\x20to\x20connect','15ZjaSpO','MCP\x20Disconnected','Saving...','984bnAexD','MCP\x20Connection\x20Failed','MCP\x20Retrying...','exports','7606998uWiZbY','Failed\x20to\x20save\x20configuration','MCP\x20Connected','Connected','Retrying...','API\x20key\x20is\x20required','MCP:\x20API\x20Key\x20Missing','Session\x20ID','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Configuration'];_0x229e=function(){return _0x404ca;};return _0x229e();}(function(_0x172b0b,_0x531bee){const _0x1c51a8=_0x2594,_0x23873c=_0x172b0b();while(!![]){try{const _0x3f0bb8=parseInt(_0x1c51a8(0xfc))/0x1*(-parseInt(_0x1c51a8(0x108))/0x2)+-parseInt(_0x1c51a8(0x117))/0x3*(-parseInt(_0x1c51a8(0x10a))/0x4)+parseInt(_0x1c51a8(0x119))/0x5*(-parseInt(_0x1c51a8(0x106))/0x6)+parseInt(_0x1c51a8(0x120))/0x7+-parseInt(_0x1c51a8(0x11c))/0x8*(parseInt(_0x1c51a8(0x111))/0x9)+parseInt(_0x1c51a8(0x10b))/0xa+-parseInt(_0x1c51a8(0x10c))/0xb;if(_0x3f0bb8===_0x531bee)break;else _0x23873c['push'](_0x23873c['shift']());}catch(_0xbe5581){_0x23873c['push'](_0x23873c['shift']());}}}(_0x229e,0x85f8e));function _0x2594(_0x5bc1a8,_0x5cafd5){const _0x229ee0=_0x229e();return _0x2594=function(_0x259467,_0x3f3798){_0x259467=_0x259467-0xf2;let _0x5e3a1b=_0x229ee0[_0x259467];return _0x5e3a1b;},_0x2594(_0x5bc1a8,_0x5cafd5);}const e={'mcpStatus':{'disconnected':_0x3e2567(0x11a),'connecting':'MCP\x20Connecting...','connected':_0x3e2567(0xf3),'failed':_0x3e2567(0x11d),'retrying':_0x3e2567(0x11e),'unknown':_0x3e2567(0x110),'missingApiKey':_0x3e2567(0xf7),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x3e2567(0xfe),'networkError':_0x3e2567(0x104),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3e2567(0xfd),'clickToConfigure':_0x3e2567(0x113)},'mcpConfig':{'title':_0x3e2567(0xfb),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x3e2567(0x109),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x3e2567(0x115),'serverEndpoint':_0x3e2567(0x101),'sessionId':_0x3e2567(0xf8),'maxRetries':_0x3e2567(0x105),'save':_0x3e2567(0x112),'saving':_0x3e2567(0x11b),'note1':_0x3e2567(0xfa),'note2':_0x3e2567(0x10e),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x3e2567(0xf2),'apiApplyInfo':{'title':_0x3e2567(0xff),'description':_0x3e2567(0x103),'univerAiLabel':_0x3e2567(0x107),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x3e2567(0xf6),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x3e2567(0x116),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x3e2567(0x100),'connecting':'Connecting...','connected':_0x3e2567(0xf4),'failed':_0x3e2567(0x10f),'retrying':_0x3e2567(0xf5)},'connectionError':{'missingApiKey':_0x3e2567(0x118),'invalidApiKey':_0x3e2567(0x10d),'sessionOccupied':_0x3e2567(0xf9),'networkError':_0x3e2567(0x114),'maxRetriesExceeded':_0x3e2567(0x102)}}};module[_0x3e2567(0x11f)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x5eb9(_0xee971d,_0x3f8ca9){const _0x4077ad=_0x4077();return _0x5eb9=function(_0x5eb9e1,_0x47d8c5){_0x5eb9e1=_0x5eb9e1-0xfe;let _0x40a121=_0x4077ad[_0x5eb9e1];return _0x40a121;},_0x5eb9(_0xee971d,_0x3f8ca9);}function _0x4077(){const _0x4ca870=['6789340WcMmoG','MCP\x20Unknown\x20Status','38370500cDOmYK','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enable\x20authentication\x20for\x20secure\x20connections','1964716FmBvGM','Invalid\x20configuration','912328IlAQOd','MCP:\x20Network\x20Error','3nffMZb','Connection\x20Information','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Univer\x20AI\x20Console','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','45pIyZUa','2nLBika','exports','Saving...','MCP\x20Connecting...','17771ikntJC','MCP\x20Configuration','Server\x20Endpoint','MCP\x20Connected','Disconnected','Save\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','Configuration\x20saved\x20successfully','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20Authentication','Connected','9526195NEzgwI','API\x20Key','MCP\x20Disconnected','Get\x20your\x20API\x20key\x20in\x20seconds','2920164LZollK','Enter\x20your\x20API\x20key','MCP:\x20Session\x20Occupied','MCP\x20Retrying...','MCP:\x20Invalid\x20API\x20Key','Session\x20ID','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP','API\x20key\x20is\x20required\x20to\x20connect','What\x20is\x20API\x20Key?','Max\x20Retries','MCP:\x20Max\x20Retries\x20Exceeded'];_0x4077=function(){return _0x4ca870;};return _0x4077();}const _0x4b63b8=_0x5eb9;(function(_0x2c95af,_0x4abeef){const _0x38abbb=_0x5eb9,_0x58873b=_0x2c95af();while(!![]){try{const _0x26158b=parseInt(_0x38abbb(0x109))/0x1*(-parseInt(_0x38abbb(0x105))/0x2)+parseInt(_0x38abbb(0xff))/0x3*(-parseInt(_0x38abbb(0x12b))/0x4)+-parseInt(_0x38abbb(0x126))/0x5+-parseInt(_0x38abbb(0x119))/0x6+-parseInt(_0x38abbb(0x115))/0x7+-parseInt(_0x38abbb(0x12d))/0x8*(-parseInt(_0x38abbb(0x104))/0x9)+parseInt(_0x38abbb(0x128))/0xa;if(_0x26158b===_0x4abeef)break;else _0x58873b['push'](_0x58873b['shift']());}catch(_0xec27dc){_0x58873b['push'](_0x58873b['shift']());}}}(_0x4077,0xa927a));const e={'mcpStatus':{'disconnected':_0x4b63b8(0x117),'connecting':_0x4b63b8(0x108),'connected':_0x4b63b8(0x10c),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4b63b8(0x11c),'unknown':_0x4b63b8(0x127),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x4b63b8(0x11d),'sessionOccupied':_0x4b63b8(0x11b),'networkError':_0x4b63b8(0xfe),'maxRetriesExceeded':_0x4b63b8(0x125),'clickToConnect':_0x4b63b8(0x121),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4b63b8(0x10a),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x4b63b8(0x116),'apiKeyPlaceholder':_0x4b63b8(0x11a),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x4b63b8(0x113),'enableAuthHint':_0x4b63b8(0x12a),'connectionInfo':_0x4b63b8(0x100),'serverEndpoint':_0x4b63b8(0x10b),'sessionId':_0x4b63b8(0x11e),'maxRetries':_0x4b63b8(0x124),'save':_0x4b63b8(0x10e),'saving':_0x4b63b8(0x107),'note1':_0x4b63b8(0x112),'note2':_0x4b63b8(0x103),'configSaved':_0x4b63b8(0x111),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x4b63b8(0x123),'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':_0x4b63b8(0x102),'getStarted':_0x4b63b8(0x118)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x4b63b8(0x129),'invalidConfig':_0x4b63b8(0x12c),'invalidApiKey':_0x4b63b8(0x10f)},'connectionStatus':{'disconnected':_0x4b63b8(0x10d),'connecting':'Connecting...','connected':_0x4b63b8(0x114),'failed':_0x4b63b8(0x110),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x4b63b8(0x122),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x4b63b8(0x11f),'networkError':_0x4b63b8(0x120),'maxRetriesExceeded':_0x4b63b8(0x101)}}},n=e;module[_0x4b63b8(0x106)]=n;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x2b62(_0x181747,_0x22fab7){const _0x4dd098=_0x4dd0();return _0x2b62=function(_0x2b6241,_0x592346){_0x2b6241=_0x2b6241-0x13d;let _0x2fe4d6=_0x4dd098[_0x2b6241];return _0x2fe4d6;},_0x2b62(_0x181747,_0x22fab7);}const _0x1a91df=_0x2b62;(function(_0x400f23,_0x71504f){const _0xffcf0e=_0x2b62,_0x39534d=_0x400f23();while(!![]){try{const _0x2df7da=-parseInt(_0xffcf0e(0x155))/0x1+parseInt(_0xffcf0e(0x157))/0x2+-parseInt(_0xffcf0e(0x13d))/0x3*(parseInt(_0xffcf0e(0x164))/0x4)+-parseInt(_0xffcf0e(0x159))/0x5*(-parseInt(_0xffcf0e(0x15f))/0x6)+parseInt(_0xffcf0e(0x15e))/0x7*(-parseInt(_0xffcf0e(0x161))/0x8)+parseInt(_0xffcf0e(0x152))/0x9+-parseInt(_0xffcf0e(0x14f))/0xa*(-parseInt(_0xffcf0e(0x14c))/0xb);if(_0x2df7da===_0x71504f)break;else _0x39534d['push'](_0x39534d['shift']());}catch(_0x3891aa){_0x39534d['push'](_0x39534d['shift']());}}}(_0x4dd0,0x9aac3));function _0x4dd0(){const _0x420ef0=['Click\x20to\x20configure\x20MCP','1072306ZGRwvz','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','4565JHfOla','MCP:\x20Network\x20Error','API\x20Key','Saving...','Enter\x20your\x20API\x20key','7UbAHIb','1422xnOXio','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','8982856whEQYZ','MCP:\x20Session\x20Occupied','MCP\x20Configuration','764276omYjRI','MCP:\x20API\x20Key\x20Missing','exports','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Connecting...','Server\x20Endpoint','Invalid\x20configuration','6zjzhBA','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Disconnected','Retrying...','Univer\x20AI\x20Console','MCP\x20Connection\x20Failed','Max\x20Retries','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Unknown\x20Status','Save\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20saved\x20successfully','What\x20is\x20API\x20Key?','93918EwJUra','Failed\x20to\x20save\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','1160owURuY','Connected','Connection\x20Failed','10016307KtnDsQ','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','717331cCfVea'];_0x4dd0=function(){return _0x420ef0;};return _0x4dd0();}const e={'mcpStatus':{'disconnected':_0x1a91df(0x141),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x1a91df(0x144),'retrying':_0x1a91df(0x13f),'unknown':_0x1a91df(0x147),'missingApiKey':_0x1a91df(0x165),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x1a91df(0x162),'networkError':_0x1a91df(0x15a),'maxRetriesExceeded':_0x1a91df(0x149),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x1a91df(0x156)},'mcpConfig':{'title':_0x1a91df(0x163),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1a91df(0x15b),'apiKeyPlaceholder':_0x1a91df(0x15d),'apiKeyHint':_0x1a91df(0x140),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x1a91df(0x146),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x1a91df(0x16a),'sessionId':'Session\x20ID','maxRetries':_0x1a91df(0x145),'save':_0x1a91df(0x148),'saving':_0x1a91df(0x15c),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x1a91df(0x158),'configSaved':_0x1a91df(0x14a),'configError':_0x1a91df(0x14d),'apiApplyInfo':{'title':_0x1a91df(0x14b),'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':_0x1a91df(0x143),'getStarted':_0x1a91df(0x153)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x1a91df(0x13e),'invalidConfig':_0x1a91df(0x16b),'invalidApiKey':_0x1a91df(0x14e)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x1a91df(0x169),'connected':_0x1a91df(0x150),'failed':_0x1a91df(0x151),'retrying':_0x1a91df(0x142)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x1a91df(0x167),'sessionOccupied':_0x1a91df(0x168),'networkError':_0x1a91df(0x160),'maxRetriesExceeded':_0x1a91df(0x154)}}},n=e;module[_0x1a91df(0x166)]=n;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x302382=_0x56e6;(function(_0x2918ad,_0x188df0){const _0x1d016c=_0x56e6,_0x1b252c=_0x2918ad();while(!![]){try{const _0x314b2b=parseInt(_0x1d016c(0xdb))/0x1*(parseInt(_0x1d016c(0xcd))/0x2)+-parseInt(_0x1d016c(0xd1))/0x3*(-parseInt(_0x1d016c(0xde))/0x4)+parseInt(_0x1d016c(0xc2))/0x5*(parseInt(_0x1d016c(0xc9))/0x6)+-parseInt(_0x1d016c(0xe2))/0x7*(-parseInt(_0x1d016c(0xe9))/0x8)+-parseInt(_0x1d016c(0xd0))/0x9+parseInt(_0x1d016c(0xd8))/0xa+-parseInt(_0x1d016c(0xe5))/0xb;if(_0x314b2b===_0x188df0)break;else _0x1b252c['push'](_0x1b252c['shift']());}catch(_0x1012cd){_0x1b252c['push'](_0x1b252c['shift']());}}}(_0x1d91,0x7d0b2));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x302382(0xd7),'connected':_0x302382(0xe3),'failed':_0x302382(0xd3),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x302382(0xc8),'networkError':_0x302382(0xdf),'maxRetriesExceeded':_0x302382(0xcf),'clickToConnect':_0x302382(0xdc),'clickToConfigure':_0x302382(0xe4)},'mcpConfig':{'title':_0x302382(0xdd),'description':_0x302382(0xe0),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x302382(0xc3),'apiKeyHint':_0x302382(0xe6),'enableAuth':_0x302382(0xc1),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'Connection\x20Information','serverEndpoint':_0x302382(0xc7),'sessionId':_0x302382(0xc5),'maxRetries':_0x302382(0xda),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x302382(0xce),'note2':_0x302382(0xe7),'configSaved':_0x302382(0xbf),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x302382(0xbe),'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':_0x302382(0xcb),'getStarted':_0x302382(0xc0)},'validation':{'apiKeyRequired':_0x302382(0xca),'apiKeyTooShort':_0x302382(0xcc),'invalidConfig':_0x302382(0xd5),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x302382(0xd9),'connecting':_0x302382(0xd4),'connected':'Connected','failed':_0x302382(0xd2),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x302382(0xc4),'invalidApiKey':_0x302382(0xd6),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x302382(0xe1),'maxRetriesExceeded':_0x302382(0xc6)}}},n=e;module[_0x302382(0xe8)]=n;function _0x56e6(_0x3f8107,_0x17c9f0){const _0x1d91e9=_0x1d91();return _0x56e6=function(_0x56e62c,_0x57aab3){_0x56e62c=_0x56e62c-0xbe;let _0x47355e=_0x1d91e9[_0x56e62c];return _0x47355e;},_0x56e6(_0x3f8107,_0x17c9f0);}function _0x1d91(){const _0x2877b7=['Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','exports','3855504hKqOZd','What\x20is\x20API\x20Key?','Configuration\x20saved\x20successfully','Get\x20your\x20API\x20key\x20in\x20seconds','Enable\x20Authentication','4763630sbAMRL','Enter\x20your\x20API\x20key','API\x20key\x20is\x20required\x20to\x20connect','Session\x20ID','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Server\x20Endpoint','MCP:\x20Session\x20Occupied','6PCMCgE','API\x20key\x20is\x20required','Univer\x20AI\x20Console','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','8WGrdDC','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Max\x20Retries\x20Exceeded','2457666qFSYGE','3CHWgMq','Connection\x20Failed','MCP\x20Connection\x20Failed','Connecting...','Invalid\x20configuration','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Connecting...','2596640KxlmXo','Disconnected','Max\x20Retries','222524wSWgZm','Click\x20to\x20connect\x20MCP','MCP\x20Configuration','380152rkfMuj','MCP:\x20Network\x20Error','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','14JpadXW','MCP\x20Connected','Click\x20to\x20configure\x20MCP','26137628ZAICGg'];_0x1d91=function(){return _0x2877b7;};return _0x1d91();}
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x110f(){const _0x2461b4=['MCP\x20Connecting...','MCP\x20Connected','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','1208556AwPvtX','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Server\x20Endpoint','Get\x20your\x20API\x20key\x20in\x20seconds','5293220NdOMZb','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','Click\x20to\x20configure\x20MCP','MCP:\x20API\x20Key\x20Missing','339178Iuuhgg','Connection\x20Information','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','Click\x20to\x20connect\x20MCP','MCP\x20Unknown\x20Status','Enable\x20Authentication','2953146oMgUTL','Save\x20Configuration','12dqNObw','3331040EzILKF','Retrying...','48xSMGnz','11728iuLIyG','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Configuration','MCP:\x20Invalid\x20API\x20Key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','exports','Connected','Failed\x20to\x20save\x20configuration','Connecting...','API\x20key\x20is\x20required\x20to\x20connect','11yQvvkm','1CBkiEt','Session\x20ID','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','1378520pXNfvB','Connection\x20Failed'];_0x110f=function(){return _0x2461b4;};return _0x110f();}const _0x16ec1b=_0x24b3;(function(_0xb2f28a,_0x1e499b){const _0x23935a=_0x24b3,_0xa860d7=_0xb2f28a();while(!![]){try{const _0x3ee987=-parseInt(_0x23935a(0x210))/0x1*(-parseInt(_0x23935a(0x1f7))/0x2)+-parseInt(_0x23935a(0x203))/0x3*(parseInt(_0x23935a(0x204))/0x4)+parseInt(_0x23935a(0x1e8))/0x5*(parseInt(_0x23935a(0x200))/0x6)+parseInt(_0x23935a(0x1fe))/0x7+-parseInt(_0x23935a(0x201))/0x8+parseInt(_0x23935a(0x1ee))/0x9+parseInt(_0x23935a(0x1f2))/0xa*(-parseInt(_0x23935a(0x20f))/0xb);if(_0x3ee987===_0x1e499b)break;else _0xa860d7['push'](_0xa860d7['shift']());}catch(_0x3ab800){_0xa860d7['push'](_0xa860d7['shift']());}}}(_0x110f,0x45781));function _0x24b3(_0x1bbab9,_0x3673fb){const _0x110f01=_0x110f();return _0x24b3=function(_0x24b33e,_0x3f30ae){_0x24b33e=_0x24b33e-0x1e8;let _0x26de32=_0x110f01[_0x24b33e];return _0x26de32;},_0x24b3(_0x1bbab9,_0x3673fb);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x16ec1b(0x1ea),'connected':_0x16ec1b(0x1eb),'failed':'MCP\x20Connection\x20Failed','retrying':_0x16ec1b(0x1f4),'unknown':_0x16ec1b(0x1fc),'missingApiKey':_0x16ec1b(0x1f6),'invalidApiKey':_0x16ec1b(0x208),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x16ec1b(0x1fb),'clickToConfigure':_0x16ec1b(0x1f5)},'mcpConfig':{'title':_0x16ec1b(0x207),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x16ec1b(0x1fd),'enableAuthHint':_0x16ec1b(0x1ec),'connectionInfo':_0x16ec1b(0x1f8),'serverEndpoint':_0x16ec1b(0x1f0),'sessionId':_0x16ec1b(0x211),'maxRetries':'Max\x20Retries','save':_0x16ec1b(0x1ff),'saving':'Saving...','note1':_0x16ec1b(0x1f9),'note2':_0x16ec1b(0x209),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x16ec1b(0x20c),'apiApplyInfo':{'title':_0x16ec1b(0x1fa),'description':_0x16ec1b(0x205),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x16ec1b(0x1f1)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x16ec1b(0x206),'invalidConfig':_0x16ec1b(0x1ed),'invalidApiKey':_0x16ec1b(0x1f3)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x16ec1b(0x20d),'connected':_0x16ec1b(0x20b),'failed':_0x16ec1b(0x1e9),'retrying':_0x16ec1b(0x202)},'connectionError':{'missingApiKey':_0x16ec1b(0x20e),'invalidApiKey':_0x16ec1b(0x212),'sessionOccupied':_0x16ec1b(0x1ef),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x16ec1b(0x20a)]=n;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x1649(_0x2b26ff,_0xd5d961){const _0x1c1630=_0x1c16();return _0x1649=function(_0x164904,_0x396427){_0x164904=_0x164904-0x1db;let _0x580f29=_0x1c1630[_0x164904];return _0x580f29;},_0x1649(_0x2b26ff,_0xd5d961);}function _0x1c16(){const _0x1723ce=['Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','743544gMWHpX','API\x20key\x20is\x20required\x20to\x20connect','Univer\x20AI\x20Console','Get\x20your\x20API\x20key\x20in\x20seconds','Save\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','5igeVHL','Invalid\x20configuration','1091769YFiGgl','277686ZOseQd','MCP\x20Connected','MCP:\x20API\x20Key\x20Missing','33627bLrNdw','MCP:\x20Session\x20Occupied','Enable\x20Authentication','Configuration\x20saved\x20successfully','1nzEfmv','Connected','Retrying...','8IQhUoU','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1980sNgFZN','MCP\x20Connecting...','Session\x20ID','What\x20is\x20API\x20Key?','MCP\x20Connection\x20Failed','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','417328ANckGi','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Max\x20Retries\x20Exceeded','Connecting...','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Network\x20Error','MCP\x20Disconnected','524094xZMUWw','Connection\x20Failed','MCP\x20Unknown\x20Status','8260WPZecK'];_0x1c16=function(){return _0x1723ce;};return _0x1c16();}const _0xfcb78d=_0x1649;(function(_0x9bce3c,_0x4ab6ca){const _0x387b67=_0x1649,_0x33489d=_0x9bce3c();while(!![]){try{const _0x487419=parseInt(_0x387b67(0x202))/0x1*(-parseInt(_0x387b67(0x1fb))/0x2)+-parseInt(_0x387b67(0x1fe))/0x3+parseInt(_0x387b67(0x1e3))/0x4+-parseInt(_0x387b67(0x1f8))/0x5*(-parseInt(_0x387b67(0x1ec))/0x6)+-parseInt(_0x387b67(0x1fa))/0x7*(-parseInt(_0x387b67(0x205))/0x8)+parseInt(_0x387b67(0x1f2))/0x9+parseInt(_0x387b67(0x1ef))/0xa*(-parseInt(_0x387b67(0x1dc))/0xb);if(_0x487419===_0x4ab6ca)break;else _0x33489d['push'](_0x33489d['shift']());}catch(_0x233222){_0x33489d['push'](_0x33489d['shift']());}}}(_0x1c16,0x201cc));const e={'mcpStatus':{'disconnected':_0xfcb78d(0x1eb),'connecting':_0xfcb78d(0x1dd),'connected':_0xfcb78d(0x1fc),'failed':_0xfcb78d(0x1e0),'retrying':'MCP\x20Retrying...','unknown':_0xfcb78d(0x1ee),'missingApiKey':_0xfcb78d(0x1fd),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0xfcb78d(0x1ff),'networkError':_0xfcb78d(0x1ea),'maxRetriesExceeded':_0xfcb78d(0x1e6),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xfcb78d(0x1e2),'apiKey':'API\x20Key','apiKeyPlaceholder':_0xfcb78d(0x1e8),'apiKeyHint':_0xfcb78d(0x1e5),'enableAuth':_0xfcb78d(0x200),'enableAuthHint':_0xfcb78d(0x206),'connectionInfo':'Connection\x20Information','serverEndpoint':'Server\x20Endpoint','sessionId':_0xfcb78d(0x1de),'maxRetries':'Max\x20Retries','save':_0xfcb78d(0x1f6),'saving':'Saving...','note1':_0xfcb78d(0x1db),'note2':_0xfcb78d(0x1e9),'configSaved':_0xfcb78d(0x201),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xfcb78d(0x1df),'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':_0xfcb78d(0x1f4),'getStarted':_0xfcb78d(0x1f5)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xfcb78d(0x1f7),'invalidConfig':_0xfcb78d(0x1f9),'invalidApiKey':_0xfcb78d(0x1f0)},'connectionStatus':{'disconnected':_0xfcb78d(0x1f1),'connecting':_0xfcb78d(0x1e7),'connected':_0xfcb78d(0x203),'failed':_0xfcb78d(0x1ed),'retrying':_0xfcb78d(0x204)},'connectionError':{'missingApiKey':_0xfcb78d(0x1f3),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0xfcb78d(0x1e1),'networkError':_0xfcb78d(0x1e4),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0xedf8(){const _0x4b829b=['MCP:\x20Session\x20Occupied','Connecting...','417776RuGbbe','137490mVFVtf','MCP\x20Configuration','Enter\x20your\x20API\x20key','Connection\x20Information','10gMZEde','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','30vsxxzF','Click\x20to\x20configure\x20MCP','722270npLoFB','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Save\x20Configuration','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','exports','API\x20key\x20is\x20required\x20to\x20connect','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20connect\x20MCP','Disconnected','801171SkzcPP','MCP:\x20Max\x20Retries\x20Exceeded','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Invalid\x20configuration','MCP\x20Connection\x20Failed','Session\x20ID','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Invalid\x20API\x20Key','149214FpVgdU','Configuration\x20saved\x20successfully','Univer\x20AI\x20Console','API\x20Key','MCP\x20Disconnected','Failed\x20to\x20save\x20configuration','Connection\x20Failed','Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','6474384ZNDCHD','Connected','MCP\x20Retrying...','3160760fBKSHH','20aJoviU','MCP\x20Connected','Server\x20Endpoint','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20is\x20required','MCP:\x20Network\x20Error','Max\x20Retries'];_0xedf8=function(){return _0x4b829b;};return _0xedf8();}const _0x4b69e9=_0x317e;(function(_0x40dbbb,_0x4d3481){const _0x5ad235=_0x317e,_0x4c2d6d=_0x40dbbb();while(!![]){try{const _0x2b4616=parseInt(_0x5ad235(0x1ac))/0x1+parseInt(_0x5ad235(0x1a3))/0x2*(parseInt(_0x5ad235(0x1aa))/0x3)+parseInt(_0x5ad235(0x1a2))/0x4+parseInt(_0x5ad235(0x199))/0x5*(parseInt(_0x5ad235(0x1bd))/0x6)+-parseInt(_0x5ad235(0x1b5))/0x7+-parseInt(_0x5ad235(0x198))/0x8+-parseInt(_0x5ad235(0x195))/0x9*(parseInt(_0x5ad235(0x1a7))/0xa);if(_0x2b4616===_0x4d3481)break;else _0x4c2d6d['push'](_0x4c2d6d['shift']());}catch(_0x396d3b){_0x4c2d6d['push'](_0x4c2d6d['shift']());}}}(_0xedf8,0x5decc));const e={'mcpStatus':{'disconnected':_0x4b69e9(0x1c1),'connecting':'MCP\x20Connecting...','connected':_0x4b69e9(0x19a),'failed':_0x4b69e9(0x1b9),'retrying':_0x4b69e9(0x197),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x4b69e9(0x1bc),'sessionOccupied':_0x4b69e9(0x1a0),'networkError':_0x4b69e9(0x19e),'maxRetriesExceeded':_0x4b69e9(0x1b6),'clickToConnect':_0x4b69e9(0x1b3),'clickToConfigure':_0x4b69e9(0x1ab)},'mcpConfig':{'title':_0x4b69e9(0x1a4),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x4b69e9(0x1c0),'apiKeyPlaceholder':_0x4b69e9(0x1a5),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x4b69e9(0x1a6),'serverEndpoint':_0x4b69e9(0x19b),'sessionId':_0x4b69e9(0x1ba),'maxRetries':_0x4b69e9(0x19f),'save':_0x4b69e9(0x1ae),'saving':'Saving...','note1':_0x4b69e9(0x1a8),'note2':_0x4b69e9(0x1a9),'configSaved':_0x4b69e9(0x1be),'configError':_0x4b69e9(0x1c2),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4b69e9(0x1ad),'univerAiLabel':_0x4b69e9(0x1bf),'getStarted':_0x4b69e9(0x1b2)},'validation':{'apiKeyRequired':_0x4b69e9(0x19d),'apiKeyTooShort':_0x4b69e9(0x19c),'invalidConfig':_0x4b69e9(0x1b8),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4b69e9(0x1b4),'connecting':_0x4b69e9(0x1a1),'connected':_0x4b69e9(0x196),'failed':_0x4b69e9(0x1c3),'retrying':_0x4b69e9(0x1c4)},'connectionError':{'missingApiKey':_0x4b69e9(0x1b1),'invalidApiKey':_0x4b69e9(0x1b7),'sessionOccupied':_0x4b69e9(0x1af),'networkError':_0x4b69e9(0x1c5),'maxRetriesExceeded':_0x4b69e9(0x1bb)}}},n=e;function _0x317e(_0x102a00,_0xdc8278){const _0xedf80b=_0xedf8();return _0x317e=function(_0x317e90,_0x1556d7){_0x317e90=_0x317e90-0x195;let _0x10cbd4=_0xedf80b[_0x317e90];return _0x10cbd4;},_0x317e(_0x102a00,_0xdc8278);}module[_0x4b69e9(0x1b0)]=n;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3565f0=_0x3a19;(function(_0x5ab3e1,_0x13a7a9){const _0x31446e=_0x3a19,_0x584cb0=_0x5ab3e1();while(!![]){try{const _0x415a66=-parseInt(_0x31446e(0x1b3))/0x1+parseInt(_0x31446e(0x1cc))/0x2*(parseInt(_0x31446e(0x1ca))/0x3)+-parseInt(_0x31446e(0x1b9))/0x4+parseInt(_0x31446e(0x1ba))/0x5*(parseInt(_0x31446e(0x1b5))/0x6)+parseInt(_0x31446e(0x1bd))/0x7+parseInt(_0x31446e(0x1b8))/0x8+-parseInt(_0x31446e(0x1cd))/0x9;if(_0x415a66===_0x13a7a9)break;else _0x584cb0['push'](_0x584cb0['shift']());}catch(_0x1b13cb){_0x584cb0['push'](_0x584cb0['shift']());}}}(_0x27c8,0x18aa9));function _0x3a19(_0x1b3760,_0x3145ca){const _0x27c827=_0x27c8();return _0x3a19=function(_0x3a1933,_0x5a160f){_0x3a1933=_0x3a1933-0x1b1;let _0x52f771=_0x27c827[_0x3a1933];return _0x52f771;},_0x3a19(_0x1b3760,_0x3145ca);}const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x3565f0(0x1b1),'connected':_0x3565f0(0x1c0),'failed':_0x3565f0(0x1be),'retrying':_0x3565f0(0x1cf),'unknown':_0x3565f0(0x1b2),'missingApiKey':_0x3565f0(0x1b6),'invalidApiKey':_0x3565f0(0x1d8),'sessionOccupied':_0x3565f0(0x1de),'networkError':_0x3565f0(0x1c5),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x3565f0(0x1c6),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x3565f0(0x1d2),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x3565f0(0x1c2),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x3565f0(0x1d9),'enableAuth':_0x3565f0(0x1c1),'enableAuthHint':_0x3565f0(0x1cb),'connectionInfo':_0x3565f0(0x1ce),'serverEndpoint':_0x3565f0(0x1dc),'sessionId':_0x3565f0(0x1d0),'maxRetries':'最大重试次数','save':_0x3565f0(0x1d7),'saving':_0x3565f0(0x1df),'note1':_0x3565f0(0x1c9),'note2':_0x3565f0(0x1bf),'configSaved':_0x3565f0(0x1dd),'configError':_0x3565f0(0x1db),'apiApplyInfo':{'title':_0x3565f0(0x1b7),'description':_0x3565f0(0x1bb),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x3565f0(0x1c4)},'validation':{'apiKeyRequired':_0x3565f0(0x1bc),'apiKeyTooShort':_0x3565f0(0x1c8),'invalidConfig':_0x3565f0(0x1c7),'invalidApiKey':_0x3565f0(0x1d6)},'connectionStatus':{'disconnected':_0x3565f0(0x1d3),'connecting':'连接中...','connected':_0x3565f0(0x1c3),'failed':_0x3565f0(0x1d4),'retrying':_0x3565f0(0x1da)},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':_0x3565f0(0x1d1),'sessionOccupied':_0x3565f0(0x1b4),'networkError':_0x3565f0(0x1d5),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};module['exports']=e;function _0x27c8(){const _0x248d88=['API\x20密钥','已连接','几秒钟内获取您的\x20API\x20密钥','MCP:\x20网络错误','点击连接\x20MCP','配置无效','API\x20密钥长度至少需要\x2010\x20位','配置更改将立即生效','27XWJruG','启用身份验证以获得安全连接','20326UkzPcs','1082628csnBjL','连接信息','MCP\x20重连中...','会话ID','API\x20密钥无效,请检查您的密钥后重试','MCP\x20配置','未连接','连接失败','网络连接错误,请检查您的网络连接','API\x20密钥无效,请检查密钥是否正确','保存配置','MCP:\x20无效的\x20API\x20密钥','您的\x20API\x20密钥将在此浏览器中本地存储','重连中...','配置保存失败','服务器端点','配置保存成功','MCP:\x20会话被占用','保存中...','MCP\x20连接中...','MCP\x20状态未知','177147FdBihd','会话当前被占用,请稍后再试','252lXnpSz','MCP:\x20缺少\x20API\x20密钥','什么是\x20API\x20密钥?','1273008iNZqNt','45820PsDkCl','16610ydjnyQ','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','API\x20密钥不能为空','138670eRZsyG','MCP\x20连接失败','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20已连接','启用身份验证'];_0x27c8=function(){return _0x248d88;};return _0x27c8();}
|