@univerjs-pro/mcp-ui 0.15.0-insiders.20260107-3d1cfdf → 0.15.0-insiders.20260108-47c73e3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/ca-ES.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/es-ES.js +1 -1
  41. package/lib/umd/locale/fa-IR.js +1 -1
  42. package/lib/umd/locale/fr-FR.js +1 -1
  43. package/lib/umd/locale/ja-JP.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +8 -8
@@ -1 +1 @@
1
- function _0x1af7(_0x44fcef,_0x2dcf90){_0x44fcef=_0x44fcef-0x1c5;const _0x15b251=_0x15b2();let _0x1af70a=_0x15b251[_0x44fcef];return _0x1af70a;}const _0x53a439=_0x1af7;(function(_0x37d1f9,_0x11818e){const _0x14de4c=_0x1af7,_0x5c3e43=_0x37d1f9();while(!![]){try{const _0x3e2d89=parseInt(_0x14de4c(0x1e9))/0x1*(-parseInt(_0x14de4c(0x1e1))/0x2)+-parseInt(_0x14de4c(0x1d4))/0x3+parseInt(_0x14de4c(0x1cc))/0x4*(-parseInt(_0x14de4c(0x1d1))/0x5)+parseInt(_0x14de4c(0x1fa))/0x6*(-parseInt(_0x14de4c(0x1e5))/0x7)+parseInt(_0x14de4c(0x1e3))/0x8*(parseInt(_0x14de4c(0x1ea))/0x9)+parseInt(_0x14de4c(0x1de))/0xa+parseInt(_0x14de4c(0x1c7))/0xb*(parseInt(_0x14de4c(0x1df))/0xc);if(_0x3e2d89===_0x11818e)break;else _0x5c3e43['push'](_0x5c3e43['shift']());}catch(_0x4cccfe){_0x5c3e43['push'](_0x5c3e43['shift']());}}}(_0x15b2,0x578c2));const e={'mcpStatus':{'disconnected':'MCP\x20연결\x20끊김','connecting':_0x53a439(0x1f2),'connected':_0x53a439(0x1f9),'failed':'MCP\x20연결\x20실패','retrying':_0x53a439(0x1d8),'unknown':_0x53a439(0x1eb),'unauthorized':_0x53a439(0x1f1),'sessionOccupied':_0x53a439(0x1e2),'networkError':_0x53a439(0x1f5),'maxRetriesExceeded':_0x53a439(0x1e7),'clickToConnect':'클릭하여\x20MCP\x20연결','clickToConfigure':_0x53a439(0x1f4)},'mcpConfig':{'title':_0x53a439(0x1d0),'description':_0x53a439(0x1e6),'apiKey':'API\x20','apiKeyPlaceholder':_0x53a439(0x1f7),'apiKeyHint':'API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','enableAuth':_0x53a439(0x1f3),'enableAuthHint':_0x53a439(0x1f8),'connectionInfo':_0x53a439(0x1f6),'mcpClientConfig':_0x53a439(0x1f6),'configInstructions':_0x53a439(0x1c9),'configStepTitle':_0x53a439(0x1cb),'configStep1':_0x53a439(0x1d5),'configStep2':_0x53a439(0x1e0),'configStep3':'MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','sessionId':'세션\x20ID','sessionIdDescription':_0x53a439(0x1f0),'authorizationDescription':_0x53a439(0x1d3),'configParameters':_0x53a439(0x1ef),'maxRetries':_0x53a439(0x1e4),'save':_0x53a439(0x1dc),'saving':_0x53a439(0x1ca),'note1':_0x53a439(0x1ce),'note2':_0x53a439(0x1d7),'configSaved':_0x53a439(0x1cf),'configError':'설정\x20저장\x20실패','apiApplyInfo':{'title':_0x53a439(0x1da),'description':_0x53a439(0x1cd),'univerAiLabel':_0x53a439(0x1e8),'getStarted':_0x53a439(0x1db)},'validation':{'apiKeyRequired':_0x53a439(0x1d6),'apiKeyTooShort':_0x53a439(0x1d2),'invalidConfig':_0x53a439(0x1dd),'invalidApiKey':_0x53a439(0x1c5)},'connectionStatus':{'disconnected':_0x53a439(0x1ee),'connecting':_0x53a439(0x1c6),'connected':_0x53a439(0x1d9),'failed':_0x53a439(0x1c8),'retrying':'재시도\x20중...'},'connectionError':{'unauthorized':'인증\x20실패.\x20API\x20키를\x20확인하세요','sessionOccupied':_0x53a439(0x1ed),'networkError':'네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','maxRetriesExceeded':_0x53a439(0x1ec)}}};function _0x15b2(){const _0x49db9d=['346LOGfnJ','MCP:\x20세션\x20ID\x20사용\x20중','959736GAMxCN','최대\x20재시도\x20횟수','973TvlDSv','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','MCP:\x20최대\x20재시도\x20횟수\x20초과','Univer\x20AI\x20콘솔','3805xwkiAa','45avHEII','MCP\x20알\x20수\x20없는\x20상태','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','연결\x20끊김','설정\x20매개변수:','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','MCP:\x20인증되지\x20않음','MCP\x20연결\x20중...','인증\x20활성화','클릭하여\x20MCP\x20설정','MCP:\x20네트워크\x20오류','MCP\x20클라이언트\x20설정','API\x20키를\x20입력하세요','보안\x20연결을\x20위해\x20인증\x20활성화','MCP\x20연결됨','498lnaPyu','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','연결\x20중...','22aowvxZ','연결\x20실패','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','저장\x20중...','설정\x20단계:','104MPTTTJ','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','설정이\x20성공적으로\x20저장되었습니다','MCP\x20설정','13505kBKwrH','API\x20키는\x2010자\x20이상이어야\x20합니다','Bearer\x20접두사가\x20있는\x20API\x20키.','1885671KEdvxx','아래\x20JSON\x20설정\x20복사','API\x20키는\x20필수입니다','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','MCP\x20재시도\x20중...','연결됨','API\x20키란\x20무엇인가요?','몇\x20초\x20만에\x20API\x20키\x20발급받기','설정\x20저장','유효하지\x20않은\x20설정','2117180FffXuW','5493756GUcJds','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가'];_0x15b2=function(){return _0x49db9d;};return _0x15b2();}export{e as default};
1
+ function _0x1b9a(){const _0x558211=['네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','3656349YaOoPb','MCP\x20클라이언트\x20설정','MCP\x20알\x20수\x20없는\x20상태','36910bmesIX','설정\x20저장','175302FKxiiY','17832cDUwVX','MCP\x20재시도\x20중...','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','클릭하여\x20MCP\x20연결','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','MCP\x20연결\x20실패','1498ZefUlE','연결\x20실패','Univer\x20AI\x20콘솔','MCP:\x20세션\x20ID\x20사용\x20중','3OKETNh','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','저장\x20중...','268WupEaa','연결\x20끊김','설정\x20단계:','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','18220708NhRRLd','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','4861264gShmVr','MCP:\x20인증되지\x20않음','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','설정\x20매개변수:','설정\x20저장\x20실패','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','MCP:\x20네트워크\x20오류','API\x20키는\x20필수입니다','MCP\x20연결\x20중...','세션\x20ID','539931WaRYQM','10AGDUNP','설정이\x20성공적으로\x20저장되었습니다','보안\x20연결을\x20위해\x20인증\x20활성화','몇\x20초\x20만에\x20API\x20키\x20발급받기','MCP:\x20최대\x20재시도\x20횟수\x20초과','연결\x20중...','API\x20키','아래\x20JSON\x20설정\x20복사'];_0x1b9a=function(){return _0x558211;};return _0x1b9a();}const _0x12b158=_0x5211;function _0x5211(_0x24e2be,_0x4e9cbe){_0x24e2be=_0x24e2be-0xae;const _0x1b9a6c=_0x1b9a();let _0x52115c=_0x1b9a6c[_0x24e2be];return _0x52115c;}(function(_0x437146,_0x549699){const _0x49d3a3=_0x5211,_0x3a1569=_0x437146();while(!![]){try{const _0x4abf5b=-parseInt(_0x49d3a3(0xc1))/0x1*(parseInt(_0x49d3a3(0xb6))/0x2)+-parseInt(_0x49d3a3(0xd6))/0x3+-parseInt(_0x49d3a3(0xc4))/0x4*(parseInt(_0x49d3a3(0xb4))/0x5)+-parseInt(_0x49d3a3(0xb7))/0x6*(-parseInt(_0x49d3a3(0xbd))/0x7)+-parseInt(_0x49d3a3(0xcc))/0x8+-parseInt(_0x49d3a3(0xb1))/0x9*(parseInt(_0x49d3a3(0xd7))/0xa)+parseInt(_0x49d3a3(0xca))/0xb;if(_0x4abf5b===_0x549699)break;else _0x3a1569['push'](_0x3a1569['shift']());}catch(_0x1147b8){_0x3a1569['push'](_0x3a1569['shift']());}}}(_0x1b9a,0x53401));const e={'mcpStatus':{'disconnected':'MCP\x20연결\x20끊김','connecting':_0x12b158(0xd4),'connected':'MCP\x20연결됨','failed':_0x12b158(0xbc),'retrying':_0x12b158(0xb8),'unknown':_0x12b158(0xb3),'unauthorized':_0x12b158(0xcd),'sessionOccupied':_0x12b158(0xc0),'networkError':_0x12b158(0xd2),'maxRetriesExceeded':_0x12b158(0xdb),'clickToConnect':_0x12b158(0xba),'clickToConfigure':'클릭하여\x20MCP\x20설정'},'mcpConfig':{'title':'MCP\x20설정','description':_0x12b158(0xbb),'apiKey':_0x12b158(0xae),'apiKeyPlaceholder':'API\x20키를\x20입력하세요','apiKeyHint':_0x12b158(0xc2),'enableAuth':'인증\x20활성화','enableAuthHint':_0x12b158(0xd9),'connectionInfo':_0x12b158(0xb2),'mcpClientConfig':_0x12b158(0xb2),'configInstructions':'MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','configStepTitle':_0x12b158(0xc6),'configStep1':_0x12b158(0xaf),'configStep2':'MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','configStep3':_0x12b158(0xc7),'sessionId':_0x12b158(0xd5),'sessionIdDescription':_0x12b158(0xd1),'authorizationDescription':'Bearer\x20접두사가\x20있는\x20API\x20키.','configParameters':_0x12b158(0xcf),'maxRetries':'최대\x20재시도\x20횟수','save':_0x12b158(0xb5),'saving':_0x12b158(0xc3),'note1':_0x12b158(0xcb),'note2':'API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','configSaved':_0x12b158(0xd8),'configError':_0x12b158(0xd0),'apiApplyInfo':{'title':'API\x20키란\x20무엇인가요?','description':_0x12b158(0xc8),'univerAiLabel':_0x12b158(0xbf),'getStarted':_0x12b158(0xda)},'validation':{'apiKeyRequired':_0x12b158(0xd3),'apiKeyTooShort':'API\x20키는\x2010자\x20이상이어야\x20합니다','invalidConfig':'유효하지\x20않은\x20설정','invalidApiKey':_0x12b158(0xc9)},'connectionStatus':{'disconnected':_0x12b158(0xc5),'connecting':_0x12b158(0xdc),'connected':'연결됨','failed':_0x12b158(0xbe),'retrying':'재시도\x20중...'},'connectionError':{'unauthorized':'인증\x20실패.\x20API\x20키를\x20확인하세요','sessionOccupied':_0x12b158(0xce),'networkError':_0x12b158(0xb0),'maxRetriesExceeded':_0x12b158(0xb9)}}};export{e as default};
@@ -1 +1 @@
1
- function _0x4dd8(){const _0xe25a3b=['MCP\x20Configuration','1611810eMUNLA','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Network\x20Error','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','139192NSUzto','Retrying...','API\x20Key','504357tNbiXn','Configuration\x20Steps:','Saving...','Failed\x20to\x20save\x20configuration','5685050GNMbHF','70LVwhYx','Connection\x20Failed','Session\x20ID','MCP\x20Connection\x20Failed','Save\x20Configuration','129988YMiFqB','Configuration\x20saved\x20successfully','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','5884440QjExUB','MCP\x20Connected','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Unknown\x20Status','6eQhNIv','66mMOKgK','Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Retrying...','MCP\x20Client\x20Configuration','Configuration\x20Parameters:','Max\x20Retries','API\x20key\x20is\x20required','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Disconnected','MCP:\x20Unauthorized','What\x20is\x20API\x20Key?','Enable\x20Authentication','403963fIjfEL','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Univer\x20AI\x20Console','Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connecting...','API\x20key\x20with\x20Bearer\x20prefix.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Enter\x20your\x20API\x20key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later'];_0x4dd8=function(){return _0xe25a3b;};return _0x4dd8();}const _0x2ff301=_0x3dc0;(function(_0x41ff21,_0x34100b){const _0x496370=_0x3dc0,_0x282ed8=_0x41ff21();while(!![]){try{const _0x13c3da=parseInt(_0x496370(0x180))/0x1*(parseInt(_0x496370(0x196))/0x2)+parseInt(_0x496370(0x183))/0x3+parseInt(_0x496370(0x18d))/0x4*(parseInt(_0x496370(0x188))/0x5)+parseInt(_0x496370(0x197))/0x6*(parseInt(_0x496370(0x1a5))/0x7)+-parseInt(_0x496370(0x190))/0x8+parseInt(_0x496370(0x17b))/0x9+-parseInt(_0x496370(0x187))/0xa;if(_0x13c3da===_0x34100b)break;else _0x282ed8['push'](_0x282ed8['shift']());}catch(_0x50d47a){_0x282ed8['push'](_0x282ed8['shift']());}}}(_0x4dd8,0x86652));const e={'mcpStatus':{'disconnected':_0x2ff301(0x1a1),'connecting':_0x2ff301(0x1aa),'connected':_0x2ff301(0x191),'failed':_0x2ff301(0x18b),'retrying':_0x2ff301(0x19a),'unknown':_0x2ff301(0x195),'unauthorized':_0x2ff301(0x1a2),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x2ff301(0x17d),'maxRetriesExceeded':_0x2ff301(0x194),'clickToConnect':_0x2ff301(0x17e),'clickToConfigure':_0x2ff301(0x192)},'mcpConfig':{'title':_0x2ff301(0x17a),'description':_0x2ff301(0x1a9),'apiKey':_0x2ff301(0x182),'apiKeyPlaceholder':_0x2ff301(0x178),'apiKeyHint':_0x2ff301(0x19f),'enableAuth':_0x2ff301(0x1a4),'enableAuthHint':_0x2ff301(0x193),'connectionInfo':_0x2ff301(0x19b),'mcpClientConfig':_0x2ff301(0x19b),'configInstructions':_0x2ff301(0x177),'configStepTitle':_0x2ff301(0x184),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x2ff301(0x176),'sessionId':_0x2ff301(0x18a),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x2ff301(0x175),'configParameters':_0x2ff301(0x19c),'maxRetries':_0x2ff301(0x19d),'save':_0x2ff301(0x18c),'saving':_0x2ff301(0x185),'note1':_0x2ff301(0x17c),'note2':_0x2ff301(0x17f),'configSaved':_0x2ff301(0x18e),'configError':_0x2ff301(0x186),'apiApplyInfo':{'title':_0x2ff301(0x1a3),'description':_0x2ff301(0x1a0),'univerAiLabel':_0x2ff301(0x1a7),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2ff301(0x19e),'apiKeyTooShort':_0x2ff301(0x199),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2ff301(0x1a8),'connected':_0x2ff301(0x198),'failed':_0x2ff301(0x189),'retrying':_0x2ff301(0x181)},'connectionError':{'unauthorized':_0x2ff301(0x18f),'sessionOccupied':_0x2ff301(0x179),'networkError':_0x2ff301(0x1a6),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x3dc0(_0x5598b7,_0x308f20){_0x5598b7=_0x5598b7-0x175;const _0x4dd81e=_0x4dd8();let _0x3dc012=_0x4dd81e[_0x5598b7];return _0x3dc012;}export{n as default};
1
+ const _0x5875ad=_0x544a;function _0x544a(_0x45c5fc,_0xd612ea){_0x45c5fc=_0x45c5fc-0x136;const _0x15558d=_0x1555();let _0x544ad8=_0x15558d[_0x45c5fc];return _0x544ad8;}(function(_0x51b299,_0x29ed6a){const _0x40a667=_0x544a,_0x448b93=_0x51b299();while(!![]){try{const _0x320e73=parseInt(_0x40a667(0x156))/0x1+-parseInt(_0x40a667(0x14e))/0x2+parseInt(_0x40a667(0x137))/0x3*(parseInt(_0x40a667(0x13c))/0x4)+-parseInt(_0x40a667(0x152))/0x5+parseInt(_0x40a667(0x150))/0x6+parseInt(_0x40a667(0x155))/0x7*(-parseInt(_0x40a667(0x163))/0x8)+-parseInt(_0x40a667(0x151))/0x9*(-parseInt(_0x40a667(0x15b))/0xa);if(_0x320e73===_0x29ed6a)break;else _0x448b93['push'](_0x448b93['shift']());}catch(_0x2da386){_0x448b93['push'](_0x448b93['shift']());}}}(_0x1555,0x83759));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x5875ad(0x14b),'connected':'MCP\x20Connected','failed':_0x5875ad(0x159),'retrying':'MCP\x20Retrying...','unknown':_0x5875ad(0x13d),'unauthorized':_0x5875ad(0x14f),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x5875ad(0x145),'maxRetriesExceeded':_0x5875ad(0x148),'clickToConnect':_0x5875ad(0x153),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x5875ad(0x14a),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5875ad(0x138),'apiKeyPlaceholder':_0x5875ad(0x164),'apiKeyHint':_0x5875ad(0x15c),'enableAuth':_0x5875ad(0x15d),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5875ad(0x15a),'mcpClientConfig':_0x5875ad(0x15a),'configInstructions':_0x5875ad(0x160),'configStepTitle':_0x5875ad(0x13f),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5875ad(0x141),'configStep3':_0x5875ad(0x14c),'sessionId':_0x5875ad(0x13e),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x5875ad(0x161),'maxRetries':_0x5875ad(0x14d),'save':_0x5875ad(0x154),'saving':_0x5875ad(0x158),'note1':_0x5875ad(0x157),'note2':_0x5875ad(0x15e),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x5875ad(0x143),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5875ad(0x13b),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x5875ad(0x147),'apiKeyTooShort':_0x5875ad(0x139),'invalidConfig':_0x5875ad(0x136),'invalidApiKey':_0x5875ad(0x142)},'connectionStatus':{'disconnected':_0x5875ad(0x13a),'connecting':'Connecting...','connected':'Connected','failed':_0x5875ad(0x15f),'retrying':_0x5875ad(0x146)},'connectionError':{'unauthorized':_0x5875ad(0x162),'sessionOccupied':_0x5875ad(0x144),'networkError':_0x5875ad(0x140),'maxRetriesExceeded':_0x5875ad(0x149)}}},n=e;export{n as default};function _0x1555(){const _0x299a3c=['Session\x20ID','Configuration\x20Steps:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Failed\x20to\x20save\x20configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Network\x20Error','Retrying...','API\x20key\x20is\x20required','MCP:\x20Max\x20Retries\x20Exceeded','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Configuration','MCP\x20Connecting...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Max\x20Retries','1263182JWASJo','MCP:\x20Unauthorized','5544120STblsJ','54882eMFCXO','1625765fjtefT','Click\x20to\x20connect\x20MCP','Save\x20Configuration','5013211uJDxfD','274161PXAmbL','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Saving...','MCP\x20Connection\x20Failed','MCP\x20Client\x20Configuration','210BmvwCm','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20Authentication','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connection\x20Failed','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20Parameters:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','8VtUFPp','Enter\x20your\x20API\x20key','Invalid\x20configuration','2655405YHjJPd','API\x20Key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Disconnected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','4CVAovz','MCP\x20Unknown\x20Status'];_0x1555=function(){return _0x299a3c;};return _0x1555();}
@@ -1 +1 @@
1
- const _0x2af7e7=_0x3ead;(function(_0x1d63fa,_0x4e7e9d){const _0xa0a528=_0x3ead,_0x309375=_0x1d63fa();while(!![]){try{const _0x46afd7=-parseInt(_0xa0a528(0xd9))/0x1+-parseInt(_0xa0a528(0xf6))/0x2*(parseInt(_0xa0a528(0xe3))/0x3)+-parseInt(_0xa0a528(0xe4))/0x4+parseInt(_0xa0a528(0xfc))/0x5+-parseInt(_0xa0a528(0xd2))/0x6+parseInt(_0xa0a528(0xf4))/0x7+parseInt(_0xa0a528(0xe8))/0x8;if(_0x46afd7===_0x4e7e9d)break;else _0x309375['push'](_0x309375['shift']());}catch(_0x3dc693){_0x309375['push'](_0x309375['shift']());}}}(_0x268f,0x374ea));const n={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':'MCP\x20Đang\x20kết\x20nối...','connected':'MCP\x20Đã\x20kết\x20nối','failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':_0x2af7e7(0xfb),'unknown':_0x2af7e7(0xf1),'unauthorized':_0x2af7e7(0xe6),'sessionOccupied':_0x2af7e7(0xe5),'networkError':_0x2af7e7(0xea),'maxRetriesExceeded':_0x2af7e7(0xd8),'clickToConnect':_0x2af7e7(0xdc),'clickToConfigure':_0x2af7e7(0xe2)},'mcpConfig':{'title':_0x2af7e7(0xdf),'description':_0x2af7e7(0xfa),'apiKey':_0x2af7e7(0xd7),'apiKeyPlaceholder':'Nhập\x20khóa\x20API\x20của\x20bạn','apiKeyHint':_0x2af7e7(0xec),'enableAuth':_0x2af7e7(0xdb),'enableAuthHint':_0x2af7e7(0xde),'connectionInfo':_0x2af7e7(0xe0),'mcpClientConfig':_0x2af7e7(0xe0),'configInstructions':'Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','configStepTitle':_0x2af7e7(0xd4),'configStep1':_0x2af7e7(0xda),'configStep2':_0x2af7e7(0xd3),'configStep3':_0x2af7e7(0xed),'sessionId':'ID\x20phiên','sessionIdDescription':_0x2af7e7(0xf2),'authorizationDescription':_0x2af7e7(0xdd),'configParameters':'Tham\x20số\x20cấu\x20hình:','maxRetries':'Số\x20lần\x20thử\x20lại\x20tối\x20đa','save':_0x2af7e7(0xf7),'saving':_0x2af7e7(0xee),'note1':_0x2af7e7(0xf0),'note2':'Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','configSaved':_0x2af7e7(0xd6),'configError':'Lưu\x20cấu\x20hình\x20thất\x20bại','apiApplyInfo':{'title':_0x2af7e7(0xf3),'description':_0x2af7e7(0xe7),'univerAiLabel':_0x2af7e7(0xd1),'getStarted':_0x2af7e7(0xf5)},'validation':{'apiKeyRequired':_0x2af7e7(0xd5),'apiKeyTooShort':_0x2af7e7(0xeb),'invalidConfig':_0x2af7e7(0xd0),'invalidApiKey':_0x2af7e7(0xf8)},'connectionStatus':{'disconnected':_0x2af7e7(0xfd),'connecting':'Đang\x20kết\x20nối...','connected':'Đã\x20kết\x20nối','failed':_0x2af7e7(0xf9),'retrying':'Đang\x20thử\x20lại...'},'connectionError':{'unauthorized':'Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','sessionOccupied':_0x2af7e7(0xe9),'networkError':_0x2af7e7(0xe1),'maxRetriesExceeded':_0x2af7e7(0xef)}}};function _0x3ead(_0x11697d,_0x4b613c){_0x11697d=_0x11697d-0xd0;const _0x268f2b=_0x268f();let _0x3eade5=_0x268f2b[_0x11697d];return _0x3eade5;}function _0x268f(){const _0x241e9b=['1384720WUBVlw','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','MCP:\x20Không\x20được\x20phép','Khóa\x20API\x20kết\x20nối\x20bạn\x20với\x20Máy\x20chủ\x20Univer\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính.\x20Nhận\x20khóa\x20API\x20của\x20bạn\x20từ\x20bảng\x20điều\x20khiển\x20của\x20chúng\x20tôi\x20để\x20bắt\x20đầu.','9967360PuMMYp','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','MCP:\x20Lỗi\x20mạng','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','Đang\x20lưu...','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','Khóa\x20API\x20là\x20gì?','1746542atJIBY','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','6XEHqew','Lưu\x20cấu\x20hình','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Kết\x20nối\x20thất\x20bại','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','MCP\x20Đang\x20thử\x20lại...','1051730nHACIC','Đã\x20ngắt\x20kết\x20nối','Cấu\x20hình\x20không\x20hợp\x20lệ','Bảng\x20điều\x20khiển\x20Univer\x20AI','1956096PDEBtR','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Các\x20bước\x20cấu\x20hình:','Yêu\x20cầu\x20khóa\x20API','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Khóa\x20API','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','402407hnIUKp','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Bật\x20xác\x20thực','Nhấp\x20để\x20kết\x20nối\x20MCP','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Cấu\x20hình\x20MCP','Cấu\x20hình\x20máy\x20khách\x20MCP','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Nhấp\x20để\x20cấu\x20hình\x20MCP','404631DaKWwy'];_0x268f=function(){return _0x241e9b;};return _0x268f();}export{n as default};
1
+ function _0xa570(_0x2fa5f8,_0x211be7){_0x2fa5f8=_0x2fa5f8-0x183;const _0x351387=_0x3513();let _0xa570b6=_0x351387[_0x2fa5f8];return _0xa570b6;}const _0x26e3f8=_0xa570;(function(_0x283a5b,_0x38b193){const _0xf2fbb4=_0xa570,_0x430eca=_0x283a5b();while(!![]){try{const _0x1cb43f=parseInt(_0xf2fbb4(0x183))/0x1+-parseInt(_0xf2fbb4(0x1a4))/0x2*(-parseInt(_0xf2fbb4(0x1af))/0x3)+-parseInt(_0xf2fbb4(0x1ae))/0x4*(parseInt(_0xf2fbb4(0x18f))/0x5)+-parseInt(_0xf2fbb4(0x184))/0x6+-parseInt(_0xf2fbb4(0x19e))/0x7+-parseInt(_0xf2fbb4(0x18d))/0x8*(-parseInt(_0xf2fbb4(0x195))/0x9)+parseInt(_0xf2fbb4(0x188))/0xa;if(_0x1cb43f===_0x38b193)break;else _0x430eca['push'](_0x430eca['shift']());}catch(_0x579aa8){_0x430eca['push'](_0x430eca['shift']());}}}(_0x3513,0xa9f47));function _0x3513(){const _0xfd6ff4=['Khóa\x20API','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Yêu\x20cầu\x20khóa\x20API','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','MCP:\x20Không\x20được\x20phép','2163076pIkEoS','252129mQEaqf','Khóa\x20API\x20là\x20gì?','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','MCP\x20Đã\x20kết\x20nối','Nhấp\x20để\x20kết\x20nối\x20MCP','Nhấp\x20để\x20cấu\x20hình\x20MCP','435002BiJoMn','4165362bZnqMY','Đã\x20ngắt\x20kết\x20nối','Nhập\x20khóa\x20API\x20của\x20bạn','Tham\x20số\x20cấu\x20hình:','14795730HBtojt','Đang\x20lưu...','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Cấu\x20hình\x20không\x20hợp\x20lệ','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','192nmfRqC','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','10aVokdZ','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Bảng\x20điều\x20khiển\x20Univer\x20AI','MCP:\x20Lỗi\x20mạng','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','172413nKjbMX','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','Đang\x20thử\x20lại...','ID\x20phiên','Bật\x20xác\x20thực','Lưu\x20cấu\x20hình\x20thất\x20bại','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Cấu\x20hình\x20máy\x20khách\x20MCP','Lưu\x20cấu\x20hình','1670305JYaUbc','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','Cấu\x20hình\x20MCP','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','8PVjFfP','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn'];_0x3513=function(){return _0xfd6ff4;};return _0x3513();}const n={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':'MCP\x20Đang\x20kết\x20nối...','connected':_0x26e3f8(0x1b2),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':'MCP\x20Đang\x20thử\x20lại...','unknown':_0x26e3f8(0x194),'unauthorized':_0x26e3f8(0x1ad),'sessionOccupied':_0x26e3f8(0x19f),'networkError':_0x26e3f8(0x192),'maxRetriesExceeded':_0x26e3f8(0x193),'clickToConnect':_0x26e3f8(0x1b3),'clickToConfigure':_0x26e3f8(0x1b4)},'mcpConfig':{'title':_0x26e3f8(0x1a2),'description':_0x26e3f8(0x1ac),'apiKey':_0x26e3f8(0x1a9),'apiKeyPlaceholder':_0x26e3f8(0x186),'apiKeyHint':_0x26e3f8(0x19b),'enableAuth':_0x26e3f8(0x199),'enableAuthHint':'Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','connectionInfo':_0x26e3f8(0x19c),'mcpClientConfig':_0x26e3f8(0x19c),'configInstructions':_0x26e3f8(0x190),'configStepTitle':'Các\x20bước\x20cấu\x20hình:','configStep1':_0x26e3f8(0x1a3),'configStep2':_0x26e3f8(0x1a8),'configStep3':_0x26e3f8(0x1a6),'sessionId':_0x26e3f8(0x198),'sessionIdDescription':_0x26e3f8(0x196),'authorizationDescription':'Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','configParameters':_0x26e3f8(0x187),'maxRetries':_0x26e3f8(0x1aa),'save':_0x26e3f8(0x19d),'saving':_0x26e3f8(0x189),'note1':_0x26e3f8(0x1a0),'note2':'Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','configSaved':_0x26e3f8(0x18e),'configError':_0x26e3f8(0x19a),'apiApplyInfo':{'title':_0x26e3f8(0x1b0),'description':'Khóa\x20API\x20kết\x20nối\x20bạn\x20với\x20Máy\x20chủ\x20Univer\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính.\x20Nhận\x20khóa\x20API\x20của\x20bạn\x20từ\x20bảng\x20điều\x20khiển\x20của\x20chúng\x20tôi\x20để\x20bắt\x20đầu.','univerAiLabel':_0x26e3f8(0x191),'getStarted':'Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây'},'validation':{'apiKeyRequired':_0x26e3f8(0x1ab),'apiKeyTooShort':_0x26e3f8(0x1a7),'invalidConfig':_0x26e3f8(0x18b),'invalidApiKey':_0x26e3f8(0x18a)},'connectionStatus':{'disconnected':_0x26e3f8(0x185),'connecting':'Đang\x20kết\x20nối...','connected':'Đã\x20kết\x20nối','failed':'Kết\x20nối\x20thất\x20bại','retrying':_0x26e3f8(0x197)},'connectionError':{'unauthorized':_0x26e3f8(0x1a1),'sessionOccupied':_0x26e3f8(0x1a5),'networkError':_0x26e3f8(0x1b1),'maxRetriesExceeded':_0x26e3f8(0x18c)}}};export{n as default};
@@ -1 +1 @@
1
- const _0x5795f7=_0x3163;(function(_0x453182,_0x56a92e){const _0x513723=_0x3163,_0x5f9949=_0x453182();while(!![]){try{const _0x53b2d0=parseInt(_0x513723(0x217))/0x1+-parseInt(_0x513723(0x1ff))/0x2+-parseInt(_0x513723(0x1f7))/0x3*(parseInt(_0x513723(0x20d))/0x4)+parseInt(_0x513723(0x205))/0x5*(parseInt(_0x513723(0x207))/0x6)+parseInt(_0x513723(0x20f))/0x7*(-parseInt(_0x513723(0x21c))/0x8)+-parseInt(_0x513723(0x1f8))/0x9*(parseInt(_0x513723(0x21f))/0xa)+parseInt(_0x513723(0x1fb))/0xb;if(_0x53b2d0===_0x56a92e)break;else _0x5f9949['push'](_0x5f9949['shift']());}catch(_0x302af2){_0x5f9949['push'](_0x5f9949['shift']());}}}(_0x5eba,0xef87e));function _0x5eba(){const _0x115772=['带有\x20Bearer\x20前缀的\x20API\x20密钥。','网络连接错误,请检查您的网络连接','配置保存失败','最大重试次数','配置无效','重启您的\x20MCP\x20客户端以使配置生效','1889283MxSBQx','启用身份验证','超出最大重试次数,请稍后再试','点击连接\x20MCP','MCP\x20配置','382552limxBr','复制以下\x20JSON\x20配置','MCP\x20连接失败','10ZJFLXY','您的\x20API\x20密钥将在此浏览器中本地存储','您的\x20API\x20密钥安全存储在本地存储中','API\x20密钥无效,请检查密钥是否正确','MCP:\x20网络错误','MCP:\x20会话\x20ID\x20已被占用','API\x20密钥','MCP\x20连接中...','API\x20密钥长度至少需要\x2010\x20位','权限验证失败,请检查您的\x20API\x20密钥','点击配置\x20MCP','连接失败','MCP\x20客户端配置','26679pjUnii','2339541dbSeTD','MCP\x20已连接','MCP\x20重连中...','31716828jCcaYK','MCP\x20状态未知','保存中...','配置更改将立即生效','1823306jSJZLd','MCP:\x20超出最大重试次数','重连中...','已连接','MCP:\x20未授权','连接中...','384350uUmUTd','API\x20密钥不能为空','30LRcfKn','配置\x20MCP\x20使用\x20AI\x20操作电子表格','配置参数:','配置保存成功','启用身份验证以获得安全连接','配置步骤:','620fITnVF','会话ID','238tDwVml','将配置添加到您的\x20MCP\x20客户端设置文件中'];_0x5eba=function(){return _0x115772;};return _0x5eba();}function _0x3163(_0x594538,_0x3b558b){_0x594538=_0x594538-0x1ec;const _0x5ebaf1=_0x5eba();let _0x31632f=_0x5ebaf1[_0x594538];return _0x31632f;}const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x5795f7(0x1f1),'connected':_0x5795f7(0x1f9),'failed':_0x5795f7(0x21e),'retrying':_0x5795f7(0x1fa),'unknown':_0x5795f7(0x1fc),'unauthorized':_0x5795f7(0x203),'sessionOccupied':_0x5795f7(0x1ef),'networkError':_0x5795f7(0x1ee),'maxRetriesExceeded':_0x5795f7(0x200),'clickToConnect':_0x5795f7(0x21a),'clickToConfigure':_0x5795f7(0x1f4)},'mcpConfig':{'title':_0x5795f7(0x21b),'description':_0x5795f7(0x208),'apiKey':_0x5795f7(0x1f0),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x5795f7(0x220),'enableAuth':_0x5795f7(0x218),'enableAuthHint':_0x5795f7(0x20b),'connectionInfo':_0x5795f7(0x1f6),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x5795f7(0x20c),'configStep1':_0x5795f7(0x21d),'configStep2':_0x5795f7(0x210),'configStep3':_0x5795f7(0x216),'sessionId':_0x5795f7(0x20e),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x5795f7(0x211),'configParameters':_0x5795f7(0x209),'maxRetries':_0x5795f7(0x214),'save':'保存配置','saving':_0x5795f7(0x1fd),'note1':_0x5795f7(0x1fe),'note2':_0x5795f7(0x1ec),'configSaved':_0x5795f7(0x20a),'configError':_0x5795f7(0x213),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x5795f7(0x206),'apiKeyTooShort':_0x5795f7(0x1f2),'invalidConfig':_0x5795f7(0x215),'invalidApiKey':_0x5795f7(0x1ed)},'connectionStatus':{'disconnected':'未连接','connecting':_0x5795f7(0x204),'connected':_0x5795f7(0x202),'failed':_0x5795f7(0x1f5),'retrying':_0x5795f7(0x201)},'connectionError':{'unauthorized':_0x5795f7(0x1f3),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x5795f7(0x212),'maxRetriesExceeded':_0x5795f7(0x219)}}};export{e as default};
1
+ const _0x30b9de=_0x5486;(function(_0x277843,_0x130b09){const _0x11cb2d=_0x5486,_0x3c1368=_0x277843();while(!![]){try{const _0x47ead9=parseInt(_0x11cb2d(0x1d0))/0x1+-parseInt(_0x11cb2d(0x1d5))/0x2*(parseInt(_0x11cb2d(0x1da))/0x3)+-parseInt(_0x11cb2d(0x1f3))/0x4+-parseInt(_0x11cb2d(0x1d9))/0x5*(parseInt(_0x11cb2d(0x1e7))/0x6)+parseInt(_0x11cb2d(0x1ef))/0x7*(parseInt(_0x11cb2d(0x1d1))/0x8)+-parseInt(_0x11cb2d(0x1e4))/0x9+-parseInt(_0x11cb2d(0x1de))/0xa*(-parseInt(_0x11cb2d(0x1dd))/0xb);if(_0x47ead9===_0x130b09)break;else _0x3c1368['push'](_0x3c1368['shift']());}catch(_0x208cd6){_0x3c1368['push'](_0x3c1368['shift']());}}}(_0x3e42,0xdd774));function _0x3e42(){const _0x481a86=['启用身份验证','55JNCPeR','7441230PhVrHJ','Univer\x20AI\x20控制台','连接失败','API\x20密钥无效,请检查密钥是否正确','超出最大重试次数,请稍后再试','MCP\x20已断开','6614325kEMVDw','启用身份验证以获得安全连接','MCP:\x20未授权','8166WBrAdd','MCP\x20已连接','配置保存失败','连接中...','保存中...','会话\x20ID\x20已被占用,请稍后再试','MCP\x20连接中...','未连接','2505951xkUKgU','API\x20密钥长度至少需要\x2010\x20位','几秒钟内获取您的\x20API\x20密钥','MCP\x20重连中...','5417452AaCJFi','重启您的\x20MCP\x20客户端以使配置生效','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','配置更改将立即生效','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20客户端配置','MCP\x20连接失败','MCP\x20配置','API\x20密钥不能为空','MCP:\x20网络错误','什么是\x20API\x20密钥?','已连接','会话ID','您的\x20API\x20密钥将在此浏览器中本地存储','权限验证失败,请检查您的\x20API\x20密钥','170962RNRLiC','8LHDSsw','请输入您的\x20API\x20密钥','保存配置','将配置添加到您的\x20MCP\x20客户端设置文件中','402RagXjc','点击连接\x20MCP','配置保存成功','最大重试次数','205zCOPoJ','17871bmGIAx','网络连接错误,请检查您的网络连接'];_0x3e42=function(){return _0x481a86;};return _0x3e42();}const e={'mcpStatus':{'disconnected':_0x30b9de(0x1e3),'connecting':_0x30b9de(0x1ed),'connected':_0x30b9de(0x1e8),'failed':_0x30b9de(0x1c7),'retrying':_0x30b9de(0x1f2),'unknown':'MCP\x20状态未知','unauthorized':_0x30b9de(0x1e6),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x30b9de(0x1ca),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x30b9de(0x1d6),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x30b9de(0x1c8),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':'API\x20密钥','apiKeyPlaceholder':_0x30b9de(0x1d2),'apiKeyHint':_0x30b9de(0x1ce),'enableAuth':_0x30b9de(0x1dc),'enableAuthHint':_0x30b9de(0x1e5),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x30b9de(0x1c6),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':'配置步骤:','configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x30b9de(0x1d4),'configStep3':_0x30b9de(0x1f4),'sessionId':_0x30b9de(0x1cd),'sessionIdDescription':_0x30b9de(0x1f5),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':'配置参数:','maxRetries':_0x30b9de(0x1d8),'save':_0x30b9de(0x1d3),'saving':_0x30b9de(0x1eb),'note1':_0x30b9de(0x1c4),'note2':_0x30b9de(0x1c5),'configSaved':_0x30b9de(0x1d7),'configError':_0x30b9de(0x1e9),'apiApplyInfo':{'title':_0x30b9de(0x1cb),'description':_0x30b9de(0x1f6),'univerAiLabel':_0x30b9de(0x1df),'getStarted':_0x30b9de(0x1f1)},'validation':{'apiKeyRequired':_0x30b9de(0x1c9),'apiKeyTooShort':_0x30b9de(0x1f0),'invalidConfig':'配置无效','invalidApiKey':_0x30b9de(0x1e1)},'connectionStatus':{'disconnected':_0x30b9de(0x1ee),'connecting':_0x30b9de(0x1ea),'connected':_0x30b9de(0x1cc),'failed':_0x30b9de(0x1e0),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x30b9de(0x1cf),'sessionOccupied':_0x30b9de(0x1ec),'networkError':_0x30b9de(0x1db),'maxRetriesExceeded':_0x30b9de(0x1e2)}}};function _0x5486(_0x25a2c4,_0x587b54){_0x25a2c4=_0x25a2c4-0x1c4;const _0x3e42da=_0x3e42();let _0x54869a=_0x3e42da[_0x25a2c4];return _0x54869a;}export{e as default};
@@ -1 +1 @@
1
- function _0x1c88(_0x3d1cc8,_0x40d009){_0x3d1cc8=_0x3d1cc8-0x129;const _0x3add82=_0x3add();let _0x1c88df=_0x3add82[_0x3d1cc8];return _0x1c88df;}const _0x555a85=_0x1c88;(function(_0x50da13,_0x597b5a){const _0x4b119f=_0x1c88,_0x8f33c5=_0x50da13();while(!![]){try{const _0x39e7eb=-parseInt(_0x4b119f(0x13a))/0x1*(parseInt(_0x4b119f(0x131))/0x2)+parseInt(_0x4b119f(0x144))/0x3*(parseInt(_0x4b119f(0x158))/0x4)+-parseInt(_0x4b119f(0x13c))/0x5+parseInt(_0x4b119f(0x141))/0x6*(parseInt(_0x4b119f(0x146))/0x7)+parseInt(_0x4b119f(0x133))/0x8+-parseInt(_0x4b119f(0x149))/0x9*(parseInt(_0x4b119f(0x14a))/0xa)+parseInt(_0x4b119f(0x159))/0xb*(parseInt(_0x4b119f(0x156))/0xc);if(_0x39e7eb===_0x597b5a)break;else _0x8f33c5['push'](_0x8f33c5['shift']());}catch(_0x538402){_0x8f33c5['push'](_0x8f33c5['shift']());}}}(_0x3add,0x783ec));const e={'mcpStatus':{'disconnected':_0x555a85(0x135),'connecting':_0x555a85(0x137),'connected':_0x555a85(0x132),'failed':_0x555a85(0x12f),'retrying':_0x555a85(0x12e),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x555a85(0x153),'sessionOccupied':_0x555a85(0x13d),'networkError':_0x555a85(0x13e),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x555a85(0x152)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x555a85(0x155),'apiKey':_0x555a85(0x134),'apiKeyPlaceholder':_0x555a85(0x14b),'apiKeyHint':_0x555a85(0x154),'enableAuth':_0x555a85(0x129),'enableAuthHint':_0x555a85(0x139),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x555a85(0x130),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x555a85(0x13f),'configStep1':_0x555a85(0x14c),'configStep2':_0x555a85(0x151),'configStep3':_0x555a85(0x15b),'sessionId':_0x555a85(0x15a),'sessionIdDescription':_0x555a85(0x12a),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x555a85(0x150),'saving':_0x555a85(0x12b),'note1':_0x555a85(0x12c),'note2':_0x555a85(0x14d),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x555a85(0x145),'apiApplyInfo':{'title':_0x555a85(0x143),'description':_0x555a85(0x138),'univerAiLabel':_0x555a85(0x13b),'getStarted':_0x555a85(0x140)},'validation':{'apiKeyRequired':_0x555a85(0x148),'apiKeyTooShort':_0x555a85(0x136),'invalidConfig':_0x555a85(0x14e),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':'Connected','failed':_0x555a85(0x157),'retrying':_0x555a85(0x142)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x555a85(0x14f),'networkError':_0x555a85(0x147),'maxRetriesExceeded':_0x555a85(0x12d)}}},n=e;function _0x3add(){const _0x87c75d=['341640XrIvjF','MCP:\x20Session\x20ID\x20Occupied','MCP:\x20Network\x20Error','Configuration\x20Steps:','Get\x20your\x20API\x20key\x20in\x20seconds','1668kfpNUB','Retrying...','What\x20is\x20API\x20Key?','9skoSjE','Failed\x20to\x20save\x20configuration','15085qFngCk','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20is\x20required','293040oKfNyV','220JKUIAy','Enter\x20your\x20API\x20key','Copy\x20the\x20JSON\x20configuration\x20below','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Save\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20configure\x20MCP','MCP:\x20Unauthorized','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','12fKoVSh','Connection\x20Failed','764396hHkByM','4844873ZlPQcN','Session\x20ID','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20Authentication','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Saving...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','MCP\x20Connection\x20Failed','MCP\x20Client\x20Configuration','34KZqMuH','MCP\x20Connected','4581488xCnsgM','API\x20Key','MCP\x20Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20authentication\x20for\x20secure\x20connections','53432xRWnNp','Univer\x20AI\x20Console'];_0x3add=function(){return _0x87c75d;};return _0x3add();}export{n as default};
1
+ const _0x175104=_0x2c04;(function(_0x448b4f,_0x24db66){const _0x10087b=_0x2c04,_0x5d20da=_0x448b4f();while(!![]){try{const _0x1993a7=parseInt(_0x10087b(0x124))/0x1*(-parseInt(_0x10087b(0x12b))/0x2)+-parseInt(_0x10087b(0x111))/0x3+-parseInt(_0x10087b(0x122))/0x4+-parseInt(_0x10087b(0x10b))/0x5*(-parseInt(_0x10087b(0x133))/0x6)+parseInt(_0x10087b(0x114))/0x7*(parseInt(_0x10087b(0x107))/0x8)+-parseInt(_0x10087b(0x11d))/0x9*(-parseInt(_0x10087b(0x11b))/0xa)+parseInt(_0x10087b(0xff))/0xb;if(_0x1993a7===_0x24db66)break;else _0x5d20da['push'](_0x5d20da['shift']());}catch(_0x45ec3d){_0x5d20da['push'](_0x5d20da['shift']());}}}(_0x12ba,0x1b84b));function _0x2c04(_0x4f2f4f,_0x53a797){_0x4f2f4f=_0x4f2f4f-0xff;const _0x12baf4=_0x12ba();let _0x2c04dd=_0x12baf4[_0x4f2f4f];return _0x2c04dd;}const e={'mcpStatus':{'disconnected':_0x175104(0x112),'connecting':_0x175104(0x10d),'connected':_0x175104(0x123),'failed':_0x175104(0x10f),'retrying':'MCP\x20Retrying...','unknown':_0x175104(0x108),'unauthorized':_0x175104(0x11a),'sessionOccupied':_0x175104(0x105),'networkError':_0x175104(0x126),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x175104(0x131),'clickToConfigure':_0x175104(0x110)},'mcpConfig':{'title':_0x175104(0x106),'description':_0x175104(0x12a),'apiKey':_0x175104(0x101),'apiKeyPlaceholder':_0x175104(0x104),'apiKeyHint':_0x175104(0x11e),'enableAuth':_0x175104(0x135),'enableAuthHint':_0x175104(0x115),'connectionInfo':_0x175104(0x11c),'mcpClientConfig':_0x175104(0x11c),'configInstructions':_0x175104(0x117),'configStepTitle':_0x175104(0x134),'configStep1':_0x175104(0x129),'configStep2':_0x175104(0x121),'configStep3':_0x175104(0x120),'sessionId':_0x175104(0x12f),'sessionIdDescription':_0x175104(0x116),'authorizationDescription':_0x175104(0x119),'configParameters':_0x175104(0x12e),'maxRetries':_0x175104(0x103),'save':_0x175104(0x125),'saving':_0x175104(0x11f),'note1':_0x175104(0x113),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x175104(0x10e),'configError':_0x175104(0x118),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x175104(0x10c),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x175104(0x12c)},'validation':{'apiKeyRequired':_0x175104(0x100),'apiKeyTooShort':_0x175104(0x128),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x175104(0x109)},'connectionStatus':{'disconnected':_0x175104(0x130),'connecting':_0x175104(0x132),'connected':_0x175104(0x10a),'failed':_0x175104(0x12d),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x175104(0x127),'sessionOccupied':_0x175104(0x102),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x12ba(){const _0x112823=['MCP\x20Configuration','16ENzDPQ','MCP\x20Unknown\x20Status','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connected','946310rkHKzx','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\x20Connecting...','Configuration\x20saved\x20successfully','MCP\x20Connection\x20Failed','Click\x20to\x20configure\x20MCP','133068hDRdag','MCP\x20Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','65002ZjBRdM','Enable\x20authentication\x20for\x20secure\x20connections','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Failed\x20to\x20save\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Unauthorized','1895990xGptDQ','MCP\x20Client\x20Configuration','9XULGgs','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Saving...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','651404AUCZWs','MCP\x20Connected','47hESyYE','Save\x20Configuration','MCP:\x20Network\x20Error','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Copy\x20the\x20JSON\x20configuration\x20below','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','6346WINLKr','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Failed','Configuration\x20Parameters:','Session\x20ID','Disconnected','Click\x20to\x20connect\x20MCP','Connecting...','6qnTapj','Configuration\x20Steps:','Enable\x20Authentication','787820TjNAii','API\x20key\x20is\x20required','API\x20Key','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Max\x20Retries','Enter\x20your\x20API\x20key','MCP:\x20Session\x20ID\x20Occupied'];_0x12ba=function(){return _0x112823;};return _0x12ba();}export{n as default};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x280d1b,_0x420fe6){const _0x3ff0c5=_0x209d,_0x836b2f=_0x280d1b();while(!![]){try{const _0x11e07f=-parseInt(_0x3ff0c5(0x1d7))/0x1*(-parseInt(_0x3ff0c5(0x119))/0x2)+-parseInt(_0x3ff0c5(0x22d))/0x3*(-parseInt(_0x3ff0c5(0x219))/0x4)+parseInt(_0x3ff0c5(0xec))/0x5*(parseInt(_0x3ff0c5(0x24e))/0x6)+-parseInt(_0x3ff0c5(0x1b8))/0x7+-parseInt(_0x3ff0c5(0x247))/0x8+parseInt(_0x3ff0c5(0x122))/0x9*(parseInt(_0x3ff0c5(0x142))/0xa)+-parseInt(_0x3ff0c5(0x143))/0xb*(parseInt(_0x3ff0c5(0xf7))/0xc);if(_0x11e07f===_0x420fe6)break;else _0x836b2f['push'](_0x836b2f['shift']());}catch(_0x412444){_0x836b2f['push'](_0x836b2f['shift']());}}}(_0x56a3,0x7cef4),function(_0x2f1b65,_0x1b2ab7){const _0x52e559=_0x209d;typeof exports==_0x52e559(0x17b)&&typeof module<'u'?_0x1b2ab7(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x52e559(0xf1)&&define[_0x52e559(0x1e0)]?define([_0x52e559(0x16a),_0x52e559(0x180),_0x52e559(0x22e),_0x52e559(0x13a),_0x52e559(0x1c2),_0x52e559(0x1c8),'rxjs',_0x52e559(0x20a),_0x52e559(0x227)],_0x1b2ab7):(_0x2f1b65=typeof globalThis<'u'?globalThis:_0x2f1b65||self,_0x1b2ab7(_0x2f1b65[_0x52e559(0x160)]={},_0x2f1b65[_0x52e559(0x1e3)],_0x2f1b65['React'],_0x2f1b65['UniverProMcp'],_0x2f1b65[_0x52e559(0x210)],_0x2f1b65[_0x52e559(0x168)],_0x2f1b65[_0x52e559(0x137)],_0x2f1b65[_0x52e559(0x126)],_0x2f1b65['UniverNetwork']));}(this,function(_0x7de47f,_0x34158d,_0x5338aa,_0x2aadaf,_0x9ab182,_0x278cd6,_0x3f4564,_0x2277a3,_0x2afcbe){'use strict';const _0x521dcb=_0x209d;var _0x4b3098=Object[_0x521dcb(0x123)],_0xdeb864=(_0x3ccd37,_0x3c7639,_0x4ed82a)=>_0x3c7639 in _0x3ccd37?_0x4b3098(_0x3ccd37,_0x3c7639,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ed82a}):_0x3ccd37[_0x3c7639]=_0x4ed82a,_0x138def=(_0x1325c3,_0x15176f,_0x4d5625)=>_0xdeb864(_0x1325c3,typeof _0x15176f!=_0x521dcb(0x199)?_0x15176f+'':_0x15176f,_0x4d5625);function _0x3d97c3({ref:_0x5a217e,..._0x500eff}){const _0x10408a=_0x521dcb,{icon:_0x36ce41,id:_0x137d5f,className:_0x491d29,extend:_0x1ebe37,..._0x152663}=_0x500eff,_0x1d3534=('univerjs-icon\x20univerjs-icon-'+_0x137d5f+'\x20'+(_0x491d29||''))[_0x10408a(0x153)](),_0x409976=_0x2277a3[_0x10408a(0x115)]('_'+_0x22762f());return _0x3f0cb0(_0x36ce41,''+_0x137d5f,{'defIds':_0x36ce41[_0x10408a(0x232)],'idSuffix':_0x409976[_0x10408a(0x1a4)]},{'ref':_0x5a217e,'className':_0x1d3534,..._0x152663},_0x1ebe37);}function _0x3f0cb0(_0x648afb,_0x3b7763,_0x4b5fd7,_0x5d38d6,_0x10e993){const _0x24f21d=_0x521dcb;return _0x2277a3[_0x24f21d(0x132)](_0x648afb['tag'],{'key':_0x3b7763,..._0x6c0839(_0x648afb,_0x4b5fd7,_0x10e993),..._0x5d38d6},(_0x50104d(_0x648afb,_0x4b5fd7)['children']||[])['map']((_0x1d4667,_0x23dfd5)=>_0x3f0cb0(_0x1d4667,_0x3b7763+'-'+_0x648afb[_0x24f21d(0x133)]+'-'+_0x23dfd5,_0x4b5fd7,void 0x0,_0x10e993)));}function _0x6c0839(_0x29b48c,_0x91a8b9,_0x4b4da7){const _0xc3df08=_0x521dcb,_0x578aa4={..._0x29b48c[_0xc3df08(0x1c4)]};_0x4b4da7!=null&&_0x4b4da7[_0xc3df08(0x1ea)]&&_0x578aa4[_0xc3df08(0x11d)]==='colorChannel1'&&(_0x578aa4[_0xc3df08(0x11d)]=_0x4b4da7[_0xc3df08(0x1ea)]),_0x29b48c[_0xc3df08(0x133)]==='mask'&&_0x578aa4['id']&&(_0x578aa4['id']=_0x578aa4['id']+_0x91a8b9['idSuffix']),Object[_0xc3df08(0xf3)](_0x578aa4)[_0xc3df08(0x1b4)](([_0x5a6bdd,_0x375e72])=>{const _0x27ecc7=_0xc3df08;_0x5a6bdd===_0x27ecc7(0x20f)&&typeof _0x375e72=='string'&&(_0x578aa4[_0x5a6bdd]=_0x375e72['replace'](/url\(#(.*)\)/,_0x27ecc7(0x150)+_0x91a8b9['idSuffix']+')'));});const {defIds:_0x25f3c0}=_0x91a8b9;return!_0x25f3c0||_0x25f3c0['length']===0x0||(_0x29b48c[_0xc3df08(0x133)]==='use'&&_0x578aa4[_0xc3df08(0xdf)]&&(_0x578aa4[_0xc3df08(0xdf)]=_0x578aa4[_0xc3df08(0xdf)]+_0x91a8b9[_0xc3df08(0x256)]),Object['entries'](_0x578aa4)[_0xc3df08(0x1b4)](([_0x40a3f4,_0x1346a6])=>{typeof _0x1346a6=='string'&&(_0x578aa4[_0x40a3f4]=_0x1346a6['replace'](/url\(#(.*)\)/,'url(#$1'+_0x91a8b9['idSuffix']+')'));})),_0x578aa4;}function _0x50104d(_0x52077b,_0x2f434c){const _0xbcd1e=_0x521dcb;var _0x30adc5;const {defIds:_0x1a05d7}=_0x2f434c;return!_0x1a05d7||_0x1a05d7[_0xbcd1e(0x136)]===0x0?_0x52077b:_0x52077b['tag']===_0xbcd1e(0x242)&&((_0x30adc5=_0x52077b[_0xbcd1e(0x1ab)])!=null&&_0x30adc5[_0xbcd1e(0x136)])?{..._0x52077b,'children':_0x52077b['children']['map'](_0x116733=>typeof _0x116733['attrs']['id']==_0xbcd1e(0x154)&&_0x1a05d7&&_0x1a05d7[_0xbcd1e(0x231)](_0x116733[_0xbcd1e(0x1c4)]['id'])?{..._0x116733,'attrs':{..._0x116733[_0xbcd1e(0x1c4)],'id':_0x116733[_0xbcd1e(0x1c4)]['id']+_0x2f434c[_0xbcd1e(0x256)]}}:_0x116733)}:_0x52077b;}function _0x22762f(){const _0x34c99b=_0x521dcb;return Math[_0x34c99b(0x1e2)]()[_0x34c99b(0x216)](0x24)[_0x34c99b(0xe6)](0x2,0x8);}_0x3d97c3[_0x521dcb(0x230)]=_0x521dcb(0x16b);const _0x486c0e={'tag':_0x521dcb(0x23b),'attrs':{'xmlns':_0x521dcb(0x205),'fill':'none','viewBox':_0x521dcb(0x1e9),'width':_0x521dcb(0x21f),'height':_0x521dcb(0x21f)},'children':[{'tag':_0x521dcb(0x19b),'attrs':{'fill':'currentColor','d':_0x521dcb(0x17d),'fillRule':'evenodd','clipRule':_0x521dcb(0x1b3)}}]},_0x4fb90f=_0x2277a3['forwardRef'](function(_0x2d42c9,_0x1d9813){const _0x1923d1=_0x521dcb;return _0x2277a3[_0x1923d1(0x132)](_0x3d97c3,Object[_0x1923d1(0x1e8)]({},_0x2d42c9,{'id':'check-mark-icon','ref':_0x1d9813,'icon':_0x486c0e}));});_0x4fb90f[_0x521dcb(0x230)]=_0x521dcb(0x146);const _0x592da3={'tag':_0x521dcb(0x23b),'attrs':{'xmlns':_0x521dcb(0x205),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x521dcb(0x21f),'height':_0x521dcb(0x21f)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x521dcb(0x204)}}]},_0x2a1ac2=_0x2277a3[_0x521dcb(0x116)](function(_0x194690,_0x31ac0a){const _0x5aa7bd=_0x521dcb;return _0x2277a3['createElement'](_0x3d97c3,Object['assign']({},_0x194690,{'id':_0x5aa7bd(0x22a),'ref':_0x31ac0a,'icon':_0x592da3}));});_0x2a1ac2[_0x521dcb(0x230)]=_0x521dcb(0x19d);const _0x3fbf08={'tag':_0x521dcb(0x23b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x521dcb(0x183),'viewBox':'0\x200\x2016\x2016','width':_0x521dcb(0x21f),'height':_0x521dcb(0x21f)},'children':[{'tag':_0x521dcb(0x19b),'attrs':{'fill':_0x521dcb(0x107),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x521dcb(0x19b),'attrs':{'fill':'currentColor','d':_0x521dcb(0x229)}},{'tag':_0x521dcb(0x19b),'attrs':{'fill':_0x521dcb(0x107),'d':_0x521dcb(0x1d9),'fillRule':_0x521dcb(0x1b3),'clipRule':_0x521dcb(0x1b3)}}]},_0x4996a6=_0x2277a3['forwardRef'](function(_0x165ed5,_0xfd94c4){const _0x393cfd=_0x521dcb;return _0x2277a3[_0x393cfd(0x132)](_0x3d97c3,Object[_0x393cfd(0x1e8)]({},_0x165ed5,{'id':_0x393cfd(0x14f),'ref':_0xfd94c4,'icon':_0x3fbf08}));});_0x4996a6['displayName']=_0x521dcb(0x106);const _0xa565b3={'tag':'svg','attrs':{'xmlns':_0x521dcb(0x205),'fill':_0x521dcb(0x183),'viewBox':_0x521dcb(0x1e9),'width':_0x521dcb(0x21f),'height':_0x521dcb(0x21f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x521dcb(0x19b),'attrs':{'stroke':_0x521dcb(0x107),'d':_0x521dcb(0x257),'strokeLinecap':_0x521dcb(0x173),'strokeLinejoin':_0x521dcb(0x173),'strokeWidth':1.2}}]},{'tag':_0x521dcb(0x242),'attrs':{},'children':[{'tag':_0x521dcb(0x234),'attrs':{'id':_0x521dcb(0x23c)},'children':[{'tag':_0x521dcb(0x19b),'attrs':{'fill':_0x521dcb(0xdb),'d':_0x521dcb(0x1be)}}]}]}],'defIds':[_0x521dcb(0x23c)]},_0x2b6cc0=_0x2277a3[_0x521dcb(0x116)](function(_0x5108c5,_0x2ab8d8){const _0x546c83=_0x521dcb;return _0x2277a3['createElement'](_0x3d97c3,Object[_0x546c83(0x1e8)]({},_0x5108c5,{'id':_0x546c83(0x240),'ref':_0x2ab8d8,'icon':_0xa565b3}));});_0x2b6cc0['displayName']='OffLineIcon';const _0xb86878={'tag':_0x521dcb(0x23b),'attrs':{'xmlns':_0x521dcb(0x205),'fill':'none','viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x521dcb(0x21f)},'children':[{'tag':'g','attrs':{'clipPath':_0x521dcb(0x1aa)},'children':[{'tag':_0x521dcb(0x19b),'attrs':{'stroke':'currentColor','d':_0x521dcb(0xdd),'strokeLinecap':_0x521dcb(0x173),'strokeLinejoin':_0x521dcb(0x173),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x521dcb(0x234),'attrs':{'id':_0x521dcb(0x228)},'children':[{'tag':_0x521dcb(0x19b),'attrs':{'fill':_0x521dcb(0xdb),'d':'M0\x200H16V16H0z','transform':_0x521dcb(0xd2)}}]}]}],'defIds':[_0x521dcb(0x228)]},_0x1909b6=_0x2277a3[_0x521dcb(0x116)](function(_0x346584,_0x1a95c0){const _0x5ab368=_0x521dcb;return _0x2277a3[_0x5ab368(0x132)](_0x3d97c3,Object['assign']({},_0x346584,{'id':_0x5ab368(0x1f5),'ref':_0x1a95c0,'icon':_0xb86878}));});_0x1909b6[_0x521dcb(0x230)]=_0x521dcb(0x1fa);function _0x41f3c2(_0x4ea5b4){const _0x33dbe7=_0x521dcb;var _0x87be06,_0x23764d;const {mcpCoreConfig:_0x266aa0,onSave:_0x47cbcb,loading:_0x40f0a4=!0x1,config:_0x12b6da,connectionStatus$:_0x58a11a,connectionError$:_0x35fca1,currentApiKey$:_0x691c18,currentSessionId$:_0x57296e}=_0x4ea5b4,_0x27f316=_0x278cd6[_0x33dbe7(0x1c5)](_0x34158d[_0x33dbe7(0x1bb)]),_0x2033ef=_0x278cd6['useObservable'](_0x58a11a,_0x2aadaf['MCPConnectionStatus']['DISCONNECTED']),_0x5cd96e=_0x278cd6[_0x33dbe7(0xe4)](_0x35fca1,_0x2aadaf[_0x33dbe7(0x139)][_0x33dbe7(0x10e)]),_0xb623a0=_0x278cd6[_0x33dbe7(0xe4)](_0x57296e,''),_0x54944c=_0x278cd6[_0x33dbe7(0xe4)](_0x691c18,''),[_0x1be8fe,_0xd47dab]=_0x2277a3[_0x33dbe7(0x1ba)](_0x54944c||''),_0x5e4f9d=!0x0,_0x1417be=_0x12b6da['showDeveloperTools']&&_0x266aa0[_0x33dbe7(0x170)]&&(_0x266aa0['mcpServerUrl']['includes'](_0x33dbe7(0x221))||_0x266aa0[_0x33dbe7(0x170)]['includes'](_0x33dbe7(0xf9))),_0x4ec4e0=(_0x87be06=_0x266aa0['mcpServerUrl'])==null?void 0x0:_0x87be06[_0x33dbe7(0x231)](_0x33dbe7(0x221)),_0x2e329f=(_0x23764d=_0x266aa0[_0x33dbe7(0x170)])==null?void 0x0:_0x23764d[_0x33dbe7(0x231)](_0x33dbe7(0xf9)),_0x118e3b=_0x4ec4e0?_0x33dbe7(0x1e1):_0x33dbe7(0x1a1),_0x57d345=_0x12b6da[_0x33dbe7(0x243)]&&(_0x4ec4e0||_0x2e329f),[_0x363c3d,_0x3b003d]=_0x2277a3[_0x33dbe7(0x1ba)](!_0x1be8fe['trim']()),_0x169b0c=(_0x386bda,_0x527560)=>{const _0x456321=_0x33dbe7;if(_0x527560===_0x2aadaf[_0x456321(0x139)][_0x456321(0x17a)])return _0x456321(0x1b6);switch(_0x386bda){case _0x2aadaf[_0x456321(0x16d)][_0x456321(0x151)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x2aadaf['MCPConnectionStatus'][_0x456321(0xeb)]:case _0x2aadaf[_0x456321(0x16d)][_0x456321(0x200)]:return _0x456321(0x163);case _0x2aadaf['MCPConnectionStatus'][_0x456321(0x188)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x456321(0x185);}},_0x5dd9fd=(_0x70ebb3,_0x41d668)=>{const _0xcdd8c9=_0x33dbe7;if(_0x41d668===_0x2aadaf[_0xcdd8c9(0x139)][_0xcdd8c9(0x17a)])return'univer-bg-red-500';switch(_0x70ebb3){case _0x2aadaf[_0xcdd8c9(0x16d)][_0xcdd8c9(0x151)]:return _0xcdd8c9(0x1cf);case _0x2aadaf[_0xcdd8c9(0x16d)]['CONNECTING']:case _0x2aadaf['MCPConnectionStatus']['RETRYING']:return _0xcdd8c9(0x157);case _0x2aadaf[_0xcdd8c9(0x16d)][_0xcdd8c9(0x188)]:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x2e5221=_0xb549bd=>{const _0x23296a=_0x33dbe7;switch(_0xb549bd){case _0x2aadaf['MCPConnectionStatus'][_0x23296a(0x151)]:return _0x27f316['t'](_0x23296a(0x208));case _0x2aadaf['MCPConnectionStatus'][_0x23296a(0xeb)]:return _0x27f316['t']('mcpConfig.connectionStatus.connecting');case _0x2aadaf[_0x23296a(0x16d)][_0x23296a(0x188)]:return _0x27f316['t'](_0x23296a(0x145));case _0x2aadaf[_0x23296a(0x16d)][_0x23296a(0x200)]:return _0x27f316['t'](_0x23296a(0x134));default:return _0x27f316['t'](_0x23296a(0xe8));}},_0x2d1bbc=_0x30c5cd=>{const _0x4ef071=_0x33dbe7;switch(_0x30c5cd){case _0x2aadaf['MCPConnectionError']['UNAUTHORIZED']:return _0x27f316['t'](_0x4ef071(0x1a3));case _0x2aadaf[_0x4ef071(0x139)][_0x4ef071(0x186)]:return _0x27f316['t']('mcpConfig.connectionError.sessionOccupied');case _0x2aadaf[_0x4ef071(0x139)][_0x4ef071(0x1a9)]:return _0x27f316['t']('mcpConfig.connectionError.networkError');case _0x2aadaf[_0x4ef071(0x139)][_0x4ef071(0x1ac)]:return _0x27f316['t'](_0x4ef071(0x24b));default:return'';}},_0x2b14bb=_0x2277a3[_0x33dbe7(0x16c)](()=>{const _0x3fe43e=_0x33dbe7,_0x335b34={..._0x266aa0,'apiKey':_0x1be8fe[_0x3fe43e(0x153)](),'enableAuth':_0x5e4f9d};_0x47cbcb(_0x335b34);},[_0x266aa0,_0x1be8fe,_0x5e4f9d,_0x47cbcb]),_0xf26469=_0x1be8fe[_0x33dbe7(0x153)]()[_0x33dbe7(0x136)]>0x0;return _0x5338aa[_0x33dbe7(0x23e)]('div',{'className':_0x33dbe7(0x238),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x138),'children':_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x15f),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x164),'children':_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x121),{'className':_0x33dbe7(0x1a0),'children':'⚙'})}),_0x5338aa['jsx']('div',{'children':_0x5338aa[_0x33dbe7(0x1c3)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x27f316['t'](_0x33dbe7(0x1ff))})})]})}),_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0xcf),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':_0x9ab182['clsx'](_0x33dbe7(0xf2),_0x169b0c(_0x2033ef,_0x5cd96e)),'children':_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0xe2),'children':[_0x5338aa['jsx']('div',{'className':_0x9ab182[_0x33dbe7(0x191)](_0x33dbe7(0x178),_0x5dd9fd(_0x2033ef,_0x5cd96e))}),_0x5338aa[_0x33dbe7(0x1c3)]('span',{'className':_0x33dbe7(0x16f),'children':_0x2e5221(_0x2033ef)})]})}),_0x5cd96e!==_0x2aadaf['MCPConnectionError']['NONE']&&(_0x2033ef===_0x2aadaf['MCPConnectionStatus'][_0x33dbe7(0x188)]||_0x5cd96e===_0x2aadaf[_0x33dbe7(0x139)][_0x33dbe7(0x17a)])&&_0x5338aa[_0x33dbe7(0x1c3)]('div',{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x5338aa['jsx'](_0x33dbe7(0x121),{'className':_0x33dbe7(0x16e),'children':'⚠️'}),_0x5338aa[_0x33dbe7(0x1c3)]('p',{'className':_0x33dbe7(0xef),'children':_0x2d1bbc(_0x5cd96e)})]})})]}),_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x5338aa[_0x33dbe7(0x23e)]('div',{'className':'univer-space-y-5','children':[_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x22f),'children':[_0x5338aa[_0x33dbe7(0x23e)]('label',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x121),{'children':'🔑'}),'\x20',_0x27f316['t'](_0x33dbe7(0x1bd)),_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x121),{'className':_0x33dbe7(0x127),'children':'*'}),_0x1417be&&_0x5338aa[_0x33dbe7(0x1c3)]('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x27f316['t'](_0x33dbe7(0x181)),'role':_0x33dbe7(0x1d6),'onClick':()=>_0x3b003d(!0x0),'children':_0x5338aa[_0x33dbe7(0x1c3)](_0x4996a6,{})})]}),_0x5338aa[_0x33dbe7(0x1c3)](_0x9ab182['Input'],{'type':_0x33dbe7(0x213),'placeholder':_0x27f316['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x1be8fe,'disabled':_0x40f0a4,'autoComplete':'off','onChange':_0xd47dab}),_0x5338aa[_0x33dbe7(0x1c3)]('p',{'className':_0x33dbe7(0x174),'children':_0x27f316['t'](_0x33dbe7(0x12c))})]}),_0x1417be&&_0x363c3d&&_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x23f),'children':[_0x5338aa['jsx']('a',{'className':_0x33dbe7(0xf4),'role':_0x33dbe7(0x1d6),'onClick':()=>_0x3b003d(!0x1),'children':_0x5338aa['jsx'](_0x2a1ac2,{'className':'univer-size-4'})}),_0x5338aa[_0x33dbe7(0x23e)]('div',{'className':_0x33dbe7(0x1fd),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0xf0),'children':_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x121),{'className':_0x33dbe7(0x190),'children':'🚀'})}),_0x5338aa['jsxs'](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x1a8),'children':[_0x5338aa[_0x33dbe7(0x1c3)]('h4',{'className':_0x33dbe7(0x239),'children':_0x27f316['t'](_0x33dbe7(0x181))}),_0x5338aa[_0x33dbe7(0x1c3)]('p',{'className':_0x33dbe7(0x17e),'children':_0x27f316['t'](_0x33dbe7(0x140))}),_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x57d345&&_0x5338aa[_0x33dbe7(0x23e)]('a',{'className':_0x33dbe7(0x1e5),'href':_0x118e3b,'target':_0x33dbe7(0x1f1),'rel':'noopener\x20noreferrer','children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x121),{'children':'🤖'}),_0x27f316['t'](_0x33dbe7(0x1d2)),_0x5338aa[_0x33dbe7(0x1c3)]('span',{'className':_0x33dbe7(0xd1),'children':'↗'})]})}),_0x5338aa[_0x33dbe7(0x23e)]('div',{'className':_0x33dbe7(0x20d),'children':['✨','\x20',_0x27f316['t'](_0x33dbe7(0x253))]})]})]})]}),_0x12b6da[_0x33dbe7(0x243)]&&_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x5338aa[_0x33dbe7(0x23e)]('h4',{'className':_0x33dbe7(0x192),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x121),{'children':'🔗'}),'\x20',_0x27f316['t'](_0x33dbe7(0xe3))]}),_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':'univer-space-y-4','children':[_0x5338aa[_0x33dbe7(0x23e)]('div',{'className':_0x33dbe7(0x1a6),'children':[_0x5338aa[_0x33dbe7(0x1c3)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x27f316['t']('mcpConfig.configInstructions')}),_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x22f),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x144),'children':_0x27f316['t'](_0x33dbe7(0x10a))}),_0x5338aa[_0x33dbe7(0x23e)]('div',{'className':_0x33dbe7(0x1ee),'children':[_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0xe2),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x121),{'className':_0x33dbe7(0xfe),'children':'1'}),_0x27f316['t']('mcpConfig.configStep1')]}),_0x5338aa[_0x33dbe7(0x23e)]('div',{'className':_0x33dbe7(0xe2),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x121),{'className':_0x33dbe7(0xfe),'children':'2'}),_0x27f316['t'](_0x33dbe7(0x1e7))]}),_0x5338aa[_0x33dbe7(0x23e)]('div',{'className':_0x33dbe7(0xe2),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x121),{'className':_0x33dbe7(0xfe),'children':'3'}),_0x27f316['t'](_0x33dbe7(0x12a))]})]})]})]}),_0x5338aa['jsxs'](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x22f),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x33dbe7(0x175)}),_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x233),'children':_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x206),{'className':_0x33dbe7(0x1b2),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x33dbe7(0x182)+(_0xb623a0||_0x33dbe7(0x1fb)),'type':_0x33dbe7(0x1c7),'headers':{'Authorization':'Bearer\x20'+(_0x1be8fe||_0x33dbe7(0x156))}}}},null,0x2)})})]}),_0x5338aa[_0x33dbe7(0x23e)]('div',{'className':_0x33dbe7(0x1a6),'children':[_0x5338aa[_0x33dbe7(0x1c3)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x27f316['t'](_0x33dbe7(0x18e))}),_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x22f),'children':[_0x5338aa[_0x33dbe7(0x23e)]('div',{'className':_0x33dbe7(0x1fc),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x5338aa[_0x33dbe7(0x23e)]('div',{'className':_0x33dbe7(0x211),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x33dbe7(0xfc)}),_0x5338aa[_0x33dbe7(0x1c3)]('div',{'className':_0x33dbe7(0x174),'children':_0x27f316['t'](_0x33dbe7(0xd7))})]})]}),_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x1fc),'children':[_0x5338aa[_0x33dbe7(0x1c3)]('div',{'className':_0x33dbe7(0xd6)}),_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x211),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x1ca),'children':_0x33dbe7(0xf8)}),_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x174),'children':_0x27f316['t'](_0x33dbe7(0x203))})]})]})]})]})]})]}),_0x5338aa['jsx'](_0x9ab182[_0x33dbe7(0x250)],{'onClick':_0x2b14bb,'disabled':!_0xf26469||_0x40f0a4,'className':_0x33dbe7(0x1c0),'children':_0x40f0a4?_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x121),{'className':_0x33dbe7(0xe2),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x121),{'children':'⟲'}),_0x27f316['t'](_0x33dbe7(0x108))]}):_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x121),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x4fb90f,{}),_0x27f316['t']('mcpConfig.save')]})}),_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x18f),'children':_0x5338aa[_0x33dbe7(0x23e)]('div',{'className':_0x33dbe7(0x251),'children':[_0x5338aa[_0x33dbe7(0x1c3)]('span',{'className':_0x33dbe7(0x201),'children':'💡'}),_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0x1bc),'children':[_0x5338aa[_0x33dbe7(0x1c3)](_0x33dbe7(0x1f2),{'className':_0x33dbe7(0xff),'children':_0x33dbe7(0x21e)}),_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'children':['•',_0x27f316['t'](_0x33dbe7(0x171))]}),_0x5338aa[_0x33dbe7(0x23e)](_0x33dbe7(0x1f2),{'children':['•',_0x27f316['t'](_0x33dbe7(0x15c))]})]})]})})]})})]});}const _0x3b1e6a=_0x521dcb(0xfd),_0xe77e22={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x1ccf52=Object[_0x521dcb(0x255)],_0x3bd93a=(_0x221656,_0x331d13,_0x4a3c4a,_0x2ecd3b)=>{const _0x16184a=_0x521dcb;for(var _0x329333=_0x2ecd3b>0x1?void 0x0:_0x2ecd3b?_0x1ccf52(_0x331d13,_0x4a3c4a):_0x331d13,_0x24b0ad=_0x221656[_0x16184a(0x136)]-0x1,_0x2b4fec;_0x24b0ad>=0x0;_0x24b0ad--)(_0x2b4fec=_0x221656[_0x24b0ad])&&(_0x329333=_0x2b4fec(_0x329333)||_0x329333);return _0x329333;},_0x56eacf=(_0x2f9564,_0x30b9d7)=>(_0x41aae7,_0x5b24ea)=>_0x30b9d7(_0x41aae7,_0x5b24ea,_0x2f9564);const _0x5ec9b7=_0x521dcb(0x172),_0x3197cf=_0x521dcb(0x1ae);_0x7de47f[_0x521dcb(0x1f0)]=class extends _0x34158d[_0x521dcb(0x12e)]{constructor(_0x5b8114,_0x516ae7,_0x512857,_0x45da18,_0x217d94,_0x41bf23,_0x9fc74e,_0x5747df,_0x2946e9,_0x16724f){const _0x30dcbf=_0x521dcb;super(),_0x138def(this,_0x30dcbf(0x149),new _0x3f4564[(_0x30dcbf(0x24f))](!0x1)),_0x138def(this,'_mcpCoreConfig$',new _0x3f4564[(_0x30dcbf(0x24f))]({})),_0x138def(this,_0x30dcbf(0x10b),new _0x3f4564[(_0x30dcbf(0x24f))]({})),_0x138def(this,'_apiKey$',new _0x3f4564['BehaviorSubject']('')),_0x138def(this,_0x30dcbf(0x1d8),async _0x5374c6=>{const _0x4a33fe=_0x30dcbf;var _0x1c5469,_0x51c3d6;this[_0x4a33fe(0x149)][_0x4a33fe(0x1c6)](!0x0);try{const _0x3257d4=await this[_0x4a33fe(0x105)](_0x5374c6);if(!_0x3257d4[_0x4a33fe(0x209)]){this[_0x4a33fe(0x222)][_0x4a33fe(0x194)]({'type':_0x9ab182[_0x4a33fe(0x21d)]['Error'],'content':_0x3257d4[_0x4a33fe(0x245)]||this['_localeService']['t'](_0x4a33fe(0x1ed))});return;}_0x5374c6[_0x4a33fe(0x19c)]?await this[_0x4a33fe(0x13c)][_0x4a33fe(0x249)](_0x5ec9b7,_0x5374c6['apiKey']['trim']()):await this[_0x4a33fe(0x13c)]['removeItem'](_0x5ec9b7),this[_0x4a33fe(0xd4)][_0x4a33fe(0x1c6)](((_0x1c5469=_0x5374c6[_0x4a33fe(0x19c)])==null?void 0x0:_0x1c5469[_0x4a33fe(0x153)]())||''),this['_mcpConnectionController'][_0x4a33fe(0x1ce)]({'Authorization':'Bearer\x20'+((_0x51c3d6=_0x5374c6[_0x4a33fe(0x19c)])==null?void 0x0:_0x51c3d6[_0x4a33fe(0x153)]())}),this['_messageService'][_0x4a33fe(0x194)]({'type':_0x9ab182[_0x4a33fe(0x21d)]['Success'],'content':this[_0x4a33fe(0xd3)]['t'](_0x4a33fe(0x18a))}),setTimeout(()=>{this['_dialogService']['close'](_0x3197cf);},0x320);}catch(_0x488ede){this[_0x4a33fe(0x109)]['error'](_0x4a33fe(0x1d4),_0x488ede),this[_0x4a33fe(0x222)][_0x4a33fe(0x194)]({'type':_0x9ab182[_0x4a33fe(0x21d)][_0x4a33fe(0x20e)],'content':this[_0x4a33fe(0xd3)]['t']('mcpConfig.configError')});}finally{this['_loading$'][_0x4a33fe(0x1c6)](!0x1);}}),(this[_0x30dcbf(0x177)]=_0x5b8114,this[_0x30dcbf(0x179)]=_0x516ae7,this[_0x30dcbf(0x15b)]=_0x512857,this[_0x30dcbf(0x13c)]=_0x45da18,this[_0x30dcbf(0x23a)]=_0x217d94,this[_0x30dcbf(0x222)]=_0x41bf23,this[_0x30dcbf(0x1dd)]=_0x9fc74e,this[_0x30dcbf(0xd3)]=_0x5747df,this['_logService']=_0x2946e9,this[_0x30dcbf(0x218)]=_0x16724f,this[_0x30dcbf(0x23d)](),this[_0x30dcbf(0x207)](),this[_0x30dcbf(0xfa)]());}[_0x521dcb(0x1cd)](){const _0x38fb27=_0x521dcb,_0x18067e=this[_0x38fb27(0x15b)][_0x38fb27(0x244)](_0x3b1e6a);_0x18067e!=null&&_0x18067e['showDeveloperTools']&&this[_0x38fb27(0x23a)]['open']({'id':_0x3197cf,'title':{'title':this[_0x38fb27(0xd3)]['t']('mcpConfig.title')},'children':{'label':_0x38fb27(0x19f)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x44ef6f=_0x38fb27;this[_0x44ef6f(0x23a)][_0x44ef6f(0xe7)](_0x3197cf);}});}[_0x521dcb(0xd8)](){const _0x303066=_0x521dcb;return this[_0x303066(0x135)][_0x303066(0x1d3)];}['_registerComponent'](){const _0x45ae60=_0x521dcb;this[_0x45ae60(0x15d)](this[_0x45ae60(0x1dd)]['register'](_0x45ae60(0x19f),this[_0x45ae60(0x223)]()));}[_0x521dcb(0x223)](){const _0xf25430=_0x521dcb;return _0x278cd6[_0xf25430(0x217)](()=>{const _0x10127c=_0xf25430;var _0x193e59,_0x46c26e,_0x148fc8;return _0x5338aa[_0x10127c(0x1c3)](_0x41f3c2,{'config':this[_0x10127c(0x10b)]['value'],'mcpCoreConfig':this[_0x10127c(0x135)][_0x10127c(0x1d3)],'currentApiKey$':this[_0x10127c(0xd4)],'onSave':this['_handleConfigSave'],'loading':this[_0x10127c(0x149)][_0x10127c(0x1d3)],'connectionStatus$':(_0x193e59=this[_0x10127c(0x218)])==null?void 0x0:_0x193e59[_0x10127c(0x11b)],'connectionError$':(_0x46c26e=this[_0x10127c(0x218)])==null?void 0x0:_0x46c26e[_0x10127c(0x11f)],'currentSessionId$':(_0x148fc8=this[_0x10127c(0x218)])==null?void 0x0:_0x148fc8[_0x10127c(0xf6)]});},this['_injector']);}[_0x521dcb(0x23d)](){const _0x4bda27=_0x521dcb;this['disposeWithMe'](this[_0x4bda27(0x15b)][_0x4bda27(0x246)](_0x2aadaf['MCP_PLUGIN_CONFIG_KEY'])[_0x4bda27(0x113)](_0x158227=>{const _0xde309d=_0x4bda27;this[_0xde309d(0x135)][_0xde309d(0x1c6)](_0x158227||{});}));const _0x6cc564=this[_0x4bda27(0x15b)][_0x4bda27(0x244)](_0x2aadaf[_0x4bda27(0x147)]);this[_0x4bda27(0x135)][_0x4bda27(0x1c6)](_0x6cc564||{}),this[_0x4bda27(0x15d)](this[_0x4bda27(0x15b)][_0x4bda27(0x246)](_0x3b1e6a)[_0x4bda27(0x113)](_0x5e9393=>{const _0x4053e6=_0x4bda27;this[_0x4053e6(0x10b)][_0x4053e6(0x1c6)](_0x5e9393||{});}));const _0x503c45=this[_0x4bda27(0x15b)]['getConfig'](_0x3b1e6a);this['_config$']['next'](_0x503c45||{});}async[_0x521dcb(0x207)](){const _0x1b7e44=_0x521dcb,_0x4a07ce=this[_0x1b7e44(0x15b)][_0x1b7e44(0x244)](_0x3b1e6a);if(!(_0x4a07ce!=null&&_0x4a07ce[_0x1b7e44(0x243)]))return;const _0x4dc5bf=await this[_0x1b7e44(0x13c)][_0x1b7e44(0x1a5)](_0x5ec9b7);_0x4dc5bf&&(this[_0x1b7e44(0x218)][_0x1b7e44(0x1ce)]({'Authorization':_0x1b7e44(0x184)+_0x4dc5bf}),this['_apiKey$'][_0x1b7e44(0x1c6)](_0x4dc5bf));}async[_0x521dcb(0x105)](_0x831cd6){const _0x2b2e4e=_0x521dcb;if(!_0x831cd6[_0x2b2e4e(0x19c)]||_0x831cd6[_0x2b2e4e(0x19c)][_0x2b2e4e(0x153)]()[_0x2b2e4e(0x136)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x2b2e4e(0x24a))};if(_0x831cd6['apiKey']['trim']()[_0x2b2e4e(0x136)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x2b2e4e(0x1a7))};try{const _0x2fb0a5=await this[_0x2b2e4e(0x177)][_0x2b2e4e(0x12b)](_0x2aadaf[_0x2b2e4e(0x14b)])[_0x2b2e4e(0x1f6)](_0x831cd6['apiKey'][_0x2b2e4e(0x153)]());return _0x2fb0a5['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2fb0a5[_0x2b2e4e(0x220)]||this[_0x2b2e4e(0xd3)]['t'](_0x2b2e4e(0x1e4))};}catch(_0x30f987){return console[_0x2b2e4e(0x21a)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x30f987),{'isValid':!0x0};}}},_0x7de47f[_0x521dcb(0x1f0)]=_0x3bd93a([_0x56eacf(0x0,_0x34158d[_0x521dcb(0x1c1)](_0x34158d[_0x521dcb(0x1f8)])),_0x56eacf(0x1,_0x278cd6[_0x521dcb(0x148)]),_0x56eacf(0x2,_0x34158d[_0x521dcb(0x166)]),_0x56eacf(0x3,_0x34158d[_0x521dcb(0x14a)]),_0x56eacf(0x4,_0x278cd6['IDialogService']),_0x56eacf(0x5,_0x278cd6[_0x521dcb(0x1b0)]),_0x56eacf(0x6,_0x34158d[_0x521dcb(0x1c1)](_0x278cd6[_0x521dcb(0x1df)])),_0x56eacf(0x7,_0x34158d[_0x521dcb(0x1c1)](_0x34158d[_0x521dcb(0x1bb)])),_0x56eacf(0x8,_0x34158d[_0x521dcb(0x162)]),_0x56eacf(0x9,_0x34158d[_0x521dcb(0x1c1)](_0x2aadaf[_0x521dcb(0x14b)]))],_0x7de47f['MCPConfigUIController']);const _0x4f532a={'id':_0x521dcb(0x165),'type':_0x34158d['CommandType']['COMMAND'],'handler':async(_0x162395,_0x596809)=>(_0x162395[_0x521dcb(0x12b)](_0x7de47f[_0x521dcb(0x1f0)])[_0x521dcb(0x1cd)](),!0x0)};function _0x138cf4(_0x34e0fe,_0x2d8aa5){const _0x499cf6=_0x521dcb;switch(_0x34e0fe){case _0x2aadaf[_0x499cf6(0x16d)]['DISCONNECTED']:return'mcpStatus.disconnected';case _0x2aadaf[_0x499cf6(0x16d)]['CONNECTING']:return _0x499cf6(0x131);case _0x2aadaf['MCPConnectionStatus'][_0x499cf6(0x151)]:return _0x499cf6(0x1eb);case _0x2aadaf['MCPConnectionStatus']['FAILED']:switch(_0x2d8aa5){case _0x2aadaf['MCPConnectionError'][_0x499cf6(0x17a)]:return'mcpStatus.unauthorized';case _0x2aadaf[_0x499cf6(0x139)][_0x499cf6(0x186)]:return'mcpStatus.sessionOccupied';case _0x2aadaf['MCPConnectionError'][_0x499cf6(0x1a9)]:return _0x499cf6(0x110);case _0x2aadaf[_0x499cf6(0x139)]['MAX_RETRIES_EXCEEDED']:return _0x499cf6(0x161);default:return _0x499cf6(0xea);}case _0x2aadaf[_0x499cf6(0x16d)][_0x499cf6(0x200)]:return _0x499cf6(0x1de);default:return _0x499cf6(0x22b);}}function _0x1bb9e4(_0x4ae1e8,_0xab74e3,_0x1ef6df,_0xdd277a=!0x0){const _0x55fbf5=_0x521dcb,_0x33e7cc=_0x138cf4(_0x4ae1e8,_0xab74e3),_0x3bbd23=_0x1ef6df['t'](_0x33e7cc);return _0xdd277a?_0x4ae1e8===_0x2aadaf[_0x55fbf5(0x16d)]['DISCONNECTED']&&_0xab74e3===_0x2aadaf['MCPConnectionError'][_0x55fbf5(0x17a)]?_0x3bbd23+_0x55fbf5(0x158)+_0x1ef6df['t']('mcpStatus.clickToConfigure'):_0x4ae1e8===_0x2aadaf[_0x55fbf5(0x16d)][_0x55fbf5(0x151)]?''+_0x3bbd23:_0x4ae1e8===_0x2aadaf['MCPConnectionStatus'][_0x55fbf5(0x169)]||_0x4ae1e8===_0x2aadaf[_0x55fbf5(0x16d)][_0x55fbf5(0x188)]?_0x3bbd23+'\x20-\x20'+_0x1ef6df['t']('mcpStatus.clickToConnect'):_0x3bbd23:_0x3bbd23;}function _0x35a926(_0x134a8b){const _0xbf8c97=_0x521dcb;switch(_0x134a8b){case _0x2aadaf[_0xbf8c97(0x16d)][_0xbf8c97(0x151)]:return _0xbf8c97(0x22c);case _0x2aadaf['MCPConnectionStatus'][_0xbf8c97(0xeb)]:case _0x2aadaf[_0xbf8c97(0x16d)]['RETRYING']:return'univer-text-yellow-500';case _0x2aadaf[_0xbf8c97(0x16d)][_0xbf8c97(0x188)]:case _0x2aadaf[_0xbf8c97(0x16d)][_0xbf8c97(0x169)]:return _0xbf8c97(0x127);default:return _0xbf8c97(0x1d1);}}function _0x32d30b(_0x194125){const _0x3c81e0=_0x521dcb,{status$:_0x4c9b98,error$:_0x247c62,onConfigure:_0xa48758,showClickable:_0x266074=!0x0}=_0x194125,_0x5a38a0=_0x278cd6[_0x3c81e0(0xe4)](_0x4c9b98,_0x2aadaf['MCPConnectionStatus']['DISCONNECTED']),_0x21c798=_0x278cd6[_0x3c81e0(0xe4)](_0x247c62,_0x2aadaf[_0x3c81e0(0x139)][_0x3c81e0(0x10e)]),_0x13c3a1=_0x278cd6[_0x3c81e0(0x1c5)](_0x34158d[_0x3c81e0(0x1bb)]),_0x45c184=_0x5a38a0===_0x2aadaf[_0x3c81e0(0x16d)]['CONNECTED'];_0x5a38a0===_0x2aadaf[_0x3c81e0(0x16d)][_0x3c81e0(0xeb)]||_0x2aadaf[_0x3c81e0(0x16d)][_0x3c81e0(0x200)];const _0x2181be=_0x13c3a1['t'](_0x138cf4(_0x5a38a0,_0x21c798)),_0x2045de=_0x1bb9e4(_0x5a38a0,_0x21c798,_0x13c3a1,_0x266074),_0x505b93=_0x35a926(_0x5a38a0),_0x4e6905=_0x45c184?_0x5338aa[_0x3c81e0(0x1c3)](_0x1909b6,{}):_0x5338aa[_0x3c81e0(0x1c3)](_0x2b6cc0,{}),_0x3781de=_0x2277a3[_0x3c81e0(0x16c)](()=>{_0x266074&&_0xa48758&&_0xa48758();},[_0x266074,_0xa48758]);function _0x143808(){const _0x57fb04=_0x3c81e0;return _0x5338aa[_0x57fb04(0x23e)](_0x57fb04(0x1f2),{'className':_0x9ab182[_0x57fb04(0x191)]('univer-flex\x20univer-items-center',_0x266074&&_0xa48758&&'\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'),'role':_0x57fb04(0x1d6),'onClick':_0x266074&&_0xa48758?_0x3781de:void 0x0,'children':[_0x5338aa['jsx'](_0x57fb04(0x1f2),{'className':_0x9ab182[_0x57fb04(0x191)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x505b93),'children':_0x4e6905}),_0x5338aa[_0x57fb04(0x1c3)](_0x57fb04(0x1f2),{'className':_0x57fb04(0xe0),'children':_0x2181be})]});}return _0x5338aa[_0x3c81e0(0x1c3)](_0x9ab182[_0x3c81e0(0x248)],{'title':_0x2045de,'placement':_0x3c81e0(0x125),'children':_0x143808()});}var _0x3b52b9=Object['getOwnPropertyDescriptor'],_0x1c9187=(_0x2ff3c2,_0x1a4ac7,_0x42f0e5,_0x2ce6af)=>{for(var _0x43bc47=_0x2ce6af>0x1?void 0x0:_0x2ce6af?_0x3b52b9(_0x1a4ac7,_0x42f0e5):_0x1a4ac7,_0x976210=_0x2ff3c2['length']-0x1,_0x1c9ee2;_0x976210>=0x0;_0x976210--)(_0x1c9ee2=_0x2ff3c2[_0x976210])&&(_0x43bc47=_0x1c9ee2(_0x43bc47)||_0x43bc47);return _0x43bc47;},_0x554da0=(_0x4d6a1f,_0x180967)=>(_0xbc98cb,_0x497c34)=>_0x180967(_0xbc98cb,_0x497c34,_0x4d6a1f);_0x7de47f[_0x521dcb(0x24c)]=class extends _0x34158d[_0x521dcb(0x12e)]{constructor(_0x1b7330,_0x148ebc,_0xaa4357,_0x15717f){const _0x20e510=_0x521dcb;super(),this[_0x20e510(0x177)]=_0x1b7330,this[_0x20e510(0x130)]=_0x148ebc,this[_0x20e510(0x179)]=_0xaa4357,this[_0x20e510(0x15b)]=_0x15717f,this[_0x20e510(0x129)](),this[_0x20e510(0xda)]();}[_0x521dcb(0x129)](){const _0x344808=_0x521dcb,_0x16e7f3=this[_0x344808(0x15b)][_0x344808(0x244)](_0x3b1e6a);_0x16e7f3!=null&&_0x16e7f3[_0x344808(0x243)]&&(this['_connectionController'][_0x344808(0xe5)]=!0x1);}[_0x521dcb(0xda)](){const _0x603451=_0x521dcb,_0x4b2a1f=this[_0x603451(0x15b)][_0x603451(0x244)](_0x3b1e6a);(_0x4b2a1f==null?void 0x0:_0x4b2a1f['showStatus'])!==!0x1&&this[_0x603451(0x15d)](this[_0x603451(0x179)]['registerComponent'](_0x278cd6['BuiltInUIPart'][_0x603451(0x124)],()=>{const _0x1b3fe7=_0x603451;var _0x508993;return _0x278cd6['connectInjector'](_0x571820({'status$':this[_0x1b3fe7(0x130)][_0x1b3fe7(0x11b)],'error$':this[_0x1b3fe7(0x130)][_0x1b3fe7(0x11f)],'onConfigure':()=>this[_0x1b3fe7(0x1ec)](),'showClickable':(_0x508993=_0x4b2a1f==null?void 0x0:_0x4b2a1f['showDeveloperTools'])!=null?_0x508993:!0x1}),this[_0x1b3fe7(0x177)]);}));}['_handleConfigure'](){const _0x2fad7a=_0x521dcb;this[_0x2fad7a(0x177)][_0x2fad7a(0x12b)](_0x7de47f[_0x2fad7a(0x1f0)])[_0x2fad7a(0x1cd)]();}},_0x7de47f[_0x521dcb(0x24c)]=_0x1c9187([_0x554da0(0x0,_0x34158d[_0x521dcb(0x1c1)](_0x34158d[_0x521dcb(0x1f8)])),_0x554da0(0x1,_0x34158d[_0x521dcb(0x1c1)](_0x2aadaf['MCPConnectionController'])),_0x554da0(0x2,_0x278cd6['IUIPartsService']),_0x554da0(0x3,_0x34158d[_0x521dcb(0x166)])],_0x7de47f[_0x521dcb(0x24c)]);function _0x571820(_0x159de5){const {status$:_0x29e0b3,error$:_0x4d218a,onConfigure:_0x293136,showClickable:_0x5e2016}=_0x159de5;return function(){const _0x3ed4ad=_0x209d;return _0x5338aa[_0x3ed4ad(0x1c3)](_0x32d30b,{'status$':_0x29e0b3,'error$':_0x4d218a,'onConfigure':_0x293136,'showClickable':_0x5e2016});};}function _0xaee01c(_0x37ee8d){const _0x34c034=_0x521dcb;return{'id':_0x4f532a['id'],'type':_0x278cd6['MenuItemType']['BUTTON'],'icon':_0x34c034(0xe9),'title':_0x34c034(0x18c),'tooltip':'mcpConfig.title'};}const _0x3b8928={[_0x278cd6[_0x521dcb(0x18d)][_0x521dcb(0xf5)]]:{[_0x4f532a['id']]:{'order':0xa,'menuItemFactory':_0xaee01c}}};var _0x2cdd09=Object['getOwnPropertyDescriptor'],_0xfe8557=(_0x569b40,_0x2446dd,_0x116439,_0x5dd382)=>{for(var _0x106541=_0x5dd382>0x1?void 0x0:_0x5dd382?_0x2cdd09(_0x2446dd,_0x116439):_0x2446dd,_0x55733d=_0x569b40['length']-0x1,_0x147ba5;_0x55733d>=0x0;_0x55733d--)(_0x147ba5=_0x569b40[_0x55733d])&&(_0x106541=_0x147ba5(_0x106541)||_0x106541);return _0x106541;},_0xda9996=(_0x3125c5,_0x356429)=>(_0x2708a1,_0x1a0482)=>_0x356429(_0x2708a1,_0x1a0482,_0x3125c5);_0x7de47f['MCPUIMenuController']=class extends _0x34158d[_0x521dcb(0x12e)]{constructor(_0x24a845,_0x1bab2f){const _0x6d5654=_0x521dcb;super(),this[_0x6d5654(0x12f)]=_0x24a845,this[_0x6d5654(0x202)]=_0x1bab2f,this[_0x6d5654(0x236)](),this[_0x6d5654(0x117)]();}[_0x521dcb(0x236)](){const _0x26e6b4=_0x521dcb;[_0x4f532a][_0x26e6b4(0x1b4)](_0xd1e8e7=>{const _0xb023ce=_0x26e6b4;this[_0xb023ce(0x15d)](this['_commandService'][_0xb023ce(0x1ad)](_0xd1e8e7));});}[_0x521dcb(0x117)](){const _0x15721e=_0x521dcb;this[_0x15721e(0x202)]['mergeMenu'](_0x3b8928);}},_0x7de47f[_0x521dcb(0x159)]=_0xfe8557([_0xda9996(0x0,_0x34158d[_0x521dcb(0x1c9)]),_0xda9996(0x1,_0x278cd6[_0x521dcb(0xd5)])],_0x7de47f[_0x521dcb(0x159)]);const _0x4bf37e={'mcpStatus':{'disconnected':_0x521dcb(0x214),'connecting':_0x521dcb(0x18b),'connected':_0x521dcb(0x1d5),'failed':_0x521dcb(0x212),'retrying':'MCP\x20Retrying...','unknown':_0x521dcb(0x128),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x521dcb(0x1b5),'networkError':_0x521dcb(0x1f9),'maxRetriesExceeded':_0x521dcb(0xd0),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x521dcb(0x1f7)},'mcpConfig':{'title':_0x521dcb(0x175),'description':_0x521dcb(0x197),'apiKey':_0x521dcb(0x187),'apiKeyPlaceholder':_0x521dcb(0x101),'apiKeyHint':_0x521dcb(0x15a),'enableAuth':_0x521dcb(0x14e),'enableAuthHint':_0x521dcb(0xd9),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x521dcb(0x1b7),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x521dcb(0x112),'configStep1':_0x521dcb(0xdc),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x521dcb(0x237),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x521dcb(0x196),'save':'Save\x20Configuration','saving':_0x521dcb(0x1e6),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x521dcb(0x13e),'configSaved':_0x521dcb(0x1ef),'configError':_0x521dcb(0x1fe),'apiApplyInfo':{'title':_0x521dcb(0x19e),'description':_0x521dcb(0x1f3),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x521dcb(0x10c)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x521dcb(0x152),'invalidConfig':_0x521dcb(0x1dc),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x521dcb(0x17f),'connected':_0x521dcb(0x1b9),'failed':_0x521dcb(0x155),'retrying':_0x521dcb(0x226)},'connectionError':{'unauthorized':_0x521dcb(0x103),'sessionOccupied':_0x521dcb(0x193),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x521dcb(0x19a)}}},_0x452a3a={'mcpStatus':{'disconnected':_0x521dcb(0x1cb),'connecting':'MCP\x20连接中...','connected':_0x521dcb(0x13b),'failed':'MCP\x20连接失败','retrying':_0x521dcb(0xe1),'unknown':_0x521dcb(0x100),'unauthorized':'MCP:\x20未授权','sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x521dcb(0x21c),'maxRetriesExceeded':_0x521dcb(0x14c),'clickToConnect':_0x521dcb(0x14d),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':'MCP\x20配置','description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x521dcb(0x20b),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x521dcb(0xed),'enableAuthHint':_0x521dcb(0x1b1),'connectionInfo':_0x521dcb(0x24d),'mcpClientConfig':_0x521dcb(0x24d),'configInstructions':_0x521dcb(0x114),'configStepTitle':'配置步骤:','configStep1':_0x521dcb(0x11c),'configStep2':_0x521dcb(0x111),'configStep3':_0x521dcb(0x224),'sessionId':_0x521dcb(0x235),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x521dcb(0x241),'configParameters':_0x521dcb(0xde),'maxRetries':_0x521dcb(0x102),'save':_0x521dcb(0x10d),'saving':_0x521dcb(0x1db),'note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x521dcb(0x104),'configError':_0x521dcb(0x21b),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x521dcb(0x1d0),'univerAiLabel':_0x521dcb(0x254),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x521dcb(0x118),'apiKeyTooShort':_0x521dcb(0x1a2),'invalidConfig':_0x521dcb(0x198),'invalidApiKey':_0x521dcb(0x189)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x521dcb(0x1cc),'failed':_0x521dcb(0x15e),'retrying':_0x521dcb(0x215)},'connectionError':{'unauthorized':_0x521dcb(0xfb),'sessionOccupied':_0x521dcb(0x252),'networkError':_0x521dcb(0x1bf),'maxRetriesExceeded':_0x521dcb(0x17c)}}};var _0x2d7d10=Object[_0x521dcb(0x123)],_0x2fdf2b=Object[_0x521dcb(0x255)],_0x40f320=(_0x2b0816,_0x4cd1da,_0x543364)=>_0x4cd1da in _0x2b0816?_0x2d7d10(_0x2b0816,_0x4cd1da,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x543364}):_0x2b0816[_0x4cd1da]=_0x543364,_0x593778=(_0x1d2f5b,_0x298715,_0x35a10f,_0x4d93d1)=>{const _0x1cca6a=_0x521dcb;for(var _0x1dfd0f=_0x4d93d1>0x1?void 0x0:_0x4d93d1?_0x2fdf2b(_0x298715,_0x35a10f):_0x298715,_0x508161=_0x1d2f5b[_0x1cca6a(0x136)]-0x1,_0x457273;_0x508161>=0x0;_0x508161--)(_0x457273=_0x1d2f5b[_0x508161])&&(_0x1dfd0f=_0x457273(_0x1dfd0f)||_0x1dfd0f);return _0x1dfd0f;},_0x26e03d=(_0x55340c,_0x1184f2)=>(_0x8442cb,_0x5bd494)=>_0x1184f2(_0x8442cb,_0x5bd494,_0x55340c),_0x32570f=(_0x1ccc24,_0x20ce7b,_0x12cb8d)=>_0x40f320(_0x1ccc24,_0x20ce7b+'',_0x12cb8d);_0x7de47f[_0x521dcb(0xee)]=class extends _0x34158d[_0x521dcb(0x167)]{constructor(_0x780624=_0xe77e22,_0x316b6a,_0x1715aa,_0xb0b449,_0x27c674,_0x5ceb9e){const _0x70fb09=_0x521dcb;super(),this[_0x70fb09(0x141)]=_0x780624,this[_0x70fb09(0x177)]=_0x316b6a,this[_0x70fb09(0x15b)]=_0x1715aa,this[_0x70fb09(0x179)]=_0xb0b449,this['_localStorageService']=_0x27c674,this[_0x70fb09(0xd3)]=_0x5ceb9e;const {..._0x41562d}=_0x34158d[_0x70fb09(0x195)]({},_0xe77e22,this['_config']);this[_0x70fb09(0x15b)][_0x70fb09(0x1da)](_0x3b1e6a,_0x41562d);}async[_0x521dcb(0x12d)](){const _0x1a58a4=_0x521dcb,_0x6ad713=[[_0x7de47f[_0x1a58a4(0x24c)]],[_0x7de47f[_0x1a58a4(0x1f0)]],[_0x7de47f['MCPUIMenuController']]];this[_0x1a58a4(0x177)][_0x1a58a4(0x225)](_0x2afcbe['ISocketService'])||_0x6ad713[_0x1a58a4(0x176)]([_0x2afcbe[_0x1a58a4(0x13d)],{'useClass':_0x2afcbe[_0x1a58a4(0x1af)]}]),_0x6ad713['forEach'](_0x418046=>this[_0x1a58a4(0x177)][_0x1a58a4(0x1f4)](_0x418046)),this['_injector'][_0x1a58a4(0x12b)](_0x7de47f[_0x1a58a4(0x24c)]),this[_0x1a58a4(0x177)][_0x1a58a4(0x12b)](_0x7de47f[_0x1a58a4(0x1f0)]),this['_injector'][_0x1a58a4(0x12b)](_0x7de47f[_0x1a58a4(0x159)]);}},_0x32570f(_0x7de47f[_0x521dcb(0xee)],_0x521dcb(0x13f),_0x521dcb(0x120)),_0x7de47f[_0x521dcb(0xee)]=_0x593778([_0x34158d['DependentOn'](_0x2aadaf[_0x521dcb(0x10f)]),_0x26e03d(0x1,_0x34158d[_0x521dcb(0x1c1)](_0x34158d[_0x521dcb(0x1f8)])),_0x26e03d(0x2,_0x34158d[_0x521dcb(0x166)]),_0x26e03d(0x3,_0x278cd6[_0x521dcb(0x148)]),_0x26e03d(0x4,_0x34158d[_0x521dcb(0x14a)]),_0x26e03d(0x5,_0x34158d[_0x521dcb(0x1c1)](_0x34158d[_0x521dcb(0x1bb)]))],_0x7de47f['UniverMCPUIPlugin']),_0x7de47f['MCPConfigPanel']=_0x41f3c2,_0x7de47f['MCPStatusDisplay']=_0x32d30b,_0x7de47f['OpenMCPConfigPanelCommand']=_0x4f532a,_0x7de47f[_0x521dcb(0x20c)]=_0x4bf37e,_0x7de47f[_0x521dcb(0x11a)]=_0x452a3a,Object[_0x521dcb(0x123)](_0x7de47f,Symbol['toStringTag'],{'value':_0x521dcb(0x11e)});}));function _0x209d(_0x43ce98,_0x478348){_0x43ce98=_0x43ce98-0xcf;const _0x56a36c=_0x56a3();let _0x209d45=_0x56a36c[_0x43ce98];return _0x209d45;}function _0x56a3(){const _0x2d8470=['univer-text-red-500','MCP\x20Unknown\x20Status','_initAutoConnect','mcpConfig.configStep3','get','mcpConfig.apiKeyHint','onStarting','Disposable','_commandService','_connectionController','mcpStatus.connecting','createElement','tag','mcpConfig.connectionStatus.retrying','_mcpCoreConfig$','length','rxjs','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','MCPConnectionError','@univerjs-pro/mcp','MCP\x20已连接','_localStorageService','ISocketService','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','pluginName','mcpConfig.apiApplyInfo.description','_config','40Hcjfln','1855887lQbwJe','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.connectionStatus.failed','CheckMarkIcon','MCP_PLUGIN_CONFIG_KEY','IUIPartsService','_loading$','ILocalStorageService','MCPConnectionController','MCP:\x20超出最大重试次数','点击连接\x20MCP','Enable\x20Authentication','help-icon','url(#$1','CONNECTED','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','trim','string','Connection\x20Failed','<API_KEY>','univer-bg-blue-500','\x20-\x20','MCPUIMenuController','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','_configService','mcpConfig.note2','disposeWithMe','连接失败','univer-flex\x20univer-items-center\x20univer-gap-3','UniverProMcpUi','mcpStatus.maxRetriesExceeded','ILogService','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','mcp-ui.command.openConfigPanel','IConfigService','Plugin','UniverUi','DISCONNECTED','exports','UniverIcon','useCallback','MCPConnectionStatus','univer-shrink-0\x20univer-text-red-500','univer-text-sm\x20univer-font-medium','mcpServerUrl','mcpConfig.note1','mcp.apiKey','round','univer-text-xs\x20univer-text-gray-500','MCP\x20Configuration','push','_injector','univer-size-2\x20univer-rounded-full','_uiPartsService','UNAUTHORIZED','object','超出最大重试次数,请稍后再试','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','Connecting...','@univerjs/core','mcpConfig.apiApplyInfo.title','https://mcp.univer.ai/mcp/?univer_session_id=','none','Bearer\x20','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','SESSION_ID_OCCUPIED','API\x20Key','FAILED','API\x20密钥无效,请检查密钥是否正确','mcpConfig.configSaved','MCP\x20Connecting...','mcpConfig.title','RibbonStartGroup','mcpConfig.configParameters','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-text-blue-600','clsx','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','show','merge','Max\x20Retries','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','配置无效','symbol','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','path','apiKey','CloseIcon','What\x20is\x20API\x20Key?','MCPConfigPanel','univer-text-white','https://console.univer.ai','API\x20密钥长度至少需要\x2010\x20位','mcpConfig.connectionError.unauthorized','current','getItem','univer-space-y-3','mcpConfig.validation.apiKeyTooShort','univer-flex-1','NETWORK_ERROR','url(#on-line-icon_clip0_910_349)','children','MAX_RETRIES_EXCEEDED','registerCommand','mcp-config-dialog','WebSocketService','IMessageService','启用身份验证以获得安全连接','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','evenodd','forEach','MCP:\x20Session\x20ID\x20Occupied','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCP\x20Client\x20Configuration','1956150mffNTP','Connected','useState','LocaleService','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','mcpConfig.apiKey','M0\x200H16V16H0z','网络连接错误,请检查您的网络连接','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','Inject','@univerjs/design','jsx','attrs','useDependency','next','http','@univerjs/ui','ICommandService','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','MCP\x20已断开','已连接','showConfigPanel','__setCustomHeaders','univer-bg-green-500','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-text-gray-500','mcpConfig.apiApplyInfo.univerAiLabel','value','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','MCP\x20Connected','button','130ilBxnd','_handleConfigSave','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','setConfig','保存中...','Invalid\x20configuration','_componentManager','mcpStatus.retrying','ComponentManager','amd','https://console.univer.plus','random','UniverCore','mcpConfig.validation.invalidApiKey','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','Saving...','mcpConfig.configStep2','assign','0\x200\x2016\x2016','colorChannel1','mcpStatus.connected','_handleConfigure','mcpConfig.validation.invalidConfig','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','Configuration\x20saved\x20successfully','MCPConfigUIController','_blank','div','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','add','on-line-icon','validateApiKey','Click\x20to\x20configure\x20MCP','Injector','MCP:\x20Network\x20Error','OnLineIcon','<SESSION_ID>','univer-flex\x20univer-items-start\x20univer-gap-3','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','Failed\x20to\x20save\x20configuration','mcpConfig.description','RETRYING','univer-shrink-0\x20univer-text-blue-500','_menuManagerService','mcpConfig.authorizationDescription','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','http://www.w3.org/2000/svg','pre','_loadStoredApiKey','mcpConfig.connectionStatus.connected','isValid','react','API\x20密钥','enUS','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','Error','mask','UniverDesign','univer-min-w-0\x20univer-flex-1','MCP\x20Connection\x20Failed','text','MCP\x20Disconnected','重连中...','toString','connectInjector','_mcpConnectionController','4EmKXUw','warn','配置保存失败','MCP:\x20网络错误','MessageType','Configuration\x20Notes:','1em','error','univer.plus','_messageService','_createConfigPanelComponent','重启您的\x20MCP\x20客户端以使配置生效','has','Retrying...','@univerjs/network','on-line-icon_clip0_910_349','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','close-icon','mcpStatus.unknown','univer-text-green-500','642981RQSurP','react/jsx-runtime','univer-space-y-2','displayName','includes','defIds','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','clipPath','会话ID','_initializeCommands','API\x20key\x20with\x20Bearer\x20prefix.','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_dialogService','svg','off-line-icon_clip0_910_343','_initConfigSync','jsxs','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','off-line-icon','带有\x20Bearer\x20前缀的\x20API\x20密钥。','defs','showDeveloperTools','getConfig','errorMessage','subscribeConfigValue$','4967456ldDmLt','Tooltip','setItem','mcpConfig.validation.apiKeyRequired','mcpConfig.connectionError.maxRetriesExceeded','MCPConnectionUIController','MCP\x20客户端配置','21708VUhLnW','BehaviorSubject','Button','univer-flex\x20univer-gap-3','会话\x20ID\x20已被占用,请稍后再试','mcpConfig.apiApplyInfo.getStarted','Univer\x20AI\x20控制台','getOwnPropertyDescriptor','idSuffix','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-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','MCP:\x20Max\x20Retries\x20Exceeded','univer-text-gray-400','translate(.97)','_localeService','_apiKey$','IMenuManagerService','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpConfig.sessionIdDescription','getCurrentConfig','Enable\x20authentication\x20for\x20secure\x20connections','_initStatusComponent','white','Copy\x20the\x20JSON\x20configuration\x20below','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','配置参数:','xlink:href','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MCP\x20重连中...','univer-flex\x20univer-items-center\x20univer-gap-2','mcpConfig.connectionInfo','useObservable','enableAutoConnect','substring','close','mcpConfig.connectionStatus.disconnected','MenuIcon','mcpStatus.failed','CONNECTING','395ZiTBDY','启用身份验证','UniverMCPUIPlugin','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','function','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','entries','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','OTHERS','sessionId$','12ajKdsx','Authorization:','univer.ai','_registerComponent','权限验证失败,请检查您的\x20API\x20密钥','univer_session_id:','mcp-ui.config','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-font-medium','MCP\x20状态未知','Enter\x20your\x20API\x20key','最大重试次数','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','配置保存成功','_validateConfig','HelpIcon','currentColor','mcpConfig.saving','_logService','mcpConfig.configStepTitle','_config$','Get\x20your\x20API\x20key\x20in\x20seconds','保存配置','NONE','UniverMCPPlugin','mcpStatus.networkError','将配置添加到您的\x20MCP\x20客户端设置文件中','Configuration\x20Steps:','subscribe','将以下配置添加到您的\x20MCP\x20客户端设置中:','useRef','forwardRef','_initializeMenus','API\x20密钥不能为空','9122YuPVIv','zhCN','connectionStatus$','复制以下\x20JSON\x20配置','fill','Module','connectionError$','MCP_UI_PLUGIN','span','1097442BJaCes','defineProperty','HEADER_MENU','bottom','React'];_0x56a3=function(){return _0x2d8470;};return _0x56a3();}
1
+ (function(_0x4af395,_0xc67b41){const _0x1dac81=_0x1259,_0x3c31ce=_0x4af395();while(!![]){try{const _0x168c60=-parseInt(_0x1dac81(0x195))/0x1+parseInt(_0x1dac81(0x268))/0x2+-parseInt(_0x1dac81(0x1ab))/0x3*(-parseInt(_0x1dac81(0x256))/0x4)+parseInt(_0x1dac81(0x1fd))/0x5+-parseInt(_0x1dac81(0x22b))/0x6*(parseInt(_0x1dac81(0xe8))/0x7)+parseInt(_0x1dac81(0x1de))/0x8+-parseInt(_0x1dac81(0x109))/0x9*(-parseInt(_0x1dac81(0x236))/0xa);if(_0x168c60===_0xc67b41)break;else _0x3c31ce['push'](_0x3c31ce['shift']());}catch(_0x39939f){_0x3c31ce['push'](_0x3c31ce['shift']());}}}(_0x475b,0x79b4c),function(_0x1a02dd,_0x225679){const _0x295abc=_0x1259;typeof exports==_0x295abc(0x1b4)&&typeof module<'u'?_0x225679(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x295abc(0x1dd)&&define[_0x295abc(0x146)]?define([_0x295abc(0x239),_0x295abc(0x279),'react/jsx-runtime',_0x295abc(0x16e),_0x295abc(0x261),_0x295abc(0x11f),'rxjs',_0x295abc(0x139),_0x295abc(0x157)],_0x225679):(_0x1a02dd=typeof globalThis<'u'?globalThis:_0x1a02dd||self,_0x225679(_0x1a02dd[_0x295abc(0x112)]={},_0x1a02dd[_0x295abc(0x191)],_0x1a02dd[_0x295abc(0x232)],_0x1a02dd['UniverProMcp'],_0x1a02dd[_0x295abc(0xe1)],_0x1a02dd[_0x295abc(0x117)],_0x1a02dd[_0x295abc(0x1ad)],_0x1a02dd[_0x295abc(0x232)],_0x1a02dd[_0x295abc(0x277)]));}(this,function(_0x237404,_0x24b020,_0x558982,_0x3a790e,_0x394244,_0x41eaa8,_0x45d155,_0x2151b8,_0x24df9b){'use strict';const _0x2177cd=_0x1259;var _0x287ae2=Object[_0x2177cd(0xdc)],_0x117538=(_0x55a702,_0x38c24a,_0x132081)=>_0x38c24a in _0x55a702?_0x287ae2(_0x55a702,_0x38c24a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x132081}):_0x55a702[_0x38c24a]=_0x132081,_0x48df87=(_0x3f0c23,_0x2665fe,_0xe48f6)=>_0x117538(_0x3f0c23,typeof _0x2665fe!=_0x2177cd(0xea)?_0x2665fe+'':_0x2665fe,_0xe48f6);function _0x35e1d5({ref:_0x4d8434,..._0x320ff7}){const _0x21b95e=_0x2177cd,{icon:_0x182b44,id:_0x2c817d,className:_0xe72b88,extend:_0x41de1c,..._0x424256}=_0x320ff7,_0x5482fe=(_0x21b95e(0x190)+_0x2c817d+'\x20'+(_0xe72b88||''))[_0x21b95e(0x180)](),_0x3b12ad=_0x2151b8[_0x21b95e(0x235)]('_'+_0x326fee());return _0xb9278e(_0x182b44,''+_0x2c817d,{'defIds':_0x182b44[_0x21b95e(0x1f6)],'idSuffix':_0x3b12ad[_0x21b95e(0x187)]},{'ref':_0x4d8434,'className':_0x5482fe,..._0x424256},_0x41de1c);}function _0xb9278e(_0x13f730,_0xb42583,_0x411d49,_0x4c3492,_0x654aa9){const _0x550ce7=_0x2177cd;return _0x2151b8[_0x550ce7(0x1fa)](_0x13f730[_0x550ce7(0xd8)],{'key':_0xb42583,..._0x4d607f(_0x13f730,_0x411d49,_0x654aa9),..._0x4c3492},(_0x501819(_0x13f730,_0x411d49)[_0x550ce7(0x1ec)]||[])['map']((_0x1cca98,_0x16a814)=>_0xb9278e(_0x1cca98,_0xb42583+'-'+_0x13f730[_0x550ce7(0xd8)]+'-'+_0x16a814,_0x411d49,void 0x0,_0x654aa9)));}function _0x4d607f(_0x349095,_0x5796ec,_0x3467e1){const _0x293922=_0x2177cd,_0x190cd7={..._0x349095[_0x293922(0xf3)]};_0x3467e1!=null&&_0x3467e1[_0x293922(0x1dc)]&&_0x190cd7[_0x293922(0x10f)]===_0x293922(0x1dc)&&(_0x190cd7[_0x293922(0x10f)]=_0x3467e1['colorChannel1']),_0x349095['tag']===_0x293922(0x19b)&&_0x190cd7['id']&&(_0x190cd7['id']=_0x190cd7['id']+_0x5796ec[_0x293922(0x226)]),Object['entries'](_0x190cd7)[_0x293922(0x115)](([_0x1c5a6e,_0x29b72f])=>{const _0x55ee50=_0x293922;_0x1c5a6e===_0x55ee50(0x19b)&&typeof _0x29b72f==_0x55ee50(0x1d1)&&(_0x190cd7[_0x1c5a6e]=_0x29b72f[_0x55ee50(0x1db)](/url\(#(.*)\)/,'url(#$1'+_0x5796ec['idSuffix']+')'));});const {defIds:_0x5e6084}=_0x5796ec;return!_0x5e6084||_0x5e6084['length']===0x0||(_0x349095[_0x293922(0xd8)]===_0x293922(0x203)&&_0x190cd7[_0x293922(0x228)]&&(_0x190cd7[_0x293922(0x228)]=_0x190cd7[_0x293922(0x228)]+_0x5796ec[_0x293922(0x226)]),Object['entries'](_0x190cd7)[_0x293922(0x115)](([_0x18850b,_0x49000b])=>{const _0x5a0f6e=_0x293922;typeof _0x49000b==_0x5a0f6e(0x1d1)&&(_0x190cd7[_0x18850b]=_0x49000b[_0x5a0f6e(0x1db)](/url\(#(.*)\)/,_0x5a0f6e(0x1b1)+_0x5796ec[_0x5a0f6e(0x226)]+')'));})),_0x190cd7;}function _0x501819(_0xfc0615,_0x386d4f){const _0x23f007=_0x2177cd;var _0x4de4a7;const {defIds:_0xb0c8ca}=_0x386d4f;return!_0xb0c8ca||_0xb0c8ca[_0x23f007(0x27c)]===0x0?_0xfc0615:_0xfc0615[_0x23f007(0xd8)]===_0x23f007(0x18d)&&((_0x4de4a7=_0xfc0615[_0x23f007(0x1ec)])!=null&&_0x4de4a7[_0x23f007(0x27c)])?{..._0xfc0615,'children':_0xfc0615['children'][_0x23f007(0x18c)](_0x5809ca=>typeof _0x5809ca[_0x23f007(0xf3)]['id']==_0x23f007(0x1d1)&&_0xb0c8ca&&_0xb0c8ca[_0x23f007(0x19a)](_0x5809ca[_0x23f007(0xf3)]['id'])?{..._0x5809ca,'attrs':{..._0x5809ca['attrs'],'id':_0x5809ca[_0x23f007(0xf3)]['id']+_0x386d4f[_0x23f007(0x226)]}}:_0x5809ca)}:_0xfc0615;}function _0x326fee(){const _0x4bfb8e=_0x2177cd;return Math[_0x4bfb8e(0x265)]()[_0x4bfb8e(0x253)](0x24)['substring'](0x2,0x8);}_0x35e1d5[_0x2177cd(0x106)]=_0x2177cd(0x24a);const _0x11b583={'tag':_0x2177cd(0x172),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2177cd(0x186),'viewBox':_0x2177cd(0x202),'width':_0x2177cd(0x154),'height':_0x2177cd(0x154)},'children':[{'tag':_0x2177cd(0x119),'attrs':{'fill':_0x2177cd(0x21c),'d':_0x2177cd(0x1cb),'fillRule':_0x2177cd(0x205),'clipRule':_0x2177cd(0x205)}}]},_0x1fce33=_0x2151b8['forwardRef'](function(_0x30462e,_0x5c97b6){const _0xc28bcf=_0x2177cd;return _0x2151b8[_0xc28bcf(0x1fa)](_0x35e1d5,Object['assign']({},_0x30462e,{'id':'check-mark-icon','ref':_0x5c97b6,'icon':_0x11b583}));});_0x1fce33[_0x2177cd(0x106)]=_0x2177cd(0x17d);const _0x16b824={'tag':_0x2177cd(0x172),'attrs':{'xmlns':_0x2177cd(0x260),'fill':'none','viewBox':_0x2177cd(0x202),'width':_0x2177cd(0x154),'height':_0x2177cd(0x154)},'children':[{'tag':_0x2177cd(0x119),'attrs':{'fill':_0x2177cd(0x21c),'d':_0x2177cd(0xf6)}}]},_0x786a25=_0x2151b8[_0x2177cd(0x1fb)](function(_0xb59e61,_0x3acb3d){const _0x3f07d7=_0x2177cd;return _0x2151b8['createElement'](_0x35e1d5,Object[_0x3f07d7(0x175)]({},_0xb59e61,{'id':_0x3f07d7(0x200),'ref':_0x3acb3d,'icon':_0x16b824}));});_0x786a25['displayName']=_0x2177cd(0x207);const _0x4dfb11={'tag':'svg','attrs':{'xmlns':_0x2177cd(0x260),'fill':_0x2177cd(0x186),'viewBox':_0x2177cd(0x202),'width':_0x2177cd(0x154),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x2177cd(0x21c),'d':_0x2177cd(0x1fc)}},{'tag':_0x2177cd(0x119),'attrs':{'fill':'currentColor','d':'M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z'}},{'tag':'path','attrs':{'fill':_0x2177cd(0x21c),'d':_0x2177cd(0xf2),'fillRule':_0x2177cd(0x205),'clipRule':_0x2177cd(0x205)}}]},_0x515cbb=_0x2151b8[_0x2177cd(0x1fb)](function(_0x11648a,_0x3ace90){const _0x17fd70=_0x2177cd;return _0x2151b8[_0x17fd70(0x1fa)](_0x35e1d5,Object[_0x17fd70(0x175)]({},_0x11648a,{'id':_0x17fd70(0x1ff),'ref':_0x3ace90,'icon':_0x4dfb11}));});_0x515cbb[_0x2177cd(0x106)]=_0x2177cd(0x24c);const _0x184996={'tag':_0x2177cd(0x172),'attrs':{'xmlns':_0x2177cd(0x260),'fill':'none','viewBox':_0x2177cd(0x202),'width':_0x2177cd(0x154),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2177cd(0x16d)},'children':[{'tag':_0x2177cd(0x119),'attrs':{'stroke':_0x2177cd(0x21c),'d':_0x2177cd(0x13a),'strokeLinecap':'round','strokeLinejoin':_0x2177cd(0x130),'strokeWidth':1.2}}]},{'tag':_0x2177cd(0x18d),'attrs':{},'children':[{'tag':_0x2177cd(0xfd),'attrs':{'id':_0x2177cd(0x113)},'children':[{'tag':_0x2177cd(0x119),'attrs':{'fill':'white','d':_0x2177cd(0x147)}}]}]}],'defIds':[_0x2177cd(0x113)]},_0x4c86b9=_0x2151b8[_0x2177cd(0x1fb)](function(_0x4a15e0,_0x302660){const _0x2cdeda=_0x2177cd;return _0x2151b8['createElement'](_0x35e1d5,Object[_0x2cdeda(0x175)]({},_0x4a15e0,{'id':_0x2cdeda(0x127),'ref':_0x302660,'icon':_0x184996}));});_0x4c86b9[_0x2177cd(0x106)]=_0x2177cd(0x266);const _0x62a6fe={'tag':'svg','attrs':{'xmlns':_0x2177cd(0x260),'fill':'none','viewBox':_0x2177cd(0x110),'width':'1em','height':_0x2177cd(0x154)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2177cd(0x119),'attrs':{'stroke':'currentColor','d':_0x2177cd(0x13d),'strokeLinecap':_0x2177cd(0x130),'strokeLinejoin':_0x2177cd(0x130),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2177cd(0xfd),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x2177cd(0x119),'attrs':{'fill':_0x2177cd(0x1f9),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x1c73c5=_0x2151b8[_0x2177cd(0x1fb)](function(_0xa10552,_0x59b178){const _0x550feb=_0x2177cd;return _0x2151b8['createElement'](_0x35e1d5,Object['assign']({},_0xa10552,{'id':_0x550feb(0x138),'ref':_0x59b178,'icon':_0x62a6fe}));});_0x1c73c5[_0x2177cd(0x106)]='OnLineIcon';function _0x5a017b(_0x7dea40){const _0x4d1b61=_0x2177cd;var _0x20d463,_0x9c5bf1;const {mcpCoreConfig:_0xbf9abc,onSave:_0x291df,loading:_0x646807=!0x1,config:_0x6b9e95,connectionStatus$:_0x35e9f3,connectionError$:_0x3ef240,currentApiKey$:_0x44ab97,currentSessionId$:_0x2d490f}=_0x7dea40,_0x49ae37=_0x41eaa8[_0x4d1b61(0x13b)](_0x24b020['LocaleService']),_0x18045c=_0x41eaa8['useObservable'](_0x35e9f3,_0x3a790e[_0x4d1b61(0x221)][_0x4d1b61(0x189)]),_0xb4366c=_0x41eaa8[_0x4d1b61(0x1b6)](_0x3ef240,_0x3a790e[_0x4d1b61(0x23f)][_0x4d1b61(0x214)]),_0x4a732e=_0x41eaa8[_0x4d1b61(0x1b6)](_0x2d490f,''),_0x2651d2=_0x41eaa8[_0x4d1b61(0x1b6)](_0x44ab97,''),[_0x238ebe,_0x4d53e1]=_0x2151b8[_0x4d1b61(0x17b)](_0x2651d2||''),_0x88047=!0x0,_0x4c4533=_0x6b9e95['showDeveloperTools']&&_0xbf9abc[_0x4d1b61(0x193)]&&(_0xbf9abc[_0x4d1b61(0x193)]['includes'](_0x4d1b61(0x215))||_0xbf9abc['mcpServerUrl'][_0x4d1b61(0x19a)](_0x4d1b61(0x24b))),_0x2680da=(_0x20d463=_0xbf9abc['mcpServerUrl'])==null?void 0x0:_0x20d463[_0x4d1b61(0x19a)](_0x4d1b61(0x215)),_0x2d8fc4=(_0x9c5bf1=_0xbf9abc['mcpServerUrl'])==null?void 0x0:_0x9c5bf1[_0x4d1b61(0x19a)](_0x4d1b61(0x24b)),_0x2309b1=_0x2680da?_0x4d1b61(0xe2):_0x4d1b61(0x272),_0x3556a1=_0x6b9e95[_0x4d1b61(0x247)]&&(_0x2680da||_0x2d8fc4),[_0x35ce41,_0x299de2]=_0x2151b8[_0x4d1b61(0x17b)](!_0x238ebe[_0x4d1b61(0x180)]()),_0x121eaf=(_0x4f5eba,_0x2766b7)=>{const _0x12eacd=_0x4d1b61;if(_0x2766b7===_0x3a790e[_0x12eacd(0x23f)][_0x12eacd(0x1c8)])return _0x12eacd(0x1da);switch(_0x4f5eba){case _0x3a790e[_0x12eacd(0x221)]['CONNECTED']:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x3a790e['MCPConnectionStatus'][_0x12eacd(0x219)]:case _0x3a790e['MCPConnectionStatus'][_0x12eacd(0x225)]:return _0x12eacd(0x223);case _0x3a790e[_0x12eacd(0x221)]['FAILED']:return _0x12eacd(0x1da);default:return _0x12eacd(0x17e);}},_0x25c846=(_0x3af052,_0x1e2720)=>{const _0x3ef2b4=_0x4d1b61;if(_0x1e2720===_0x3a790e['MCPConnectionError'][_0x3ef2b4(0x1c8)])return _0x3ef2b4(0xef);switch(_0x3af052){case _0x3a790e[_0x3ef2b4(0x221)]['CONNECTED']:return'univer-bg-green-500';case _0x3a790e[_0x3ef2b4(0x221)]['CONNECTING']:case _0x3a790e[_0x3ef2b4(0x221)][_0x3ef2b4(0x225)]:return _0x3ef2b4(0x26b);case _0x3a790e[_0x3ef2b4(0x221)]['FAILED']:return _0x3ef2b4(0xef);default:return _0x3ef2b4(0x267);}},_0x434ec3=_0x2b1905=>{const _0x5936e4=_0x4d1b61;switch(_0x2b1905){case _0x3a790e['MCPConnectionStatus']['CONNECTED']:return _0x49ae37['t'](_0x5936e4(0x1d3));case _0x3a790e[_0x5936e4(0x221)]['CONNECTING']:return _0x49ae37['t'](_0x5936e4(0x1d0));case _0x3a790e['MCPConnectionStatus'][_0x5936e4(0x12c)]:return _0x49ae37['t'](_0x5936e4(0x23e));case _0x3a790e[_0x5936e4(0x221)][_0x5936e4(0x225)]:return _0x49ae37['t'](_0x5936e4(0x1f3));default:return _0x49ae37['t'](_0x5936e4(0x1c3));}},_0x50e42c=_0x43f577=>{const _0x2b6e8f=_0x4d1b61;switch(_0x43f577){case _0x3a790e[_0x2b6e8f(0x23f)]['UNAUTHORIZED']:return _0x49ae37['t']('mcpConfig.connectionError.unauthorized');case _0x3a790e[_0x2b6e8f(0x23f)]['SESSION_ID_OCCUPIED']:return _0x49ae37['t'](_0x2b6e8f(0x1d5));case _0x3a790e[_0x2b6e8f(0x23f)][_0x2b6e8f(0x12e)]:return _0x49ae37['t'](_0x2b6e8f(0x1e5));case _0x3a790e['MCPConnectionError'][_0x2b6e8f(0x209)]:return _0x49ae37['t'](_0x2b6e8f(0x151));default:return'';}},_0x470f2e=_0x2151b8[_0x4d1b61(0x14e)](()=>{const _0x165a30=_0x4d1b61,_0x3a1c24={..._0xbf9abc,'apiKey':_0x238ebe[_0x165a30(0x180)](),'enableAuth':_0x88047};_0x291df(_0x3a1c24);},[_0xbf9abc,_0x238ebe,_0x88047,_0x291df]),_0x4634d5=_0x238ebe['trim']()['length']>0x0;return _0x558982['jsxs'](_0x4d1b61(0x23c),{'className':_0x4d1b61(0xf0),'children':[_0x558982[_0x4d1b61(0x1c9)]('div',{'className':_0x4d1b61(0x213),'children':_0x558982['jsxs']('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x1f0),'children':_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x1ac),{'className':_0x4d1b61(0x20d),'children':'⚙'})}),_0x558982['jsx'](_0x4d1b61(0x23c),{'children':_0x558982[_0x4d1b61(0x1c9)]('p',{'className':_0x4d1b61(0x23d),'children':_0x49ae37['t']('mcpConfig.description')})})]})}),_0x558982[_0x4d1b61(0x1d2)]('div',{'className':_0x4d1b61(0x152),'children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x23c),{'className':_0x394244[_0x4d1b61(0x124)](_0x4d1b61(0x262),_0x121eaf(_0x18045c,_0xb4366c)),'children':_0x558982[_0x4d1b61(0x1d2)]('div',{'className':_0x4d1b61(0x197),'children':[_0x558982['jsx'](_0x4d1b61(0x23c),{'className':_0x394244['clsx'](_0x4d1b61(0x15d),_0x25c846(_0x18045c,_0xb4366c))}),_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x1ac),{'className':'univer-text-sm\x20univer-font-medium','children':_0x434ec3(_0x18045c)})]})}),_0xb4366c!==_0x3a790e[_0x4d1b61(0x23f)][_0x4d1b61(0x214)]&&(_0x18045c===_0x3a790e[_0x4d1b61(0x221)][_0x4d1b61(0x12c)]||_0xb4366c===_0x3a790e[_0x4d1b61(0x23f)][_0x4d1b61(0x1c8)])&&_0x558982['jsx']('div',{'className':_0x4d1b61(0x163),'children':_0x558982[_0x4d1b61(0x1d2)]('div',{'className':_0x4d1b61(0x1a5),'children':[_0x558982['jsx'](_0x4d1b61(0x1ac),{'className':_0x4d1b61(0x24d),'children':'⚠️'}),_0x558982[_0x4d1b61(0x1c9)]('p',{'className':_0x4d1b61(0x12a),'children':_0x50e42c(_0xb4366c)})]})})]}),_0x558982['jsx']('div',{'className':_0x4d1b61(0xe5),'children':_0x558982[_0x4d1b61(0x1d2)]('div',{'className':_0x4d1b61(0x22d),'children':[_0x558982[_0x4d1b61(0x1d2)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x170),'children':[_0x558982['jsxs'](_0x4d1b61(0x165),{'className':_0x4d1b61(0xe6),'children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x1ac),{'children':'🔑'}),'\x20',_0x49ae37['t'](_0x4d1b61(0x188)),_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x1ac),{'className':_0x4d1b61(0xf7),'children':'*'}),_0x4c4533&&_0x558982[_0x4d1b61(0x1c9)]('a',{'className':_0x4d1b61(0x1b2),'title':_0x49ae37['t'](_0x4d1b61(0x18f)),'role':'button','onClick':()=>_0x299de2(!0x0),'children':_0x558982['jsx'](_0x515cbb,{})})]}),_0x558982[_0x4d1b61(0x1c9)](_0x394244[_0x4d1b61(0x1df)],{'type':_0x4d1b61(0x176),'placeholder':_0x49ae37['t'](_0x4d1b61(0x1b0)),'value':_0x238ebe,'disabled':_0x646807,'autoComplete':'off','onChange':_0x4d53e1}),_0x558982[_0x4d1b61(0x1c9)]('p',{'className':_0x4d1b61(0x129),'children':_0x49ae37['t']('mcpConfig.apiKeyHint')})]}),_0x4c4533&&_0x35ce41&&_0x558982[_0x4d1b61(0x1d2)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x167),'children':[_0x558982['jsx']('a',{'className':_0x4d1b61(0x181),'role':'button','onClick':()=>_0x299de2(!0x1),'children':_0x558982[_0x4d1b61(0x1c9)](_0x786a25,{'className':_0x4d1b61(0xf1)})}),_0x558982[_0x4d1b61(0x1d2)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0xe9),'children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x12d),'children':_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x1ac),{'className':_0x4d1b61(0xf4),'children':'🚀'})}),_0x558982[_0x4d1b61(0x1d2)]('div',{'className':_0x4d1b61(0x192),'children':[_0x558982[_0x4d1b61(0x1c9)]('h4',{'className':_0x4d1b61(0x220),'children':_0x49ae37['t'](_0x4d1b61(0x18f))}),_0x558982[_0x4d1b61(0x1c9)]('p',{'className':_0x4d1b61(0x251),'children':_0x49ae37['t'](_0x4d1b61(0x17a))}),_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x273),'children':_0x3556a1&&_0x558982[_0x4d1b61(0x1d2)]('a',{'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','href':_0x2309b1,'target':_0x4d1b61(0x169),'rel':_0x4d1b61(0x271),'children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x1ac),{'children':'🤖'}),_0x49ae37['t'](_0x4d1b61(0x21f)),_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x1ac),{'className':_0x4d1b61(0x1c7),'children':'↗'})]})}),_0x558982[_0x4d1b61(0x1d2)](_0x4d1b61(0x23c),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x49ae37['t'](_0x4d1b61(0x16b))]})]})]})]}),_0x6b9e95[_0x4d1b61(0x247)]&&_0x558982[_0x4d1b61(0x1d2)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x1e4),'children':[_0x558982[_0x4d1b61(0x1d2)]('h4',{'className':_0x4d1b61(0x19f),'children':[_0x558982[_0x4d1b61(0x1c9)]('span',{'children':'🔗'}),'\x20',_0x49ae37['t'](_0x4d1b61(0x198))]}),_0x558982[_0x4d1b61(0x1d2)]('div',{'className':_0x4d1b61(0x1d4),'children':[_0x558982['jsxs']('div',{'className':_0x4d1b61(0xde),'children':[_0x558982['jsx']('p',{'className':_0x4d1b61(0x173),'children':_0x49ae37['t'](_0x4d1b61(0x20c))}),_0x558982['jsxs'](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x170),'children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x19c),'children':_0x49ae37['t'](_0x4d1b61(0x27a))}),_0x558982[_0x4d1b61(0x1d2)]('div',{'className':_0x4d1b61(0x26f),'children':[_0x558982[_0x4d1b61(0x1d2)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x197),'children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x1ac),{'className':_0x4d1b61(0x1c5),'children':'1'}),_0x49ae37['t']('mcpConfig.configStep1')]}),_0x558982[_0x4d1b61(0x1d2)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x197),'children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x1ac),{'className':_0x4d1b61(0x1c5),'children':'2'}),_0x49ae37['t'](_0x4d1b61(0x1e7))]}),_0x558982['jsxs'](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x197),'children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x1ac),{'className':_0x4d1b61(0x1c5),'children':'3'}),_0x49ae37['t'](_0x4d1b61(0x14a))]})]})]})]}),_0x558982[_0x4d1b61(0x1d2)]('div',{'className':'univer-space-y-2','children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x19c),'children':'MCP\x20Configuration'}),_0x558982[_0x4d1b61(0x1c9)]('div',{'className':_0x4d1b61(0x20f),'children':_0x558982[_0x4d1b61(0x1c9)]('pre',{'className':_0x4d1b61(0x1ae),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x4d1b61(0x1e3)+(_0x4a732e||_0x4d1b61(0x136)),'type':_0x4d1b61(0xf9),'headers':{'Authorization':_0x4d1b61(0x15c)+(_0x238ebe||_0x4d1b61(0x15a))}}}},null,0x2)})})]}),_0x558982['jsxs'](_0x4d1b61(0x23c),{'className':_0x4d1b61(0xde),'children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x23c),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x49ae37['t'](_0x4d1b61(0x1f4))}),_0x558982[_0x4d1b61(0x1d2)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x170),'children':[_0x558982['jsxs'](_0x4d1b61(0x23c),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x558982[_0x4d1b61(0x1c9)]('div',{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x558982[_0x4d1b61(0x1d2)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x23c),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x4d1b61(0x210)}),_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x129),'children':_0x49ae37['t'](_0x4d1b61(0x10c))})]})]}),_0x558982[_0x4d1b61(0x1d2)]('div',{'className':_0x4d1b61(0x178),'children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x137)}),_0x558982[_0x4d1b61(0x1d2)](_0x4d1b61(0x23c),{'className':_0x4d1b61(0x1fe),'children':[_0x558982[_0x4d1b61(0x1c9)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x4d1b61(0x255)}),_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x23c),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x49ae37['t'](_0x4d1b61(0x1d9))})]})]})]})]})]})]}),_0x558982[_0x4d1b61(0x1c9)](_0x394244[_0x4d1b61(0x145)],{'onClick':_0x470f2e,'disabled':!_0x4634d5||_0x646807,'className':_0x4d1b61(0x1e0),'children':_0x646807?_0x558982[_0x4d1b61(0x1d2)](_0x4d1b61(0x1ac),{'className':_0x4d1b61(0x197),'children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x1ac),{'children':'⟲'}),_0x49ae37['t'](_0x4d1b61(0x1bd))]}):_0x558982[_0x4d1b61(0x1d2)](_0x4d1b61(0x1ac),{'className':_0x4d1b61(0x197),'children':[_0x558982[_0x4d1b61(0x1c9)](_0x1fce33,{}),_0x49ae37['t'](_0x4d1b61(0x234))]})}),_0x558982[_0x4d1b61(0x1c9)]('div',{'className':_0x4d1b61(0x231),'children':_0x558982[_0x4d1b61(0x1d2)]('div',{'className':'univer-flex\x20univer-gap-3','children':[_0x558982[_0x4d1b61(0x1c9)](_0x4d1b61(0x1ac),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x558982[_0x4d1b61(0x1d2)]('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x558982['jsx']('div',{'className':_0x4d1b61(0x245),'children':_0x4d1b61(0xfe)}),_0x558982[_0x4d1b61(0x1d2)](_0x4d1b61(0x23c),{'children':['•',_0x49ae37['t'](_0x4d1b61(0x1f5))]}),_0x558982['jsxs'](_0x4d1b61(0x23c),{'children':['•',_0x49ae37['t'](_0x4d1b61(0x11b))]})]})]})})]})})]});}const _0xd65fa4=_0x2177cd(0x14b),_0x294598={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x59b53d=Object['getOwnPropertyDescriptor'],_0x15472b=(_0xf82fb2,_0x21b3b9,_0x2b1fa2,_0x23864a)=>{const _0x1f8856=_0x2177cd;for(var _0x4ba373=_0x23864a>0x1?void 0x0:_0x23864a?_0x59b53d(_0x21b3b9,_0x2b1fa2):_0x21b3b9,_0x25c4ac=_0xf82fb2[_0x1f8856(0x27c)]-0x1,_0x279cef;_0x25c4ac>=0x0;_0x25c4ac--)(_0x279cef=_0xf82fb2[_0x25c4ac])&&(_0x4ba373=_0x279cef(_0x4ba373)||_0x4ba373);return _0x4ba373;},_0x48ad85=(_0x408d1d,_0xc01a61)=>(_0x58286c,_0x3fb73d)=>_0xc01a61(_0x58286c,_0x3fb73d,_0x408d1d);const _0x29abfc=_0x2177cd(0x141),_0x802437=_0x2177cd(0x1aa);_0x237404[_0x2177cd(0x21a)]=class extends _0x24b020[_0x2177cd(0x1c4)]{constructor(_0x217467,_0x50f7cd,_0x1f1604,_0x40808b,_0x447972,_0x5357eb,_0x27697e,_0xe88a4c,_0x2f9ad3,_0x5bb3e5){const _0x5cf90d=_0x2177cd;super(),_0x48df87(this,'_loading$',new _0x45d155[(_0x5cf90d(0x237))](!0x1)),_0x48df87(this,'_mcpCoreConfig$',new _0x45d155[(_0x5cf90d(0x237))]({})),_0x48df87(this,_0x5cf90d(0x13c),new _0x45d155['BehaviorSubject']({})),_0x48df87(this,_0x5cf90d(0x1ba),new _0x45d155[(_0x5cf90d(0x237))]('')),_0x48df87(this,_0x5cf90d(0x185),async _0x2a6c28=>{const _0x3b7876=_0x5cf90d;var _0x4e501a,_0x189adb;this['_loading$']['next'](!0x0);try{const _0x4c286c=await this[_0x3b7876(0x14c)](_0x2a6c28);if(!_0x4c286c[_0x3b7876(0x10d)]){this[_0x3b7876(0x206)][_0x3b7876(0x244)]({'type':_0x394244[_0x3b7876(0x140)][_0x3b7876(0x11d)],'content':_0x4c286c[_0x3b7876(0x133)]||this[_0x3b7876(0xdb)]['t'](_0x3b7876(0x199))});return;}_0x2a6c28['apiKey']?await this[_0x3b7876(0x243)][_0x3b7876(0x1e8)](_0x29abfc,_0x2a6c28['apiKey']['trim']()):await this[_0x3b7876(0x243)]['removeItem'](_0x29abfc),this[_0x3b7876(0x1ba)]['next'](((_0x4e501a=_0x2a6c28[_0x3b7876(0xe3)])==null?void 0x0:_0x4e501a[_0x3b7876(0x180)]())||''),this['_mcpConnectionController'][_0x3b7876(0x1d8)]({'Authorization':'Bearer\x20'+((_0x189adb=_0x2a6c28[_0x3b7876(0xe3)])==null?void 0x0:_0x189adb['trim']())}),this[_0x3b7876(0x206)][_0x3b7876(0x244)]({'type':_0x394244[_0x3b7876(0x140)][_0x3b7876(0x149)],'content':this[_0x3b7876(0xdb)]['t'](_0x3b7876(0x1ed))}),setTimeout(()=>{const _0x424808=_0x3b7876;this[_0x424808(0x246)][_0x424808(0x1f2)](_0x802437);},0x320);}catch(_0x314f89){this[_0x3b7876(0x20a)][_0x3b7876(0x134)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x314f89),this['_messageService'][_0x3b7876(0x244)]({'type':_0x394244[_0x3b7876(0x140)]['Error'],'content':this[_0x3b7876(0xdb)]['t']('mcpConfig.configError')});}finally{this[_0x3b7876(0x14d)][_0x3b7876(0x107)](!0x1);}}),(this[_0x5cf90d(0x1e6)]=_0x217467,this[_0x5cf90d(0xdf)]=_0x50f7cd,this[_0x5cf90d(0x22a)]=_0x1f1604,this[_0x5cf90d(0x243)]=_0x40808b,this['_dialogService']=_0x447972,this['_messageService']=_0x5357eb,this[_0x5cf90d(0x22f)]=_0x27697e,this[_0x5cf90d(0xdb)]=_0xe88a4c,this[_0x5cf90d(0x20a)]=_0x2f9ad3,this[_0x5cf90d(0x10a)]=_0x5bb3e5,this[_0x5cf90d(0x179)](),this['_loadStoredApiKey'](),this[_0x5cf90d(0x1b3)]());}[_0x2177cd(0x15f)](){const _0x180e28=_0x2177cd,_0x2753dd=this[_0x180e28(0x22a)]['getConfig'](_0xd65fa4);_0x2753dd!=null&&_0x2753dd['showDeveloperTools']&&this[_0x180e28(0x246)][_0x180e28(0x1bc)]({'id':_0x802437,'title':{'title':this[_0x180e28(0xdb)]['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x5d80e4=_0x180e28;this[_0x5d80e4(0x246)][_0x5d80e4(0x1f2)](_0x802437);}});}[_0x2177cd(0x14f)](){const _0xa1005c=_0x2177cd;return this[_0xa1005c(0x22c)][_0xa1005c(0x1f1)];}[_0x2177cd(0x1b3)](){const _0x1ab994=_0x2177cd;this[_0x1ab994(0x217)](this[_0x1ab994(0x22f)][_0x1ab994(0x101)](_0x1ab994(0x100),this[_0x1ab994(0x1f7)]()));}['_createConfigPanelComponent'](){const _0x17445a=_0x2177cd;return _0x41eaa8['connectInjector'](()=>{const _0x386d09=_0x1259;var _0x15bdd3,_0x1ec352,_0x440b59;return _0x558982['jsx'](_0x5a017b,{'config':this[_0x386d09(0x13c)][_0x386d09(0x1f1)],'mcpCoreConfig':this[_0x386d09(0x22c)]['value'],'currentApiKey$':this[_0x386d09(0x1ba)],'onSave':this['_handleConfigSave'],'loading':this[_0x386d09(0x14d)]['value'],'connectionStatus$':(_0x15bdd3=this[_0x386d09(0x10a)])==null?void 0x0:_0x15bdd3[_0x386d09(0x11e)],'connectionError$':(_0x1ec352=this[_0x386d09(0x10a)])==null?void 0x0:_0x1ec352[_0x386d09(0x143)],'currentSessionId$':(_0x440b59=this[_0x386d09(0x10a)])==null?void 0x0:_0x440b59[_0x386d09(0x222)]});},this[_0x17445a(0x1e6)]);}[_0x2177cd(0x179)](){const _0x647574=_0x2177cd;this[_0x647574(0x217)](this['_configService']['subscribeConfigValue$'](_0x3a790e[_0x647574(0x248)])['subscribe'](_0x20b51e=>{const _0x5a76b2=_0x647574;this[_0x5a76b2(0x22c)][_0x5a76b2(0x107)](_0x20b51e||{});}));const _0x43cacc=this[_0x647574(0x22a)][_0x647574(0x148)](_0x3a790e[_0x647574(0x248)]);this[_0x647574(0x22c)][_0x647574(0x107)](_0x43cacc||{}),this[_0x647574(0x217)](this['_configService'][_0x647574(0x15b)](_0xd65fa4)[_0x647574(0x1be)](_0x31aaa1=>{const _0x225e93=_0x647574;this[_0x225e93(0x13c)][_0x225e93(0x107)](_0x31aaa1||{});}));const _0x5c2c85=this[_0x647574(0x22a)][_0x647574(0x148)](_0xd65fa4);this[_0x647574(0x13c)][_0x647574(0x107)](_0x5c2c85||{});}async[_0x2177cd(0x102)](){const _0x3fc05c=_0x2177cd,_0x3ccd44=this[_0x3fc05c(0x22a)]['getConfig'](_0xd65fa4);if(!(_0x3ccd44!=null&&_0x3ccd44[_0x3fc05c(0x247)]))return;const _0x7672d6=await this[_0x3fc05c(0x243)][_0x3fc05c(0x25b)](_0x29abfc);_0x7672d6&&(this[_0x3fc05c(0x10a)]['__setCustomHeaders']({'Authorization':_0x3fc05c(0x15c)+_0x7672d6}),this[_0x3fc05c(0x1ba)][_0x3fc05c(0x107)](_0x7672d6));}async['_validateConfig'](_0x4c4b8c){const _0x518edf=_0x2177cd;if(!_0x4c4b8c['apiKey']||_0x4c4b8c['apiKey'][_0x518edf(0x180)]()[_0x518edf(0x27c)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x518edf(0x166))};if(_0x4c4b8c[_0x518edf(0xe3)][_0x518edf(0x180)]()[_0x518edf(0x27c)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x518edf(0xdb)]['t'](_0x518edf(0x164))};try{const _0x194c68=await this['_injector'][_0x518edf(0x126)](_0x3a790e[_0x518edf(0x1a7)])['validateApiKey'](_0x4c4b8c['apiKey'][_0x518edf(0x180)]());return _0x194c68[_0x518edf(0x10d)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x194c68[_0x518edf(0x134)]||this[_0x518edf(0xdb)]['t'](_0x518edf(0x10e))};}catch(_0x2c0e50){return console[_0x518edf(0x156)](_0x518edf(0x211),_0x2c0e50),{'isValid':!0x0};}}},_0x237404[_0x2177cd(0x21a)]=_0x15472b([_0x48ad85(0x0,_0x24b020[_0x2177cd(0x118)](_0x24b020[_0x2177cd(0x218)])),_0x48ad85(0x1,_0x41eaa8['IUIPartsService']),_0x48ad85(0x2,_0x24b020['IConfigService']),_0x48ad85(0x3,_0x24b020[_0x2177cd(0x1a8)]),_0x48ad85(0x4,_0x41eaa8[_0x2177cd(0x27b)]),_0x48ad85(0x5,_0x41eaa8['IMessageService']),_0x48ad85(0x6,_0x24b020[_0x2177cd(0x118)](_0x41eaa8[_0x2177cd(0x22e)])),_0x48ad85(0x7,_0x24b020[_0x2177cd(0x118)](_0x24b020[_0x2177cd(0x160)])),_0x48ad85(0x8,_0x24b020[_0x2177cd(0x258)]),_0x48ad85(0x9,_0x24b020[_0x2177cd(0x118)](_0x3a790e[_0x2177cd(0x1a7)]))],_0x237404[_0x2177cd(0x21a)]);const _0x53ab07={'id':_0x2177cd(0x1a0),'type':_0x24b020['CommandType'][_0x2177cd(0x183)],'handler':async(_0x4faf5b,_0x4f3673)=>(_0x4faf5b[_0x2177cd(0x126)](_0x237404[_0x2177cd(0x21a)])['showConfigPanel'](),!0x0)};function _0x1679c8(_0x1a725c,_0x2c6b4f){const _0x32edd0=_0x2177cd;switch(_0x1a725c){case _0x3a790e[_0x32edd0(0x221)][_0x32edd0(0x189)]:return _0x32edd0(0x1af);case _0x3a790e[_0x32edd0(0x221)]['CONNECTING']:return'mcpStatus.connecting';case _0x3a790e[_0x32edd0(0x221)]['CONNECTED']:return _0x32edd0(0xed);case _0x3a790e[_0x32edd0(0x221)]['FAILED']:switch(_0x2c6b4f){case _0x3a790e['MCPConnectionError'][_0x32edd0(0x1c8)]:return _0x32edd0(0x131);case _0x3a790e[_0x32edd0(0x23f)][_0x32edd0(0x168)]:return _0x32edd0(0x105);case _0x3a790e[_0x32edd0(0x23f)][_0x32edd0(0x12e)]:return _0x32edd0(0x125);case _0x3a790e[_0x32edd0(0x23f)][_0x32edd0(0x209)]:return _0x32edd0(0x1c6);default:return _0x32edd0(0x20b);}case _0x3a790e['MCPConnectionStatus'][_0x32edd0(0x225)]:return _0x32edd0(0x174);default:return _0x32edd0(0x21b);}}function _0x398dc4(_0x2ffae1,_0x4db7aa,_0x87e6e4,_0x249be3=!0x0){const _0x239919=_0x2177cd,_0x36da23=_0x1679c8(_0x2ffae1,_0x4db7aa),_0x3ec9ab=_0x87e6e4['t'](_0x36da23);return _0x249be3?_0x2ffae1===_0x3a790e['MCPConnectionStatus'][_0x239919(0x189)]&&_0x4db7aa===_0x3a790e[_0x239919(0x23f)][_0x239919(0x1c8)]?_0x3ec9ab+_0x239919(0x25a)+_0x87e6e4['t'](_0x239919(0x1a9)):_0x2ffae1===_0x3a790e[_0x239919(0x221)][_0x239919(0x11a)]?''+_0x3ec9ab:_0x2ffae1===_0x3a790e[_0x239919(0x221)][_0x239919(0x189)]||_0x2ffae1===_0x3a790e[_0x239919(0x221)][_0x239919(0x12c)]?_0x3ec9ab+'\x20-\x20'+_0x87e6e4['t'](_0x239919(0x18b)):_0x3ec9ab:_0x3ec9ab;}function _0x7df828(_0xb5a50e){const _0xf0eb73=_0x2177cd;switch(_0xb5a50e){case _0x3a790e[_0xf0eb73(0x221)][_0xf0eb73(0x11a)]:return _0xf0eb73(0x233);case _0x3a790e['MCPConnectionStatus'][_0xf0eb73(0x219)]:case _0x3a790e['MCPConnectionStatus'][_0xf0eb73(0x225)]:return _0xf0eb73(0x17c);case _0x3a790e[_0xf0eb73(0x221)][_0xf0eb73(0x12c)]:case _0x3a790e[_0xf0eb73(0x221)][_0xf0eb73(0x189)]:return _0xf0eb73(0xf7);default:return _0xf0eb73(0xf8);}}function _0x23eb9c(_0x43f144){const _0x3fcc24=_0x2177cd,{status$:_0x6fa458,error$:_0x1ed541,onConfigure:_0x250066,showClickable:_0x105b12=!0x0}=_0x43f144,_0x19a38a=_0x41eaa8['useObservable'](_0x6fa458,_0x3a790e[_0x3fcc24(0x221)]['DISCONNECTED']),_0x52afc3=_0x41eaa8[_0x3fcc24(0x1b6)](_0x1ed541,_0x3a790e[_0x3fcc24(0x23f)][_0x3fcc24(0x214)]),_0x2dc7db=_0x41eaa8['useDependency'](_0x24b020[_0x3fcc24(0x160)]),_0x5d12f6=_0x19a38a===_0x3a790e[_0x3fcc24(0x221)]['CONNECTED'];_0x19a38a===_0x3a790e[_0x3fcc24(0x221)][_0x3fcc24(0x219)]||_0x3a790e[_0x3fcc24(0x221)]['RETRYING'];const _0x472065=_0x2dc7db['t'](_0x1679c8(_0x19a38a,_0x52afc3)),_0x933c98=_0x398dc4(_0x19a38a,_0x52afc3,_0x2dc7db,_0x105b12),_0x10a4b6=_0x7df828(_0x19a38a),_0x1c8215=_0x5d12f6?_0x558982['jsx'](_0x1c73c5,{}):_0x558982[_0x3fcc24(0x1c9)](_0x4c86b9,{}),_0x2280dd=_0x2151b8[_0x3fcc24(0x14e)](()=>{_0x105b12&&_0x250066&&_0x250066();},[_0x105b12,_0x250066]);function _0x16ec80(){const _0xabb01=_0x3fcc24;return _0x558982[_0xabb01(0x1d2)]('div',{'className':_0x394244[_0xabb01(0x124)]('univer-flex\x20univer-items-center',_0x105b12&&_0x250066&&'\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'),'role':_0xabb01(0x242),'onClick':_0x105b12&&_0x250066?_0x2280dd:void 0x0,'children':[_0x558982[_0xabb01(0x1c9)](_0xabb01(0x23c),{'className':_0x394244['clsx'](_0xabb01(0x161),_0x10a4b6),'children':_0x1c8215}),_0x558982[_0xabb01(0x1c9)]('div',{'className':_0xabb01(0x21d),'children':_0x472065})]});}return _0x558982[_0x3fcc24(0x1c9)](_0x394244[_0x3fcc24(0x162)],{'title':_0x933c98,'placement':_0x3fcc24(0xfc),'children':_0x16ec80()});}var _0x542548=Object['getOwnPropertyDescriptor'],_0x271c65=(_0x25cc03,_0x5896cf,_0x4cd0a2,_0x540475)=>{const _0x7b91ac=_0x2177cd;for(var _0x2ba4ac=_0x540475>0x1?void 0x0:_0x540475?_0x542548(_0x5896cf,_0x4cd0a2):_0x5896cf,_0x2249ab=_0x25cc03[_0x7b91ac(0x27c)]-0x1,_0x5196f9;_0x2249ab>=0x0;_0x2249ab--)(_0x5196f9=_0x25cc03[_0x2249ab])&&(_0x2ba4ac=_0x5196f9(_0x2ba4ac)||_0x2ba4ac);return _0x2ba4ac;},_0xb74b1d=(_0x11c93e,_0x748033)=>(_0xd4c9da,_0x45e09f)=>_0x748033(_0xd4c9da,_0x45e09f,_0x11c93e);_0x237404[_0x2177cd(0x132)]=class extends _0x24b020[_0x2177cd(0x1c4)]{constructor(_0x34f3c4,_0x22feda,_0x1cca05,_0xdbb3b3){const _0xc05c8c=_0x2177cd;super(),this[_0xc05c8c(0x1e6)]=_0x34f3c4,this[_0xc05c8c(0x123)]=_0x22feda,this[_0xc05c8c(0xdf)]=_0x1cca05,this[_0xc05c8c(0x22a)]=_0xdbb3b3,this['_initAutoConnect'](),this[_0xc05c8c(0xe4)]();}[_0x2177cd(0x177)](){const _0x23544e=_0x2177cd,_0x429789=this[_0x23544e(0x22a)][_0x23544e(0x148)](_0xd65fa4);_0x429789!=null&&_0x429789['showDeveloperTools']&&(this['_connectionController'][_0x23544e(0x25e)]=!0x1);}[_0x2177cd(0xe4)](){const _0x27fa70=_0x2177cd,_0x1d063c=this[_0x27fa70(0x22a)][_0x27fa70(0x148)](_0xd65fa4);(_0x1d063c==null?void 0x0:_0x1d063c[_0x27fa70(0x116)])!==!0x1&&this[_0x27fa70(0x217)](this['_uiPartsService']['registerComponent'](_0x41eaa8[_0x27fa70(0x1b5)][_0x27fa70(0x1a2)],()=>{const _0x56f3b6=_0x27fa70;var _0x534480;return _0x41eaa8[_0x56f3b6(0x120)](_0x2113e3({'status$':this[_0x56f3b6(0x123)]['connectionStatus$'],'error$':this[_0x56f3b6(0x123)][_0x56f3b6(0x143)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x534480=_0x1d063c==null?void 0x0:_0x1d063c[_0x56f3b6(0x247)])!=null?_0x534480:!0x1}),this[_0x56f3b6(0x1e6)]);}));}[_0x2177cd(0x16a)](){const _0x1d68d3=_0x2177cd;this[_0x1d68d3(0x1e6)][_0x1d68d3(0x126)](_0x237404[_0x1d68d3(0x21a)])[_0x1d68d3(0x15f)]();}},_0x237404[_0x2177cd(0x132)]=_0x271c65([_0xb74b1d(0x0,_0x24b020[_0x2177cd(0x118)](_0x24b020['Injector'])),_0xb74b1d(0x1,_0x24b020[_0x2177cd(0x118)](_0x3a790e['MCPConnectionController'])),_0xb74b1d(0x2,_0x41eaa8[_0x2177cd(0x1b8)]),_0xb74b1d(0x3,_0x24b020[_0x2177cd(0x128)])],_0x237404[_0x2177cd(0x132)]);function _0x2113e3(_0x11482c){const {status$:_0x1c9532,error$:_0x3a9057,onConfigure:_0x4c02d4,showClickable:_0x1b714b}=_0x11482c;return function(){const _0x2d6c9d=_0x1259;return _0x558982[_0x2d6c9d(0x1c9)](_0x23eb9c,{'status$':_0x1c9532,'error$':_0x3a9057,'onConfigure':_0x4c02d4,'showClickable':_0x1b714b});};}function _0x46d01a(_0x491055){const _0x14f128=_0x2177cd;return{'id':_0x53ab07['id'],'type':_0x41eaa8[_0x14f128(0x27d)][_0x14f128(0x17f)],'icon':'MenuIcon','title':_0x14f128(0x11c),'tooltip':'mcpConfig.title'};}const _0x3268d4={[_0x41eaa8['RibbonStartGroup'][_0x2177cd(0x1cf)]]:{[_0x53ab07['id']]:{'order':0xa,'menuItemFactory':_0x46d01a}}};var _0x8a2408=Object['getOwnPropertyDescriptor'],_0x940e38=(_0x2ab87d,_0x67d6e3,_0x3c75c3,_0x4449a2)=>{for(var _0x30573a=_0x4449a2>0x1?void 0x0:_0x4449a2?_0x8a2408(_0x67d6e3,_0x3c75c3):_0x67d6e3,_0x3ff57e=_0x2ab87d['length']-0x1,_0x9a4aed;_0x3ff57e>=0x0;_0x3ff57e--)(_0x9a4aed=_0x2ab87d[_0x3ff57e])&&(_0x30573a=_0x9a4aed(_0x30573a)||_0x30573a);return _0x30573a;},_0x2c8302=(_0x25f176,_0x4236eb)=>(_0x13b59f,_0x1433d3)=>_0x4236eb(_0x13b59f,_0x1433d3,_0x25f176);_0x237404['MCPUIMenuController']=class extends _0x24b020['Disposable']{constructor(_0x59a986,_0x21d56e){const _0x5751e5=_0x2177cd;super(),this['_commandService']=_0x59a986,this[_0x5751e5(0xe7)]=_0x21d56e,this[_0x5751e5(0x104)](),this[_0x5751e5(0x13e)]();}[_0x2177cd(0x104)](){[_0x53ab07]['forEach'](_0x22c8a8=>{const _0x117bb2=_0x1259;this[_0x117bb2(0x217)](this[_0x117bb2(0x25d)][_0x117bb2(0x25c)](_0x22c8a8));});}[_0x2177cd(0x13e)](){const _0x96e119=_0x2177cd;this[_0x96e119(0xe7)][_0x96e119(0x278)](_0x3268d4);}},_0x237404['MCPUIMenuController']=_0x940e38([_0x2c8302(0x0,_0x24b020['ICommandService']),_0x2c8302(0x1,_0x41eaa8[_0x2177cd(0x182)])],_0x237404['MCPUIMenuController']);const _0x21961b={'mcpStatus':{'disconnected':_0x2177cd(0x259),'connecting':'MCP\x20Connecting...','connected':_0x2177cd(0x103),'failed':'MCP\x20Connection\x20Failed','retrying':_0x2177cd(0x142),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x2177cd(0x155),'networkError':_0x2177cd(0x21e),'maxRetriesExceeded':_0x2177cd(0x16c),'clickToConnect':_0x2177cd(0x1e9),'clickToConfigure':_0x2177cd(0x122)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2177cd(0x1ef),'apiKeyPlaceholder':_0x2177cd(0x1b7),'apiKeyHint':_0x2177cd(0x184),'enableAuth':_0x2177cd(0x1e2),'enableAuthHint':_0x2177cd(0x19d),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2177cd(0x12f),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x2177cd(0x275),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x2177cd(0x15e),'configStep3':_0x2177cd(0xd9),'sessionId':'Session\x20ID','sessionIdDescription':_0x2177cd(0x114),'authorizationDescription':_0x2177cd(0x1bf),'configParameters':_0x2177cd(0x1a4),'maxRetries':_0x2177cd(0x1c1),'save':_0x2177cd(0x150),'saving':_0x2177cd(0x108),'note1':_0x2177cd(0x26c),'note2':_0x2177cd(0x13f),'configSaved':_0x2177cd(0x24e),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2177cd(0x135),'description':_0x2177cd(0x241),'univerAiLabel':_0x2177cd(0x216),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2177cd(0x196),'apiKeyTooShort':_0x2177cd(0x19e),'invalidConfig':_0x2177cd(0x269),'invalidApiKey':_0x2177cd(0x1f8)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2177cd(0x230),'connected':_0x2177cd(0x20e),'failed':_0x2177cd(0x257),'retrying':_0x2177cd(0x264)},'connectionError':{'unauthorized':_0x2177cd(0x18a),'sessionOccupied':_0x2177cd(0x23b),'networkError':_0x2177cd(0x10b),'maxRetriesExceeded':_0x2177cd(0x263)}}},_0x5f058b={'mcpStatus':{'disconnected':_0x2177cd(0x1a1),'connecting':'MCP\x20连接中...','connected':_0x2177cd(0xdd),'failed':'MCP\x20连接失败','retrying':_0x2177cd(0x238),'unknown':'MCP\x20状态未知','unauthorized':_0x2177cd(0x111),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x2177cd(0x121),'maxRetriesExceeded':_0x2177cd(0x26e),'clickToConnect':_0x2177cd(0x1b9),'clickToConfigure':_0x2177cd(0x26d)},'mcpConfig':{'title':_0x2177cd(0xda),'description':_0x2177cd(0x18e),'apiKey':_0x2177cd(0x1ca),'apiKeyPlaceholder':_0x2177cd(0x1cc),'apiKeyHint':_0x2177cd(0x158),'enableAuth':_0x2177cd(0x276),'enableAuthHint':_0x2177cd(0x224),'connectionInfo':_0x2177cd(0x212),'mcpClientConfig':_0x2177cd(0x212),'configInstructions':_0x2177cd(0x25f),'configStepTitle':_0x2177cd(0x201),'configStep1':_0x2177cd(0x23a),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x2177cd(0xfa),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x2177cd(0x208),'configParameters':_0x2177cd(0x171),'maxRetries':_0x2177cd(0x252),'save':_0x2177cd(0x12b),'saving':'保存中...','note1':_0x2177cd(0x1c0),'note2':_0x2177cd(0x1ce),'configSaved':_0x2177cd(0x1bb),'configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x2177cd(0xe0)},'validation':{'apiKeyRequired':_0x2177cd(0x240),'apiKeyTooShort':_0x2177cd(0x249),'invalidConfig':_0x2177cd(0xee),'invalidApiKey':_0x2177cd(0xeb)},'connectionStatus':{'disconnected':_0x2177cd(0xf5),'connecting':_0x2177cd(0x1d7),'connected':_0x2177cd(0x1a6),'failed':_0x2177cd(0x1a3),'retrying':_0x2177cd(0x1eb)},'connectionError':{'unauthorized':_0x2177cd(0x1ea),'sessionOccupied':_0x2177cd(0x270),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x2177cd(0x153)}}};var _0xa25673=Object['defineProperty'],_0x204819=Object[_0x2177cd(0x24f)],_0x3ed744=(_0x2c2e19,_0x58d9ba,_0x4a1c6c)=>_0x58d9ba in _0x2c2e19?_0xa25673(_0x2c2e19,_0x58d9ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a1c6c}):_0x2c2e19[_0x58d9ba]=_0x4a1c6c,_0x3b079b=(_0x5e554f,_0x1a73bb,_0x102740,_0x4e55af)=>{const _0x51e602=_0x2177cd;for(var _0x561b14=_0x4e55af>0x1?void 0x0:_0x4e55af?_0x204819(_0x1a73bb,_0x102740):_0x1a73bb,_0x158602=_0x5e554f[_0x51e602(0x27c)]-0x1,_0x5be777;_0x158602>=0x0;_0x158602--)(_0x5be777=_0x5e554f[_0x158602])&&(_0x561b14=_0x5be777(_0x561b14)||_0x561b14);return _0x561b14;},_0x4c067e=(_0x2ddf29,_0x209a6f)=>(_0x1916c2,_0xcaf845)=>_0x209a6f(_0x1916c2,_0xcaf845,_0x2ddf29),_0x1bb72d=(_0x156157,_0xe3d3b3,_0x3881a4)=>_0x3ed744(_0x156157,_0xe3d3b3+'',_0x3881a4);_0x237404[_0x2177cd(0x229)]=class extends _0x24b020[_0x2177cd(0xfb)]{constructor(_0x4ea333=_0x294598,_0x54498b,_0x2f2c00,_0x26c87d,_0x30ae19,_0x19998b){const _0x2d6882=_0x2177cd;super(),this[_0x2d6882(0x16f)]=_0x4ea333,this['_injector']=_0x54498b,this[_0x2d6882(0x22a)]=_0x2f2c00,this[_0x2d6882(0xdf)]=_0x26c87d,this[_0x2d6882(0x243)]=_0x30ae19,this[_0x2d6882(0xdb)]=_0x19998b;const {..._0x403667}=_0x24b020[_0x2d6882(0x1e1)]({},_0x294598,this['_config']);this[_0x2d6882(0x22a)][_0x2d6882(0x1d6)](_0xd65fa4,_0x403667);}async[_0x2177cd(0xff)](){const _0x24576f=_0x2177cd,_0x3763a6=[[_0x237404['MCPConnectionUIController']],[_0x237404['MCPConfigUIController']],[_0x237404[_0x24576f(0x144)]]];this[_0x24576f(0x1e6)][_0x24576f(0x194)](_0x24df9b[_0x24576f(0x250)])||_0x3763a6['push']([_0x24df9b[_0x24576f(0x250)],{'useClass':_0x24df9b[_0x24576f(0x227)]}]),_0x3763a6[_0x24576f(0x115)](_0xc16bb0=>this[_0x24576f(0x1e6)][_0x24576f(0x274)](_0xc16bb0)),this['_injector'][_0x24576f(0x126)](_0x237404['MCPConnectionUIController']),this[_0x24576f(0x1e6)]['get'](_0x237404[_0x24576f(0x21a)]),this[_0x24576f(0x1e6)]['get'](_0x237404['MCPUIMenuController']);}},_0x1bb72d(_0x237404[_0x2177cd(0x229)],_0x2177cd(0x204),'MCP_UI_PLUGIN'),_0x237404[_0x2177cd(0x229)]=_0x3b079b([_0x24b020[_0x2177cd(0x1cd)](_0x3a790e[_0x2177cd(0x159)]),_0x4c067e(0x1,_0x24b020[_0x2177cd(0x118)](_0x24b020[_0x2177cd(0x218)])),_0x4c067e(0x2,_0x24b020[_0x2177cd(0x128)]),_0x4c067e(0x3,_0x41eaa8['IUIPartsService']),_0x4c067e(0x4,_0x24b020[_0x2177cd(0x1a8)]),_0x4c067e(0x5,_0x24b020[_0x2177cd(0x118)](_0x24b020[_0x2177cd(0x160)]))],_0x237404[_0x2177cd(0x229)]),_0x237404[_0x2177cd(0x100)]=_0x5a017b,_0x237404[_0x2177cd(0x1ee)]=_0x23eb9c,_0x237404[_0x2177cd(0x1c2)]=_0x53ab07,_0x237404['enUS']=_0x21961b,_0x237404[_0x2177cd(0xec)]=_0x5f058b,Object[_0x2177cd(0xdc)](_0x237404,Symbol[_0x2177cd(0x254)],{'value':_0x2177cd(0x26a)});}));function _0x1259(_0x3c54b8,_0x520e12){_0x3c54b8=_0x3c54b8-0xd8;const _0x475b2b=_0x475b();let _0x12591b=_0x475b2b[_0x3c54b8];return _0x12591b;}function _0x475b(){const _0x51d583=['mcpConfig.authorizationDescription','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','replace','colorChannel1','function','2218568kKpreS','Input','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','merge','Enable\x20Authentication','https://mcp.univer.ai/mcp/?univer_session_id=','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','mcpConfig.connectionError.networkError','_injector','mcpConfig.configStep2','setItem','Click\x20to\x20connect\x20MCP','权限验证失败,请检查您的\x20API\x20密钥','重连中...','children','mcpConfig.configSaved','MCPStatusDisplay','API\x20Key','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','value','close','mcpConfig.connectionStatus.retrying','mcpConfig.configParameters','mcpConfig.note1','defIds','_createConfigPanelComponent','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','white','createElement','forwardRef','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','601240YxGpiB','univer-min-w-0\x20univer-flex-1','help-icon','close-icon','配置步骤:','0\x200\x2016\x2016','use','pluginName','evenodd','_messageService','CloseIcon','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MAX_RETRIES_EXCEEDED','_logService','mcpStatus.failed','mcpConfig.configInstructions','univer-text-white','Connected','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer_session_id:','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','MCP\x20客户端配置','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','NONE','univer.plus','Univer\x20AI\x20Console','disposeWithMe','Injector','CONNECTING','MCPConfigUIController','mcpStatus.unknown','currentColor','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MCP:\x20Network\x20Error','mcpConfig.apiApplyInfo.univerAiLabel','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCPConnectionStatus','sessionId$','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','启用身份验证以获得安全连接','RETRYING','idSuffix','WebSocketService','xlink:href','UniverMCPUIPlugin','_configService','6TFykuo','_mcpCoreConfig$','univer-space-y-5','ComponentManager','_componentManager','Connecting...','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','React','univer-text-green-500','mcpConfig.save','useRef','2042250njJdGy','BehaviorSubject','MCP\x20重连中...','exports','复制以下\x20JSON\x20配置','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','div','univer-text-sm\x20univer-text-gray-500','mcpConfig.connectionStatus.failed','MCPConnectionError','API\x20密钥不能为空','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','button','_localStorageService','show','univer-font-medium','_dialogService','showDeveloperTools','MCP_PLUGIN_CONFIG_KEY','API\x20密钥长度至少需要\x2010\x20位','UniverIcon','univer.ai','HelpIcon','univer-shrink-0\x20univer-text-red-500','Configuration\x20saved\x20successfully','getOwnPropertyDescriptor','ISocketService','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','最大重试次数','toString','toStringTag','Authorization:','330808tqarqJ','Connection\x20Failed','ILogService','MCP\x20Disconnected','\x20-\x20','getItem','registerCommand','_commandService','enableAutoConnect','将以下配置添加到您的\x20MCP\x20客户端设置中:','http://www.w3.org/2000/svg','@univerjs/design','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Retrying...','random','OffLineIcon','univer-bg-gray-500','167234vLHGdO','Invalid\x20configuration','Module','univer-bg-blue-500','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','点击配置\x20MCP','MCP:\x20超出最大重试次数','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','会话\x20ID\x20已被占用,请稍后再试','noopener\x20noreferrer','https://console.univer.ai','univer-flex\x20univer-flex-wrap\x20univer-gap-2','add','Configuration\x20Steps:','启用身份验证','UniverNetwork','mergeMenu','@univerjs/core','mcpConfig.configStepTitle','IDialogService','length','MenuItemType','tag','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20配置','_localeService','defineProperty','MCP\x20已连接','univer-space-y-3','_uiPartsService','几秒钟内获取您的\x20API\x20密钥','UniverDesign','https://console.univer.plus','apiKey','_initStatusComponent','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','_menuManagerService','3550778ESmjOt','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','symbol','API\x20密钥无效,请检查密钥是否正确','zhCN','mcpStatus.connected','配置无效','univer-bg-red-500','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-size-4','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','attrs','univer-text-blue-600','未连接','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','univer-text-red-500','univer-text-gray-500','http','会话ID','Plugin','bottom','clipPath','Configuration\x20Notes:','onStarting','MCPConfigPanel','register','_loadStoredApiKey','MCP\x20Connected','_initializeCommands','mcpStatus.sessionOccupied','displayName','next','Saving...','27HDXCOk','_mcpConnectionController','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','mcpConfig.sessionIdDescription','isValid','mcpConfig.validation.invalidApiKey','fill','0\x200\x2017\x2016','MCP:\x20未授权','UniverProMcpUi','off-line-icon_clip0_910_343','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','forEach','showStatus','UniverUi','Inject','path','CONNECTED','mcpConfig.note2','mcpConfig.title','Error','connectionStatus$','@univerjs/ui','connectInjector','MCP:\x20网络错误','Click\x20to\x20configure\x20MCP','_connectionController','clsx','mcpStatus.networkError','get','off-line-icon','IConfigService','univer-text-xs\x20univer-text-gray-500','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','保存配置','FAILED','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','NETWORK_ERROR','MCP\x20Client\x20Configuration','round','mcpStatus.unauthorized','MCPConnectionUIController','errorMessage','error','What\x20is\x20API\x20Key?','<SESSION_ID>','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','on-line-icon','react','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','useDependency','_config$','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','_initializeMenus','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MessageType','mcp.apiKey','MCP\x20Retrying...','connectionError$','MCPUIMenuController','Button','amd','M0\x200H16V16H0z','getConfig','Success','mcpConfig.configStep3','mcp-ui.config','_validateConfig','_loading$','useCallback','getCurrentConfig','Save\x20Configuration','mcpConfig.connectionError.maxRetriesExceeded','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','超出最大重试次数,请稍后再试','1em','MCP:\x20Session\x20ID\x20Occupied','warn','@univerjs/network','您的\x20API\x20密钥将在此浏览器中本地存储','UniverMCPPlugin','<API_KEY>','subscribeConfigValue$','Bearer\x20','univer-size-2\x20univer-rounded-full','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','showConfigPanel','LocaleService','univer-mr-2\x20univer-flex\x20univer-text-xl','Tooltip','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.validation.apiKeyTooShort','label','mcpConfig.validation.apiKeyRequired','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','SESSION_ID_OCCUPIED','_blank','_handleConfigure','mcpConfig.apiApplyInfo.getStarted','MCP:\x20Max\x20Retries\x20Exceeded','url(#off-line-icon_clip0_910_343)','@univerjs-pro/mcp','_config','univer-space-y-2','配置参数:','svg','univer-text-xs\x20univer-text-gray-600','mcpStatus.retrying','assign','text','_initAutoConnect','univer-flex\x20univer-items-start\x20univer-gap-3','_initConfigSync','mcpConfig.apiApplyInfo.description','useState','univer-text-yellow-500','CheckMarkIcon','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','BUTTON','trim','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','IMenuManagerService','COMMAND','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','_handleConfigSave','none','current','mcpConfig.apiKey','DISCONNECTED','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','mcpStatus.clickToConnect','map','defs','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mcpConfig.apiApplyInfo.title','univerjs-icon\x20univerjs-icon-','UniverCore','univer-flex-1','mcpServerUrl','has','667013lAcOnQ','API\x20key\x20is\x20required','univer-flex\x20univer-items-center\x20univer-gap-2','mcpConfig.connectionInfo','mcpConfig.validation.invalidConfig','includes','mask','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcp-ui.command.openConfigPanel','MCP\x20已断开','HEADER_MENU','连接失败','Configuration\x20Parameters:','univer-flex\x20univer-items-start\x20univer-gap-2','已连接','MCPConnectionController','ILocalStorageService','mcpStatus.clickToConfigure','mcp-config-dialog','21NubEGR','span','rxjs','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','mcpStatus.disconnected','mcpConfig.apiKeyPlaceholder','url(#$1','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','_registerComponent','object','BuiltInUIPart','useObservable','Enter\x20your\x20API\x20key','IUIPartsService','点击连接\x20MCP','_apiKey$','配置保存成功','open','mcpConfig.saving','subscribe','API\x20key\x20with\x20Bearer\x20prefix.','配置更改将立即生效','Max\x20Retries','OpenMCPConfigPanelCommand','mcpConfig.connectionStatus.disconnected','Disposable','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','mcpStatus.maxRetriesExceeded','univer-text-gray-400','UNAUTHORIZED','jsx','API\x20密钥','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','请输入您的\x20API\x20密钥','DependentOn','您的\x20API\x20密钥安全存储在本地存储中','OTHERS','mcpConfig.connectionStatus.connecting','string','jsxs','mcpConfig.connectionStatus.connected','univer-space-y-4','mcpConfig.connectionError.sessionOccupied','setConfig','连接中...','__setCustomHeaders'];_0x475b=function(){return _0x51d583;};return _0x475b();}