@univerjs-pro/mcp-ui 0.12.4-experimental.20251211-e01e32a → 0.12.4-insiders.20251212-6c41730

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/ca-ES.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/es-ES.js +1 -1
  41. package/lib/umd/locale/fa-IR.js +1 -1
  42. package/lib/umd/locale/fr-FR.js +1 -1
  43. package/lib/umd/locale/ja-JP.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +7 -7
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x525873=_0x4a71;(function(_0x8384dd,_0x5cd18f){const _0x1019fa=_0x4a71,_0x148785=_0x8384dd();while(!![]){try{const _0x268b49=-parseInt(_0x1019fa(0x104))/0x1*(parseInt(_0x1019fa(0x238))/0x2)+-parseInt(_0x1019fa(0x236))/0x3*(parseInt(_0x1019fa(0x177))/0x4)+parseInt(_0x1019fa(0x243))/0x5+parseInt(_0x1019fa(0x181))/0x6*(-parseInt(_0x1019fa(0x12c))/0x7)+-parseInt(_0x1019fa(0x1e1))/0x8+parseInt(_0x1019fa(0xff))/0x9+parseInt(_0x1019fa(0x196))/0xa;if(_0x268b49===_0x5cd18f)break;else _0x148785['push'](_0x148785['shift']());}catch(_0xa35c70){_0x148785['push'](_0x148785['shift']());}}}(_0x27f7,0x1dab4));var ae=Object['defineProperty'],le=(_0x414c99,_0x58fa79,_0x33cc21)=>_0x58fa79 in _0x414c99?ae(_0x414c99,_0x58fa79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33cc21}):_0x414c99[_0x58fa79]=_0x33cc21,I=(_0x3aefa8,_0x1ee389,_0x2b99b9)=>le(_0x3aefa8,typeof _0x1ee389!='symbol'?_0x1ee389+'':_0x1ee389,_0x2b99b9);function _0x27f7(){const _0x28077d=['OnLineIcon','BehaviorSubject','current','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','<SESSION_ID>','SESSION_ID_OCCUPIED','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','validateApiKey','children','http://www.w3.org/2000/svg','https://mcp.univer.ai/mcp/?univer_session_id=','univer-shrink-0\x20univer-text-red-500','_uiPartsService','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','Get\x20your\x20API\x20key\x20in\x20seconds','help-icon','MCP\x20已断开','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','_injector','useObservable','univer-min-w-0\x20univer-flex-1','off','MCP\x20已连接','univer-text-red-500','将配置添加到您的\x20MCP\x20客户端设置文件中','jsxs','mcpConfig.configStepTitle','Plugin','0\x200\x2016\x2016','配置保存失败','mcp-config-dialog','_commandService','show','mcpConfig.connectionStatus.connected','bottom','\x20-\x20','IConfigService','_handleConfigSave','MCP\x20Connected','https://console.univer.ai','1738328WpruLb','close','univer-shrink-0\x20univer-text-blue-500','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer.ai','IDialogService','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','xlink:href','UniverMCPUIPlugin','Session\x20ID','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connecting...','_config$','API\x20密钥长度至少需要\x2010\x20位','mcpConfig.saving','API\x20密钥无效,请检查密钥是否正确','registerComponent','配置无效','__setCustomHeaders','assign','FAILED','_loadStoredApiKey','path','https://console.univer.plus','entries','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','配置保存成功','Input','_blank','on-line-icon_clip0_910_349','您的\x20API\x20密钥安全存储在本地存储中','CONNECTED','defs','fill','MCP\x20Disconnected','_menuManagerService','toString','重连中...','univer-text-xs\x20univer-text-gray-500','API\x20key\x20with\x20Bearer\x20prefix.','setConfig','_mcpCoreConfig$','univer-text-gray-500','UniverIcon','mcpConfig.apiApplyInfo.univerAiLabel','trim','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','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_configService','getItem','span','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','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','button','mcpConfig.note2','jsx','MCPUIMenuController','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','带有\x20Bearer\x20前缀的\x20API\x20密钥。','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','pre','includes','Save\x20Configuration','MCP_UI_PLUGIN','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','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','MCPConnectionError','value','Connection\x20Failed','univer-flex\x20univer-flex-wrap\x20univer-gap-2','Inject','univer-text-gray-400','MCP:\x20Max\x20Retries\x20Exceeded','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpConfig.configInstructions','getConfig','univer-text-xs\x20univer-text-gray-600','mcpConfig.connectionInfo','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','replace','mcpConfig.connectionError.unauthorized','connectionError$','attrs','mcpConfig.apiKeyPlaceholder','mcpConfig.connectionStatus.disconnected','138495GVHPHz','MenuItemType','36lBppyB','Bearer\x20','currentColor','API\x20Key','useDependency','MCP\x20Unknown\x20Status','univer-flex\x20univer-items-start\x20univer-gap-3','length','Click\x20to\x20connect\x20MCP','subscribe','showStatus','35495JDBDss','mcpStatus.unauthorized','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','has','univer-space-y-3','Enable\x20Authentication','Univer\x20AI\x20Console','url(#on-line-icon_clip0_910_349)','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','mcpConfig.validation.apiKeyRequired','mcpConfig.connectionError.sessionOccupied','Disconnected','next','Configuration\x20Notes:','univer-text-sm\x20univer-font-medium','mcp-ui.config','showDeveloperTools','_connectionController','复制以下\x20JSON\x20配置','RETRYING','clsx','univer-flex\x20univer-items-start\x20univer-gap-2','mcpConfig.configStep3','_createConfigPanelComponent','MCP:\x20网络错误','_localStorageService','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','mcpConfig.validation.apiKeyTooShort','setItem','MCP\x20Client\x20Configuration','mcpConfig.connectionStatus.failed','What\x20is\x20API\x20Key?','ComponentManager','disposeWithMe','_initAutoConnect','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','Configuration\x20Parameters:','univer-space-y-4','warn','mcpConfig.configStep2','MCP\x20Configuration','none','Univer\x20AI\x20控制台','mcpConfig.apiKeyHint','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpConfig.connectionError.networkError','758106gUtkVc','mcpStatus.connected','subscribeConfigValue$','merge','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','2937cWGaJi','Saving...','MCPConfigUIController','univer-flex\x20univer-items-center\x20univer-gap-2','mcpConfig.save','MCP\x20配置','API\x20密钥','_mcpConnectionController','on-line-icon','MCP:\x20Unauthorized','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','svg','LocaleService','NETWORK_ERROR','tag','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','url(#$1','MCP\x20Connecting...','MCP_PLUGIN_CONFIG_KEY','什么是\x20API\x20密钥?','forEach','univer-mr-2\x20univer-flex\x20univer-text-xl','translate(.97)','UNAUTHORIZED','M0\x200H16V16H0z','ILocalStorageService','_config','MenuIcon','DISCONNECTED','univer-space-y-2','apiKey','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.configSaved','mask','MAX_RETRIES_EXCEEDED','univer-flex\x20univer-items-center\x20univer-gap-3','mcpConfig.apiApplyInfo.description','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','超出最大重试次数,请稍后再试','7rBjLih','UniverMCPPlugin','OpenMCPConfigPanelCommand','MCP\x20Retrying...','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpConfig.note1','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','map','mcpStatus.sessionOccupied','_initializeMenus','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','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','_componentManager','mcpConfig.configParameters','univer_session_id:','getOwnPropertyDescriptor','MCPStatusDisplay','已连接','最大重试次数','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','_localeService','mcpConfig.apiApplyInfo.title','Authorization:','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','useCallback','http','CloseIcon','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','forwardRef','HEADER_MENU','add','MessageType','mcpServerUrl','mcpConfig.configStep1','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','1em','_initConfigSync','close-icon','_handleConfigure','mcpStatus.maxRetriesExceeded','IMessageService','Connected','idSuffix','BUTTON','univer-text-yellow-500','_initializeCommands','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20saved\x20successfully','_initStatusComponent','mcpConfig.sessionIdDescription','网络连接错误,请检查您的网络连接','zhCN','MCPConnectionUIController','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCPConfigPanel','MCP:\x20超出最大重试次数','mcpConfig.configError','noopener\x20noreferrer','mcpStatus.connecting','_dialogService','WebSocketService','clipPath','未连接','RibbonStartGroup','_validateConfig','ILogService','_apiKey$','ISocketService','univer-bg-red-500','showConfigPanel','MCP\x20状态未知','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','8oqsCJL','colorChannel1','off-line-icon_clip0_910_343','univer-space-y-5','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','get','MCPConnectionStatus','连接中...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','round','711582htAXvb','连接失败','CONNECTING','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','removeItem','_messageService','pluginName','mcpConfig.authorizationDescription','createElement','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.connectionStatus.retrying','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','mcpConfig.title','Button','_loading$','mcpConfig.description','evenodd','<API_KEY>','univer.plus','url(#off-line-icon_clip0_910_343)','5112750fohBSR','mcpStatus.unknown','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','0\x200\x2017\x2016','connectInjector','会话ID','Disposable','API\x20key\x20is\x20required','点击配置\x20MCP','_registerComponent','connectionStatus$','mcpStatus.networkError','displayName','defineProperty','useState','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','MCPConnectionController','保存中...','univer-text-sm\x20univer-text-gray-500','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Injector','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','open','配置步骤:','MCP\x20连接失败','NONE','div','IUIPartsService','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','mcpStatus.clickToConnect','mcp.apiKey','Tooltip','univer-text-blue-600','ICommandService','Module'];_0x27f7=function(){return _0x28077d;};return _0x27f7();}Object[_0x525873(0x1a3)](exports,Symbol['toStringTag'],{'value':_0x525873(0x1b8)});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x5e326f,..._0x224eae}){const _0xa457c0=_0x525873,{icon:_0x458bf1,id:_0x3a6cf2,className:_0x3ebb22,extend:_0xef6769,..._0x191992}=_0x224eae,_0x171731=('univerjs-icon\x20univerjs-icon-'+_0x3a6cf2+'\x20'+(_0x3ebb22||''))['trim'](),_0x225033=d['useRef']('_'+de());return G(_0x458bf1,''+_0x3a6cf2,{'defIds':_0x458bf1['defIds'],'idSuffix':_0x225033[_0xa457c0(0x1bb)]},{'ref':_0x5e326f,'className':_0x171731,..._0x191992},_0xef6769);}function G(_0x540043,_0x424478,_0x5297c9,_0x16d7f5,_0x2cb89f){const _0x2720f8=_0x525873;return d[_0x2720f8(0x18a)](_0x540043[_0x2720f8(0x113)],{'key':_0x424478,...ue(_0x540043,_0x5297c9,_0x2cb89f),..._0x16d7f5},(ve(_0x540043,_0x5297c9)[_0x2720f8(0x1c1)]||[])[_0x2720f8(0x133)]((_0x4c89f2,_0x1607f7)=>G(_0x4c89f2,_0x424478+'-'+_0x540043['tag']+'-'+_0x1607f7,_0x5297c9,void 0x0,_0x2cb89f)));}function ue(_0x485796,_0x7caeab,_0x3e1a23){const _0x5245d4=_0x525873,_0x3d304f={..._0x485796['attrs']};_0x3e1a23!=null&&_0x3e1a23[_0x5245d4(0x178)]&&_0x3d304f[_0x5245d4(0x202)]===_0x5245d4(0x178)&&(_0x3d304f[_0x5245d4(0x202)]=_0x3e1a23[_0x5245d4(0x178)]),_0x485796[_0x5245d4(0x113)]===_0x5245d4(0x126)&&_0x3d304f['id']&&(_0x3d304f['id']=_0x3d304f['id']+_0x7caeab[_0x5245d4(0x157)]),Object[_0x5245d4(0x1f9)](_0x3d304f)[_0x5245d4(0x119)](([_0x2e323b,_0x1aba4f])=>{const _0x26cd24=_0x5245d4;_0x2e323b===_0x26cd24(0x126)&&typeof _0x1aba4f=='string'&&(_0x3d304f[_0x2e323b]=_0x1aba4f[_0x26cd24(0x230)](/url\(#(.*)\)/,_0x26cd24(0x115)+_0x7caeab[_0x26cd24(0x157)]+')'));});const {defIds:_0x201c55}=_0x7caeab;return!_0x201c55||_0x201c55[_0x5245d4(0x23f)]===0x0||(_0x485796[_0x5245d4(0x113)]==='use'&&_0x3d304f[_0x5245d4(0x1e8)]&&(_0x3d304f['xlink:href']=_0x3d304f[_0x5245d4(0x1e8)]+_0x7caeab[_0x5245d4(0x157)]),Object[_0x5245d4(0x1f9)](_0x3d304f)[_0x5245d4(0x119)](([_0x333f35,_0x52e419])=>{const _0x31cbbf=_0x5245d4;typeof _0x52e419=='string'&&(_0x3d304f[_0x333f35]=_0x52e419[_0x31cbbf(0x230)](/url\(#(.*)\)/,'url(#$1'+_0x7caeab[_0x31cbbf(0x157)]+')'));})),_0x3d304f;}function ve(_0x2b495b,_0x50cf16){const _0x239b65=_0x525873;var _0x3cdce0;const {defIds:_0x1a0f00}=_0x50cf16;return!_0x1a0f00||_0x1a0f00[_0x239b65(0x23f)]===0x0?_0x2b495b:_0x2b495b[_0x239b65(0x113)]===_0x239b65(0x201)&&((_0x3cdce0=_0x2b495b[_0x239b65(0x1c1)])!=null&&_0x3cdce0[_0x239b65(0x23f)])?{..._0x2b495b,'children':_0x2b495b[_0x239b65(0x1c1)][_0x239b65(0x133)](_0x4912ac=>typeof _0x4912ac[_0x239b65(0x233)]['id']=='string'&&_0x1a0f00&&_0x1a0f00[_0x239b65(0x21e)](_0x4912ac['attrs']['id'])?{..._0x4912ac,'attrs':{..._0x4912ac[_0x239b65(0x233)],'id':_0x4912ac[_0x239b65(0x233)]['id']+_0x50cf16[_0x239b65(0x157)]}}:_0x4912ac)}:_0x2b495b;}function de(){const _0x45becb=_0x525873;return Math['random']()[_0x45becb(0x205)](0x24)['substring'](0x2,0x8);}_[_0x525873(0x1a2)]=_0x525873(0x20c);const Ce={'tag':_0x525873(0x110),'attrs':{'xmlns':_0x525873(0x1c2),'fill':_0x525873(0xf9),'viewBox':_0x525873(0x1d5),'width':_0x525873(0x150),'height':_0x525873(0x150)},'children':[{'tag':_0x525873(0x1f7),'attrs':{'fill':'currentColor','d':_0x525873(0x20f),'fillRule':_0x525873(0x192),'clipRule':'evenodd'}}]},H=d[_0x525873(0x149)](function(_0x5debf2,_0x25bb5c){const _0x4f5475=_0x525873;return d[_0x4f5475(0x18a)](_,Object[_0x4f5475(0x1f4)]({},_0x5debf2,{'id':'check-mark-icon','ref':_0x25bb5c,'icon':Ce}));});H[_0x525873(0x1a2)]='CheckMarkIcon';const ge={'tag':_0x525873(0x110),'attrs':{'xmlns':_0x525873(0x1c2),'fill':_0x525873(0xf9),'viewBox':_0x525873(0x1d5),'width':_0x525873(0x150),'height':'1em'},'children':[{'tag':_0x525873(0x1f7),'attrs':{'fill':'currentColor','d':_0x525873(0x214)}}]},B=d[_0x525873(0x149)](function(_0x4999b0,_0x526dff){const _0x578d71=_0x525873;return d[_0x578d71(0x18a)](_,Object[_0x578d71(0x1f4)]({},_0x4999b0,{'id':_0x578d71(0x152),'ref':_0x526dff,'icon':ge}));});B['displayName']=_0x525873(0x146);const fe={'tag':_0x525873(0x110),'attrs':{'xmlns':_0x525873(0x1c2),'fill':'none','viewBox':_0x525873(0x1d5),'width':_0x525873(0x150),'height':_0x525873(0x150)},'children':[{'tag':_0x525873(0x1f7),'attrs':{'fill':'currentColor','d':_0x525873(0x136)}},{'tag':_0x525873(0x1f7),'attrs':{'fill':'currentColor','d':_0x525873(0x176)}},{'tag':_0x525873(0x1f7),'attrs':{'fill':_0x525873(0x23a),'d':_0x525873(0x1b2),'fillRule':_0x525873(0x192),'clipRule':_0x525873(0x192)}}]},F=d[_0x525873(0x149)](function(_0x9640ca,_0x743a73){const _0x49e8ba=_0x525873;return d[_0x49e8ba(0x18a)](_,Object[_0x49e8ba(0x1f4)]({},_0x9640ca,{'id':_0x49e8ba(0x1c8),'ref':_0x743a73,'icon':fe}));});F['displayName']='HelpIcon';const pe={'tag':_0x525873(0x110),'attrs':{'xmlns':_0x525873(0x1c2),'fill':'none','viewBox':_0x525873(0x1d5),'width':_0x525873(0x150),'height':_0x525873(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0x525873(0x195)},'children':[{'tag':_0x525873(0x1f7),'attrs':{'stroke':_0x525873(0x23a),'d':_0x525873(0x143),'strokeLinecap':_0x525873(0x180),'strokeLinejoin':_0x525873(0x180),'strokeWidth':1.2}}]},{'tag':_0x525873(0x201),'attrs':{},'children':[{'tag':_0x525873(0x16c),'attrs':{'id':_0x525873(0x179)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x525873(0x11d)}}]}]}],'defIds':[_0x525873(0x179)]},Y=d[_0x525873(0x149)](function(_0x21aedf,_0x5e123c){const _0x3ec0d1=_0x525873;return d[_0x3ec0d1(0x18a)](_,Object[_0x3ec0d1(0x1f4)]({},_0x21aedf,{'id':'off-line-icon','ref':_0x5e123c,'icon':pe}));});Y[_0x525873(0x1a2)]='OffLineIcon';const he={'tag':_0x525873(0x110),'attrs':{'xmlns':_0x525873(0x1c2),'fill':_0x525873(0xf9),'viewBox':_0x525873(0x199),'width':_0x525873(0x150),'height':_0x525873(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0x525873(0x24a)},'children':[{'tag':'path','attrs':{'stroke':_0x525873(0x23a),'d':'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','strokeLinecap':_0x525873(0x180),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x525873(0x201),'attrs':{},'children':[{'tag':_0x525873(0x16c),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x525873(0x11b)}}]}]}],'defIds':[_0x525873(0x1fe)]},q=d['forwardRef'](function(_0x61dafd,_0x5ef2b5){const _0xedd11c=_0x525873;return d['createElement'](_,Object[_0xedd11c(0x1f4)]({},_0x61dafd,{'id':_0xedd11c(0x10c),'ref':_0x5ef2b5,'icon':he}));});q['displayName']=_0x525873(0x1b9);function V(_0x2587d5){const _0x7eceb7=_0x525873;var _0x85f2be,_0x1297b0;const {mcpCoreConfig:_0x3e8f41,onSave:_0x32c4c0,loading:_0x33555d=!0x1,config:_0x33ee94,connectionStatus$:_0x3ff2ad,connectionError$:_0x47351f,currentApiKey$:_0x578c36,currentSessionId$:_0xf54b8e}=_0x2587d5,_0x252e9c=v[_0x7eceb7(0x23c)](u[_0x7eceb7(0x111)]),_0x40d804=v['useObservable'](_0x3ff2ad,s['MCPConnectionStatus'][_0x7eceb7(0x121)]),_0x528913=v[_0x7eceb7(0x1cc)](_0x47351f,s[_0x7eceb7(0x223)][_0x7eceb7(0x1af)]),_0x59c0eb=v[_0x7eceb7(0x1cc)](_0xf54b8e,''),_0x5e917b=v[_0x7eceb7(0x1cc)](_0x578c36,''),[_0x5b549b,_0x17b48a]=d[_0x7eceb7(0x1a4)](_0x5e917b||''),_0x13adea=!0x0,_0x337281=_0x33ee94[_0x7eceb7(0x253)]&&_0x3e8f41[_0x7eceb7(0x14d)]&&(_0x3e8f41['mcpServerUrl'][_0x7eceb7(0x21e)](_0x7eceb7(0x194))||_0x3e8f41[_0x7eceb7(0x14d)][_0x7eceb7(0x21e)]('univer.ai')),_0x1f70a7=(_0x85f2be=_0x3e8f41[_0x7eceb7(0x14d)])==null?void 0x0:_0x85f2be[_0x7eceb7(0x21e)](_0x7eceb7(0x194)),_0x2e8a1a=(_0x1297b0=_0x3e8f41[_0x7eceb7(0x14d)])==null?void 0x0:_0x1297b0[_0x7eceb7(0x21e)](_0x7eceb7(0x1e5)),_0x2aac28=_0x1f70a7?_0x7eceb7(0x1f8):_0x7eceb7(0x1e0),_0x22eaf3=_0x33ee94['showDeveloperTools']&&(_0x1f70a7||_0x2e8a1a),[_0x5adfca,_0x186e27]=d[_0x7eceb7(0x1a4)](!_0x5b549b[_0x7eceb7(0x20e)]()),_0x1b0152=(_0x161ca2,_0xe373c)=>{const _0x1b6d11=_0x7eceb7;if(_0xe373c===s[_0x1b6d11(0x223)]['UNAUTHORIZED'])return _0x1b6d11(0x184);switch(_0x161ca2){case s['MCPConnectionStatus'][_0x1b6d11(0x200)]:return _0x1b6d11(0xf3);case s[_0x1b6d11(0x17d)][_0x1b6d11(0x183)]:case s[_0x1b6d11(0x17d)]['RETRYING']:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case s[_0x1b6d11(0x17d)][_0x1b6d11(0x1f5)]:return _0x1b6d11(0x184);default:return _0x1b6d11(0x1a5);}},_0x5c4077=(_0x1c1d7d,_0x455493)=>{const _0x1a0887=_0x7eceb7;if(_0x455493===s[_0x1a0887(0x223)][_0x1a0887(0x11c)])return'univer-bg-red-500';switch(_0x1c1d7d){case s[_0x1a0887(0x17d)][_0x1a0887(0x200)]:return'univer-bg-green-500';case s[_0x1a0887(0x17d)][_0x1a0887(0x183)]:case s['MCPConnectionStatus']['RETRYING']:return'univer-bg-blue-500';case s[_0x1a0887(0x17d)][_0x1a0887(0x1f5)]:return _0x1a0887(0x173);default:return'univer-bg-gray-500';}},_0x5873f6=_0x49f455=>{const _0x1007cb=_0x7eceb7;switch(_0x49f455){case s[_0x1007cb(0x17d)][_0x1007cb(0x200)]:return _0x252e9c['t'](_0x1007cb(0x1da));case s[_0x1007cb(0x17d)][_0x1007cb(0x183)]:return _0x252e9c['t']('mcpConfig.connectionStatus.connecting');case s[_0x1007cb(0x17d)][_0x1007cb(0x1f5)]:return _0x252e9c['t'](_0x1007cb(0x261));case s[_0x1007cb(0x17d)][_0x1007cb(0x256)]:return _0x252e9c['t'](_0x1007cb(0x18c));default:return _0x252e9c['t'](_0x1007cb(0x235));}},_0x328088=_0x25dd5e=>{const _0x5d21c8=_0x7eceb7;switch(_0x25dd5e){case s[_0x5d21c8(0x223)][_0x5d21c8(0x11c)]:return _0x252e9c['t'](_0x5d21c8(0x231));case s[_0x5d21c8(0x223)][_0x5d21c8(0x1be)]:return _0x252e9c['t'](_0x5d21c8(0x24d));case s[_0x5d21c8(0x223)][_0x5d21c8(0x112)]:return _0x252e9c['t'](_0x5d21c8(0xfe));case s['MCPConnectionError'][_0x5d21c8(0x127)]:return _0x252e9c['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x3cde1b=d['useCallback'](()=>{const _0xc42aa1=_0x7eceb7,_0x34957e={..._0x3e8f41,'apiKey':_0x5b549b[_0xc42aa1(0x20e)](),'enableAuth':_0x13adea};_0x32c4c0(_0x34957e);},[_0x3e8f41,_0x5b549b,_0x13adea,_0x32c4c0]),_0x2e41ae=_0x5b549b['trim']()['length']>0x0;return i['jsxs']('div',{'className':_0x7eceb7(0x1e4),'children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x1bf),'children':i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x128),'children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x1e7),'children':i[_0x7eceb7(0x218)](_0x7eceb7(0x213),{'className':'univer-text-white','children':'⚙'})}),i[_0x7eceb7(0x218)](_0x7eceb7(0x1b0),{'children':i[_0x7eceb7(0x218)]('p',{'className':_0x7eceb7(0x1a8),'children':_0x252e9c['t'](_0x7eceb7(0x191))})})]})}),i[_0x7eceb7(0x1d2)]('div',{'className':_0x7eceb7(0x21a),'children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x1b0),{'className':f[_0x7eceb7(0x257)](_0x7eceb7(0x24b),_0x1b0152(_0x40d804,_0x528913)),'children':i['jsxs']('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x1b0),{'className':f[_0x7eceb7(0x257)]('univer-size-2\x20univer-rounded-full',_0x5c4077(_0x40d804,_0x528913))}),i[_0x7eceb7(0x218)](_0x7eceb7(0x213),{'className':_0x7eceb7(0x251),'children':_0x5873f6(_0x40d804)})]})}),_0x528913!==s[_0x7eceb7(0x223)][_0x7eceb7(0x1af)]&&(_0x40d804===s[_0x7eceb7(0x17d)][_0x7eceb7(0x1f5)]||_0x528913===s[_0x7eceb7(0x223)]['UNAUTHORIZED'])&&i['jsx'](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x147),'children':i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x258),'children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x213),{'className':_0x7eceb7(0x1c4),'children':'⚠️'}),i[_0x7eceb7(0x218)]('p',{'className':_0x7eceb7(0x13f),'children':_0x328088(_0x528913)})]})})]}),i['jsx'](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x1a9),'children':i['jsxs'](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x17a),'children':[i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':'univer-space-y-2','children':[i[_0x7eceb7(0x1d2)]('label',{'className':_0x7eceb7(0x10f),'children':[i['jsx'](_0x7eceb7(0x213),{'children':'🔑'}),'\x20',_0x252e9c['t']('mcpConfig.apiKey'),i['jsx'](_0x7eceb7(0x213),{'className':_0x7eceb7(0x1d0),'children':'*'}),_0x337281&&i[_0x7eceb7(0x218)]('a',{'className':_0x7eceb7(0x1fa),'title':_0x252e9c['t']('mcpConfig.apiApplyInfo.title'),'role':'button','onClick':()=>_0x186e27(!0x0),'children':i[_0x7eceb7(0x218)](F,{})})]}),i['jsx'](f[_0x7eceb7(0x1fc)],{'type':'text','placeholder':_0x252e9c['t'](_0x7eceb7(0x234)),'value':_0x5b549b,'disabled':_0x33555d,'autoComplete':_0x7eceb7(0x1ce),'onChange':_0x17b48a}),i[_0x7eceb7(0x218)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x252e9c['t'](_0x7eceb7(0xfb))})]}),_0x337281&&_0x5adfca&&i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x14f),'children':[i[_0x7eceb7(0x218)]('a',{'className':_0x7eceb7(0x221),'role':_0x7eceb7(0x216),'onClick':()=>_0x186e27(!0x1),'children':i[_0x7eceb7(0x218)](B,{'className':'univer-size-4'})}),i['jsxs']('div',{'className':_0x7eceb7(0x1ca),'children':[i['jsx'](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x17b),'children':i[_0x7eceb7(0x218)](_0x7eceb7(0x213),{'className':_0x7eceb7(0x1b6),'children':'🚀'})}),i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':'univer-flex-1','children':[i[_0x7eceb7(0x218)]('h4',{'className':_0x7eceb7(0x163),'children':_0x252e9c['t'](_0x7eceb7(0x141))}),i[_0x7eceb7(0x218)]('p',{'className':_0x7eceb7(0x18b),'children':_0x252e9c['t'](_0x7eceb7(0x129))}),i['jsx'](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x226),'children':_0x22eaf3&&i['jsxs']('a',{'className':_0x7eceb7(0x21c),'href':_0x2aac28,'target':_0x7eceb7(0x1fd),'rel':_0x7eceb7(0x168),'children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x213),{'children':'🤖'}),_0x252e9c['t'](_0x7eceb7(0x20d)),i[_0x7eceb7(0x218)](_0x7eceb7(0x213),{'className':_0x7eceb7(0x228),'children':'↗'})]})}),i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x252e9c['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x33ee94[_0x7eceb7(0x253)]&&i[_0x7eceb7(0x1d2)]('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[i['jsxs']('h4',{'className':_0x7eceb7(0x103),'children':[i[_0x7eceb7(0x218)]('span',{'children':'🔗'}),'\x20',_0x252e9c['t'](_0x7eceb7(0x22e))]}),i[_0x7eceb7(0x1d2)]('div',{'className':_0x7eceb7(0xf5),'children':[i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x247),'children':[i[_0x7eceb7(0x218)]('p',{'className':_0x7eceb7(0x22d),'children':_0x252e9c['t'](_0x7eceb7(0x22b))}),i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x122),'children':[i[_0x7eceb7(0x218)]('div',{'className':_0x7eceb7(0x148),'children':_0x252e9c['t'](_0x7eceb7(0x1d3))}),i[_0x7eceb7(0x1d2)]('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x107),'children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x213),{'className':_0x7eceb7(0x1c6),'children':'1'}),_0x252e9c['t'](_0x7eceb7(0x14e))]}),i[_0x7eceb7(0x1d2)]('div',{'className':_0x7eceb7(0x107),'children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x213),{'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'}),_0x252e9c['t'](_0x7eceb7(0xf7))]}),i['jsxs'](_0x7eceb7(0x1b0),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x213),{'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'}),_0x252e9c['t'](_0x7eceb7(0x259))]})]})]})]}),i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x122),'children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x148),'children':_0x7eceb7(0xf8)}),i[_0x7eceb7(0x218)](_0x7eceb7(0x1b0),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':i[_0x7eceb7(0x218)](_0x7eceb7(0x21d),{'className':_0x7eceb7(0x215),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x7eceb7(0x1c3)+(_0x59c0eb||_0x7eceb7(0x1bd)),'type':_0x7eceb7(0x145),'headers':{'Authorization':_0x7eceb7(0x239)+(_0x5b549b||_0x7eceb7(0x193))}}}},null,0x2)})})]}),i['jsxs'](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x247),'children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x148),'children':_0x252e9c['t'](_0x7eceb7(0x139))}),i['jsxs'](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x122),'children':[i['jsxs']('div',{'className':_0x7eceb7(0x23e),'children':[i[_0x7eceb7(0x218)]('div',{'className':_0x7eceb7(0x210)}),i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x1cd),'children':[i['jsx'](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x222),'children':_0x7eceb7(0x13a)}),i[_0x7eceb7(0x218)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x207),'children':_0x252e9c['t'](_0x7eceb7(0x15f))})]})]}),i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x23e),'children':[i['jsx']('div',{'className':_0x7eceb7(0x210)}),i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x1cd),'children':[i['jsx']('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x7eceb7(0x142)}),i[_0x7eceb7(0x218)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x207),'children':_0x252e9c['t'](_0x7eceb7(0x189))})]})]})]})]})]})]}),i[_0x7eceb7(0x218)](f[_0x7eceb7(0x18f)],{'onClick':_0x3cde1b,'disabled':!_0x2e41ae||_0x33555d,'className':_0x7eceb7(0x1ab),'children':_0x33555d?i[_0x7eceb7(0x1d2)]('span',{'className':_0x7eceb7(0x107),'children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x213),{'children':'⟲'}),_0x252e9c['t'](_0x7eceb7(0x1ef))]}):i[_0x7eceb7(0x1d2)](_0x7eceb7(0x213),{'className':_0x7eceb7(0x107),'children':[i[_0x7eceb7(0x218)](H,{}),_0x252e9c['t'](_0x7eceb7(0x108))]})}),i['jsx']('div',{'className':_0x7eceb7(0x130),'children':i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':'univer-flex\x20univer-gap-3','children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x213),{'className':_0x7eceb7(0x1e3),'children':'💡'}),i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'className':_0x7eceb7(0x18d),'children':[i[_0x7eceb7(0x218)](_0x7eceb7(0x1b0),{'className':'univer-font-medium','children':_0x7eceb7(0x250)}),i[_0x7eceb7(0x1d2)](_0x7eceb7(0x1b0),{'children':['•',_0x252e9c['t'](_0x7eceb7(0x131))]}),i['jsxs'](_0x7eceb7(0x1b0),{'children':['•',_0x252e9c['t'](_0x7eceb7(0x217))]})]})]})})]})})]});}const P=_0x525873(0x252),L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x525873(0x13b)],xe=(_0x19a4b1,_0x31f573,_0x1ad95e,_0x52985)=>{for(var _0x202d94=_0x52985>0x1?void 0x0:_0x52985?me(_0x31f573,_0x1ad95e):_0x31f573,_0x9e72c1=_0x19a4b1['length']-0x1,_0xbd933b;_0x9e72c1>=0x0;_0x9e72c1--)(_0xbd933b=_0x19a4b1[_0x9e72c1])&&(_0x202d94=_0xbd933b(_0x202d94)||_0x202d94);return _0x202d94;},g=(_0x19d5f5,_0x4e2e7d)=>(_0x26b107,_0x45ca27)=>_0x4e2e7d(_0x26b107,_0x45ca27,_0x19d5f5);const O=_0x525873(0x1b4),D=_0x525873(0x1d7);exports['MCPConfigUIController']=class extends u[_0x525873(0x19c)]{constructor(_0x37e628,_0x53671b,_0x3f5ef3,_0x39ecf5,_0x1ed8df,_0xa7278b,_0x4ed6a7,_0x3043aa,_0x4a70b9,_0x576da4){const _0x5e1957=_0x525873;super(),I(this,'_loading$',new M[(_0x5e1957(0x1ba))](!0x1)),I(this,_0x5e1957(0x20a),new M[(_0x5e1957(0x1ba))]({})),I(this,_0x5e1957(0x1ed),new M[(_0x5e1957(0x1ba))]({})),I(this,'_apiKey$',new M[(_0x5e1957(0x1ba))]('')),I(this,_0x5e1957(0x1de),async _0xf7ba38=>{const _0x3a1a6a=_0x5e1957;var _0x57c6e5,_0x46e24c;this[_0x3a1a6a(0x190)][_0x3a1a6a(0x24f)](!0x0);try{const _0x33c3cc=await this[_0x3a1a6a(0x16f)](_0xf7ba38);if(!_0x33c3cc['isValid']){this[_0x3a1a6a(0x187)][_0x3a1a6a(0x1d9)]({'type':f[_0x3a1a6a(0x14c)]['Error'],'content':_0x33c3cc['errorMessage']||this['_localeService']['t']('mcpConfig.validation.invalidConfig')});return;}_0xf7ba38['apiKey']?await this[_0x3a1a6a(0x25c)][_0x3a1a6a(0x25f)](O,_0xf7ba38['apiKey'][_0x3a1a6a(0x20e)]()):await this[_0x3a1a6a(0x25c)][_0x3a1a6a(0x186)](O),this[_0x3a1a6a(0x171)][_0x3a1a6a(0x24f)](((_0x57c6e5=_0xf7ba38[_0x3a1a6a(0x123)])==null?void 0x0:_0x57c6e5['trim']())||''),this[_0x3a1a6a(0x10b)][_0x3a1a6a(0x1f3)]({'Authorization':_0x3a1a6a(0x239)+((_0x46e24c=_0xf7ba38[_0x3a1a6a(0x123)])==null?void 0x0:_0x46e24c[_0x3a1a6a(0x20e)]())}),this[_0x3a1a6a(0x187)][_0x3a1a6a(0x1d9)]({'type':f[_0x3a1a6a(0x14c)]['Success'],'content':this[_0x3a1a6a(0x140)]['t'](_0x3a1a6a(0x125))}),setTimeout(()=>{const _0x193620=_0x3a1a6a;this[_0x193620(0x16a)][_0x193620(0x1e2)](D);},0x320);}catch(_0x26a446){this['_logService']['error'](_0x3a1a6a(0x1bc),_0x26a446),this['_messageService'][_0x3a1a6a(0x1d9)]({'type':f[_0x3a1a6a(0x14c)]['Error'],'content':this[_0x3a1a6a(0x140)]['t'](_0x3a1a6a(0x167))});}finally{this[_0x3a1a6a(0x190)][_0x3a1a6a(0x24f)](!0x1);}}),(this[_0x5e1957(0x1cb)]=_0x37e628,this['_uiPartsService']=_0x53671b,this[_0x5e1957(0x211)]=_0x3f5ef3,this[_0x5e1957(0x25c)]=_0x39ecf5,this[_0x5e1957(0x16a)]=_0x1ed8df,this['_messageService']=_0xa7278b,this[_0x5e1957(0x138)]=_0x4ed6a7,this['_localeService']=_0x3043aa,this['_logService']=_0x4a70b9,this[_0x5e1957(0x10b)]=_0x576da4,this[_0x5e1957(0x151)](),this[_0x5e1957(0x1f6)](),this[_0x5e1957(0x19f)]());}['showConfigPanel'](){const _0xd722f3=_0x525873,_0x27e71c=this[_0xd722f3(0x211)][_0xd722f3(0x22c)](P);_0x27e71c!=null&&_0x27e71c[_0xd722f3(0x253)]&&this[_0xd722f3(0x16a)][_0xd722f3(0x1ac)]({'id':D,'title':{'title':this[_0xd722f3(0x140)]['t'](_0xd722f3(0x18e))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x70c4ce=_0xd722f3;this[_0x70c4ce(0x16a)][_0x70c4ce(0x1e2)](D);}});}['getCurrentConfig'](){const _0x3accb3=_0x525873;return this[_0x3accb3(0x20a)][_0x3accb3(0x224)];}['_registerComponent'](){const _0x282c4f=_0x525873;this[_0x282c4f(0xf1)](this[_0x282c4f(0x138)]['register']('MCPConfigPanel',this[_0x282c4f(0x25a)]()));}[_0x525873(0x25a)](){const _0x282407=_0x525873;return v[_0x282407(0x19a)](()=>{const _0x61b204=_0x282407;var _0x463db1,_0x422bb5,_0xdf8ae;return i['jsx'](V,{'config':this[_0x61b204(0x1ed)][_0x61b204(0x224)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x61b204(0x224)],'currentApiKey$':this[_0x61b204(0x171)],'onSave':this['_handleConfigSave'],'loading':this[_0x61b204(0x190)]['value'],'connectionStatus$':(_0x463db1=this[_0x61b204(0x10b)])==null?void 0x0:_0x463db1['connectionStatus$'],'connectionError$':(_0x422bb5=this[_0x61b204(0x10b)])==null?void 0x0:_0x422bb5[_0x61b204(0x232)],'currentSessionId$':(_0xdf8ae=this[_0x61b204(0x10b)])==null?void 0x0:_0xdf8ae['sessionId$']});},this[_0x282407(0x1cb)]);}[_0x525873(0x151)](){const _0x2f5dfc=_0x525873;this[_0x2f5dfc(0xf1)](this['_configService'][_0x2f5dfc(0x101)](s[_0x2f5dfc(0x117)])[_0x2f5dfc(0x241)](_0x392abd=>{const _0x3bffc6=_0x2f5dfc;this[_0x3bffc6(0x20a)]['next'](_0x392abd||{});}));const _0x416653=this[_0x2f5dfc(0x211)][_0x2f5dfc(0x22c)](s['MCP_PLUGIN_CONFIG_KEY']);this[_0x2f5dfc(0x20a)][_0x2f5dfc(0x24f)](_0x416653||{}),this[_0x2f5dfc(0xf1)](this[_0x2f5dfc(0x211)]['subscribeConfigValue$'](P)[_0x2f5dfc(0x241)](_0x49ae1e=>{const _0x543a6d=_0x2f5dfc;this[_0x543a6d(0x1ed)]['next'](_0x49ae1e||{});}));const _0xfaed43=this[_0x2f5dfc(0x211)][_0x2f5dfc(0x22c)](P);this[_0x2f5dfc(0x1ed)][_0x2f5dfc(0x24f)](_0xfaed43||{});}async[_0x525873(0x1f6)](){const _0x453540=_0x525873,_0x389634=this[_0x453540(0x211)][_0x453540(0x22c)](P);if(!(_0x389634!=null&&_0x389634[_0x453540(0x253)]))return;const _0x4395ce=await this[_0x453540(0x25c)][_0x453540(0x212)](O);_0x4395ce&&(this[_0x453540(0x10b)][_0x453540(0x1f3)]({'Authorization':'Bearer\x20'+_0x4395ce}),this[_0x453540(0x171)][_0x453540(0x24f)](_0x4395ce));}async[_0x525873(0x16f)](_0x55c206){const _0x406b1a=_0x525873;if(!_0x55c206[_0x406b1a(0x123)]||_0x55c206[_0x406b1a(0x123)]['trim']()[_0x406b1a(0x23f)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x406b1a(0x140)]['t'](_0x406b1a(0x24c))};if(_0x55c206[_0x406b1a(0x123)][_0x406b1a(0x20e)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x406b1a(0x140)]['t'](_0x406b1a(0x25e))};try{const _0x436687=await this[_0x406b1a(0x1cb)]['get'](s[_0x406b1a(0x1a6)])[_0x406b1a(0x1c0)](_0x55c206[_0x406b1a(0x123)][_0x406b1a(0x20e)]());return _0x436687['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x436687['error']||this['_localeService']['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x5c14a4){return console[_0x406b1a(0xf6)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x5c14a4),{'isValid':!0x0};}}},exports['MCPConfigUIController']=xe([g(0x0,u[_0x525873(0x227)](u[_0x525873(0x1aa)])),g(0x1,v[_0x525873(0x1b1)]),g(0x2,u[_0x525873(0x1dd)]),g(0x3,u[_0x525873(0x11e)]),g(0x4,v[_0x525873(0x1e6)]),g(0x5,v[_0x525873(0x155)]),g(0x6,u['Inject'](v[_0x525873(0xf0)])),g(0x7,u[_0x525873(0x227)](u['LocaleService'])),g(0x8,u[_0x525873(0x170)]),g(0x9,u[_0x525873(0x227)](s[_0x525873(0x1a6)]))],exports['MCPConfigUIController']);const b={'id':'mcp-ui.command.openConfigPanel','type':u['CommandType']['COMMAND'],'handler':async(_0xbb10d3,_0x59b2b8)=>(_0xbb10d3[_0x525873(0x17c)](exports[_0x525873(0x106)])[_0x525873(0x174)](),!0x0)};function Z(_0x4c39d4,_0x2f225e){const _0x345449=_0x525873;switch(_0x4c39d4){case s['MCPConnectionStatus']['DISCONNECTED']:return'mcpStatus.disconnected';case s[_0x345449(0x17d)][_0x345449(0x183)]:return _0x345449(0x169);case s['MCPConnectionStatus'][_0x345449(0x200)]:return _0x345449(0x100);case s[_0x345449(0x17d)]['FAILED']:switch(_0x2f225e){case s['MCPConnectionError'][_0x345449(0x11c)]:return _0x345449(0x244);case s[_0x345449(0x223)]['SESSION_ID_OCCUPIED']:return _0x345449(0x134);case s[_0x345449(0x223)][_0x345449(0x112)]:return _0x345449(0x1a1);case s[_0x345449(0x223)][_0x345449(0x127)]:return _0x345449(0x154);default:return'mcpStatus.failed';}case s['MCPConnectionStatus'][_0x345449(0x256)]:return'mcpStatus.retrying';default:return _0x345449(0x197);}}function Se(_0x5dffe2,_0x2b4556,_0x475be7,_0x106cd2=!0x0){const _0x317be6=_0x525873,_0x3228d7=Z(_0x5dffe2,_0x2b4556),_0x369a63=_0x475be7['t'](_0x3228d7);return _0x106cd2?_0x5dffe2===s[_0x317be6(0x17d)]['DISCONNECTED']&&_0x2b4556===s[_0x317be6(0x223)][_0x317be6(0x11c)]?_0x369a63+_0x317be6(0x1dc)+_0x475be7['t']('mcpStatus.clickToConfigure'):_0x5dffe2===s[_0x317be6(0x17d)]['CONNECTED']?''+_0x369a63:_0x5dffe2===s[_0x317be6(0x17d)][_0x317be6(0x121)]||_0x5dffe2===s[_0x317be6(0x17d)][_0x317be6(0x1f5)]?_0x369a63+_0x317be6(0x1dc)+_0x475be7['t'](_0x317be6(0x1b3)):_0x369a63:_0x369a63;}function Pe(_0x494077){const _0x10c31f=_0x525873;switch(_0x494077){case s[_0x10c31f(0x17d)][_0x10c31f(0x200)]:return'univer-text-green-500';case s[_0x10c31f(0x17d)][_0x10c31f(0x183)]:case s['MCPConnectionStatus'][_0x10c31f(0x256)]:return _0x10c31f(0x159);case s[_0x10c31f(0x17d)][_0x10c31f(0x1f5)]:case s[_0x10c31f(0x17d)][_0x10c31f(0x121)]:return _0x10c31f(0x1d0);default:return _0x10c31f(0x20b);}}function W(_0x235c4b){const _0x3c6e07=_0x525873,{status$:_0x53135d,error$:_0x37be47,onConfigure:_0x2b6032,showClickable:_0x41aa96=!0x0}=_0x235c4b,_0x5b72f8=v[_0x3c6e07(0x1cc)](_0x53135d,s[_0x3c6e07(0x17d)][_0x3c6e07(0x121)]),_0x140104=v[_0x3c6e07(0x1cc)](_0x37be47,s[_0x3c6e07(0x223)][_0x3c6e07(0x1af)]),_0x409cdf=v[_0x3c6e07(0x23c)](u[_0x3c6e07(0x111)]),_0x473a78=_0x5b72f8===s[_0x3c6e07(0x17d)][_0x3c6e07(0x200)];_0x5b72f8===s['MCPConnectionStatus'][_0x3c6e07(0x183)]||s[_0x3c6e07(0x17d)][_0x3c6e07(0x256)];const _0xcff074=_0x409cdf['t'](Z(_0x5b72f8,_0x140104)),_0x37b3e9=Se(_0x5b72f8,_0x140104,_0x409cdf,_0x41aa96),_0x32c602=Pe(_0x5b72f8),_0x44a8a8=_0x473a78?i[_0x3c6e07(0x218)](q,{}):i[_0x3c6e07(0x218)](Y,{}),_0x1aa1d9=d[_0x3c6e07(0x144)](()=>{_0x41aa96&&_0x2b6032&&_0x2b6032();},[_0x41aa96,_0x2b6032]);function _0x412a19(){const _0x3b9484=_0x3c6e07;return i['jsxs'](_0x3b9484(0x1b0),{'className':f[_0x3b9484(0x257)]('univer-flex\x20univer-items-center',_0x41aa96&&_0x2b6032&&_0x3b9484(0x185)),'role':'button','onClick':_0x41aa96&&_0x2b6032?_0x1aa1d9:void 0x0,'children':[i[_0x3b9484(0x218)](_0x3b9484(0x1b0),{'className':f[_0x3b9484(0x257)](_0x3b9484(0x11a),_0x32c602),'children':_0x44a8a8}),i[_0x3b9484(0x218)](_0x3b9484(0x1b0),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xcff074})]});}return i[_0x3c6e07(0x218)](f[_0x3c6e07(0x1b5)],{'title':_0x37b3e9,'placement':_0x3c6e07(0x1db),'children':_0x412a19()});}var Ie=Object['getOwnPropertyDescriptor'],_e=(_0x24b585,_0x99d934,_0x58e56d,_0x23e46d)=>{const _0x51976e=_0x525873;for(var _0x30a605=_0x23e46d>0x1?void 0x0:_0x23e46d?Ie(_0x99d934,_0x58e56d):_0x99d934,_0xff9788=_0x24b585[_0x51976e(0x23f)]-0x1,_0x38fa71;_0xff9788>=0x0;_0xff9788--)(_0x38fa71=_0x24b585[_0xff9788])&&(_0x30a605=_0x38fa71(_0x30a605)||_0x30a605);return _0x30a605;},N=(_0x2808bd,_0x1dd5b8)=>(_0x2a22c8,_0x2812c6)=>_0x1dd5b8(_0x2a22c8,_0x2812c6,_0x2808bd);exports[_0x525873(0x162)]=class extends u[_0x525873(0x19c)]{constructor(_0x385354,_0x150e5b,_0x5ab1e5,_0x26c7f0){const _0x420d25=_0x525873;super(),this[_0x420d25(0x1cb)]=_0x385354,this['_connectionController']=_0x150e5b,this[_0x420d25(0x1c5)]=_0x5ab1e5,this[_0x420d25(0x211)]=_0x26c7f0,this[_0x420d25(0xf2)](),this['_initStatusComponent']();}[_0x525873(0xf2)](){const _0x41da6e=_0x525873,_0x56137f=this[_0x41da6e(0x211)][_0x41da6e(0x22c)](P);_0x56137f!=null&&_0x56137f[_0x41da6e(0x253)]&&(this[_0x41da6e(0x254)]['enableAutoConnect']=!0x1);}[_0x525873(0x15e)](){const _0x3140f0=_0x525873,_0xffdfb6=this[_0x3140f0(0x211)][_0x3140f0(0x22c)](P);(_0xffdfb6==null?void 0x0:_0xffdfb6[_0x3140f0(0x242)])!==!0x1&&this[_0x3140f0(0xf1)](this[_0x3140f0(0x1c5)][_0x3140f0(0x1f1)](v['BuiltInUIPart'][_0x3140f0(0x14a)],()=>{const _0x3040ee=_0x3140f0;var _0x169a08;return v[_0x3040ee(0x19a)](ye({'status$':this['_connectionController'][_0x3040ee(0x1a0)],'error$':this['_connectionController']['connectionError$'],'onConfigure':()=>this[_0x3040ee(0x153)](),'showClickable':(_0x169a08=_0xffdfb6==null?void 0x0:_0xffdfb6['showDeveloperTools'])!=null?_0x169a08:!0x1}),this['_injector']);}));}['_handleConfigure'](){const _0x177f82=_0x525873;this[_0x177f82(0x1cb)][_0x177f82(0x17c)](exports[_0x177f82(0x106)])[_0x177f82(0x174)]();}},exports[_0x525873(0x162)]=_e([N(0x0,u[_0x525873(0x227)](u[_0x525873(0x1aa)])),N(0x1,u[_0x525873(0x227)](s[_0x525873(0x1a6)])),N(0x2,v[_0x525873(0x1b1)]),N(0x3,u[_0x525873(0x1dd)])],exports[_0x525873(0x162)]);function ye(_0x110d8a){const {status$:_0x3b1abb,error$:_0x5d5b6c,onConfigure:_0x51837a,showClickable:_0x411342}=_0x110d8a;return function(){const _0xd40aef=_0x4a71;return i[_0xd40aef(0x218)](W,{'status$':_0x3b1abb,'error$':_0x5d5b6c,'onConfigure':_0x51837a,'showClickable':_0x411342});};}function Me(_0x4fe662){const _0x4b73a8=_0x525873;return{'id':b['id'],'type':v[_0x4b73a8(0x237)][_0x4b73a8(0x158)],'icon':_0x4b73a8(0x120),'title':_0x4b73a8(0x18e),'tooltip':_0x4b73a8(0x18e)};}const Ne={[v[_0x525873(0x16e)]['OTHERS']]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0x525873(0x13b)],je=(_0x25a737,_0x3c4b85,_0x128a77,_0x544af5)=>{for(var _0x49f03e=_0x544af5>0x1?void 0x0:_0x544af5?be(_0x3c4b85,_0x128a77):_0x3c4b85,_0x5dc71c=_0x25a737['length']-0x1,_0x190700;_0x5dc71c>=0x0;_0x5dc71c--)(_0x190700=_0x25a737[_0x5dc71c])&&(_0x49f03e=_0x190700(_0x49f03e)||_0x49f03e);return _0x49f03e;},z=(_0x126e84,_0x13f606)=>(_0x176112,_0x5e2d6b)=>_0x13f606(_0x176112,_0x5e2d6b,_0x126e84);exports['MCPUIMenuController']=class extends u[_0x525873(0x19c)]{constructor(_0x279755,_0x3b9a3c){const _0x49629a=_0x525873;super(),this[_0x49629a(0x1d8)]=_0x279755,this[_0x49629a(0x204)]=_0x3b9a3c,this[_0x49629a(0x15a)](),this[_0x49629a(0x135)]();}[_0x525873(0x15a)](){const _0x3802b0=_0x525873;[b][_0x3802b0(0x119)](_0x3e1fde=>{this['disposeWithMe'](this['_commandService']['registerCommand'](_0x3e1fde));});}[_0x525873(0x135)](){this['_menuManagerService']['mergeMenu'](Ne);}},exports[_0x525873(0x219)]=je([z(0x0,u[_0x525873(0x1b7)]),z(0x1,v['IMenuManagerService'])],exports[_0x525873(0x219)]);const Ee={'mcpStatus':{'disconnected':_0x525873(0x203),'connecting':_0x525873(0x116),'connected':_0x525873(0x1df),'failed':'MCP\x20Connection\x20Failed','retrying':_0x525873(0x12f),'unknown':_0x525873(0x23d),'unauthorized':_0x525873(0x10d),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x525873(0x229),'clickToConnect':_0x525873(0x240),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x525873(0x1eb),'apiKey':_0x525873(0x23b),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x525873(0xfc),'enableAuth':_0x525873(0x248),'enableAuthHint':_0x525873(0x124),'connectionInfo':_0x525873(0x260),'mcpClientConfig':_0x525873(0x260),'configInstructions':_0x525873(0x25d),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x525873(0x15c),'configStep2':_0x525873(0x17f),'configStep3':_0x525873(0x12a),'sessionId':_0x525873(0x1ea),'sessionIdDescription':_0x525873(0x132),'authorizationDescription':_0x525873(0x208),'configParameters':_0x525873(0xf4),'maxRetries':'Max\x20Retries','save':_0x525873(0x21f),'saving':_0x525873(0x105),'note1':_0x525873(0x15b),'note2':_0x525873(0xfd),'configSaved':_0x525873(0x15d),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x525873(0x262),'description':_0x525873(0x245),'univerAiLabel':_0x525873(0x249),'getStarted':_0x525873(0x1c7)},'validation':{'apiKeyRequired':_0x525873(0x19d),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x525873(0x24e),'connecting':_0x525873(0x1ec),'connected':_0x525873(0x156),'failed':_0x525873(0x225),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x525873(0x198),'sessionOccupied':_0x525873(0x137),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x525873(0x22f)}}},we={'mcpStatus':{'disconnected':_0x525873(0x1c9),'connecting':'MCP\x20连接中...','connected':_0x525873(0x1cf),'failed':_0x525873(0x1ae),'retrying':'MCP\x20重连中...','unknown':_0x525873(0x175),'unauthorized':'MCP:\x20未授权','sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x525873(0x25b),'maxRetriesExceeded':_0x525873(0x166),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x525873(0x19e)},'mcpConfig':{'title':_0x525873(0x109),'description':_0x525873(0x10e),'apiKey':_0x525873(0x10a),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x525873(0x22a),'configStepTitle':_0x525873(0x1ad),'configStep1':_0x525873(0x255),'configStep2':_0x525873(0x1d1),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x525873(0x19b),'sessionIdDescription':_0x525873(0x164),'authorizationDescription':_0x525873(0x21b),'configParameters':'配置参数:','maxRetries':_0x525873(0x13e),'save':'保存配置','saving':_0x525873(0x1a7),'note1':'配置更改将立即生效','note2':_0x525873(0x1ff),'configSaved':_0x525873(0x1fb),'configError':_0x525873(0x1d6),'apiApplyInfo':{'title':_0x525873(0x118),'description':_0x525873(0x114),'univerAiLabel':_0x525873(0xfa),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x525873(0x1ee),'invalidConfig':_0x525873(0x1f2),'invalidApiKey':_0x525873(0x1f0)},'connectionStatus':{'disconnected':_0x525873(0x16d),'connecting':_0x525873(0x17e),'connected':_0x525873(0x13d),'failed':_0x525873(0x182),'retrying':_0x525873(0x206)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x525873(0x160),'maxRetriesExceeded':_0x525873(0x12b)}}};var Ae=Object[_0x525873(0x1a3)],Oe=Object[_0x525873(0x13b)],De=(_0x130a44,_0x591b26,_0x2a1331)=>_0x591b26 in _0x130a44?Ae(_0x130a44,_0x591b26,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a1331}):_0x130a44[_0x591b26]=_0x2a1331,Ue=(_0x3c074b,_0x56826f,_0xe120ff,_0xce86ef)=>{for(var _0x48cd01=_0xce86ef>0x1?void 0x0:_0xce86ef?Oe(_0x56826f,_0xe120ff):_0x56826f,_0xaf6baf=_0x3c074b['length']-0x1,_0x1c6204;_0xaf6baf>=0x0;_0xaf6baf--)(_0x1c6204=_0x3c074b[_0xaf6baf])&&(_0x48cd01=_0x1c6204(_0x48cd01)||_0x48cd01);return _0x48cd01;},y=(_0x20af60,_0x4b4191)=>(_0x478648,_0x11e17a)=>_0x4b4191(_0x478648,_0x11e17a,_0x20af60),$e=(_0xf2f7fc,_0x1b4593,_0x5c55f9)=>De(_0xf2f7fc,_0x1b4593+'',_0x5c55f9);function _0x4a71(_0x35a521,_0x195781){_0x35a521=_0x35a521-0xf0;const _0x27f79b=_0x27f7();let _0x4a71dd=_0x27f79b[_0x35a521];return _0x4a71dd;}exports['UniverMCPUIPlugin']=class extends u[_0x525873(0x1d4)]{constructor(_0x2bd2ac=L,_0x133010,_0x7b9cd3,_0x216284,_0x27ba13,_0x444c77){const _0x25f684=_0x525873;super(),this[_0x25f684(0x11f)]=_0x2bd2ac,this['_injector']=_0x133010,this[_0x25f684(0x211)]=_0x7b9cd3,this['_uiPartsService']=_0x216284,this[_0x25f684(0x25c)]=_0x27ba13,this['_localeService']=_0x444c77;const {..._0x3c0dab}=u[_0x25f684(0x102)]({},L,this[_0x25f684(0x11f)]);this[_0x25f684(0x211)][_0x25f684(0x209)](P,_0x3c0dab);}async['onStarting'](){const _0x1244bf=_0x525873,_0x4cc7c7=[[exports[_0x1244bf(0x162)]],[exports[_0x1244bf(0x106)]],[exports[_0x1244bf(0x219)]]];this['_injector'][_0x1244bf(0x246)](A[_0x1244bf(0x172)])||_0x4cc7c7['push']([A['ISocketService'],{'useClass':A[_0x1244bf(0x16b)]}]),_0x4cc7c7['forEach'](_0x2c9eda=>this[_0x1244bf(0x1cb)][_0x1244bf(0x14b)](_0x2c9eda)),this[_0x1244bf(0x1cb)]['get'](exports[_0x1244bf(0x162)]),this[_0x1244bf(0x1cb)][_0x1244bf(0x17c)](exports[_0x1244bf(0x106)]),this['_injector'][_0x1244bf(0x17c)](exports[_0x1244bf(0x219)]);}},$e(exports[_0x525873(0x1e9)],_0x525873(0x188),_0x525873(0x220)),exports[_0x525873(0x1e9)]=Ue([u['DependentOn'](s[_0x525873(0x12d)]),y(0x1,u['Inject'](u['Injector'])),y(0x2,u[_0x525873(0x1dd)]),y(0x3,v[_0x525873(0x1b1)]),y(0x4,u[_0x525873(0x11e)]),y(0x5,u['Inject'](u[_0x525873(0x111)]))],exports[_0x525873(0x1e9)]),exports[_0x525873(0x165)]=V,exports[_0x525873(0x13c)]=W,exports[_0x525873(0x12e)]=b,exports['enUS']=Ee,exports[_0x525873(0x161)]=we;
1
+ 'use strict';const _0x29ead5=_0x3e67;(function(_0x2a65bb,_0x2857fe){const _0x401713=_0x3e67,_0x5b1eb3=_0x2a65bb();while(!![]){try{const _0x40dbf5=parseInt(_0x401713(0x275))/0x1+-parseInt(_0x401713(0x15a))/0x2+-parseInt(_0x401713(0x1b9))/0x3*(-parseInt(_0x401713(0x220))/0x4)+-parseInt(_0x401713(0x151))/0x5*(parseInt(_0x401713(0x227))/0x6)+-parseInt(_0x401713(0x259))/0x7*(parseInt(_0x401713(0x153))/0x8)+-parseInt(_0x401713(0x291))/0x9+parseInt(_0x401713(0x1be))/0xa*(parseInt(_0x401713(0x159))/0xb);if(_0x40dbf5===_0x2857fe)break;else _0x5b1eb3['push'](_0x5b1eb3['shift']());}catch(_0x3e79b6){_0x5b1eb3['push'](_0x5b1eb3['shift']());}}}(_0x45bd,0xa5251));var ae=Object[_0x29ead5(0x1f3)],le=(_0x599cb2,_0x268904,_0x1cddae)=>_0x268904 in _0x599cb2?ae(_0x599cb2,_0x268904,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cddae}):_0x599cb2[_0x268904]=_0x1cddae,I=(_0x51d521,_0x45f104,_0xf7044)=>le(_0x51d521,typeof _0x45f104!=_0x29ead5(0x121)?_0x45f104+'':_0x45f104,_0xf7044);Object[_0x29ead5(0x1f3)](exports,Symbol[_0x29ead5(0x20a)],{'value':'Module'});const u=require('@univerjs/core'),i=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),f=require('@univerjs/design'),v=require('@univerjs/ui'),M=require('rxjs'),d=require('react'),A=require('@univerjs/network');function _({ref:_0x23d710,..._0x26fdf1}){const _0x2093b7=_0x29ead5,{icon:_0x19b08b,id:_0x3e5b1d,className:_0x2b56d3,extend:_0x33cf23,..._0x3640d5}=_0x26fdf1,_0x5ae66b=(_0x2093b7(0x1a8)+_0x3e5b1d+'\x20'+(_0x2b56d3||''))[_0x2093b7(0x277)](),_0x2466de=d[_0x2093b7(0x263)]('_'+de());return G(_0x19b08b,''+_0x3e5b1d,{'defIds':_0x19b08b[_0x2093b7(0x12b)],'idSuffix':_0x2466de[_0x2093b7(0x14b)]},{'ref':_0x23d710,'className':_0x5ae66b,..._0x3640d5},_0x33cf23);}function G(_0x548f77,_0x2ba4d5,_0x453920,_0x80c7c9,_0x51d215){const _0xfd71a3=_0x29ead5;return d[_0xfd71a3(0x22c)](_0x548f77[_0xfd71a3(0x120)],{'key':_0x2ba4d5,...ue(_0x548f77,_0x453920,_0x51d215),..._0x80c7c9},(ve(_0x548f77,_0x453920)[_0xfd71a3(0x23e)]||[])['map']((_0x3cb8d7,_0x50325d)=>G(_0x3cb8d7,_0x2ba4d5+'-'+_0x548f77[_0xfd71a3(0x120)]+'-'+_0x50325d,_0x453920,void 0x0,_0x51d215)));}function ue(_0x19ad36,_0x4fd6d0,_0x6038fa){const _0xcd0568=_0x29ead5,_0x1a05e3={..._0x19ad36[_0xcd0568(0x125)]};_0x6038fa!=null&&_0x6038fa[_0xcd0568(0x12d)]&&_0x1a05e3[_0xcd0568(0x24e)]==='colorChannel1'&&(_0x1a05e3['fill']=_0x6038fa['colorChannel1']),_0x19ad36['tag']===_0xcd0568(0x25a)&&_0x1a05e3['id']&&(_0x1a05e3['id']=_0x1a05e3['id']+_0x4fd6d0[_0xcd0568(0x21c)]),Object['entries'](_0x1a05e3)[_0xcd0568(0x19f)](([_0x591f09,_0x5ccb2])=>{const _0x4d683e=_0xcd0568;_0x591f09===_0x4d683e(0x25a)&&typeof _0x5ccb2=='string'&&(_0x1a05e3[_0x591f09]=_0x5ccb2['replace'](/url\(#(.*)\)/,_0x4d683e(0x18a)+_0x4fd6d0[_0x4d683e(0x21c)]+')'));});const {defIds:_0x143183}=_0x4fd6d0;return!_0x143183||_0x143183[_0xcd0568(0x214)]===0x0||(_0x19ad36[_0xcd0568(0x120)]==='use'&&_0x1a05e3['xlink:href']&&(_0x1a05e3[_0xcd0568(0x28a)]=_0x1a05e3[_0xcd0568(0x28a)]+_0x4fd6d0[_0xcd0568(0x21c)]),Object['entries'](_0x1a05e3)[_0xcd0568(0x19f)](([_0x46d651,_0x151f62])=>{const _0x4631fd=_0xcd0568;typeof _0x151f62=='string'&&(_0x1a05e3[_0x46d651]=_0x151f62['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4fd6d0[_0x4631fd(0x21c)]+')'));})),_0x1a05e3;}function ve(_0x109784,_0x233a17){const _0x8f65b9=_0x29ead5;var _0x530792;const {defIds:_0x2e1809}=_0x233a17;return!_0x2e1809||_0x2e1809[_0x8f65b9(0x214)]===0x0?_0x109784:_0x109784['tag']==='defs'&&((_0x530792=_0x109784[_0x8f65b9(0x23e)])!=null&&_0x530792[_0x8f65b9(0x214)])?{..._0x109784,'children':_0x109784[_0x8f65b9(0x23e)][_0x8f65b9(0x28b)](_0x26ac7e=>typeof _0x26ac7e[_0x8f65b9(0x125)]['id']==_0x8f65b9(0x11b)&&_0x2e1809&&_0x2e1809['includes'](_0x26ac7e['attrs']['id'])?{..._0x26ac7e,'attrs':{..._0x26ac7e[_0x8f65b9(0x125)],'id':_0x26ac7e['attrs']['id']+_0x233a17[_0x8f65b9(0x21c)]}}:_0x26ac7e)}:_0x109784;}function de(){const _0x5072fa=_0x29ead5;return Math['random']()[_0x5072fa(0x1f4)](0x24)['substring'](0x2,0x8);}_['displayName']=_0x29ead5(0x1e2);const Ce={'tag':_0x29ead5(0x184),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x29ead5(0x139),'viewBox':_0x29ead5(0x1bd),'width':_0x29ead5(0x248),'height':_0x29ead5(0x248)},'children':[{'tag':'path','attrs':{'fill':_0x29ead5(0x179),'d':_0x29ead5(0x1e1),'fillRule':'evenodd','clipRule':_0x29ead5(0x188)}}]},H=d['forwardRef'](function(_0x23e9b7,_0x50508d){const _0x33e4da=_0x29ead5;return d['createElement'](_,Object[_0x33e4da(0x20c)]({},_0x23e9b7,{'id':_0x33e4da(0x1c8),'ref':_0x50508d,'icon':Ce}));});H['displayName']=_0x29ead5(0x152);const ge={'tag':_0x29ead5(0x184),'attrs':{'xmlns':_0x29ead5(0x258),'fill':_0x29ead5(0x139),'viewBox':_0x29ead5(0x1bd),'width':_0x29ead5(0x248),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x29ead5(0x23a)}}]},B=d['forwardRef'](function(_0x5a096e,_0xb473e3){const _0x52d12e=_0x29ead5;return d[_0x52d12e(0x22c)](_,Object[_0x52d12e(0x20c)]({},_0x5a096e,{'id':_0x52d12e(0x1ae),'ref':_0xb473e3,'icon':ge}));});B[_0x29ead5(0x192)]=_0x29ead5(0x1ca);const fe={'tag':_0x29ead5(0x184),'attrs':{'xmlns':_0x29ead5(0x258),'fill':_0x29ead5(0x139),'viewBox':_0x29ead5(0x1bd),'width':_0x29ead5(0x248),'height':_0x29ead5(0x248)},'children':[{'tag':_0x29ead5(0x205),'attrs':{'fill':_0x29ead5(0x179),'d':_0x29ead5(0x143)}},{'tag':_0x29ead5(0x205),'attrs':{'fill':_0x29ead5(0x179),'d':_0x29ead5(0x193)}},{'tag':_0x29ead5(0x205),'attrs':{'fill':'currentColor','d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x29ead5(0x188),'clipRule':_0x29ead5(0x188)}}]},F=d[_0x29ead5(0x289)](function(_0x584702,_0x36f881){const _0xdeb1b4=_0x29ead5;return d[_0xdeb1b4(0x22c)](_,Object[_0xdeb1b4(0x20c)]({},_0x584702,{'id':_0xdeb1b4(0x1ed),'ref':_0x36f881,'icon':fe}));});F[_0x29ead5(0x192)]=_0x29ead5(0x154);const pe={'tag':_0x29ead5(0x184),'attrs':{'xmlns':_0x29ead5(0x258),'fill':'none','viewBox':_0x29ead5(0x1bd),'width':'1em','height':_0x29ead5(0x248)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x29ead5(0x205),'attrs':{'stroke':'currentColor','d':_0x29ead5(0x1bc),'strokeLinecap':'round','strokeLinejoin':_0x29ead5(0x1b1),'strokeWidth':1.2}}]},{'tag':_0x29ead5(0x1bf),'attrs':{},'children':[{'tag':_0x29ead5(0x1bb),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x29ead5(0x205),'attrs':{'fill':_0x29ead5(0x202),'d':_0x29ead5(0x230)}}]}]}],'defIds':[_0x29ead5(0x25d)]},Y=d[_0x29ead5(0x289)](function(_0x56ccff,_0xbf17ae){const _0x49351e=_0x29ead5;return d[_0x49351e(0x22c)](_,Object[_0x49351e(0x20c)]({},_0x56ccff,{'id':_0x49351e(0x261),'ref':_0xbf17ae,'icon':pe}));});Y[_0x29ead5(0x192)]=_0x29ead5(0x1a1);const he={'tag':_0x29ead5(0x184),'attrs':{'xmlns':_0x29ead5(0x258),'fill':_0x29ead5(0x139),'viewBox':_0x29ead5(0x1c7),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x29ead5(0x169)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x29ead5(0x1b1),'strokeLinejoin':_0x29ead5(0x1b1),'strokeWidth':1.2}}]},{'tag':_0x29ead5(0x1bf),'attrs':{},'children':[{'tag':_0x29ead5(0x1bb),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x29ead5(0x205),'attrs':{'fill':_0x29ead5(0x202),'d':_0x29ead5(0x230),'transform':_0x29ead5(0x218)}}]}]}],'defIds':[_0x29ead5(0x1ac)]},q=d['forwardRef'](function(_0x3d8b22,_0x3d709f){const _0xc9592b=_0x29ead5;return d['createElement'](_,Object[_0xc9592b(0x20c)]({},_0x3d8b22,{'id':_0xc9592b(0x22f),'ref':_0x3d709f,'icon':he}));});q[_0x29ead5(0x192)]=_0x29ead5(0x1c2);function V(_0x273079){const _0x2230bd=_0x29ead5;var _0x5d9238,_0x5224bb;const {mcpCoreConfig:_0x47b4ec,onSave:_0x1baa79,loading:_0x72f583=!0x1,config:_0x4c07cc,connectionStatus$:_0x2de657,connectionError$:_0x2fcb36,currentApiKey$:_0x38c104,currentSessionId$:_0x179f3e}=_0x273079,_0x5e5af7=v[_0x2230bd(0x165)](u['LocaleService']),_0x45756f=v['useObservable'](_0x2de657,s['MCPConnectionStatus']['DISCONNECTED']),_0x41665b=v[_0x2230bd(0x162)](_0x2fcb36,s[_0x2230bd(0x28c)][_0x2230bd(0x1c3)]),_0x750040=v['useObservable'](_0x179f3e,''),_0x5082a5=v[_0x2230bd(0x162)](_0x38c104,''),[_0x248fd9,_0x4a0573]=d[_0x2230bd(0x191)](_0x5082a5||''),_0xbb3959=!0x0,_0x549dc6=_0x4c07cc[_0x2230bd(0x1cb)]&&_0x47b4ec[_0x2230bd(0x1a3)]&&(_0x47b4ec[_0x2230bd(0x1a3)][_0x2230bd(0x238)](_0x2230bd(0x201))||_0x47b4ec['mcpServerUrl'][_0x2230bd(0x238)]('univer.ai')),_0x21e6d8=(_0x5d9238=_0x47b4ec[_0x2230bd(0x1a3)])==null?void 0x0:_0x5d9238[_0x2230bd(0x238)](_0x2230bd(0x201)),_0x9a3713=(_0x5224bb=_0x47b4ec[_0x2230bd(0x1a3)])==null?void 0x0:_0x5224bb['includes'](_0x2230bd(0x229)),_0x2683dc=_0x21e6d8?_0x2230bd(0x242):_0x2230bd(0x12e),_0x3761c0=_0x4c07cc['showDeveloperTools']&&(_0x21e6d8||_0x9a3713),[_0x1f924c,_0x483af9]=d[_0x2230bd(0x191)](!_0x248fd9[_0x2230bd(0x277)]()),_0x4bd556=(_0x181abe,_0x168bce)=>{const _0x156728=_0x2230bd;if(_0x168bce===s[_0x156728(0x28c)][_0x156728(0x18e)])return _0x156728(0x206);switch(_0x181abe){case s[_0x156728(0x17d)][_0x156728(0x1f5)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case s['MCPConnectionStatus'][_0x156728(0x1f9)]:case s['MCPConnectionStatus'][_0x156728(0x221)]:return _0x156728(0x1e3);case s[_0x156728(0x17d)][_0x156728(0x1b6)]:return _0x156728(0x206);default:return _0x156728(0x23f);}},_0xb066ec=(_0x38c2f1,_0x5a7f6d)=>{const _0x419de4=_0x2230bd;if(_0x5a7f6d===s[_0x419de4(0x28c)]['UNAUTHORIZED'])return'univer-bg-red-500';switch(_0x38c2f1){case s[_0x419de4(0x17d)][_0x419de4(0x1f5)]:return _0x419de4(0x14c);case s[_0x419de4(0x17d)][_0x419de4(0x1f9)]:case s[_0x419de4(0x17d)][_0x419de4(0x221)]:return'univer-bg-blue-500';case s['MCPConnectionStatus']['FAILED']:return _0x419de4(0x18c);default:return _0x419de4(0x11e);}},_0x28f966=_0x193e93=>{const _0x3b4c9f=_0x2230bd;switch(_0x193e93){case s['MCPConnectionStatus']['CONNECTED']:return _0x5e5af7['t'](_0x3b4c9f(0x216));case s[_0x3b4c9f(0x17d)][_0x3b4c9f(0x1f9)]:return _0x5e5af7['t'](_0x3b4c9f(0x280));case s['MCPConnectionStatus'][_0x3b4c9f(0x1b6)]:return _0x5e5af7['t'](_0x3b4c9f(0x21d));case s[_0x3b4c9f(0x17d)][_0x3b4c9f(0x221)]:return _0x5e5af7['t']('mcpConfig.connectionStatus.retrying');default:return _0x5e5af7['t']('mcpConfig.connectionStatus.disconnected');}},_0x5b1f50=_0x3c43be=>{const _0x15082d=_0x2230bd;switch(_0x3c43be){case s[_0x15082d(0x28c)]['UNAUTHORIZED']:return _0x5e5af7['t'](_0x15082d(0x16d));case s[_0x15082d(0x28c)][_0x15082d(0x26d)]:return _0x5e5af7['t'](_0x15082d(0x149));case s[_0x15082d(0x28c)][_0x15082d(0x1d7)]:return _0x5e5af7['t'](_0x15082d(0x21e));case s[_0x15082d(0x28c)][_0x15082d(0x11f)]:return _0x5e5af7['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x4f487a=d[_0x2230bd(0x1c9)](()=>{const _0x13c43b=_0x2230bd,_0x458692={..._0x47b4ec,'apiKey':_0x248fd9[_0x13c43b(0x277)](),'enableAuth':_0xbb3959};_0x1baa79(_0x458692);},[_0x47b4ec,_0x248fd9,_0xbb3959,_0x1baa79]),_0xb5322e=_0x248fd9['trim']()[_0x2230bd(0x214)]>0x0;return i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[i['jsx']('div',{'className':_0x2230bd(0x208),'children':i['jsxs']('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[i['jsx'](_0x2230bd(0x17a),{'className':_0x2230bd(0x12c),'children':i['jsx']('span',{'className':_0x2230bd(0x11d),'children':'⚙'})}),i[_0x2230bd(0x189)]('div',{'children':i['jsx']('p',{'className':_0x2230bd(0x13c),'children':_0x5e5af7['t'](_0x2230bd(0x13f))})})]})}),i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':_0x2230bd(0x1d4),'children':[i['jsx'](_0x2230bd(0x17a),{'className':f[_0x2230bd(0x19e)]('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x4bd556(_0x45756f,_0x41665b)),'children':i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':_0x2230bd(0x145),'children':[i[_0x2230bd(0x189)](_0x2230bd(0x17a),{'className':f[_0x2230bd(0x19e)](_0x2230bd(0x1fa),_0xb066ec(_0x45756f,_0x41665b))}),i[_0x2230bd(0x189)](_0x2230bd(0x1eb),{'className':_0x2230bd(0x249),'children':_0x28f966(_0x45756f)})]})}),_0x41665b!==s[_0x2230bd(0x28c)][_0x2230bd(0x1c3)]&&(_0x45756f===s['MCPConnectionStatus'][_0x2230bd(0x1b6)]||_0x41665b===s['MCPConnectionError']['UNAUTHORIZED'])&&i[_0x2230bd(0x189)](_0x2230bd(0x17a),{'className':_0x2230bd(0x269),'children':i[_0x2230bd(0x231)]('div',{'className':_0x2230bd(0x198),'children':[i[_0x2230bd(0x189)](_0x2230bd(0x1eb),{'className':_0x2230bd(0x1ce),'children':'⚠️'}),i[_0x2230bd(0x189)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x5b1f50(_0x41665b)})]})})]}),i['jsx'](_0x2230bd(0x17a),{'className':_0x2230bd(0x1cd),'children':i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':'univer-space-y-5','children':[i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':_0x2230bd(0x1ff),'children':[i[_0x2230bd(0x231)](_0x2230bd(0x144),{'className':_0x2230bd(0x15b),'children':[i['jsx'](_0x2230bd(0x1eb),{'children':'🔑'}),'\x20',_0x5e5af7['t'](_0x2230bd(0x181)),i['jsx'](_0x2230bd(0x1eb),{'className':_0x2230bd(0x123),'children':'*'}),_0x549dc6&&i[_0x2230bd(0x189)]('a',{'className':_0x2230bd(0x247),'title':_0x5e5af7['t'](_0x2230bd(0x115)),'role':_0x2230bd(0x255),'onClick':()=>_0x483af9(!0x0),'children':i[_0x2230bd(0x189)](F,{})})]}),i[_0x2230bd(0x189)](f[_0x2230bd(0x1a7)],{'type':_0x2230bd(0x233),'placeholder':_0x5e5af7['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x248fd9,'disabled':_0x72f583,'autoComplete':_0x2230bd(0x171),'onChange':_0x4a0573}),i['jsx']('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5e5af7['t'](_0x2230bd(0x12a))})]}),_0x549dc6&&_0x1f924c&&i['jsxs'](_0x2230bd(0x17a),{'className':_0x2230bd(0x209),'children':[i[_0x2230bd(0x189)]('a',{'className':_0x2230bd(0x251),'role':'button','onClick':()=>_0x483af9(!0x1),'children':i[_0x2230bd(0x189)](B,{'className':_0x2230bd(0x1a0)})}),i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':_0x2230bd(0x223),'children':[i[_0x2230bd(0x189)](_0x2230bd(0x17a),{'className':_0x2230bd(0x1e8),'children':i[_0x2230bd(0x189)](_0x2230bd(0x1eb),{'className':_0x2230bd(0x271),'children':'🚀'})}),i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':'univer-flex-1','children':[i[_0x2230bd(0x189)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x5e5af7['t'](_0x2230bd(0x115))}),i[_0x2230bd(0x189)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x5e5af7['t'](_0x2230bd(0x273))}),i['jsx']('div',{'className':_0x2230bd(0x1e9),'children':_0x3761c0&&i[_0x2230bd(0x231)]('a',{'className':_0x2230bd(0x26c),'href':_0x2683dc,'target':'_blank','rel':_0x2230bd(0x15f),'children':[i[_0x2230bd(0x189)](_0x2230bd(0x1eb),{'children':'🤖'}),_0x5e5af7['t'](_0x2230bd(0x1b7)),i['jsx']('span',{'className':'univer-text-gray-400','children':'↗'})]})}),i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x5e5af7['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x4c07cc[_0x2230bd(0x1cb)]&&i[_0x2230bd(0x231)]('div',{'className':_0x2230bd(0x185),'children':[i['jsxs']('h4',{'className':_0x2230bd(0x135),'children':[i[_0x2230bd(0x189)](_0x2230bd(0x1eb),{'children':'🔗'}),'\x20',_0x5e5af7['t'](_0x2230bd(0x124))]}),i['jsxs'](_0x2230bd(0x17a),{'className':_0x2230bd(0x177),'children':[i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':_0x2230bd(0x20e),'children':[i[_0x2230bd(0x189)]('p',{'className':_0x2230bd(0x1f1),'children':_0x5e5af7['t'](_0x2230bd(0x1b3))}),i['jsxs'](_0x2230bd(0x17a),{'className':_0x2230bd(0x1ff),'children':[i[_0x2230bd(0x189)](_0x2230bd(0x17a),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x5e5af7['t'](_0x2230bd(0x294))}),i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':_0x2230bd(0x1cc),'children':[i['jsxs'](_0x2230bd(0x17a),{'className':_0x2230bd(0x145),'children':[i[_0x2230bd(0x189)]('span',{'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':'1'}),_0x5e5af7['t'](_0x2230bd(0x17c))]}),i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':_0x2230bd(0x145),'children':[i[_0x2230bd(0x189)](_0x2230bd(0x1eb),{'className':_0x2230bd(0x246),'children':'2'}),_0x5e5af7['t'](_0x2230bd(0x210))]}),i['jsxs']('div',{'className':_0x2230bd(0x145),'children':[i[_0x2230bd(0x189)](_0x2230bd(0x1eb),{'className':_0x2230bd(0x246),'children':'3'}),_0x5e5af7['t'](_0x2230bd(0x168))]})]})]})]}),i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':_0x2230bd(0x1ff),'children':[i[_0x2230bd(0x189)](_0x2230bd(0x17a),{'className':_0x2230bd(0x236),'children':_0x2230bd(0x26a)}),i['jsx'](_0x2230bd(0x17a),{'className':_0x2230bd(0x17b),'children':i[_0x2230bd(0x189)]('pre',{'className':_0x2230bd(0x114),'children':JSON[_0x2230bd(0x173)]({'mcpServers':{'univer':{'url':_0x2230bd(0x190)+(_0x750040||'<SESSION_ID>'),'type':'http','headers':{'Authorization':_0x2230bd(0x161)+(_0x248fd9||_0x2230bd(0x194))}}}},null,0x2)})})]}),i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':_0x2230bd(0x20e),'children':[i[_0x2230bd(0x189)](_0x2230bd(0x17a),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x5e5af7['t']('mcpConfig.configParameters')}),i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':_0x2230bd(0x1ff),'children':[i[_0x2230bd(0x231)]('div',{'className':_0x2230bd(0x281),'children':[i[_0x2230bd(0x189)](_0x2230bd(0x17a),{'className':_0x2230bd(0x270)}),i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x2230bd(0x189)](_0x2230bd(0x17a),{'className':_0x2230bd(0x126),'children':'univer_session_id:'}),i[_0x2230bd(0x189)]('div',{'className':_0x2230bd(0x26b),'children':_0x5e5af7['t'](_0x2230bd(0x142))})]})]}),i['jsxs'](_0x2230bd(0x17a),{'className':_0x2230bd(0x281),'children':[i[_0x2230bd(0x189)](_0x2230bd(0x17a),{'className':_0x2230bd(0x270)}),i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':'univer-min-w-0\x20univer-flex-1','children':[i[_0x2230bd(0x189)]('div',{'className':_0x2230bd(0x126),'children':_0x2230bd(0x276)}),i[_0x2230bd(0x189)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5e5af7['t'](_0x2230bd(0x240))})]})]})]})]})]})]}),i[_0x2230bd(0x189)](f['Button'],{'onClick':_0x4f487a,'disabled':!_0xb5322e||_0x72f583,'className':_0x2230bd(0x215),'children':_0x72f583?i['jsxs'](_0x2230bd(0x1eb),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[i[_0x2230bd(0x189)](_0x2230bd(0x1eb),{'children':'⟲'}),_0x5e5af7['t'](_0x2230bd(0x163))]}):i[_0x2230bd(0x231)](_0x2230bd(0x1eb),{'className':_0x2230bd(0x145),'children':[i[_0x2230bd(0x189)](H,{}),_0x5e5af7['t'](_0x2230bd(0x13d))]})}),i[_0x2230bd(0x189)]('div',{'className':_0x2230bd(0x1d5),'children':i[_0x2230bd(0x231)](_0x2230bd(0x17a),{'className':'univer-flex\x20univer-gap-3','children':[i[_0x2230bd(0x189)](_0x2230bd(0x1eb),{'className':_0x2230bd(0x150),'children':'💡'}),i['jsxs'](_0x2230bd(0x17a),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[i[_0x2230bd(0x189)](_0x2230bd(0x17a),{'className':'univer-font-medium','children':_0x2230bd(0x11c)}),i['jsxs'](_0x2230bd(0x17a),{'children':['•',_0x5e5af7['t']('mcpConfig.note1')]}),i[_0x2230bd(0x231)]('div',{'children':['•',_0x5e5af7['t'](_0x2230bd(0x1a4))]})]})]})})]})})]});}const P='mcp-ui.config',L={'showDeveloperTools':!0x1,'showStatus':!0x0};var me=Object[_0x29ead5(0x176)],xe=(_0x282ab5,_0x5aa5c4,_0x4beabf,_0x1b1da2)=>{const _0x5821ab=_0x29ead5;for(var _0x5ee635=_0x1b1da2>0x1?void 0x0:_0x1b1da2?me(_0x5aa5c4,_0x4beabf):_0x5aa5c4,_0x18e0fc=_0x282ab5[_0x5821ab(0x214)]-0x1,_0x264dc4;_0x18e0fc>=0x0;_0x18e0fc--)(_0x264dc4=_0x282ab5[_0x18e0fc])&&(_0x5ee635=_0x264dc4(_0x5ee635)||_0x5ee635);return _0x5ee635;},g=(_0x1cdd77,_0x1c601c)=>(_0x1bbb96,_0x1b7934)=>_0x1c601c(_0x1bbb96,_0x1b7934,_0x1cdd77);const O='mcp.apiKey',D=_0x29ead5(0x160);exports['MCPConfigUIController']=class extends u['Disposable']{constructor(_0x15a757,_0x3e7fe7,_0x929a3f,_0x221b45,_0x55616a,_0x22ccba,_0x2ed8f2,_0x354ddd,_0x25b5ef,_0x3afb1c){const _0x12aa11=_0x29ead5;super(),I(this,_0x12aa11(0x1dc),new M[(_0x12aa11(0x24c))](!0x1)),I(this,_0x12aa11(0x156),new M[(_0x12aa11(0x24c))]({})),I(this,_0x12aa11(0x27a),new M[(_0x12aa11(0x24c))]({})),I(this,_0x12aa11(0x19c),new M[(_0x12aa11(0x24c))]('')),I(this,_0x12aa11(0x217),async _0x8e4016=>{const _0x55de05=_0x12aa11;var _0x5bec40,_0x3a088c;this[_0x55de05(0x1dc)][_0x55de05(0x212)](!0x0);try{const _0x3521df=await this[_0x55de05(0x119)](_0x8e4016);if(!_0x3521df['isValid']){this[_0x55de05(0x1ad)]['show']({'type':f[_0x55de05(0x28d)][_0x55de05(0x253)],'content':_0x3521df['errorMessage']||this[_0x55de05(0x19a)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x8e4016[_0x55de05(0x1b4)]?await this[_0x55de05(0x232)][_0x55de05(0x283)](O,_0x8e4016[_0x55de05(0x1b4)][_0x55de05(0x277)]()):await this[_0x55de05(0x232)]['removeItem'](O),this[_0x55de05(0x19c)]['next'](((_0x5bec40=_0x8e4016[_0x55de05(0x1b4)])==null?void 0x0:_0x5bec40[_0x55de05(0x277)]())||''),this['_mcpConnectionController'][_0x55de05(0x148)]({'Authorization':_0x55de05(0x161)+((_0x3a088c=_0x8e4016['apiKey'])==null?void 0x0:_0x3a088c[_0x55de05(0x277)]())}),this[_0x55de05(0x1ad)][_0x55de05(0x1aa)]({'type':f[_0x55de05(0x28d)][_0x55de05(0x200)],'content':this[_0x55de05(0x19a)]['t'](_0x55de05(0x182))}),setTimeout(()=>{const _0x5e232a=_0x55de05;this[_0x5e232a(0x196)]['close'](D);},0x320);}catch(_0x45564a){this['_logService'][_0x55de05(0x225)](_0x55de05(0x131),_0x45564a),this['_messageService'][_0x55de05(0x1aa)]({'type':f[_0x55de05(0x28d)][_0x55de05(0x253)],'content':this[_0x55de05(0x19a)]['t'](_0x55de05(0x228))});}finally{this[_0x55de05(0x1dc)][_0x55de05(0x212)](!0x1);}}),(this[_0x12aa11(0x15d)]=_0x15a757,this[_0x12aa11(0x129)]=_0x3e7fe7,this[_0x12aa11(0x18d)]=_0x929a3f,this[_0x12aa11(0x232)]=_0x221b45,this[_0x12aa11(0x196)]=_0x55616a,this[_0x12aa11(0x1ad)]=_0x22ccba,this[_0x12aa11(0x1fd)]=_0x2ed8f2,this[_0x12aa11(0x19a)]=_0x354ddd,this[_0x12aa11(0x1c4)]=_0x25b5ef,this[_0x12aa11(0x213)]=_0x3afb1c,this[_0x12aa11(0x23d)](),this[_0x12aa11(0x27d)](),this[_0x12aa11(0x140)]());}['showConfigPanel'](){const _0x199f5f=_0x29ead5,_0xbcb810=this['_configService'][_0x199f5f(0x1c1)](P);_0xbcb810!=null&&_0xbcb810[_0x199f5f(0x1cb)]&&this[_0x199f5f(0x196)]['open']({'id':D,'title':{'title':this[_0x199f5f(0x19a)]['t']('mcpConfig.title')},'children':{'label':_0x199f5f(0x197)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x35fe4a=_0x199f5f;this[_0x35fe4a(0x196)][_0x35fe4a(0x127)](D);}});}[_0x29ead5(0x282)](){const _0x5376fc=_0x29ead5;return this[_0x5376fc(0x156)][_0x5376fc(0x22b)];}[_0x29ead5(0x140)](){const _0x2cb0e9=_0x29ead5;this['disposeWithMe'](this[_0x2cb0e9(0x1fd)][_0x2cb0e9(0x292)]('MCPConfigPanel',this[_0x2cb0e9(0x183)]()));}[_0x29ead5(0x183)](){return v['connectInjector'](()=>{const _0x18fee5=_0x3e67;var _0x90c8a3,_0x420a01,_0x5fe5a2;return i['jsx'](V,{'config':this[_0x18fee5(0x27a)]['value'],'mcpCoreConfig':this[_0x18fee5(0x156)][_0x18fee5(0x22b)],'currentApiKey$':this[_0x18fee5(0x19c)],'onSave':this[_0x18fee5(0x217)],'loading':this[_0x18fee5(0x1dc)][_0x18fee5(0x22b)],'connectionStatus$':(_0x90c8a3=this['_mcpConnectionController'])==null?void 0x0:_0x90c8a3[_0x18fee5(0x186)],'connectionError$':(_0x420a01=this[_0x18fee5(0x213)])==null?void 0x0:_0x420a01[_0x18fee5(0x1dd)],'currentSessionId$':(_0x5fe5a2=this[_0x18fee5(0x213)])==null?void 0x0:_0x5fe5a2[_0x18fee5(0x1ab)]});},this['_injector']);}['_initConfigSync'](){const _0x53ebe3=_0x29ead5;this[_0x53ebe3(0x286)](this[_0x53ebe3(0x18d)][_0x53ebe3(0x1d9)](s[_0x53ebe3(0x204)])[_0x53ebe3(0x1ec)](_0x2a2124=>{this['_mcpCoreConfig$']['next'](_0x2a2124||{});}));const _0x5a463a=this['_configService'][_0x53ebe3(0x1c1)](s[_0x53ebe3(0x204)]);this[_0x53ebe3(0x156)][_0x53ebe3(0x212)](_0x5a463a||{}),this[_0x53ebe3(0x286)](this[_0x53ebe3(0x18d)][_0x53ebe3(0x1d9)](P)[_0x53ebe3(0x1ec)](_0xd16579=>{const _0x456c04=_0x53ebe3;this[_0x456c04(0x27a)][_0x456c04(0x212)](_0xd16579||{});}));const _0x358ae7=this[_0x53ebe3(0x18d)][_0x53ebe3(0x1c1)](P);this['_config$'][_0x53ebe3(0x212)](_0x358ae7||{});}async['_loadStoredApiKey'](){const _0x2cf190=_0x29ead5,_0x56343c=this[_0x2cf190(0x18d)][_0x2cf190(0x1c1)](P);if(!(_0x56343c!=null&&_0x56343c[_0x2cf190(0x1cb)]))return;const _0x5e0673=await this['_localStorageService'][_0x2cf190(0x1ea)](O);_0x5e0673&&(this['_mcpConnectionController'][_0x2cf190(0x148)]({'Authorization':_0x2cf190(0x161)+_0x5e0673}),this['_apiKey$']['next'](_0x5e0673));}async['_validateConfig'](_0x4a995a){const _0x40c2f3=_0x29ead5;if(!_0x4a995a['apiKey']||_0x4a995a[_0x40c2f3(0x1b4)]['trim']()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x40c2f3(0x19a)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x4a995a[_0x40c2f3(0x1b4)]['trim']()[_0x40c2f3(0x214)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x40c2f3(0x19a)]['t'](_0x40c2f3(0x199))};try{const _0x341a73=await this['_injector'][_0x40c2f3(0x17f)](s[_0x40c2f3(0x1b8)])[_0x40c2f3(0x166)](_0x4a995a[_0x40c2f3(0x1b4)]['trim']());return _0x341a73[_0x40c2f3(0x1db)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x341a73['error']||this[_0x40c2f3(0x19a)]['t'](_0x40c2f3(0x279))};}catch(_0x5ce0ed){return console[_0x40c2f3(0x122)](_0x40c2f3(0x265),_0x5ce0ed),{'isValid':!0x0};}}},exports[_0x29ead5(0x1b0)]=xe([g(0x0,u[_0x29ead5(0x27e)](u[_0x29ead5(0x1a2)])),g(0x1,v[_0x29ead5(0x1d2)]),g(0x2,u[_0x29ead5(0x158)]),g(0x3,u['ILocalStorageService']),g(0x4,v[_0x29ead5(0x136)]),g(0x5,v[_0x29ead5(0x244)]),g(0x6,u[_0x29ead5(0x27e)](v[_0x29ead5(0x226)])),g(0x7,u[_0x29ead5(0x27e)](u[_0x29ead5(0x203)])),g(0x8,u[_0x29ead5(0x1d3)]),g(0x9,u['Inject'](s[_0x29ead5(0x1b8)]))],exports[_0x29ead5(0x1b0)]);const b={'id':_0x29ead5(0x1e5),'type':u[_0x29ead5(0x21a)][_0x29ead5(0x235)],'handler':async(_0x4b19b3,_0x426ea6)=>(_0x4b19b3[_0x29ead5(0x17f)](exports[_0x29ead5(0x1b0)])['showConfigPanel'](),!0x0)};function Z(_0x4a6f72,_0x2354a9){const _0x95b606=_0x29ead5;switch(_0x4a6f72){case s[_0x95b606(0x17d)][_0x95b606(0x1d6)]:return _0x95b606(0x278);case s[_0x95b606(0x17d)][_0x95b606(0x1f9)]:return'mcpStatus.connecting';case s['MCPConnectionStatus'][_0x95b606(0x1f5)]:return _0x95b606(0x252);case s['MCPConnectionStatus'][_0x95b606(0x1b6)]:switch(_0x2354a9){case s[_0x95b606(0x28c)][_0x95b606(0x18e)]:return _0x95b606(0x293);case s[_0x95b606(0x28c)][_0x95b606(0x26d)]:return _0x95b606(0x146);case s[_0x95b606(0x28c)]['NETWORK_ERROR']:return _0x95b606(0x1a5);case s['MCPConnectionError'][_0x95b606(0x11f)]:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case s[_0x95b606(0x17d)]['RETRYING']:return _0x95b606(0x28f);default:return'mcpStatus.unknown';}}function Se(_0x4751e6,_0x557c51,_0x1a49b6,_0x2904b2=!0x0){const _0x41d496=_0x29ead5,_0x134921=Z(_0x4751e6,_0x557c51),_0x449e54=_0x1a49b6['t'](_0x134921);return _0x2904b2?_0x4751e6===s[_0x41d496(0x17d)][_0x41d496(0x1d6)]&&_0x557c51===s[_0x41d496(0x28c)]['UNAUTHORIZED']?_0x449e54+_0x41d496(0x1d8)+_0x1a49b6['t'](_0x41d496(0x16c)):_0x4751e6===s[_0x41d496(0x17d)][_0x41d496(0x1f5)]?''+_0x449e54:_0x4751e6===s[_0x41d496(0x17d)][_0x41d496(0x1d6)]||_0x4751e6===s[_0x41d496(0x17d)][_0x41d496(0x1b6)]?_0x449e54+_0x41d496(0x1d8)+_0x1a49b6['t'](_0x41d496(0x17e)):_0x449e54:_0x449e54;}function Pe(_0x1b449f){const _0x3fd5fd=_0x29ead5;switch(_0x1b449f){case s[_0x3fd5fd(0x17d)]['CONNECTED']:return _0x3fd5fd(0x1e6);case s[_0x3fd5fd(0x17d)][_0x3fd5fd(0x1f9)]:case s[_0x3fd5fd(0x17d)][_0x3fd5fd(0x221)]:return _0x3fd5fd(0x14f);case s[_0x3fd5fd(0x17d)][_0x3fd5fd(0x1b6)]:case s['MCPConnectionStatus'][_0x3fd5fd(0x1d6)]:return _0x3fd5fd(0x123);default:return _0x3fd5fd(0x1f0);}}function _0x45bd(){const _0x14c19b=['univer-space-y-3','复制以下\x20JSON\x20配置','mcpConfig.configStep2','MCP:\x20会话\x20ID\x20已被占用','next','_mcpConnectionController','length','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','mcpConfig.connectionStatus.connected','_handleConfigSave','translate(.97)','API\x20密钥长度至少需要\x2010\x20位','CommandType','将以下配置添加到您的\x20MCP\x20客户端设置中:','idSuffix','mcpConfig.connectionStatus.failed','mcpConfig.connectionError.networkError','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','80572whQiWs','RETRYING','pluginName','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','Disposable','error','ComponentManager','3834HFXBAz','mcpConfig.configError','univer.ai','您的\x20API\x20密钥安全存储在本地存储中','value','createElement','API\x20key\x20is\x20required','add','on-line-icon','M0\x200H16V16H0z','jsxs','_localStorageService','text','_menuManagerService','COMMAND','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','权限验证失败,请检查您的\x20API\x20密钥','includes','将配置添加到您的\x20MCP\x20客户端设置文件中','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','API\x20密钥无效,请检查密钥是否正确','WebSocketService','_initConfigSync','children','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','mcpConfig.authorizationDescription','API\x20密钥不能为空','https://console.univer.plus','What\x20is\x20API\x20Key?','IMessageService','配置参数:','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-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','1em','univer-text-sm\x20univer-font-medium','MCP\x20Disconnected','点击连接\x20MCP','BehaviorSubject','showConfigPanel','fill','registerCommand','配置\x20MCP\x20使用\x20AI\x20操作电子表格','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','mcpStatus.connected','Error','onStarting','button','MCPConnectionUIController','MCP\x20已断开','http://www.w3.org/2000/svg','14oCAQMV','mask','重启您的\x20MCP\x20客户端以使配置生效','重连中...','off-line-icon_clip0_910_343','MenuIcon','Disconnected','API\x20Key','off-line-icon','几秒钟内获取您的\x20API\x20密钥','useRef','启用身份验证','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','RibbonStartGroup','配置更改将立即生效','Configuration\x20saved\x20successfully','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','MCP\x20Configuration','univer-text-xs\x20univer-text-gray-500','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','SESSION_ID_OCCUPIED','配置无效','API\x20密钥','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-text-blue-600','请输入您的\x20API\x20密钥','mcpConfig.apiApplyInfo.description','MCP\x20已连接','377378sfPelO','Authorization:','trim','mcpStatus.disconnected','mcpConfig.validation.invalidApiKey','_config$','配置步骤:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_loadStoredApiKey','Inject','您的\x20API\x20密钥将在此浏览器中本地存储','mcpConfig.connectionStatus.connecting','univer-flex\x20univer-items-start\x20univer-gap-3','getCurrentConfig','setItem','Connection\x20Failed','BUTTON','disposeWithMe','MCP:\x20超出最大重试次数','_commandService','forwardRef','xlink:href','map','MCPConnectionError','MessageType','已连接','mcpStatus.retrying','MCP\x20重连中...','1537191XzKJUi','register','mcpStatus.unauthorized','mcpConfig.configStepTitle','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','mcpConfig.apiApplyInfo.title','MCP\x20Client\x20Configuration','OpenMCPConfigPanelCommand','Get\x20your\x20API\x20key\x20in\x20seconds','_validateConfig','连接失败','string','Configuration\x20Notes:','univer-text-white','univer-bg-gray-500','MAX_RETRIES_EXCEEDED','tag','symbol','warn','univer-text-red-500','mcpConfig.connectionInfo','attrs','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','close','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','_uiPartsService','mcpConfig.apiKeyHint','defIds','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','colorChannel1','https://console.univer.ai','_handleConfigure','MCP\x20Connection\x20Failed','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','MCPUIMenuController','保存中...','mcpConfig.title','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','IDialogService','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','none','registerComponent','setConfig','univer-text-sm\x20univer-text-gray-500','mcpConfig.save','connectInjector','mcpConfig.description','_registerComponent','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','mcpConfig.sessionIdDescription','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','label','univer-flex\x20univer-items-center\x20univer-gap-2','mcpStatus.sessionOccupied','MCP\x20连接中...','__setCustomHeaders','mcpConfig.connectionError.sessionOccupied','ISocketService','current','univer-bg-green-500','网络连接错误,请检查您的网络连接','MCP\x20Connected','univer-text-yellow-500','univer-shrink-0\x20univer-text-blue-500','9325dijzuS','CheckMarkIcon','3549512COUdxc','HelpIcon','showStatus','_mcpCoreConfig$','_initializeMenus','IConfigService','4286095jQzgcP','530814rhYCPo','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','Enable\x20Authentication','_injector','_initializeCommands','noopener\x20noreferrer','mcp-config-dialog','Bearer\x20','useObservable','mcpConfig.saving','未连接','useDependency','validateApiKey','配置保存成功','mcpConfig.configStep3','url(#on-line-icon_clip0_910_349)','Copy\x20the\x20JSON\x20configuration\x20below','Session\x20ID','mcpStatus.clickToConfigure','mcpConfig.connectionError.unauthorized','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connecting...','MCP\x20Unknown\x20Status','off','univer-mr-2\x20univer-flex\x20univer-text-xl','stringify','mergeMenu','Click\x20to\x20configure\x20MCP','getOwnPropertyDescriptor','univer-space-y-4','univer-flex\x20univer-items-center','currentColor','div','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcpConfig.configStep1','MCPConnectionStatus','mcpStatus.clickToConnect','get','保存配置','mcpConfig.apiKey','mcpConfig.configSaved','_createConfigPanelComponent','svg','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','connectionStatus$','MCP\x20Connecting...','evenodd','jsx','url(#$1','什么是\x20API\x20密钥?','univer-bg-red-500','_configService','UNAUTHORIZED','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','https://mcp.univer.ai/mcp/?univer_session_id=','useState','displayName','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','<API_KEY>','ICommandService','_dialogService','MCPConfigPanel','univer-flex\x20univer-items-start\x20univer-gap-2','mcpConfig.validation.apiKeyTooShort','_localeService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_apiKey$','Failed\x20to\x20save\x20configuration','clsx','forEach','univer-size-4','OffLineIcon','Injector','mcpServerUrl','mcpConfig.note2','mcpStatus.networkError','会话\x20ID\x20已被占用,请稍后再试','Input','univerjs-icon\x20univerjs-icon-','Saving...','show','sessionId$','on-line-icon_clip0_910_349','_messageService','close-icon','Invalid\x20configuration','MCPConfigUIController','round','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','mcpConfig.configInstructions','apiKey','_initStatusComponent','FAILED','mcpConfig.apiApplyInfo.univerAiLabel','MCPConnectionController','129tVtPZY','MCP\x20状态未知','clipPath','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','0\x200\x2016\x2016','50kjWguz','defs','OTHERS','getConfig','OnLineIcon','NONE','_logService','UniverMCPUIPlugin','MCP:\x20未授权','0\x200\x2017\x2016','check-mark-icon','useCallback','CloseIcon','showDeveloperTools','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-shrink-0\x20univer-text-red-500','_connectionController','MCP_UI_PLUGIN','_config','IUIPartsService','ILogService','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','DISCONNECTED','NETWORK_ERROR','\x20-\x20','subscribeConfigValue$','MCPStatusDisplay','isValid','_loading$','connectionError$','push','IMenuManagerService','HEADER_MENU','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','UniverIcon','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Enter\x20your\x20API\x20key','mcp-ui.command.openConfigPanel','univer-text-green-500','UniverMCPPlugin','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-flex\x20univer-flex-wrap\x20univer-gap-2','getItem','span','subscribe','help-icon','Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','univer-text-gray-500','univer-text-xs\x20univer-text-gray-600','会话ID','defineProperty','toString','CONNECTED','BuiltInUIPart','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','CONNECTING','univer-size-2\x20univer-rounded-full','MCP:\x20网络错误','ILocalStorageService','_componentManager','enableAutoConnect','univer-space-y-2','Success','univer.plus','white','LocaleService','MCP_PLUGIN_CONFIG_KEY','path','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCP\x20配置','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','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','toStringTag','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','assign','DependentOn'];_0x45bd=function(){return _0x14c19b;};return _0x45bd();}function W(_0x54dff6){const _0x314fbb=_0x29ead5,{status$:_0x2e7906,error$:_0x1cff48,onConfigure:_0x387da4,showClickable:_0x31d89a=!0x0}=_0x54dff6,_0x6fd77=v[_0x314fbb(0x162)](_0x2e7906,s[_0x314fbb(0x17d)][_0x314fbb(0x1d6)]),_0x2d0a9b=v['useObservable'](_0x1cff48,s[_0x314fbb(0x28c)][_0x314fbb(0x1c3)]),_0x265829=v[_0x314fbb(0x165)](u[_0x314fbb(0x203)]),_0x1553bb=_0x6fd77===s[_0x314fbb(0x17d)]['CONNECTED'];_0x6fd77===s['MCPConnectionStatus'][_0x314fbb(0x1f9)]||s[_0x314fbb(0x17d)][_0x314fbb(0x221)];const _0x5c0c23=_0x265829['t'](Z(_0x6fd77,_0x2d0a9b)),_0x50df59=Se(_0x6fd77,_0x2d0a9b,_0x265829,_0x31d89a),_0x3a9948=Pe(_0x6fd77),_0x1800a2=_0x1553bb?i['jsx'](q,{}):i[_0x314fbb(0x189)](Y,{}),_0x35e60b=d[_0x314fbb(0x1c9)](()=>{_0x31d89a&&_0x387da4&&_0x387da4();},[_0x31d89a,_0x387da4]);function _0x3c4e6b(){const _0x2bf70a=_0x314fbb;return i[_0x2bf70a(0x231)](_0x2bf70a(0x17a),{'className':f['clsx'](_0x2bf70a(0x178),_0x31d89a&&_0x387da4&&_0x2bf70a(0x20b)),'role':_0x2bf70a(0x255),'onClick':_0x31d89a&&_0x387da4?_0x35e60b:void 0x0,'children':[i['jsx']('div',{'className':f[_0x2bf70a(0x19e)](_0x2bf70a(0x172),_0x3a9948),'children':_0x1800a2}),i['jsx'](_0x2bf70a(0x17a),{'className':_0x2bf70a(0x19b),'children':_0x5c0c23})]});}return i[_0x314fbb(0x189)](f['Tooltip'],{'title':_0x50df59,'placement':'bottom','children':_0x3c4e6b()});}var Ie=Object['getOwnPropertyDescriptor'],_e=(_0x533d7c,_0x3f2b96,_0x2d0ade,_0x20a2ed)=>{for(var _0x2fc3a2=_0x20a2ed>0x1?void 0x0:_0x20a2ed?Ie(_0x3f2b96,_0x2d0ade):_0x3f2b96,_0x5a5694=_0x533d7c['length']-0x1,_0xced746;_0x5a5694>=0x0;_0x5a5694--)(_0xced746=_0x533d7c[_0x5a5694])&&(_0x2fc3a2=_0xced746(_0x2fc3a2)||_0x2fc3a2);return _0x2fc3a2;},N=(_0x1f6095,_0x3ead6b)=>(_0x57926d,_0x41359e)=>_0x3ead6b(_0x57926d,_0x41359e,_0x1f6095);exports[_0x29ead5(0x256)]=class extends u[_0x29ead5(0x224)]{constructor(_0x57b64a,_0x532db4,_0x525bf5,_0x116069){const _0xe89e06=_0x29ead5;super(),this[_0xe89e06(0x15d)]=_0x57b64a,this[_0xe89e06(0x1cf)]=_0x532db4,this[_0xe89e06(0x129)]=_0x525bf5,this['_configService']=_0x116069,this['_initAutoConnect'](),this[_0xe89e06(0x1b5)]();}['_initAutoConnect'](){const _0x5cebc8=_0x29ead5,_0x2a723b=this['_configService'][_0x5cebc8(0x1c1)](P);_0x2a723b!=null&&_0x2a723b[_0x5cebc8(0x1cb)]&&(this[_0x5cebc8(0x1cf)][_0x5cebc8(0x1fe)]=!0x1);}[_0x29ead5(0x1b5)](){const _0x49e1a4=_0x29ead5,_0x298d1b=this[_0x49e1a4(0x18d)][_0x49e1a4(0x1c1)](P);(_0x298d1b==null?void 0x0:_0x298d1b[_0x49e1a4(0x155)])!==!0x1&&this[_0x49e1a4(0x286)](this['_uiPartsService'][_0x49e1a4(0x13a)](v[_0x49e1a4(0x1f6)][_0x49e1a4(0x1e0)],()=>{const _0x435c32=_0x49e1a4;var _0x4e0b26;return v[_0x435c32(0x13e)](ye({'status$':this['_connectionController'][_0x435c32(0x186)],'error$':this[_0x435c32(0x1cf)][_0x435c32(0x1dd)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x4e0b26=_0x298d1b==null?void 0x0:_0x298d1b['showDeveloperTools'])!=null?_0x4e0b26:!0x1}),this['_injector']);}));}[_0x29ead5(0x12f)](){const _0x4cb950=_0x29ead5;this[_0x4cb950(0x15d)]['get'](exports[_0x4cb950(0x1b0)])[_0x4cb950(0x24d)]();}},exports[_0x29ead5(0x256)]=_e([N(0x0,u['Inject'](u[_0x29ead5(0x1a2)])),N(0x1,u[_0x29ead5(0x27e)](s[_0x29ead5(0x1b8)])),N(0x2,v[_0x29ead5(0x1d2)]),N(0x3,u[_0x29ead5(0x158)])],exports[_0x29ead5(0x256)]);function ye(_0xd6ad7b){const {status$:_0x3db7a8,error$:_0x502eb2,onConfigure:_0x4c5a34,showClickable:_0x11f493}=_0xd6ad7b;return function(){const _0x45db13=_0x3e67;return i[_0x45db13(0x189)](W,{'status$':_0x3db7a8,'error$':_0x502eb2,'onConfigure':_0x4c5a34,'showClickable':_0x11f493});};}function Me(_0x454005){const _0x4a7df0=_0x29ead5;return{'id':b['id'],'type':v['MenuItemType'][_0x4a7df0(0x285)],'icon':_0x4a7df0(0x25e),'title':_0x4a7df0(0x134),'tooltip':_0x4a7df0(0x134)};}function _0x3e67(_0x210d40,_0x64320b){_0x210d40=_0x210d40-0x114;const _0x45bda5=_0x45bd();let _0x3e67a9=_0x45bda5[_0x210d40];return _0x3e67a9;}const Ne={[v[_0x29ead5(0x266)][_0x29ead5(0x1c0)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Me}}};var be=Object[_0x29ead5(0x176)],je=(_0x2c2805,_0x1f029d,_0x373a54,_0x218232)=>{for(var _0x40f584=_0x218232>0x1?void 0x0:_0x218232?be(_0x1f029d,_0x373a54):_0x1f029d,_0x1ac415=_0x2c2805['length']-0x1,_0x40602e;_0x1ac415>=0x0;_0x1ac415--)(_0x40602e=_0x2c2805[_0x1ac415])&&(_0x40f584=_0x40602e(_0x40f584)||_0x40f584);return _0x40f584;},z=(_0x52f698,_0x515781)=>(_0x39edd5,_0x1d6f6a)=>_0x515781(_0x39edd5,_0x1d6f6a,_0x52f698);exports[_0x29ead5(0x132)]=class extends u['Disposable']{constructor(_0x262434,_0x385e83){const _0x150e74=_0x29ead5;super(),this[_0x150e74(0x288)]=_0x262434,this[_0x150e74(0x234)]=_0x385e83,this[_0x150e74(0x15e)](),this['_initializeMenus']();}[_0x29ead5(0x15e)](){const _0x53b536=_0x29ead5;[b][_0x53b536(0x19f)](_0x5045a2=>{const _0x4177c9=_0x53b536;this['disposeWithMe'](this['_commandService'][_0x4177c9(0x24f)](_0x5045a2));});}[_0x29ead5(0x157)](){const _0x45c6d1=_0x29ead5;this['_menuManagerService'][_0x45c6d1(0x174)](Ne);}},exports[_0x29ead5(0x132)]=je([z(0x0,u[_0x29ead5(0x195)]),z(0x1,v[_0x29ead5(0x1df)])],exports[_0x29ead5(0x132)]);const Ee={'mcpStatus':{'disconnected':_0x29ead5(0x24a),'connecting':_0x29ead5(0x187),'connected':_0x29ead5(0x14e),'failed':_0x29ead5(0x130),'retrying':'MCP\x20Retrying...','unknown':_0x29ead5(0x170),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x29ead5(0x175)},'mcpConfig':{'title':_0x29ead5(0x26a),'description':_0x29ead5(0x16e),'apiKey':_0x29ead5(0x260),'apiKeyPlaceholder':_0x29ead5(0x1e4),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x29ead5(0x15c),'enableAuthHint':_0x29ead5(0x1f7),'connectionInfo':_0x29ead5(0x116),'mcpClientConfig':_0x29ead5(0x116),'configInstructions':_0x29ead5(0x27c),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x29ead5(0x16a),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x29ead5(0x1b2),'sessionId':_0x29ead5(0x16b),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x29ead5(0x1ef),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x29ead5(0x137),'save':'Save\x20Configuration','saving':_0x29ead5(0x1a9),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x29ead5(0x18f),'configSaved':_0x29ead5(0x268),'configError':_0x29ead5(0x19d),'apiApplyInfo':{'title':_0x29ead5(0x243),'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':_0x29ead5(0x118)},'validation':{'apiKeyRequired':_0x29ead5(0x22d),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x29ead5(0x1af),'invalidApiKey':_0x29ead5(0x1f8)},'connectionStatus':{'disconnected':_0x29ead5(0x25f),'connecting':_0x29ead5(0x16f),'connected':'Connected','failed':_0x29ead5(0x284),'retrying':_0x29ead5(0x1ee)},'connectionError':{'unauthorized':_0x29ead5(0x21f),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x29ead5(0x138),'maxRetriesExceeded':_0x29ead5(0x141)}}},we={'mcpStatus':{'disconnected':_0x29ead5(0x257),'connecting':_0x29ead5(0x147),'connected':_0x29ead5(0x274),'failed':'MCP\x20连接失败','retrying':_0x29ead5(0x290),'unknown':_0x29ead5(0x1ba),'unauthorized':_0x29ead5(0x1c6),'sessionOccupied':_0x29ead5(0x211),'networkError':_0x29ead5(0x1fb),'maxRetriesExceeded':_0x29ead5(0x287),'clickToConnect':_0x29ead5(0x24b),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x29ead5(0x207),'description':_0x29ead5(0x250),'apiKey':_0x29ead5(0x26f),'apiKeyPlaceholder':_0x29ead5(0x272),'apiKeyHint':_0x29ead5(0x27f),'enableAuth':_0x29ead5(0x264),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x29ead5(0x21b),'configStepTitle':_0x29ead5(0x27b),'configStep1':_0x29ead5(0x20f),'configStep2':_0x29ead5(0x239),'configStep3':_0x29ead5(0x25b),'sessionId':_0x29ead5(0x1f2),'sessionIdDescription':_0x29ead5(0x128),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x29ead5(0x245),'maxRetries':'最大重试次数','save':_0x29ead5(0x180),'saving':_0x29ead5(0x133),'note1':_0x29ead5(0x267),'note2':_0x29ead5(0x22a),'configSaved':_0x29ead5(0x167),'configError':'配置保存失败','apiApplyInfo':{'title':_0x29ead5(0x18b),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x29ead5(0x262)},'validation':{'apiKeyRequired':_0x29ead5(0x241),'apiKeyTooShort':_0x29ead5(0x219),'invalidConfig':_0x29ead5(0x26e),'invalidApiKey':_0x29ead5(0x23b)},'connectionStatus':{'disconnected':_0x29ead5(0x164),'connecting':'连接中...','connected':_0x29ead5(0x28e),'failed':_0x29ead5(0x11a),'retrying':_0x29ead5(0x25c)},'connectionError':{'unauthorized':_0x29ead5(0x237),'sessionOccupied':_0x29ead5(0x1a6),'networkError':_0x29ead5(0x14d),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var Ae=Object[_0x29ead5(0x1f3)],Oe=Object['getOwnPropertyDescriptor'],De=(_0x3b3cd8,_0xc7e259,_0x15a339)=>_0xc7e259 in _0x3b3cd8?Ae(_0x3b3cd8,_0xc7e259,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15a339}):_0x3b3cd8[_0xc7e259]=_0x15a339,Ue=(_0x1ce1b6,_0x4845ed,_0x4a2fe3,_0x4640a2)=>{const _0x46cbb1=_0x29ead5;for(var _0x20b1e9=_0x4640a2>0x1?void 0x0:_0x4640a2?Oe(_0x4845ed,_0x4a2fe3):_0x4845ed,_0x50254e=_0x1ce1b6[_0x46cbb1(0x214)]-0x1,_0x2e070c;_0x50254e>=0x0;_0x50254e--)(_0x2e070c=_0x1ce1b6[_0x50254e])&&(_0x20b1e9=_0x2e070c(_0x20b1e9)||_0x20b1e9);return _0x20b1e9;},y=(_0x9d57e9,_0xce7e87)=>(_0x55de46,_0x2d5f10)=>_0xce7e87(_0x55de46,_0x2d5f10,_0x9d57e9),$e=(_0x436e61,_0x44217c,_0x116967)=>De(_0x436e61,_0x44217c+'',_0x116967);exports[_0x29ead5(0x1c5)]=class extends u['Plugin']{constructor(_0x3a202c=L,_0x10d879,_0x52eca0,_0xfb0142,_0x4da00f,_0xdfd5c1){const _0x59c120=_0x29ead5;super(),this[_0x59c120(0x1d1)]=_0x3a202c,this[_0x59c120(0x15d)]=_0x10d879,this[_0x59c120(0x18d)]=_0x52eca0,this[_0x59c120(0x129)]=_0xfb0142,this['_localStorageService']=_0x4da00f,this[_0x59c120(0x19a)]=_0xdfd5c1;const {..._0x309842}=u['merge']({},L,this['_config']);this[_0x59c120(0x18d)][_0x59c120(0x13b)](P,_0x309842);}async[_0x29ead5(0x254)](){const _0x1beee9=_0x29ead5,_0x2aebc7=[[exports[_0x1beee9(0x256)]],[exports[_0x1beee9(0x1b0)]],[exports[_0x1beee9(0x132)]]];this[_0x1beee9(0x15d)]['has'](A['ISocketService'])||_0x2aebc7[_0x1beee9(0x1de)]([A[_0x1beee9(0x14a)],{'useClass':A[_0x1beee9(0x23c)]}]),_0x2aebc7[_0x1beee9(0x19f)](_0x4e63ee=>this[_0x1beee9(0x15d)][_0x1beee9(0x22e)](_0x4e63ee)),this[_0x1beee9(0x15d)][_0x1beee9(0x17f)](exports[_0x1beee9(0x256)]),this[_0x1beee9(0x15d)][_0x1beee9(0x17f)](exports[_0x1beee9(0x1b0)]),this[_0x1beee9(0x15d)][_0x1beee9(0x17f)](exports['MCPUIMenuController']);}},$e(exports['UniverMCPUIPlugin'],_0x29ead5(0x222),_0x29ead5(0x1d0)),exports[_0x29ead5(0x1c5)]=Ue([u[_0x29ead5(0x20d)](s[_0x29ead5(0x1e7)]),y(0x1,u[_0x29ead5(0x27e)](u[_0x29ead5(0x1a2)])),y(0x2,u['IConfigService']),y(0x3,v['IUIPartsService']),y(0x4,u[_0x29ead5(0x1fc)]),y(0x5,u[_0x29ead5(0x27e)](u['LocaleService']))],exports[_0x29ead5(0x1c5)]),exports[_0x29ead5(0x197)]=V,exports[_0x29ead5(0x1da)]=W,exports[_0x29ead5(0x117)]=b,exports['enUS']=Ee,exports['zhCN']=we;
@@ -1 +1 @@
1
- 'use strict';const _0x1f5564=_0x3a1f;(function(_0x1a3f56,_0x28c952){const _0x504a8c=_0x3a1f,_0x220e30=_0x1a3f56();while(!![]){try{const _0x303096=-parseInt(_0x504a8c(0x123))/0x1*(-parseInt(_0x504a8c(0x11f))/0x2)+parseInt(_0x504a8c(0x13b))/0x3+-parseInt(_0x504a8c(0x133))/0x4+parseInt(_0x504a8c(0x132))/0x5+parseInt(_0x504a8c(0x121))/0x6+parseInt(_0x504a8c(0x143))/0x7+-parseInt(_0x504a8c(0x131))/0x8;if(_0x303096===_0x28c952)break;else _0x220e30['push'](_0x220e30['shift']());}catch(_0x2e7f64){_0x220e30['push'](_0x220e30['shift']());}}}(_0x4ed0,0x78598));function _0x4ed0(){const _0x2fc0ee=['Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Retrying...','Click\x20to\x20connect\x20MCP','Connected','Configuration\x20saved\x20successfully','MCP\x20Unknown\x20Status','7124168VSSUCk','1694685xgHcfc','1670084XVsxpn','Get\x20your\x20API\x20key\x20in\x20seconds','Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Max\x20Retries\x20Exceeded','Saving...','Configuration\x20Parameters:','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','1612827TrPURa','Enable\x20Authentication','What\x20is\x20API\x20Key?','API\x20Key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connecting...','1810354VZrAnB','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','exports','MCP\x20Client\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Network\x20Error','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20is\x20required','Connection\x20Failed','MCP:\x20Session\x20ID\x20Occupied','259778CwFFau','MCP:\x20Unauthorized','98286lUBxyp','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','5oCSwvl','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connected','MCP\x20Disconnected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Disconnected'];_0x4ed0=function(){return _0x2fc0ee;};return _0x4ed0();}function _0x3a1f(_0x85552a,_0x276bfb){_0x85552a=_0x85552a-0x11a;const _0x4ed02e=_0x4ed0();let _0x3a1fd7=_0x4ed02e[_0x85552a];return _0x3a1fd7;}const e={'mcpStatus':{'disconnected':_0x1f5564(0x126),'connecting':_0x1f5564(0x142),'connected':_0x1f5564(0x125),'failed':'MCP\x20Connection\x20Failed','retrying':_0x1f5564(0x12c),'unknown':_0x1f5564(0x130),'unauthorized':_0x1f5564(0x120),'sessionOccupied':_0x1f5564(0x11e),'networkError':_0x1f5564(0x11a),'maxRetriesExceeded':_0x1f5564(0x137),'clickToConnect':_0x1f5564(0x12d),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1f5564(0x13e),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1f5564(0x136),'enableAuth':_0x1f5564(0x13c),'enableAuthHint':_0x1f5564(0x149),'connectionInfo':_0x1f5564(0x147),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x1f5564(0x11b),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x1f5564(0x12b),'configStep2':_0x1f5564(0x13f),'configStep3':_0x1f5564(0x127),'sessionId':'Session\x20ID','sessionIdDescription':_0x1f5564(0x145),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x1f5564(0x139),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x1f5564(0x138),'note1':_0x1f5564(0x141),'note2':_0x1f5564(0x124),'configSaved':_0x1f5564(0x12f),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x1f5564(0x13d),'description':_0x1f5564(0x144),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x1f5564(0x134)},'validation':{'apiKeyRequired':_0x1f5564(0x11c),'apiKeyTooShort':_0x1f5564(0x122),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x1f5564(0x140)},'connectionStatus':{'disconnected':_0x1f5564(0x129),'connecting':'Connecting...','connected':_0x1f5564(0x12e),'failed':_0x1f5564(0x11d),'retrying':_0x1f5564(0x135)},'connectionError':{'unauthorized':_0x1f5564(0x12a),'sessionOccupied':_0x1f5564(0x148),'networkError':_0x1f5564(0x128),'maxRetriesExceeded':_0x1f5564(0x13a)}}},n=e;module[_0x1f5564(0x146)]=n;
1
+ 'use strict';function _0x4dea(_0x577058,_0x404edf){_0x577058=_0x577058-0x13f;const _0x3ced18=_0x3ced();let _0x4dea6d=_0x3ced18[_0x577058];return _0x4dea6d;}const _0x2a2f6f=_0x4dea;(function(_0x2ddd54,_0x3a870f){const _0x3800c0=_0x4dea,_0x200c7e=_0x2ddd54();while(!![]){try{const _0x277e93=-parseInt(_0x3800c0(0x14e))/0x1*(parseInt(_0x3800c0(0x147))/0x2)+-parseInt(_0x3800c0(0x15a))/0x3*(-parseInt(_0x3800c0(0x155))/0x4)+-parseInt(_0x3800c0(0x144))/0x5+parseInt(_0x3800c0(0x164))/0x6+parseInt(_0x3800c0(0x14d))/0x7*(-parseInt(_0x3800c0(0x158))/0x8)+parseInt(_0x3800c0(0x15b))/0x9*(-parseInt(_0x3800c0(0x15c))/0xa)+-parseInt(_0x3800c0(0x141))/0xb*(-parseInt(_0x3800c0(0x167))/0xc);if(_0x277e93===_0x3a870f)break;else _0x200c7e['push'](_0x200c7e['shift']());}catch(_0x16cb41){_0x200c7e['push'](_0x200c7e['shift']());}}}(_0x3ced,0xace97));const e={'mcpStatus':{'disconnected':_0x2a2f6f(0x152),'connecting':'MCP\x20Connecting...','connected':_0x2a2f6f(0x165),'failed':_0x2a2f6f(0x159),'retrying':_0x2a2f6f(0x171),'unknown':_0x2a2f6f(0x153),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x2a2f6f(0x170),'networkError':_0x2a2f6f(0x163),'maxRetriesExceeded':_0x2a2f6f(0x146),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x2a2f6f(0x169)},'mcpConfig':{'title':_0x2a2f6f(0x14f),'description':_0x2a2f6f(0x14b),'apiKey':_0x2a2f6f(0x168),'apiKeyPlaceholder':_0x2a2f6f(0x150),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x2a2f6f(0x15e),'enableAuthHint':_0x2a2f6f(0x148),'connectionInfo':_0x2a2f6f(0x173),'mcpClientConfig':_0x2a2f6f(0x173),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x2a2f6f(0x14c),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x2a2f6f(0x15d),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2a2f6f(0x151),'configParameters':_0x2a2f6f(0x157),'maxRetries':_0x2a2f6f(0x149),'save':_0x2a2f6f(0x145),'saving':_0x2a2f6f(0x16a),'note1':_0x2a2f6f(0x166),'note2':_0x2a2f6f(0x172),'configSaved':_0x2a2f6f(0x16b),'configError':_0x2a2f6f(0x16d),'apiApplyInfo':{'title':_0x2a2f6f(0x142),'description':_0x2a2f6f(0x162),'univerAiLabel':_0x2a2f6f(0x143),'getStarted':_0x2a2f6f(0x16e)},'validation':{'apiKeyRequired':_0x2a2f6f(0x160),'apiKeyTooShort':_0x2a2f6f(0x14a),'invalidConfig':_0x2a2f6f(0x16f),'invalidApiKey':_0x2a2f6f(0x16c)},'connectionStatus':{'disconnected':_0x2a2f6f(0x161),'connecting':'Connecting...','connected':'Connected','failed':_0x2a2f6f(0x154),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2a2f6f(0x15f),'sessionOccupied':_0x2a2f6f(0x13f),'networkError':_0x2a2f6f(0x156),'maxRetriesExceeded':_0x2a2f6f(0x140)}}},n=e;function _0x3ced(){const _0x1cd147=['Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Client\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','3091YxJhYC','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','1882185eCASRQ','Save\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','2IXulms','Enable\x20authentication\x20for\x20secure\x20connections','Max\x20Retries','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20Steps:','6631576LzpFsl','1042672oNEuAj','MCP\x20Configuration','Enter\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Disconnected','MCP\x20Unknown\x20Status','Connection\x20Failed','44XZDVgM','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Parameters:','8ACkLBo','MCP\x20Connection\x20Failed','380820LHppZJ','3125448izGdRx','40Cbnynz','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enable\x20Authentication','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20is\x20required','Disconnected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Network\x20Error','2564862fiSDZf','MCP\x20Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','112740LHbOPc','API\x20Key','Click\x20to\x20configure\x20MCP','Saving...','Configuration\x20saved\x20successfully','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Failed\x20to\x20save\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Retrying...'];_0x3ced=function(){return _0x1cd147;};return _0x3ced();}module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';function _0x2fe7(){const _0x1d8c03=['4641742aGPBOq','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connected','MCP\x20Connected','MCP:\x20Session\x20ID\x20Occupied','MCP:\x20Network\x20Error','Configuration\x20Steps:','Failed\x20to\x20save\x20configuration','exports','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','Enable\x20authentication\x20for\x20secure\x20connections','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Save\x20Configuration','9PtXwVl','Univer\x20AI\x20Console','MCP\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Max\x20Retries\x20Exceeded','Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enter\x20your\x20API\x20key','Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20configure\x20MCP','6241120fmIxFR','Configuration\x20saved\x20successfully','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','69764pjJCvh','MCP\x20Client\x20Configuration','3248040iBAQYj','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Max\x20Retries','12265260opClJi','Configuration\x20Parameters:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20configuration','Saving...','Click\x20to\x20connect\x20MCP','1314366etiFsx','MCP:\x20Unauthorized','API\x20Key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','27nsLtLe','MCP\x20Connection\x20Failed','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','1ViWTQM','Enable\x20Authentication','Connection\x20Failed','5052474pmPaLO','Get\x20your\x20API\x20key\x20in\x20seconds'];_0x2fe7=function(){return _0x1d8c03;};return _0x2fe7();}const _0x17e195=_0x58d8;(function(_0x36a198,_0x416564){const _0x2b179e=_0x58d8,_0x40746e=_0x36a198();while(!![]){try{const _0x117f9b=-parseInt(_0x2b179e(0x1f8))/0x1*(-parseInt(_0x2b179e(0x1f1))/0x2)+-parseInt(_0x2b179e(0x1f5))/0x3*(parseInt(_0x2b179e(0x1e6))/0x4)+-parseInt(_0x2b179e(0x1e8))/0x5+parseInt(_0x2b179e(0x1fb))/0x6+-parseInt(_0x2b179e(0x1fd))/0x7+-parseInt(_0x2b179e(0x1e3))/0x8*(parseInt(_0x2b179e(0x20d))/0x9)+parseInt(_0x2b179e(0x1eb))/0xa;if(_0x117f9b===_0x416564)break;else _0x40746e['push'](_0x40746e['shift']());}catch(_0xea3bd4){_0x40746e['push'](_0x40746e['shift']());}}}(_0x2fe7,0x7433d));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x17e195(0x200),'failed':_0x17e195(0x1f6),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x17e195(0x1f2),'sessionOccupied':_0x17e195(0x201),'networkError':_0x17e195(0x202),'maxRetriesExceeded':_0x17e195(0x1db),'clickToConnect':_0x17e195(0x1f0),'clickToConfigure':_0x17e195(0x1e2)},'mcpConfig':{'title':_0x17e195(0x20f),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x17e195(0x1f3),'apiKeyPlaceholder':_0x17e195(0x1df),'apiKeyHint':_0x17e195(0x20b),'enableAuth':_0x17e195(0x1f9),'enableAuthHint':_0x17e195(0x209),'connectionInfo':_0x17e195(0x1e7),'mcpClientConfig':_0x17e195(0x1e7),'configInstructions':_0x17e195(0x1ed),'configStepTitle':_0x17e195(0x203),'configStep1':_0x17e195(0x1dd),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x17e195(0x1f7),'sessionId':'Session\x20ID','sessionIdDescription':_0x17e195(0x1da),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x17e195(0x1ec),'maxRetries':_0x17e195(0x1ea),'save':_0x17e195(0x20c),'saving':_0x17e195(0x1ef),'note1':_0x17e195(0x1e1),'note2':_0x17e195(0x1de),'configSaved':_0x17e195(0x1e4),'configError':_0x17e195(0x204),'apiApplyInfo':{'title':_0x17e195(0x208),'description':_0x17e195(0x1f4),'univerAiLabel':_0x17e195(0x20e),'getStarted':_0x17e195(0x1fc)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x17e195(0x206),'invalidConfig':_0x17e195(0x1ee),'invalidApiKey':_0x17e195(0x1fe)},'connectionStatus':{'disconnected':_0x17e195(0x1e0),'connecting':_0x17e195(0x1dc),'connected':_0x17e195(0x1ff),'failed':_0x17e195(0x1fa),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x17e195(0x1e9),'sessionOccupied':_0x17e195(0x1e5),'networkError':_0x17e195(0x20a),'maxRetriesExceeded':_0x17e195(0x207)}}};function _0x58d8(_0x4e647d,_0x2b393c){_0x4e647d=_0x4e647d-0x1da;const _0x2fe746=_0x2fe7();let _0x58d8ea=_0x2fe746[_0x4e647d];return _0x58d8ea;}module[_0x17e195(0x205)]=e;
1
+ 'use strict';const _0x31f7ae=_0x39c7;function _0x39c7(_0x39ebdf,_0x958fef){_0x39ebdf=_0x39ebdf-0x12a;const _0x145ae8=_0x145a();let _0x39c778=_0x145ae8[_0x39ebdf];return _0x39c778;}(function(_0x68716b,_0x41ab70){const _0x1a1116=_0x39c7,_0x48bd33=_0x68716b();while(!![]){try{const _0x2cee2b=-parseInt(_0x1a1116(0x130))/0x1+-parseInt(_0x1a1116(0x150))/0x2+parseInt(_0x1a1116(0x158))/0x3+-parseInt(_0x1a1116(0x13a))/0x4+parseInt(_0x1a1116(0x13e))/0x5*(parseInt(_0x1a1116(0x136))/0x6)+-parseInt(_0x1a1116(0x14d))/0x7+parseInt(_0x1a1116(0x13d))/0x8;if(_0x2cee2b===_0x41ab70)break;else _0x48bd33['push'](_0x48bd33['shift']());}catch(_0x505b3f){_0x48bd33['push'](_0x48bd33['shift']());}}}(_0x145a,0xe0030));function _0x145a(){const _0x1a6c97=['Configuration\x20Steps:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connected','1664120TbbwYK','MCP:\x20Unauthorized','Failed\x20to\x20save\x20configuration','Configuration\x20Parameters:','MCP\x20Connected','API\x20key\x20with\x20Bearer\x20prefix.','6ShVvPM','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Disconnected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','6162168FPUOZS','MCP:\x20Max\x20Retries\x20Exceeded','Get\x20your\x20API\x20key\x20in\x20seconds','19152416woBLaH','8855290KkhwFJ','Saving...','Configuration\x20saved\x20successfully','Click\x20to\x20connect\x20MCP','Max\x20Retries','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Network\x20Error','Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','exports','Enable\x20Authentication','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Retrying...','1309637zAffLV','Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','2993072JbLShO','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Save\x20Configuration','Univer\x20AI\x20Console','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Client\x20Configuration','MCP\x20Configuration','4922193afDgKL','MCP\x20Connection\x20Failed','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20Key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser'];_0x145a=function(){return _0x1a6c97;};return _0x145a();}const e={'mcpStatus':{'disconnected':_0x31f7ae(0x138),'connecting':'MCP\x20Connecting...','connected':_0x31f7ae(0x134),'failed':_0x31f7ae(0x159),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x31f7ae(0x131),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x31f7ae(0x146),'maxRetriesExceeded':_0x31f7ae(0x13b),'clickToConnect':_0x31f7ae(0x141),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x31f7ae(0x157),'description':_0x31f7ae(0x14f),'apiKey':_0x31f7ae(0x12a),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x31f7ae(0x12c),'enableAuth':_0x31f7ae(0x14a),'enableAuthHint':_0x31f7ae(0x148),'connectionInfo':_0x31f7ae(0x156),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x31f7ae(0x12e),'configStepTitle':_0x31f7ae(0x12d),'configStep1':_0x31f7ae(0x155),'configStep2':_0x31f7ae(0x15a),'configStep3':_0x31f7ae(0x139),'sessionId':'Session\x20ID','sessionIdDescription':_0x31f7ae(0x144),'authorizationDescription':_0x31f7ae(0x135),'configParameters':_0x31f7ae(0x133),'maxRetries':_0x31f7ae(0x142),'save':_0x31f7ae(0x152),'saving':_0x31f7ae(0x13f),'note1':_0x31f7ae(0x145),'note2':_0x31f7ae(0x14b),'configSaved':_0x31f7ae(0x140),'configError':_0x31f7ae(0x132),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x31f7ae(0x143),'univerAiLabel':_0x31f7ae(0x153),'getStarted':_0x31f7ae(0x13c)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x31f7ae(0x151),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x31f7ae(0x154)},'connectionStatus':{'disconnected':_0x31f7ae(0x147),'connecting':'Connecting...','connected':_0x31f7ae(0x12f),'failed':_0x31f7ae(0x14e),'retrying':_0x31f7ae(0x14c)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x31f7ae(0x12b),'networkError':_0x31f7ae(0x137),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};module[_0x31f7ae(0x149)]=e;
@@ -1 +1 @@
1
- 'use strict';const _0x2d8fb3=_0x1a04;(function(_0x2f6954,_0x35e92d){const _0x46b9af=_0x1a04,_0x4446d3=_0x2f6954();while(!![]){try{const _0x1b2cbf=parseInt(_0x46b9af(0x20c))/0x1*(-parseInt(_0x46b9af(0x1eb))/0x2)+-parseInt(_0x46b9af(0x203))/0x3*(-parseInt(_0x46b9af(0x1f3))/0x4)+-parseInt(_0x46b9af(0x1f4))/0x5+parseInt(_0x46b9af(0x1fc))/0x6*(parseInt(_0x46b9af(0x1ec))/0x7)+-parseInt(_0x46b9af(0x1f8))/0x8+-parseInt(_0x46b9af(0x1e1))/0x9+parseInt(_0x46b9af(0x1fe))/0xa;if(_0x1b2cbf===_0x35e92d)break;else _0x4446d3['push'](_0x4446d3['shift']());}catch(_0x498d16){_0x4446d3['push'](_0x4446d3['shift']());}}}(_0x58c4,0x5d5ea));function _0x1a04(_0x511db3,_0x3b29fd){_0x511db3=_0x511db3-0x1e1;const _0x58c4d2=_0x58c4();let _0x1a0499=_0x58c4d2[_0x511db3];return _0x1a0499;}function _0x58c4(){const _0x5508c6=['Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','3098928zIvwFO','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Univer\x20AI\x20Console','MCP:\x20Max\x20Retries\x20Exceeded','299334LsJwzR','MCP\x20Client\x20Configuration','7145420jUADsE','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20saved\x20successfully','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','448269rsKhQm','Configuration\x20Parameters:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connected','Invalid\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Get\x20your\x20API\x20key\x20in\x20seconds','Connected','407149mORaCc','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','5651262fJMYuP','MCP\x20Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','MCP:\x20Session\x20ID\x20Occupied','Saving...','Failed\x20to\x20save\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Steps:','Connecting...','2ytQZRZ','70gsroDn','API\x20Key','API\x20key\x20with\x20Bearer\x20prefix.','Copy\x20the\x20JSON\x20configuration\x20below','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Save\x20Configuration','Enter\x20your\x20API\x20key','16CtRWUI','31245AoKhGI','MCP\x20Retrying...'];_0x58c4=function(){return _0x5508c6;};return _0x58c4();}const e={'mcpStatus':{'disconnected':_0x2d8fb3(0x1e2),'connecting':'MCP\x20Connecting...','connected':_0x2d8fb3(0x207),'failed':_0x2d8fb3(0x1e4),'retrying':_0x2d8fb3(0x1f5),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x2d8fb3(0x1e5),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2d8fb3(0x1fb),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x2d8fb3(0x1f6)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2d8fb3(0x1ed),'apiKeyPlaceholder':_0x2d8fb3(0x1f2),'apiKeyHint':_0x2d8fb3(0x205),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2d8fb3(0x1f7),'connectionInfo':_0x2d8fb3(0x1fd),'mcpClientConfig':_0x2d8fb3(0x1fd),'configInstructions':_0x2d8fb3(0x1ff),'configStepTitle':_0x2d8fb3(0x1e9),'configStep1':_0x2d8fb3(0x1ef),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x2d8fb3(0x1f0),'authorizationDescription':_0x2d8fb3(0x1ee),'configParameters':_0x2d8fb3(0x204),'maxRetries':'Max\x20Retries','save':_0x2d8fb3(0x1f1),'saving':_0x2d8fb3(0x1e6),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x2d8fb3(0x200),'configError':_0x2d8fb3(0x1e7),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2d8fb3(0x206),'univerAiLabel':_0x2d8fb3(0x1fa),'getStarted':_0x2d8fb3(0x20a)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x2d8fb3(0x1e8),'invalidConfig':_0x2d8fb3(0x208),'invalidApiKey':_0x2d8fb3(0x201)},'connectionStatus':{'disconnected':_0x2d8fb3(0x202),'connecting':_0x2d8fb3(0x1ea),'connected':_0x2d8fb3(0x20b),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2d8fb3(0x209),'sessionOccupied':_0x2d8fb3(0x1e3),'networkError':_0x2d8fb3(0x1f9),'maxRetriesExceeded':_0x2d8fb3(0x20d)}}},n=e;module['exports']=n;
1
+ 'use strict';function _0x2c37(_0x2895b4,_0x66e3ff){_0x2895b4=_0x2895b4-0x11e;const _0x4c78cd=_0x4c78();let _0x2c3781=_0x4c78cd[_0x2895b4];return _0x2c3781;}const _0x3e172a=_0x2c37;(function(_0x3690ff,_0x560e23){const _0x2b5dfb=_0x2c37,_0x1289da=_0x3690ff();while(!![]){try{const _0x44e5f9=-parseInt(_0x2b5dfb(0x122))/0x1+-parseInt(_0x2b5dfb(0x130))/0x2+parseInt(_0x2b5dfb(0x11f))/0x3+-parseInt(_0x2b5dfb(0x13c))/0x4*(-parseInt(_0x2b5dfb(0x12b))/0x5)+parseInt(_0x2b5dfb(0x138))/0x6+-parseInt(_0x2b5dfb(0x121))/0x7*(parseInt(_0x2b5dfb(0x147))/0x8)+parseInt(_0x2b5dfb(0x148))/0x9;if(_0x44e5f9===_0x560e23)break;else _0x1289da['push'](_0x1289da['shift']());}catch(_0x5c9423){_0x1289da['push'](_0x1289da['shift']());}}}(_0x4c78,0x25e8a));const e={'mcpStatus':{'disconnected':_0x3e172a(0x144),'connecting':_0x3e172a(0x124),'connected':_0x3e172a(0x123),'failed':_0x3e172a(0x14d),'retrying':_0x3e172a(0x132),'unknown':_0x3e172a(0x141),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x3e172a(0x12c),'networkError':_0x3e172a(0x14c),'maxRetriesExceeded':_0x3e172a(0x136),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3e172a(0x142)},'mcpConfig':{'title':_0x3e172a(0x12f),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x3e172a(0x131),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x3e172a(0x145),'enableAuth':_0x3e172a(0x12e),'enableAuthHint':_0x3e172a(0x137),'connectionInfo':_0x3e172a(0x127),'mcpClientConfig':_0x3e172a(0x127),'configInstructions':_0x3e172a(0x143),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x3e172a(0x128),'configStep2':_0x3e172a(0x133),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x3e172a(0x13f),'sessionIdDescription':_0x3e172a(0x125),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3e172a(0x140),'maxRetries':'Max\x20Retries','save':_0x3e172a(0x13a),'saving':'Saving...','note1':_0x3e172a(0x120),'note2':_0x3e172a(0x13b),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x3e172a(0x14b),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x3e172a(0x126),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x3e172a(0x13e)},'validation':{'apiKeyRequired':_0x3e172a(0x135),'apiKeyTooShort':_0x3e172a(0x134),'invalidConfig':_0x3e172a(0x149),'invalidApiKey':_0x3e172a(0x14a)},'connectionStatus':{'disconnected':_0x3e172a(0x13d),'connecting':'Connecting...','connected':_0x3e172a(0x129),'failed':_0x3e172a(0x146),'retrying':_0x3e172a(0x11e)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x3e172a(0x12d),'networkError':_0x3e172a(0x12a),'maxRetriesExceeded':_0x3e172a(0x139)}}},n=e;function _0x4c78(){const _0x24909b=['Get\x20your\x20API\x20key\x20in\x20seconds','Session\x20ID','Configuration\x20Parameters:','MCP\x20Unknown\x20Status','Click\x20to\x20configure\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Disconnected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connection\x20Failed','456592kftRpe','221625bkNYXT','Invalid\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Failed\x20to\x20save\x20configuration','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed','Retrying...','646164eHjImt','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','7CLvoIn','197930hybXiL','MCP\x20Connected','MCP\x20Connecting...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Client\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','15zfLPQs','MCP:\x20Session\x20ID\x20Occupied','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20Authentication','MCP\x20Configuration','80738TdQImw','API\x20Key','MCP\x20Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20is\x20required','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20authentication\x20for\x20secure\x20connections','918978itDDua','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Save\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','76628eRXBfW','Disconnected'];_0x4c78=function(){return _0x24909b;};return _0x4c78();}module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';function _0x420b(){const _0x4d3863=['Univer\x20AI\x20Console','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','Failed\x20to\x20save\x20configuration','925qOcJza','API\x20Key','Save\x20Configuration','175BXGaev','MCP\x20Retrying...','MCP\x20Client\x20Configuration','Retrying...','Invalid\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','11554015fcyhxj','MCP:\x20Unauthorized','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connecting...','Click\x20to\x20connect\x20MCP','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Connected','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Unknown\x20Status','12XvjfMP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','592nGdEvi','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','427690lXSpPC','Max\x20Retries','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','550yVuFck','exports','129138WDrfGr','API\x20key\x20is\x20required','Click\x20to\x20configure\x20MCP','555184wbWRWc','57033hOdnNA','MCP\x20Disconnected','Connected','478708nxyFtQ','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:'];_0x420b=function(){return _0x4d3863;};return _0x420b();}const _0x449b36=_0x38de;(function(_0x49753d,_0x17b156){const _0x5dc6e7=_0x38de,_0x5661e7=_0x49753d();while(!![]){try{const _0x44dc4b=-parseInt(_0x5dc6e7(0xe0))/0x1*(parseInt(_0x5dc6e7(0xc9))/0x2)+parseInt(_0x5dc6e7(0xc6))/0x3*(-parseInt(_0x5dc6e7(0xda))/0x4)+-parseInt(_0x5dc6e7(0xcb))/0x5+parseInt(_0x5dc6e7(0xd3))/0x6*(parseInt(_0x5dc6e7(0xb4))/0x7)+-parseInt(_0x5dc6e7(0xd6))/0x8+parseInt(_0x5dc6e7(0xd7))/0x9*(-parseInt(_0x5dc6e7(0xd1))/0xa)+parseInt(_0x5dc6e7(0xbd))/0xb;if(_0x44dc4b===_0x17b156)break;else _0x5661e7['push'](_0x5661e7['shift']());}catch(_0x11310a){_0x5661e7['push'](_0x5661e7['shift']());}}}(_0x420b,0x512ad));const e={'mcpStatus':{'disconnected':_0x449b36(0xd8),'connecting':'MCP\x20Connecting...','connected':_0x449b36(0xc3),'failed':'MCP\x20Connection\x20Failed','retrying':_0x449b36(0xb5),'unknown':_0x449b36(0xc5),'unauthorized':_0x449b36(0xbe),'sessionOccupied':_0x449b36(0xc4),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x449b36(0xc1),'clickToConfigure':_0x449b36(0xd5)},'mcpConfig':{'title':_0x449b36(0xce),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x449b36(0xe1),'apiKeyPlaceholder':_0x449b36(0xde),'apiKeyHint':_0x449b36(0xba),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x449b36(0xb6),'mcpClientConfig':_0x449b36(0xb6),'configInstructions':_0x449b36(0xdb),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x449b36(0xcd),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x449b36(0xbf),'authorizationDescription':_0x449b36(0xd0),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x449b36(0xcc),'save':_0x449b36(0xb3),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x449b36(0xb9),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x449b36(0xdf),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x449b36(0xc7),'univerAiLabel':_0x449b36(0xdc),'getStarted':_0x449b36(0xbc)},'validation':{'apiKeyRequired':_0x449b36(0xd4),'apiKeyTooShort':_0x449b36(0xc2),'invalidConfig':_0x449b36(0xb8),'invalidApiKey':_0x449b36(0xca)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x449b36(0xc0),'connected':_0x449b36(0xd9),'failed':_0x449b36(0xbb),'retrying':_0x449b36(0xb7)},'connectionError':{'unauthorized':_0x449b36(0xcf),'sessionOccupied':_0x449b36(0xdd),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x449b36(0xc8)}}},n=e;function _0x38de(_0xadfa14,_0x4543c6){_0xadfa14=_0xadfa14-0xb3;const _0x420bb2=_0x420b();let _0x38defd=_0x420bb2[_0xadfa14];return _0x38defd;}module[_0x449b36(0xd2)]=n;
1
+ 'use strict';const _0x419d8c=_0x2a53;function _0x2a53(_0x302685,_0x4e8ab2){_0x302685=_0x302685-0x1e0;const _0x4d49b2=_0x4d49();let _0x2a5369=_0x4d49b2[_0x302685];return _0x2a5369;}(function(_0x1f419d,_0x4438ed){const _0x3bbacf=_0x2a53,_0x2635b0=_0x1f419d();while(!![]){try{const _0x286964=parseInt(_0x3bbacf(0x20c))/0x1+-parseInt(_0x3bbacf(0x20b))/0x2*(parseInt(_0x3bbacf(0x211))/0x3)+-parseInt(_0x3bbacf(0x1fd))/0x4*(parseInt(_0x3bbacf(0x1e1))/0x5)+parseInt(_0x3bbacf(0x1e0))/0x6*(-parseInt(_0x3bbacf(0x206))/0x7)+parseInt(_0x3bbacf(0x20e))/0x8+parseInt(_0x3bbacf(0x1e8))/0x9+-parseInt(_0x3bbacf(0x1ef))/0xa*(-parseInt(_0x3bbacf(0x200))/0xb);if(_0x286964===_0x4438ed)break;else _0x2635b0['push'](_0x2635b0['shift']());}catch(_0x538956){_0x2635b0['push'](_0x2635b0['shift']());}}}(_0x4d49,0x4035f));const e={'mcpStatus':{'disconnected':_0x419d8c(0x1e2),'connecting':_0x419d8c(0x213),'connected':_0x419d8c(0x204),'failed':'MCP\x20Connection\x20Failed','retrying':_0x419d8c(0x1f1),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x419d8c(0x1ff),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x419d8c(0x1ec),'maxRetriesExceeded':_0x419d8c(0x20a),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x419d8c(0x212)},'mcpConfig':{'title':_0x419d8c(0x205),'description':_0x419d8c(0x207),'apiKey':_0x419d8c(0x1fb),'apiKeyPlaceholder':_0x419d8c(0x1e9),'apiKeyHint':_0x419d8c(0x1ea),'enableAuth':_0x419d8c(0x1e7),'enableAuthHint':_0x419d8c(0x1f3),'connectionInfo':_0x419d8c(0x1e6),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x419d8c(0x20f),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x419d8c(0x1ed),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x419d8c(0x209),'sessionId':'Session\x20ID','sessionIdDescription':_0x419d8c(0x1e3),'authorizationDescription':_0x419d8c(0x201),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x419d8c(0x20d),'saving':_0x419d8c(0x203),'note1':_0x419d8c(0x1f7),'note2':_0x419d8c(0x202),'configSaved':_0x419d8c(0x215),'configError':_0x419d8c(0x1ee),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x419d8c(0x1eb),'univerAiLabel':_0x419d8c(0x1f8),'getStarted':_0x419d8c(0x1fc)},'validation':{'apiKeyRequired':_0x419d8c(0x1f9),'apiKeyTooShort':_0x419d8c(0x1e5),'invalidConfig':_0x419d8c(0x208),'invalidApiKey':_0x419d8c(0x1fa)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x419d8c(0x1f6),'connected':_0x419d8c(0x1f4),'failed':_0x419d8c(0x1f2),'retrying':_0x419d8c(0x214)},'connectionError':{'unauthorized':_0x419d8c(0x1f0),'sessionOccupied':_0x419d8c(0x1e4),'networkError':_0x419d8c(0x210),'maxRetriesExceeded':_0x419d8c(0x1fe)}}},n=e;function _0x4d49(){const _0x3dfd87=['2510405BOrLEZ','MCP\x20Disconnected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Client\x20Configuration','Enable\x20Authentication','449118SVDsCk','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Network\x20Error','Copy\x20the\x20JSON\x20configuration\x20below','Failed\x20to\x20save\x20configuration','10myDFEY','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Retrying...','Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','Connected','exports','Connecting...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Univer\x20AI\x20Console','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','4LFlKHW','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Unauthorized','12949211ajlemO','API\x20key\x20with\x20Bearer\x20prefix.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Saving...','MCP\x20Connected','MCP\x20Configuration','3171931cyKLzp','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Invalid\x20configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','18334PmWaca','6503eBdTJV','Save\x20Configuration','683616ALePVL','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','33XsVADw','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','Retrying...','Configuration\x20saved\x20successfully','6djxHfS'];_0x4d49=function(){return _0x3dfd87;};return _0x4d49();}module[_0x419d8c(0x1f5)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x5538(_0x52247d,_0x364738){_0x52247d=_0x52247d-0xfd;const _0x239b22=_0x239b();let _0x55381d=_0x239b22[_0x52247d];return _0x55381d;}const _0x2fef31=_0x5538;(function(_0x4472bf,_0x358a0c){const _0x4f6e80=_0x5538,_0x362533=_0x4472bf();while(!![]){try{const _0x59251e=-parseInt(_0x4f6e80(0x118))/0x1*(parseInt(_0x4f6e80(0xfe))/0x2)+parseInt(_0x4f6e80(0x124))/0x3+parseInt(_0x4f6e80(0x105))/0x4+-parseInt(_0x4f6e80(0x104))/0x5+-parseInt(_0x4f6e80(0x109))/0x6+-parseInt(_0x4f6e80(0x125))/0x7+-parseInt(_0x4f6e80(0x128))/0x8*(-parseInt(_0x4f6e80(0x120))/0x9);if(_0x59251e===_0x358a0c)break;else _0x362533['push'](_0x362533['shift']());}catch(_0x340751){_0x362533['push'](_0x362533['shift']());}}}(_0x239b,0xbae45));function _0x239b(){const _0x4d89bc=['Invalid\x20configuration','MCP\x20Connection\x20Failed','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connecting...','MCP\x20Retrying...','1460993rWiOir','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key','Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','Saving...','Copy\x20the\x20JSON\x20configuration\x20below','51147EHJSIA','API\x20key\x20with\x20Bearer\x20prefix.','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','2792877WlzUFy','4735115jyCoGr','Configuration\x20Steps:','MCP\x20Unknown\x20Status','4112VDPHUV','Failed\x20to\x20save\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connecting...','Configuration\x20saved\x20successfully','MCP:\x20Unauthorized','MCP:\x20Session\x20ID\x20Occupied','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Session\x20ID','API\x20key\x20is\x20required','exports','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Parameters:','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','2zUeUrG','Connected','MCP\x20Client\x20Configuration','MCP\x20Connected','What\x20is\x20API\x20Key?','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','2040595tgTZdt','1734988fHEqpL','Retrying...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Max\x20Retries','5848212JMqaoq','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Disconnected','Enable\x20Authentication','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Configuration','Save\x20Configuration'];_0x239b=function(){return _0x4d89bc;};return _0x239b();}const e={'mcpStatus':{'disconnected':_0x2fef31(0x10c),'connecting':_0x2fef31(0x12c),'connected':_0x2fef31(0x101),'failed':_0x2fef31(0x114),'retrying':_0x2fef31(0x117),'unknown':_0x2fef31(0x127),'unauthorized':_0x2fef31(0x12e),'sessionOccupied':_0x2fef31(0x12f),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2fef31(0x134),'clickToConnect':_0x2fef31(0x10a),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2fef31(0x111),'description':_0x2fef31(0x12a),'apiKey':_0x2fef31(0x11a),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x2fef31(0x122),'enableAuth':_0x2fef31(0x10d),'enableAuthHint':_0x2fef31(0xfd),'connectionInfo':_0x2fef31(0x100),'mcpClientConfig':_0x2fef31(0x100),'configInstructions':_0x2fef31(0x107),'configStepTitle':_0x2fef31(0x126),'configStep1':_0x2fef31(0x11f),'configStep2':_0x2fef31(0x10f),'configStep3':_0x2fef31(0x103),'sessionId':_0x2fef31(0x131),'sessionIdDescription':_0x2fef31(0x110),'authorizationDescription':_0x2fef31(0x121),'configParameters':_0x2fef31(0x135),'maxRetries':_0x2fef31(0x108),'save':_0x2fef31(0x112),'saving':_0x2fef31(0x11e),'note1':_0x2fef31(0x115),'note2':_0x2fef31(0x10b),'configSaved':_0x2fef31(0x12d),'configError':_0x2fef31(0x129),'apiApplyInfo':{'title':_0x2fef31(0x102),'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':_0x2fef31(0x12b)},'validation':{'apiKeyRequired':_0x2fef31(0x132),'apiKeyTooShort':_0x2fef31(0x10e),'invalidConfig':_0x2fef31(0x113),'invalidApiKey':_0x2fef31(0x11c)},'connectionStatus':{'disconnected':_0x2fef31(0x11b),'connecting':_0x2fef31(0x116),'connected':_0x2fef31(0xff),'failed':_0x2fef31(0x11d),'retrying':_0x2fef31(0x106)},'connectionError':{'unauthorized':_0x2fef31(0x130),'sessionOccupied':_0x2fef31(0x136),'networkError':_0x2fef31(0x119),'maxRetriesExceeded':_0x2fef31(0x123)}}},n=e;module[_0x2fef31(0x133)]=n;
1
+ 'use strict';const _0x2e3b9=_0x51ea;(function(_0x11d791,_0x1cc5b6){const _0x5ed6fc=_0x51ea,_0x50b214=_0x11d791();while(!![]){try{const _0x5715cd=parseInt(_0x5ed6fc(0x1bc))/0x1+parseInt(_0x5ed6fc(0x1b0))/0x2+-parseInt(_0x5ed6fc(0x1b8))/0x3*(-parseInt(_0x5ed6fc(0x1a7))/0x4)+-parseInt(_0x5ed6fc(0x195))/0x5*(-parseInt(_0x5ed6fc(0x1c1))/0x6)+parseInt(_0x5ed6fc(0x1b7))/0x7*(parseInt(_0x5ed6fc(0x199))/0x8)+parseInt(_0x5ed6fc(0x1c0))/0x9+-parseInt(_0x5ed6fc(0x1c3))/0xa*(parseInt(_0x5ed6fc(0x19c))/0xb);if(_0x5715cd===_0x1cc5b6)break;else _0x50b214['push'](_0x50b214['shift']());}catch(_0x1f1e4b){_0x50b214['push'](_0x50b214['shift']());}}}(_0x2294,0xc19ea));function _0x51ea(_0x2da50f,_0x4d928c){_0x2da50f=_0x2da50f-0x195;const _0x22941a=_0x2294();let _0x51ea90=_0x22941a[_0x2da50f];return _0x51ea90;}function _0x2294(){const _0x311655=['Enter\x20your\x20API\x20key','11616057AmbVCm','54CuzCOH','Failed\x20to\x20save\x20configuration','24978410zcwwkx','Click\x20to\x20connect\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20Parameters:','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Univer\x20AI\x20Console','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','690355lBWvUy','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20saved\x20successfully','Connecting...','6490808lNBciD','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Unauthorized','22pOwNop','Session\x20ID','Retrying...','Configuration\x20Steps:','MCP:\x20Network\x20Error','MCP\x20Connecting...','MCP\x20Client\x20Configuration','Save\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connected','424kZkwzW','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Session\x20ID\x20Occupied','What\x20is\x20API\x20Key?','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Disconnected','Max\x20Retries','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Retrying...','681518YYKdWQ','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connection\x20Failed','MCP\x20Connected','MCP\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Invalid\x20configuration','7nbYeKg','19659STQycv','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Unknown\x20Status','exports','1408708wALmLm','Connection\x20Failed','Saving...'];_0x2294=function(){return _0x311655;};return _0x2294();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x2e3b9(0x1a1),'connected':_0x2e3b9(0x1b3),'failed':_0x2e3b9(0x1b2),'retrying':_0x2e3b9(0x1af),'unknown':_0x2e3b9(0x1ba),'unauthorized':_0x2e3b9(0x19b),'sessionOccupied':_0x2e3b9(0x1a9),'networkError':_0x2e3b9(0x1a0),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x2e3b9(0x1c4),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2e3b9(0x1b4),'description':_0x2e3b9(0x1c7),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2e3b9(0x1bf),'apiKeyHint':_0x2e3b9(0x1ca),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2e3b9(0x1c5),'connectionInfo':_0x2e3b9(0x1a2),'mcpClientConfig':_0x2e3b9(0x1a2),'configInstructions':_0x2e3b9(0x1a8),'configStepTitle':_0x2e3b9(0x19f),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x2e3b9(0x1ab),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x2e3b9(0x19d),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2e3b9(0x1ae),'configParameters':_0x2e3b9(0x1c6),'maxRetries':_0x2e3b9(0x1ad),'save':_0x2e3b9(0x1a3),'saving':_0x2e3b9(0x1be),'note1':_0x2e3b9(0x1b5),'note2':_0x2e3b9(0x19a),'configSaved':_0x2e3b9(0x197),'configError':_0x2e3b9(0x1c2),'apiApplyInfo':{'title':_0x2e3b9(0x1aa),'description':_0x2e3b9(0x196),'univerAiLabel':_0x2e3b9(0x1c8),'getStarted':_0x2e3b9(0x1b9)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x2e3b9(0x1c9),'invalidConfig':_0x2e3b9(0x1b6),'invalidApiKey':_0x2e3b9(0x1b1)},'connectionStatus':{'disconnected':_0x2e3b9(0x1ac),'connecting':_0x2e3b9(0x198),'connected':_0x2e3b9(0x1a6),'failed':_0x2e3b9(0x1bd),'retrying':_0x2e3b9(0x19e)},'connectionError':{'unauthorized':_0x2e3b9(0x1a4),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x2e3b9(0x1a5),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x2e3b9(0x1bb)]=n;
@@ -1 +1 @@
1
- 'use strict';const _0x115b3=_0x17e0;(function(_0x4fd10c,_0x5c49d7){const _0x273b69=_0x17e0,_0x332d04=_0x4fd10c();while(!![]){try{const _0x55d825=parseInt(_0x273b69(0x1dc))/0x1+parseInt(_0x273b69(0x1cd))/0x2*(parseInt(_0x273b69(0x1c9))/0x3)+-parseInt(_0x273b69(0x1f3))/0x4*(-parseInt(_0x273b69(0x1e3))/0x5)+parseInt(_0x273b69(0x1f2))/0x6*(-parseInt(_0x273b69(0x1c5))/0x7)+-parseInt(_0x273b69(0x1f0))/0x8*(-parseInt(_0x273b69(0x1d2))/0x9)+-parseInt(_0x273b69(0x1f4))/0xa+parseInt(_0x273b69(0x1ee))/0xb*(parseInt(_0x273b69(0x1e8))/0xc);if(_0x55d825===_0x5c49d7)break;else _0x332d04['push'](_0x332d04['shift']());}catch(_0x2f4359){_0x332d04['push'](_0x332d04['shift']());}}}(_0x21d9,0xa3e9d));function _0x21d9(){const _0x35cd92=['数秒でAPIキーを取得','クリックしてMCPに接続','660fYvxcN','認証を有効にする','接続中...','MCPを設定してAIでスプレッドシートを操作','設定を保存','APIキーは10文字以上である必要があります','49379jfjwmE','Bearerプレフィックス付きのAPIキー。','4163488pcOpre','ネットワーク接続エラー。インターネット接続を確認してください','264714SHELDQ','2224uEXPkh','9538310drZgVA','設定パラメータ:','MCP\x20再試行中...','77xBwHgS','保存中...','MCP\x20接続失敗','APIキーはこのブラウザのローカルに保存されます','3oPUzkp','接続失敗','MCPクライアントの設定に次の設定を追加してください:','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','1341862ztuykl','MCP:\x20認証されていません','セキュアな接続のために認証を有効にする','設定が正常に保存されました','クリックしてMCPを設定','9AuZWGi','無効なAPIキーです。キーが正しいか確認してください','APIキー','MCP\x20未接続','設定の保存に失敗しました','MCP\x20接続済み','セッションIDが現在使用中です。後でもう一度お試しください','MCP:\x20最大再試行回数を超過','未接続','Univer\x20AIコンソール','119603Zalbnm','APIキーはローカルストレージに安全に保存されます','MCPクライアント設定','MCPクライアントの設定ファイルに設定を追加','設定手順:','APIキーは必須です','MCP:\x20セッションIDが使用中','4970TElSjL','セッションID','APIキーとは?'];_0x21d9=function(){return _0x35cd92;};return _0x21d9();}const e={'mcpStatus':{'disconnected':_0x115b3(0x1d5),'connecting':'MCP\x20接続中...','connected':_0x115b3(0x1d7),'failed':_0x115b3(0x1c7),'retrying':_0x115b3(0x1f6),'unknown':'MCP\x20不明な状態','unauthorized':_0x115b3(0x1ce),'sessionOccupied':_0x115b3(0x1e2),'networkError':'MCP:\x20ネットワークエラー','maxRetriesExceeded':_0x115b3(0x1d9),'clickToConnect':_0x115b3(0x1e7),'clickToConfigure':_0x115b3(0x1d1)},'mcpConfig':{'title':'MCP設定','description':_0x115b3(0x1eb),'apiKey':_0x115b3(0x1d4),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':_0x115b3(0x1c8),'enableAuth':_0x115b3(0x1e9),'enableAuthHint':_0x115b3(0x1cf),'connectionInfo':_0x115b3(0x1de),'mcpClientConfig':'MCPクライアント設定','configInstructions':_0x115b3(0x1cb),'configStepTitle':_0x115b3(0x1e0),'configStep1':'以下のJSON設定をコピー','configStep2':_0x115b3(0x1df),'configStep3':'MCPクライアントを再起動して設定を適用','sessionId':_0x115b3(0x1e4),'sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':_0x115b3(0x1ef),'configParameters':_0x115b3(0x1f5),'maxRetries':'最大再試行回数','save':_0x115b3(0x1ec),'saving':_0x115b3(0x1c6),'note1':'設定の変更は直ちに有効になります','note2':_0x115b3(0x1dd),'configSaved':_0x115b3(0x1d0),'configError':_0x115b3(0x1d6),'apiApplyInfo':{'title':_0x115b3(0x1e5),'description':_0x115b3(0x1cc),'univerAiLabel':_0x115b3(0x1db),'getStarted':_0x115b3(0x1e6)},'validation':{'apiKeyRequired':_0x115b3(0x1e1),'apiKeyTooShort':_0x115b3(0x1ed),'invalidConfig':'無効な設定','invalidApiKey':_0x115b3(0x1d3)},'connectionStatus':{'disconnected':_0x115b3(0x1da),'connecting':_0x115b3(0x1ea),'connected':'接続済み','failed':_0x115b3(0x1ca),'retrying':'再試行中...'},'connectionError':{'unauthorized':'認証に失敗しました。APIキーを確認してください','sessionOccupied':_0x115b3(0x1d8),'networkError':_0x115b3(0x1f1),'maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};function _0x17e0(_0x4aef94,_0x31cdc0){_0x4aef94=_0x4aef94-0x1c5;const _0x21d939=_0x21d9();let _0x17e04f=_0x21d939[_0x4aef94];return _0x17e04f;}module['exports']=e;
1
+ 'use strict';const _0x3f4895=_0x7c4b;function _0x4758(){const _0x270c8c=['認証を有効にする','MCP\x20接続済み','892662vmloVn','設定の変更は直ちに有効になります','MCPクライアントの設定ファイルに設定を追加','MCPを設定してAIでスプレッドシートを操作','Bearerプレフィックス付きのAPIキー。','1315248hgQAPU','MCP\x20接続中...','MCP:\x20ネットワークエラー','無効なAPIキーです。キーが正しいか確認してください','設定手順:','最大再試行回数','APIキーとは?','13625dWJDUl','最大再試行回数を超過しました。後でもう一度お試しください','ネットワーク接続エラー。インターネット接続を確認してください','12086UgcBav','MCP:\x20認証されていません','設定の保存に失敗しました','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','1286263KyRRHT','39JaqUJM','MCP:\x20セッションIDが使用中','セッションID','APIキー','クリックしてMCPを設定','設定パラメータ:','数秒でAPIキーを取得','以下のJSON設定をコピー','124lewgmp','906516EYOHEW','無効な設定','MCPクライアントを再起動して設定を適用','663840KcgXIx','MCP設定','セキュアな接続のために認証を有効にする','APIキーは必須です','7JokKWW','30xQaDKN','設定を保存','MCP\x20接続失敗','MCPクライアント設定','未接続','Univer\x20AIコンソール','認証に失敗しました。APIキーを確認してください','再試行中...','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','APIキーはこのブラウザのローカルに保存されます'];_0x4758=function(){return _0x270c8c;};return _0x4758();}(function(_0x4529c3,_0x40664){const _0x2a8dc8=_0x7c4b,_0x4e36ab=_0x4529c3();while(!![]){try{const _0x451949=parseInt(_0x2a8dc8(0xaf))/0x1*(parseInt(_0x2a8dc8(0xaa))/0x2)+parseInt(_0x2a8dc8(0xbb))/0x3+parseInt(_0x2a8dc8(0xb7))/0x4*(-parseInt(_0x2a8dc8(0xa7))/0x5)+parseInt(_0x2a8dc8(0xcc))/0x6*(-parseInt(_0x2a8dc8(0xbf))/0x7)+parseInt(_0x2a8dc8(0xd1))/0x8+parseInt(_0x2a8dc8(0xb8))/0x9+-parseInt(_0x2a8dc8(0xc0))/0xa*(parseInt(_0x2a8dc8(0xae))/0xb);if(_0x451949===_0x40664)break;else _0x4e36ab['push'](_0x4e36ab['shift']());}catch(_0x2a2767){_0x4e36ab['push'](_0x4e36ab['shift']());}}}(_0x4758,0x21b34));function _0x7c4b(_0x3a68bf,_0x4cb3ab){_0x3a68bf=_0x3a68bf-0xa1;const _0x47584d=_0x4758();let _0x7c4b1a=_0x47584d[_0x3a68bf];return _0x7c4b1a;}const e={'mcpStatus':{'disconnected':'MCP\x20未接続','connecting':_0x3f4895(0xa1),'connected':_0x3f4895(0xcb),'failed':_0x3f4895(0xc2),'retrying':'MCP\x20再試行中...','unknown':'MCP\x20不明な状態','unauthorized':_0x3f4895(0xab),'sessionOccupied':_0x3f4895(0xb0),'networkError':_0x3f4895(0xa2),'maxRetriesExceeded':'MCP:\x20最大再試行回数を超過','clickToConnect':'クリックしてMCPに接続','clickToConfigure':_0x3f4895(0xb3)},'mcpConfig':{'title':_0x3f4895(0xbc),'description':_0x3f4895(0xcf),'apiKey':_0x3f4895(0xb2),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':_0x3f4895(0xc9),'enableAuth':_0x3f4895(0xca),'enableAuthHint':_0x3f4895(0xbd),'connectionInfo':_0x3f4895(0xc3),'mcpClientConfig':_0x3f4895(0xc3),'configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':_0x3f4895(0xa4),'configStep1':_0x3f4895(0xb6),'configStep2':_0x3f4895(0xce),'configStep3':_0x3f4895(0xba),'sessionId':_0x3f4895(0xb1),'sessionIdDescription':_0x3f4895(0xad),'authorizationDescription':_0x3f4895(0xd0),'configParameters':_0x3f4895(0xb4),'maxRetries':_0x3f4895(0xa5),'save':_0x3f4895(0xc1),'saving':'保存中...','note1':_0x3f4895(0xcd),'note2':'APIキーはローカルストレージに安全に保存されます','configSaved':'設定が正常に保存されました','configError':_0x3f4895(0xac),'apiApplyInfo':{'title':_0x3f4895(0xa6),'description':_0x3f4895(0xc8),'univerAiLabel':_0x3f4895(0xc5),'getStarted':_0x3f4895(0xb5)},'validation':{'apiKeyRequired':_0x3f4895(0xbe),'apiKeyTooShort':'APIキーは10文字以上である必要があります','invalidConfig':_0x3f4895(0xb9),'invalidApiKey':_0x3f4895(0xa3)},'connectionStatus':{'disconnected':_0x3f4895(0xc4),'connecting':'接続中...','connected':'接続済み','failed':'接続失敗','retrying':_0x3f4895(0xc7)},'connectionError':{'unauthorized':_0x3f4895(0xc6),'sessionOccupied':'セッションIDが現在使用中です。後でもう一度お試しください','networkError':_0x3f4895(0xa9),'maxRetriesExceeded':_0x3f4895(0xa8)}}};module['exports']=e;