@univerjs-pro/mcp-ui 0.10.9-nightly.202509260614 → 0.10.10-experimental.20251010-3f807c5

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 (45) 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/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +9 -9
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- var _0x5169db=_0x5e17;(function(_0x28029c,_0x1edf80){var _0x3624cf=_0x5e17,_0x30f76f=_0x28029c();while(!![]){try{var _0x291700=parseInt(_0x3624cf(0x1ac))/0x1+-parseInt(_0x3624cf(0x2b4))/0x2*(parseInt(_0x3624cf(0x28c))/0x3)+parseInt(_0x3624cf(0x2a5))/0x4*(parseInt(_0x3624cf(0x1e5))/0x5)+parseInt(_0x3624cf(0x264))/0x6+-parseInt(_0x3624cf(0x1fc))/0x7*(parseInt(_0x3624cf(0x23c))/0x8)+parseInt(_0x3624cf(0x2ee))/0x9*(-parseInt(_0x3624cf(0x289))/0xa)+parseInt(_0x3624cf(0x2db))/0xb*(parseInt(_0x3624cf(0x2d8))/0xc);if(_0x291700===_0x1edf80)break;else _0x30f76f['push'](_0x30f76f['shift']());}catch(_0x5a704d){_0x30f76f['push'](_0x30f76f['shift']());}}}(_0x23e6,0xb8601));var we=Object[_0x5169db(0x27f)],Ee=(_0x53bb6d,_0x454c8a,_0x473325)=>_0x454c8a in _0x53bb6d?we(_0x53bb6d,_0x454c8a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x473325}):_0x53bb6d[_0x454c8a]=_0x473325,S=(_0x462e81,_0x49b06a,_0x5289f3)=>Ee(_0x462e81,typeof _0x49b06a!=_0x5169db(0x1bf)?_0x49b06a+'':_0x49b06a,_0x5289f3);import{LocaleService as _0x4f4718,Inject as _0x236043,Injector as _0x582310,IConfigService as _0x3a4bae,ILocalStorageService as _0x51515e,ILogService as _0x36ee80,Disposable as _0x3dde06,CommandType as _0x42ca93,ICommandService as _0x39e99e,DependentOn as _0x37ecd6,Plugin as _0x304d6d,merge as _0x1ce813}from'@univerjs/core';import{jsxs as _0x5710b0,jsx as _0x575de2}from'react/jsx-runtime';import{MCPConnectionStatus as _0x386ed5,MCPConnectionError as _0x4e873e,MCPConnectionController as _0x27fb1b,MCP_PLUGIN_CONFIG_KEY as _0x457454,UniverMCPPlugin as _0x20d2ba}from'@univerjs-pro/mcp';import{Input as _0x430dc6,Button as _0x3b7201,MessageType as _0x2465ca,Tooltip as _0x7daf80,clsx as _0x3a7b1a}from'@univerjs/design';import{useDependency as _0x3f5854,useObservable as _0x15ca67,IUIPartsService as _0x1711f6,IDialogService as _0x499b1d,IMessageService as _0xdc7f2d,ComponentManager as _0x43e4c3,connectInjector as _0x23400d,BuiltInUIPart as _0x906c3b,MenuItemType as _0x515621,RibbonStartGroup as _0x173307,IMenuManagerService as _0x5a4a7b}from'@univerjs/ui';import{BehaviorSubject as _0x1434d3}from'rxjs';import{forwardRef as _0x4f8dfb,useRef as _0x4d3693,createElement as _0x47720d,useState as _0x5d7e5e,useCallback as _0x30b2c7}from'react';import{ISocketService as _0x4a4ff2,WebSocketService as _0x1f9c88}from'@univerjs/network';var f=function(){var _0x4a2e58=_0x5169db;return f=Object[_0x4a2e58(0x2e0)]||function(_0x2bc047){var _0x531672=_0x4a2e58;for(var _0x4d98c1,_0xc25bbe=0x1,_0x1a747a=arguments['length'];_0xc25bbe<_0x1a747a;_0xc25bbe++){_0x4d98c1=arguments[_0xc25bbe];for(var _0xd2304b in _0x4d98c1)Object[_0x531672(0x248)]['hasOwnProperty']['call'](_0x4d98c1,_0xd2304b)&&(_0x2bc047[_0xd2304b]=_0x4d98c1[_0xd2304b]);}return _0x2bc047;},f[_0x4a2e58(0x21d)](this,arguments);},Ye=function(_0x50d375,_0x12ef52){var _0x5d64e1=_0x5169db,_0x395278={};for(var _0x151344 in _0x50d375)Object[_0x5d64e1(0x248)][_0x5d64e1(0x281)][_0x5d64e1(0x20a)](_0x50d375,_0x151344)&&_0x12ef52['indexOf'](_0x151344)<0x0&&(_0x395278[_0x151344]=_0x50d375[_0x151344]);if(_0x50d375!=null&&typeof Object[_0x5d64e1(0x21f)]==_0x5d64e1(0x2d4)){for(var _0x15a023=0x0,_0x151344=Object[_0x5d64e1(0x21f)](_0x50d375);_0x15a023<_0x151344[_0x5d64e1(0x23e)];_0x15a023++)_0x12ef52[_0x5d64e1(0x1ad)](_0x151344[_0x15a023])<0x0&&Object[_0x5d64e1(0x248)]['propertyIsEnumerable'][_0x5d64e1(0x20a)](_0x50d375,_0x151344[_0x15a023])&&(_0x395278[_0x151344[_0x15a023]]=_0x50d375[_0x151344[_0x15a023]]);}return _0x395278;},w=_0x4f8dfb(function(_0x142ff7,_0x2338cd){var _0x518de0=_0x5169db,_0x32c3d8=_0x142ff7[_0x518de0(0x292)],_0x22a112=_0x142ff7['id'],_0x5bef58=_0x142ff7[_0x518de0(0x270)],_0x36d73b=_0x142ff7[_0x518de0(0x2e6)],_0x49d5fc=Ye(_0x142ff7,['icon','id',_0x518de0(0x270),_0x518de0(0x2e6)]),_0x5722dc='univerjs-icon\x20univerjs-icon-'['concat'](_0x22a112,'\x20')[_0x518de0(0x20c)](_0x5bef58||'')[_0x518de0(0x249)](),_0x13b076=_0x4d3693('_'[_0x518de0(0x20c)](Xe()));return ue(_0x32c3d8,''[_0x518de0(0x20c)](_0x22a112),{'defIds':_0x32c3d8[_0x518de0(0x229)],'idSuffix':_0x13b076[_0x518de0(0x22a)]},f({'ref':_0x2338cd,'className':_0x5722dc},_0x49d5fc),_0x36d73b);});function ue(_0x51b111,_0x448771,_0x95fbc6,_0x25df26,_0x48de69){var _0x57ad7b=_0x5169db;return _0x47720d(_0x51b111['tag'],f(f({'key':_0x448771},Ze(_0x51b111,_0x95fbc6,_0x48de69)),_0x25df26),(qe(_0x51b111,_0x95fbc6)[_0x57ad7b(0x2ec)]||[])[_0x57ad7b(0x251)](function(_0x58f912,_0x1844da){var _0x343e5b=_0x57ad7b;return ue(_0x58f912,''['concat'](_0x448771,'-')[_0x343e5b(0x20c)](_0x51b111['tag'],'-')['concat'](_0x1844da),_0x95fbc6,void 0x0,_0x48de69);}));}function Ze(_0x1afebe,_0x5b366,_0x33e2b5){var _0x1557fe=_0x5169db,_0x1285b7=f({},_0x1afebe[_0x1557fe(0x2fd)]);_0x33e2b5!=null&&_0x33e2b5[_0x1557fe(0x2b3)]&&_0x1285b7[_0x1557fe(0x28f)]===_0x1557fe(0x2b3)&&(_0x1285b7['fill']=_0x33e2b5[_0x1557fe(0x2b3)]),_0x1afebe[_0x1557fe(0x2cc)]===_0x1557fe(0x1e2)&&_0x1285b7['id']&&(_0x1285b7['id']=_0x1285b7['id']+_0x5b366[_0x1557fe(0x2bf)]),Object[_0x1557fe(0x2bb)](_0x1285b7)['forEach'](function(_0x5b047d){var _0x42665e=_0x1557fe,_0x4c04ac=_0x5b047d[0x0],_0x25229b=_0x5b047d[0x1];_0x4c04ac===_0x42665e(0x1e2)&&typeof _0x25229b==_0x42665e(0x269)&&(_0x1285b7[_0x4c04ac]=_0x25229b[_0x42665e(0x24b)](/url\(#(.*)\)/,_0x42665e(0x2ca)['concat'](_0x5b366['idSuffix'],')')));});var _0x7e2c8c=_0x5b366['defIds'];return!_0x7e2c8c||_0x7e2c8c[_0x1557fe(0x23e)]===0x0||(_0x1afebe[_0x1557fe(0x2cc)]===_0x1557fe(0x204)&&_0x1285b7[_0x1557fe(0x2cf)]&&(_0x1285b7[_0x1557fe(0x2cf)]=_0x1285b7[_0x1557fe(0x2cf)]+_0x5b366[_0x1557fe(0x2bf)]),Object[_0x1557fe(0x2bb)](_0x1285b7)['forEach'](function(_0x537559){var _0x2a965b=_0x1557fe,_0x43a491=_0x537559[0x0],_0x3e5714=_0x537559[0x1];typeof _0x3e5714=='string'&&(_0x1285b7[_0x43a491]=_0x3e5714[_0x2a965b(0x24b)](/url\(#(.*)\)/,_0x2a965b(0x2ca)[_0x2a965b(0x20c)](_0x5b366[_0x2a965b(0x2bf)],')')));})),_0x1285b7;}function qe(_0x4d137b,_0x47b910){var _0x47c494=_0x5169db,_0x44eb22,_0xc4d6cb=_0x47b910['defIds'];return!_0xc4d6cb||_0xc4d6cb[_0x47c494(0x23e)]===0x0?_0x4d137b:_0x4d137b[_0x47c494(0x2cc)]===_0x47c494(0x2b0)&&(!((_0x44eb22=_0x4d137b['children'])===null||_0x44eb22===void 0x0)&&_0x44eb22[_0x47c494(0x23e)])?f(f({},_0x4d137b),{'children':_0x4d137b[_0x47c494(0x2ec)]['map'](function(_0x450663){var _0x103320=_0x47c494;return typeof _0x450663[_0x103320(0x2fd)]['id']==_0x103320(0x269)&&_0xc4d6cb&&_0xc4d6cb[_0x103320(0x2f8)](_0x450663[_0x103320(0x2fd)]['id'])?f(f({},_0x450663),{'attrs':f(f({},_0x450663[_0x103320(0x2fd)]),{'id':_0x450663[_0x103320(0x2fd)]['id']+_0x47b910[_0x103320(0x2bf)]})}):_0x450663;})}):_0x4d137b;}function Xe(){var _0x5c1ebe=_0x5169db;return Math['random']()[_0x5c1ebe(0x26d)](0x24)[_0x5c1ebe(0x282)](0x2,0x8);}w[_0x5169db(0x1ce)]=_0x5169db(0x288);function _0x23e6(){var _0x463fe3=['DISCONNECTED','mcpConfig.connectionError.networkError','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','mcpStatus.clickToConnect','Configuration\x20saved\x20successfully','MCP\x20客户端配置','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpConfig.connectionStatus.connecting','FAILED','_initStatusComponent','RETRYING','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','113604iQuIfP','mcpConfig.note2','_apiKey$','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','mcpConfig.configInstructions','path','univer-text-gray-400','Invalid\x20configuration','on-line-icon_clip0_910_349','Enter\x20your\x20API\x20key','mcpConfig.configStep3','defs','mcpConfig.apiKeyPlaceholder','Close','colorChannel1','54zrzTWM','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mcpConfig.apiApplyInfo.univerAiLabel','mcpStatus.retrying','M5.21243\x2012.287L11.8791\x205.62036','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','_handleConfigSave','entries','Get\x20your\x20API\x20key\x20in\x20seconds','HEADER_MENU','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','idSuffix','get','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','close-small-single','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','OTHERS','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Disconnected','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.configStep1','error','url(#$1','mcpServerUrl','tag','UNAUTHORIZED','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','xlink:href','mcpConfig.save','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','mcp-ui.config','Click\x20to\x20connect\x20MCP','function','Connected','https://console.univer.plus','NETWORK_ERROR','12IGpdQA','removeItem','MAX_RETRIES_EXCEEDED','3842311dJbbQc','MCP\x20连接失败','0\x200\x2016\x2016','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','mcpConfig.apiKey','assign','registerCommand','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-items-start\x20univer-gap-3','会话\x20ID\x20已被占用,请稍后再试','extend','_localStorageService','Enable\x20Authentication','round','_registerComponent','_config$','children','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','1141416prpFei','_config','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Copy\x20the\x20JSON\x20configuration\x20below','univer-flex\x20univer-items-center\x20univer-gap-3','_initializeCommands','check-mark-icon','subscribe','配置保存失败','配置参数:','includes','MenuIcon','几秒钟内获取您的\x20API\x20密钥','_componentManager','univer-min-w-0\x20univer-flex-1','attrs','svg','_mcpConnectionController','mcpStatus.clickToConfigure','连接失败','配置步骤:','您的\x20API\x20密钥将在此浏览器中本地存储','univer-text-sm\x20univer-font-medium','重启您的\x20MCP\x20客户端以使配置生效','https://console.univer.ai','univer-flex-1','mcpConfig.connectionStatus.disconnected','getItem','value','840600cTtROz','indexOf','Configuration\x20Parameters:','MCP\x20Retrying...','_mcpCoreConfig$','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpConfig.title','API\x20密钥不能为空','mcpConfig.apiApplyInfo.description','getConfig','mcp-config-dialog','url(#on-line-icon_clip0_910_349)','disposeWithMe','__setCustomHeaders','getOwnPropertyDescriptor','univer-space-y-2','url(#off-line-icon_clip0_910_343)','_injector','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','symbol','_dialogService','_validateConfig','_blank','_loadStoredApiKey','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpConfig.configStep2','<API_KEY>','会话ID','MCP\x20重连中...','MCP:\x20Max\x20Retries\x20Exceeded','none','请输入您的\x20API\x20密钥','SESSION_ID_OCCUPIED','displayName','配置更改将立即生效','Error','white','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-text-red-500','univer-bg-green-500','API\x20密钥无效,请检查密钥是否正确','MCPConfigPanel','COMMAND','subscribeConfigValue$','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','Click\x20to\x20configure\x20MCP','MCP\x20Connection\x20Failed','clipPath','点击配置\x20MCP','univer-text-xs\x20univer-text-gray-600','MCP\x20连接中...','univer-mr-2\x20univer-flex\x20univer-text-xl','M5.21243\x205.62036L11.8791\x2012.287','mask','isValid','NONE','95bknvBi','_uiPartsService','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','CheckMarkIcon','getCurrentConfig','CONNECTING','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','warn','mcpConfig.connectionError.sessionOccupied','API\x20密钥长度至少需要\x2010\x20位','mcpStatus.connecting','mcp.apiKey','MCP\x20已断开','mcpConfig.validation.apiKeyRequired','showConfigPanel','mcpStatus.failed','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','未连接','mcpConfig.sessionIdDescription','_initializeMenus','_initAutoConnect','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','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','77sbRXTD','off-line-icon','has','connectionError$','mcpConfig.apiApplyInfo.getStarted','网络连接错误,请检查您的网络连接','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','use','mcpConfig.validation.invalidConfig','off-line-icon_clip0_910_343','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','setItem','call','权限验证失败,请检查您的\x20API\x20密钥','concat','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','点击连接\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-text-yellow-500','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_connectionController','univer-text-xs\x20univer-text-gray-500','close','http://www.w3.org/2000/svg','univer-text-sm\x20univer-text-gray-500','next','带有\x20Bearer\x20前缀的\x20API\x20密钥。','help-single','univer.plus','MCP:\x20Network\x20Error','_menuManagerService','apply','_commandService','getOwnPropertySymbols','univer-bg-red-500','mcp-ui.command.openConfigPanel','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_loading$','OnLineIcon','univer-space-y-5','Configuration\x20Steps:','Authorization:','defIds','current','Max\x20Retries','启用身份验证','MCP\x20Configuration','mcpConfig.connectionStatus.failed','mcpConfig.validation.invalidApiKey','span','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','currentColor','mcpConfig.description','\x20-\x20','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','Bearer\x20','onStarting','univer-bg-blue-500','connectionStatus$','univer-flex\x20univer-items-start\x20univer-gap-2','univer-text-green-500','8168xczAFr','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','length','MCP_UI_PLUGIN','MCP\x20Connected','univer-flex-shrink-0\x20univer-text-red-500','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','mcpConfig.apiApplyInfo.title','on-line-icon','Saving...','BUTTON','_handleConfigure','prototype','trim','enableAutoConnect','replace','mcpConfig.connectionStatus.connected','MCP\x20Client\x20Configuration','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','1em','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','map','mcpConfig.connectionStatus.retrying','连接中...','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.validation.apiKeyTooShort','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20配置','API\x20密钥','evenodd','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','apiKey','CONNECTED','sessionId$','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','_createConfigPanelComponent','_configService','0\x200\x2017\x2016','show','univer-space-y-3','2283594NgjZjF','univer-flex\x20univer-items-center\x20univer-gap-2','MCP:\x20未授权','univer-flex-shrink-0\x20univer-text-blue-500','javascript:void(0)','string','_initConfigSync','API\x20Key','MCP\x20Disconnected','toString','registerComponent','univer-text-white','className','showDeveloperTools','mergeMenu','配置保存成功','mcpConfig.configParameters','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','超出最大重试次数,请稍后再试','_logService','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','您的\x20API\x20密钥安全存储在本地存储中','MCP\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','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','Univer\x20AI\x20控制台','univer.ai','defineProperty','配置\x20MCP\x20使用\x20AI\x20操作电子表格','hasOwnProperty','substring','text','_localeService','mcpStatus.unauthorized','MCP\x20Connecting...','Retrying...','UniverIcon','10HTjHPP','univer-text-gray-500','div','135207jJnCap','MCP:\x20会话\x20ID\x20已被占用','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','fill','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','icon','MCP:\x20Session\x20ID\x20Occupied','_messageService','push','setConfig','mcpConfig.note1','pluginName'];_0x23e6=function(){return _0x463fe3;};return _0x23e6();}var Je={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5169db(0x1cb),'viewBox':_0x5169db(0x2dd),'width':_0x5169db(0x24f),'height':_0x5169db(0x24f)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x5169db(0x1fa),'fillRule':'evenodd','clipRule':_0x5169db(0x259)}}]},le=_0x4f8dfb(function(_0x5676c5,_0x50499a){var _0x360398=_0x5169db;return _0x47720d(w,Object['assign']({},_0x5676c5,{'id':_0x360398(0x2f4),'ref':_0x50499a,'icon':Je}));});le[_0x5169db(0x1ce)]=_0x5169db(0x1e8);var Qe={'tag':_0x5169db(0x2fe),'attrs':{'xmlns':_0x5169db(0x215),'fill':'none','viewBox':'0\x200\x2017\x2017','width':'1em','height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x5169db(0x232),'d':_0x5169db(0x1e1),'strokeLinecap':'round','strokeLinejoin':_0x5169db(0x2e9),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':_0x5169db(0x232),'d':_0x5169db(0x2b8),'strokeLinecap':'round','strokeLinejoin':_0x5169db(0x2e9),'strokeWidth':1.33}}]},ve=_0x4f8dfb(function(_0x15fbdb,_0x11818e){var _0xc218c2=_0x5169db;return _0x47720d(w,Object[_0xc218c2(0x2e0)]({},_0x15fbdb,{'id':_0xc218c2(0x2c2),'ref':_0x11818e,'icon':Qe}));});ve['displayName']='CloseSmallSingle';var en={'tag':'svg','attrs':{'xmlns':_0x5169db(0x215),'fill':_0x5169db(0x1cb),'viewBox':'0\x200\x2016\x2016','width':_0x5169db(0x24f),'height':_0x5169db(0x24f)},'children':[{'tag':'path','attrs':{'fill':_0x5169db(0x232),'d':_0x5169db(0x2ed)}},{'tag':_0x5169db(0x2aa),'attrs':{'fill':_0x5169db(0x232),'d':_0x5169db(0x242)}},{'tag':_0x5169db(0x2aa),'attrs':{'fill':'currentColor','d':_0x5169db(0x28e),'fillRule':_0x5169db(0x259),'clipRule':_0x5169db(0x259)}}]},de=_0x4f8dfb(function(_0x2443f9,_0x420de4){var _0x335466=_0x5169db;return _0x47720d(w,Object[_0x335466(0x2e0)]({},_0x2443f9,{'id':_0x335466(0x219),'ref':_0x420de4,'icon':en}));});de[_0x5169db(0x1ce)]='HelpSingle';var nn={'tag':_0x5169db(0x2fe),'attrs':{'xmlns':_0x5169db(0x215),'fill':_0x5169db(0x1cb),'viewBox':'0\x200\x2016\x2016','width':_0x5169db(0x24f),'height':_0x5169db(0x24f)},'children':[{'tag':'g','attrs':{'clipPath':_0x5169db(0x1bc)},'children':[{'tag':_0x5169db(0x2aa),'attrs':{'stroke':_0x5169db(0x232),'d':_0x5169db(0x1e7),'strokeLinecap':_0x5169db(0x2e9),'strokeLinejoin':_0x5169db(0x2e9),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5169db(0x1dc),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x5169db(0x2aa),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5169db(0x206)]},fe=_0x4f8dfb(function(_0x1adc2e,_0x250974){var _0x28f6d5=_0x5169db;return _0x47720d(w,Object[_0x28f6d5(0x2e0)]({},_0x1adc2e,{'id':_0x28f6d5(0x1fd),'ref':_0x250974,'icon':nn}));});fe[_0x5169db(0x1ce)]='OffLineIcon';var rn={'tag':_0x5169db(0x2fe),'attrs':{'xmlns':_0x5169db(0x215),'fill':'none','viewBox':_0x5169db(0x261),'width':_0x5169db(0x24f),'height':_0x5169db(0x24f)},'children':[{'tag':'g','attrs':{'clipPath':_0x5169db(0x1b7)},'children':[{'tag':_0x5169db(0x2aa),'attrs':{'stroke':_0x5169db(0x232),'d':_0x5169db(0x2be),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5169db(0x1dc),'attrs':{'id':_0x5169db(0x2ad)},'children':[{'tag':_0x5169db(0x2aa),'attrs':{'fill':_0x5169db(0x1d1),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},ge=_0x4f8dfb(function(_0x4e44f6,_0x525871){var _0x5cac0d=_0x5169db;return _0x47720d(w,Object[_0x5cac0d(0x2e0)]({},_0x4e44f6,{'id':_0x5cac0d(0x244),'ref':_0x525871,'icon':rn}));});ge[_0x5169db(0x1ce)]=_0x5169db(0x225);function tn(_0x2034bb){var _0x5e53c7=_0x5169db,_0x55e754,_0x2cdb05;const {mcpCoreConfig:_0x4872d6,onSave:_0x1fc41a,loading:_0xa5d1ad=!0x1,config:_0x31f1d9,connectionStatus$:_0x37da74,connectionError$:_0x2ddc6a,currentApiKey$:_0x439f7a,currentSessionId$:_0x2cbc6f}=_0x2034bb,_0x19093a=_0x3f5854(_0x4f4718),_0x380a6d=_0x15ca67(_0x37da74,_0x386ed5['DISCONNECTED']),_0x4f10ac=_0x15ca67(_0x2ddc6a,_0x4e873e[_0x5e53c7(0x1e4)]),_0x4a8b09=_0x15ca67(_0x2cbc6f,''),_0x5da30c=_0x15ca67(_0x439f7a,''),[_0x5da614,_0x163e9b]=_0x5d7e5e(_0x5da30c||''),_0x580caf=!0x0,_0x53ba76=_0x31f1d9['showDeveloperTools']&&_0x4872d6['mcpServerUrl']&&(_0x4872d6[_0x5e53c7(0x2cb)][_0x5e53c7(0x2f8)](_0x5e53c7(0x21a))||_0x4872d6['mcpServerUrl'][_0x5e53c7(0x2f8)](_0x5e53c7(0x27e))),_0x595013=(_0x55e754=_0x4872d6[_0x5e53c7(0x2cb)])==null?void 0x0:_0x55e754['includes']('univer.plus'),_0x28776c=(_0x2cdb05=_0x4872d6['mcpServerUrl'])==null?void 0x0:_0x2cdb05['includes'](_0x5e53c7(0x27e)),_0x48a33a=_0x595013?_0x5e53c7(0x2d6):_0x5e53c7(0x1a7),_0x5bc6d3=_0x31f1d9[_0x5e53c7(0x271)]&&(_0x595013||_0x28776c),[_0x233c60,_0x440314]=_0x5d7e5e(!_0x5da614[_0x5e53c7(0x249)]()),_0x82dbaa=(_0x220179,_0x5a3054)=>{var _0x1f64cc=_0x5e53c7;if(_0x5a3054===_0x4e873e['UNAUTHORIZED'])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x220179){case _0x386ed5[_0x1f64cc(0x25c)]:return _0x1f64cc(0x2b5);case _0x386ed5[_0x1f64cc(0x1ea)]:case _0x386ed5[_0x1f64cc(0x2a3)]:return _0x1f64cc(0x291);case _0x386ed5[_0x1f64cc(0x2a1)]:return _0x1f64cc(0x2d1);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x30ea24=(_0x59a506,_0x4a0853)=>{var _0x23bff9=_0x5e53c7;if(_0x4a0853===_0x4e873e[_0x23bff9(0x2cd)])return _0x23bff9(0x220);switch(_0x59a506){case _0x386ed5[_0x23bff9(0x25c)]:return _0x23bff9(0x1d4);case _0x386ed5['CONNECTING']:case _0x386ed5[_0x23bff9(0x2a3)]:return _0x23bff9(0x238);case _0x386ed5['FAILED']:return _0x23bff9(0x220);default:return'univer-bg-gray-500';}},_0x5689eb=_0x2a5368=>{var _0x4b0726=_0x5e53c7;switch(_0x2a5368){case _0x386ed5[_0x4b0726(0x25c)]:return _0x19093a['t'](_0x4b0726(0x24c));case _0x386ed5[_0x4b0726(0x1ea)]:return _0x19093a['t'](_0x4b0726(0x2a0));case _0x386ed5[_0x4b0726(0x2a1)]:return _0x19093a['t'](_0x4b0726(0x22e));case _0x386ed5[_0x4b0726(0x2a3)]:return _0x19093a['t'](_0x4b0726(0x252));default:return _0x19093a['t'](_0x4b0726(0x1a9));}},_0x3c835c=_0x359c01=>{var _0x41f159=_0x5e53c7;switch(_0x359c01){case _0x4e873e['UNAUTHORIZED']:return _0x19093a['t']('mcpConfig.connectionError.unauthorized');case _0x4e873e['SESSION_ID_OCCUPIED']:return _0x19093a['t'](_0x41f159(0x1ed));case _0x4e873e['NETWORK_ERROR']:return _0x19093a['t'](_0x41f159(0x29a));case _0x4e873e[_0x41f159(0x2da)]:return _0x19093a['t'](_0x41f159(0x2c7));default:return'';}},_0x53c8a8=_0x30b2c7(()=>{var _0x4ac83c=_0x5e53c7;const _0x18f307={..._0x4872d6,'apiKey':_0x5da614[_0x4ac83c(0x249)](),'enableAuth':_0x580caf};_0x1fc41a(_0x18f307);},[_0x4872d6,_0x5da614,_0x580caf,_0x1fc41a]),_0x580c31=_0x5da614[_0x5e53c7(0x249)]()['length']>0x0;return _0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x2b9),'children':[_0x575de2(_0x5e53c7(0x28b),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x5710b0('div',{'className':_0x5e53c7(0x2f2),'children':[_0x575de2(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x25e),'children':_0x575de2(_0x5e53c7(0x230),{'className':_0x5e53c7(0x26f),'children':'⚙'})}),_0x575de2(_0x5e53c7(0x28b),{'children':_0x575de2('p',{'className':_0x5e53c7(0x216),'children':_0x19093a['t'](_0x5e53c7(0x233))})})]})}),_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x20d),'children':[_0x575de2(_0x5e53c7(0x28b),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x82dbaa(_0x380a6d,_0x4f10ac)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x265),'children':[_0x575de2(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x1f5)+_0x30ea24(_0x380a6d,_0x4f10ac)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'}),_0x575de2(_0x5e53c7(0x230),{'className':_0x5e53c7(0x1a5),'children':_0x5689eb(_0x380a6d)})]})}),_0x4f10ac!==_0x4e873e[_0x5e53c7(0x1e4)]&&(_0x380a6d===_0x386ed5[_0x5e53c7(0x2a1)]||_0x4f10ac===_0x4e873e[_0x5e53c7(0x2cd)])&&_0x575de2(_0x5e53c7(0x28b),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x23a),'children':[_0x575de2(_0x5e53c7(0x230),{'className':_0x5e53c7(0x241),'children':'⚠️'}),_0x575de2('p',{'className':_0x5e53c7(0x1d9),'children':_0x3c835c(_0x4f10ac)})]})})]}),_0x575de2('div',{'className':_0x5e53c7(0x203),'children':_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x226),'children':[_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x1bb),'children':[_0x5710b0('label',{'className':_0x5e53c7(0x25a),'children':[_0x575de2(_0x5e53c7(0x230),{'children':'🔑'}),'\x20',_0x19093a['t'](_0x5e53c7(0x2df)),_0x575de2(_0x5e53c7(0x230),{'className':_0x5e53c7(0x1d3),'children':'*'}),_0x53ba76&&_0x575de2('a',{'href':'javascript:void(0)','onClick':()=>_0x440314(!0x0),'className':_0x5e53c7(0x2de),'title':_0x19093a['t'](_0x5e53c7(0x243)),'children':_0x575de2(de,{})})]}),_0x575de2(_0x430dc6,{'type':_0x5e53c7(0x283),'placeholder':_0x19093a['t'](_0x5e53c7(0x2b1)),'value':_0x5da614,'onChange':_0x163e9b,'disabled':_0xa5d1ad,'autoComplete':'off'}),_0x575de2('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x19093a['t']('mcpConfig.apiKeyHint')})]}),_0x53ba76&&_0x233c60&&_0x5710b0('div',{'className':_0x5e53c7(0x2ce),'children':[_0x575de2('a',{'href':_0x5e53c7(0x268),'onClick':()=>_0x440314(!0x1),'className':_0x5e53c7(0x207),'title':_0x5e53c7(0x2b2),'children':_0x575de2(ve,{})}),_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x2a8),'children':[_0x575de2(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x2c3),'children':_0x575de2(_0x5e53c7(0x230),{'className':'univer-text-blue-600','children':'🚀'})}),_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x1a8),'children':[_0x575de2('h4',{'className':_0x5e53c7(0x2f0),'children':_0x19093a['t']('mcpConfig.apiApplyInfo.title')}),_0x575de2('p',{'className':_0x5e53c7(0x2e3),'children':_0x19093a['t'](_0x5e53c7(0x1b4))}),_0x575de2(_0x5e53c7(0x28b),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x5bc6d3&&_0x5710b0('a',{'href':_0x48a33a,'target':_0x5e53c7(0x1c2),'rel':'noopener\x20noreferrer','className':_0x5e53c7(0x27b),'children':[_0x575de2(_0x5e53c7(0x230),{'children':'🤖'}),_0x19093a['t'](_0x5e53c7(0x2b6)),_0x575de2('span',{'className':_0x5e53c7(0x2ab),'children':'↗'})]})}),_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x1b1),'children':['✨','\x20',_0x19093a['t'](_0x5e53c7(0x200))]})]})]})]}),_0x31f1d9[_0x5e53c7(0x271)]&&_0x5710b0('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x5710b0('h4',{'className':_0x5e53c7(0x211),'children':[_0x575de2('span',{'children':'🔗'}),'\x20',_0x19093a['t']('mcpConfig.connectionInfo')]}),_0x5710b0(_0x5e53c7(0x28b),{'className':'univer-space-y-4','children':[_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x263),'children':[_0x575de2('p',{'className':_0x5e53c7(0x1de),'children':_0x19093a['t'](_0x5e53c7(0x2a9))}),_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x1bb),'children':[_0x575de2(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x254),'children':_0x19093a['t']('mcpConfig.configStepTitle')}),_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x235),'children':[_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x265),'children':[_0x575de2(_0x5e53c7(0x230),{'className':_0x5e53c7(0x202),'children':'1'}),_0x19093a['t'](_0x5e53c7(0x2c8))]}),_0x5710b0('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x575de2(_0x5e53c7(0x230),{'className':'univer-flex\x20univer-h-4\x20univer-w-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'}),_0x19093a['t'](_0x5e53c7(0x1c6))]}),_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x265),'children':[_0x575de2(_0x5e53c7(0x230),{'className':_0x5e53c7(0x202),'children':'3'}),_0x19093a['t'](_0x5e53c7(0x2af))]})]})]})]}),_0x5710b0('div',{'className':_0x5e53c7(0x1bb),'children':[_0x575de2(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x254),'children':_0x5e53c7(0x22d)}),_0x575de2(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x24e),'children':_0x575de2('pre',{'className':_0x5e53c7(0x29b),'children':'{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id='+_0x4a8b09+_0x5e53c7(0x2a4)+(_0x5da614||_0x5e53c7(0x1c7))+_0x5e53c7(0x23d)})})]}),_0x5710b0('div',{'className':'univer-space-y-3','children':[_0x575de2('div',{'className':_0x5e53c7(0x254),'children':_0x19093a['t'](_0x5e53c7(0x274))}),_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x1bb),'children':[_0x5710b0(_0x5e53c7(0x28b),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x575de2(_0x5e53c7(0x28b),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x5710b0('div',{'className':_0x5e53c7(0x2fc),'children':[_0x575de2(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x2c1),'children':'univer_session_id:'}),_0x575de2('div',{'className':_0x5e53c7(0x213),'children':_0x19093a['t'](_0x5e53c7(0x1f7))})]})]}),_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x2e4),'children':[_0x575de2('div',{'className':_0x5e53c7(0x1c5)}),_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x2fc),'children':[_0x575de2(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x2c1),'children':_0x5e53c7(0x228)}),_0x575de2(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x213),'children':_0x19093a['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x575de2(_0x3b7201,{'onClick':_0x53c8a8,'disabled':!_0x580c31||_0xa5d1ad,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0xa5d1ad?_0x5710b0(_0x5e53c7(0x230),{'className':_0x5e53c7(0x265),'children':[_0x575de2(_0x5e53c7(0x230),{'children':'⟲'}),_0x19093a['t']('mcpConfig.saving')]}):_0x5710b0(_0x5e53c7(0x230),{'className':_0x5e53c7(0x265),'children':[_0x575de2(le,{}),_0x19093a['t'](_0x5e53c7(0x2d0))]})}),_0x575de2('div',{'className':_0x5e53c7(0x1eb),'children':_0x5710b0('div',{'className':'univer-flex\x20univer-gap-3','children':[_0x575de2(_0x5e53c7(0x230),{'className':_0x5e53c7(0x267),'children':'💡'}),_0x5710b0(_0x5e53c7(0x28b),{'className':_0x5e53c7(0x27c),'children':[_0x575de2(_0x5e53c7(0x28b),{'className':'univer-font-medium','children':'Configuration\x20Notes:'}),_0x5710b0(_0x5e53c7(0x28b),{'children':['•',_0x19093a['t'](_0x5e53c7(0x297))]}),_0x5710b0(_0x5e53c7(0x28b),{'children':['•',_0x19093a['t'](_0x5e53c7(0x2a6))]})]})]})})]})})]});}const x=_0x5169db(0x2d2),re={'showDeveloperTools':!0x1,'showStatus':!0x0};var on=Object[_0x5169db(0x1ba)],sn=(_0x435d58,_0x25a78c,_0x3cd284,_0x291c37)=>{var _0x48c785=_0x5169db;for(var _0x255b72=_0x291c37>0x1?void 0x0:_0x291c37?on(_0x25a78c,_0x3cd284):_0x25a78c,_0x4d01ae=_0x435d58[_0x48c785(0x23e)]-0x1,_0x5c6ee7;_0x4d01ae>=0x0;_0x4d01ae--)(_0x5c6ee7=_0x435d58[_0x4d01ae])&&(_0x255b72=_0x5c6ee7(_0x255b72)||_0x255b72);return _0x255b72;},g=(_0x3aa3be,_0x3660f7)=>(_0x1ef2d5,_0x421301)=>_0x3660f7(_0x1ef2d5,_0x421301,_0x3aa3be);const j=_0x5169db(0x1f0),U=_0x5169db(0x1b6);let I=class extends _0x3dde06{constructor(_0x59c8b7,_0x3f1158,_0x58e0a6,_0x354a3a,_0x41ef37,_0x65d30c,_0x4c82a0,_0x4c300e,_0x1e20fc,_0x636d79){var _0x40bfa3=_0x5169db;super(),S(this,_0x40bfa3(0x224),new _0x1434d3(!0x1)),S(this,_0x40bfa3(0x1b0),new _0x1434d3({})),S(this,_0x40bfa3(0x2eb),new _0x1434d3({})),S(this,_0x40bfa3(0x2a7),new _0x1434d3('')),S(this,'_handleConfigSave',async _0x43544b=>{var _0x24713f=_0x40bfa3,_0xb57237,_0x20833b;this[_0x24713f(0x224)][_0x24713f(0x217)](!0x0);try{const _0x51465a=await this[_0x24713f(0x1c1)](_0x43544b);if(!_0x51465a[_0x24713f(0x1e3)]){this[_0x24713f(0x294)][_0x24713f(0x262)]({'type':_0x2465ca['Error'],'content':_0x51465a['errorMessage']||this[_0x24713f(0x284)]['t'](_0x24713f(0x205))});return;}_0x43544b[_0x24713f(0x25b)]?await this[_0x24713f(0x2e7)][_0x24713f(0x209)](j,_0x43544b[_0x24713f(0x25b)][_0x24713f(0x249)]()):await this[_0x24713f(0x2e7)][_0x24713f(0x2d9)](j),this[_0x24713f(0x2a7)][_0x24713f(0x217)](((_0xb57237=_0x43544b[_0x24713f(0x25b)])==null?void 0x0:_0xb57237['trim']())||''),this[_0x24713f(0x2ff)][_0x24713f(0x1b9)]({'Authorization':_0x24713f(0x236)+((_0x20833b=_0x43544b[_0x24713f(0x25b)])==null?void 0x0:_0x20833b[_0x24713f(0x249)]())}),this['_messageService'][_0x24713f(0x262)]({'type':_0x2465ca['Success'],'content':this['_localeService']['t']('mcpConfig.configSaved')}),setTimeout(()=>{var _0x9ce532=_0x24713f;this[_0x9ce532(0x1c0)][_0x9ce532(0x214)](U);},0x320);}catch(_0x5514f3){this['_logService'][_0x24713f(0x2c9)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x5514f3),this[_0x24713f(0x294)][_0x24713f(0x262)]({'type':_0x2465ca[_0x24713f(0x1d0)],'content':this[_0x24713f(0x284)]['t']('mcpConfig.configError')});}finally{this[_0x24713f(0x224)][_0x24713f(0x217)](!0x1);}}),(this[_0x40bfa3(0x1bd)]=_0x59c8b7,this[_0x40bfa3(0x1e6)]=_0x3f1158,this[_0x40bfa3(0x260)]=_0x58e0a6,this[_0x40bfa3(0x2e7)]=_0x354a3a,this[_0x40bfa3(0x1c0)]=_0x41ef37,this[_0x40bfa3(0x294)]=_0x65d30c,this[_0x40bfa3(0x2fb)]=_0x4c82a0,this[_0x40bfa3(0x284)]=_0x4c300e,this[_0x40bfa3(0x277)]=_0x1e20fc,this['_mcpConnectionController']=_0x636d79,this['_initConfigSync'](),this[_0x40bfa3(0x1c3)](),this[_0x40bfa3(0x2ea)]());}['showConfigPanel'](){var _0x10f61a=_0x5169db;const _0x51975d=this[_0x10f61a(0x260)]['getConfig'](x);_0x51975d!=null&&_0x51975d['showDeveloperTools']&&this[_0x10f61a(0x1c0)]['open']({'id':U,'title':{'title':this[_0x10f61a(0x284)]['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x29ff54=_0x10f61a;this[_0x29ff54(0x1c0)]['close'](U);}});}[_0x5169db(0x1e9)](){var _0x1e541d=_0x5169db;return this[_0x1e541d(0x1b0)][_0x1e541d(0x1ab)];}[_0x5169db(0x2ea)](){var _0x50c5d8=_0x5169db;this[_0x50c5d8(0x1b8)](this[_0x50c5d8(0x2fb)]['register'](_0x50c5d8(0x1d6),this['_createConfigPanelComponent']()));}[_0x5169db(0x25f)](){var _0x53e0bf=_0x5169db;return _0x23400d(()=>{var _0x24e852=_0x5e17,_0x33dcfc,_0xafd497,_0x26a6f2;return _0x575de2(tn,{'config':this[_0x24e852(0x2eb)][_0x24e852(0x1ab)],'mcpCoreConfig':this[_0x24e852(0x1b0)][_0x24e852(0x1ab)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x24e852(0x2ba)],'loading':this[_0x24e852(0x224)][_0x24e852(0x1ab)],'connectionStatus$':(_0x33dcfc=this['_mcpConnectionController'])==null?void 0x0:_0x33dcfc[_0x24e852(0x239)],'connectionError$':(_0xafd497=this[_0x24e852(0x2ff)])==null?void 0x0:_0xafd497['connectionError$'],'currentSessionId$':(_0x26a6f2=this[_0x24e852(0x2ff)])==null?void 0x0:_0x26a6f2[_0x24e852(0x25d)]});},this[_0x53e0bf(0x1bd)]);}[_0x5169db(0x26a)](){var _0x39c895=_0x5169db;this[_0x39c895(0x1b8)](this[_0x39c895(0x260)][_0x39c895(0x1d8)](_0x457454)[_0x39c895(0x2f5)](_0x1e07fc=>{var _0x13a208=_0x39c895;this[_0x13a208(0x1b0)][_0x13a208(0x217)](_0x1e07fc||{});}));const _0xefd604=this[_0x39c895(0x260)]['getConfig'](_0x457454);this[_0x39c895(0x1b0)][_0x39c895(0x217)](_0xefd604||{}),this[_0x39c895(0x1b8)](this[_0x39c895(0x260)]['subscribeConfigValue$'](x)['subscribe'](_0x5681a0=>{var _0x507ace=_0x39c895;this[_0x507ace(0x2eb)][_0x507ace(0x217)](_0x5681a0||{});}));const _0x300936=this['_configService'][_0x39c895(0x1b5)](x);this[_0x39c895(0x2eb)]['next'](_0x300936||{});}async['_loadStoredApiKey'](){var _0x5e1aaa=_0x5169db;const _0x4360c6=this[_0x5e1aaa(0x260)][_0x5e1aaa(0x1b5)](x);if(!(_0x4360c6!=null&&_0x4360c6[_0x5e1aaa(0x271)]))return;const _0x2c1c5d=await this['_localStorageService'][_0x5e1aaa(0x1aa)](j);_0x2c1c5d&&(this['_mcpConnectionController'][_0x5e1aaa(0x1b9)]({'Authorization':_0x5e1aaa(0x236)+_0x2c1c5d}),this[_0x5e1aaa(0x2a7)]['next'](_0x2c1c5d));}async['_validateConfig'](_0x3a56a8){var _0x5d02b6=_0x5169db;if(!_0x3a56a8[_0x5d02b6(0x25b)]||_0x3a56a8[_0x5d02b6(0x25b)][_0x5d02b6(0x249)]()[_0x5d02b6(0x23e)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5d02b6(0x284)]['t'](_0x5d02b6(0x1f2))};if(_0x3a56a8[_0x5d02b6(0x25b)][_0x5d02b6(0x249)]()[_0x5d02b6(0x23e)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x5d02b6(0x284)]['t'](_0x5d02b6(0x255))};try{const _0xe96621=await this[_0x5d02b6(0x1bd)][_0x5d02b6(0x2c0)](_0x27fb1b)['validateApiKey'](_0x3a56a8[_0x5d02b6(0x25b)][_0x5d02b6(0x249)]());return _0xe96621[_0x5d02b6(0x1e3)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0xe96621[_0x5d02b6(0x2c9)]||this[_0x5d02b6(0x284)]['t'](_0x5d02b6(0x22f))};}catch(_0x3577cf){return console[_0x5d02b6(0x1ec)](_0x5d02b6(0x1c4),_0x3577cf),{'isValid':!0x0};}}};I=sn([g(0x0,_0x236043(_0x582310)),g(0x1,_0x1711f6),g(0x2,_0x3a4bae),g(0x3,_0x51515e),g(0x4,_0x499b1d),g(0x5,_0xdc7f2d),g(0x6,_0x236043(_0x43e4c3)),g(0x7,_0x236043(_0x4f4718)),g(0x8,_0x36ee80),g(0x9,_0x236043(_0x27fb1b))],I);const V={'id':_0x5169db(0x221),'type':_0x42ca93[_0x5169db(0x1d7)],'handler':async(_0x7ce2be,_0x4904de)=>(_0x7ce2be[_0x5169db(0x2c0)](I)['showConfigPanel'](),!0x0)};function pe(_0x3adf0b,_0x51e863){var _0x5d2210=_0x5169db;switch(_0x3adf0b){case _0x386ed5[_0x5d2210(0x299)]:return'mcpStatus.disconnected';case _0x386ed5[_0x5d2210(0x1ea)]:return _0x5d2210(0x1ef);case _0x386ed5[_0x5d2210(0x25c)]:return'mcpStatus.connected';case _0x386ed5[_0x5d2210(0x2a1)]:switch(_0x51e863){case _0x4e873e[_0x5d2210(0x2cd)]:return _0x5d2210(0x285);case _0x4e873e[_0x5d2210(0x1cd)]:return'mcpStatus.sessionOccupied';case _0x4e873e[_0x5d2210(0x2d7)]:return'mcpStatus.networkError';case _0x4e873e[_0x5d2210(0x2da)]:return'mcpStatus.maxRetriesExceeded';default:return _0x5d2210(0x1f4);}case _0x386ed5[_0x5d2210(0x2a3)]:return _0x5d2210(0x2b7);default:return'mcpStatus.unknown';}}function cn(_0x5d1440,_0x46c065,_0x1245ee,_0x57f7c0=!0x0){var _0x12581e=_0x5169db;const _0x1ed301=pe(_0x5d1440,_0x46c065),_0x5c011e=_0x1245ee['t'](_0x1ed301);return _0x57f7c0?_0x5d1440===_0x386ed5[_0x12581e(0x299)]&&_0x46c065===_0x4e873e[_0x12581e(0x2cd)]?_0x5c011e+_0x12581e(0x234)+_0x1245ee['t'](_0x12581e(0x1a1)):_0x5d1440===_0x386ed5[_0x12581e(0x25c)]?''+_0x5c011e:_0x5d1440===_0x386ed5[_0x12581e(0x299)]||_0x5d1440===_0x386ed5[_0x12581e(0x2a1)]?_0x5c011e+_0x12581e(0x234)+_0x1245ee['t'](_0x12581e(0x29c)):_0x5c011e:_0x5c011e;}function an(_0x2be353){var _0x575cda=_0x5169db;switch(_0x2be353){case _0x386ed5[_0x575cda(0x25c)]:return _0x575cda(0x23b);case _0x386ed5['CONNECTING']:case _0x386ed5[_0x575cda(0x2a3)]:return _0x575cda(0x210);case _0x386ed5['FAILED']:case _0x386ed5['DISCONNECTED']:return'univer-text-red-500';default:return _0x575cda(0x28a);}}function un(_0x56e197){var _0x43cc13=_0x5169db;const {status$:_0x3330c4,error$:_0x491d84,onConfigure:_0x3d3920,showClickable:_0x43a7e7=!0x0}=_0x56e197,_0x1da5ab=_0x15ca67(_0x3330c4,_0x386ed5[_0x43cc13(0x299)]),_0x5770c3=_0x15ca67(_0x491d84,_0x4e873e[_0x43cc13(0x1e4)]),_0x554d91=_0x3f5854(_0x4f4718),_0x4596f6=_0x1da5ab===_0x386ed5[_0x43cc13(0x25c)];_0x1da5ab===_0x386ed5[_0x43cc13(0x1ea)]||_0x386ed5[_0x43cc13(0x2a3)];const _0x3b7c41=_0x554d91['t'](pe(_0x1da5ab,_0x5770c3)),_0x3a2910=cn(_0x1da5ab,_0x5770c3,_0x554d91,_0x43a7e7),_0x2ee5fa=an(_0x1da5ab),_0x53f942=_0x4596f6?_0x575de2(ge,{}):_0x575de2(fe,{}),_0x31616a=_0x30b2c7(()=>{_0x43a7e7&&_0x3d3920&&_0x3d3920();},[_0x43a7e7,_0x3d3920]);function _0x40d69d(){var _0x5db606=_0x43cc13;return _0x5710b0(_0x5db606(0x28b),{'className':_0x3a7b1a('univer-flex\x20univer-items-center',_0x43a7e7&&_0x3d3920&&'\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'),'onClick':_0x43a7e7&&_0x3d3920?_0x31616a:void 0x0,'children':[_0x575de2(_0x5db606(0x28b),{'className':_0x3a7b1a(_0x5db606(0x1e0),_0x2ee5fa),'children':_0x53f942}),_0x575de2(_0x5db606(0x28b),{'className':_0x5db606(0x29f),'children':_0x3b7c41})]});}return _0x575de2(_0x7daf80,{'title':_0x3a2910,'placement':'bottom','children':_0x40d69d()});}function _0x5e17(_0x482276,_0x23752d){var _0x23e62f=_0x23e6();return _0x5e17=function(_0x5e17ff,_0x4cf208){_0x5e17ff=_0x5e17ff-0x1a1;var _0x3458fc=_0x23e62f[_0x5e17ff];return _0x3458fc;},_0x5e17(_0x482276,_0x23752d);}var ln=Object[_0x5169db(0x1ba)],vn=(_0x2e8f00,_0x4555bc,_0x6a5504,_0x4fd7ec)=>{var _0xeef6de=_0x5169db;for(var _0x472f90=_0x4fd7ec>0x1?void 0x0:_0x4fd7ec?ln(_0x4555bc,_0x6a5504):_0x4555bc,_0x5106d4=_0x2e8f00[_0xeef6de(0x23e)]-0x1,_0x5124aa;_0x5106d4>=0x0;_0x5106d4--)(_0x5124aa=_0x2e8f00[_0x5106d4])&&(_0x472f90=_0x5124aa(_0x472f90)||_0x472f90);return _0x472f90;},A=(_0xe791b7,_0x176406)=>(_0x4233f7,_0x5ea39f)=>_0x176406(_0x4233f7,_0x5ea39f,_0xe791b7);let O=class extends _0x3dde06{constructor(_0x3af008,_0xed81a5,_0x13c1d4,_0x3f6322){var _0x238816=_0x5169db;super(),this[_0x238816(0x1bd)]=_0x3af008,this[_0x238816(0x212)]=_0xed81a5,this[_0x238816(0x1e6)]=_0x13c1d4,this[_0x238816(0x260)]=_0x3f6322,this['_initAutoConnect'](),this['_initStatusComponent']();}[_0x5169db(0x1f9)](){var _0x3f16ee=_0x5169db;const _0xf02e32=this[_0x3f16ee(0x260)][_0x3f16ee(0x1b5)](x);_0xf02e32!=null&&_0xf02e32['showDeveloperTools']&&(this['_connectionController'][_0x3f16ee(0x24a)]=!0x1);}[_0x5169db(0x2a2)](){var _0x47c5d6=_0x5169db;const _0x363124=this[_0x47c5d6(0x260)][_0x47c5d6(0x1b5)](x);(_0x363124==null?void 0x0:_0x363124['showStatus'])!==!0x1&&this['disposeWithMe'](this['_uiPartsService'][_0x47c5d6(0x26e)](_0x906c3b[_0x47c5d6(0x2bd)],()=>{var _0x58d7ba=_0x47c5d6,_0x2b5aa1;return _0x23400d(dn({'status$':this[_0x58d7ba(0x212)][_0x58d7ba(0x239)],'error$':this['_connectionController'][_0x58d7ba(0x1ff)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x2b5aa1=_0x363124==null?void 0x0:_0x363124[_0x58d7ba(0x271)])!=null?_0x2b5aa1:!0x1}),this[_0x58d7ba(0x1bd)]);}));}[_0x5169db(0x247)](){var _0x332aec=_0x5169db;this[_0x332aec(0x1bd)]['get'](I)[_0x332aec(0x1f3)]();}};O=vn([A(0x0,_0x236043(_0x582310)),A(0x1,_0x236043(_0x27fb1b)),A(0x2,_0x1711f6),A(0x3,_0x3a4bae)],O);function dn(_0x19e388){const {status$:_0x26f485,error$:_0x216c85,onConfigure:_0x319cf9,showClickable:_0x30e02a}=_0x19e388;return function(){return _0x575de2(un,{'status$':_0x26f485,'error$':_0x216c85,'onConfigure':_0x319cf9,'showClickable':_0x30e02a});};}function fn(_0x3180d4){var _0x47e93f=_0x5169db;return{'id':V['id'],'type':_0x515621[_0x47e93f(0x246)],'icon':_0x47e93f(0x2f9),'title':_0x47e93f(0x1b2),'tooltip':_0x47e93f(0x1b2)};}const gn={[_0x173307[_0x5169db(0x2c4)]]:{[V['id']]:{'order':0xa,'menuItemFactory':fn}}};var pn=Object[_0x5169db(0x1ba)],hn=(_0x32b437,_0x3ccaf8,_0x22bd04,_0xa0e8e5)=>{var _0x5c0ab8=_0x5169db;for(var _0x473660=_0xa0e8e5>0x1?void 0x0:_0xa0e8e5?pn(_0x3ccaf8,_0x22bd04):_0x3ccaf8,_0x17a91c=_0x32b437[_0x5c0ab8(0x23e)]-0x1,_0xd6520e;_0x17a91c>=0x0;_0x17a91c--)(_0xd6520e=_0x32b437[_0x17a91c])&&(_0x473660=_0xd6520e(_0x473660)||_0x473660);return _0x473660;},te=(_0x2cb64d,_0x298314)=>(_0xf9ad2a,_0x3e29a5)=>_0x298314(_0xf9ad2a,_0x3e29a5,_0x2cb64d);let k=class extends _0x3dde06{constructor(_0x1b8e64,_0x1f3498){var _0x112c97=_0x5169db;super(),this['_commandService']=_0x1b8e64,this[_0x112c97(0x21c)]=_0x1f3498,this['_initializeCommands'](),this[_0x112c97(0x1f8)]();}[_0x5169db(0x2f3)](){[V]['forEach'](_0x51fb7a=>{var _0x2b10b5=_0x5e17;this[_0x2b10b5(0x1b8)](this[_0x2b10b5(0x21e)][_0x2b10b5(0x2e1)](_0x51fb7a));});}[_0x5169db(0x1f8)](){var _0x1948e3=_0x5169db;this['_menuManagerService'][_0x1948e3(0x272)](gn);}};k=hn([te(0x0,_0x39e99e),te(0x1,_0x5a4a7b)],k);const On={'mcpStatus':{'disconnected':_0x5169db(0x26c),'connecting':_0x5169db(0x286),'connected':_0x5169db(0x240),'failed':_0x5169db(0x1db),'retrying':_0x5169db(0x1af),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x5169db(0x293),'networkError':_0x5169db(0x21b),'maxRetriesExceeded':_0x5169db(0x1ca),'clickToConnect':_0x5169db(0x2d3),'clickToConfigure':_0x5169db(0x1da)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x5169db(0x250),'apiKey':_0x5169db(0x26b),'apiKeyPlaceholder':_0x5169db(0x2ae),'apiKeyHint':_0x5169db(0x256),'enableAuth':_0x5169db(0x2e8),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5169db(0x24d),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x5169db(0x20f),'configStepTitle':_0x5169db(0x227),'configStep1':_0x5169db(0x2f1),'configStep2':_0x5169db(0x223),'configStep3':_0x5169db(0x231),'sessionId':'Session\x20ID','sessionIdDescription':_0x5169db(0x290),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x5169db(0x1ae),'maxRetries':_0x5169db(0x22b),'save':'Save\x20Configuration','saving':_0x5169db(0x245),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x5169db(0x29d),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5169db(0x2e2),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x5169db(0x2bc)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5169db(0x222),'invalidConfig':_0x5169db(0x2ac),'invalidApiKey':_0x5169db(0x275)},'connectionStatus':{'disconnected':_0x5169db(0x2c6),'connecting':'Connecting...','connected':_0x5169db(0x2d5),'failed':'Connection\x20Failed','retrying':_0x5169db(0x287)},'connectionError':{'unauthorized':_0x5169db(0x1fb),'sessionOccupied':_0x5169db(0x1be),'networkError':_0x5169db(0x208),'maxRetriesExceeded':_0x5169db(0x1d2)}}},kn={'mcpStatus':{'disconnected':_0x5169db(0x1f1),'connecting':_0x5169db(0x1df),'connected':'MCP\x20已连接','failed':_0x5169db(0x2dc),'retrying':_0x5169db(0x1c9),'unknown':_0x5169db(0x27a),'unauthorized':_0x5169db(0x266),'sessionOccupied':_0x5169db(0x28d),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x5169db(0x20e),'clickToConfigure':_0x5169db(0x1dd)},'mcpConfig':{'title':_0x5169db(0x257),'description':_0x5169db(0x280),'apiKey':_0x5169db(0x258),'apiKeyPlaceholder':_0x5169db(0x1cc),'apiKeyHint':_0x5169db(0x1a4),'enableAuth':_0x5169db(0x22c),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x5169db(0x29e),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x5169db(0x1a3),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x5169db(0x1a6),'sessionId':_0x5169db(0x1c8),'sessionIdDescription':_0x5169db(0x278),'authorizationDescription':_0x5169db(0x218),'configParameters':_0x5169db(0x2f7),'maxRetries':'最大重试次数','save':'保存配置','saving':'保存中...','note1':_0x5169db(0x1cf),'note2':_0x5169db(0x279),'configSaved':_0x5169db(0x273),'configError':_0x5169db(0x2f6),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x5169db(0x2c5),'univerAiLabel':_0x5169db(0x27d),'getStarted':_0x5169db(0x2fa)},'validation':{'apiKeyRequired':_0x5169db(0x1b3),'apiKeyTooShort':_0x5169db(0x1ee),'invalidConfig':'配置无效','invalidApiKey':_0x5169db(0x1d5)},'connectionStatus':{'disconnected':_0x5169db(0x1f6),'connecting':_0x5169db(0x253),'connected':'已连接','failed':_0x5169db(0x1a2),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x5169db(0x20b),'sessionOccupied':_0x5169db(0x2e5),'networkError':_0x5169db(0x201),'maxRetriesExceeded':_0x5169db(0x276)}}};var mn=Object[_0x5169db(0x27f)],Cn=Object[_0x5169db(0x1ba)],yn=(_0x200bd4,_0x3643d9,_0x5e7674)=>_0x3643d9 in _0x200bd4?mn(_0x200bd4,_0x3643d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e7674}):_0x200bd4[_0x3643d9]=_0x5e7674,_n=(_0x3aca8d,_0x2f3ec4,_0x1a0d27,_0x75ddf4)=>{var _0x190770=_0x5169db;for(var _0x38dbc7=_0x75ddf4>0x1?void 0x0:_0x75ddf4?Cn(_0x2f3ec4,_0x1a0d27):_0x2f3ec4,_0x3ce2f1=_0x3aca8d[_0x190770(0x23e)]-0x1,_0x1f9239;_0x3ce2f1>=0x0;_0x3ce2f1--)(_0x1f9239=_0x3aca8d[_0x3ce2f1])&&(_0x38dbc7=_0x1f9239(_0x38dbc7)||_0x38dbc7);return _0x38dbc7;},E=(_0x3871dd,_0x3795c5)=>(_0x5c6f3d,_0x3b5a4c)=>_0x3795c5(_0x5c6f3d,_0x3b5a4c,_0x3871dd),xn=(_0xa2d268,_0x33969b,_0x38e68f)=>yn(_0xa2d268,_0x33969b+'',_0x38e68f);let L=class extends _0x304d6d{constructor(_0x360f24=re,_0x4a9410,_0x2a4b03,_0x23739b,_0x4981bc,_0x23e69e){var _0x13d868=_0x5169db;super(),this[_0x13d868(0x2ef)]=_0x360f24,this['_injector']=_0x4a9410,this[_0x13d868(0x260)]=_0x2a4b03,this['_uiPartsService']=_0x23739b,this['_localStorageService']=_0x4981bc,this[_0x13d868(0x284)]=_0x23e69e;const {..._0x1323a2}=_0x1ce813({},re,this['_config']);this[_0x13d868(0x260)][_0x13d868(0x296)](x,_0x1323a2);}async[_0x5169db(0x237)](){var _0x2d83d0=_0x5169db;const _0x3a555a=[[O],[I],[k]];this[_0x2d83d0(0x1bd)][_0x2d83d0(0x1fe)](_0x4a4ff2)||_0x3a555a[_0x2d83d0(0x295)]([_0x4a4ff2,{'useClass':_0x1f9c88}]),_0x3a555a['forEach'](_0x32d30c=>this[_0x2d83d0(0x1bd)]['add'](_0x32d30c)),this[_0x2d83d0(0x1bd)][_0x2d83d0(0x2c0)](O),this[_0x2d83d0(0x1bd)][_0x2d83d0(0x2c0)](I),this[_0x2d83d0(0x1bd)]['get'](k);}};xn(L,_0x5169db(0x298),_0x5169db(0x23f)),L=_n([_0x37ecd6(_0x20d2ba),E(0x1,_0x236043(_0x582310)),E(0x2,_0x3a4bae),E(0x3,_0x1711f6),E(0x4,_0x51515e),E(0x5,_0x236043(_0x4f4718))],L);export{tn as MCPConfigPanel,I as MCPConfigUIController,O as MCPConnectionUIController,un as MCPStatusDisplay,k as MCPUIMenuController,V as OpenMCPConfigPanelCommand,L as UniverMCPUIPlugin,On as enUS,kn as zhCN};
1
+ var _0x23152a=_0x5160;(function(_0x4f67c5,_0x3f4912){var _0x16d57b=_0x5160,_0x59c410=_0x4f67c5();while(!![]){try{var _0x2088cf=parseInt(_0x16d57b(0x113))/0x1+parseInt(_0x16d57b(0x23a))/0x2*(-parseInt(_0x16d57b(0x1df))/0x3)+-parseInt(_0x16d57b(0x1f4))/0x4+parseInt(_0x16d57b(0x1fa))/0x5+-parseInt(_0x16d57b(0x24f))/0x6*(-parseInt(_0x16d57b(0x12a))/0x7)+-parseInt(_0x16d57b(0x21e))/0x8*(-parseInt(_0x16d57b(0x1cc))/0x9)+-parseInt(_0x16d57b(0x145))/0xa;if(_0x2088cf===_0x3f4912)break;else _0x59c410['push'](_0x59c410['shift']());}catch(_0x59bea3){_0x59c410['push'](_0x59c410['shift']());}}}(_0x27d3,0x1b3b2));var we=Object[_0x23152a(0x1fe)],Ee=(_0x5a159e,_0x5d4acc,_0x4dd671)=>_0x5d4acc in _0x5a159e?we(_0x5a159e,_0x5d4acc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dd671}):_0x5a159e[_0x5d4acc]=_0x4dd671,S=(_0x5e72be,_0x10d7d2,_0x5d855a)=>Ee(_0x5e72be,typeof _0x10d7d2!='symbol'?_0x10d7d2+'':_0x10d7d2,_0x5d855a);import{LocaleService as _0x29ac55,Inject as _0x10c81c,Injector as _0x5b2e98,IConfigService as _0x1496de,ILocalStorageService as _0x118e2e,ILogService as _0x31a0e3,Disposable as _0x460ffb,CommandType as _0x1911c4,ICommandService as _0xf4c6c0,DependentOn as _0x2f5397,Plugin as _0x3d4f76,merge as _0x16b0a4}from'@univerjs/core';import{jsxs as _0x200cfc,jsx as _0xbc2bc3}from'react/jsx-runtime';import{MCPConnectionStatus as _0x4d5d6a,MCPConnectionError as _0x5b89c7,MCPConnectionController as _0x260dce,MCP_PLUGIN_CONFIG_KEY as _0x10b2f0,UniverMCPPlugin as _0xfd0ba3}from'@univerjs-pro/mcp';import{Input as _0x1cf5dc,Button as _0x3a18fc,MessageType as _0x32a88a,Tooltip as _0x28285f,clsx as _0x1e22a7}from'@univerjs/design';import{useDependency as _0xec9461,useObservable as _0x51a1cc,IUIPartsService as _0x1846c7,IDialogService as _0x382591,IMessageService as _0x43578f,ComponentManager as _0x5a9e01,connectInjector as _0x16db0e,BuiltInUIPart as _0x2fa4e8,MenuItemType as _0xd12530,RibbonStartGroup as _0x529546,IMenuManagerService as _0x1033be}from'@univerjs/ui';import{BehaviorSubject as _0x25ddcd}from'rxjs';import{forwardRef as _0x3cd0b1,useRef as _0x2c9c56,createElement as _0x88ee49,useState as _0x39ca44,useCallback as _0x38eed3}from'react';import{ISocketService as _0x28fc4b,WebSocketService as _0x5e8ef7}from'@univerjs/network';var f=function(){var _0x2161db=_0x23152a;return f=Object['assign']||function(_0x54f32a){var _0x3bcb27=_0x5160;for(var _0xf7f656,_0x30cae2=0x1,_0x57c110=arguments[_0x3bcb27(0x239)];_0x30cae2<_0x57c110;_0x30cae2++){_0xf7f656=arguments[_0x30cae2];for(var _0x1a84d1 in _0xf7f656)Object[_0x3bcb27(0x129)][_0x3bcb27(0x1ab)][_0x3bcb27(0x25b)](_0xf7f656,_0x1a84d1)&&(_0x54f32a[_0x1a84d1]=_0xf7f656[_0x1a84d1]);}return _0x54f32a;},f[_0x2161db(0x154)](this,arguments);},Ye=function(_0x37a530,_0x493666){var _0x5144b0=_0x23152a,_0x2438cd={};for(var _0x49b8a1 in _0x37a530)Object['prototype'][_0x5144b0(0x1ab)][_0x5144b0(0x25b)](_0x37a530,_0x49b8a1)&&_0x493666[_0x5144b0(0x1f2)](_0x49b8a1)<0x0&&(_0x2438cd[_0x49b8a1]=_0x37a530[_0x49b8a1]);if(_0x37a530!=null&&typeof Object[_0x5144b0(0x20e)]=='function'){for(var _0x2dc61c=0x0,_0x49b8a1=Object[_0x5144b0(0x20e)](_0x37a530);_0x2dc61c<_0x49b8a1[_0x5144b0(0x239)];_0x2dc61c++)_0x493666['indexOf'](_0x49b8a1[_0x2dc61c])<0x0&&Object['prototype'][_0x5144b0(0x212)][_0x5144b0(0x25b)](_0x37a530,_0x49b8a1[_0x2dc61c])&&(_0x2438cd[_0x49b8a1[_0x2dc61c]]=_0x37a530[_0x49b8a1[_0x2dc61c]]);}return _0x2438cd;},w=_0x3cd0b1(function(_0x1c43a5,_0x1a4dd9){var _0x36b053=_0x23152a,_0x534a3d=_0x1c43a5[_0x36b053(0x117)],_0x4f52de=_0x1c43a5['id'],_0x31c433=_0x1c43a5[_0x36b053(0x13e)],_0x33ad60=_0x1c43a5[_0x36b053(0x148)],_0x3f4fa9=Ye(_0x1c43a5,['icon','id',_0x36b053(0x13e),'extend']),_0xeab17d=_0x36b053(0x243)[_0x36b053(0x1b0)](_0x4f52de,'\x20')['concat'](_0x31c433||'')[_0x36b053(0x1cd)](),_0x51a64c=_0x2c9c56('_'[_0x36b053(0x1b0)](Xe()));return ue(_0x534a3d,''[_0x36b053(0x1b0)](_0x4f52de),{'defIds':_0x534a3d[_0x36b053(0x1b6)],'idSuffix':_0x51a64c['current']},f({'ref':_0x1a4dd9,'className':_0xeab17d},_0x3f4fa9),_0x33ad60);});function ue(_0xaf2a06,_0x58a108,_0x33531e,_0x25f027,_0x4c81dc){var _0x56bf3e=_0x23152a;return _0x88ee49(_0xaf2a06[_0x56bf3e(0x1e3)],f(f({'key':_0x58a108},Ze(_0xaf2a06,_0x33531e,_0x4c81dc)),_0x25f027),(qe(_0xaf2a06,_0x33531e)['children']||[])[_0x56bf3e(0x1e9)](function(_0x4adb08,_0x31a7c2){var _0x1370b1=_0x56bf3e;return ue(_0x4adb08,''['concat'](_0x58a108,'-')[_0x1370b1(0x1b0)](_0xaf2a06[_0x1370b1(0x1e3)],'-')['concat'](_0x31a7c2),_0x33531e,void 0x0,_0x4c81dc);}));}function Ze(_0x3c912d,_0x42b26c,_0x53b44e){var _0x28326b=_0x23152a,_0x55966d=f({},_0x3c912d[_0x28326b(0x137)]);_0x53b44e!=null&&_0x53b44e[_0x28326b(0x10b)]&&_0x55966d[_0x28326b(0x16d)]==='colorChannel1'&&(_0x55966d[_0x28326b(0x16d)]=_0x53b44e[_0x28326b(0x10b)]),_0x3c912d['tag']===_0x28326b(0x208)&&_0x55966d['id']&&(_0x55966d['id']=_0x55966d['id']+_0x42b26c[_0x28326b(0x1e6)]),Object[_0x28326b(0x122)](_0x55966d)[_0x28326b(0x1e5)](function(_0x4ed912){var _0x3f4399=_0x28326b,_0x95bd23=_0x4ed912[0x0],_0x33870c=_0x4ed912[0x1];_0x95bd23==='mask'&&typeof _0x33870c==_0x3f4399(0x20f)&&(_0x55966d[_0x95bd23]=_0x33870c[_0x3f4399(0x175)](/url\(#(.*)\)/,_0x3f4399(0x260)[_0x3f4399(0x1b0)](_0x42b26c[_0x3f4399(0x1e6)],')')));});var _0x4ac42f=_0x42b26c[_0x28326b(0x1b6)];return!_0x4ac42f||_0x4ac42f['length']===0x0||(_0x3c912d[_0x28326b(0x1e3)]==='use'&&_0x55966d['xlink:href']&&(_0x55966d[_0x28326b(0x1b3)]=_0x55966d[_0x28326b(0x1b3)]+_0x42b26c[_0x28326b(0x1e6)]),Object[_0x28326b(0x122)](_0x55966d)[_0x28326b(0x1e5)](function(_0xfef017){var _0x26079e=_0x28326b,_0x24fff2=_0xfef017[0x0],_0x2feb6d=_0xfef017[0x1];typeof _0x2feb6d=='string'&&(_0x55966d[_0x24fff2]=_0x2feb6d['replace'](/url\(#(.*)\)/,_0x26079e(0x260)[_0x26079e(0x1b0)](_0x42b26c[_0x26079e(0x1e6)],')')));})),_0x55966d;}function qe(_0x26ce21,_0x1cb27d){var _0x5dfefe=_0x23152a,_0x368b81,_0x16def6=_0x1cb27d[_0x5dfefe(0x1b6)];return!_0x16def6||_0x16def6[_0x5dfefe(0x239)]===0x0?_0x26ce21:_0x26ce21[_0x5dfefe(0x1e3)]===_0x5dfefe(0x153)&&(!((_0x368b81=_0x26ce21[_0x5dfefe(0x173)])===null||_0x368b81===void 0x0)&&_0x368b81[_0x5dfefe(0x239)])?f(f({},_0x26ce21),{'children':_0x26ce21['children'][_0x5dfefe(0x1e9)](function(_0x268212){var _0x300e4e=_0x5dfefe;return typeof _0x268212[_0x300e4e(0x137)]['id']==_0x300e4e(0x20f)&&_0x16def6&&_0x16def6[_0x300e4e(0x19c)](_0x268212[_0x300e4e(0x137)]['id'])?f(f({},_0x268212),{'attrs':f(f({},_0x268212[_0x300e4e(0x137)]),{'id':_0x268212['attrs']['id']+_0x1cb27d[_0x300e4e(0x1e6)]})}):_0x268212;})}):_0x26ce21;}function Xe(){var _0x417906=_0x23152a;return Math['random']()[_0x417906(0x1d4)](0x24)['substring'](0x2,0x8);}w[_0x23152a(0x227)]='UniverIcon';var Je={'tag':_0x23152a(0x1da),'attrs':{'xmlns':_0x23152a(0x1e8),'fill':'none','viewBox':_0x23152a(0x240),'width':_0x23152a(0x21b),'height':'1em'},'children':[{'tag':_0x23152a(0x1f6),'attrs':{'fill':_0x23152a(0x1d8),'d':'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','fillRule':_0x23152a(0x123),'clipRule':'evenodd'}}]},le=_0x3cd0b1(function(_0x3825af,_0xfe4203){var _0x50c7f7=_0x23152a;return _0x88ee49(w,Object[_0x50c7f7(0x249)]({},_0x3825af,{'id':_0x50c7f7(0x23e),'ref':_0xfe4203,'icon':Je}));});le[_0x23152a(0x227)]=_0x23152a(0x1eb);var Qe={'tag':_0x23152a(0x1da),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x23152a(0x1fd),'viewBox':'0\x200\x2017\x2017','width':'1em','height':_0x23152a(0x21b)},'children':[{'tag':_0x23152a(0x1f6),'attrs':{'stroke':_0x23152a(0x1d8),'d':_0x23152a(0x17f),'strokeLinecap':_0x23152a(0x107),'strokeLinejoin':_0x23152a(0x107),'strokeWidth':1.33}},{'tag':_0x23152a(0x1f6),'attrs':{'stroke':_0x23152a(0x1d8),'d':_0x23152a(0x179),'strokeLinecap':_0x23152a(0x107),'strokeLinejoin':_0x23152a(0x107),'strokeWidth':1.33}}]},ve=_0x3cd0b1(function(_0x5e6026,_0x53b410){var _0x3aff35=_0x23152a;return _0x88ee49(w,Object[_0x3aff35(0x249)]({},_0x5e6026,{'id':_0x3aff35(0x182),'ref':_0x53b410,'icon':Qe}));});ve[_0x23152a(0x227)]='CloseSmallSingle';function _0x27d3(){var _0x506a92=['currentColor','mcpConfig.connectionStatus.connected','svg','保存中...','Max\x20Retries','FAILED','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','81aUxriQ','mcpStatus.connecting','连接中...','CONNECTED','tag','_config','forEach','idSuffix','API\x20key\x20with\x20Bearer\x20prefix.','http://www.w3.org/2000/svg','map','MCP:\x20Network\x20Error','CheckMarkIcon','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer.ai','配置无效','MCP\x20Retrying...','mcpStatus.maxRetriesExceeded','_initStatusComponent','indexOf','mcpStatus.clickToConnect','859224mwdoxC','Univer\x20AI\x20控制台','path','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','几秒钟内获取您的\x20API\x20密钥','bottom','1077190yEUyMB','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','none','defineProperty','connectionError$','MCP:\x20Max\x20Retries\x20Exceeded','mcpConfig.authorizationDescription','mcpConfig.connectionStatus.connecting','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','warn','mcpConfig.connectionError.maxRetriesExceeded','Connection\x20Failed','isValid','mask','MCP\x20连接中...','univer-bg-gray-500','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','_injector','MCP:\x20会话\x20ID\x20已被占用','getOwnPropertySymbols','string','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','<API_KEY>','propertyIsEnumerable','_localStorageService','javascript:void(0)','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','span','univer-flex-shrink-0\x20univer-text-red-500','add','on-line-icon_clip0_910_349','MAX_RETRIES_EXCEEDED','1em','pre','mcpConfig.configParameters','274960YnCDjU','mcpConfig.sessionIdDescription','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','BUTTON','mcpConfig.validation.apiKeyTooShort','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','_configService','text','univer-flex-1','displayName','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','univer-text-sm\x20univer-text-gray-500','univer-flex\x20univer-items-center\x20univer-gap-2','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-flex\x20univer-items-center','M0\x200H16V16H0z','Enable\x20authentication\x20for\x20secure\x20connections','univer-flex\x20univer-items-start\x20univer-gap-3','univer-space-y-2','mcpConfig.connectionStatus.failed','_initializeMenus','Click\x20to\x20configure\x20MCP','Disconnected','_createConfigPanelComponent','univer-flex\x20univer-flex-wrap\x20univer-gap-2','启用身份验证','mcpConfig.validation.apiKeyRequired','length','2110BNYFUn','What\x20is\x20API\x20Key?','_handleConfigure','on-line-icon','check-mark-icon','MCPConfigPanel','0\x200\x2016\x2016','univer-text-green-500','getConfig','univerjs-icon\x20univerjs-icon-','mcpConfig.save','mcpStatus.failed','_componentManager','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','assign','超出最大重试次数,请稍后再试','value','univer-mr-2\x20univer-flex\x20univer-text-xl','MCP\x20Unknown\x20Status','OffLineIcon','6fXyKML','Enter\x20your\x20API\x20key','get','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','getCurrentConfig','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','带有\x20Bearer\x20前缀的\x20API\x20密钥。','重连中...','open','_logService','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','translate(.97)','call','MCP\x20重连中...','\x20-\x20','启用身份验证以获得安全连接','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','url(#$1','_validateConfig','MCP:\x20超出最大重试次数','Retrying...','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_registerComponent','mcpConfig.apiApplyInfo.getStarted','univer-flex\x20univer-items-start\x20univer-gap-2','round','univer-text-white','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','OnLineIcon','colorChannel1','url(#off-line-icon_clip0_910_343)','pluginName','会话\x20ID\x20已被占用,请稍后再试','mcpConfig.apiApplyInfo.univerAiLabel','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpConfig.connectionStatus.disconnected','MCP\x20已断开','72664mXcqVz','配置保存成功','API\x20key\x20is\x20required','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','icon','setItem','_localeService','label','_messageService','您的\x20API\x20密钥安全存储在本地存储中','_mcpConnectionController','_loading$','mcpConfig.apiKeyHint','Error','mcpConfig.apiKeyPlaceholder','entries','evenodd','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','Configuration\x20Parameters:','mcpStatus.sessionOccupied','univer-flex\x20univer-gap-3','MCP\x20连接失败','prototype','983794yDOKsX','配置更改将立即生效','会话ID','Close','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','off-line-icon_clip0_910_343','mcpConfig.connectionInfo','univer-bg-green-500','univer-text-blue-600','COMMAND','MCP\x20Connection\x20Failed','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','attrs','MCP:\x20网络错误','您的\x20API\x20密钥将在此浏览器中本地存储','mcpConfig.validation.invalidApiKey','https://console.univer.plus','UNAUTHORIZED','clipPath','className','将配置添加到您的\x20MCP\x20客户端设置文件中','mcp-ui.command.openConfigPanel','univer-font-medium','univer-flex\x20univer-items-center\x20univer-gap-3','配置参数:','CONNECTING','1081850UEuPXe','univer-text-xs\x20univer-text-gray-500','getOwnPropertyDescriptor','extend','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Save\x20Configuration','mcpConfig.configStep3','Copy\x20the\x20JSON\x20configuration\x20below','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','subscribe','RETRYING','errorMessage','NETWORK_ERROR','defs','apply','OTHERS','Connected','showConfigPanel','Connecting...','MCP\x20客户端配置','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','div','white','MCP\x20Client\x20Configuration','最大重试次数','mcpStatus.unauthorized','mcp-config-dialog','onStarting','mcpConfig.saving','sessionId$','show','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.apiApplyInfo.title','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcpConfig.connectionError.networkError','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-text-yellow-500','_initConfigSync','fill','API\x20密钥长度至少需要\x2010\x20位','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','mergeMenu','mcp.apiKey','_initializeCommands','children','mcpConfig.connectionError.unauthorized','replace','未连接','setConfig','univer-space-y-5','M5.21243\x2012.287L11.8791\x205.62036','Get\x20your\x20API\x20key\x20in\x20seconds','_connectionController','\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','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','connectionStatus$','M5.21243\x205.62036L11.8791\x2012.287','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','请输入您的\x20API\x20密钥','close-small-single','close','validateApiKey','复制以下\x20JSON\x20配置','API\x20密钥不能为空','_loadStoredApiKey','_initAutoConnect','DISCONNECTED','已连接','next','_uiPartsService','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','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','mcpConfig.configError','mcpConfig.configSaved','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','mcpServerUrl','enableAutoConnect','univer-text-xs\x20univer-text-gray-600','_mcpCoreConfig$','mcpConfig.note1','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','showDeveloperTools','MCP:\x20Session\x20ID\x20Occupied','网络连接错误,请检查您的网络连接','noopener\x20noreferrer','includes','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','将以下配置添加到您的\x20MCP\x20客户端设置中:','_dialogService','NONE','univer-space-y-3','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20配置','univer-min-w-0\x20univer-flex-1','_handleConfigSave','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','mcpConfig.title','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','hasOwnProperty','API\x20Key','disposeWithMe','mcpConfig.note2','apiKey','concat','mcpConfig.configStep1','点击连接\x20MCP','xlink:href','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','push','defIds','Configuration\x20Steps:','MCP\x20Configuration','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-bg-blue-500','removeItem','__setCustomHeaders','off','univer-text-gray-500','_commandService','什么是\x20API\x20密钥?','_config$','API\x20密钥','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','off-line-icon','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Bearer\x20','_blank','has','MCP\x20Connecting...','mcpStatus.networkError','subscribeConfigValue$','9JaVhLq','trim','univer-text-sm\x20univer-font-medium','register','保存配置','error','mcpConfig.connectionStatus.retrying','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','toString','univer-text-red-500','univer.plus','_apiKey$'];_0x27d3=function(){return _0x506a92;};return _0x27d3();}var en={'tag':_0x23152a(0x1da),'attrs':{'xmlns':_0x23152a(0x1e8),'fill':'none','viewBox':_0x23152a(0x240),'width':_0x23152a(0x21b),'height':_0x23152a(0x21b)},'children':[{'tag':_0x23152a(0x1f6),'attrs':{'fill':_0x23152a(0x1d8),'d':_0x23152a(0x16f)}},{'tag':'path','attrs':{'fill':_0x23152a(0x1d8),'d':_0x23152a(0x124)}},{'tag':_0x23152a(0x1f6),'attrs':{'fill':_0x23152a(0x1d8),'d':_0x23152a(0x180),'fillRule':_0x23152a(0x123),'clipRule':_0x23152a(0x123)}}]},de=_0x3cd0b1(function(_0x39c297,_0x13f688){var _0x30edad=_0x23152a;return _0x88ee49(w,Object[_0x30edad(0x249)]({},_0x39c297,{'id':'help-single','ref':_0x13f688,'icon':en}));});de[_0x23152a(0x227)]='HelpSingle';var nn={'tag':_0x23152a(0x1da),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x23152a(0x1fd),'viewBox':_0x23152a(0x240),'width':_0x23152a(0x21b),'height':_0x23152a(0x21b)},'children':[{'tag':'g','attrs':{'clipPath':_0x23152a(0x10c)},'children':[{'tag':_0x23152a(0x1f6),'attrs':{'stroke':'currentColor','d':_0x23152a(0x228),'strokeLinecap':_0x23152a(0x107),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x23152a(0x153),'attrs':{},'children':[{'tag':_0x23152a(0x13d),'attrs':{'id':_0x23152a(0x12f)},'children':[{'tag':_0x23152a(0x1f6),'attrs':{'fill':_0x23152a(0x15c),'d':_0x23152a(0x22d)}}]}]}],'defIds':[_0x23152a(0x12f)]},fe=_0x3cd0b1(function(_0x2a2bbb,_0x3e142f){var _0x4f7eef=_0x23152a;return _0x88ee49(w,Object[_0x4f7eef(0x249)]({},_0x2a2bbb,{'id':_0x4f7eef(0x1c4),'ref':_0x3e142f,'icon':nn}));});fe[_0x23152a(0x227)]=_0x23152a(0x24e);var rn={'tag':'svg','attrs':{'xmlns':_0x23152a(0x1e8),'fill':_0x23152a(0x1fd),'viewBox':'0\x200\x2017\x2016','width':_0x23152a(0x21b),'height':_0x23152a(0x21b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x23152a(0x1f6),'attrs':{'stroke':_0x23152a(0x1d8),'d':_0x23152a(0x1d3),'strokeLinecap':'round','strokeLinejoin':_0x23152a(0x107),'strokeWidth':1.2}}]},{'tag':_0x23152a(0x153),'attrs':{},'children':[{'tag':_0x23152a(0x13d),'attrs':{'id':_0x23152a(0x219)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x23152a(0x22d),'transform':_0x23152a(0x25a)}}]}]}],'defIds':[_0x23152a(0x219)]},ge=_0x3cd0b1(function(_0x343912,_0x254b86){var _0x2b7129=_0x23152a;return _0x88ee49(w,Object['assign']({},_0x343912,{'id':_0x2b7129(0x23d),'ref':_0x254b86,'icon':rn}));});ge[_0x23152a(0x227)]=_0x23152a(0x10a);function tn(_0x3bd325){var _0x5d364a=_0x23152a,_0x548af7,_0x4dad3d;const {mcpCoreConfig:_0x3d7b83,onSave:_0x3364c4,loading:_0x16cee9=!0x1,config:_0x75e9cd,connectionStatus$:_0xf99f8d,connectionError$:_0x136e56,currentApiKey$:_0x5a1e2c,currentSessionId$:_0x58f380}=_0x3bd325,_0x5eed29=_0xec9461(_0x29ac55),_0x3e509d=_0x51a1cc(_0xf99f8d,_0x4d5d6a[_0x5d364a(0x189)]),_0x584153=_0x51a1cc(_0x136e56,_0x5b89c7[_0x5d364a(0x1a0)]),_0x23e63f=_0x51a1cc(_0x58f380,''),_0x57380f=_0x51a1cc(_0x5a1e2c,''),[_0x5655b8,_0xefd7e8]=_0x39ca44(_0x57380f||''),_0x3d5357=!0x0,_0x2f4bfa=_0x75e9cd[_0x5d364a(0x198)]&&_0x3d7b83[_0x5d364a(0x192)]&&(_0x3d7b83[_0x5d364a(0x192)][_0x5d364a(0x19c)](_0x5d364a(0x1d6))||_0x3d7b83[_0x5d364a(0x192)][_0x5d364a(0x19c)]('univer.ai')),_0x21dc59=(_0x548af7=_0x3d7b83[_0x5d364a(0x192)])==null?void 0x0:_0x548af7['includes']('univer.plus'),_0x5097e0=(_0x4dad3d=_0x3d7b83[_0x5d364a(0x192)])==null?void 0x0:_0x4dad3d[_0x5d364a(0x19c)](_0x5d364a(0x1ed)),_0x41ce0d=_0x21dc59?_0x5d364a(0x13b):'https://console.univer.ai',_0x3b78c7=_0x75e9cd[_0x5d364a(0x198)]&&(_0x21dc59||_0x5097e0),[_0x5decf7,_0x424704]=_0x39ca44(!_0x5655b8[_0x5d364a(0x1cd)]()),_0x1c4eda=(_0x1800c5,_0x3976c4)=>{var _0x23470b=_0x5d364a;if(_0x3976c4===_0x5b89c7[_0x23470b(0x13c)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x1800c5){case _0x4d5d6a[_0x23470b(0x1e2)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x4d5d6a['CONNECTING']:case _0x4d5d6a[_0x23470b(0x150)]:return _0x23470b(0x1c3);case _0x4d5d6a[_0x23470b(0x1dd)]:return _0x23470b(0x254);default:return _0x23470b(0x15a);}},_0x1f35aa=(_0x4966be,_0x3fca49)=>{var _0x1d3a3a=_0x5d364a;if(_0x3fca49===_0x5b89c7[_0x1d3a3a(0x13c)])return'univer-bg-red-500';switch(_0x4966be){case _0x4d5d6a[_0x1d3a3a(0x1e2)]:return _0x1d3a3a(0x131);case _0x4d5d6a['CONNECTING']:case _0x4d5d6a[_0x1d3a3a(0x150)]:return _0x1d3a3a(0x1ba);case _0x4d5d6a[_0x1d3a3a(0x1dd)]:return'univer-bg-red-500';default:return _0x1d3a3a(0x20a);}},_0x9ce381=_0x491a35=>{var _0x4da750=_0x5d364a;switch(_0x491a35){case _0x4d5d6a[_0x4da750(0x1e2)]:return _0x5eed29['t'](_0x4da750(0x1d9));case _0x4d5d6a[_0x4da750(0x144)]:return _0x5eed29['t'](_0x4da750(0x202));case _0x4d5d6a[_0x4da750(0x1dd)]:return _0x5eed29['t'](_0x4da750(0x231));case _0x4d5d6a[_0x4da750(0x150)]:return _0x5eed29['t'](_0x4da750(0x1d2));default:return _0x5eed29['t'](_0x4da750(0x111));}},_0x23c8f8=_0x514e52=>{var _0x5680e4=_0x5d364a;switch(_0x514e52){case _0x5b89c7[_0x5680e4(0x13c)]:return _0x5eed29['t'](_0x5680e4(0x174));case _0x5b89c7['SESSION_ID_OCCUPIED']:return _0x5eed29['t']('mcpConfig.connectionError.sessionOccupied');case _0x5b89c7[_0x5680e4(0x152)]:return _0x5eed29['t'](_0x5680e4(0x168));case _0x5b89c7[_0x5680e4(0x21a)]:return _0x5eed29['t'](_0x5680e4(0x205));default:return'';}},_0x590a66=_0x38eed3(()=>{var _0x1a27a6=_0x5d364a;const _0x1455b1={..._0x3d7b83,'apiKey':_0x5655b8[_0x1a27a6(0x1cd)](),'enableAuth':_0x3d5357};_0x3364c4(_0x1455b1);},[_0x3d7b83,_0x5655b8,_0x3d5357,_0x3364c4]),_0x343f5a=_0x5655b8['trim']()[_0x5d364a(0x239)]>0x0;return _0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x197),'children':[_0xbc2bc3('div',{'className':_0x5d364a(0x248),'children':_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x142),'children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x14a),'children':_0xbc2bc3(_0x5d364a(0x216),{'className':_0x5d364a(0x108),'children':'⚙'})}),_0xbc2bc3(_0x5d364a(0x15b),{'children':_0xbc2bc3('p',{'className':_0x5d364a(0x229),'children':_0x5eed29['t']('mcpConfig.description')})})]})}),_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x1fc),'children':[_0xbc2bc3('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x1c4eda(_0x3e509d,_0x584153)+_0x5d364a(0x203),'children':_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x22a),'children':[_0xbc2bc3('div',{'className':_0x5d364a(0x1aa)+_0x1f35aa(_0x3e509d,_0x584153)+_0x5d364a(0x22b)}),_0xbc2bc3(_0x5d364a(0x216),{'className':_0x5d364a(0x1ce),'children':_0x9ce381(_0x3e509d)})]})}),_0x584153!==_0x5b89c7['NONE']&&(_0x3e509d===_0x4d5d6a[_0x5d364a(0x1dd)]||_0x584153===_0x5b89c7[_0x5d364a(0x13c)])&&_0xbc2bc3('div',{'className':_0x5d364a(0x1f7),'children':_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x106),'children':[_0xbc2bc3(_0x5d364a(0x216),{'className':_0x5d364a(0x217),'children':'⚠️'}),_0xbc2bc3('p',{'className':_0x5d364a(0x223),'children':_0x23c8f8(_0x584153)})]})})]}),_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x1a7),'children':_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x178),'children':[_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x230),'children':[_0x200cfc(_0x5d364a(0x11a),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0xbc2bc3(_0x5d364a(0x216),{'children':'🔑'}),'\x20',_0x5eed29['t']('mcpConfig.apiKey'),_0xbc2bc3('span',{'className':_0x5d364a(0x1d5),'children':'*'}),_0x2f4bfa&&_0xbc2bc3('a',{'href':_0x5d364a(0x214),'onClick':()=>_0x424704(!0x0),'className':_0x5d364a(0x14e),'title':_0x5eed29['t'](_0x5d364a(0x166)),'children':_0xbc2bc3(de,{})})]}),_0xbc2bc3(_0x1cf5dc,{'type':_0x5d364a(0x225),'placeholder':_0x5eed29['t'](_0x5d364a(0x121)),'value':_0x5655b8,'onChange':_0xefd7e8,'disabled':_0x16cee9,'autoComplete':_0x5d364a(0x1bd)}),_0xbc2bc3('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5eed29['t'](_0x5d364a(0x11f))})]}),_0x2f4bfa&&_0x5decf7&&_0x200cfc('div',{'className':_0x5d364a(0x18e),'children':[_0xbc2bc3('a',{'href':_0x5d364a(0x214),'onClick':()=>_0x424704(!0x1),'className':_0x5d364a(0x109),'title':_0x5d364a(0x12d),'children':_0xbc2bc3(ve,{})}),_0x200cfc('div',{'className':_0x5d364a(0x1b9),'children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x1a6),'children':_0xbc2bc3(_0x5d364a(0x216),{'className':_0x5d364a(0x132),'children':'🚀'})}),_0x200cfc('div',{'className':_0x5d364a(0x226),'children':[_0xbc2bc3('h4',{'className':_0x5d364a(0x136),'children':_0x5eed29['t'](_0x5d364a(0x166))}),_0xbc2bc3('p',{'className':_0x5d364a(0x20b),'children':_0x5eed29['t']('mcpConfig.apiApplyInfo.description')}),_0xbc2bc3('div',{'className':_0x5d364a(0x236),'children':_0x3b78c7&&_0x200cfc('a',{'href':_0x41ce0d,'target':_0x5d364a(0x1c7),'rel':_0x5d364a(0x19b),'className':_0x5d364a(0x1a8),'children':[_0xbc2bc3(_0x5d364a(0x216),{'children':'🤖'}),_0x5eed29['t'](_0x5d364a(0x10f)),_0xbc2bc3(_0x5d364a(0x216),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x1b4),'children':['✨','\x20',_0x5eed29['t'](_0x5d364a(0x105))]})]})]})]}),_0x75e9cd[_0x5d364a(0x198)]&&_0x200cfc(_0x5d364a(0x15b),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x200cfc('h4',{'className':_0x5d364a(0x165),'children':[_0xbc2bc3(_0x5d364a(0x216),{'children':'🔗'}),'\x20',_0x5eed29['t'](_0x5d364a(0x130))]}),_0x200cfc('div',{'className':'univer-space-y-4','children':[_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x1a1),'children':[_0xbc2bc3('p',{'className':_0x5d364a(0x194),'children':_0x5eed29['t']('mcpConfig.configInstructions')}),_0x200cfc(_0x5d364a(0x15b),{'className':'univer-space-y-2','children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x5eed29['t']('mcpConfig.configStepTitle')}),_0x200cfc(_0x5d364a(0x15b),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x22a),'children':[_0xbc2bc3(_0x5d364a(0x216),{'className':_0x5d364a(0x169),'children':'1'}),_0x5eed29['t'](_0x5d364a(0x1b1))]}),_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x22a),'children':[_0xbc2bc3(_0x5d364a(0x216),{'className':_0x5d364a(0x169),'children':'2'}),_0x5eed29['t']('mcpConfig.configStep2')]}),_0x200cfc('div',{'className':_0x5d364a(0x22a),'children':[_0xbc2bc3('span',{'className':'univer-flex\x20univer-h-4\x20univer-w-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'}),_0x5eed29['t'](_0x5d364a(0x14c))]})]})]})]}),_0x200cfc(_0x5d364a(0x15b),{'className':'univer-space-y-2','children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x5d364a(0x1b8)}),_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x167),'children':_0xbc2bc3(_0x5d364a(0x21c),{'className':_0x5d364a(0x1c5),'children':'{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id='+_0x23e63f+_0x5d364a(0x149)+(_0x5655b8||_0x5d364a(0x211))+_0x5d364a(0x215)})})]}),_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x1a1),'children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x135),'children':_0x5eed29['t'](_0x5d364a(0x21d))}),_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x230),'children':[_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x22f),'children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x264)}),_0x200cfc('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x1de),'children':'univer_session_id:'}),_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x146),'children':_0x5eed29['t'](_0x5d364a(0x21f))})]})]}),_0x200cfc('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0xbc2bc3('div',{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x1a4),'children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x1de),'children':'Authorization:'}),_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x146),'children':_0x5eed29['t'](_0x5d364a(0x201))})]})]})]})]})]})]}),_0xbc2bc3(_0x3a18fc,{'onClick':_0x590a66,'disabled':!_0x343f5a||_0x16cee9,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x16cee9?_0x200cfc(_0x5d364a(0x216),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0xbc2bc3(_0x5d364a(0x216),{'children':'⟲'}),_0x5eed29['t'](_0x5d364a(0x162))]}):_0x200cfc(_0x5d364a(0x216),{'className':_0x5d364a(0x22a),'children':[_0xbc2bc3(le,{}),_0x5eed29['t'](_0x5d364a(0x244))]})}),_0xbc2bc3('div',{'className':_0x5d364a(0x18d),'children':_0x200cfc(_0x5d364a(0x15b),{'className':_0x5d364a(0x127),'children':[_0xbc2bc3(_0x5d364a(0x216),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x200cfc('div',{'className':_0x5d364a(0x12e),'children':[_0xbc2bc3(_0x5d364a(0x15b),{'className':_0x5d364a(0x141),'children':'Configuration\x20Notes:'}),_0x200cfc(_0x5d364a(0x15b),{'children':['•',_0x5eed29['t'](_0x5d364a(0x196))]}),_0x200cfc(_0x5d364a(0x15b),{'children':['•',_0x5eed29['t'](_0x5d364a(0x1ae))]})]})]})})]})})]});}const x='mcp-ui.config',re={'showDeveloperTools':!0x1,'showStatus':!0x0};var on=Object[_0x23152a(0x147)],sn=(_0x962b6f,_0x2800e8,_0x314e8a,_0x3c8a72)=>{for(var _0xec4582=_0x3c8a72>0x1?void 0x0:_0x3c8a72?on(_0x2800e8,_0x314e8a):_0x2800e8,_0xe7d1bf=_0x962b6f['length']-0x1,_0x5187ad;_0xe7d1bf>=0x0;_0xe7d1bf--)(_0x5187ad=_0x962b6f[_0xe7d1bf])&&(_0xec4582=_0x5187ad(_0xec4582)||_0xec4582);return _0xec4582;},g=(_0xc25a22,_0x155635)=>(_0x355528,_0x10e8fd)=>_0x155635(_0x355528,_0x10e8fd,_0xc25a22);const j=_0x23152a(0x171),U=_0x23152a(0x160);let I=class extends _0x460ffb{constructor(_0x12c510,_0x27078b,_0x4de042,_0x522478,_0x25b867,_0x1f8f86,_0x236ef8,_0x17685e,_0x3a8f33,_0x10f7e3){var _0x759656=_0x23152a;super(),S(this,_0x759656(0x11e),new _0x25ddcd(!0x1)),S(this,_0x759656(0x195),new _0x25ddcd({})),S(this,_0x759656(0x1c1),new _0x25ddcd({})),S(this,'_apiKey$',new _0x25ddcd('')),S(this,_0x759656(0x1a5),async _0x3df58e=>{var _0x10010c=_0x759656,_0x3b8329,_0x43d88d;this[_0x10010c(0x11e)][_0x10010c(0x18b)](!0x0);try{const _0x335097=await this[_0x10010c(0x261)](_0x3df58e);if(!_0x335097[_0x10010c(0x207)]){this['_messageService'][_0x10010c(0x164)]({'type':_0x32a88a[_0x10010c(0x120)],'content':_0x335097[_0x10010c(0x151)]||this[_0x10010c(0x119)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x3df58e[_0x10010c(0x1af)]?await this['_localStorageService'][_0x10010c(0x118)](j,_0x3df58e[_0x10010c(0x1af)][_0x10010c(0x1cd)]()):await this[_0x10010c(0x213)][_0x10010c(0x1bb)](j),this[_0x10010c(0x1d7)][_0x10010c(0x18b)](((_0x3b8329=_0x3df58e['apiKey'])==null?void 0x0:_0x3b8329[_0x10010c(0x1cd)]())||''),this[_0x10010c(0x11d)][_0x10010c(0x1bc)]({'Authorization':_0x10010c(0x1c6)+((_0x43d88d=_0x3df58e[_0x10010c(0x1af)])==null?void 0x0:_0x43d88d[_0x10010c(0x1cd)]())}),this['_messageService']['show']({'type':_0x32a88a['Success'],'content':this[_0x10010c(0x119)]['t'](_0x10010c(0x190))}),setTimeout(()=>{var _0x143fb2=_0x10010c;this[_0x143fb2(0x19f)][_0x143fb2(0x183)](U);},0x320);}catch(_0x2e1556){this[_0x10010c(0x258)][_0x10010c(0x1d1)](_0x10010c(0x191),_0x2e1556),this[_0x10010c(0x11b)]['show']({'type':_0x32a88a['Error'],'content':this['_localeService']['t'](_0x10010c(0x18f))});}finally{this[_0x10010c(0x11e)][_0x10010c(0x18b)](!0x1);}}),(this['_injector']=_0x12c510,this[_0x759656(0x18c)]=_0x27078b,this[_0x759656(0x224)]=_0x4de042,this[_0x759656(0x213)]=_0x522478,this['_dialogService']=_0x25b867,this[_0x759656(0x11b)]=_0x1f8f86,this['_componentManager']=_0x236ef8,this['_localeService']=_0x17685e,this[_0x759656(0x258)]=_0x3a8f33,this[_0x759656(0x11d)]=_0x10f7e3,this['_initConfigSync'](),this[_0x759656(0x187)](),this[_0x759656(0x265)]());}['showConfigPanel'](){var _0x4d0629=_0x23152a;const _0x4ac2af=this[_0x4d0629(0x224)]['getConfig'](x);_0x4ac2af!=null&&_0x4ac2af['showDeveloperTools']&&this[_0x4d0629(0x19f)][_0x4d0629(0x257)]({'id':U,'title':{'title':this['_localeService']['t'](_0x4d0629(0x1a9))},'children':{'label':_0x4d0629(0x23f)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x5919e2=_0x4d0629;this['_dialogService'][_0x5919e2(0x183)](U);}});}[_0x23152a(0x253)](){var _0xe62ade=_0x23152a;return this['_mcpCoreConfig$'][_0xe62ade(0x24b)];}[_0x23152a(0x265)](){var _0x5b3136=_0x23152a;this[_0x5b3136(0x1ad)](this[_0x5b3136(0x246)][_0x5b3136(0x1cf)](_0x5b3136(0x23f),this[_0x5b3136(0x235)]()));}[_0x23152a(0x235)](){var _0x5d7742=_0x23152a;return _0x16db0e(()=>{var _0x58b870=_0x5160,_0x157dc0,_0x51b2e6,_0x168762;return _0xbc2bc3(tn,{'config':this[_0x58b870(0x1c1)]['value'],'mcpCoreConfig':this[_0x58b870(0x195)][_0x58b870(0x24b)],'currentApiKey$':this[_0x58b870(0x1d7)],'onSave':this[_0x58b870(0x1a5)],'loading':this[_0x58b870(0x11e)][_0x58b870(0x24b)],'connectionStatus$':(_0x157dc0=this['_mcpConnectionController'])==null?void 0x0:_0x157dc0['connectionStatus$'],'connectionError$':(_0x51b2e6=this[_0x58b870(0x11d)])==null?void 0x0:_0x51b2e6[_0x58b870(0x1ff)],'currentSessionId$':(_0x168762=this[_0x58b870(0x11d)])==null?void 0x0:_0x168762[_0x58b870(0x163)]});},this[_0x5d7742(0x20c)]);}[_0x23152a(0x16c)](){var _0xef4155=_0x23152a;this['disposeWithMe'](this[_0xef4155(0x224)][_0xef4155(0x1cb)](_0x10b2f0)[_0xef4155(0x14f)](_0x35b6c8=>{var _0x208fe7=_0xef4155;this[_0x208fe7(0x195)]['next'](_0x35b6c8||{});}));const _0xb8cec=this[_0xef4155(0x224)]['getConfig'](_0x10b2f0);this[_0xef4155(0x195)]['next'](_0xb8cec||{}),this['disposeWithMe'](this[_0xef4155(0x224)]['subscribeConfigValue$'](x)[_0xef4155(0x14f)](_0x1a73f9=>{var _0x30b503=_0xef4155;this[_0x30b503(0x1c1)][_0x30b503(0x18b)](_0x1a73f9||{});}));const _0x5823c6=this[_0xef4155(0x224)]['getConfig'](x);this[_0xef4155(0x1c1)]['next'](_0x5823c6||{});}async[_0x23152a(0x187)](){var _0x43e094=_0x23152a;const _0x26f717=this['_configService'][_0x43e094(0x242)](x);if(!(_0x26f717!=null&&_0x26f717['showDeveloperTools']))return;const _0x401ab2=await this['_localStorageService']['getItem'](j);_0x401ab2&&(this[_0x43e094(0x11d)]['__setCustomHeaders']({'Authorization':_0x43e094(0x1c6)+_0x401ab2}),this[_0x43e094(0x1d7)][_0x43e094(0x18b)](_0x401ab2));}async[_0x23152a(0x261)](_0x4a9cbd){var _0x3a8ec9=_0x23152a;if(!_0x4a9cbd[_0x3a8ec9(0x1af)]||_0x4a9cbd[_0x3a8ec9(0x1af)][_0x3a8ec9(0x1cd)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x3a8ec9(0x238))};if(_0x4a9cbd['apiKey'][_0x3a8ec9(0x1cd)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x3a8ec9(0x119)]['t'](_0x3a8ec9(0x222))};try{const _0x54037a=await this['_injector'][_0x3a8ec9(0x251)](_0x260dce)[_0x3a8ec9(0x184)](_0x4a9cbd[_0x3a8ec9(0x1af)][_0x3a8ec9(0x1cd)]());return _0x54037a[_0x3a8ec9(0x207)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x54037a['error']||this['_localeService']['t'](_0x3a8ec9(0x13a))};}catch(_0x365857){return console[_0x3a8ec9(0x204)](_0x3a8ec9(0x220),_0x365857),{'isValid':!0x0};}}};I=sn([g(0x0,_0x10c81c(_0x5b2e98)),g(0x1,_0x1846c7),g(0x2,_0x1496de),g(0x3,_0x118e2e),g(0x4,_0x382591),g(0x5,_0x43578f),g(0x6,_0x10c81c(_0x5a9e01)),g(0x7,_0x10c81c(_0x29ac55)),g(0x8,_0x31a0e3),g(0x9,_0x10c81c(_0x260dce))],I);const V={'id':_0x23152a(0x140),'type':_0x1911c4[_0x23152a(0x133)],'handler':async(_0x39f33a,_0x3cd1be)=>(_0x39f33a[_0x23152a(0x251)](I)[_0x23152a(0x157)](),!0x0)};function pe(_0x201300,_0x3f5f39){var _0xffbf1f=_0x23152a;switch(_0x201300){case _0x4d5d6a[_0xffbf1f(0x189)]:return'mcpStatus.disconnected';case _0x4d5d6a[_0xffbf1f(0x144)]:return _0xffbf1f(0x1e0);case _0x4d5d6a[_0xffbf1f(0x1e2)]:return'mcpStatus.connected';case _0x4d5d6a[_0xffbf1f(0x1dd)]:switch(_0x3f5f39){case _0x5b89c7['UNAUTHORIZED']:return _0xffbf1f(0x15f);case _0x5b89c7['SESSION_ID_OCCUPIED']:return _0xffbf1f(0x126);case _0x5b89c7[_0xffbf1f(0x152)]:return _0xffbf1f(0x1ca);case _0x5b89c7[_0xffbf1f(0x21a)]:return _0xffbf1f(0x1f0);default:return _0xffbf1f(0x245);}case _0x4d5d6a[_0xffbf1f(0x150)]:return'mcpStatus.retrying';default:return'mcpStatus.unknown';}}function cn(_0x2cf9d5,_0xd71a77,_0x3efd82,_0x1ed8ff=!0x0){var _0x3977d1=_0x23152a;const _0xa503bd=pe(_0x2cf9d5,_0xd71a77),_0x25daf5=_0x3efd82['t'](_0xa503bd);return _0x1ed8ff?_0x2cf9d5===_0x4d5d6a[_0x3977d1(0x189)]&&_0xd71a77===_0x5b89c7[_0x3977d1(0x13c)]?_0x25daf5+_0x3977d1(0x25d)+_0x3efd82['t']('mcpStatus.clickToConfigure'):_0x2cf9d5===_0x4d5d6a[_0x3977d1(0x1e2)]?''+_0x25daf5:_0x2cf9d5===_0x4d5d6a[_0x3977d1(0x189)]||_0x2cf9d5===_0x4d5d6a[_0x3977d1(0x1dd)]?_0x25daf5+_0x3977d1(0x25d)+_0x3efd82['t'](_0x3977d1(0x1f3)):_0x25daf5:_0x25daf5;}function an(_0x4c65ef){var _0x5339a7=_0x23152a;switch(_0x4c65ef){case _0x4d5d6a[_0x5339a7(0x1e2)]:return _0x5339a7(0x241);case _0x4d5d6a[_0x5339a7(0x144)]:case _0x4d5d6a['RETRYING']:return _0x5339a7(0x16b);case _0x4d5d6a['FAILED']:case _0x4d5d6a['DISCONNECTED']:return _0x5339a7(0x1d5);default:return _0x5339a7(0x1be);}}function un(_0xdddfa){var _0x19af2a=_0x23152a;const {status$:_0x34cced,error$:_0x12f545,onConfigure:_0xc2f149,showClickable:_0x407157=!0x0}=_0xdddfa,_0x3ccc29=_0x51a1cc(_0x34cced,_0x4d5d6a[_0x19af2a(0x189)]),_0x1d177d=_0x51a1cc(_0x12f545,_0x5b89c7[_0x19af2a(0x1a0)]),_0x4178dd=_0xec9461(_0x29ac55),_0x28743c=_0x3ccc29===_0x4d5d6a['CONNECTED'];_0x3ccc29===_0x4d5d6a[_0x19af2a(0x144)]||_0x4d5d6a[_0x19af2a(0x150)];const _0x33f469=_0x4178dd['t'](pe(_0x3ccc29,_0x1d177d)),_0x139f67=cn(_0x3ccc29,_0x1d177d,_0x4178dd,_0x407157),_0x201a8d=an(_0x3ccc29),_0x4c395e=_0x28743c?_0xbc2bc3(ge,{}):_0xbc2bc3(fe,{}),_0x2067e6=_0x38eed3(()=>{_0x407157&&_0xc2f149&&_0xc2f149();},[_0x407157,_0xc2f149]);function _0x495109(){var _0xe14648=_0x19af2a;return _0x200cfc(_0xe14648(0x15b),{'className':_0x1e22a7(_0xe14648(0x22c),_0x407157&&_0xc2f149&&_0xe14648(0x17c)),'onClick':_0x407157&&_0xc2f149?_0x2067e6:void 0x0,'children':[_0xbc2bc3(_0xe14648(0x15b),{'className':_0x1e22a7(_0xe14648(0x24c),_0x201a8d),'children':_0x4c395e}),_0xbc2bc3(_0xe14648(0x15b),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x33f469})]});}return _0xbc2bc3(_0x28285f,{'title':_0x139f67,'placement':_0x19af2a(0x1f9),'children':_0x495109()});}var ln=Object[_0x23152a(0x147)],vn=(_0x59397d,_0x398597,_0x7bf6b7,_0x19b954)=>{var _0x4b4b0b=_0x23152a;for(var _0x33116c=_0x19b954>0x1?void 0x0:_0x19b954?ln(_0x398597,_0x7bf6b7):_0x398597,_0x3a39da=_0x59397d[_0x4b4b0b(0x239)]-0x1,_0x489dcd;_0x3a39da>=0x0;_0x3a39da--)(_0x489dcd=_0x59397d[_0x3a39da])&&(_0x33116c=_0x489dcd(_0x33116c)||_0x33116c);return _0x33116c;},A=(_0x4ccce0,_0x55d0b4)=>(_0x1c80ef,_0x4b3800)=>_0x55d0b4(_0x1c80ef,_0x4b3800,_0x4ccce0);let O=class extends _0x460ffb{constructor(_0xf3f200,_0x167153,_0x50ebb6,_0x403905){var _0x278a1a=_0x23152a;super(),this[_0x278a1a(0x20c)]=_0xf3f200,this[_0x278a1a(0x17b)]=_0x167153,this['_uiPartsService']=_0x50ebb6,this['_configService']=_0x403905,this[_0x278a1a(0x188)](),this['_initStatusComponent']();}[_0x23152a(0x188)](){var _0x3c2597=_0x23152a;const _0xa4e935=this[_0x3c2597(0x224)][_0x3c2597(0x242)](x);_0xa4e935!=null&&_0xa4e935[_0x3c2597(0x198)]&&(this[_0x3c2597(0x17b)][_0x3c2597(0x193)]=!0x1);}[_0x23152a(0x1f1)](){var _0x1f2ecd=_0x23152a;const _0x366bc7=this['_configService'][_0x1f2ecd(0x242)](x);(_0x366bc7==null?void 0x0:_0x366bc7['showStatus'])!==!0x1&&this[_0x1f2ecd(0x1ad)](this['_uiPartsService']['registerComponent'](_0x2fa4e8['HEADER_MENU'],()=>{var _0x222b75=_0x1f2ecd,_0x205332;return _0x16db0e(dn({'status$':this[_0x222b75(0x17b)][_0x222b75(0x17e)],'error$':this['_connectionController'][_0x222b75(0x1ff)],'onConfigure':()=>this[_0x222b75(0x23c)](),'showClickable':(_0x205332=_0x366bc7==null?void 0x0:_0x366bc7[_0x222b75(0x198)])!=null?_0x205332:!0x1}),this['_injector']);}));}[_0x23152a(0x23c)](){var _0x522988=_0x23152a;this[_0x522988(0x20c)][_0x522988(0x251)](I)[_0x522988(0x157)]();}};O=vn([A(0x0,_0x10c81c(_0x5b2e98)),A(0x1,_0x10c81c(_0x260dce)),A(0x2,_0x1846c7),A(0x3,_0x1496de)],O);function dn(_0xdfd7b4){const {status$:_0x12efb1,error$:_0xdc1d0,onConfigure:_0x4fdc6e,showClickable:_0x143437}=_0xdfd7b4;return function(){return _0xbc2bc3(un,{'status$':_0x12efb1,'error$':_0xdc1d0,'onConfigure':_0x4fdc6e,'showClickable':_0x143437});};}function fn(_0x3b576a){var _0x2df986=_0x23152a;return{'id':V['id'],'type':_0xd12530[_0x2df986(0x221)],'icon':'MenuIcon','title':'mcpConfig.title','tooltip':_0x2df986(0x1a9)};}const gn={[_0x529546[_0x23152a(0x155)]]:{[V['id']]:{'order':0xa,'menuItemFactory':fn}}};var pn=Object[_0x23152a(0x147)],hn=(_0x570482,_0x54cf31,_0x5a704d,_0x3776b7)=>{for(var _0xf5ccc3=_0x3776b7>0x1?void 0x0:_0x3776b7?pn(_0x54cf31,_0x5a704d):_0x54cf31,_0x328e0c=_0x570482['length']-0x1,_0x4a5b95;_0x328e0c>=0x0;_0x328e0c--)(_0x4a5b95=_0x570482[_0x328e0c])&&(_0xf5ccc3=_0x4a5b95(_0xf5ccc3)||_0xf5ccc3);return _0xf5ccc3;},te=(_0x49a669,_0x30f143)=>(_0x766373,_0x56a748)=>_0x30f143(_0x766373,_0x56a748,_0x49a669);function _0x5160(_0x3b1568,_0x5010a0){var _0x27d383=_0x27d3();return _0x5160=function(_0x51609f,_0x5e3b09){_0x51609f=_0x51609f-0x105;var _0x17af16=_0x27d383[_0x51609f];return _0x17af16;},_0x5160(_0x3b1568,_0x5010a0);}let k=class extends _0x460ffb{constructor(_0xca0baf,_0x4ef88e){var _0x241e0f=_0x23152a;super(),this[_0x241e0f(0x1bf)]=_0xca0baf,this['_menuManagerService']=_0x4ef88e,this[_0x241e0f(0x172)](),this[_0x241e0f(0x232)]();}[_0x23152a(0x172)](){var _0x2b359a=_0x23152a;[V][_0x2b359a(0x1e5)](_0xeef7fb=>{var _0x2d1e4d=_0x2b359a;this[_0x2d1e4d(0x1ad)](this[_0x2d1e4d(0x1bf)]['registerCommand'](_0xeef7fb));});}[_0x23152a(0x232)](){var _0x5e9a6f=_0x23152a;this['_menuManagerService'][_0x5e9a6f(0x170)](gn);}};k=hn([te(0x0,_0xf4c6c0),te(0x1,_0x1033be)],k);const On={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x23152a(0x1c9),'connected':'MCP\x20Connected','failed':_0x23152a(0x134),'retrying':_0x23152a(0x1ef),'unknown':_0x23152a(0x24d),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x23152a(0x199),'networkError':_0x23152a(0x1ea),'maxRetriesExceeded':_0x23152a(0x200),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x23152a(0x233)},'mcpConfig':{'title':_0x23152a(0x1b8),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x23152a(0x1ac),'apiKeyPlaceholder':_0x23152a(0x250),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x23152a(0x22e),'connectionInfo':_0x23152a(0x15d),'mcpClientConfig':_0x23152a(0x15d),'configInstructions':_0x23152a(0x1a2),'configStepTitle':_0x23152a(0x1b7),'configStep1':_0x23152a(0x14d),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x23152a(0x1fb),'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':_0x23152a(0x1e7),'configParameters':_0x23152a(0x125),'maxRetries':_0x23152a(0x1dc),'save':_0x23152a(0x14b),'saving':'Saving...','note1':_0x23152a(0x1ec),'note2':_0x23152a(0x110),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x23152a(0x23b),'description':_0x23152a(0x247),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x23152a(0x17a)},'validation':{'apiKeyRequired':_0x23152a(0x115),'apiKeyTooShort':_0x23152a(0x17d),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x23152a(0x259)},'connectionStatus':{'disconnected':_0x23152a(0x234),'connecting':_0x23152a(0x158),'connected':_0x23152a(0x156),'failed':_0x23152a(0x206),'retrying':_0x23152a(0x263)},'connectionError':{'unauthorized':_0x23152a(0x116),'sessionOccupied':_0x23152a(0x252),'networkError':_0x23152a(0x210),'maxRetriesExceeded':_0x23152a(0x25f)}}},kn={'mcpStatus':{'disconnected':_0x23152a(0x112),'connecting':_0x23152a(0x209),'connected':'MCP\x20已连接','failed':_0x23152a(0x128),'retrying':_0x23152a(0x25c),'unknown':'MCP\x20状态未知','unauthorized':'MCP:\x20未授权','sessionOccupied':_0x23152a(0x20d),'networkError':_0x23152a(0x138),'maxRetriesExceeded':_0x23152a(0x262),'clickToConnect':_0x23152a(0x1b2),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x23152a(0x1a3),'description':_0x23152a(0x16a),'apiKey':_0x23152a(0x1c2),'apiKeyPlaceholder':_0x23152a(0x181),'apiKeyHint':_0x23152a(0x139),'enableAuth':_0x23152a(0x237),'enableAuthHint':_0x23152a(0x25e),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x23152a(0x159),'configInstructions':_0x23152a(0x19e),'configStepTitle':'配置步骤:','configStep1':_0x23152a(0x185),'configStep2':_0x23152a(0x13f),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x23152a(0x12c),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x23152a(0x255),'configParameters':_0x23152a(0x143),'maxRetries':_0x23152a(0x15e),'save':_0x23152a(0x1d0),'saving':_0x23152a(0x1db),'note1':_0x23152a(0x12b),'note2':_0x23152a(0x11c),'configSaved':_0x23152a(0x114),'configError':'配置保存失败','apiApplyInfo':{'title':_0x23152a(0x1c0),'description':_0x23152a(0x19d),'univerAiLabel':_0x23152a(0x1f5),'getStarted':_0x23152a(0x1f8)},'validation':{'apiKeyRequired':_0x23152a(0x186),'apiKeyTooShort':_0x23152a(0x16e),'invalidConfig':_0x23152a(0x1ee),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x23152a(0x176),'connecting':_0x23152a(0x1e1),'connected':_0x23152a(0x18a),'failed':'连接失败','retrying':_0x23152a(0x256)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x23152a(0x10e),'networkError':_0x23152a(0x19a),'maxRetriesExceeded':_0x23152a(0x24a)}}};var mn=Object[_0x23152a(0x1fe)],Cn=Object['getOwnPropertyDescriptor'],yn=(_0x53fd87,_0x21e10f,_0x1b78fd)=>_0x21e10f in _0x53fd87?mn(_0x53fd87,_0x21e10f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b78fd}):_0x53fd87[_0x21e10f]=_0x1b78fd,_n=(_0x266c83,_0x523496,_0x2b85da,_0x4098c6)=>{var _0x3dba6c=_0x23152a;for(var _0x540112=_0x4098c6>0x1?void 0x0:_0x4098c6?Cn(_0x523496,_0x2b85da):_0x523496,_0x17daeb=_0x266c83[_0x3dba6c(0x239)]-0x1,_0x1adbaf;_0x17daeb>=0x0;_0x17daeb--)(_0x1adbaf=_0x266c83[_0x17daeb])&&(_0x540112=_0x1adbaf(_0x540112)||_0x540112);return _0x540112;},E=(_0x7f34ae,_0x20eb72)=>(_0x3fb8d4,_0x5f3559)=>_0x20eb72(_0x3fb8d4,_0x5f3559,_0x7f34ae),xn=(_0x503324,_0x289082,_0x3a1f0c)=>yn(_0x503324,_0x289082+'',_0x3a1f0c);let L=class extends _0x3d4f76{constructor(_0x569b02=re,_0xf0024a,_0x43fbf8,_0x14cf29,_0x54b9da,_0x1a4f53){var _0x50a949=_0x23152a;super(),this[_0x50a949(0x1e4)]=_0x569b02,this[_0x50a949(0x20c)]=_0xf0024a,this[_0x50a949(0x224)]=_0x43fbf8,this[_0x50a949(0x18c)]=_0x14cf29,this[_0x50a949(0x213)]=_0x54b9da,this[_0x50a949(0x119)]=_0x1a4f53;const {..._0x413f53}=_0x16b0a4({},re,this[_0x50a949(0x1e4)]);this[_0x50a949(0x224)][_0x50a949(0x177)](x,_0x413f53);}async[_0x23152a(0x161)](){var _0x37dff6=_0x23152a;const _0x510e91=[[O],[I],[k]];this['_injector'][_0x37dff6(0x1c8)](_0x28fc4b)||_0x510e91[_0x37dff6(0x1b5)]([_0x28fc4b,{'useClass':_0x5e8ef7}]),_0x510e91['forEach'](_0x3ad79a=>this[_0x37dff6(0x20c)][_0x37dff6(0x218)](_0x3ad79a)),this[_0x37dff6(0x20c)][_0x37dff6(0x251)](O),this[_0x37dff6(0x20c)]['get'](I),this[_0x37dff6(0x20c)][_0x37dff6(0x251)](k);}};xn(L,_0x23152a(0x10d),'MCP_UI_PLUGIN'),L=_n([_0x2f5397(_0xfd0ba3),E(0x1,_0x10c81c(_0x5b2e98)),E(0x2,_0x1496de),E(0x3,_0x1846c7),E(0x4,_0x118e2e),E(0x5,_0x10c81c(_0x29ac55))],L);export{tn as MCPConfigPanel,I as MCPConfigUIController,O as MCPConnectionUIController,un as MCPStatusDisplay,k as MCPUIMenuController,V as OpenMCPConfigPanelCommand,L as UniverMCPUIPlugin,On as enUS,kn as zhCN};
@@ -1 +1 @@
1
- const _0x59d452=_0x416f;(function(_0x57bb17,_0x208462){const _0x35b350=_0x416f,_0x3eb2fa=_0x57bb17();while(!![]){try{const _0x1cb82b=-parseInt(_0x35b350(0x194))/0x1+-parseInt(_0x35b350(0x192))/0x2+parseInt(_0x35b350(0x16f))/0x3+parseInt(_0x35b350(0x17a))/0x4*(-parseInt(_0x35b350(0x17c))/0x5)+parseInt(_0x35b350(0x182))/0x6*(-parseInt(_0x35b350(0x197))/0x7)+parseInt(_0x35b350(0x18b))/0x8+parseInt(_0x35b350(0x187))/0x9*(-parseInt(_0x35b350(0x198))/0xa);if(_0x1cb82b===_0x208462)break;else _0x3eb2fa['push'](_0x3eb2fa['shift']());}catch(_0xf8a97f){_0x3eb2fa['push'](_0x3eb2fa['shift']());}}}(_0x2e24,0xe52dc));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x59d452(0x190),'connected':_0x59d452(0x183),'failed':_0x59d452(0x188),'retrying':'MCP\x20Retrying...','unknown':_0x59d452(0x184),'unauthorized':_0x59d452(0x17e),'sessionOccupied':_0x59d452(0x172),'networkError':_0x59d452(0x19d),'maxRetriesExceeded':_0x59d452(0x195),'clickToConnect':_0x59d452(0x178),'clickToConfigure':_0x59d452(0x18a)},'mcpConfig':{'title':_0x59d452(0x179),'description':_0x59d452(0x186),'apiKey':_0x59d452(0x199),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x59d452(0x196),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x59d452(0x177),'connectionInfo':_0x59d452(0x19b),'mcpClientConfig':_0x59d452(0x19b),'configInstructions':_0x59d452(0x193),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x59d452(0x191),'configStep2':_0x59d452(0x173),'configStep3':_0x59d452(0x185),'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':_0x59d452(0x17b),'configParameters':_0x59d452(0x16e),'maxRetries':_0x59d452(0x180),'save':_0x59d452(0x19c),'saving':'Saving...','note1':_0x59d452(0x175),'note2':_0x59d452(0x174),'configSaved':_0x59d452(0x17d),'configError':_0x59d452(0x181),'apiApplyInfo':{'title':_0x59d452(0x19a),'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':_0x59d452(0x170),'getStarted':_0x59d452(0x18f)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x59d452(0x189),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x59d452(0x171),'connecting':_0x59d452(0x17f),'connected':_0x59d452(0x18e),'failed':_0x59d452(0x18d),'retrying':_0x59d452(0x18c)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x59d452(0x176),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x416f(_0x4d0da5,_0x23b775){const _0x2e246b=_0x2e24();return _0x416f=function(_0x416fe1,_0x1530ef){_0x416fe1=_0x416fe1-0x16e;let _0x11c0e0=_0x2e246b[_0x416fe1];return _0x11c0e0;},_0x416f(_0x4d0da5,_0x23b775);}export{n as default};function _0x2e24(){const _0x27b332=['MCP\x20Unknown\x20Status','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','9WNTsFG','MCP\x20Connection\x20Failed','Invalid\x20configuration','Click\x20to\x20configure\x20MCP','13780248UWnPNM','Retrying...','Connection\x20Failed','Connected','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','2085056cENSnw','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','137061CgvReb','MCP:\x20Max\x20Retries\x20Exceeded','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','7cgVsmt','11437120EjADvI','API\x20Key','What\x20is\x20API\x20Key?','MCP\x20Client\x20Configuration','Save\x20Configuration','MCP:\x20Network\x20Error','Configuration\x20Parameters:','5449227EckfPr','Univer\x20AI\x20Console','Disconnected','MCP:\x20Session\x20ID\x20Occupied','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20connect\x20MCP','MCP\x20Configuration','118412EotGnM','API\x20key\x20with\x20Bearer\x20prefix.','10tXBzjf','Configuration\x20saved\x20successfully','MCP:\x20Unauthorized','Connecting...','Max\x20Retries','Failed\x20to\x20save\x20configuration','1306302DXWYpV','MCP\x20Connected'];_0x2e24=function(){return _0x27b332;};return _0x2e24();}
1
+ const _0x47654a=_0x4df7;(function(_0x3853ee,_0x2baee7){const _0x2038ca=_0x4df7,_0x5231ad=_0x3853ee();while(!![]){try{const _0x7be43=-parseInt(_0x2038ca(0x19e))/0x1+parseInt(_0x2038ca(0x18f))/0x2+parseInt(_0x2038ca(0x193))/0x3*(-parseInt(_0x2038ca(0x18c))/0x4)+parseInt(_0x2038ca(0x18b))/0x5*(parseInt(_0x2038ca(0x196))/0x6)+-parseInt(_0x2038ca(0x19a))/0x7+-parseInt(_0x2038ca(0x1a3))/0x8+parseInt(_0x2038ca(0x1ac))/0x9;if(_0x7be43===_0x2baee7)break;else _0x5231ad['push'](_0x5231ad['shift']());}catch(_0x40261c){_0x5231ad['push'](_0x5231ad['shift']());}}}(_0x65cd,0x3c5b9));function _0x65cd(){const _0x34b446=['Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Retrying...','15639165uVtGOZ','Max\x20Retries','MCP\x20Connecting...','Enter\x20your\x20API\x20key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20Steps:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Click\x20to\x20connect\x20MCP','MCP\x20Unknown\x20Status','11845kLuYTV','15460GyUORG','Enable\x20Authentication','Connected','320454ThQDKA','MCP\x20Configuration','API\x20Key','Save\x20Configuration','261miYNQL','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20configure\x20MCP','6LjLIbD','MCP\x20Retrying...','MCP\x20Disconnected','Invalid\x20configuration','2645776gnbnDu','Disconnected','Univer\x20AI\x20Console','Connection\x20Failed','480089XnPCCr','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','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','3669952yGUzks','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connected','API\x20key\x20is\x20required'];_0x65cd=function(){return _0x34b446;};return _0x65cd();}const e={'mcpStatus':{'disconnected':_0x47654a(0x198),'connecting':_0x47654a(0x1ae),'connected':_0x47654a(0x1a7),'failed':'MCP\x20Connection\x20Failed','retrying':_0x47654a(0x197),'unknown':_0x47654a(0x18a),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x47654a(0x189),'clickToConfigure':_0x47654a(0x195)},'mcpConfig':{'title':_0x47654a(0x190),'description':_0x47654a(0x1b4),'apiKey':_0x47654a(0x191),'apiKeyPlaceholder':_0x47654a(0x1af),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x47654a(0x18d),'enableAuthHint':_0x47654a(0x1a9),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x47654a(0x1a0),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x47654a(0x1b2),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x47654a(0x1a6),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x47654a(0x1b3),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x47654a(0x1ad),'save':_0x47654a(0x192),'saving':'Saving...','note1':_0x47654a(0x194),'note2':_0x47654a(0x1a4),'configSaved':_0x47654a(0x1a2),'configError':_0x47654a(0x1a1),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x47654a(0x19f),'univerAiLabel':_0x47654a(0x19c),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x47654a(0x1a8),'apiKeyTooShort':_0x47654a(0x1aa),'invalidConfig':_0x47654a(0x199),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x47654a(0x19b),'connecting':'Connecting...','connected':_0x47654a(0x18e),'failed':_0x47654a(0x19d),'retrying':_0x47654a(0x1ab)},'connectionError':{'unauthorized':_0x47654a(0x1b1),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x47654a(0x1b0),'maxRetriesExceeded':_0x47654a(0x1a5)}}},n=e;function _0x4df7(_0x4d77af,_0x27549b){const _0x65cdb2=_0x65cd();return _0x4df7=function(_0x4df78f,_0x27532c){_0x4df78f=_0x4df78f-0x189;let _0x4d583d=_0x65cdb2[_0x4df78f];return _0x4d583d;},_0x4df7(_0x4d77af,_0x27549b);}export{n as default};
@@ -1 +1 @@
1
- const _0x3c1442=_0x3f42;(function(_0x41462c,_0x56f80d){const _0x4be242=_0x3f42,_0x11c406=_0x41462c();while(!![]){try{const _0x3daa72=-parseInt(_0x4be242(0x150))/0x1*(parseInt(_0x4be242(0x175))/0x2)+parseInt(_0x4be242(0x160))/0x3+-parseInt(_0x4be242(0x16c))/0x4+parseInt(_0x4be242(0x15f))/0x5+parseInt(_0x4be242(0x157))/0x6+-parseInt(_0x4be242(0x17f))/0x7*(parseInt(_0x4be242(0x15e))/0x8)+parseInt(_0x4be242(0x15b))/0x9*(parseInt(_0x4be242(0x15d))/0xa);if(_0x3daa72===_0x56f80d)break;else _0x11c406['push'](_0x11c406['shift']());}catch(_0x117088){_0x11c406['push'](_0x11c406['shift']());}}}(_0x5a3e,0x654ff));function _0x5a3e(){const _0x418daf=['Enter\x20your\x20API\x20key','4RqOUbF','MCP\x20Disconnected','MCP:\x20Network\x20Error','Save\x20Configuration','Max\x20Retries','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','Enable\x20Authentication','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','21OBwKLF','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connected','API\x20key\x20with\x20Bearer\x20prefix.','80713oeqgWH','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','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.','MCP\x20Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Saving...','1818354sCpDMl','Invalid\x20configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Max\x20Retries\x20Exceeded','73485UkLoAn','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','1150wUPBTv','1834776dueFoj','878470pvuPHP','990663hcwsvC','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20configure\x20MCP','Click\x20to\x20connect\x20MCP','Connecting...','Configuration\x20saved\x20successfully','MCP\x20Connected','MCP\x20Client\x20Configuration','Session\x20ID','API\x20Key','Configuration\x20Parameters:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','1934028TjhjDD','What\x20is\x20API\x20Key?','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Configuration','MCP:\x20Unauthorized','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Disconnected','MCP\x20Unknown\x20Status'];_0x5a3e=function(){return _0x418daf;};return _0x5a3e();}function _0x3f42(_0x194a53,_0x48e6b3){const _0x5a3e89=_0x5a3e();return _0x3f42=function(_0x3f42e8,_0x2b6315){_0x3f42e8=_0x3f42e8-0x14f;let _0x1aa969=_0x5a3e89[_0x3f42e8];return _0x1aa969;},_0x3f42(_0x194a53,_0x48e6b3);}const e={'mcpStatus':{'disconnected':_0x3c1442(0x176),'connecting':_0x3c1442(0x154),'connected':_0x3c1442(0x166),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x3c1442(0x173),'unauthorized':_0x3c1442(0x170),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x3c1442(0x177),'maxRetriesExceeded':_0x3c1442(0x15a),'clickToConnect':_0x3c1442(0x163),'clickToConfigure':_0x3c1442(0x162)},'mcpConfig':{'title':_0x3c1442(0x16f),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x3c1442(0x169),'apiKeyPlaceholder':_0x3c1442(0x174),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x3c1442(0x17d),'enableAuthHint':_0x3c1442(0x16e),'connectionInfo':_0x3c1442(0x167),'mcpClientConfig':_0x3c1442(0x167),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x3c1442(0x152),'configStep2':_0x3c1442(0x15c),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x3c1442(0x168),'sessionIdDescription':_0x3c1442(0x153),'authorizationDescription':_0x3c1442(0x14f),'configParameters':_0x3c1442(0x16a),'maxRetries':_0x3c1442(0x179),'save':_0x3c1442(0x178),'saving':_0x3c1442(0x156),'note1':_0x3c1442(0x161),'note2':_0x3c1442(0x180),'configSaved':_0x3c1442(0x165),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3c1442(0x16d),'description':_0x3c1442(0x171),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x3c1442(0x17c)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x3c1442(0x17a),'invalidConfig':_0x3c1442(0x158),'invalidApiKey':_0x3c1442(0x155)},'connectionStatus':{'disconnected':_0x3c1442(0x172),'connecting':_0x3c1442(0x164),'connected':_0x3c1442(0x181),'failed':_0x3c1442(0x17b),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x3c1442(0x16b),'sessionOccupied':_0x3c1442(0x159),'networkError':_0x3c1442(0x17e),'maxRetriesExceeded':_0x3c1442(0x151)}}};export{e as default};
1
+ function _0x1344(){const _0xf2da72=['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.','Enable\x20Authentication','Invalid\x20configuration','12yFxpeo','MCP:\x20Unauthorized','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Unknown\x20Status','What\x20is\x20API\x20Key?','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','15180dJZDAH','MCP\x20Configuration','Configuration\x20Steps:','Connection\x20Failed','342zGyyZK','MCP\x20Connecting...','Configuration\x20Parameters:','API\x20Key','MCP:\x20Max\x20Retries\x20Exceeded','Click\x20to\x20connect\x20MCP','MCP:\x20Session\x20ID\x20Occupied','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20is\x20required','Enter\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Click\x20to\x20configure\x20MCP','Save\x20Configuration','Max\x20Retries','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20with\x20Bearer\x20prefix.','Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','70297QkOOQH','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','19817FgEsGc','81168WruEfY','MCP\x20Connection\x20Failed','444EBWopE','Configuration\x20saved\x20successfully','MCP\x20Client\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','3762oOKVoY','Univer\x20AI\x20Console','Disconnected','1405MCkeLl','10632440HYhzPy','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Network\x20Error','144948yTgomf','3454266vvTcOx'];_0x1344=function(){return _0xf2da72;};return _0x1344();}const _0x4e4b9e=_0x9791;(function(_0x709fb0,_0x48dc11){const _0x24a611=_0x9791,_0x3b6f35=_0x709fb0();while(!![]){try{const _0x3c678b=parseInt(_0x24a611(0xa9))/0x1*(parseInt(_0x24a611(0xc0))/0x2)+-parseInt(_0x24a611(0xbb))/0x3+-parseInt(_0x24a611(0xc6))/0x4*(parseInt(_0x24a611(0xb6))/0x5)+-parseInt(_0x24a611(0xaf))/0x6*(parseInt(_0x24a611(0xac))/0x7)+-parseInt(_0x24a611(0xad))/0x8*(parseInt(_0x24a611(0xca))/0x9)+-parseInt(_0x24a611(0xb7))/0xa+-parseInt(_0x24a611(0xb3))/0xb*(-parseInt(_0x24a611(0xba))/0xc);if(_0x3c678b===_0x48dc11)break;else _0x3b6f35['push'](_0x3b6f35['shift']());}catch(_0x38fc6b){_0x3b6f35['push'](_0x3b6f35['shift']());}}}(_0x1344,0xa5359));function _0x9791(_0x55a383,_0x14c66a){const _0x1344d9=_0x1344();return _0x9791=function(_0x9791ce,_0x35d55a){_0x9791ce=_0x9791ce-0xa1;let _0x30155f=_0x1344d9[_0x9791ce];return _0x30155f;},_0x9791(_0x55a383,_0x14c66a);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4e4b9e(0xcb),'connected':'MCP\x20Connected','failed':_0x4e4b9e(0xae),'retrying':_0x4e4b9e(0xab),'unknown':_0x4e4b9e(0xc3),'unauthorized':_0x4e4b9e(0xc1),'sessionOccupied':_0x4e4b9e(0xd0),'networkError':_0x4e4b9e(0xb9),'maxRetriesExceeded':_0x4e4b9e(0xce),'clickToConnect':_0x4e4b9e(0xcf),'clickToConfigure':_0x4e4b9e(0xa2)},'mcpConfig':{'title':_0x4e4b9e(0xc7),'description':_0x4e4b9e(0xa5),'apiKey':_0x4e4b9e(0xcd),'apiKeyPlaceholder':_0x4e4b9e(0xd3),'apiKeyHint':_0x4e4b9e(0xc2),'enableAuth':_0x4e4b9e(0xbe),'enableAuthHint':_0x4e4b9e(0xa8),'connectionInfo':_0x4e4b9e(0xb1),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4e4b9e(0xd1),'configStepTitle':_0x4e4b9e(0xc8),'configStep1':_0x4e4b9e(0xb8),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x4e4b9e(0xbd),'authorizationDescription':_0x4e4b9e(0xa6),'configParameters':_0x4e4b9e(0xcc),'maxRetries':_0x4e4b9e(0xa4),'save':_0x4e4b9e(0xa3),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4e4b9e(0xb0),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x4e4b9e(0xc4),'description':_0x4e4b9e(0xbc),'univerAiLabel':_0x4e4b9e(0xb4),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4e4b9e(0xd2),'apiKeyTooShort':_0x4e4b9e(0xb2),'invalidConfig':_0x4e4b9e(0xbf),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4e4b9e(0xb5),'connecting':_0x4e4b9e(0xa7),'connected':'Connected','failed':_0x4e4b9e(0xc9),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x4e4b9e(0xc5),'sessionOccupied':_0x4e4b9e(0xa1),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4e4b9e(0xaa)}}};export{e as default};
@@ -1 +1 @@
1
- const _0x3d24ad=_0xb495;(function(_0x24cc73,_0x42e37f){const _0x8bc6c8=_0xb495,_0x201992=_0x24cc73();while(!![]){try{const _0x3bddc1=parseInt(_0x8bc6c8(0x1f7))/0x1+-parseInt(_0x8bc6c8(0x1d7))/0x2*(parseInt(_0x8bc6c8(0x1d4))/0x3)+-parseInt(_0x8bc6c8(0x1e9))/0x4+parseInt(_0x8bc6c8(0x1e8))/0x5+-parseInt(_0x8bc6c8(0x1f5))/0x6*(parseInt(_0x8bc6c8(0x1e3))/0x7)+-parseInt(_0x8bc6c8(0x1f9))/0x8+parseInt(_0x8bc6c8(0x1f0))/0x9*(parseInt(_0x8bc6c8(0x1c8))/0xa);if(_0x3bddc1===_0x42e37f)break;else _0x201992['push'](_0x201992['shift']());}catch(_0x171aea){_0x201992['push'](_0x201992['shift']());}}}(_0x1635,0xb9e73));function _0xb495(_0x3cdef8,_0x117322){const _0x163549=_0x1635();return _0xb495=function(_0xb49570,_0x588170){_0xb49570=_0xb49570-0x1c2;let _0x2e5beb=_0x163549[_0xb49570];return _0x2e5beb;},_0xb495(_0x3cdef8,_0x117322);}const e={'mcpStatus':{'disconnected':_0x3d24ad(0x1c3),'connecting':_0x3d24ad(0x1df),'connected':_0x3d24ad(0x1f2),'failed':_0x3d24ad(0x1e5),'retrying':_0x3d24ad(0x1d6),'unknown':_0x3d24ad(0x1cc),'unauthorized':_0x3d24ad(0x1de),'sessionOccupied':_0x3d24ad(0x1cb),'networkError':_0x3d24ad(0x1e6),'maxRetriesExceeded':_0x3d24ad(0x1ca),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3d24ad(0x1da)},'mcpConfig':{'title':_0x3d24ad(0x1cd),'description':_0x3d24ad(0x1ef),'apiKey':_0x3d24ad(0x1c6),'apiKeyPlaceholder':_0x3d24ad(0x1d5),'apiKeyHint':_0x3d24ad(0x1d9),'enableAuth':_0x3d24ad(0x1e0),'enableAuthHint':_0x3d24ad(0x1ce),'connectionInfo':_0x3d24ad(0x1d8),'mcpClientConfig':_0x3d24ad(0x1d8),'configInstructions':_0x3d24ad(0x1e4),'configStepTitle':_0x3d24ad(0x1db),'configStep1':_0x3d24ad(0x1ea),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3d24ad(0x1c9),'sessionId':_0x3d24ad(0x1c2),'sessionIdDescription':_0x3d24ad(0x1ee),'authorizationDescription':_0x3d24ad(0x1c5),'configParameters':_0x3d24ad(0x1ed),'maxRetries':_0x3d24ad(0x1c7),'save':_0x3d24ad(0x1d1),'saving':'Saving...','note1':_0x3d24ad(0x1d2),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x3d24ad(0x1eb),'apiApplyInfo':{'title':_0x3d24ad(0x1e7),'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':_0x3d24ad(0x1f6),'getStarted':_0x3d24ad(0x1d3)},'validation':{'apiKeyRequired':_0x3d24ad(0x1f1),'apiKeyTooShort':_0x3d24ad(0x1ec),'invalidConfig':_0x3d24ad(0x1f4),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x3d24ad(0x1dd),'connecting':_0x3d24ad(0x1e2),'connected':_0x3d24ad(0x1f8),'failed':_0x3d24ad(0x1dc),'retrying':_0x3d24ad(0x1c4)},'connectionError':{'unauthorized':_0x3d24ad(0x1d0),'sessionOccupied':_0x3d24ad(0x1cf),'networkError':_0x3d24ad(0x1e1),'maxRetriesExceeded':_0x3d24ad(0x1f3)}}},n=e;export{n as default};function _0x1635(){const _0x3ba482=['What\x20is\x20API\x20Key?','5880465ybbzpY','461416SOvdOd','Copy\x20the\x20JSON\x20configuration\x20below','Failed\x20to\x20save\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Parameters:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','7859097EwBeZI','API\x20key\x20is\x20required','MCP\x20Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20configuration','1605354HKgRMA','Univer\x20AI\x20Console','901070jHZTEH','Connected','3339680rcxGsF','Session\x20ID','MCP\x20Disconnected','Retrying...','API\x20key\x20with\x20Bearer\x20prefix.','API\x20Key','Max\x20Retries','10WibvIn','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Unknown\x20Status','MCP\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Get\x20your\x20API\x20key\x20in\x20seconds','3363015mpLrMU','Enter\x20your\x20API\x20key','MCP\x20Retrying...','2fFfqef','MCP\x20Client\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20configure\x20MCP','Configuration\x20Steps:','Connection\x20Failed','Disconnected','MCP:\x20Unauthorized','MCP\x20Connecting...','Enable\x20Authentication','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connecting...','14XbdoJF','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connection\x20Failed','MCP:\x20Network\x20Error'];_0x1635=function(){return _0x3ba482;};return _0x1635();}
1
+ const _0x1f2462=_0x4d28;function _0x4d28(_0x12c437,_0x3afee3){const _0x124004=_0x1240();return _0x4d28=function(_0x4d28e7,_0x148316){_0x4d28e7=_0x4d28e7-0x18c;let _0x51236c=_0x124004[_0x4d28e7];return _0x51236c;},_0x4d28(_0x12c437,_0x3afee3);}(function(_0x2013ce,_0x5e6f32){const _0x1f4bc1=_0x4d28,_0x3a9be3=_0x2013ce();while(!![]){try{const _0x19ba22=parseInt(_0x1f4bc1(0x1a1))/0x1*(parseInt(_0x1f4bc1(0x1b7))/0x2)+-parseInt(_0x1f4bc1(0x1a5))/0x3+-parseInt(_0x1f4bc1(0x19c))/0x4*(parseInt(_0x1f4bc1(0x1ac))/0x5)+-parseInt(_0x1f4bc1(0x1ab))/0x6+parseInt(_0x1f4bc1(0x19e))/0x7*(parseInt(_0x1f4bc1(0x1ba))/0x8)+parseInt(_0x1f4bc1(0x194))/0x9*(parseInt(_0x1f4bc1(0x1bb))/0xa)+parseInt(_0x1f4bc1(0x190))/0xb;if(_0x19ba22===_0x5e6f32)break;else _0x3a9be3['push'](_0x3a9be3['shift']());}catch(_0x9ca458){_0x3a9be3['push'](_0x3a9be3['shift']());}}}(_0x1240,0x5718d));const e={'mcpStatus':{'disconnected':_0x1f2462(0x1ad),'connecting':_0x1f2462(0x19a),'connected':_0x1f2462(0x18d),'failed':'MCP\x20Connection\x20Failed','retrying':_0x1f2462(0x1a3),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x1f2462(0x19f),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x1f2462(0x1b0),'clickToConfigure':_0x1f2462(0x193)},'mcpConfig':{'title':_0x1f2462(0x1ae),'description':_0x1f2462(0x1a2),'apiKey':_0x1f2462(0x1b5),'apiKeyPlaceholder':_0x1f2462(0x197),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x1f2462(0x1a9),'enableAuthHint':_0x1f2462(0x1b6),'connectionInfo':_0x1f2462(0x19d),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x1f2462(0x1af),'configStepTitle':_0x1f2462(0x198),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x1f2462(0x1a8),'configStep3':_0x1f2462(0x1b1),'sessionId':_0x1f2462(0x18c),'sessionIdDescription':_0x1f2462(0x196),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x1f2462(0x1b2),'maxRetries':_0x1f2462(0x18e),'save':_0x1f2462(0x1a7),'saving':_0x1f2462(0x1a4),'note1':_0x1f2462(0x199),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x1f2462(0x1b3),'apiApplyInfo':{'title':_0x1f2462(0x1a6),'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':_0x1f2462(0x192),'getStarted':_0x1f2462(0x1b4)},'validation':{'apiKeyRequired':_0x1f2462(0x195),'apiKeyTooShort':_0x1f2462(0x19b),'invalidConfig':_0x1f2462(0x191),'invalidApiKey':_0x1f2462(0x1aa)},'connectionStatus':{'disconnected':_0x1f2462(0x1b9),'connecting':_0x1f2462(0x1a0),'connected':_0x1f2462(0x1bc),'failed':'Connection\x20Failed','retrying':_0x1f2462(0x1b8)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1f2462(0x18f),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};function _0x1240(){const _0x2c5d4d=['1324569xrlXTi','What\x20is\x20API\x20Key?','Save\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Enable\x20Authentication','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','701892wrVctn','213935BHQksN','MCP\x20Disconnected','MCP\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Parameters:','Failed\x20to\x20save\x20configuration','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20Key','Enable\x20authentication\x20for\x20secure\x20connections','20jbTKQH','Retrying...','Disconnected','2195928FBnTtC','4030safuOO','Connected','Session\x20ID','MCP\x20Connected','Max\x20Retries','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','5194310kdJQoL','Invalid\x20configuration','Univer\x20AI\x20Console','Click\x20to\x20configure\x20MCP','1494lHBMDS','API\x20key\x20is\x20required','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Enter\x20your\x20API\x20key','Configuration\x20Steps:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','20xqwwbh','MCP\x20Client\x20Configuration','7MZwhTJ','MCP:\x20Network\x20Error','Connecting...','31559OLGmXk','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Retrying...','Saving...'];_0x1240=function(){return _0x2c5d4d;};return _0x1240();}
@@ -1 +1 @@
1
- function _0x5a7e(_0x2c874a,_0x202be5){const _0x483aff=_0x483a();return _0x5a7e=function(_0x5a7eb3,_0x4b0a73){_0x5a7eb3=_0x5a7eb3-0x96;let _0xce6a6b=_0x483aff[_0x5a7eb3];return _0xce6a6b;},_0x5a7e(_0x2c874a,_0x202be5);}const _0x406f79=_0x5a7e;(function(_0x457db1,_0x2a8c6b){const _0xf048cd=_0x5a7e,_0x340506=_0x457db1();while(!![]){try{const _0xecc300=-parseInt(_0xf048cd(0xc1))/0x1*(-parseInt(_0xf048cd(0x9b))/0x2)+-parseInt(_0xf048cd(0xa2))/0x3*(-parseInt(_0xf048cd(0x99))/0x4)+parseInt(_0xf048cd(0xaf))/0x5+parseInt(_0xf048cd(0xb0))/0x6*(parseInt(_0xf048cd(0xbb))/0x7)+parseInt(_0xf048cd(0xb9))/0x8+-parseInt(_0xf048cd(0xb3))/0x9*(parseInt(_0xf048cd(0xc2))/0xa)+-parseInt(_0xf048cd(0xa8))/0xb;if(_0xecc300===_0x2a8c6b)break;else _0x340506['push'](_0x340506['shift']());}catch(_0x56a670){_0x340506['push'](_0x340506['shift']());}}}(_0x483a,0xe9780));function _0x483a(){const _0x1cd14e=['MCP\x20Connecting...','4817655dZNHOD','Configuration\x20saved\x20successfully','MCP\x20Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Unauthorized','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','725600ZLbCMe','API\x20key\x20is\x20required','2191OlQFkJ','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Saving...','Univer\x20AI\x20Console','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connected','24731ZemDaL','10ZeyXca','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Configuration','What\x20is\x20API\x20Key?','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Session\x20ID\x20Occupied','28376uFMaVU','MCP\x20Client\x20Configuration','146eNsXri','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20with\x20Bearer\x20prefix.','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Unknown\x20Status','Configuration\x20Steps:','372tINmPH','Click\x20to\x20connect\x20MCP','MCP\x20Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','Click\x20to\x20configure\x20MCP','20348251UTnGfv','Retrying...','API\x20Key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','Connected','2404410zXLpFb','1626aoCqMW','Disconnected'];_0x483a=function(){return _0x1cd14e;};return _0x483a();}const e={'mcpStatus':{'disconnected':_0x406f79(0xa4),'connecting':_0x406f79(0xb2),'connected':_0x406f79(0xc0),'failed':_0x406f79(0xb5),'retrying':_0x406f79(0xad),'unknown':_0x406f79(0xa0),'unauthorized':_0x406f79(0xb7),'sessionOccupied':_0x406f79(0x98),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x406f79(0x97),'clickToConnect':_0x406f79(0xa3),'clickToConfigure':_0x406f79(0xa7)},'mcpConfig':{'title':_0x406f79(0xc4),'description':_0x406f79(0xb8),'apiKey':_0x406f79(0xaa),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x406f79(0x9c),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x406f79(0x9a),'mcpClientConfig':_0x406f79(0x9a),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x406f79(0xa1),'configStep1':_0x406f79(0xb6),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x406f79(0xbf),'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':_0x406f79(0x9e),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x406f79(0xbd),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x406f79(0xab),'configSaved':_0x406f79(0xb4),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x406f79(0x96),'description':_0x406f79(0x9f),'univerAiLabel':_0x406f79(0xbe),'getStarted':_0x406f79(0xac)},'validation':{'apiKeyRequired':_0x406f79(0xba),'apiKeyTooShort':_0x406f79(0x9d),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x406f79(0xb1),'connecting':_0x406f79(0xa6),'connected':_0x406f79(0xae),'failed':'Connection\x20Failed','retrying':_0x406f79(0xa9)},'connectionError':{'unauthorized':_0x406f79(0xa5),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x406f79(0xbc),'maxRetriesExceeded':_0x406f79(0xc3)}}},n=e;export{n as default};
1
+ function _0x2d29(_0x413023,_0x2b1912){const _0x57ff08=_0x57ff();return _0x2d29=function(_0x2d292a,_0x89d2ca){_0x2d292a=_0x2d292a-0xc6;let _0x261f28=_0x57ff08[_0x2d292a];return _0x261f28;},_0x2d29(_0x413023,_0x2b1912);}const _0x34121e=_0x2d29;(function(_0x1e544f,_0x22153a){const _0x3bc493=_0x2d29,_0x2c8e34=_0x1e544f();while(!![]){try{const _0x231eba=parseInt(_0x3bc493(0xed))/0x1+-parseInt(_0x3bc493(0xe2))/0x2*(parseInt(_0x3bc493(0xe9))/0x3)+-parseInt(_0x3bc493(0xf3))/0x4*(-parseInt(_0x3bc493(0xcd))/0x5)+parseInt(_0x3bc493(0xf0))/0x6*(parseInt(_0x3bc493(0xc6))/0x7)+-parseInt(_0x3bc493(0xd5))/0x8+parseInt(_0x3bc493(0xe3))/0x9*(-parseInt(_0x3bc493(0xcb))/0xa)+-parseInt(_0x3bc493(0xd1))/0xb*(parseInt(_0x3bc493(0xe1))/0xc);if(_0x231eba===_0x22153a)break;else _0x2c8e34['push'](_0x2c8e34['shift']());}catch(_0x2d2918){_0x2c8e34['push'](_0x2c8e34['shift']());}}}(_0x57ff,0x894ca));function _0x57ff(){const _0x13c6d8=['1754850DysZGB','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','41320kQeUhM','MCP\x20Unknown\x20Status','MCP\x20Client\x20Configuration','Session\x20ID','55RyFPki','MCP\x20Connected','MCP\x20Connecting...','Saving...','146264VQDbEn','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20saved\x20successfully','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Max\x20Retries\x20Exceeded','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Invalid\x20configuration','1379496LoyHVW','2362hxhNgz','27XVlaxL','Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','Disconnected','MCP\x20Disconnected','Configuration\x20Steps:','147GLlPFt','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','What\x20is\x20API\x20Key?','API\x20key\x20with\x20Bearer\x20prefix.','485833RDXGFM','Enter\x20your\x20API\x20key','MCP:\x20Unauthorized','6750PFWZOv','Click\x20to\x20connect\x20MCP','Max\x20Retries','412BwumZM','Univer\x20AI\x20Console','2506FTmJEz','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Save\x20Configuration','MCP:\x20Network\x20Error','MCP\x20Configuration'];_0x57ff=function(){return _0x13c6d8;};return _0x57ff();}const e={'mcpStatus':{'disconnected':_0x34121e(0xe7),'connecting':_0x34121e(0xd3),'connected':_0x34121e(0xd2),'failed':_0x34121e(0xd7),'retrying':'MCP\x20Retrying...','unknown':_0x34121e(0xce),'unauthorized':_0x34121e(0xef),'sessionOccupied':_0x34121e(0xd9),'networkError':_0x34121e(0xc9),'maxRetriesExceeded':_0x34121e(0xdd),'clickToConnect':_0x34121e(0xf1),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x34121e(0xca),'description':_0x34121e(0xd6),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x34121e(0xee),'apiKeyHint':_0x34121e(0xcc),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x34121e(0xe5),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x34121e(0xcf),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x34121e(0xe8),'configStep1':_0x34121e(0xdc),'configStep2':_0x34121e(0xea),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x34121e(0xd0),'sessionIdDescription':_0x34121e(0xde),'authorizationDescription':_0x34121e(0xec),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x34121e(0xf2),'save':_0x34121e(0xc8),'saving':_0x34121e(0xd4),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x34121e(0xc7),'configSaved':_0x34121e(0xdb),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x34121e(0xeb),'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':_0x34121e(0xf4),'getStarted':_0x34121e(0xd8)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x34121e(0xda),'invalidConfig':_0x34121e(0xe0),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x34121e(0xe6),'connecting':_0x34121e(0xe4),'connected':'Connected','failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x34121e(0xdf),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
@@ -1 +1 @@
1
- const _0x27d775=_0x5840;function _0x5840(_0x2b3e39,_0xee78a0){const _0x1b17bf=_0x1b17();return _0x5840=function(_0x584097,_0x4c9594){_0x584097=_0x584097-0xc2;let _0x46d5f4=_0x1b17bf[_0x584097];return _0x46d5f4;},_0x5840(_0x2b3e39,_0xee78a0);}(function(_0xde52cd,_0xf2e750){const _0x37f466=_0x5840,_0xcda05f=_0xde52cd();while(!![]){try{const _0x82a9d=-parseInt(_0x37f466(0xd9))/0x1+-parseInt(_0x37f466(0xdf))/0x2+parseInt(_0x37f466(0xf7))/0x3*(parseInt(_0x37f466(0xce))/0x4)+parseInt(_0x37f466(0xde))/0x5*(-parseInt(_0x37f466(0xcf))/0x6)+-parseInt(_0x37f466(0xf6))/0x7+-parseInt(_0x37f466(0xe3))/0x8+parseInt(_0x37f466(0xdc))/0x9;if(_0x82a9d===_0xf2e750)break;else _0xcda05f['push'](_0xcda05f['shift']());}catch(_0x20a94e){_0xcda05f['push'](_0xcda05f['shift']());}}}(_0x1b17,0x71558));function _0x1b17(){const _0x5a369d=['Configuration\x20Steps:','MCP:\x20Max\x20Retries\x20Exceeded','Connected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','838711fJxQic','MCP\x20Connecting...','MCP\x20Retrying...','20008899AYwblA','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','333755JdCsSz','1375152LtmVSB','What\x20is\x20API\x20Key?','Saving...','MCP\x20Configuration','977544EpEdkx','Click\x20to\x20connect\x20MCP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Session\x20ID','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enable\x20Authentication','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Max\x20Retries','MCP\x20Disconnected','Univer\x20AI\x20Console','MCP:\x20Unauthorized','MCP\x20Unknown\x20Status','MCP\x20Client\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connection\x20Failed','Retrying...','3194513wUUIEK','2439303beRxkV','Failed\x20to\x20save\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20saved\x20successfully','Click\x20to\x20configure\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20Parameters:','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20is\x20required','Connecting...','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.','Save\x20Configuration','4bPoTbE','42wTyUZk','MCP:\x20Network\x20Error','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection'];_0x1b17=function(){return _0x5a369d;};return _0x1b17();}const e={'mcpStatus':{'disconnected':_0x27d775(0xee),'connecting':_0x27d775(0xda),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x27d775(0xdb),'unknown':_0x27d775(0xf1),'unauthorized':_0x27d775(0xf0),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x27d775(0xd0),'maxRetriesExceeded':_0x27d775(0xd3),'clickToConnect':_0x27d775(0xe4),'clickToConfigure':_0x27d775(0xc5)},'mcpConfig':{'title':_0x27d775(0xe2),'description':_0x27d775(0xe7),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x27d775(0xec),'enableAuth':_0x27d775(0xe8),'enableAuthHint':_0x27d775(0xe9),'connectionInfo':_0x27d775(0xf2),'mcpClientConfig':_0x27d775(0xf2),'configInstructions':_0x27d775(0xd6),'configStepTitle':_0x27d775(0xd2),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x27d775(0xcb),'configStep3':_0x27d775(0xe5),'sessionId':_0x27d775(0xe6),'sessionIdDescription':_0x27d775(0xcc),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x27d775(0xc7),'maxRetries':_0x27d775(0xed),'save':_0x27d775(0xcd),'saving':_0x27d775(0xe1),'note1':_0x27d775(0xd7),'note2':_0x27d775(0xf3),'configSaved':_0x27d775(0xc4),'configError':_0x27d775(0xc2),'apiApplyInfo':{'title':_0x27d775(0xe0),'description':_0x27d775(0xd8),'univerAiLabel':_0x27d775(0xef),'getStarted':_0x27d775(0xc8)},'validation':{'apiKeyRequired':_0x27d775(0xc9),'apiKeyTooShort':_0x27d775(0xc3),'invalidConfig':_0x27d775(0xea),'invalidApiKey':_0x27d775(0xd5)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x27d775(0xca),'connected':_0x27d775(0xd4),'failed':_0x27d775(0xf4),'retrying':_0x27d775(0xf5)},'connectionError':{'unauthorized':_0x27d775(0xdd),'sessionOccupied':_0x27d775(0xc6),'networkError':_0x27d775(0xd1),'maxRetriesExceeded':_0x27d775(0xeb)}}},n=e;export{n as default};
1
+ const _0x1b8b54=_0x15a1;(function(_0x1ba264,_0x564fd8){const _0x196a70=_0x15a1,_0x2f507f=_0x1ba264();while(!![]){try{const _0x71506d=-parseInt(_0x196a70(0xaf))/0x1+-parseInt(_0x196a70(0xb7))/0x2*(parseInt(_0x196a70(0xd0))/0x3)+parseInt(_0x196a70(0xb4))/0x4*(parseInt(_0x196a70(0xb8))/0x5)+parseInt(_0x196a70(0xb5))/0x6*(-parseInt(_0x196a70(0xba))/0x7)+parseInt(_0x196a70(0xcf))/0x8+-parseInt(_0x196a70(0xc8))/0x9+parseInt(_0x196a70(0xa8))/0xa*(parseInt(_0x196a70(0xa5))/0xb);if(_0x71506d===_0x564fd8)break;else _0x2f507f['push'](_0x2f507f['shift']());}catch(_0x646eec){_0x2f507f['push'](_0x2f507f['shift']());}}}(_0x3ada,0x924ff));function _0x15a1(_0x2c4e9b,_0x512f95){const _0x3ada23=_0x3ada();return _0x15a1=function(_0x15a1f7,_0x409c2f){_0x15a1f7=_0x15a1f7-0xa1;let _0x295e8e=_0x3ada23[_0x15a1f7];return _0x295e8e;},_0x15a1(_0x2c4e9b,_0x512f95);}const e={'mcpStatus':{'disconnected':_0x1b8b54(0xaa),'connecting':_0x1b8b54(0xb6),'connected':_0x1b8b54(0xbb),'failed':_0x1b8b54(0xa7),'retrying':_0x1b8b54(0xc7),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x1b8b54(0xc9),'sessionOccupied':_0x1b8b54(0xc3),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x1b8b54(0xb1),'clickToConnect':_0x1b8b54(0xb3),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1b8b54(0xc6),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1b8b54(0xcc),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x1b8b54(0xc0),'enableAuthHint':_0x1b8b54(0xad),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x1b8b54(0xb2),'configStepTitle':_0x1b8b54(0xbc),'configStep1':_0x1b8b54(0xbd),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x1b8b54(0xb0),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x1b8b54(0xa6),'maxRetries':_0x1b8b54(0xc2),'save':_0x1b8b54(0xca),'saving':_0x1b8b54(0xa9),'note1':_0x1b8b54(0xb9),'note2':_0x1b8b54(0xbe),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x1b8b54(0xa4),'apiApplyInfo':{'title':_0x1b8b54(0xcb),'description':_0x1b8b54(0xc4),'univerAiLabel':_0x1b8b54(0xcd),'getStarted':_0x1b8b54(0xa2)},'validation':{'apiKeyRequired':_0x1b8b54(0xae),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x1b8b54(0xa3),'invalidApiKey':_0x1b8b54(0xbf)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x1b8b54(0xa1),'failed':'Connection\x20Failed','retrying':_0x1b8b54(0xc5)},'connectionError':{'unauthorized':_0x1b8b54(0xab),'sessionOccupied':_0x1b8b54(0xc1),'networkError':_0x1b8b54(0xce),'maxRetriesExceeded':_0x1b8b54(0xac)}}},n=e;function _0x3ada(){const _0x787d32=['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','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','4ndHjbA','2111514gtIbPV','MCP\x20Connecting...','2317224XnCgdt','634645bzhiFC','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','7cGljva','MCP\x20Connected','Configuration\x20Steps:','Copy\x20the\x20JSON\x20configuration\x20below','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20Authentication','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Max\x20Retries','MCP:\x20Session\x20ID\x20Occupied','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Retrying...','MCP\x20Configuration','MCP\x20Retrying...','7101288bbdFsW','MCP:\x20Unauthorized','Save\x20Configuration','What\x20is\x20API\x20Key?','API\x20Key','Univer\x20AI\x20Console','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2992920eywUNY','3BpzQZT','Connected','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20configuration','Failed\x20to\x20save\x20configuration','869cJHcxQ','Configuration\x20Parameters:','MCP\x20Connection\x20Failed','360970aPytBS','Saving...','MCP\x20Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20is\x20required','453849gQMmzV'];_0x3ada=function(){return _0x787d32;};return _0x3ada();}export{n as default};
@@ -1 +1 @@
1
- const _0x85a038=_0x2816;function _0x47f9(){const _0x2e9786=['Enter\x20your\x20API\x20key','MCP\x20Connected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1052708RnDUkW','Session\x20ID','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20is\x20required','144615QnPmoE','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','2757490rkNaaY','89168lcwHGT','Save\x20Configuration','3bwPrgG','MCP\x20Client\x20Configuration','What\x20is\x20API\x20Key?','MCP:\x20Session\x20ID\x20Occupied','317765JHNmxr','9gpwCkQ','Univer\x20AI\x20Console','Configuration\x20Steps:','8LytLJj','Click\x20to\x20configure\x20MCP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20connect\x20MCP','MCP\x20Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','MCP\x20Connection\x20Failed','Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','3096654Alzruy','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Unauthorized','Configuration\x20saved\x20successfully','API\x20key\x20with\x20Bearer\x20prefix.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','1307574roFaQE','Invalid\x20configuration','MCP\x20Unknown\x20Status','Failed\x20to\x20save\x20configuration','Connected','10RbdvYL','MCP:\x20Max\x20Retries\x20Exceeded'];_0x47f9=function(){return _0x2e9786;};return _0x47f9();}function _0x2816(_0xa7a58f,_0x37e2ff){const _0x47f99a=_0x47f9();return _0x2816=function(_0x2816b5,_0x59f889){_0x2816b5=_0x2816b5-0x1b3;let _0x42e69b=_0x47f99a[_0x2816b5];return _0x42e69b;},_0x2816(_0xa7a58f,_0x37e2ff);}(function(_0x2e9434,_0x241a22){const _0x1db061=_0x2816,_0x36a752=_0x2e9434();while(!![]){try{const _0x254e04=parseInt(_0x1db061(0x1cb))/0x1+-parseInt(_0x1db061(0x1cf))/0x2+-parseInt(_0x1db061(0x1d1))/0x3*(-parseInt(_0x1db061(0x1c7))/0x4)+parseInt(_0x1db061(0x1c2))/0x5*(parseInt(_0x1db061(0x1bd))/0x6)+parseInt(_0x1db061(0x1d5))/0x7*(parseInt(_0x1db061(0x1d9))/0x8)+-parseInt(_0x1db061(0x1d6))/0x9*(parseInt(_0x1db061(0x1ce))/0xa)+-parseInt(_0x1db061(0x1b7))/0xb;if(_0x254e04===_0x241a22)break;else _0x36a752['push'](_0x36a752['shift']());}catch(_0x2079d0){_0x36a752['push'](_0x36a752['shift']());}}}(_0x47f9,0x461de));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x85a038(0x1df),'connected':_0x85a038(0x1c5),'failed':_0x85a038(0x1b4),'retrying':'MCP\x20Retrying...','unknown':_0x85a038(0x1bf),'unauthorized':_0x85a038(0x1b9),'sessionOccupied':_0x85a038(0x1d4),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x85a038(0x1c3),'clickToConnect':_0x85a038(0x1de),'clickToConfigure':_0x85a038(0x1da)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x85a038(0x1b8),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x85a038(0x1c4),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x85a038(0x1d2),'mcpClientConfig':_0x85a038(0x1d2),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x85a038(0x1d8),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x85a038(0x1cd),'configStep3':_0x85a038(0x1dd),'sessionId':_0x85a038(0x1c8),'sessionIdDescription':_0x85a038(0x1c6),'authorizationDescription':_0x85a038(0x1bb),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x85a038(0x1d0),'saving':'Saving...','note1':_0x85a038(0x1cc),'note2':_0x85a038(0x1dc),'configSaved':_0x85a038(0x1ba),'configError':_0x85a038(0x1c0),'apiApplyInfo':{'title':_0x85a038(0x1d3),'description':_0x85a038(0x1db),'univerAiLabel':_0x85a038(0x1d7),'getStarted':_0x85a038(0x1c9)},'validation':{'apiKeyRequired':_0x85a038(0x1ca),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x85a038(0x1be),'invalidApiKey':_0x85a038(0x1e0)},'connectionStatus':{'disconnected':_0x85a038(0x1b3),'connecting':'Connecting...','connected':_0x85a038(0x1c1),'failed':_0x85a038(0x1b5),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x85a038(0x1bc),'networkError':_0x85a038(0x1b6),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
1
+ function _0x599b(){const _0x2df1c2=['MCP\x20Unknown\x20Status','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','189GFpRYd','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','145338qGmLUI','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Get\x20your\x20API\x20key\x20in\x20seconds','Enter\x20your\x20API\x20key','Enable\x20authentication\x20for\x20secure\x20connections','76529FaEffF','MCP\x20Configuration','Failed\x20to\x20save\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','9ArjBmf','Copy\x20the\x20JSON\x20configuration\x20below','Save\x20Configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1884944UhPYss','API\x20key\x20with\x20Bearer\x20prefix.','Max\x20Retries','Enable\x20Authentication','Connection\x20Failed','MCP\x20Connecting...','API\x20key\x20is\x20required','Univer\x20AI\x20Console','203885fzKjKR','Configuration\x20Steps:','2173745MUkChO','200GsiGvL','1812ZMvzOY','Disconnected','MCP\x20Connected','MCP:\x20Max\x20Retries\x20Exceeded','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Retrying...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Retrying...','Click\x20to\x20connect\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20Key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2780BVgiOs','2616296wEhCme','MCP\x20Client\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connection\x20Failed','Invalid\x20configuration'];_0x599b=function(){return _0x2df1c2;};return _0x599b();}const _0x2d307b=_0x3d14;function _0x3d14(_0x474472,_0x3e2871){const _0x599b84=_0x599b();return _0x3d14=function(_0x3d14e0,_0x215fc9){_0x3d14e0=_0x3d14e0-0xaa;let _0xa13e13=_0x599b84[_0x3d14e0];return _0xa13e13;},_0x3d14(_0x474472,_0x3e2871);}(function(_0x1b7f21,_0x403545){const _0x3311c7=_0x3d14,_0x46add7=_0x1b7f21();while(!![]){try{const _0x315312=-parseInt(_0x3311c7(0xd9))/0x1+parseInt(_0x3311c7(0xc8))/0x2*(parseInt(_0x3311c7(0xba))/0x3)+-parseInt(_0x3311c7(0xc9))/0x4+-parseInt(_0x3311c7(0xb8))/0x5+-parseInt(_0x3311c7(0xd4))/0x6*(-parseInt(_0x3311c7(0xd2))/0x7)+-parseInt(_0x3311c7(0xae))/0x8*(parseInt(_0x3311c7(0xaa))/0x9)+parseInt(_0x3311c7(0xb9))/0xa*(parseInt(_0x3311c7(0xb6))/0xb);if(_0x315312===_0x403545)break;else _0x46add7['push'](_0x46add7['shift']());}catch(_0x5f3b9b){_0x46add7['push'](_0x46add7['shift']());}}}(_0x599b,0x711cf));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x2d307b(0xb3),'connected':_0x2d307b(0xbc),'failed':_0x2d307b(0xce),'retrying':_0x2d307b(0xc0),'unknown':_0x2d307b(0xd0),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x2d307b(0xbf),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x2d307b(0xbd),'clickToConnect':_0x2d307b(0xc3),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2d307b(0xda),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2d307b(0xc6),'apiKeyPlaceholder':_0x2d307b(0xd7),'apiKeyHint':_0x2d307b(0xcd),'enableAuth':_0x2d307b(0xb1),'enableAuthHint':_0x2d307b(0xd8),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2d307b(0xca),'configInstructions':_0x2d307b(0xc1),'configStepTitle':_0x2d307b(0xb7),'configStep1':_0x2d307b(0xab),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x2d307b(0xbe),'sessionId':'Session\x20ID','sessionIdDescription':_0x2d307b(0xad),'authorizationDescription':_0x2d307b(0xaf),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x2d307b(0xb0),'save':_0x2d307b(0xac),'saving':'Saving...','note1':_0x2d307b(0xd1),'note2':_0x2d307b(0xdc),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x2d307b(0xdb),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2d307b(0xc5),'univerAiLabel':_0x2d307b(0xb5),'getStarted':_0x2d307b(0xd6)},'validation':{'apiKeyRequired':_0x2d307b(0xb4),'apiKeyTooShort':_0x2d307b(0xd3),'invalidConfig':_0x2d307b(0xcf),'invalidApiKey':_0x2d307b(0xc4)},'connectionStatus':{'disconnected':_0x2d307b(0xbb),'connecting':'Connecting...','connected':'Connected','failed':_0x2d307b(0xb2),'retrying':_0x2d307b(0xc2)},'connectionError':{'unauthorized':_0x2d307b(0xcc),'sessionOccupied':_0x2d307b(0xcb),'networkError':_0x2d307b(0xc7),'maxRetriesExceeded':_0x2d307b(0xd5)}}},n=e;export{n as default};