@univerjs-pro/mcp-ui 1.0.0-alpha.0 → 1.0.0-alpha.2
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/ja-JP.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/sk-SK.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/ja-JP.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/sk-SK.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/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.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/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/ja-JP.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/sk-SK.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 +7 -7
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x6b15(){const _0x2f78a3=['@univerjs-pro/mcp-ui','网络连接错误,请检查您的网络连接','mcpConfig.connectionInfo','off','API\x20密钥不能为空','MCPConnectionController','mcpStatus.failed','value','Success','stroke','MAX_RETRIES_EXCEEDED','Enable\x20Authentication','MenuItemType','mcpConfig.apiKeyPlaceholder','OTHERS','useCallback','univer-text-xs\x20univer-text-gray-500','trim','重启您的\x20MCP\x20客户端以使配置生效','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','svg','mcpConfig.connectionStatus.connecting','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','配置保存成功','MCP\x20Connected','currentColor','mcp-config-dialog','什么是\x20API\x20密钥?','univer-font-medium','MCP_UI_PLUGIN','Configuration\x20Parameters:','mergeMenu','round','registerCommand','_handleConfigSave','toPrimitive','MCP\x20Configuration','univer-text-sm\x20univer-font-medium','univer-flex\x20univer-items-center\x20univer-gap-3','配置无效','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','univer.plus','mcpConfig.apiApplyInfo.getStarted','xlink:href','RETRYING','NETWORK_ERROR','NONE','_registerComponent','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','toString','_initAutoConnect','_dialogService','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_loadStoredApiKey','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','connectInjector','_config$','1em','Error','连接失败','mcpStatus.clickToConnect','string','Disconnected','Disposable','connectionError$','clipPath','LocaleService','_localeService','WebSocketService','Configuration\x20Notes:','replace','What\x20is\x20API\x20Key?','disposeWithMe','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','点击配置\x20MCP','_mcpCoreConfig$','保存中...','保存配置','univer-space-y-2','clsx','Configuration\x20saved\x20successfully','Bearer\x20','Connected','ISocketService','use','会话ID','您的\x20API\x20密钥将在此浏览器中本地存储','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','连接中...','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','Failed\x20to\x20save\x20configuration','__setCustomHeaders','MCP:\x20Session\x20ID\x20Occupied','onStarting','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','_apiKey$','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','_validateConfig','add','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20状态未知','univer-space-y-5','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','white','启用身份验证','Module','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','几秒钟内获取您的\x20API\x20密钥','react/jsx-runtime','IConfigService','object','univer-text-yellow-500','createElement','UniverCore','span','fill','idSuffix','Inject','evenodd','_config','button','zhCN','Saving...','BuiltInUIPart','_injector','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','API\x20密钥长度至少需要\x2010\x20位','MCP\x20Unknown\x20Status','Injector','mcp.apiKey','mcpConfig.apiApplyInfo.title','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','check-mark-icon','mcpConfig.save','MCPUIMenuController','amd','BUTTON','Save\x20Configuration','errorMessage','subscribe','DependentOn','show','decorate','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univer.ai','error','path','Enter\x20your\x20API\x20key','univer-text-green-500','未连接','M0\x200H16V16H0z','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','mcpConfig.configInstructions','将配置添加到您的\x20MCP\x20客户端设置文件中','Input','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','univer-flex\x20univer-items-start\x20univer-gap-2','MCP\x20已断开','packageName','get','UniverNetwork','_uiPartsService','API\x20key\x20is\x20required','registerComponent','none','mcpConfig.apiApplyInfo.univerAiLabel','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','7709597KdJmiM','IMenuManagerService','IDialogService','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MenuIcon','univer-bg-red-500','React','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpConfig.connectionStatus.failed','_connectionController','MCP:\x20超出最大重试次数','@univerjs-pro/mcp','MCP:\x20Max\x20Retries\x20Exceeded','18090SZHBSO','univer-bg-gray-500','Invalid\x20configuration','push','div','MCPStatusDisplay','SESSION_ID_OCCUPIED','8659664UscwTE','Max\x20Retries','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','_commandService','mcpStatus.retrying','HelpIcon','_localStorageService','BehaviorSubject','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-flex\x20univer-items-center','assign','pluginName','API\x20key\x20with\x20Bearer\x20prefix.','mcpConfig.configStepTitle','0\x200\x2016\x2016','warn','MCP:\x20会话\x20ID\x20已被占用','IUIPartsService','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-space-y-4','配置更改将立即生效','MCPConfigUIController','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','UniverMCPPlugin','defineProperty','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','RibbonStartGroup','MCPConnectionError','mcpConfig.saving','forEach','MCPConnectionStatus','mcpConfig.configStep3','rxjs','MCPConfigPanel','entries','1494759hsLXEI','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.connectionError.unauthorized','mcpConfig.authorizationDescription','MCP\x20已连接','mcpConfig.apiApplyInfo.description','merge','MCP:\x20Unauthorized','MCP\x20Connection\x20Failed','24255855qnGrHC','off-line-icon_clip0_910_343','mcpStatus.clickToConfigure','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','children','univer_session_id:','已连接','UniverIcon','function','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','ILocalStorageService','MCP\x20Client\x20Configuration','useDependency','getItem','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','UniverProMcpUi','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','substring','mcpConfig.connectionError.sessionOccupied','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','close-icon','_componentManager','_initializeCommands','mcpStatus.maxRetriesExceeded','208074YKRyMY','http://www.w3.org/2000/svg','defs','HEADER_MENU','mcpConfig.note1','105dIEVOz','MCP\x20连接中...','useState','http','MessageType','_logService','noopener\x20noreferrer','help-icon','MCP\x20Retrying...','UNAUTHORIZED','IMessageService','DISCONNECTED','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','showDeveloperTools','useRef','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','enUS','random','close','isValid','setItem','has','on-line-icon','复制以下\x20JSON\x20配置','univer-min-w-0\x20univer-flex-1','call','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','Click\x20to\x20configure\x20MCP','text','bottom','143Wvshmv','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','tag','Get\x20your\x20API\x20key\x20in\x20seconds','请输入您的\x20API\x20密钥','showConfigPanel','mcpConfig.validation.invalidApiKey','label','symbol','useObservable','Button','UniverProMcp','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','mcpStatus.connected','_menuManagerService','Session\x20ID','FAILED','setConfig','_mcpConnectionController','mcpConfig.connectionStatus.disconnected','mcpConfig.configStep2','3632012XLiKYG','length','attrs','univer-size-4','Enable\x20authentication\x20for\x20secure\x20connections','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-shrink-0\x20univer-text-blue-500','\x20-\x20','version','CONNECTING','mask','MCP\x20重连中...','ICommandService','mcpConfig.validation.apiKeyRequired','univer-text-red-500','MCP\x20客户端配置','jsxs','on-line-icon_clip0_910_349','https://console.univer.ai','CloseIcon','next','_blank','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','OnLineIcon','点击连接\x20MCP','_configService','univer-text-blue-600','react','prototype','您的\x20API\x20密钥安全存储在本地存储中','mcpStatus.unauthorized','mcpStatus.sessionOccupied','sessionId$','univer-text-gray-400','open','url(#$1','MCP_PLUGIN_CONFIG_KEY','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','@univerjs/core','CONNECTED','@univerjs/design','connectionStatus$','MCP\x20Disconnected','_loading$','colorChannel1','univer-flex\x20univer-items-center\x20univer-gap-2','off-line-icon','mcpConfig.validation.invalidConfig','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-space-y-3','includes','register','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpStatus.networkError','url(#off-line-icon_clip0_910_343)','displayName','MCP\x20配置','univer-bg-green-500','Copy\x20the\x20JSON\x20configuration\x20below','@univerjs/ui','forwardRef','_initConfigSync','https://mcp.univer.ai/mcp/?univer_session_id=','启用身份验证以获得安全连接','apiKey','default','权限验证失败,请检查您的\x20API\x20密钥','jsx','subscribeConfigValue$','mcpServerUrl','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','_messageService','map','univer-flex\x20univer-items-start\x20univer-gap-3','_handleConfigure','validateApiKey','mcpConfig.sessionIdDescription','API\x20密钥','_initStatusComponent','defIds','<SESSION_ID>','getConfig','_initializeMenus','mcpConfig.connectionStatus.connected','MCP:\x20未授权','constructor','0\x200\x2017\x2016','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','UniverUi','带有\x20Bearer\x20前缀的\x20API\x20密钥。'];_0x6b15=function(){return _0x2f78a3;};return _0x6b15();}function _0x2d45(_0x258047,_0x1081e9){_0x258047=_0x258047-0x1c5;const _0x6b15a2=_0x6b15();let _0x2d458b=_0x6b15a2[_0x258047];return _0x2d458b;}(function(_0x29b2dd,_0x18ee81){const _0x540a6e=_0x2d45,_0xaaad44=_0x29b2dd();while(!![]){try{const _0x246e9e=-parseInt(_0x540a6e(0x208))/0x1*(parseInt(_0x540a6e(0x331))/0x2)+-parseInt(_0x540a6e(0x35b))/0x3+-parseInt(_0x540a6e(0x21d))/0x4+parseInt(_0x540a6e(0x1ea))/0x5*(parseInt(_0x540a6e(0x1e5))/0x6)+-parseInt(_0x540a6e(0x324))/0x7+parseInt(_0x540a6e(0x338))/0x8+parseInt(_0x540a6e(0x1cd))/0x9;if(_0x246e9e===_0x18ee81)break;else _0xaaad44['push'](_0xaaad44['shift']());}catch(_0x242bd0){_0xaaad44['push'](_0xaaad44['shift']());}}}(_0x6b15,0xac0ee),function(_0x4a931e,_0x4fbc33){const _0x3baf95=_0x2d45;typeof exports==_0x3baf95(0x2ea)&&typeof module<'u'?_0x4fbc33(exports,require('@univerjs/core'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('react/jsx-runtime'),require('@univerjs/network')):typeof define==_0x3baf95(0x1d5)&&define[_0x3baf95(0x304)]?define(['exports',_0x3baf95(0x243),_0x3baf95(0x32f),_0x3baf95(0x245),_0x3baf95(0x25a),_0x3baf95(0x358),_0x3baf95(0x238),_0x3baf95(0x2e8),'@univerjs/network'],_0x4fbc33):(_0x4a931e=typeof globalThis<'u'?globalThis:_0x4a931e||self,_0x4fbc33(_0x4a931e[_0x3baf95(0x1dc)]={},_0x4a931e[_0x3baf95(0x2ed)],_0x4a931e[_0x3baf95(0x213)],_0x4a931e['UniverDesign'],_0x4a931e[_0x3baf95(0x279)],_0x4a931e[_0x3baf95(0x358)],_0x4a931e[_0x3baf95(0x32a)],_0x4a931e['React'],_0x4a931e[_0x3baf95(0x31d)]));}(this,function(_0x3e51d7,_0x3c8163,_0xeb8032,_0x1c0432,_0x4f23dd,_0x1ff204,_0x11e368,_0x1d1884,_0x100c1c){const _0x5a2666=_0x2d45;Object[_0x5a2666(0x350)](_0x3e51d7,Symbol['toStringTag'],{'value':_0x5a2666(0x2e5)});function _0x5ee321({ref:_0x38bb1e,..._0x3d6c81}){const _0x376bb8=_0x5a2666;let {icon:_0xbcb22d,id:_0x472069,className:_0x50dd56,extend:_0x2ffaf1,..._0x50dd2d}=_0x3d6c81,_0x30e69a=('univerjs-icon\x20univerjs-icon-'+_0x472069+'\x20'+(_0x50dd56||''))['trim'](),_0x4a65bc=(0x0,_0x11e368[_0x376bb8(0x1f8)])('_'+_0x3966ef());return _0x3e8bd1(_0xbcb22d,''+_0x472069,{'defIds':_0xbcb22d[_0x376bb8(0x26f)],'idSuffix':_0x4a65bc['current']},{'ref':_0x38bb1e,'className':_0x30e69a,..._0x50dd2d},_0x2ffaf1);}function _0x3e8bd1(_0x4b4f3e,_0x3895f6,_0x4a6567,_0x326603,_0x2a7956){const _0x1ea0cb=_0x5a2666;return(0x0,_0x11e368[_0x1ea0cb(0x2ec)])(_0x4b4f3e['tag'],{'key':_0x3895f6,..._0x5bb91d(_0x4b4f3e,_0x4a6567,_0x2a7956),..._0x326603},(_0x4d2e40(_0x4b4f3e,_0x4a6567)[_0x1ea0cb(0x1d1)]||[])[_0x1ea0cb(0x268)]((_0x50a54c,_0x5ad3b0)=>_0x3e8bd1(_0x50a54c,_0x3895f6+'-'+_0x4b4f3e['tag']+'-'+_0x5ad3b0,_0x4a6567,void 0x0,_0x2a7956)));}function _0x5bb91d(_0x1bb2d5,_0x1d058c,_0x2ccd7f){const _0x578d2e=_0x5a2666;let _0x1d4fcf={..._0x1bb2d5[_0x578d2e(0x21f)]};_0x2ccd7f!=null&&_0x2ccd7f[_0x578d2e(0x249)]&&_0x1d4fcf['fill']===_0x578d2e(0x249)&&(_0x1d4fcf[_0x578d2e(0x2ef)]=_0x2ccd7f[_0x578d2e(0x249)]),_0x2ccd7f!=null&&_0x2ccd7f['colorChannel1']&&_0x1d4fcf[_0x578d2e(0x284)]==='colorChannel1'&&(_0x1d4fcf[_0x578d2e(0x284)]=_0x2ccd7f[_0x578d2e(0x249)]),_0x1bb2d5[_0x578d2e(0x20a)]===_0x578d2e(0x227)&&_0x1d4fcf['id']&&(_0x1d4fcf['id']+=_0x1d058c[_0x578d2e(0x2f0)]),Object[_0x578d2e(0x35a)](_0x1d4fcf)['forEach'](([_0x1737b5,_0x4e68bf])=>{const _0x5364cc=_0x578d2e;_0x1737b5===_0x5364cc(0x227)&&typeof _0x4e68bf==_0x5364cc(0x2b9)&&(_0x1d4fcf[_0x1737b5]=_0x4e68bf[_0x5364cc(0x2c2)](/url\(#(.*)\)/,_0x5364cc(0x240)+_0x1d058c[_0x5364cc(0x2f0)]+')'));});let {defIds:_0x48576c}=_0x1d058c;return!_0x48576c||_0x48576c[_0x578d2e(0x21e)]===0x0?_0x1d4fcf:(_0x1bb2d5[_0x578d2e(0x20a)]===_0x578d2e(0x2d0)&&_0x1d4fcf[_0x578d2e(0x2a7)]&&(_0x1d4fcf['xlink:href']+=_0x1d058c[_0x578d2e(0x2f0)]),Object[_0x578d2e(0x35a)](_0x1d4fcf)[_0x578d2e(0x355)](([_0x1e7885,_0x1323f4])=>{const _0x5d0ee2=_0x578d2e;typeof _0x1323f4==_0x5d0ee2(0x2b9)&&(_0x1d4fcf[_0x1e7885]=_0x1323f4[_0x5d0ee2(0x2c2)](/url\(#(.*)\)/,'url(#$1'+_0x1d058c[_0x5d0ee2(0x2f0)]+')'));}),_0x1d4fcf);}function _0x4d2e40(_0x1d7911,_0x38e3b0){const _0x2c3e31=_0x5a2666;var _0x21975a;let {defIds:_0x24d965}=_0x38e3b0;return!_0x24d965||_0x24d965[_0x2c3e31(0x21e)]===0x0?_0x1d7911:_0x1d7911['tag']==='defs'&&(_0x21975a=_0x1d7911[_0x2c3e31(0x1d1)])!=null&&_0x21975a[_0x2c3e31(0x21e)]?{..._0x1d7911,'children':_0x1d7911[_0x2c3e31(0x1d1)]['map'](_0x34f1b8=>typeof _0x34f1b8[_0x2c3e31(0x21f)]['id']==_0x2c3e31(0x2b9)&&_0x24d965&&_0x24d965[_0x2c3e31(0x251)](_0x34f1b8[_0x2c3e31(0x21f)]['id'])?{..._0x34f1b8,'attrs':{..._0x34f1b8[_0x2c3e31(0x21f)],'id':_0x34f1b8['attrs']['id']+_0x38e3b0[_0x2c3e31(0x2f0)]}}:_0x34f1b8)}:_0x1d7911;}function _0x3966ef(){const _0x694b0d=_0x5a2666;return Math[_0x694b0d(0x1fb)]()[_0x694b0d(0x2ad)](0x24)[_0x694b0d(0x1de)](0x2,0x8);}_0x5ee321[_0x5a2666(0x256)]=_0x5a2666(0x1d4);let _0x2b24cb={'tag':_0x5a2666(0x28f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5a2666(0x321),'viewBox':_0x5a2666(0x346),'width':_0x5a2666(0x2b5),'height':_0x5a2666(0x2b5)},'children':[{'tag':'path','attrs':{'fill':_0x5a2666(0x294),'d':_0x5a2666(0x1e0),'fillRule':_0x5a2666(0x2f2),'clipRule':_0x5a2666(0x2f2)}}]},_0x379c4e=(0x0,_0x11e368[_0x5a2666(0x25b)])(function(_0x2b094e,_0x1e5608){const _0x1f4cb8=_0x5a2666;return(0x0,_0x11e368[_0x1f4cb8(0x2ec)])(_0x5ee321,Object['assign']({},_0x2b094e,{'id':_0x1f4cb8(0x301),'ref':_0x1e5608,'icon':_0x2b24cb}));});_0x379c4e[_0x5a2666(0x256)]='CheckMarkIcon';let _0x5885fd={'tag':'svg','attrs':{'xmlns':_0x5a2666(0x1e6),'fill':_0x5a2666(0x321),'viewBox':_0x5a2666(0x346),'width':_0x5a2666(0x2b5),'height':_0x5a2666(0x2b5)},'children':[{'tag':_0x5a2666(0x30f),'attrs':{'fill':_0x5a2666(0x294),'d':_0x5a2666(0x209)}}]},_0xf5e9c0=(0x0,_0x11e368['forwardRef'])(function(_0x49b415,_0x454334){const _0x419d55=_0x5a2666;return(0x0,_0x11e368[_0x419d55(0x2ec)])(_0x5ee321,Object[_0x419d55(0x342)]({},_0x49b415,{'id':_0x419d55(0x1e1),'ref':_0x454334,'icon':_0x5885fd}));});_0xf5e9c0[_0x5a2666(0x256)]=_0x5a2666(0x230);let _0x4f6cb7={'tag':_0x5a2666(0x28f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5a2666(0x321),'viewBox':_0x5a2666(0x346),'width':_0x5a2666(0x2b5),'height':_0x5a2666(0x2b5)},'children':[{'tag':_0x5a2666(0x30f),'attrs':{'fill':_0x5a2666(0x294),'d':_0x5a2666(0x1d0)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5a2666(0x33a)}},{'tag':_0x5a2666(0x30f),'attrs':{'fill':'currentColor','d':_0x5a2666(0x318),'fillRule':_0x5a2666(0x2f2),'clipRule':'evenodd'}}]},_0x14fcf9=(0x0,_0x11e368[_0x5a2666(0x25b)])(function(_0x26a9e7,_0x201245){const _0x13be7a=_0x5a2666;return(0x0,_0x11e368[_0x13be7a(0x2ec)])(_0x5ee321,Object[_0x13be7a(0x342)]({},_0x26a9e7,{'id':_0x13be7a(0x1f1),'ref':_0x201245,'icon':_0x4f6cb7}));});_0x14fcf9['displayName']=_0x5a2666(0x33d);let _0x1adc2a={'tag':_0x5a2666(0x28f),'attrs':{'xmlns':_0x5a2666(0x1e6),'fill':'none','viewBox':_0x5a2666(0x346),'width':_0x5a2666(0x2b5),'height':_0x5a2666(0x2b5)},'children':[{'tag':'g','attrs':{'clipPath':_0x5a2666(0x255)},'children':[{'tag':_0x5a2666(0x30f),'attrs':{'stroke':_0x5a2666(0x294),'d':_0x5a2666(0x2d5),'strokeLinecap':_0x5a2666(0x29b),'strokeLinejoin':_0x5a2666(0x29b),'strokeWidth':1.2}}]},{'tag':_0x5a2666(0x1e7),'attrs':{},'children':[{'tag':_0x5a2666(0x2bd),'attrs':{'id':_0x5a2666(0x1ce)},'children':[{'tag':_0x5a2666(0x30f),'attrs':{'fill':'white','d':_0x5a2666(0x313)}}]}]}],'defIds':[_0x5a2666(0x1ce)]},_0x3f512c=(0x0,_0x11e368['forwardRef'])(function(_0xe1b165,_0x4efadb){const _0x4ff183=_0x5a2666;return(0x0,_0x11e368['createElement'])(_0x5ee321,Object['assign']({},_0xe1b165,{'id':_0x4ff183(0x24b),'ref':_0x4efadb,'icon':_0x1adc2a}));});_0x3f512c[_0x5a2666(0x256)]='OffLineIcon';let _0x4f7a15={'tag':'svg','attrs':{'xmlns':_0x5a2666(0x1e6),'fill':_0x5a2666(0x321),'viewBox':_0x5a2666(0x276),'width':_0x5a2666(0x2b5),'height':_0x5a2666(0x2b5)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5a2666(0x30f),'attrs':{'stroke':_0x5a2666(0x294),'d':_0x5a2666(0x2a4),'strokeLinecap':_0x5a2666(0x29b),'strokeLinejoin':_0x5a2666(0x29b),'strokeWidth':1.2}}]},{'tag':_0x5a2666(0x1e7),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5a2666(0x22e)},'children':[{'tag':_0x5a2666(0x30f),'attrs':{'fill':_0x5a2666(0x2e3),'d':_0x5a2666(0x313),'transform':'translate(.97)'}}]}]}],'defIds':[_0x5a2666(0x22e)]},_0x16ea68=(0x0,_0x11e368[_0x5a2666(0x25b)])(function(_0x23dc1c,_0x4785c3){const _0x123049=_0x5a2666;return(0x0,_0x11e368[_0x123049(0x2ec)])(_0x5ee321,Object['assign']({},_0x23dc1c,{'id':_0x123049(0x200),'ref':_0x4785c3,'icon':_0x4f7a15}));});_0x16ea68['displayName']=_0x5a2666(0x234);function _0x35df38(_0x5b2a56){const _0x27db0a=_0x5a2666;var _0x511fac,_0x159d62;let {mcpCoreConfig:_0x3936dc,onSave:_0x3d0895,loading:_0x4b0c24=!0x1,config:_0x193944,connectionStatus$:_0xc2067d,connectionError$:_0x46ccf9,currentApiKey$:_0x58ecb5,currentSessionId$:_0x42af58}=_0x5b2a56,_0x6cabfc=(0x0,_0x4f23dd[_0x27db0a(0x1d9)])(_0x3c8163[_0x27db0a(0x2be)]),_0x1635a6=(0x0,_0x4f23dd[_0x27db0a(0x211)])(_0xc2067d,_0xeb8032[_0x27db0a(0x356)][_0x27db0a(0x1f5)]),_0x1e9aba=(0x0,_0x4f23dd['useObservable'])(_0x46ccf9,_0xeb8032['MCPConnectionError'][_0x27db0a(0x2aa)]),_0x1a3b92=(0x0,_0x4f23dd['useObservable'])(_0x42af58,''),[_0x408b9f,_0x571c17]=(0x0,_0x11e368[_0x27db0a(0x1ec)])((0x0,_0x4f23dd[_0x27db0a(0x211)])(_0x58ecb5,'')||''),_0x4ff016=_0x193944[_0x27db0a(0x1f7)]&&_0x3936dc[_0x27db0a(0x264)]&&(_0x3936dc[_0x27db0a(0x264)][_0x27db0a(0x251)](_0x27db0a(0x2a5))||_0x3936dc[_0x27db0a(0x264)][_0x27db0a(0x251)](_0x27db0a(0x30d))),_0xe53471=(_0x511fac=_0x3936dc[_0x27db0a(0x264)])==null?void 0x0:_0x511fac[_0x27db0a(0x251)](_0x27db0a(0x2a5)),_0x1a32be=(_0x159d62=_0x3936dc['mcpServerUrl'])==null?void 0x0:_0x159d62['includes'](_0x27db0a(0x30d)),_0x40e5ed=_0xe53471?'https://console.univer.plus':_0x27db0a(0x22f),_0x23ef8d=_0x193944['showDeveloperTools']&&(_0xe53471||_0x1a32be),[_0x26ecf3,_0x309074]=(0x0,_0x11e368['useState'])(!_0x408b9f[_0x27db0a(0x28c)]()),_0x31e30d=(_0x4a2cdf,_0x37c9c5)=>{const _0x4cc0c1=_0x27db0a;if(_0x37c9c5===_0xeb8032[_0x4cc0c1(0x353)][_0x4cc0c1(0x1f3)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x4a2cdf){case _0xeb8032[_0x4cc0c1(0x356)][_0x4cc0c1(0x244)]:return _0x4cc0c1(0x2e2);case _0xeb8032[_0x4cc0c1(0x356)]['CONNECTING']:case _0xeb8032[_0x4cc0c1(0x356)][_0x4cc0c1(0x2a8)]:return _0x4cc0c1(0x34e);case _0xeb8032['MCPConnectionStatus'][_0x4cc0c1(0x218)]:return _0x4cc0c1(0x2c5);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x5bb862=(_0x5f5848,_0x149e4a)=>{const _0xcbe616=_0x27db0a;if(_0x149e4a===_0xeb8032['MCPConnectionError'][_0xcbe616(0x1f3)])return _0xcbe616(0x329);switch(_0x5f5848){case _0xeb8032[_0xcbe616(0x356)][_0xcbe616(0x244)]:return _0xcbe616(0x258);case _0xeb8032[_0xcbe616(0x356)]['CONNECTING']:case _0xeb8032[_0xcbe616(0x356)]['RETRYING']:return'univer-bg-blue-500';case _0xeb8032[_0xcbe616(0x356)][_0xcbe616(0x218)]:return _0xcbe616(0x329);default:return _0xcbe616(0x332);}},_0x5541e7=_0x4fb4c1=>{const _0x5b819e=_0x27db0a;switch(_0x4fb4c1){case _0xeb8032[_0x5b819e(0x356)]['CONNECTED']:return _0x6cabfc['t'](_0x5b819e(0x273));case _0xeb8032[_0x5b819e(0x356)][_0x5b819e(0x226)]:return _0x6cabfc['t'](_0x5b819e(0x290));case _0xeb8032['MCPConnectionStatus']['FAILED']:return _0x6cabfc['t'](_0x5b819e(0x32c));case _0xeb8032[_0x5b819e(0x356)][_0x5b819e(0x2a8)]:return _0x6cabfc['t']('mcpConfig.connectionStatus.retrying');default:return _0x6cabfc['t'](_0x5b819e(0x21b));}},_0x4a7713=_0x4f5a64=>{const _0x3c9488=_0x27db0a;switch(_0x4f5a64){case _0xeb8032[_0x3c9488(0x353)]['UNAUTHORIZED']:return _0x6cabfc['t'](_0x3c9488(0x1c6));case _0xeb8032['MCPConnectionError'][_0x3c9488(0x337)]:return _0x6cabfc['t'](_0x3c9488(0x1df));case _0xeb8032[_0x3c9488(0x353)]['NETWORK_ERROR']:return _0x6cabfc['t']('mcpConfig.connectionError.networkError');case _0xeb8032[_0x3c9488(0x353)][_0x3c9488(0x285)]:return _0x6cabfc['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x4806bb=(0x0,_0x11e368[_0x27db0a(0x28a)])(()=>{_0x3d0895({..._0x3936dc,'apiKey':_0x408b9f['trim'](),'enableAuth':!0x0});},[_0x3936dc,_0x408b9f,!0x0,_0x3d0895]),_0x12e08d=_0x408b9f['trim']()[_0x27db0a(0x21e)]>0x0;return(0x0,_0x1d1884['jsxs'])('div',{'className':_0x27db0a(0x2f9),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':_0x27db0a(0x2a1),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x2ee),{'className':'univer-text-white','children':'⚙'})}),(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'children':(0x0,_0x1d1884[_0x27db0a(0x262)])('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x6cabfc['t']('mcpConfig.description')})})]})}),(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':_0x27db0a(0x300),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'className':(0x0,_0x1c0432[_0x27db0a(0x2cb)])('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x31e30d(_0x1635a6,_0x1e9aba)),'children':(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x1d1884['jsx'])('div',{'className':(0x0,_0x1c0432[_0x27db0a(0x2cb)])('univer-size-2\x20univer-rounded-full',_0x5bb862(_0x1635a6,_0x1e9aba))}),(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x2ee),{'className':_0x27db0a(0x2a0),'children':_0x5541e7(_0x1635a6)})]})}),_0x1e9aba!==_0xeb8032['MCPConnectionError'][_0x27db0a(0x2aa)]&&(_0x1635a6===_0xeb8032[_0x27db0a(0x356)]['FAILED']||_0x1e9aba===_0xeb8032[_0x27db0a(0x353)][_0x27db0a(0x1f3)])&&(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'className':_0x27db0a(0x2b2),'children':(0x0,_0x1d1884[_0x27db0a(0x22d)])('div',{'className':_0x27db0a(0x319),'children':[(0x0,_0x1d1884['jsx'])(_0x27db0a(0x2ee),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),(0x0,_0x1d1884[_0x27db0a(0x262)])('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x4a7713(_0x1e9aba)})]})})]}),(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'className':_0x27db0a(0x34a),'children':(0x0,_0x1d1884['jsxs'])(_0x27db0a(0x335),{'className':_0x27db0a(0x2e1),'children':[(0x0,_0x1d1884['jsxs'])('div',{'className':_0x27db0a(0x2ca),'children':[(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x20f),{'className':_0x27db0a(0x351),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])('span',{'children':'🔑'}),'\x20',_0x6cabfc['t']('mcpConfig.apiKey'),(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x2ee),{'className':_0x27db0a(0x22b),'children':'*'}),_0x4ff016&&(0x0,_0x1d1884[_0x27db0a(0x262)])('a',{'className':_0x27db0a(0x233),'title':_0x6cabfc['t'](_0x27db0a(0x2fe)),'role':_0x27db0a(0x2f4),'onClick':()=>_0x309074(!0x0),'children':(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x14fcf9,{})})]}),(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x1c0432[_0x27db0a(0x317)],{'type':_0x27db0a(0x206),'placeholder':_0x6cabfc['t'](_0x27db0a(0x288)),'value':_0x408b9f,'disabled':_0x4b0c24,'autoComplete':_0x27db0a(0x27e),'onChange':_0x571c17}),(0x0,_0x1d1884['jsx'])('p',{'className':_0x27db0a(0x28b),'children':_0x6cabfc['t']('mcpConfig.apiKeyHint')})]}),_0x4ff016&&_0x26ecf3&&(0x0,_0x1d1884[_0x27db0a(0x22d)])('div',{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[(0x0,_0x1d1884[_0x27db0a(0x262)])('a',{'className':_0x27db0a(0x314),'role':_0x27db0a(0x2f4),'onClick':()=>_0x309074(!0x1),'children':(0x0,_0x1d1884[_0x27db0a(0x262)])(_0xf5e9c0,{'className':_0x27db0a(0x220)})}),(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':_0x27db0a(0x2ac),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])('div',{'className':_0x27db0a(0x24e),'children':(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x2ee),{'className':_0x27db0a(0x237),'children':'🚀'})}),(0x0,_0x1d1884[_0x27db0a(0x22d)])('div',{'className':'univer-flex-1','children':[(0x0,_0x1d1884[_0x27db0a(0x262)])('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x6cabfc['t'](_0x27db0a(0x2fe))}),(0x0,_0x1d1884['jsx'])('p',{'className':_0x27db0a(0x28e),'children':_0x6cabfc['t'](_0x27db0a(0x1c9))}),(0x0,_0x1d1884['jsx'])(_0x27db0a(0x335),{'className':_0x27db0a(0x265),'children':_0x23ef8d&&(0x0,_0x1d1884[_0x27db0a(0x22d)])('a',{'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','href':_0x40e5ed,'target':_0x27db0a(0x232),'rel':_0x27db0a(0x1f0),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x2ee),{'children':'🤖'}),_0x6cabfc['t'](_0x27db0a(0x322)),(0x0,_0x1d1884['jsx'])(_0x27db0a(0x2ee),{'className':_0x27db0a(0x23e),'children':'↗'})]})}),(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x6cabfc['t'](_0x27db0a(0x2a6))]})]})]})]}),_0x193944['showDeveloperTools']&&(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':_0x27db0a(0x277),'children':[(0x0,_0x1d1884[_0x27db0a(0x22d)])('h4',{'className':_0x27db0a(0x327),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x2ee),{'children':'🔗'}),'\x20',_0x6cabfc['t'](_0x27db0a(0x27d))]}),(0x0,_0x1d1884['jsxs'])(_0x27db0a(0x335),{'className':_0x27db0a(0x34b),'children':[(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':_0x27db0a(0x250),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x6cabfc['t'](_0x27db0a(0x315))}),(0x0,_0x1d1884[_0x27db0a(0x22d)])('div',{'className':_0x27db0a(0x2ca),'children':[(0x0,_0x1d1884['jsx'])(_0x27db0a(0x335),{'className':_0x27db0a(0x253),'children':_0x6cabfc['t'](_0x27db0a(0x345))}),(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':_0x27db0a(0x278),'children':[(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x2ee),{'className':_0x27db0a(0x340),'children':'1'}),_0x6cabfc['t']('mcpConfig.configStep1')]}),(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x2ee),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x6cabfc['t'](_0x27db0a(0x21c))]}),(0x0,_0x1d1884['jsxs'])(_0x27db0a(0x335),{'className':_0x27db0a(0x24a),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x2ee),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x6cabfc['t'](_0x27db0a(0x357))]})]})]})]}),(0x0,_0x1d1884['jsxs'])(_0x27db0a(0x335),{'className':_0x27db0a(0x2ca),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'className':_0x27db0a(0x253),'children':_0x27db0a(0x29f)}),(0x0,_0x1d1884['jsx'])('div',{'className':_0x27db0a(0x266),'children':(0x0,_0x1d1884[_0x27db0a(0x262)])('pre',{'className':_0x27db0a(0x24f),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x27db0a(0x25d)+(_0x1a3b92||_0x27db0a(0x270)),'type':_0x27db0a(0x1ed),'headers':{'Authorization':_0x27db0a(0x2cd)+(_0x408b9f||'<API_KEY>')}}}},null,0x2)})})]}),(0x0,_0x1d1884['jsxs'])(_0x27db0a(0x335),{'className':'univer-space-y-3','children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'className':_0x27db0a(0x253),'children':_0x6cabfc['t']('mcpConfig.configParameters')}),(0x0,_0x1d1884['jsxs'])(_0x27db0a(0x335),{'className':'univer-space-y-2','children':[(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':_0x27db0a(0x269),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'className':_0x27db0a(0x222)}),(0x0,_0x1d1884['jsxs'])(_0x27db0a(0x335),{'className':_0x27db0a(0x202),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])('div',{'className':_0x27db0a(0x323),'children':_0x27db0a(0x1d2)}),(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'className':_0x27db0a(0x28b),'children':_0x6cabfc['t'](_0x27db0a(0x26c))})]})]}),(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[(0x0,_0x1d1884['jsx'])('div',{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':_0x27db0a(0x202),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'Authorization:'}),(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'className':_0x27db0a(0x28b),'children':_0x6cabfc['t'](_0x27db0a(0x1c7))})]})]})]})]})]})]}),(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x1c0432[_0x27db0a(0x212)],{'onClick':_0x4806bb,'disabled':!_0x12e08d||_0x4b0c24,'className':_0x27db0a(0x214),'children':_0x4b0c24?(0x0,_0x1d1884[_0x27db0a(0x22d)])('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x1d1884['jsx'])(_0x27db0a(0x2ee),{'children':'⟲'}),_0x6cabfc['t'](_0x27db0a(0x354))]}):(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x2ee),{'className':_0x27db0a(0x24a),'children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x379c4e,{}),_0x6cabfc['t'](_0x27db0a(0x302))]})}),(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x335),{'className':_0x27db0a(0x2a3),'children':(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':'univer-flex\x20univer-gap-3','children':[(0x0,_0x1d1884[_0x27db0a(0x262)])(_0x27db0a(0x2ee),{'className':_0x27db0a(0x223),'children':'💡'}),(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'className':_0x27db0a(0x204),'children':[(0x0,_0x1d1884['jsx'])(_0x27db0a(0x335),{'className':_0x27db0a(0x297),'children':_0x27db0a(0x2c1)}),(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'children':['•',_0x6cabfc['t'](_0x27db0a(0x1e9))]}),(0x0,_0x1d1884[_0x27db0a(0x22d)])(_0x27db0a(0x335),{'children':['•',_0x6cabfc['t']('mcpConfig.note2')]})]})]})})]})})]});}let _0x3a4418='mcp-ui.config',_0x1569d0={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0x547ddd(_0xb5d54b){'@babel/helpers - typeof';return _0x547ddd=typeof Symbol=='function'&&typeof Symbol['iterator']=='symbol'?function(_0x539640){return typeof _0x539640;}:function(_0x575764){const _0x2596f2=_0x2d45;return _0x575764&&typeof Symbol==_0x2596f2(0x1d5)&&_0x575764[_0x2596f2(0x275)]===Symbol&&_0x575764!==Symbol[_0x2596f2(0x239)]?_0x2596f2(0x210):typeof _0x575764;},_0x547ddd(_0xb5d54b);}function _0xe4914b(_0xe15ff3,_0x4da4e3){const _0xf4f696=_0x5a2666;if(_0x547ddd(_0xe15ff3)!=_0xf4f696(0x2ea)||!_0xe15ff3)return _0xe15ff3;var _0x45824e=_0xe15ff3[Symbol[_0xf4f696(0x29e)]];if(_0x45824e!==void 0x0){var _0x3a2df1=_0x45824e[_0xf4f696(0x203)](_0xe15ff3,_0x4da4e3||_0xf4f696(0x260));if(_0x547ddd(_0x3a2df1)!='object')return _0x3a2df1;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4da4e3===_0xf4f696(0x2b9)?String:Number)(_0xe15ff3);}function _0x8155f4(_0x4ae441){const _0x291068=_0x5a2666;var _0x2aefb4=_0xe4914b(_0x4ae441,'string');return _0x547ddd(_0x2aefb4)==_0x291068(0x210)?_0x2aefb4:_0x2aefb4+'';}function _0x2320ef(_0x3adb6f,_0x36914c,_0x45d610){const _0x32ec2d=_0x5a2666;return(_0x36914c=_0x8155f4(_0x36914c))in _0x3adb6f?Object[_0x32ec2d(0x350)](_0x3adb6f,_0x36914c,{'value':_0x45d610,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3adb6f[_0x36914c]=_0x45d610,_0x3adb6f;}function _0x1cb9ca(_0x30cbe3,_0x1b95c2){return function(_0x47ceac,_0xfe4828){_0x1b95c2(_0x47ceac,_0xfe4828,_0x30cbe3);};}function _0x148c14(_0x105c77,_0x12f915,_0x169246,_0x17ad42){const _0x3cc2fc=_0x5a2666;var _0x42fa5e=arguments[_0x3cc2fc(0x21e)],_0x298fb5=_0x42fa5e<0x3?_0x12f915:_0x17ad42===null?_0x17ad42=Object['getOwnPropertyDescriptor'](_0x12f915,_0x169246):_0x17ad42,_0x42253b;if(typeof Reflect==_0x3cc2fc(0x2ea)&&typeof Reflect[_0x3cc2fc(0x30b)]=='function')_0x298fb5=Reflect['decorate'](_0x105c77,_0x12f915,_0x169246,_0x17ad42);else{for(var _0x5198a9=_0x105c77['length']-0x1;_0x5198a9>=0x0;_0x5198a9--)(_0x42253b=_0x105c77[_0x5198a9])&&(_0x298fb5=(_0x42fa5e<0x3?_0x42253b(_0x298fb5):_0x42fa5e>0x3?_0x42253b(_0x12f915,_0x169246,_0x298fb5):_0x42253b(_0x12f915,_0x169246))||_0x298fb5);}return _0x42fa5e>0x3&&_0x298fb5&&Object[_0x3cc2fc(0x350)](_0x12f915,_0x169246,_0x298fb5),_0x298fb5;}let _0xcea7e=_0x5a2666(0x2fd),_0x16a91a=_0x5a2666(0x295),_0x395f1d=class extends _0x3c8163['Disposable']{constructor(_0x264cb6,_0x279206,_0x37a618,_0x837d4c,_0x9f6a96,_0x3121c7,_0x126c1f,_0x383d21,_0x1a2874,_0x440db4){const _0x2609cf=_0x5a2666;super(),this[_0x2609cf(0x2f8)]=_0x264cb6,this[_0x2609cf(0x31e)]=_0x279206,this[_0x2609cf(0x236)]=_0x37a618,this[_0x2609cf(0x33e)]=_0x837d4c,this[_0x2609cf(0x2af)]=_0x9f6a96,this['_messageService']=_0x3121c7,this[_0x2609cf(0x1e2)]=_0x126c1f,this[_0x2609cf(0x2bf)]=_0x383d21,this['_logService']=_0x1a2874,this[_0x2609cf(0x21a)]=_0x440db4,_0x2320ef(this,_0x2609cf(0x248),new _0x1ff204[(_0x2609cf(0x33f))](!0x1)),_0x2320ef(this,_0x2609cf(0x2c7),new _0x1ff204[(_0x2609cf(0x33f))]({})),_0x2320ef(this,'_config$',new _0x1ff204['BehaviorSubject']({})),_0x2320ef(this,_0x2609cf(0x2db),new _0x1ff204[(_0x2609cf(0x33f))]('')),_0x2320ef(this,'_handleConfigSave',async _0x597e13=>{const _0x4c4693=_0x2609cf;this['_loading$'][_0x4c4693(0x231)](!0x0);try{var _0x57f418,_0x2d4754;let _0x17ad6a=await this['_validateConfig'](_0x597e13);if(!_0x17ad6a[_0x4c4693(0x1fd)]){this[_0x4c4693(0x267)]['show']({'type':_0x1c0432[_0x4c4693(0x1ee)][_0x4c4693(0x2b6)],'content':_0x17ad6a[_0x4c4693(0x307)]||this[_0x4c4693(0x2bf)]['t'](_0x4c4693(0x24c))});return;}_0x597e13[_0x4c4693(0x25f)]?await this['_localStorageService'][_0x4c4693(0x1fe)](_0xcea7e,_0x597e13[_0x4c4693(0x25f)]['trim']()):await this[_0x4c4693(0x33e)]['removeItem'](_0xcea7e),this[_0x4c4693(0x2db)][_0x4c4693(0x231)](((_0x57f418=_0x597e13[_0x4c4693(0x25f)])==null?void 0x0:_0x57f418[_0x4c4693(0x28c)]())||''),this['_mcpConnectionController'][_0x4c4693(0x2d7)]({'Authorization':'Bearer\x20'+((_0x2d4754=_0x597e13['apiKey'])==null?void 0x0:_0x2d4754[_0x4c4693(0x28c)]())}),this['_messageService'][_0x4c4693(0x30a)]({'type':_0x1c0432[_0x4c4693(0x1ee)][_0x4c4693(0x283)],'content':this[_0x4c4693(0x2bf)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x23dc77=_0x4c4693;this[_0x23dc77(0x2af)][_0x23dc77(0x1fc)](_0x16a91a);},0x320);}catch(_0x46fcd8){this[_0x4c4693(0x1ef)][_0x4c4693(0x30e)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x46fcd8),this['_messageService']['show']({'type':_0x1c0432['MessageType'][_0x4c4693(0x2b6)],'content':this[_0x4c4693(0x2bf)]['t']('mcpConfig.configError')});}finally{this[_0x4c4693(0x248)]['next'](!0x1);}}),this[_0x2609cf(0x25c)](),this[_0x2609cf(0x2b1)](),this[_0x2609cf(0x2ab)]();}[_0x5a2666(0x20d)](){const _0x4955fc=_0x5a2666;let _0x2b9244=this[_0x4955fc(0x236)][_0x4955fc(0x271)](_0x3a4418);_0x2b9244!=null&&_0x2b9244[_0x4955fc(0x1f7)]&&this[_0x4955fc(0x2af)][_0x4955fc(0x23f)]({'id':_0x16a91a,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':_0x4955fc(0x359)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x57d4c4=_0x4955fc;this['_dialogService'][_0x57d4c4(0x1fc)](_0x16a91a);}});}['getCurrentConfig'](){const _0x2c186d=_0x5a2666;return this[_0x2c186d(0x2c7)][_0x2c186d(0x282)];}['_registerComponent'](){const _0xc6c44b=_0x5a2666;this[_0xc6c44b(0x2c4)](this[_0xc6c44b(0x1e2)][_0xc6c44b(0x252)]('MCPConfigPanel',this['_createConfigPanelComponent']()));}['_createConfigPanelComponent'](){const _0x473990=_0x5a2666;return(0x0,_0x4f23dd['connectInjector'])(()=>{const _0x262f7d=_0x2d45;var _0x38f64e,_0x24907b,_0x5f4e0c;return(0x0,_0x1d1884['jsx'])(_0x35df38,{'config':this['_config$'][_0x262f7d(0x282)],'mcpCoreConfig':this[_0x262f7d(0x2c7)]['value'],'currentApiKey$':this[_0x262f7d(0x2db)],'onSave':this[_0x262f7d(0x29d)],'loading':this[_0x262f7d(0x248)][_0x262f7d(0x282)],'connectionStatus$':(_0x38f64e=this[_0x262f7d(0x21a)])==null?void 0x0:_0x38f64e[_0x262f7d(0x246)],'connectionError$':(_0x24907b=this['_mcpConnectionController'])==null?void 0x0:_0x24907b[_0x262f7d(0x2bc)],'currentSessionId$':(_0x5f4e0c=this[_0x262f7d(0x21a)])==null?void 0x0:_0x5f4e0c[_0x262f7d(0x23d)]});},this[_0x473990(0x2f8)]);}[_0x5a2666(0x25c)](){const _0x4b559b=_0x5a2666;this[_0x4b559b(0x2c4)](this['_configService'][_0x4b559b(0x263)](_0xeb8032[_0x4b559b(0x241)])[_0x4b559b(0x308)](_0x710036=>{const _0x823219=_0x4b559b;this[_0x823219(0x2c7)]['next'](_0x710036||{});}));let _0x26b6d4=this[_0x4b559b(0x236)]['getConfig'](_0xeb8032[_0x4b559b(0x241)]);this['_mcpCoreConfig$'][_0x4b559b(0x231)](_0x26b6d4||{}),this[_0x4b559b(0x2c4)](this[_0x4b559b(0x236)][_0x4b559b(0x263)](_0x3a4418)[_0x4b559b(0x308)](_0x1c552e=>{const _0x366776=_0x4b559b;this[_0x366776(0x2b4)][_0x366776(0x231)](_0x1c552e||{});}));let _0x2464e5=this[_0x4b559b(0x236)][_0x4b559b(0x271)](_0x3a4418);this[_0x4b559b(0x2b4)][_0x4b559b(0x231)](_0x2464e5||{});}async[_0x5a2666(0x2b1)](){const _0x121f77=_0x5a2666;let _0x168d1c=this[_0x121f77(0x236)][_0x121f77(0x271)](_0x3a4418);if(!(_0x168d1c!=null&&_0x168d1c['showDeveloperTools']))return;let _0x4803fc=await this['_localStorageService'][_0x121f77(0x1da)](_0xcea7e);_0x4803fc&&(this['_mcpConnectionController'][_0x121f77(0x2d7)]({'Authorization':_0x121f77(0x2cd)+_0x4803fc}),this[_0x121f77(0x2db)]['next'](_0x4803fc));}async[_0x5a2666(0x2dd)](_0x5cfb96){const _0x4db02c=_0x5a2666;if(!_0x5cfb96[_0x4db02c(0x25f)]||_0x5cfb96[_0x4db02c(0x25f)][_0x4db02c(0x28c)]()[_0x4db02c(0x21e)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x4db02c(0x2bf)]['t'](_0x4db02c(0x22a))};if(_0x5cfb96[_0x4db02c(0x25f)][_0x4db02c(0x28c)]()[_0x4db02c(0x21e)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyTooShort')};try{let _0x478556=await this[_0x4db02c(0x2f8)][_0x4db02c(0x31c)](_0xeb8032[_0x4db02c(0x280)])[_0x4db02c(0x26b)](_0x5cfb96['apiKey'][_0x4db02c(0x28c)]());return _0x478556[_0x4db02c(0x1fd)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x478556['error']||this['_localeService']['t'](_0x4db02c(0x20e))};}catch(_0x1ebf7d){return console[_0x4db02c(0x347)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x1ebf7d),{'isValid':!0x0};}}};_0x395f1d=_0x148c14([_0x1cb9ca(0x0,(0x0,_0x3c8163[_0x5a2666(0x2f1)])(_0x3c8163[_0x5a2666(0x2fc)])),_0x1cb9ca(0x1,_0x4f23dd[_0x5a2666(0x349)]),_0x1cb9ca(0x2,_0x3c8163[_0x5a2666(0x2e9)]),_0x1cb9ca(0x3,_0x3c8163[_0x5a2666(0x1d7)]),_0x1cb9ca(0x4,_0x4f23dd[_0x5a2666(0x326)]),_0x1cb9ca(0x5,_0x4f23dd[_0x5a2666(0x1f4)]),_0x1cb9ca(0x6,(0x0,_0x3c8163['Inject'])(_0x4f23dd['ComponentManager'])),_0x1cb9ca(0x7,(0x0,_0x3c8163[_0x5a2666(0x2f1)])(_0x3c8163[_0x5a2666(0x2be)])),_0x1cb9ca(0x8,_0x3c8163['ILogService']),_0x1cb9ca(0x9,(0x0,_0x3c8163[_0x5a2666(0x2f1)])(_0xeb8032[_0x5a2666(0x280)]))],_0x395f1d);let _0x204cb0={'id':'mcp-ui.command.openConfigPanel','type':_0x3c8163['CommandType']['COMMAND'],'handler':async(_0x42d490,_0x25e91b)=>(_0x42d490['get'](_0x395f1d)['showConfigPanel'](),!0x0)};function _0x25b3ad(_0x57068d,_0x1237e2){const _0x174d6a=_0x5a2666;switch(_0x57068d){case _0xeb8032[_0x174d6a(0x356)][_0x174d6a(0x1f5)]:return'mcpStatus.disconnected';case _0xeb8032[_0x174d6a(0x356)]['CONNECTING']:return'mcpStatus.connecting';case _0xeb8032['MCPConnectionStatus'][_0x174d6a(0x244)]:return _0x174d6a(0x215);case _0xeb8032[_0x174d6a(0x356)][_0x174d6a(0x218)]:switch(_0x1237e2){case _0xeb8032[_0x174d6a(0x353)][_0x174d6a(0x1f3)]:return _0x174d6a(0x23b);case _0xeb8032[_0x174d6a(0x353)][_0x174d6a(0x337)]:return _0x174d6a(0x23c);case _0xeb8032[_0x174d6a(0x353)][_0x174d6a(0x2a9)]:return _0x174d6a(0x254);case _0xeb8032['MCPConnectionError'][_0x174d6a(0x285)]:return _0x174d6a(0x1e4);default:return _0x174d6a(0x281);}case _0xeb8032['MCPConnectionStatus'][_0x174d6a(0x2a8)]:return _0x174d6a(0x33c);default:return'mcpStatus.unknown';}}function _0x16c6df(_0x4c3fdf,_0x57316e,_0x21206e,_0x4c7fe0=!0x0){const _0x39a656=_0x5a2666;let _0x48c6a3=_0x25b3ad(_0x4c3fdf,_0x57316e),_0x45748f=_0x21206e['t'](_0x48c6a3);return _0x4c7fe0?_0x4c3fdf===_0xeb8032[_0x39a656(0x356)][_0x39a656(0x1f5)]&&_0x57316e===_0xeb8032[_0x39a656(0x353)][_0x39a656(0x1f3)]?_0x45748f+_0x39a656(0x224)+_0x21206e['t'](_0x39a656(0x1cf)):_0x4c3fdf===_0xeb8032[_0x39a656(0x356)]['CONNECTED']?''+_0x45748f:_0x4c3fdf===_0xeb8032[_0x39a656(0x356)][_0x39a656(0x1f5)]||_0x4c3fdf===_0xeb8032['MCPConnectionStatus'][_0x39a656(0x218)]?_0x45748f+'\x20-\x20'+_0x21206e['t'](_0x39a656(0x2b8)):_0x45748f:_0x45748f;}function _0x1db6a7(_0x2a6298){const _0x5b468a=_0x5a2666;switch(_0x2a6298){case _0xeb8032[_0x5b468a(0x356)][_0x5b468a(0x244)]:return _0x5b468a(0x311);case _0xeb8032[_0x5b468a(0x356)][_0x5b468a(0x226)]:case _0xeb8032[_0x5b468a(0x356)][_0x5b468a(0x2a8)]:return _0x5b468a(0x2eb);case _0xeb8032[_0x5b468a(0x356)][_0x5b468a(0x218)]:case _0xeb8032[_0x5b468a(0x356)][_0x5b468a(0x1f5)]:return _0x5b468a(0x22b);default:return'univer-text-gray-500';}}function _0x3ac29a(_0x5c676b){const _0x28a9eb=_0x5a2666;let {status$:_0x153662,error$:_0x480982,onConfigure:_0x5de0a0,showClickable:_0x268af2=!0x0}=_0x5c676b,_0xa09ac1=(0x0,_0x4f23dd[_0x28a9eb(0x211)])(_0x153662,_0xeb8032[_0x28a9eb(0x356)][_0x28a9eb(0x1f5)]),_0x46f570=(0x0,_0x4f23dd[_0x28a9eb(0x211)])(_0x480982,_0xeb8032['MCPConnectionError'][_0x28a9eb(0x2aa)]),_0x5e4385=(0x0,_0x4f23dd[_0x28a9eb(0x1d9)])(_0x3c8163[_0x28a9eb(0x2be)]),_0x17cde9=_0xa09ac1===_0xeb8032['MCPConnectionStatus'][_0x28a9eb(0x244)];_0xa09ac1===_0xeb8032[_0x28a9eb(0x356)][_0x28a9eb(0x226)]||_0xeb8032[_0x28a9eb(0x356)][_0x28a9eb(0x2a8)];let _0x47b739=_0x5e4385['t'](_0x25b3ad(_0xa09ac1,_0x46f570)),_0x45d5b5=_0x16c6df(_0xa09ac1,_0x46f570,_0x5e4385,_0x268af2),_0x5106a2=_0x1db6a7(_0xa09ac1),_0x40bad6=_0x17cde9?(0x0,_0x1d1884[_0x28a9eb(0x262)])(_0x16ea68,{}):(0x0,_0x1d1884[_0x28a9eb(0x262)])(_0x3f512c,{}),_0x16fb49=(0x0,_0x11e368['useCallback'])(()=>{_0x268af2&&_0x5de0a0&&_0x5de0a0();},[_0x268af2,_0x5de0a0]);function _0x2eb2d0(){const _0x257aa4=_0x28a9eb;return(0x0,_0x1d1884[_0x257aa4(0x22d)])('div',{'className':(0x0,_0x1c0432[_0x257aa4(0x2cb)])(_0x257aa4(0x341),_0x268af2&&_0x5de0a0&&'univer-cursor-pointer\x20hover:univer-opacity-80'),'role':_0x257aa4(0x2f4),'onClick':_0x268af2&&_0x5de0a0?_0x16fb49:void 0x0,'children':[(0x0,_0x1d1884[_0x257aa4(0x262)])(_0x257aa4(0x335),{'className':(0x0,_0x1c0432[_0x257aa4(0x2cb)])(_0x257aa4(0x2ff),_0x5106a2),'children':_0x40bad6}),(0x0,_0x1d1884[_0x257aa4(0x262)])(_0x257aa4(0x335),{'className':_0x257aa4(0x2e6),'children':_0x47b739})]});}return(0x0,_0x1d1884[_0x28a9eb(0x262)])(_0x1c0432['Tooltip'],{'title':_0x45d5b5,'placement':_0x28a9eb(0x207),'children':_0x2eb2d0()});}let _0x4d863c=class extends _0x3c8163[_0x5a2666(0x2bb)]{constructor(_0x4d61bb,_0x246d0a,_0x2538de,_0x4c89b3){const _0x439f4b=_0x5a2666;super(),this[_0x439f4b(0x2f8)]=_0x4d61bb,this[_0x439f4b(0x32d)]=_0x246d0a,this['_uiPartsService']=_0x2538de,this[_0x439f4b(0x236)]=_0x4c89b3,this['_initAutoConnect'](),this[_0x439f4b(0x26e)]();}[_0x5a2666(0x2ae)](){const _0x3d35b8=_0x5a2666;let _0x279d32=this[_0x3d35b8(0x236)][_0x3d35b8(0x271)](_0x3a4418);_0x279d32!=null&&_0x279d32[_0x3d35b8(0x1f7)]&&(this['_connectionController']['enableAutoConnect']=!0x1);}[_0x5a2666(0x26e)](){const _0x12958e=_0x5a2666;let _0x2a06c1=this[_0x12958e(0x236)][_0x12958e(0x271)](_0x3a4418);(_0x2a06c1==null?void 0x0:_0x2a06c1['showStatus'])!==!0x1&&this[_0x12958e(0x2c4)](this[_0x12958e(0x31e)][_0x12958e(0x320)](_0x4f23dd[_0x12958e(0x2f7)][_0x12958e(0x1e8)],()=>{const _0x51f318=_0x12958e;var _0x1fc79f;return(0x0,_0x4f23dd[_0x51f318(0x2b3)])(_0x43f255({'status$':this['_connectionController'][_0x51f318(0x246)],'error$':this[_0x51f318(0x32d)][_0x51f318(0x2bc)],'onConfigure':()=>this[_0x51f318(0x26a)](),'showClickable':(_0x1fc79f=_0x2a06c1==null?void 0x0:_0x2a06c1[_0x51f318(0x1f7)])==null?!0x1:_0x1fc79f}),this[_0x51f318(0x2f8)]);}));}[_0x5a2666(0x26a)](){const _0xf34891=_0x5a2666;this['_injector'][_0xf34891(0x31c)](_0x395f1d)[_0xf34891(0x20d)]();}};_0x4d863c=_0x148c14([_0x1cb9ca(0x0,(0x0,_0x3c8163[_0x5a2666(0x2f1)])(_0x3c8163[_0x5a2666(0x2fc)])),_0x1cb9ca(0x1,(0x0,_0x3c8163['Inject'])(_0xeb8032[_0x5a2666(0x280)])),_0x1cb9ca(0x2,_0x4f23dd['IUIPartsService']),_0x1cb9ca(0x3,_0x3c8163[_0x5a2666(0x2e9)])],_0x4d863c);function _0x43f255(_0x20a5b7){let {status$:_0x282bb2,error$:_0x318868,onConfigure:_0x4d36ab,showClickable:_0x5e175d}=_0x20a5b7;return function(){const _0x2dbae0=_0x2d45;return(0x0,_0x1d1884[_0x2dbae0(0x262)])(_0x3ac29a,{'status$':_0x282bb2,'error$':_0x318868,'onConfigure':_0x4d36ab,'showClickable':_0x5e175d});};}function _0x14256f(_0x191fe8){const _0x5c6fd8=_0x5a2666;return{'id':_0x204cb0['id'],'type':_0x4f23dd[_0x5c6fd8(0x287)][_0x5c6fd8(0x305)],'icon':_0x5c6fd8(0x328),'title':'mcpConfig.title','tooltip':'mcpConfig.title'};}let _0x5e1d2e={[_0x4f23dd[_0x5a2666(0x352)][_0x5a2666(0x289)]]:{[_0x204cb0['id']]:{'order':0xa,'menuItemFactory':_0x14256f}}},_0x40cd45=class extends _0x3c8163[_0x5a2666(0x2bb)]{constructor(_0x1393d4,_0x5ce12f){const _0x2faa6e=_0x5a2666;super(),this[_0x2faa6e(0x33b)]=_0x1393d4,this[_0x2faa6e(0x216)]=_0x5ce12f,this[_0x2faa6e(0x1e3)](),this[_0x2faa6e(0x272)]();}[_0x5a2666(0x1e3)](){const _0x3917a7=_0x5a2666;[_0x204cb0][_0x3917a7(0x355)](_0x497248=>{const _0x226527=_0x3917a7;this[_0x226527(0x2c4)](this[_0x226527(0x33b)][_0x226527(0x29c)](_0x497248));});}[_0x5a2666(0x272)](){const _0x31368c=_0x5a2666;this['_menuManagerService'][_0x31368c(0x29a)](_0x5e1d2e);}};_0x40cd45=_0x148c14([_0x1cb9ca(0x0,_0x3c8163[_0x5a2666(0x229)]),_0x1cb9ca(0x1,_0x4f23dd[_0x5a2666(0x325)])],_0x40cd45);let _0x1c4532={'mcpStatus':{'disconnected':_0x5a2666(0x247),'connecting':'MCP\x20Connecting...','connected':_0x5a2666(0x293),'failed':_0x5a2666(0x1cc),'retrying':_0x5a2666(0x1f2),'unknown':_0x5a2666(0x2fb),'unauthorized':_0x5a2666(0x1cb),'sessionOccupied':_0x5a2666(0x2d8),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x5a2666(0x330),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x5a2666(0x205)},'mcpConfig':{'title':_0x5a2666(0x29f),'description':_0x5a2666(0x1f9),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x5a2666(0x310),'apiKeyHint':_0x5a2666(0x2dc),'enableAuth':_0x5a2666(0x286),'enableAuthHint':_0x5a2666(0x221),'connectionInfo':_0x5a2666(0x1d8),'mcpClientConfig':_0x5a2666(0x1d8),'configInstructions':_0x5a2666(0x24d),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x5a2666(0x259),'configStep2':_0x5a2666(0x2b0),'configStep3':_0x5a2666(0x1f6),'sessionId':_0x5a2666(0x217),'sessionIdDescription':_0x5a2666(0x291),'authorizationDescription':_0x5a2666(0x344),'configParameters':_0x5a2666(0x299),'maxRetries':_0x5a2666(0x339),'save':_0x5a2666(0x306),'saving':_0x5a2666(0x2f6),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x5a2666(0x2da),'configSaved':_0x5a2666(0x2cc),'configError':_0x5a2666(0x2d6),'apiApplyInfo':{'title':_0x5a2666(0x2c3),'description':_0x5a2666(0x30c),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x5a2666(0x20b)},'validation':{'apiKeyRequired':_0x5a2666(0x31f),'apiKeyTooShort':_0x5a2666(0x1dd),'invalidConfig':_0x5a2666(0x333),'invalidApiKey':_0x5a2666(0x2df)},'connectionStatus':{'disconnected':_0x5a2666(0x2ba),'connecting':'Connecting...','connected':_0x5a2666(0x2ce),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x5a2666(0x35c),'sessionOccupied':_0x5a2666(0x2d3),'networkError':_0x5a2666(0x242),'maxRetriesExceeded':_0x5a2666(0x1d6)}}},_0x17a83b={'mcpStatus':{'disconnected':_0x5a2666(0x31a),'connecting':_0x5a2666(0x1eb),'connected':_0x5a2666(0x1c8),'failed':'MCP\x20连接失败','retrying':_0x5a2666(0x228),'unknown':_0x5a2666(0x2e0),'unauthorized':_0x5a2666(0x274),'sessionOccupied':_0x5a2666(0x348),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x5a2666(0x32e),'clickToConnect':_0x5a2666(0x235),'clickToConfigure':_0x5a2666(0x2c6)},'mcpConfig':{'title':_0x5a2666(0x257),'description':_0x5a2666(0x1c5),'apiKey':_0x5a2666(0x26d),'apiKeyPlaceholder':_0x5a2666(0x20c),'apiKeyHint':_0x5a2666(0x2d2),'enableAuth':_0x5a2666(0x2e4),'enableAuthHint':_0x5a2666(0x25e),'connectionInfo':_0x5a2666(0x22c),'mcpClientConfig':_0x5a2666(0x22c),'configInstructions':_0x5a2666(0x32b),'configStepTitle':'配置步骤:','configStep1':_0x5a2666(0x201),'configStep2':_0x5a2666(0x316),'configStep3':_0x5a2666(0x28d),'sessionId':_0x5a2666(0x2d1),'sessionIdDescription':_0x5a2666(0x1db),'authorizationDescription':_0x5a2666(0x27a),'configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x5a2666(0x2c9),'saving':_0x5a2666(0x2c8),'note1':_0x5a2666(0x34c),'note2':_0x5a2666(0x23a),'configSaved':_0x5a2666(0x292),'configError':'配置保存失败','apiApplyInfo':{'title':_0x5a2666(0x296),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x5a2666(0x2e7)},'validation':{'apiKeyRequired':_0x5a2666(0x27f),'apiKeyTooShort':_0x5a2666(0x2fa),'invalidConfig':_0x5a2666(0x2a2),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x5a2666(0x312),'connecting':_0x5a2666(0x2d4),'connected':_0x5a2666(0x1d3),'failed':_0x5a2666(0x2b7),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x5a2666(0x261),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x5a2666(0x27c),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var _0x1a7c2c=_0x5a2666(0x27b),_0x424477='1.0.0-alpha.0';let _0x4e2989=class extends _0x3c8163['Plugin']{constructor(_0x168f0f=_0x1569d0,_0x6336f7,_0x47cb11,_0x3a81b4,_0x5e58af,_0x5cb808){const _0x199b6e=_0x5a2666;super(),this[_0x199b6e(0x2f3)]=_0x168f0f,this[_0x199b6e(0x2f8)]=_0x6336f7,this['_configService']=_0x47cb11,this[_0x199b6e(0x31e)]=_0x3a81b4,this['_localStorageService']=_0x5e58af,this[_0x199b6e(0x2bf)]=_0x5cb808;let {..._0x251842}=(0x0,_0x3c8163[_0x199b6e(0x1ca)])({},_0x1569d0,this[_0x199b6e(0x2f3)]);this['_configService'][_0x199b6e(0x219)](_0x3a4418,_0x251842);}async[_0x5a2666(0x2d9)](){const _0x487287=_0x5a2666;let _0x55fe69=[[_0x4d863c],[_0x395f1d],[_0x40cd45]];this['_injector'][_0x487287(0x1ff)](_0x100c1c[_0x487287(0x2cf)])||_0x55fe69[_0x487287(0x334)]([_0x100c1c['ISocketService'],{'useClass':_0x100c1c[_0x487287(0x2c0)]}]),_0x55fe69[_0x487287(0x355)](_0x49251d=>this[_0x487287(0x2f8)][_0x487287(0x2de)](_0x49251d)),this[_0x487287(0x2f8)]['get'](_0x4d863c),this['_injector'][_0x487287(0x31c)](_0x395f1d),this[_0x487287(0x2f8)][_0x487287(0x31c)](_0x40cd45);}};_0x2320ef(_0x4e2989,_0x5a2666(0x343),_0x5a2666(0x298)),_0x2320ef(_0x4e2989,_0x5a2666(0x31b),_0x1a7c2c),_0x2320ef(_0x4e2989,_0x5a2666(0x225),_0x424477),_0x4e2989=_0x148c14([(0x0,_0x3c8163[_0x5a2666(0x309)])(_0xeb8032[_0x5a2666(0x34f)]),_0x1cb9ca(0x1,(0x0,_0x3c8163['Inject'])(_0x3c8163[_0x5a2666(0x2fc)])),_0x1cb9ca(0x2,_0x3c8163[_0x5a2666(0x2e9)]),_0x1cb9ca(0x3,_0x4f23dd[_0x5a2666(0x349)]),_0x1cb9ca(0x4,_0x3c8163[_0x5a2666(0x1d7)]),_0x1cb9ca(0x5,(0x0,_0x3c8163['Inject'])(_0x3c8163[_0x5a2666(0x2be)]))],_0x4e2989),_0x3e51d7[_0x5a2666(0x359)]=_0x35df38,Object['defineProperty'](_0x3e51d7,_0x5a2666(0x34d),{'enumerable':!0x0,'get':function(){return _0x395f1d;}}),Object[_0x5a2666(0x350)](_0x3e51d7,'MCPConnectionUIController',{'enumerable':!0x0,'get':function(){return _0x4d863c;}}),_0x3e51d7[_0x5a2666(0x336)]=_0x3ac29a,Object[_0x5a2666(0x350)](_0x3e51d7,_0x5a2666(0x303),{'enumerable':!0x0,'get':function(){return _0x40cd45;}}),_0x3e51d7['OpenMCPConfigPanelCommand']=_0x204cb0,Object['defineProperty'](_0x3e51d7,'UniverMCPUIPlugin',{'enumerable':!0x0,'get':function(){return _0x4e2989;}}),_0x3e51d7[_0x5a2666(0x1fa)]=_0x1c4532,_0x3e51d7[_0x5a2666(0x2f5)]=_0x17a83b;}));
|
|
1
|
+
function _0x42cc(_0x1c3089,_0x1cace2){_0x1c3089=_0x1c3089-0x1be;const _0x1d1180=_0x1d11();let _0x42cc3e=_0x1d1180[_0x1c3089];return _0x42cc3e;}(function(_0x43dc2a,_0x45af91){const _0x296c28=_0x42cc,_0x15d54a=_0x43dc2a();while(!![]){try{const _0x5ea5d0=parseInt(_0x296c28(0x206))/0x1+parseInt(_0x296c28(0x23e))/0x2+parseInt(_0x296c28(0x348))/0x3+parseInt(_0x296c28(0x1c0))/0x4+parseInt(_0x296c28(0x325))/0x5*(-parseInt(_0x296c28(0x2a1))/0x6)+parseInt(_0x296c28(0x287))/0x7*(-parseInt(_0x296c28(0x290))/0x8)+parseInt(_0x296c28(0x340))/0x9;if(_0x5ea5d0===_0x45af91)break;else _0x15d54a['push'](_0x15d54a['shift']());}catch(_0x458c43){_0x15d54a['push'](_0x15d54a['shift']());}}}(_0x1d11,0x94a30),function(_0x1ced91,_0x4f385d){const _0x6a543f=_0x42cc;typeof exports=='object'&&typeof module<'u'?_0x4f385d(exports,require('@univerjs/core'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('react/jsx-runtime'),require('@univerjs/network')):typeof define==_0x6a543f(0x20f)&&define['amd']?define([_0x6a543f(0x346),_0x6a543f(0x22c),_0x6a543f(0x1e8),_0x6a543f(0x1f2),_0x6a543f(0x27f),_0x6a543f(0x1d8),'react',_0x6a543f(0x272),_0x6a543f(0x21b)],_0x4f385d):(_0x1ced91=typeof globalThis<'u'?globalThis:_0x1ced91||self,_0x4f385d(_0x1ced91[_0x6a543f(0x26b)]={},_0x1ced91['UniverCore'],_0x1ced91[_0x6a543f(0x2c5)],_0x1ced91[_0x6a543f(0x34f)],_0x1ced91[_0x6a543f(0x275)],_0x1ced91[_0x6a543f(0x1d8)],_0x1ced91['React'],_0x1ced91[_0x6a543f(0x262)],_0x1ced91['UniverNetwork']));}(this,function(_0x2622dc,_0x4ec9d6,_0x2906c6,_0xaeac6f,_0x39f484,_0x1788fe,_0x5eaaf6,_0x4de230,_0x126097){const _0x4eac53=_0x42cc;Object[_0x4eac53(0x335)](_0x2622dc,Symbol[_0x4eac53(0x1fc)],{'value':_0x4eac53(0x331)});function _0x50ccd2({ref:_0x17f977,..._0x445f82}){const _0x492c8d=_0x4eac53;let {icon:_0xc430f9,id:_0x2e7b0c,className:_0x4516f9,extend:_0x40d9a3,..._0x13145a}=_0x445f82,_0x581b9c=(_0x492c8d(0x268)+_0x2e7b0c+'\x20'+(_0x4516f9||''))['trim'](),_0x3047d3=(0x0,_0x5eaaf6[_0x492c8d(0x2a2)])('_'+_0x5734fa());return _0x1a518c(_0xc430f9,''+_0x2e7b0c,{'defIds':_0xc430f9['defIds'],'idSuffix':_0x3047d3['current']},{'ref':_0x17f977,'className':_0x581b9c,..._0x13145a},_0x40d9a3);}function _0x1a518c(_0x494a6c,_0x801047,_0x128084,_0x355c8d,_0x2d5d91){const _0x13dfb0=_0x4eac53;return(0x0,_0x5eaaf6[_0x13dfb0(0x2df)])(_0x494a6c['tag'],{'key':_0x801047,..._0x398594(_0x494a6c,_0x128084,_0x2d5d91),..._0x355c8d},(_0x3c46ee(_0x494a6c,_0x128084)[_0x13dfb0(0x229)]||[])[_0x13dfb0(0x2fd)]((_0x3059ae,_0xff34c9)=>_0x1a518c(_0x3059ae,_0x801047+'-'+_0x494a6c['tag']+'-'+_0xff34c9,_0x128084,void 0x0,_0x2d5d91)));}function _0x398594(_0x19c47c,_0x16d3f9,_0x48a4e8){const _0x160577=_0x4eac53;let _0x1e2f8d={..._0x19c47c[_0x160577(0x31e)]};_0x48a4e8!=null&&_0x48a4e8['colorChannel1']&&_0x1e2f8d[_0x160577(0x2ac)]===_0x160577(0x293)&&(_0x1e2f8d[_0x160577(0x2ac)]=_0x48a4e8[_0x160577(0x293)]),_0x48a4e8!=null&&_0x48a4e8[_0x160577(0x293)]&&_0x1e2f8d[_0x160577(0x2fa)]===_0x160577(0x293)&&(_0x1e2f8d[_0x160577(0x2fa)]=_0x48a4e8[_0x160577(0x293)]),_0x19c47c['tag']===_0x160577(0x2ea)&&_0x1e2f8d['id']&&(_0x1e2f8d['id']+=_0x16d3f9[_0x160577(0x1d1)]),Object[_0x160577(0x2d9)](_0x1e2f8d)[_0x160577(0x313)](([_0x32e227,_0x562cf4])=>{const _0x56f704=_0x160577;_0x32e227===_0x56f704(0x2ea)&&typeof _0x562cf4=='string'&&(_0x1e2f8d[_0x32e227]=_0x562cf4[_0x56f704(0x336)](/url\(#(.*)\)/,_0x56f704(0x33c)+_0x16d3f9[_0x56f704(0x1d1)]+')'));});let {defIds:_0x1d1f84}=_0x16d3f9;return!_0x1d1f84||_0x1d1f84['length']===0x0?_0x1e2f8d:(_0x19c47c['tag']===_0x160577(0x29c)&&_0x1e2f8d[_0x160577(0x28e)]&&(_0x1e2f8d[_0x160577(0x28e)]+=_0x16d3f9[_0x160577(0x1d1)]),Object[_0x160577(0x2d9)](_0x1e2f8d)[_0x160577(0x313)](([_0x1c0f6e,_0x511afe])=>{const _0x16cf4d=_0x160577;typeof _0x511afe=='string'&&(_0x1e2f8d[_0x1c0f6e]=_0x511afe[_0x16cf4d(0x336)](/url\(#(.*)\)/,_0x16cf4d(0x33c)+_0x16d3f9['idSuffix']+')'));}),_0x1e2f8d);}function _0x3c46ee(_0x50581c,_0x541053){const _0x16bea9=_0x4eac53;var _0x4e825d;let {defIds:_0xca7ac8}=_0x541053;return!_0xca7ac8||_0xca7ac8[_0x16bea9(0x1d6)]===0x0?_0x50581c:_0x50581c[_0x16bea9(0x2c7)]===_0x16bea9(0x2eb)&&(_0x4e825d=_0x50581c[_0x16bea9(0x229)])!=null&&_0x4e825d['length']?{..._0x50581c,'children':_0x50581c[_0x16bea9(0x229)]['map'](_0x3e398a=>typeof _0x3e398a[_0x16bea9(0x31e)]['id']==_0x16bea9(0x26d)&&_0xca7ac8&&_0xca7ac8[_0x16bea9(0x2a6)](_0x3e398a['attrs']['id'])?{..._0x3e398a,'attrs':{..._0x3e398a[_0x16bea9(0x31e)],'id':_0x3e398a[_0x16bea9(0x31e)]['id']+_0x541053[_0x16bea9(0x1d1)]}}:_0x3e398a)}:_0x50581c;}function _0x5734fa(){const _0x483069=_0x4eac53;return Math[_0x483069(0x2c4)]()[_0x483069(0x288)](0x24)[_0x483069(0x32f)](0x2,0x8);}_0x50ccd2[_0x4eac53(0x1cc)]=_0x4eac53(0x34b);let _0x2543fa={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4eac53(0x300),'viewBox':_0x4eac53(0x333),'width':_0x4eac53(0x305),'height':'1em'},'children':[{'tag':_0x4eac53(0x1c7),'attrs':{'fill':_0x4eac53(0x2f7),'d':_0x4eac53(0x2a5),'fillRule':_0x4eac53(0x334),'clipRule':_0x4eac53(0x334)}}]},_0x13a082=(0x0,_0x5eaaf6['forwardRef'])(function(_0x1a20d3,_0x18e0af){const _0x1d3015=_0x4eac53;return(0x0,_0x5eaaf6[_0x1d3015(0x2df)])(_0x50ccd2,Object['assign']({},_0x1a20d3,{'id':_0x1d3015(0x327),'ref':_0x18e0af,'icon':_0x2543fa}));});_0x13a082[_0x4eac53(0x1cc)]=_0x4eac53(0x238);let _0x481099={'tag':_0x4eac53(0x320),'attrs':{'xmlns':_0x4eac53(0x2b2),'fill':_0x4eac53(0x300),'viewBox':'0\x200\x2016\x2016','width':_0x4eac53(0x305),'height':_0x4eac53(0x305)},'children':[{'tag':'path','attrs':{'fill':_0x4eac53(0x2f7),'d':_0x4eac53(0x24b)}}]},_0x474820=(0x0,_0x5eaaf6['forwardRef'])(function(_0x4a8db9,_0x163e1c){const _0x236bc8=_0x4eac53;return(0x0,_0x5eaaf6[_0x236bc8(0x2df)])(_0x50ccd2,Object['assign']({},_0x4a8db9,{'id':_0x236bc8(0x2cf),'ref':_0x163e1c,'icon':_0x481099}));});_0x474820['displayName']=_0x4eac53(0x2ae);let _0x3d8748={'tag':_0x4eac53(0x320),'attrs':{'xmlns':_0x4eac53(0x2b2),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x4eac53(0x305)},'children':[{'tag':'path','attrs':{'fill':_0x4eac53(0x2f7),'d':_0x4eac53(0x219)}},{'tag':_0x4eac53(0x1c7),'attrs':{'fill':_0x4eac53(0x2f7),'d':'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'}},{'tag':_0x4eac53(0x1c7),'attrs':{'fill':'currentColor','d':_0x4eac53(0x24c),'fillRule':_0x4eac53(0x334),'clipRule':_0x4eac53(0x334)}}]},_0x216fbf=(0x0,_0x5eaaf6[_0x4eac53(0x1c9)])(function(_0x174774,_0x4da1a7){const _0x14674b=_0x4eac53;return(0x0,_0x5eaaf6[_0x14674b(0x2df)])(_0x50ccd2,Object[_0x14674b(0x2b6)]({},_0x174774,{'id':_0x14674b(0x267),'ref':_0x4da1a7,'icon':_0x3d8748}));});_0x216fbf[_0x4eac53(0x1cc)]=_0x4eac53(0x1ef);let _0x3fa167={'tag':_0x4eac53(0x320),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4eac53(0x300),'viewBox':'0\x200\x2016\x2016','width':_0x4eac53(0x305),'height':_0x4eac53(0x305)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x4eac53(0x2dd),'strokeLinecap':_0x4eac53(0x2c2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4eac53(0x2eb),'attrs':{},'children':[{'tag':_0x4eac53(0x344),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x4eac53(0x1c7),'attrs':{'fill':_0x4eac53(0x28d),'d':_0x4eac53(0x349)}}]}]}],'defIds':[_0x4eac53(0x1d7)]},_0x399478=(0x0,_0x5eaaf6[_0x4eac53(0x1c9)])(function(_0x359d2d,_0x41903b){const _0x301f56=_0x4eac53;return(0x0,_0x5eaaf6[_0x301f56(0x2df)])(_0x50ccd2,Object['assign']({},_0x359d2d,{'id':'off-line-icon','ref':_0x41903b,'icon':_0x3fa167}));});_0x399478['displayName']=_0x4eac53(0x324);let _0x4e0047={'tag':'svg','attrs':{'xmlns':_0x4eac53(0x2b2),'fill':_0x4eac53(0x300),'viewBox':_0x4eac53(0x2e5),'width':_0x4eac53(0x305),'height':_0x4eac53(0x305)},'children':[{'tag':'g','attrs':{'clipPath':_0x4eac53(0x2c1)},'children':[{'tag':_0x4eac53(0x1c7),'attrs':{'stroke':_0x4eac53(0x2f7),'d':_0x4eac53(0x233),'strokeLinecap':_0x4eac53(0x2c2),'strokeLinejoin':_0x4eac53(0x2c2),'strokeWidth':1.2}}]},{'tag':_0x4eac53(0x2eb),'attrs':{},'children':[{'tag':_0x4eac53(0x344),'attrs':{'id':_0x4eac53(0x308)},'children':[{'tag':_0x4eac53(0x1c7),'attrs':{'fill':_0x4eac53(0x28d),'d':_0x4eac53(0x349),'transform':_0x4eac53(0x32b)}}]}]}],'defIds':[_0x4eac53(0x308)]},_0x2347ce=(0x0,_0x5eaaf6['forwardRef'])(function(_0x4904cc,_0xe602c6){const _0x2b7b94=_0x4eac53;return(0x0,_0x5eaaf6['createElement'])(_0x50ccd2,Object[_0x2b7b94(0x2b6)]({},_0x4904cc,{'id':_0x2b7b94(0x285),'ref':_0xe602c6,'icon':_0x4e0047}));});_0x2347ce[_0x4eac53(0x1cc)]=_0x4eac53(0x271);function _0x421cef(_0xddfcb5){const _0xf7ca8a=_0x4eac53;var _0x7f5a43,_0xe6feaa;let {mcpCoreConfig:_0x293832,onSave:_0x186082,loading:_0x19372d=!0x1,config:_0x27220e,connectionStatus$:_0xceaf58,connectionError$:_0x30e725,currentApiKey$:_0x40e6ad,currentSessionId$:_0x1fe63a}=_0xddfcb5,_0xdb991=(0x0,_0x39f484[_0xf7ca8a(0x23d)])(_0x4ec9d6[_0xf7ca8a(0x2b0)]),_0xf8b3f9=(0x0,_0x39f484[_0xf7ca8a(0x2d6)])(_0xceaf58,_0x2906c6[_0xf7ca8a(0x321)]['DISCONNECTED']),_0x2c1a6b=(0x0,_0x39f484[_0xf7ca8a(0x2d6)])(_0x30e725,_0x2906c6[_0xf7ca8a(0x2c3)][_0xf7ca8a(0x242)]),_0x5eb11a=(0x0,_0x39f484[_0xf7ca8a(0x2d6)])(_0x1fe63a,''),[_0x4a98b0,_0x5435ba]=(0x0,_0x5eaaf6[_0xf7ca8a(0x2b3)])((0x0,_0x39f484[_0xf7ca8a(0x2d6)])(_0x40e6ad,'')||''),_0x36b907=_0x27220e[_0xf7ca8a(0x284)]&&_0x293832[_0xf7ca8a(0x353)]&&(_0x293832[_0xf7ca8a(0x353)]['includes'](_0xf7ca8a(0x2b8))||_0x293832[_0xf7ca8a(0x353)][_0xf7ca8a(0x2a6)](_0xf7ca8a(0x32c))),_0x429b86=(_0x7f5a43=_0x293832[_0xf7ca8a(0x353)])==null?void 0x0:_0x7f5a43['includes'](_0xf7ca8a(0x2b8)),_0x5128bb=(_0xe6feaa=_0x293832[_0xf7ca8a(0x353)])==null?void 0x0:_0xe6feaa[_0xf7ca8a(0x2a6)](_0xf7ca8a(0x32c)),_0x5d46b5=_0x429b86?_0xf7ca8a(0x2a0):'https://console.univer.ai',_0x30357c=_0x27220e[_0xf7ca8a(0x284)]&&(_0x429b86||_0x5128bb),[_0x275e1b,_0x325635]=(0x0,_0x5eaaf6['useState'])(!_0x4a98b0['trim']()),_0x49a6f6=(_0xfe7d2b,_0x5ce7de)=>{const _0xe31283=_0xf7ca8a;if(_0x5ce7de===_0x2906c6['MCPConnectionError'][_0xe31283(0x239)])return _0xe31283(0x1db);switch(_0xfe7d2b){case _0x2906c6[_0xe31283(0x321)][_0xe31283(0x1fd)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x2906c6[_0xe31283(0x321)][_0xe31283(0x207)]:case _0x2906c6[_0xe31283(0x321)][_0xe31283(0x1f7)]:return _0xe31283(0x226);case _0x2906c6[_0xe31283(0x321)][_0xe31283(0x21c)]:return _0xe31283(0x1db);default:return _0xe31283(0x2e8);}},_0xab85b1=(_0x376e10,_0x334305)=>{const _0x2ac6ff=_0xf7ca8a;if(_0x334305===_0x2906c6['MCPConnectionError'][_0x2ac6ff(0x239)])return _0x2ac6ff(0x2d0);switch(_0x376e10){case _0x2906c6[_0x2ac6ff(0x321)][_0x2ac6ff(0x1fd)]:return _0x2ac6ff(0x2ab);case _0x2906c6[_0x2ac6ff(0x321)][_0x2ac6ff(0x207)]:case _0x2906c6[_0x2ac6ff(0x321)]['RETRYING']:return'univer-bg-blue-500';case _0x2906c6['MCPConnectionStatus'][_0x2ac6ff(0x21c)]:return _0x2ac6ff(0x2d0);default:return _0x2ac6ff(0x24d);}},_0x4815e0=_0x13518c=>{const _0x47f193=_0xf7ca8a;switch(_0x13518c){case _0x2906c6[_0x47f193(0x321)][_0x47f193(0x1fd)]:return _0xdb991['t'](_0x47f193(0x2e0));case _0x2906c6[_0x47f193(0x321)][_0x47f193(0x207)]:return _0xdb991['t'](_0x47f193(0x34d));case _0x2906c6['MCPConnectionStatus']['FAILED']:return _0xdb991['t'](_0x47f193(0x2ff));case _0x2906c6[_0x47f193(0x321)][_0x47f193(0x1f7)]:return _0xdb991['t']('mcpConfig.connectionStatus.retrying');default:return _0xdb991['t'](_0x47f193(0x28b));}},_0xf64803=_0x195aa4=>{const _0x3fba51=_0xf7ca8a;switch(_0x195aa4){case _0x2906c6[_0x3fba51(0x2c3)][_0x3fba51(0x239)]:return _0xdb991['t']('mcpConfig.connectionError.unauthorized');case _0x2906c6[_0x3fba51(0x2c3)]['SESSION_ID_OCCUPIED']:return _0xdb991['t'](_0x3fba51(0x296));case _0x2906c6[_0x3fba51(0x2c3)][_0x3fba51(0x23c)]:return _0xdb991['t'](_0x3fba51(0x266));case _0x2906c6['MCPConnectionError'][_0x3fba51(0x222)]:return _0xdb991['t'](_0x3fba51(0x2fe));default:return'';}},_0x39012f=(0x0,_0x5eaaf6[_0xf7ca8a(0x1f3)])(()=>{const _0x2990ba=_0xf7ca8a;_0x186082({..._0x293832,'apiKey':_0x4a98b0[_0x2990ba(0x25a)](),'enableAuth':!0x0});},[_0x293832,_0x4a98b0,!0x0,_0x186082]),_0xd5e7a6=_0x4a98b0[_0xf7ca8a(0x25a)]()['length']>0x0;return(0x0,_0x4de230[_0xf7ca8a(0x29e)])('div',{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x350),'children':(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x33e),'children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x2d4),'children':(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('span',{'className':_0xf7ca8a(0x319),'children':'⚙'})}),(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('div',{'children':(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0xdb991['t'](_0xf7ca8a(0x1c1))})})]})}),(0x0,_0x4de230['jsxs'])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x2da),'children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('div',{'className':(0x0,_0xaeac6f[_0xf7ca8a(0x260)])('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x49a6f6(_0xf8b3f9,_0x2c1a6b)),'children':(0x0,_0x4de230[_0xf7ca8a(0x29e)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x4de230['jsx'])(_0xf7ca8a(0x2ec),{'className':(0x0,_0xaeac6f[_0xf7ca8a(0x260)])(_0xf7ca8a(0x1dc),_0xab85b1(_0xf8b3f9,_0x2c1a6b))}),(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2a9),{'className':'univer-text-sm\x20univer-font-medium','children':_0x4815e0(_0xf8b3f9)})]})}),_0x2c1a6b!==_0x2906c6[_0xf7ca8a(0x2c3)][_0xf7ca8a(0x242)]&&(_0xf8b3f9===_0x2906c6[_0xf7ca8a(0x321)]['FAILED']||_0x2c1a6b===_0x2906c6['MCPConnectionError'][_0xf7ca8a(0x239)])&&(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2ec),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':(0x0,_0x4de230['jsxs'])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x32a),'children':[(0x0,_0x4de230['jsx'])(_0xf7ca8a(0x2a9),{'className':_0xf7ca8a(0x228),'children':'⚠️'}),(0x0,_0x4de230['jsx'])('p',{'className':_0xf7ca8a(0x330),'children':_0xf64803(_0x2c1a6b)})]})})]}),(0x0,_0x4de230['jsx'])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x2b4),'children':(0x0,_0x4de230['jsxs'])('div',{'className':_0xf7ca8a(0x2ba),'children':[(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x236),'children':[(0x0,_0x4de230[_0xf7ca8a(0x29e)])('label',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2a9),{'children':'🔑'}),'\x20',_0xdb991['t']('mcpConfig.apiKey'),(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('span',{'className':_0xf7ca8a(0x25c),'children':'*'}),_0x36b907&&(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('a',{'className':_0xf7ca8a(0x28c),'title':_0xdb991['t'](_0xf7ca8a(0x2fc)),'role':_0xf7ca8a(0x33f),'onClick':()=>_0x325635(!0x0),'children':(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0x216fbf,{})})]}),(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xaeac6f[_0xf7ca8a(0x32d)],{'type':_0xf7ca8a(0x33d),'placeholder':_0xdb991['t'](_0xf7ca8a(0x21e)),'value':_0x4a98b0,'disabled':_0x19372d,'autoComplete':_0xf7ca8a(0x1e7),'onChange':_0x5435ba}),(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('p',{'className':_0xf7ca8a(0x2f1),'children':_0xdb991['t']('mcpConfig.apiKeyHint')})]}),_0x36b907&&_0x275e1b&&(0x0,_0x4de230['jsxs'])('div',{'className':_0xf7ca8a(0x235),'children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('a',{'className':_0xf7ca8a(0x280),'role':_0xf7ca8a(0x33f),'onClick':()=>_0x325635(!0x1),'children':(0x0,_0x4de230['jsx'])(_0x474820,{'className':_0xf7ca8a(0x30d)})}),(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x232),'children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x2b1),'children':(0x0,_0x4de230['jsx'])('span',{'className':_0xf7ca8a(0x1f5),'children':'🚀'})}),(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':'univer-flex-1','children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('h4',{'className':_0xf7ca8a(0x256),'children':_0xdb991['t']('mcpConfig.apiApplyInfo.title')}),(0x0,_0x4de230['jsx'])('p',{'className':_0xf7ca8a(0x2a7),'children':_0xdb991['t'](_0xf7ca8a(0x201))}),(0x0,_0x4de230['jsx'])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x1ee),'children':_0x30357c&&(0x0,_0x4de230['jsxs'])('a',{'className':_0xf7ca8a(0x289),'href':_0x5d46b5,'target':_0xf7ca8a(0x2f2),'rel':'noopener\x20noreferrer','children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2a9),{'children':'🤖'}),_0xdb991['t']('mcpConfig.apiApplyInfo.univerAiLabel'),(0x0,_0x4de230['jsx'])(_0xf7ca8a(0x2a9),{'className':_0xf7ca8a(0x231),'children':'↗'})]})}),(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x211),'children':['✨','\x20',_0xdb991['t'](_0xf7ca8a(0x31f))]})]})]})]}),_0x27220e[_0xf7ca8a(0x284)]&&(0x0,_0x4de230[_0xf7ca8a(0x29e)])('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[(0x0,_0x4de230[_0xf7ca8a(0x29e)])('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('span',{'children':'🔗'}),'\x20',_0xdb991['t'](_0xf7ca8a(0x261))]}),(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':'univer-space-y-4','children':[(0x0,_0x4de230[_0xf7ca8a(0x29e)])('div',{'className':'univer-space-y-3','children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('p',{'className':_0xf7ca8a(0x345),'children':_0xdb991['t'](_0xf7ca8a(0x273))}),(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x236),'children':[(0x0,_0x4de230['jsx'])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x1f8),'children':_0xdb991['t'](_0xf7ca8a(0x1f0))}),(0x0,_0x4de230['jsxs'])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x307),'children':[(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x4de230['jsx'])('span',{'className':_0xf7ca8a(0x2ed),'children':'1'}),_0xdb991['t'](_0xf7ca8a(0x31a))]}),(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x291),'children':[(0x0,_0x4de230['jsx'])(_0xf7ca8a(0x2a9),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0xdb991['t']('mcpConfig.configStep2')]}),(0x0,_0x4de230[_0xf7ca8a(0x29e)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2a9),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0xdb991['t'](_0xf7ca8a(0x21f))]})]})]})]}),(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x236),'children':[(0x0,_0x4de230['jsx'])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x1f8),'children':'MCP\x20Configuration'}),(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x24a),'children':(0x0,_0x4de230['jsx'])(_0xf7ca8a(0x338),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON['stringify']({'mcpServers':{'univer':{'url':_0xf7ca8a(0x1d4)+(_0x5eb11a||_0xf7ca8a(0x301)),'type':_0xf7ca8a(0x1be),'headers':{'Authorization':_0xf7ca8a(0x2ef)+(_0x4a98b0||_0xf7ca8a(0x220))}}}},null,0x2)})})]}),(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x283),'children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x1f8),'children':_0xdb991['t']('mcpConfig.configParameters')}),(0x0,_0x4de230['jsxs'])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x236),'children':[(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x202),'children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('div',{'className':_0xf7ca8a(0x2bc)}),(0x0,_0x4de230['jsxs'])(_0xf7ca8a(0x2ec),{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('div',{'className':_0xf7ca8a(0x2e2),'children':_0xf7ca8a(0x21a)}),(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x2f1),'children':_0xdb991['t'](_0xf7ca8a(0x252))})]})]}),(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('div',{'className':_0xf7ca8a(0x2bc)}),(0x0,_0x4de230['jsxs'])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x1e3),'children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x2e2),'children':'Authorization:'}),(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('div',{'className':_0xf7ca8a(0x2f1),'children':_0xdb991['t'](_0xf7ca8a(0x210))})]})]})]})]})]})]}),(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xaeac6f[_0xf7ca8a(0x318)],{'onClick':_0x39012f,'disabled':!_0xd5e7a6||_0x19372d,'className':_0xf7ca8a(0x1c2),'children':_0x19372d?(0x0,_0x4de230['jsxs'])(_0xf7ca8a(0x2a9),{'className':_0xf7ca8a(0x291),'children':[(0x0,_0x4de230['jsx'])(_0xf7ca8a(0x2a9),{'children':'⟲'}),_0xdb991['t']('mcpConfig.saving')]}):(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2a9),{'className':_0xf7ca8a(0x291),'children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0x13a082,{}),_0xdb991['t'](_0xf7ca8a(0x2d5))]})}),(0x0,_0x4de230[_0xf7ca8a(0x2dc)])('div',{'className':_0xf7ca8a(0x23a),'children':(0x0,_0x4de230[_0xf7ca8a(0x29e)])('div',{'className':'univer-flex\x20univer-gap-3','children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2a9),{'className':_0xf7ca8a(0x292),'children':'💡'}),(0x0,_0x4de230['jsxs'])('div',{'className':_0xf7ca8a(0x254),'children':[(0x0,_0x4de230[_0xf7ca8a(0x2dc)])(_0xf7ca8a(0x2ec),{'className':_0xf7ca8a(0x255),'children':'Configuration\x20Notes:'}),(0x0,_0x4de230['jsxs'])('div',{'children':['•',_0xdb991['t'](_0xf7ca8a(0x20c))]}),(0x0,_0x4de230[_0xf7ca8a(0x29e)])(_0xf7ca8a(0x2ec),{'children':['•',_0xdb991['t'](_0xf7ca8a(0x329))]})]})]})})]})})]});}let _0x4ba3b5=_0x4eac53(0x317),_0x1aee4b={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0x393798(_0x5be602){'@babel/helpers - typeof';const _0x1c62b0=_0x4eac53;return _0x393798=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x1c62b0(0x23b)?function(_0x56eb3c){return typeof _0x56eb3c;}:function(_0x40c1b2){const _0x458e3a=_0x1c62b0;return _0x40c1b2&&typeof Symbol==_0x458e3a(0x20f)&&_0x40c1b2['constructor']===Symbol&&_0x40c1b2!==Symbol['prototype']?_0x458e3a(0x23b):typeof _0x40c1b2;},_0x393798(_0x5be602);}function _0x81a57b(_0x3e3ce1,_0x8640d0){const _0x36a1e6=_0x4eac53;if(_0x393798(_0x3e3ce1)!=_0x36a1e6(0x339)||!_0x3e3ce1)return _0x3e3ce1;var _0x232e38=_0x3e3ce1[Symbol[_0x36a1e6(0x279)]];if(_0x232e38!==void 0x0){var _0x184fde=_0x232e38['call'](_0x3e3ce1,_0x8640d0||_0x36a1e6(0x34e));if(_0x393798(_0x184fde)!=_0x36a1e6(0x339))return _0x184fde;throw TypeError(_0x36a1e6(0x282));}return(_0x8640d0===_0x36a1e6(0x26d)?String:Number)(_0x3e3ce1);}function _0x141793(_0x4aad5b){const _0x1ebd75=_0x4eac53;var _0x44493f=_0x81a57b(_0x4aad5b,_0x1ebd75(0x26d));return _0x393798(_0x44493f)=='symbol'?_0x44493f:_0x44493f+'';}function _0x4c6070(_0x2fefd7,_0x284f66,_0x373f54){return(_0x284f66=_0x141793(_0x284f66))in _0x2fefd7?Object['defineProperty'](_0x2fefd7,_0x284f66,{'value':_0x373f54,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2fefd7[_0x284f66]=_0x373f54,_0x2fefd7;}function _0x4336c2(_0x337206,_0x24b794){return function(_0x274afd,_0x2ad87e){_0x24b794(_0x274afd,_0x2ad87e,_0x337206);};}function _0x2365cc(_0x5d4ed4,_0x495802,_0x128175,_0x2ea6c0){const _0x567282=_0x4eac53;var _0x4f2064=arguments[_0x567282(0x1d6)],_0x306e76=_0x4f2064<0x3?_0x495802:_0x2ea6c0===null?_0x2ea6c0=Object[_0x567282(0x234)](_0x495802,_0x128175):_0x2ea6c0,_0xc39847;if(typeof Reflect==_0x567282(0x339)&&typeof Reflect['decorate']==_0x567282(0x20f))_0x306e76=Reflect[_0x567282(0x205)](_0x5d4ed4,_0x495802,_0x128175,_0x2ea6c0);else{for(var _0x26b156=_0x5d4ed4[_0x567282(0x1d6)]-0x1;_0x26b156>=0x0;_0x26b156--)(_0xc39847=_0x5d4ed4[_0x26b156])&&(_0x306e76=(_0x4f2064<0x3?_0xc39847(_0x306e76):_0x4f2064>0x3?_0xc39847(_0x495802,_0x128175,_0x306e76):_0xc39847(_0x495802,_0x128175))||_0x306e76);}return _0x4f2064>0x3&&_0x306e76&&Object['defineProperty'](_0x495802,_0x128175,_0x306e76),_0x306e76;}let _0x2a729a=_0x4eac53(0x2c6),_0x158cc9='mcp-config-dialog',_0x55be86=class extends _0x4ec9d6[_0x4eac53(0x28f)]{constructor(_0x1caa0f,_0x5f2bea,_0x3ee629,_0x575185,_0x16f78f,_0x55fa75,_0x41f884,_0x8f0923,_0x3bfc2b,_0x13aa93){const _0x116825=_0x4eac53;super(),this[_0x116825(0x29b)]=_0x1caa0f,this[_0x116825(0x221)]=_0x5f2bea,this[_0x116825(0x2de)]=_0x3ee629,this[_0x116825(0x295)]=_0x575185,this[_0x116825(0x1f6)]=_0x16f78f,this[_0x116825(0x2c0)]=_0x55fa75,this[_0x116825(0x2ca)]=_0x41f884,this[_0x116825(0x29d)]=_0x8f0923,this[_0x116825(0x30a)]=_0x3bfc2b,this[_0x116825(0x2c9)]=_0x13aa93,_0x4c6070(this,'_loading$',new _0x1788fe['BehaviorSubject'](!0x1)),_0x4c6070(this,_0x116825(0x1e2),new _0x1788fe[(_0x116825(0x1ff))]({})),_0x4c6070(this,'_config$',new _0x1788fe[(_0x116825(0x1ff))]({})),_0x4c6070(this,'_apiKey$',new _0x1788fe[(_0x116825(0x1ff))]('')),_0x4c6070(this,_0x116825(0x1d9),async _0x16202a=>{const _0x56e586=_0x116825;this['_loading$'][_0x56e586(0x241)](!0x0);try{var _0x4a09ed,_0x5f405d;let _0x381f9f=await this[_0x56e586(0x1d2)](_0x16202a);if(!_0x381f9f[_0x56e586(0x263)]){this['_messageService'][_0x56e586(0x2aa)]({'type':_0xaeac6f['MessageType'][_0x56e586(0x2cd)],'content':_0x381f9f['errorMessage']||this['_localeService']['t'](_0x56e586(0x1fb))});return;}_0x16202a['apiKey']?await this[_0x56e586(0x295)][_0x56e586(0x2d1)](_0x2a729a,_0x16202a['apiKey'][_0x56e586(0x25a)]()):await this['_localStorageService']['removeItem'](_0x2a729a),this[_0x56e586(0x34a)][_0x56e586(0x241)](((_0x4a09ed=_0x16202a[_0x56e586(0x316)])==null?void 0x0:_0x4a09ed[_0x56e586(0x25a)]())||''),this[_0x56e586(0x2c9)]['__setCustomHeaders']({'Authorization':_0x56e586(0x2ef)+((_0x5f405d=_0x16202a[_0x56e586(0x316)])==null?void 0x0:_0x5f405d[_0x56e586(0x25a)]())}),this['_messageService']['show']({'type':_0xaeac6f[_0x56e586(0x216)][_0x56e586(0x303)],'content':this[_0x56e586(0x29d)]['t'](_0x56e586(0x227))}),setTimeout(()=>{const _0x5a0736=_0x56e586;this[_0x5a0736(0x1f6)][_0x5a0736(0x1d3)](_0x158cc9);},0x320);}catch(_0x5e5af3){this[_0x56e586(0x30a)][_0x56e586(0x30f)](_0x56e586(0x31d),_0x5e5af3),this['_messageService'][_0x56e586(0x2aa)]({'type':_0xaeac6f[_0x56e586(0x216)]['Error'],'content':this['_localeService']['t']('mcpConfig.configError')});}finally{this['_loading$'][_0x56e586(0x241)](!0x1);}}),this[_0x116825(0x29a)](),this[_0x116825(0x2b5)](),this[_0x116825(0x2bb)]();}[_0x4eac53(0x22f)](){const _0x2f8892=_0x4eac53;let _0x55de7e=this[_0x2f8892(0x2de)]['getConfig'](_0x4ba3b5);_0x55de7e!=null&&_0x55de7e[_0x2f8892(0x284)]&&this['_dialogService'][_0x2f8892(0x1c5)]({'id':_0x158cc9,'title':{'title':this[_0x2f8892(0x29d)]['t'](_0x2f8892(0x20e))},'children':{'label':_0x2f8892(0x1c3)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x2fe402=_0x2f8892;this['_dialogService'][_0x2fe402(0x1d3)](_0x158cc9);}});}[_0x4eac53(0x259)](){const _0x380399=_0x4eac53;return this['_mcpCoreConfig$'][_0x380399(0x1c8)];}[_0x4eac53(0x2bb)](){const _0x3eba97=_0x4eac53;this['disposeWithMe'](this[_0x3eba97(0x2ca)][_0x3eba97(0x27c)](_0x3eba97(0x1c3),this[_0x3eba97(0x294)]()));}[_0x4eac53(0x294)](){const _0x38ac96=_0x4eac53;return(0x0,_0x39f484['connectInjector'])(()=>{const _0x2c8a82=_0x42cc;var _0x16a71e,_0x4ae253,_0x27a983;return(0x0,_0x4de230[_0x2c8a82(0x2dc)])(_0x421cef,{'config':this['_config$'][_0x2c8a82(0x1c8)],'mcpCoreConfig':this[_0x2c8a82(0x1e2)]['value'],'currentApiKey$':this[_0x2c8a82(0x34a)],'onSave':this['_handleConfigSave'],'loading':this['_loading$']['value'],'connectionStatus$':(_0x16a71e=this[_0x2c8a82(0x2c9)])==null?void 0x0:_0x16a71e[_0x2c8a82(0x27b)],'connectionError$':(_0x4ae253=this[_0x2c8a82(0x2c9)])==null?void 0x0:_0x4ae253[_0x2c8a82(0x240)],'currentSessionId$':(_0x27a983=this[_0x2c8a82(0x2c9)])==null?void 0x0:_0x27a983['sessionId$']});},this[_0x38ac96(0x29b)]);}[_0x4eac53(0x29a)](){const _0x147360=_0x4eac53;this[_0x147360(0x2c8)](this[_0x147360(0x2de)][_0x147360(0x20a)](_0x2906c6[_0x147360(0x276)])[_0x147360(0x1f9)](_0x3726e8=>{const _0x3f4d31=_0x147360;this[_0x3f4d31(0x1e2)][_0x3f4d31(0x241)](_0x3726e8||{});}));let _0x5ac8c0=this['_configService'][_0x147360(0x26f)](_0x2906c6[_0x147360(0x276)]);this['_mcpCoreConfig$'][_0x147360(0x241)](_0x5ac8c0||{}),this[_0x147360(0x2c8)](this['_configService']['subscribeConfigValue$'](_0x4ba3b5)['subscribe'](_0xac3f6d=>{const _0x18b402=_0x147360;this[_0x18b402(0x34c)][_0x18b402(0x241)](_0xac3f6d||{});}));let _0x4e83ca=this[_0x147360(0x2de)][_0x147360(0x26f)](_0x4ba3b5);this['_config$'][_0x147360(0x241)](_0x4e83ca||{});}async['_loadStoredApiKey'](){const _0x189090=_0x4eac53;let _0x577e44=this[_0x189090(0x2de)][_0x189090(0x26f)](_0x4ba3b5);if(!(_0x577e44!=null&&_0x577e44[_0x189090(0x284)]))return;let _0x2a6655=await this[_0x189090(0x295)][_0x189090(0x2f9)](_0x2a729a);_0x2a6655&&(this[_0x189090(0x2c9)]['__setCustomHeaders']({'Authorization':_0x189090(0x2ef)+_0x2a6655}),this[_0x189090(0x34a)]['next'](_0x2a6655));}async[_0x4eac53(0x1d2)](_0x565262){const _0x7b3fe6=_0x4eac53;if(!_0x565262[_0x7b3fe6(0x316)]||_0x565262[_0x7b3fe6(0x316)][_0x7b3fe6(0x25a)]()[_0x7b3fe6(0x1d6)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x7b3fe6(0x351))};if(_0x565262[_0x7b3fe6(0x316)][_0x7b3fe6(0x25a)]()[_0x7b3fe6(0x1d6)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x7b3fe6(0x29d)]['t'](_0x7b3fe6(0x24f))};try{let _0x42e970=await this[_0x7b3fe6(0x29b)][_0x7b3fe6(0x218)](_0x2906c6['MCPConnectionController'])[_0x7b3fe6(0x1ea)](_0x565262[_0x7b3fe6(0x316)][_0x7b3fe6(0x25a)]());return _0x42e970[_0x7b3fe6(0x263)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x42e970[_0x7b3fe6(0x30f)]||this['_localeService']['t'](_0x7b3fe6(0x33a))};}catch(_0x19303e){return console[_0x7b3fe6(0x1eb)](_0x7b3fe6(0x2e7),_0x19303e),{'isValid':!0x0};}}};_0x55be86=_0x2365cc([_0x4336c2(0x0,(0x0,_0x4ec9d6['Inject'])(_0x4ec9d6[_0x4eac53(0x22a)])),_0x4336c2(0x1,_0x39f484[_0x4eac53(0x2cc)]),_0x4336c2(0x2,_0x4ec9d6[_0x4eac53(0x281)]),_0x4336c2(0x3,_0x4ec9d6[_0x4eac53(0x237)]),_0x4336c2(0x4,_0x39f484[_0x4eac53(0x2a3)]),_0x4336c2(0x5,_0x39f484[_0x4eac53(0x258)]),_0x4336c2(0x6,(0x0,_0x4ec9d6[_0x4eac53(0x1df)])(_0x39f484[_0x4eac53(0x337)])),_0x4336c2(0x7,(0x0,_0x4ec9d6[_0x4eac53(0x1df)])(_0x4ec9d6[_0x4eac53(0x2b0)])),_0x4336c2(0x8,_0x4ec9d6[_0x4eac53(0x315)]),_0x4336c2(0x9,(0x0,_0x4ec9d6[_0x4eac53(0x1df)])(_0x2906c6[_0x4eac53(0x2d7)]))],_0x55be86);let _0x5ae74d={'id':_0x4eac53(0x278),'type':_0x4ec9d6[_0x4eac53(0x25d)][_0x4eac53(0x2a8)],'handler':async(_0x1fa4ac,_0x4c6f3d)=>(_0x1fa4ac[_0x4eac53(0x218)](_0x55be86)[_0x4eac53(0x22f)](),!0x0)};function _0x451ab8(_0x594727,_0x5095ed){const _0x55ba93=_0x4eac53;switch(_0x594727){case _0x2906c6[_0x55ba93(0x321)][_0x55ba93(0x200)]:return'mcpStatus.disconnected';case _0x2906c6[_0x55ba93(0x321)][_0x55ba93(0x207)]:return _0x55ba93(0x215);case _0x2906c6[_0x55ba93(0x321)][_0x55ba93(0x1fd)]:return _0x55ba93(0x1cd);case _0x2906c6['MCPConnectionStatus'][_0x55ba93(0x21c)]:switch(_0x5095ed){case _0x2906c6[_0x55ba93(0x2c3)][_0x55ba93(0x239)]:return _0x55ba93(0x25e);case _0x2906c6[_0x55ba93(0x2c3)]['SESSION_ID_OCCUPIED']:return _0x55ba93(0x306);case _0x2906c6['MCPConnectionError'][_0x55ba93(0x23c)]:return _0x55ba93(0x1cb);case _0x2906c6[_0x55ba93(0x2c3)][_0x55ba93(0x222)]:return'mcpStatus.maxRetriesExceeded';default:return _0x55ba93(0x343);}case _0x2906c6[_0x55ba93(0x321)][_0x55ba93(0x1f7)]:return _0x55ba93(0x269);default:return _0x55ba93(0x246);}}function _0x284fa7(_0x2de9a2,_0x348ae4,_0xd0926e,_0x607e9d=!0x0){const _0x4869ee=_0x4eac53;let _0x34a435=_0x451ab8(_0x2de9a2,_0x348ae4),_0x331a2e=_0xd0926e['t'](_0x34a435);return _0x607e9d?_0x2de9a2===_0x2906c6['MCPConnectionStatus']['DISCONNECTED']&&_0x348ae4===_0x2906c6[_0x4869ee(0x2c3)][_0x4869ee(0x239)]?_0x331a2e+_0x4869ee(0x27a)+_0xd0926e['t'](_0x4869ee(0x312)):_0x2de9a2===_0x2906c6[_0x4869ee(0x321)][_0x4869ee(0x1fd)]?''+_0x331a2e:_0x2de9a2===_0x2906c6[_0x4869ee(0x321)][_0x4869ee(0x200)]||_0x2de9a2===_0x2906c6['MCPConnectionStatus'][_0x4869ee(0x21c)]?_0x331a2e+_0x4869ee(0x27a)+_0xd0926e['t']('mcpStatus.clickToConnect'):_0x331a2e:_0x331a2e;}function _0x3d1734(_0x53cd8d){const _0x5ae6ee=_0x4eac53;switch(_0x53cd8d){case _0x2906c6[_0x5ae6ee(0x321)]['CONNECTED']:return _0x5ae6ee(0x225);case _0x2906c6[_0x5ae6ee(0x321)][_0x5ae6ee(0x207)]:case _0x2906c6['MCPConnectionStatus'][_0x5ae6ee(0x1f7)]:return'univer-text-yellow-500';case _0x2906c6[_0x5ae6ee(0x321)][_0x5ae6ee(0x21c)]:case _0x2906c6[_0x5ae6ee(0x321)][_0x5ae6ee(0x200)]:return _0x5ae6ee(0x25c);default:return'univer-text-gray-500';}}function _0x202559(_0x4df5d2){const _0x2f5d85=_0x4eac53;let {status$:_0x3e912e,error$:_0x138658,onConfigure:_0x38a27c,showClickable:_0x4b85ec=!0x0}=_0x4df5d2,_0xcb21e8=(0x0,_0x39f484[_0x2f5d85(0x2d6)])(_0x3e912e,_0x2906c6[_0x2f5d85(0x321)][_0x2f5d85(0x200)]),_0x469a18=(0x0,_0x39f484['useObservable'])(_0x138658,_0x2906c6[_0x2f5d85(0x2c3)]['NONE']),_0x386fbe=(0x0,_0x39f484[_0x2f5d85(0x23d)])(_0x4ec9d6[_0x2f5d85(0x2b0)]),_0x1aa017=_0xcb21e8===_0x2906c6['MCPConnectionStatus'][_0x2f5d85(0x1fd)];_0xcb21e8===_0x2906c6[_0x2f5d85(0x321)][_0x2f5d85(0x207)]||_0x2906c6[_0x2f5d85(0x321)]['RETRYING'];let _0x5b7206=_0x386fbe['t'](_0x451ab8(_0xcb21e8,_0x469a18)),_0x4b9f34=_0x284fa7(_0xcb21e8,_0x469a18,_0x386fbe,_0x4b85ec),_0xf6a299=_0x3d1734(_0xcb21e8),_0x221a75=_0x1aa017?(0x0,_0x4de230[_0x2f5d85(0x2dc)])(_0x2347ce,{}):(0x0,_0x4de230['jsx'])(_0x399478,{}),_0x16f7be=(0x0,_0x5eaaf6[_0x2f5d85(0x1f3)])(()=>{_0x4b85ec&&_0x38a27c&&_0x38a27c();},[_0x4b85ec,_0x38a27c]);function _0x2a4f63(){const _0x2c3217=_0x2f5d85;return(0x0,_0x4de230[_0x2c3217(0x29e)])(_0x2c3217(0x2ec),{'className':(0x0,_0xaeac6f[_0x2c3217(0x260)])('univer-flex\x20univer-items-center',_0x4b85ec&&_0x38a27c&&_0x2c3217(0x2cb)),'role':_0x2c3217(0x33f),'onClick':_0x4b85ec&&_0x38a27c?_0x16f7be:void 0x0,'children':[(0x0,_0x4de230[_0x2c3217(0x2dc)])('div',{'className':(0x0,_0xaeac6f[_0x2c3217(0x260)])(_0x2c3217(0x251),_0xf6a299),'children':_0x221a75}),(0x0,_0x4de230[_0x2c3217(0x2dc)])(_0x2c3217(0x2ec),{'className':_0x2c3217(0x31b),'children':_0x5b7206})]});}return(0x0,_0x4de230[_0x2f5d85(0x2dc)])(_0xaeac6f[_0x2f5d85(0x1fe)],{'title':_0x4b9f34,'placement':_0x2f5d85(0x30e),'children':_0x2a4f63()});}let _0x3d2af7=class extends _0x4ec9d6[_0x4eac53(0x28f)]{constructor(_0x1b43f9,_0x57dcb2,_0x1548cd,_0x93229f){const _0x508a28=_0x4eac53;super(),this['_injector']=_0x1b43f9,this[_0x508a28(0x304)]=_0x57dcb2,this['_uiPartsService']=_0x1548cd,this[_0x508a28(0x2de)]=_0x93229f,this['_initAutoConnect'](),this[_0x508a28(0x30b)]();}['_initAutoConnect'](){const _0x307c4c=_0x4eac53;let _0x356fca=this[_0x307c4c(0x2de)][_0x307c4c(0x26f)](_0x4ba3b5);_0x356fca!=null&&_0x356fca['showDeveloperTools']&&(this[_0x307c4c(0x304)]['enableAutoConnect']=!0x1);}[_0x4eac53(0x30b)](){const _0x284bbf=_0x4eac53;let _0x2f2346=this['_configService'][_0x284bbf(0x26f)](_0x4ba3b5);(_0x2f2346==null?void 0x0:_0x2f2346['showStatus'])!==!0x1&&this['disposeWithMe'](this[_0x284bbf(0x221)][_0x284bbf(0x204)](_0x39f484[_0x284bbf(0x243)]['HEADER_MENU'],()=>{const _0x48bfec=_0x284bbf;var _0x3fa634;return(0x0,_0x39f484[_0x48bfec(0x2f5)])(_0x500f63({'status$':this[_0x48bfec(0x304)][_0x48bfec(0x27b)],'error$':this[_0x48bfec(0x304)]['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x3fa634=_0x2f2346==null?void 0x0:_0x2f2346['showDeveloperTools'])==null?!0x1:_0x3fa634}),this[_0x48bfec(0x29b)]);}));}[_0x4eac53(0x32e)](){const _0x39b917=_0x4eac53;this[_0x39b917(0x29b)][_0x39b917(0x218)](_0x55be86)[_0x39b917(0x22f)]();}};_0x3d2af7=_0x2365cc([_0x4336c2(0x0,(0x0,_0x4ec9d6[_0x4eac53(0x1df)])(_0x4ec9d6[_0x4eac53(0x22a)])),_0x4336c2(0x1,(0x0,_0x4ec9d6[_0x4eac53(0x1df)])(_0x2906c6[_0x4eac53(0x2d7)])),_0x4336c2(0x2,_0x39f484[_0x4eac53(0x2cc)]),_0x4336c2(0x3,_0x4ec9d6[_0x4eac53(0x281)])],_0x3d2af7);function _0x500f63(_0x11da25){let {status$:_0x56eaef,error$:_0xfab8d4,onConfigure:_0x4595e7,showClickable:_0x3c512b}=_0x11da25;return function(){return(0x0,_0x4de230['jsx'])(_0x202559,{'status$':_0x56eaef,'error$':_0xfab8d4,'onConfigure':_0x4595e7,'showClickable':_0x3c512b});};}function _0x1a6522(_0x50c4b2){const _0x7aa82c=_0x4eac53;return{'id':_0x5ae74d['id'],'type':_0x39f484[_0x7aa82c(0x309)][_0x7aa82c(0x31c)],'icon':_0x7aa82c(0x270),'title':_0x7aa82c(0x20e),'tooltip':_0x7aa82c(0x20e)};}let _0xbd719f={[_0x39f484[_0x4eac53(0x250)][_0x4eac53(0x1e5)]]:{[_0x5ae74d['id']]:{'order':0xa,'menuItemFactory':_0x1a6522}}},_0x1fb79c=class extends _0x4ec9d6[_0x4eac53(0x28f)]{constructor(_0x209c7e,_0x33a035){const _0x2e7412=_0x4eac53;super(),this['_commandService']=_0x209c7e,this[_0x2e7412(0x21d)]=_0x33a035,this[_0x2e7412(0x2bf)](),this[_0x2e7412(0x212)]();}['_initializeCommands'](){const _0x4688ca=_0x4eac53;[_0x5ae74d][_0x4688ca(0x313)](_0x11a6e6=>{const _0xdba146=_0x4688ca;this[_0xdba146(0x2c8)](this[_0xdba146(0x342)]['registerCommand'](_0x11a6e6));});}[_0x4eac53(0x212)](){const _0xd008b2=_0x4eac53;this[_0xd008b2(0x21d)][_0xd008b2(0x208)](_0xbd719f);}};_0x1fb79c=_0x2365cc([_0x4336c2(0x0,_0x4ec9d6['ICommandService']),_0x4336c2(0x1,_0x39f484[_0x4eac53(0x25b)])],_0x1fb79c);let _0x4fafee={'mcpStatus':{'disconnected':_0x4eac53(0x314),'connecting':_0x4eac53(0x1e4),'connected':_0x4eac53(0x1da),'failed':_0x4eac53(0x2ad),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x4eac53(0x253),'sessionOccupied':_0x4eac53(0x298),'networkError':_0x4eac53(0x1ed),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4eac53(0x2fb),'clickToConfigure':_0x4eac53(0x1cf)},'mcpConfig':{'title':_0x4eac53(0x249),'description':_0x4eac53(0x223),'apiKey':_0x4eac53(0x297),'apiKeyPlaceholder':_0x4eac53(0x257),'apiKeyHint':_0x4eac53(0x1fa),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4eac53(0x2f3),'connectionInfo':_0x4eac53(0x1ec),'mcpClientConfig':_0x4eac53(0x1ec),'configInstructions':_0x4eac53(0x22b),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x4eac53(0x1f1),'configStep2':_0x4eac53(0x2e4),'configStep3':_0x4eac53(0x33b),'sessionId':_0x4eac53(0x248),'sessionIdDescription':_0x4eac53(0x1d0),'authorizationDescription':_0x4eac53(0x302),'configParameters':_0x4eac53(0x28a),'maxRetries':'Max\x20Retries','save':_0x4eac53(0x244),'saving':'Saving...','note1':_0x4eac53(0x352),'note2':_0x4eac53(0x2e1),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x4eac53(0x265),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4eac53(0x323),'apiKeyTooShort':_0x4eac53(0x1e9),'invalidConfig':_0x4eac53(0x2f4),'invalidApiKey':_0x4eac53(0x224)},'connectionStatus':{'disconnected':_0x4eac53(0x2f6),'connecting':_0x4eac53(0x217),'connected':_0x4eac53(0x20b),'failed':_0x4eac53(0x30c),'retrying':_0x4eac53(0x1dd)},'connectionError':{'unauthorized':_0x4eac53(0x2b9),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4eac53(0x1bf),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x5c9745={'mcpStatus':{'disconnected':_0x4eac53(0x299),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x4eac53(0x26a),'retrying':_0x4eac53(0x23f),'unknown':_0x4eac53(0x247),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x4eac53(0x2be),'networkError':_0x4eac53(0x1ca),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x4eac53(0x311),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x4eac53(0x2db),'description':_0x4eac53(0x1c4),'apiKey':_0x4eac53(0x27e),'apiKeyPlaceholder':_0x4eac53(0x328),'apiKeyHint':_0x4eac53(0x24e),'enableAuth':'启用身份验证','enableAuthHint':_0x4eac53(0x2b7),'connectionInfo':_0x4eac53(0x209),'mcpClientConfig':_0x4eac53(0x209),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':'配置步骤:','configStep1':_0x4eac53(0x1de),'configStep2':_0x4eac53(0x1e0),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x4eac53(0x27d),'sessionIdDescription':_0x4eac53(0x2e6),'authorizationDescription':_0x4eac53(0x2af),'configParameters':_0x4eac53(0x2f0),'maxRetries':'最大重试次数','save':_0x4eac53(0x29f),'saving':_0x4eac53(0x1ce),'note1':_0x4eac53(0x230),'note2':_0x4eac53(0x22d),'configSaved':_0x4eac53(0x2e9),'configError':_0x4eac53(0x264),'apiApplyInfo':{'title':_0x4eac53(0x26c),'description':_0x4eac53(0x2d2),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x4eac53(0x286)},'validation':{'apiKeyRequired':_0x4eac53(0x341),'apiKeyTooShort':_0x4eac53(0x2bd),'invalidConfig':_0x4eac53(0x2ce),'invalidApiKey':_0x4eac53(0x2d3)},'connectionStatus':{'disconnected':'未连接','connecting':_0x4eac53(0x2d8),'connected':'已连接','failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x4eac53(0x322),'sessionOccupied':_0x4eac53(0x332),'networkError':_0x4eac53(0x1f4),'maxRetriesExceeded':_0x4eac53(0x2e3)}}};var _0x1c7271=_0x4eac53(0x245),_0x1c3c79=_0x4eac53(0x213);let _0x1cd126=class extends _0x4ec9d6[_0x4eac53(0x2ee)]{constructor(_0x43ba30=_0x1aee4b,_0x1aed89,_0x5ce97b,_0x43ed41,_0x4f3b61,_0x8509e5){const _0x3c5db8=_0x4eac53;super(),this[_0x3c5db8(0x214)]=_0x43ba30,this[_0x3c5db8(0x29b)]=_0x1aed89,this[_0x3c5db8(0x2de)]=_0x5ce97b,this[_0x3c5db8(0x221)]=_0x43ed41,this[_0x3c5db8(0x295)]=_0x4f3b61,this[_0x3c5db8(0x29d)]=_0x8509e5;let {..._0x4e7212}=(0x0,_0x4ec9d6[_0x3c5db8(0x2f8)])({},_0x1aee4b,this[_0x3c5db8(0x214)]);this[_0x3c5db8(0x2de)][_0x3c5db8(0x2a4)](_0x4ba3b5,_0x4e7212);}async[_0x4eac53(0x1e6)](){const _0x551435=_0x4eac53;let _0x4a638b=[[_0x3d2af7],[_0x55be86],[_0x1fb79c]];this['_injector'][_0x551435(0x203)](_0x126097[_0x551435(0x274)])||_0x4a638b[_0x551435(0x277)]([_0x126097['ISocketService'],{'useClass':_0x126097['WebSocketService']}]),_0x4a638b[_0x551435(0x313)](_0x2f72a7=>this[_0x551435(0x29b)][_0x551435(0x26e)](_0x2f72a7)),this[_0x551435(0x29b)][_0x551435(0x218)](_0x3d2af7),this[_0x551435(0x29b)]['get'](_0x55be86),this[_0x551435(0x29b)][_0x551435(0x218)](_0x1fb79c);}};_0x4c6070(_0x1cd126,_0x4eac53(0x1e1),_0x4eac53(0x20d)),_0x4c6070(_0x1cd126,'packageName',_0x1c7271),_0x4c6070(_0x1cd126,'version',_0x1c3c79),_0x1cd126=_0x2365cc([(0x0,_0x4ec9d6[_0x4eac53(0x326)])(_0x2906c6['UniverMCPPlugin']),_0x4336c2(0x1,(0x0,_0x4ec9d6[_0x4eac53(0x1df)])(_0x4ec9d6[_0x4eac53(0x22a)])),_0x4336c2(0x2,_0x4ec9d6[_0x4eac53(0x281)]),_0x4336c2(0x3,_0x39f484[_0x4eac53(0x2cc)]),_0x4336c2(0x4,_0x4ec9d6[_0x4eac53(0x237)]),_0x4336c2(0x5,(0x0,_0x4ec9d6[_0x4eac53(0x1df)])(_0x4ec9d6[_0x4eac53(0x2b0)]))],_0x1cd126),_0x2622dc[_0x4eac53(0x1c3)]=_0x421cef,Object['defineProperty'](_0x2622dc,_0x4eac53(0x1d5),{'enumerable':!0x0,'get':function(){return _0x55be86;}}),Object[_0x4eac53(0x335)](_0x2622dc,_0x4eac53(0x25f),{'enumerable':!0x0,'get':function(){return _0x3d2af7;}}),_0x2622dc[_0x4eac53(0x1c6)]=_0x202559,Object[_0x4eac53(0x335)](_0x2622dc,'MCPUIMenuController',{'enumerable':!0x0,'get':function(){return _0x1fb79c;}}),_0x2622dc[_0x4eac53(0x347)]=_0x5ae74d,Object[_0x4eac53(0x335)](_0x2622dc,_0x4eac53(0x310),{'enumerable':!0x0,'get':function(){return _0x1cd126;}}),_0x2622dc['enUS']=_0x4fafee,_0x2622dc[_0x4eac53(0x22e)]=_0x5c9745;}));function _0x1d11(){const _0x42f32e=['MCP:\x20Unauthorized','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-font-medium','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Enter\x20your\x20API\x20key','IMessageService','getCurrentConfig','trim','IMenuManagerService','univer-text-red-500','CommandType','mcpStatus.unauthorized','MCPConnectionUIController','clsx','mcpConfig.connectionInfo','React','isValid','配置保存失败','What\x20is\x20API\x20Key?','mcpConfig.connectionError.networkError','help-icon','univerjs-icon\x20univerjs-icon-','mcpStatus.retrying','MCP\x20连接失败','UniverProMcpUi','什么是\x20API\x20密钥?','string','add','getConfig','MenuIcon','OnLineIcon','react/jsx-runtime','mcpConfig.configInstructions','ISocketService','UniverUi','MCP_PLUGIN_CONFIG_KEY','push','mcp-ui.command.openConfigPanel','toPrimitive','\x20-\x20','connectionStatus$','register','会话ID','API\x20密钥','@univerjs/ui','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','IConfigService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','univer-space-y-3','showDeveloperTools','on-line-icon','几秒钟内获取您的\x20API\x20密钥','7432537dRdmwc','toString','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','Configuration\x20Parameters:','mcpConfig.connectionStatus.disconnected','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','white','xlink:href','Disposable','8vUHNlx','univer-flex\x20univer-items-center\x20univer-gap-2','univer-shrink-0\x20univer-text-blue-500','colorChannel1','_createConfigPanelComponent','_localStorageService','mcpConfig.connectionError.sessionOccupied','API\x20Key','MCP:\x20Session\x20ID\x20Occupied','MCP\x20已断开','_initConfigSync','_injector','use','_localeService','jsxs','保存配置','https://console.univer.plus','221706qTqQXl','useRef','IDialogService','setConfig','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','includes','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','COMMAND','span','show','univer-bg-green-500','fill','MCP\x20Connection\x20Failed','CloseIcon','带有\x20Bearer\x20前缀的\x20API\x20密钥。','LocaleService','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','http://www.w3.org/2000/svg','useState','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','_loadStoredApiKey','assign','启用身份验证以获得安全连接','univer.plus','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','univer-space-y-5','_registerComponent','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','API\x20密钥长度至少需要\x2010\x20位','MCP:\x20会话\x20ID\x20已被占用','_initializeCommands','_messageService','url(#on-line-icon_clip0_910_349)','round','MCPConnectionError','random','UniverProMcp','mcp.apiKey','tag','disposeWithMe','_mcpConnectionController','_componentManager','univer-cursor-pointer\x20hover:univer-opacity-80','IUIPartsService','Error','配置无效','close-icon','univer-bg-red-500','setItem','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','API\x20密钥无效,请检查密钥是否正确','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','mcpConfig.save','useObservable','MCPConnectionController','连接中...','entries','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','MCP\x20配置','jsx','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','_configService','createElement','mcpConfig.connectionStatus.connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','超出最大重试次数,请稍后再试','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','0\x200\x2017\x2016','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','配置保存成功','mask','defs','div','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','Plugin','Bearer\x20','配置参数:','univer-text-xs\x20univer-text-gray-500','_blank','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','connectInjector','Disconnected','currentColor','merge','getItem','stroke','Click\x20to\x20connect\x20MCP','mcpConfig.apiApplyInfo.title','map','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.connectionStatus.failed','none','<SESSION_ID>','API\x20key\x20with\x20Bearer\x20prefix.','Success','_connectionController','1em','mcpStatus.sessionOccupied','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','on-line-icon_clip0_910_349','MenuItemType','_logService','_initStatusComponent','Connection\x20Failed','univer-size-4','bottom','error','UniverMCPUIPlugin','点击连接\x20MCP','mcpStatus.clickToConfigure','forEach','MCP\x20Disconnected','ILogService','apiKey','mcp-ui.config','Button','univer-text-white','mcpConfig.configStep1','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','BUTTON','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','attrs','mcpConfig.apiApplyInfo.getStarted','svg','MCPConnectionStatus','权限验证失败,请检查您的\x20API\x20密钥','API\x20key\x20is\x20required','OffLineIcon','80ZAfVCP','DependentOn','check-mark-icon','请输入您的\x20API\x20密钥','mcpConfig.note2','univer-flex\x20univer-items-start\x20univer-gap-2','translate(.97)','univer.ai','Input','_handleConfigure','substring','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','Module','会话\x20ID\x20已被占用,请稍后再试','0\x200\x2016\x2016','evenodd','defineProperty','replace','ComponentManager','pre','object','mcpConfig.validation.invalidApiKey','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','url(#$1','text','univer-flex\x20univer-items-center\x20univer-gap-3','button','9409203WEnPMx','API\x20密钥不能为空','_commandService','mcpStatus.failed','clipPath','univer-text-xs\x20univer-text-gray-600','exports','OpenMCPConfigPanelCommand','2134773nCvgCF','M0\x200H16V16H0z','_apiKey$','UniverIcon','_config$','mcpConfig.connectionStatus.connecting','default','UniverDesign','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','mcpConfig.validation.apiKeyRequired','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcpServerUrl','http','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','91620ejuQmn','mcpConfig.description','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','MCPConfigPanel','配置\x20MCP\x20使用\x20AI\x20操作电子表格','open','MCPStatusDisplay','path','value','forwardRef','MCP:\x20网络错误','mcpStatus.networkError','displayName','mcpStatus.connected','保存中...','Click\x20to\x20configure\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','idSuffix','_validateConfig','close','https://mcp.univer.ai/mcp/?univer_session_id=','MCPConfigUIController','length','off-line-icon_clip0_910_343','rxjs','_handleConfigSave','MCP\x20Connected','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-size-2\x20univer-rounded-full','Retrying...','复制以下\x20JSON\x20配置','Inject','将配置添加到您的\x20MCP\x20客户端设置文件中','pluginName','_mcpCoreConfig$','univer-min-w-0\x20univer-flex-1','MCP\x20Connecting...','OTHERS','onStarting','off','@univerjs-pro/mcp','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','validateApiKey','warn','MCP\x20Client\x20Configuration','MCP:\x20Network\x20Error','univer-flex\x20univer-flex-wrap\x20univer-gap-2','HelpIcon','mcpConfig.configStepTitle','Copy\x20the\x20JSON\x20configuration\x20below','@univerjs/design','useCallback','网络连接错误,请检查您的网络连接','univer-text-blue-600','_dialogService','RETRYING','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','subscribe','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpConfig.validation.invalidConfig','toStringTag','CONNECTED','Tooltip','BehaviorSubject','DISCONNECTED','mcpConfig.apiApplyInfo.description','univer-flex\x20univer-items-start\x20univer-gap-3','has','registerComponent','decorate','191661HeGuqt','CONNECTING','mergeMenu','MCP\x20客户端配置','subscribeConfigValue$','Connected','mcpConfig.note1','MCP_UI_PLUGIN','mcpConfig.title','function','mcpConfig.authorizationDescription','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','_initializeMenus','1.0.0-alpha.2','_config','mcpStatus.connecting','MessageType','Connecting...','get','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','univer_session_id:','@univerjs/network','FAILED','_menuManagerService','mcpConfig.apiKeyPlaceholder','mcpConfig.configStep3','<API_KEY>','_uiPartsService','MAX_RETRIES_EXCEEDED','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-text-green-500','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','mcpConfig.configSaved','univer-shrink-0\x20univer-text-red-500','children','Injector','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','@univerjs/core','您的\x20API\x20密钥安全存储在本地存储中','zhCN','showConfigPanel','配置更改将立即生效','univer-text-gray-400','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','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','getOwnPropertyDescriptor','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','univer-space-y-2','ILocalStorageService','CheckMarkIcon','UNAUTHORIZED','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','symbol','NETWORK_ERROR','useDependency','580398eocJJw','MCP\x20重连中...','connectionError$','next','NONE','BuiltInUIPart','Save\x20Configuration','@univerjs-pro/mcp-ui','mcpStatus.unknown','MCP\x20状态未知','Session\x20ID','MCP\x20Configuration','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','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','univer-bg-gray-500','您的\x20API\x20密钥将在此浏览器中本地存储','mcpConfig.validation.apiKeyTooShort','RibbonStartGroup','univer-mr-2\x20univer-flex\x20univer-text-xl','mcpConfig.sessionIdDescription'];_0x1d11=function(){return _0x42f32e;};return _0x1d11();}
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1601(){var _0x5dd72b=['MCP\x20Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','932668MnoNwP','49mftqln','Disconnected','MCP:\x20Network\x20Error','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','5890WJhYfZ','API\x20Key','13kmZulh','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enter\x20your\x20API\x20key','UniverProMcpUiCaES','8194gRWyTh','MCP\x20Retrying...','54xbSCHW','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','exports','amd','Connection\x20Failed','Retrying...','MCP\x20Client\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','2176311NbPiAD','MCP\x20Unknown\x20Status','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20Parameters:','API\x20key\x20with\x20Bearer\x20prefix.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','262896AVqnVo','MCP\x20Disconnected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Max\x20Retries','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Configuration','Configuration\x20Steps:','Configuration\x20saved\x20successfully','MCP\x20Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20configuration','Univer\x20AI\x20Console','Session\x20ID','Connecting...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','3624pyxuUu','function','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enable\x20authentication\x20for\x20secure\x20connections','13719299IrgSgF','MCP:\x20Unauthorized','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','1233470jGHVrO','MCP:\x20Max\x20Retries\x20Exceeded','Saving...'];_0x1601=function(){return _0x5dd72b;};return _0x1601();}function _0x1dc1(_0x1a254f,_0x110c30){_0x1a254f=_0x1a254f-0x1ac;var _0x160107=_0x1601();var _0x1dc122=_0x160107[_0x1a254f];return _0x1dc122;}(function(_0x57fc45,_0x2d7686){var _0x3f7d56=_0x1dc1,_0x38859b=_0x57fc45();while(!![]){try{var _0x282693=-parseInt(_0x3f7d56(0x1c0))/0x1*(parseInt(_0x3f7d56(0x1c4))/0x2)+parseInt(_0x3f7d56(0x1ce))/0x3+-parseInt(_0x3f7d56(0x1b9))/0x4+parseInt(_0x3f7d56(0x1be))/0x5*(parseInt(_0x3f7d56(0x1ac))/0x6)+parseInt(_0x3f7d56(0x1ba))/0x7*(-parseInt(_0x3f7d56(0x1d5))/0x8)+parseInt(_0x3f7d56(0x1c6))/0x9*(parseInt(_0x3f7d56(0x1b4))/0xa)+-parseInt(_0x3f7d56(0x1b1))/0xb;if(_0x282693===_0x2d7686)break;else _0x38859b['push'](_0x38859b['shift']());}catch(_0x3a7a27){_0x38859b['push'](_0x38859b['shift']());}}}(_0x1601,0x64eb0),function(_0x6cffde,_0x11b0fd){var _0xf8caa1=_0x1dc1;typeof exports=='object'&&typeof module<'u'?module[_0xf8caa1(0x1c8)]=_0x11b0fd():typeof define==_0xf8caa1(0x1ad)&&define[_0xf8caa1(0x1c9)]?define([],_0x11b0fd):(_0x6cffde=typeof globalThis<'u'?globalThis:_0x6cffde||self,_0x6cffde[_0xf8caa1(0x1c3)]=_0x11b0fd());}(this,function(){var _0x38509c=_0x1dc1;return{'mcpStatus':{'disconnected':_0x38509c(0x1d6),'connecting':'MCP\x20Connecting...','connected':_0x38509c(0x1dd),'failed':_0x38509c(0x1b7),'retrying':_0x38509c(0x1c5),'unknown':_0x38509c(0x1cf),'unauthorized':_0x38509c(0x1b2),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x38509c(0x1bc),'maxRetriesExceeded':_0x38509c(0x1b5),'clickToConnect':_0x38509c(0x1ae),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x38509c(0x1da),'description':_0x38509c(0x1af),'apiKey':_0x38509c(0x1bf),'apiKeyPlaceholder':_0x38509c(0x1c2),'apiKeyHint':_0x38509c(0x1e3),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x38509c(0x1b0),'connectionInfo':_0x38509c(0x1cc),'mcpClientConfig':_0x38509c(0x1cc),'configInstructions':_0x38509c(0x1de),'configStepTitle':_0x38509c(0x1db),'configStep1':_0x38509c(0x1b8),'configStep2':_0x38509c(0x1d7),'configStep3':_0x38509c(0x1c7),'sessionId':_0x38509c(0x1e1),'sessionIdDescription':_0x38509c(0x1e4),'authorizationDescription':_0x38509c(0x1d3),'configParameters':_0x38509c(0x1d2),'maxRetries':_0x38509c(0x1d8),'save':'Save\x20Configuration','saving':_0x38509c(0x1b6),'note1':_0x38509c(0x1c1),'note2':_0x38509c(0x1d4),'configSaved':_0x38509c(0x1dc),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x38509c(0x1e0),'getStarted':_0x38509c(0x1d0)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x38509c(0x1df),'invalidApiKey':_0x38509c(0x1d1)},'connectionStatus':{'disconnected':_0x38509c(0x1bb),'connecting':_0x38509c(0x1e2),'connected':'Connected','failed':_0x38509c(0x1ca),'retrying':_0x38509c(0x1cb)},'connectionError':{'unauthorized':_0x38509c(0x1d9),'sessionOccupied':_0x38509c(0x1cd),'networkError':_0x38509c(0x1b3),'maxRetriesExceeded':_0x38509c(0x1bd)}}};}));
|
package/lib/umd/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x3bba(_0x305343,_0x154961){_0x305343=_0x305343-0x140;var _0x5707fd=_0x5707();var _0x3bbab8=_0x5707fd[_0x305343];return _0x3bbab8;}function _0x5707(){var _0x1decf6=['230SXvsBz','MCP\x20Retrying...','Enter\x20your\x20API\x20key','2049334ILfXYw','MCP\x20Configuration','Save\x20Configuration','MCP\x20Unknown\x20Status','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Univer\x20AI\x20Console','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connected','MCP:\x20Network\x20Error','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Unauthorized','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','UniverProMcpUiEnUS','Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connection\x20Failed','6ImlUlk','63VHGJRi','API\x20Key','Click\x20to\x20configure\x20MCP','Max\x20Retries','MCP:\x20Max\x20Retries\x20Exceeded','Click\x20to\x20connect\x20MCP','Retrying...','object','Configuration\x20Parameters:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Saving...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','181071OVIxsX','19746JEGpwr','MCP:\x20Session\x20ID\x20Occupied','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Steps:','42579VmPxyI','MCP\x20Client\x20Configuration','33rxwKUs','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','function','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','23044BYPiGI','647608uvKXGE','MCP\x20Disconnected','Invalid\x20configuration','Connected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','1385690ZzMKDp','Session\x20ID','API\x20key\x20with\x20Bearer\x20prefix.'];_0x5707=function(){return _0x1decf6;};return _0x5707();}(function(_0x16dae7,_0x79b07){var _0x2c293b=_0x3bba,_0x1d079f=_0x16dae7();while(!![]){try{var _0x457b10=parseInt(_0x2c293b(0x144))/0x1*(parseInt(_0x2c293b(0x176))/0x2)+parseInt(_0x2c293b(0x169))/0x3*(parseInt(_0x2c293b(0x149))/0x4)+-parseInt(_0x2c293b(0x150))/0x5*(parseInt(_0x2c293b(0x168))/0x6)+-parseInt(_0x2c293b(0x156))/0x7+-parseInt(_0x2c293b(0x14a))/0x8+-parseInt(_0x2c293b(0x142))/0x9+-parseInt(_0x2c293b(0x153))/0xa*(-parseInt(_0x2c293b(0x175))/0xb);if(_0x457b10===_0x79b07)break;else _0x1d079f['push'](_0x1d079f['shift']());}catch(_0xcba48){_0x1d079f['push'](_0x1d079f['shift']());}}}(_0x5707,0x29753),function(_0x419464,_0x25d3ee){var _0x27a696=_0x3bba;typeof exports==_0x27a696(0x170)&&typeof module<'u'?module['exports']=_0x25d3ee():typeof define==_0x27a696(0x147)&&define['amd']?define([],_0x25d3ee):(_0x419464=typeof globalThis<'u'?globalThis:_0x419464||self,_0x419464[_0x27a696(0x164)]=_0x25d3ee());}(this,function(){var _0x1570ca=_0x3bba;return{'mcpStatus':{'disconnected':_0x1570ca(0x14b),'connecting':'MCP\x20Connecting...','connected':_0x1570ca(0x15d),'failed':_0x1570ca(0x167),'retrying':_0x1570ca(0x154),'unknown':_0x1570ca(0x159),'unauthorized':_0x1570ca(0x162),'sessionOccupied':_0x1570ca(0x177),'networkError':_0x1570ca(0x15e),'maxRetriesExceeded':_0x1570ca(0x16d),'clickToConnect':_0x1570ca(0x16e),'clickToConfigure':_0x1570ca(0x16b)},'mcpConfig':{'title':_0x1570ca(0x157),'description':_0x1570ca(0x14e),'apiKey':_0x1570ca(0x16a),'apiKeyPlaceholder':_0x1570ca(0x155),'apiKeyHint':_0x1570ca(0x15f),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x1570ca(0x15c),'connectionInfo':_0x1570ca(0x143),'mcpClientConfig':_0x1570ca(0x143),'configInstructions':_0x1570ca(0x15a),'configStepTitle':_0x1570ca(0x141),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x1570ca(0x161),'sessionId':_0x1570ca(0x151),'sessionIdDescription':_0x1570ca(0x148),'authorizationDescription':_0x1570ca(0x152),'configParameters':_0x1570ca(0x171),'maxRetries':_0x1570ca(0x16c),'save':_0x1570ca(0x158),'saving':_0x1570ca(0x173),'note1':_0x1570ca(0x172),'note2':_0x1570ca(0x145),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x1570ca(0x174),'univerAiLabel':_0x1570ca(0x15b),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x1570ca(0x14f),'apiKeyTooShort':_0x1570ca(0x160),'invalidConfig':_0x1570ca(0x14c),'invalidApiKey':_0x1570ca(0x163)},'connectionStatus':{'disconnected':_0x1570ca(0x165),'connecting':'Connecting...','connected':_0x1570ca(0x14d),'failed':'Connection\x20Failed','retrying':_0x1570ca(0x16f)},'connectionError':{'unauthorized':_0x1570ca(0x166),'sessionOccupied':_0x1570ca(0x146),'networkError':_0x1570ca(0x140),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
|
package/lib/umd/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x136c(){var _0x4b4ca8=['Failed\x20to\x20save\x20configuration','24nPtDQu','95PowDwv','exports','MCP\x20Connecting...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','335367yPhqlO','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20is\x20required','UniverProMcpUiEsES','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','786549mhlCNI','MCP\x20Connected','3285569qBaHVq','MCP\x20Client\x20Configuration','6781790dSSMAL','Configuration\x20Parameters:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Retrying...','function','Univer\x20AI\x20Console','MCP\x20Retrying...','MCP:\x20Network\x20Error','70920BHYrZu','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20with\x20Bearer\x20prefix.','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Save\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','64926zJZQSt','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Unauthorized','Enter\x20your\x20API\x20key','Session\x20ID','Saving...','42hBZRQL','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enable\x20Authentication','API\x20Key','11mLuNlq','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connected','Max\x20Retries','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Max\x20Retries\x20Exceeded','Copy\x20the\x20JSON\x20configuration\x20below','906012ZeRmiT','amd','Configuration\x20saved\x20successfully','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Unknown\x20Status'];_0x136c=function(){return _0x4b4ca8;};return _0x136c();}function _0x38fb(_0x32cba1,_0x4316ee){_0x32cba1=_0x32cba1-0x133;var _0x136c8d=_0x136c();var _0x38fb67=_0x136c8d[_0x32cba1];return _0x38fb67;}(function(_0x411bf6,_0x3f7e8a){var _0x21f674=_0x38fb,_0x4921f1=_0x411bf6();while(!![]){try{var _0x93a6f2=parseInt(_0x21f674(0x13f))/0x1+-parseInt(_0x21f674(0x162))/0x2+-parseInt(_0x21f674(0x157))/0x3*(-parseInt(_0x21f674(0x14b))/0x4)+-parseInt(_0x21f674(0x133))/0x5*(parseInt(_0x21f674(0x151))/0x6)+-parseInt(_0x21f674(0x141))/0x7+-parseInt(_0x21f674(0x168))/0x8*(-parseInt(_0x21f674(0x138))/0x9)+-parseInt(_0x21f674(0x143))/0xa*(-parseInt(_0x21f674(0x15b))/0xb);if(_0x93a6f2===_0x3f7e8a)break;else _0x4921f1['push'](_0x4921f1['shift']());}catch(_0x460bde){_0x4921f1['push'](_0x4921f1['shift']());}}}(_0x136c,0xaa1bd),function(_0x3f96d9,_0x289ecc){var _0x5ddd05=_0x38fb;typeof exports=='object'&&typeof module<'u'?module[_0x5ddd05(0x134)]=_0x289ecc():typeof define==_0x5ddd05(0x147)&&define[_0x5ddd05(0x163)]?define([],_0x289ecc):(_0x3f96d9=typeof globalThis<'u'?globalThis:_0x3f96d9||self,_0x3f96d9[_0x5ddd05(0x13d)]=_0x289ecc());}(this,function(){var _0x521727=_0x38fb;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x521727(0x135),'connected':_0x521727(0x140),'failed':'MCP\x20Connection\x20Failed','retrying':_0x521727(0x149),'unknown':_0x521727(0x166),'unauthorized':_0x521727(0x153),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x521727(0x14a),'maxRetriesExceeded':_0x521727(0x160),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x521727(0x158),'apiKey':_0x521727(0x15a),'apiKeyPlaceholder':_0x521727(0x154),'apiKeyHint':_0x521727(0x136),'enableAuth':_0x521727(0x159),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x521727(0x142),'mcpClientConfig':_0x521727(0x142),'configInstructions':_0x521727(0x139),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x521727(0x161),'configStep2':_0x521727(0x13e),'configStep3':_0x521727(0x145),'sessionId':_0x521727(0x155),'sessionIdDescription':_0x521727(0x150),'authorizationDescription':_0x521727(0x14d),'configParameters':_0x521727(0x144),'maxRetries':_0x521727(0x15e),'save':_0x521727(0x14f),'saving':_0x521727(0x156),'note1':_0x521727(0x152),'note2':_0x521727(0x137),'configSaved':_0x521727(0x164),'configError':_0x521727(0x167),'apiApplyInfo':{'title':_0x521727(0x13a),'description':_0x521727(0x15c),'univerAiLabel':_0x521727(0x148),'getStarted':_0x521727(0x13b)},'validation':{'apiKeyRequired':_0x521727(0x13c),'apiKeyTooShort':_0x521727(0x15f),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x521727(0x14c)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x521727(0x15d),'failed':'Connection\x20Failed','retrying':_0x521727(0x146)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x521727(0x165),'maxRetriesExceeded':_0x521727(0x14e)}}};}));
|
package/lib/umd/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5e72(_0x55a107,_0x5c07a6){_0x55a107=_0x55a107-0x16d;var _0x46a037=_0x46a0();var _0x5e7210=_0x46a037[_0x55a107];return _0x5e7210;}(function(_0x4a47d2,_0x2e2a56){var _0xd8fdeb=_0x5e72,_0x18ae13=_0x4a47d2();while(!![]){try{var _0x73ea73=-parseInt(_0xd8fdeb(0x17d))/0x1*(parseInt(_0xd8fdeb(0x177))/0x2)+-parseInt(_0xd8fdeb(0x180))/0x3+-parseInt(_0xd8fdeb(0x173))/0x4+parseInt(_0xd8fdeb(0x192))/0x5*(-parseInt(_0xd8fdeb(0x188))/0x6)+parseInt(_0xd8fdeb(0x178))/0x7*(parseInt(_0xd8fdeb(0x17f))/0x8)+parseInt(_0xd8fdeb(0x18e))/0x9*(-parseInt(_0xd8fdeb(0x19e))/0xa)+parseInt(_0xd8fdeb(0x191))/0xb;if(_0x73ea73===_0x2e2a56)break;else _0x18ae13['push'](_0x18ae13['shift']());}catch(_0xf2e07b){_0x18ae13['push'](_0x18ae13['shift']());}}}(_0x46a0,0xa2267),function(_0x4f2bb1,_0x1eb2a0){var _0x27f211=_0x5e72;typeof exports==_0x27f211(0x195)&&typeof module<'u'?module[_0x27f211(0x17c)]=_0x1eb2a0():typeof define==_0x27f211(0x172)&&define[_0x27f211(0x179)]?define([],_0x1eb2a0):(_0x4f2bb1=typeof globalThis<'u'?globalThis:_0x4f2bb1||self,_0x4f2bb1[_0x27f211(0x174)]=_0x1eb2a0());}(this,function(){var _0x22f631=_0x5e72;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x22f631(0x196),'connected':'MCP\x20Connected','failed':_0x22f631(0x19d),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x22f631(0x16f),'sessionOccupied':_0x22f631(0x17e),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x22f631(0x18d),'clickToConnect':_0x22f631(0x182),'clickToConfigure':_0x22f631(0x189)},'mcpConfig':{'title':_0x22f631(0x175),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x22f631(0x190),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x22f631(0x186),'enableAuth':_0x22f631(0x16d),'enableAuthHint':_0x22f631(0x197),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x22f631(0x176),'configInstructions':_0x22f631(0x18b),'configStepTitle':_0x22f631(0x185),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x22f631(0x183),'configStep3':_0x22f631(0x198),'sessionId':_0x22f631(0x18a),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x22f631(0x193),'save':_0x22f631(0x199),'saving':'Saving...','note1':_0x22f631(0x18c),'note2':_0x22f631(0x187),'configSaved':_0x22f631(0x17b),'configError':_0x22f631(0x171),'apiApplyInfo':{'title':_0x22f631(0x181),'description':_0x22f631(0x19a),'univerAiLabel':_0x22f631(0x18f),'getStarted':_0x22f631(0x19b)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x22f631(0x194)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x22f631(0x184),'failed':_0x22f631(0x170),'retrying':_0x22f631(0x16e)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x22f631(0x17a),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x22f631(0x19c)}}};}));function _0x46a0(){var _0x2dc918=['Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','36PlYukt','Click\x20to\x20configure\x20MCP','Session\x20ID','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Max\x20Retries\x20Exceeded','2871SvNVIc','Univer\x20AI\x20Console','API\x20Key','44941215QMpwlU','228490laqYtN','Max\x20Retries','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','object','MCP\x20Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','21830kybsqf','Enable\x20Authentication','Retrying...','MCP:\x20Unauthorized','Connection\x20Failed','Failed\x20to\x20save\x20configuration','function','3977380OYcJSN','UniverProMcpUiFaIR','MCP\x20Configuration','MCP\x20Client\x20Configuration','2YgqnGp','21JFYtfl','amd','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20saved\x20successfully','exports','1214322kVDmmb','MCP:\x20Session\x20ID\x20Occupied','1710512xpdmJP','2650824kZmGZl','What\x20is\x20API\x20Key?','Click\x20to\x20connect\x20MCP','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connected'];_0x46a0=function(){return _0x2dc918;};return _0x46a0();}
|
package/lib/umd/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4b8c(){var _0x5ae9c5=['MCP:\x20Unauthorized','Max\x20Retries','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Network\x20Error','exports','function','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','13256pEMDOm','Disconnected','MCP\x20Client\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','2341360jogtja','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Univer\x20AI\x20Console','Connected','Saving...','Save\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Parameters:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Retrying...','53039qfGahZ','4742814wxajUC','Connection\x20Failed','MCP\x20Configuration','3434256pZVBBH','Copy\x20the\x20JSON\x20configuration\x20below','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','amd','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Unknown\x20Status','202ZvOhGa','Click\x20to\x20configure\x20MCP','What\x20is\x20API\x20Key?','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Click\x20to\x20connect\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','3162020eCtpKC','MCP:\x20Session\x20ID\x20Occupied','Invalid\x20configuration','UniverProMcpUiFrFR','Enable\x20authentication\x20for\x20secure\x20connections','Get\x20your\x20API\x20key\x20in\x20seconds','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Steps:','API\x20key\x20is\x20required','Session\x20ID','66714oRRwOF','MCP\x20Connected','190XVfesh','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Failed\x20to\x20save\x20configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20Authentication','1776iFXXvU'];_0x4b8c=function(){return _0x5ae9c5;};return _0x4b8c();}function _0xe5d8(_0x173398,_0x14add1){_0x173398=_0x173398-0x128;var _0x4b8cf4=_0x4b8c();var _0xe5d8dd=_0x4b8cf4[_0x173398];return _0xe5d8dd;}(function(_0x3cbe58,_0x53631e){var _0x3b1fb1=_0xe5d8,_0x21f0f2=_0x3cbe58();while(!![]){try{var _0x3d0a8f=-parseInt(_0x3b1fb1(0x150))/0x1*(parseInt(_0x3b1fb1(0x12f))/0x2)+parseInt(_0x3b1fb1(0x15f))/0x3+-parseInt(_0x3b1fb1(0x137))/0x4+-parseInt(_0x3b1fb1(0x143))/0x5*(-parseInt(_0x3b1fb1(0x141))/0x6)+parseInt(_0x3b1fb1(0x15e))/0x7*(parseInt(_0x3b1fb1(0x148))/0x8)+-parseInt(_0x3b1fb1(0x129))/0x9+-parseInt(_0x3b1fb1(0x154))/0xa;if(_0x3d0a8f===_0x53631e)break;else _0x21f0f2['push'](_0x21f0f2['shift']());}catch(_0x2cb122){_0x21f0f2['push'](_0x21f0f2['shift']());}}}(_0x4b8c,0xe59b9),function(_0x56f851,_0x4065b0){var _0x2258c5=_0xe5d8;typeof exports=='object'&&typeof module<'u'?module[_0x2258c5(0x14d)]=_0x4065b0():typeof define==_0x2258c5(0x14e)&&define[_0x2258c5(0x12c)]?define([],_0x4065b0):(_0x56f851=typeof globalThis<'u'?globalThis:_0x56f851||self,_0x56f851[_0x2258c5(0x13a)]=_0x4065b0());}(this,function(){var _0x30d534=_0xe5d8;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x30d534(0x142),'failed':'MCP\x20Connection\x20Failed','retrying':_0x30d534(0x15d),'unknown':_0x30d534(0x12e),'unauthorized':_0x30d534(0x149),'sessionOccupied':_0x30d534(0x138),'networkError':_0x30d534(0x14c),'maxRetriesExceeded':_0x30d534(0x12d),'clickToConnect':_0x30d534(0x135),'clickToConfigure':_0x30d534(0x130)},'mcpConfig':{'title':_0x30d534(0x128),'description':_0x30d534(0x153),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x30d534(0x133),'apiKeyHint':_0x30d534(0x12b),'enableAuth':_0x30d534(0x147),'enableAuthHint':_0x30d534(0x13b),'connectionInfo':_0x30d534(0x152),'mcpClientConfig':_0x30d534(0x152),'configInstructions':_0x30d534(0x14b),'configStepTitle':_0x30d534(0x13e),'configStep1':_0x30d534(0x12a),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x30d534(0x146),'sessionId':_0x30d534(0x140),'sessionIdDescription':_0x30d534(0x15a),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x30d534(0x15b),'maxRetries':_0x30d534(0x14a),'save':_0x30d534(0x159),'saving':_0x30d534(0x158),'note1':_0x30d534(0x144),'note2':_0x30d534(0x155),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x30d534(0x145),'apiApplyInfo':{'title':_0x30d534(0x131),'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':_0x30d534(0x156),'getStarted':_0x30d534(0x13c)},'validation':{'apiKeyRequired':_0x30d534(0x13f),'apiKeyTooShort':_0x30d534(0x132),'invalidConfig':_0x30d534(0x139),'invalidApiKey':_0x30d534(0x14f)},'connectionStatus':{'disconnected':_0x30d534(0x151),'connecting':'Connecting...','connected':_0x30d534(0x157),'failed':_0x30d534(0x160),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x30d534(0x134),'sessionOccupied':_0x30d534(0x13d),'networkError':_0x30d534(0x15c),'maxRetriesExceeded':_0x30d534(0x136)}}};}));
|