@univerjs-pro/mcp-ui 0.15.3 → 0.15.4

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 (54) 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/sk-SK.js +1 -0
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -0
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -0
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/locale/sk-SK.d.ts +3 -0
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/sk-SK.js +1 -0
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +8 -8
@@ -1 +1 @@
1
- function _0xdb28(_0x3e6861,_0x291008){_0x3e6861=_0x3e6861-0x119;const _0x46f3bb=_0x46f3();let _0xdb28bf=_0x46f3bb[_0x3e6861];return _0xdb28bf;}const _0x1892f1=_0xdb28;function _0x46f3(){const _0x228b31=['AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','29oSBeNl','MCP\x20알\x20수\x20없는\x20상태','인증\x20실패.\x20API\x20키를\x20확인하세요','5936064HsvHod','연결됨','24240hhyyTj','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','API\x20키란\x20무엇인가요?','클릭하여\x20MCP\x20연결','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','API\x20키는\x2010자\x20이상이어야\x20합니다','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','API\x20','5474496QizeqD','Univer\x20AI\x20콘솔','MCP\x20연결\x20중...','2451630rJsmCf','API\x20키는\x20필수입니다','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','Bearer\x20접두사가\x20있는\x20API\x20키.','MCP\x20클라이언트\x20설정','설정\x20매개변수:','36202dFKChF','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','MCP\x20연결\x20실패','설정\x20저장\x20실패','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','설정\x20단계:','666sPFjDw','MCP:\x20세션\x20ID\x20사용\x20','연결\x20실패','설정\x20저장','34380099btXtpE','저장\x20중...','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','최대\x20재시도\x20횟수','아래\x20JSON\x20설정\x20복사','연결\x20중...','4206706yoIIqg','MCP:\x20네트워크\x20오류','10CGVvwD','설정이\x20성공적으로\x20저장되었습니다','연결\x20끊김','인증\x20활성화','MCP\x20연결됨','클릭하여\x20MCP\x20설정','API\x20키를\x20입력하세요','유효하지\x20않은\x20설정'];_0x46f3=function(){return _0x228b31;};return _0x46f3();}(function(_0x2500e8,_0x1daac7){const _0x445123=_0xdb28,_0x30d9b5=_0x2500e8();while(!![]){try{const _0x30f825=-parseInt(_0x445123(0x12d))/0x1*(-parseInt(_0x445123(0x143))/0x2)+parseInt(_0x445123(0x149))/0x3*(parseInt(_0x445123(0x132))/0x4)+parseInt(_0x445123(0x13d))/0x5+parseInt(_0x445123(0x13a))/0x6+parseInt(_0x445123(0x122))/0x7+parseInt(_0x445123(0x130))/0x8+-parseInt(_0x445123(0x11c))/0x9*(parseInt(_0x445123(0x124))/0xa);if(_0x30f825===_0x1daac7)break;else _0x30d9b5['push'](_0x30d9b5['shift']());}catch(_0x2942f3){_0x30d9b5['push'](_0x30d9b5['shift']());}}}(_0x46f3,0xc252a));const e={'mcpStatus':{'disconnected':'MCP\x20연결\x20끊김','connecting':_0x1892f1(0x13c),'connected':_0x1892f1(0x128),'failed':_0x1892f1(0x145),'retrying':'MCP\x20재시도\x20중...','unknown':_0x1892f1(0x12e),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x1892f1(0x119),'networkError':_0x1892f1(0x123),'maxRetriesExceeded':'MCP:\x20최대\x20재시도\x20횟수\x20초과','clickToConnect':_0x1892f1(0x135),'clickToConfigure':_0x1892f1(0x129)},'mcpConfig':{'title':'MCP\x20설정','description':_0x1892f1(0x12c),'apiKey':_0x1892f1(0x139),'apiKeyPlaceholder':_0x1892f1(0x12a),'apiKeyHint':_0x1892f1(0x133),'enableAuth':_0x1892f1(0x127),'enableAuthHint':'보안\x20연결을\x20위해\x20인증\x20활성화','connectionInfo':_0x1892f1(0x141),'mcpClientConfig':_0x1892f1(0x141),'configInstructions':'MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','configStepTitle':_0x1892f1(0x148),'configStep1':_0x1892f1(0x120),'configStep2':_0x1892f1(0x136),'configStep3':_0x1892f1(0x11e),'sessionId':'세션\x20ID','sessionIdDescription':_0x1892f1(0x13f),'authorizationDescription':_0x1892f1(0x140),'configParameters':_0x1892f1(0x142),'maxRetries':_0x1892f1(0x11f),'save':_0x1892f1(0x11b),'saving':_0x1892f1(0x11d),'note1':_0x1892f1(0x138),'note2':_0x1892f1(0x147),'configSaved':_0x1892f1(0x125),'configError':_0x1892f1(0x146),'apiApplyInfo':{'title':_0x1892f1(0x134),'description':'API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','univerAiLabel':_0x1892f1(0x13b),'getStarted':'몇\x20초\x20만에\x20API\x20키\x20발급받기'},'validation':{'apiKeyRequired':_0x1892f1(0x13e),'apiKeyTooShort':_0x1892f1(0x137),'invalidConfig':_0x1892f1(0x12b),'invalidApiKey':_0x1892f1(0x144)},'connectionStatus':{'disconnected':_0x1892f1(0x126),'connecting':_0x1892f1(0x121),'connected':_0x1892f1(0x131),'failed':_0x1892f1(0x11a),'retrying':'재시도\x20중...'},'connectionError':{'unauthorized':_0x1892f1(0x12f),'sessionOccupied':'세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','networkError':'네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','maxRetriesExceeded':'최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요'}}};export{e as default};
1
+ const _0x26d334=_0x17aa;function _0xb96b(){const _0xd984cc=['MCP\x20연결\x20실패','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','153gqeMbw','MCP\x20연결\x20중...','설정\x20저장','연결됨','보안\x20연결을\x20위해\x20인증\x20활성화','MCP:\x20세션\x20ID\x20사용\x20','재시도\x20중...','API\x20키란\x20무엇인가요?','MCP\x20연결됨','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','설정이\x20성공적으로\x20저장되었습니다','153888oXMhmE','설정\x20매개변수:','클릭하여\x20MCP\x20연결','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','MCP\x20설정','API\x20키는\x2010자\x20이상이어야\x20합니다','API\x20키는\x20필수입니다','Univer\x20AI\x20콘솔','저장\x20중...','연결\x20끊김','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','Bearer\x20접두사가\x20있는\x20API\x20키.','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','3213704ZnJaRH','연결\x20중...','1767210utfiPG','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','설정\x20저장\x20실패','MCP\x20알\x20수\x20없는\x20상태','673817PSFQQN','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','연결\x20실패','최대\x20재시도\x20횟수','1179450qrOPTE','MCP:\x20최대\x20재시도\x20횟수\x20초과','인증\x20실패.\x20API\x20키를\x20확인하세요','12752736BPPeBB','1187532sLmdhp','아래\x20JSON\x20설정\x20복사','2RVcvLw','MCP\x20연결\x20끊김','20pUhuZu','MCP:\x20네트워크\x20오류','유효하지\x20않은\x20설정','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','API\x20'];_0xb96b=function(){return _0xd984cc;};return _0xb96b();}(function(_0x561543,_0x2f2ec0){const _0x3b005f=_0x17aa,_0x1ecf90=_0x561543();while(!![]){try{const _0xaa121=-parseInt(_0x3b005f(0x1e5))/0x1*(-parseInt(_0x3b005f(0x1ef))/0x2)+parseInt(_0x3b005f(0x1ed))/0x3+-parseInt(_0x3b005f(0x1df))/0x4+parseInt(_0x3b005f(0x1f1))/0x5*(-parseInt(_0x3b005f(0x1e9))/0x6)+parseInt(_0x3b005f(0x1d2))/0x7+-parseInt(_0x3b005f(0x1ec))/0x8+-parseInt(_0x3b005f(0x1f8))/0x9*(-parseInt(_0x3b005f(0x1e1))/0xa);if(_0xaa121===_0x2f2ec0)break;else _0x1ecf90['push'](_0x1ecf90['shift']());}catch(_0x54320b){_0x1ecf90['push'](_0x1ecf90['shift']());}}}(_0xb96b,0xdead4));const e={'mcpStatus':{'disconnected':_0x26d334(0x1f0),'connecting':_0x26d334(0x1f9),'connected':_0x26d334(0x200),'failed':_0x26d334(0x1f6),'retrying':'MCP\x20재시도\x20중...','unknown':_0x26d334(0x1e4),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x26d334(0x1fd),'networkError':_0x26d334(0x1f2),'maxRetriesExceeded':_0x26d334(0x1ea),'clickToConnect':_0x26d334(0x1d4),'clickToConfigure':'클릭하여\x20MCP\x20설정'},'mcpConfig':{'title':_0x26d334(0x1d6),'description':_0x26d334(0x1d0),'apiKey':_0x26d334(0x1f5),'apiKeyPlaceholder':'API\x20키를\x20입력하세요','apiKeyHint':'API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','enableAuth':'인증\x20활성화','enableAuthHint':_0x26d334(0x1fc),'connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':'MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','configStepTitle':'설정\x20단계:','configStep1':_0x26d334(0x1ee),'configStep2':_0x26d334(0x1dc),'configStep3':_0x26d334(0x1e6),'sessionId':'세션\x20ID','sessionIdDescription':'고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','authorizationDescription':_0x26d334(0x1dd),'configParameters':_0x26d334(0x1d3),'maxRetries':_0x26d334(0x1e8),'save':_0x26d334(0x1fa),'saving':_0x26d334(0x1da),'note1':'설정\x20변경\x20사항은\x20즉시\x20적용됩니다','note2':_0x26d334(0x1f7),'configSaved':_0x26d334(0x1d1),'configError':_0x26d334(0x1e3),'apiApplyInfo':{'title':_0x26d334(0x1ff),'description':_0x26d334(0x1e2),'univerAiLabel':_0x26d334(0x1d9),'getStarted':'몇\x20초\x20만에\x20API\x20키\x20발급받기'},'validation':{'apiKeyRequired':_0x26d334(0x1d8),'apiKeyTooShort':_0x26d334(0x1d7),'invalidConfig':_0x26d334(0x1f3),'invalidApiKey':_0x26d334(0x1d5)},'connectionStatus':{'disconnected':_0x26d334(0x1db),'connecting':_0x26d334(0x1e0),'connected':_0x26d334(0x1fb),'failed':_0x26d334(0x1e7),'retrying':_0x26d334(0x1fe)},'connectionError':{'unauthorized':_0x26d334(0x1eb),'sessionOccupied':'세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','networkError':_0x26d334(0x1f4),'maxRetriesExceeded':_0x26d334(0x1de)}}};function _0x17aa(_0x2f2147,_0x122d4f){_0x2f2147=_0x2f2147-0x1d0;const _0xb96b17=_0xb96b();let _0x17aa81=_0xb96b17[_0x2f2147];return _0x17aa81;}export{e as default};
@@ -1 +1 @@
1
- const _0x2f8193=_0xbf67;(function(_0x191ec9,_0x48eb8d){const _0x4a7fc8=_0xbf67,_0xdd2187=_0x191ec9();while(!![]){try{const _0x36fcfa=parseInt(_0x4a7fc8(0x7c))/0x1*(-parseInt(_0x4a7fc8(0x92))/0x2)+-parseInt(_0x4a7fc8(0x82))/0x3+-parseInt(_0x4a7fc8(0x8d))/0x4*(-parseInt(_0x4a7fc8(0x86))/0x5)+-parseInt(_0x4a7fc8(0xa1))/0x6+-parseInt(_0x4a7fc8(0x8b))/0x7*(-parseInt(_0x4a7fc8(0xa0))/0x8)+parseInt(_0x4a7fc8(0x8e))/0x9*(-parseInt(_0x4a7fc8(0x7b))/0xa)+-parseInt(_0x4a7fc8(0xa3))/0xb*(-parseInt(_0x4a7fc8(0x7d))/0xc);if(_0x36fcfa===_0x48eb8d)break;else _0xdd2187['push'](_0xdd2187['shift']());}catch(_0x14f499){_0xdd2187['push'](_0xdd2187['shift']());}}}(_0x4e59,0x1dc09));function _0xbf67(_0x28b582,_0x182116){_0x28b582=_0x28b582-0x71;const _0x4e59cf=_0x4e59();let _0xbf6725=_0x4e59cf[_0x28b582];return _0xbf6725;}function _0x4e59(){const _0x410873=['Retrying...','352MGWtTV','API\x20Key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Disconnected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Retrying...','Configuration\x20saved\x20successfully','What\x20is\x20API\x20Key?','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Network\x20Error','Connecting...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Saving...','60mUkgzE','15wtzByC','67584XslkOw','MCP\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20with\x20Bearer\x20prefix.','Connection\x20Failed','524769hoJiIV','Univer\x20AI\x20Console','Configuration\x20Parameters:','Session\x20ID','10Zebnrk','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Connecting...','Enter\x20your\x20API\x20key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','29323IhmQcF','Configuration\x20Steps:','424696IjxzNz','87462vuAUtY','Failed\x20to\x20save\x20configuration','Connected','API\x20key\x20is\x20required','1150tdeMtu','MCP:\x20Session\x20ID\x20Occupied','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connection\x20Failed','Enable\x20Authentication','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP','MCP\x20Connected','MCP\x20Client\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','Disconnected','MCP\x20Unknown\x20Status','MCP:\x20Max\x20Retries\x20Exceeded','360xTUkBa','1304136jLQPdY'];_0x4e59=function(){return _0x410873;};return _0x4e59();}const e={'mcpStatus':{'disconnected':_0x2f8193(0xa6),'connecting':_0x2f8193(0x88),'connected':_0x2f8193(0x99),'failed':_0x2f8193(0x95),'retrying':_0x2f8193(0x72),'unknown':_0x2f8193(0x9e),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x2f8193(0x93),'networkError':_0x2f8193(0x76),'maxRetriesExceeded':_0x2f8193(0x9f),'clickToConnect':_0x2f8193(0x98),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x2f8193(0x7e),'description':_0x2f8193(0x75),'apiKey':_0x2f8193(0xa4),'apiKeyPlaceholder':_0x2f8193(0x89),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x2f8193(0x96),'enableAuthHint':_0x2f8193(0x9b),'connectionInfo':_0x2f8193(0x9a),'mcpClientConfig':_0x2f8193(0x9a),'configInstructions':_0x2f8193(0xa5),'configStepTitle':_0x2f8193(0x8c),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x2f8193(0x78),'configStep3':_0x2f8193(0x8a),'sessionId':_0x2f8193(0x85),'sessionIdDescription':_0x2f8193(0x79),'authorizationDescription':_0x2f8193(0x80),'configParameters':_0x2f8193(0x84),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x2f8193(0x7a),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2f8193(0x94),'configSaved':_0x2f8193(0x73),'configError':_0x2f8193(0x8f),'apiApplyInfo':{'title':_0x2f8193(0x74),'description':_0x2f8193(0xa7),'univerAiLabel':_0x2f8193(0x83),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2f8193(0x91),'apiKeyTooShort':_0x2f8193(0x7f),'invalidConfig':_0x2f8193(0x9c),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2f8193(0x9d),'connecting':_0x2f8193(0x77),'connected':_0x2f8193(0x90),'failed':_0x2f8193(0x81),'retrying':_0x2f8193(0xa2)},'connectionError':{'unauthorized':_0x2f8193(0x71),'sessionOccupied':_0x2f8193(0x87),'networkError':_0x2f8193(0x97),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
1
+ function _0x2ab4(_0x2286f3,_0x2ddee8){_0x2286f3=_0x2286f3-0x1c2;const _0x23089f=_0x2308();let _0x2ab44b=_0x23089f[_0x2286f3];return _0x2ab44b;}const _0x35f778=_0x2ab4;(function(_0x246b18,_0x19c952){const _0xdbcf8a=_0x2ab4,_0x565471=_0x246b18();while(!![]){try{const _0x1d013d=parseInt(_0xdbcf8a(0x1d2))/0x1*(parseInt(_0xdbcf8a(0x1d0))/0x2)+-parseInt(_0xdbcf8a(0x1e0))/0x3*(parseInt(_0xdbcf8a(0x1cb))/0x4)+parseInt(_0xdbcf8a(0x1dc))/0x5*(-parseInt(_0xdbcf8a(0x1d4))/0x6)+parseInt(_0xdbcf8a(0x1d1))/0x7*(parseInt(_0xdbcf8a(0x1e8))/0x8)+parseInt(_0xdbcf8a(0x1ce))/0x9*(-parseInt(_0xdbcf8a(0x1cc))/0xa)+parseInt(_0xdbcf8a(0x1f4))/0xb*(parseInt(_0xdbcf8a(0x1de))/0xc)+parseInt(_0xdbcf8a(0x1ed))/0xd;if(_0x1d013d===_0x19c952)break;else _0x565471['push'](_0x565471['shift']());}catch(_0x3ce365){_0x565471['push'](_0x565471['shift']());}}}(_0x2308,0x27955));const e={'mcpStatus':{'disconnected':_0x35f778(0x1cf),'connecting':'MCP\x20Connecting...','connected':_0x35f778(0x1ea),'failed':_0x35f778(0x1c3),'retrying':_0x35f778(0x1e1),'unknown':_0x35f778(0x1d7),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x35f778(0x1e5),'networkError':_0x35f778(0x1c7),'maxRetriesExceeded':_0x35f778(0x1d9),'clickToConnect':_0x35f778(0x1d3),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x35f778(0x1d8),'description':_0x35f778(0x1c2),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x35f778(0x1eb),'configStepTitle':_0x35f778(0x1e2),'configStep1':_0x35f778(0x1e6),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x35f778(0x1c8),'sessionId':_0x35f778(0x1c6),'sessionIdDescription':_0x35f778(0x1d6),'authorizationDescription':_0x35f778(0x1db),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x35f778(0x1da),'save':'Save\x20Configuration','saving':_0x35f778(0x1e7),'note1':_0x35f778(0x1c5),'note2':_0x35f778(0x1ef),'configSaved':_0x35f778(0x1e9),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x35f778(0x1e3),'description':_0x35f778(0x1f2),'univerAiLabel':_0x35f778(0x1ca),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x35f778(0x1d5),'apiKeyTooShort':_0x35f778(0x1f1),'invalidConfig':_0x35f778(0x1e4),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x35f778(0x1c9),'connecting':_0x35f778(0x1f0),'connected':_0x35f778(0x1cd),'failed':_0x35f778(0x1ec),'retrying':_0x35f778(0x1df)},'connectionError':{'unauthorized':_0x35f778(0x1dd),'sessionOccupied':_0x35f778(0x1f3),'networkError':_0x35f778(0x1ee),'maxRetriesExceeded':_0x35f778(0x1c4)}}},n=e;function _0x2308(){const _0x248748=['Univer\x20AI\x20Console','678828dJoaYy','219340qsopno','Connected','117IbhMlz','MCP\x20Disconnected','158YhSZRh','14IUmFjl','3747bMlOyM','Click\x20to\x20connect\x20MCP','871800SKpMky','API\x20key\x20is\x20required','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Unknown\x20Status','MCP\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','Max\x20Retries','API\x20key\x20with\x20Bearer\x20prefix.','5OtGzMb','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','1204968PuYvsy','Retrying...','3nhTeLL','MCP\x20Retrying...','Configuration\x20Steps:','What\x20is\x20API\x20Key?','Invalid\x20configuration','MCP:\x20Session\x20ID\x20Occupied','Copy\x20the\x20JSON\x20configuration\x20below','Saving...','821976nVyfdt','Configuration\x20saved\x20successfully','MCP\x20Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connection\x20Failed','2084693emGIHs','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','11HjjuvX','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session\x20ID','MCP:\x20Network\x20Error','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disconnected'];_0x2308=function(){return _0x248748;};return _0x2308();}export{n as default};
@@ -0,0 +1 @@
1
+ const _0x2f3056=_0x191d;function _0x191d(_0x3e3cff,_0x3e7a5a){_0x3e3cff=_0x3e3cff-0xfd;const _0x2b1c0f=_0x2b1c();let _0x191db0=_0x2b1c0f[_0x3e3cff];return _0x191db0;}(function(_0x45c5f1,_0x390e4e){const _0x2bc320=_0x191d,_0x11d963=_0x45c5f1();while(!![]){try{const _0x4f50e8=-parseInt(_0x2bc320(0x10c))/0x1+parseInt(_0x2bc320(0x111))/0x2*(-parseInt(_0x2bc320(0x103))/0x3)+-parseInt(_0x2bc320(0x12a))/0x4*(-parseInt(_0x2bc320(0x106))/0x5)+parseInt(_0x2bc320(0x12d))/0x6+-parseInt(_0x2bc320(0x123))/0x7*(-parseInt(_0x2bc320(0x129))/0x8)+parseInt(_0x2bc320(0x11c))/0x9+-parseInt(_0x2bc320(0xfe))/0xa;if(_0x4f50e8===_0x390e4e)break;else _0x11d963['push'](_0x11d963['shift']());}catch(_0x420ab0){_0x11d963['push'](_0x11d963['shift']());}}}(_0x2b1c,0x5c482));const e={'mcpStatus':{'disconnected':_0x2f3056(0x116),'connecting':'MCP\x20sa\x20pripája...','connected':_0x2f3056(0x108),'failed':_0x2f3056(0x100),'retrying':_0x2f3056(0x12c),'unknown':'MCP\x20neznámy\x20stav','unauthorized':'MCP:\x20Neautorizované','sessionOccupied':_0x2f3056(0x128),'networkError':'MCP:\x20Sieťová\x20chyba','maxRetriesExceeded':_0x2f3056(0x125),'clickToConnect':_0x2f3056(0x126),'clickToConfigure':_0x2f3056(0x10a)},'mcpConfig':{'title':_0x2f3056(0x109),'description':'Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','apiKey':_0x2f3056(0x127),'apiKeyPlaceholder':'Zadajte\x20svoj\x20API\x20kľúč','apiKeyHint':_0x2f3056(0x10b),'enableAuth':_0x2f3056(0x122),'enableAuthHint':_0x2f3056(0xfd),'connectionInfo':_0x2f3056(0x11d),'mcpClientConfig':_0x2f3056(0x11d),'configInstructions':_0x2f3056(0x114),'configStepTitle':'Kroky\x20konfigurácie:','configStep1':'Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','configStep2':_0x2f3056(0x10d),'configStep3':_0x2f3056(0x104),'sessionId':_0x2f3056(0x12b),'sessionIdDescription':_0x2f3056(0x124),'authorizationDescription':_0x2f3056(0x101),'configParameters':'Parametre\x20konfigurácie:','maxRetries':'Maximálny\x20počet\x20pokusov','save':_0x2f3056(0x10e),'saving':'Ukladá\x20sa...','note1':_0x2f3056(0x118),'note2':_0x2f3056(0x121),'configSaved':_0x2f3056(0x110),'configError':_0x2f3056(0x119),'apiApplyInfo':{'title':_0x2f3056(0x112),'description':_0x2f3056(0x105),'univerAiLabel':'Univer\x20AI\x20konzola','getStarted':_0x2f3056(0x115)},'validation':{'apiKeyRequired':_0x2f3056(0x11e),'apiKeyTooShort':_0x2f3056(0x102),'invalidConfig':_0x2f3056(0x107),'invalidApiKey':'Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny'},'connectionStatus':{'disconnected':_0x2f3056(0x120),'connecting':_0x2f3056(0x10f),'connected':_0x2f3056(0x117),'failed':_0x2f3056(0xff),'retrying':_0x2f3056(0x11a)},'connectionError':{'unauthorized':'Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','sessionOccupied':_0x2f3056(0x113),'networkError':_0x2f3056(0x11f),'maxRetriesExceeded':_0x2f3056(0x11b)}}};function _0x2b1c(){const _0x129b06=['Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','350489HuAcxC','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','Uložiť\x20konfiguráciu','Pripája\x20sa...','Konfigurácia\x20bola\x20úspešne\x20uložená','11578YXMZcO','Čo\x20je\x20API\x20kľúč?','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','MCP\x20odpojené','Pripojené','Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','Skúša\x20sa\x20znova...','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','5870601xnzUsC','Konfigurácia\x20klienta\x20MCP','API\x20kľúč\x20je\x20povinný','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','Odpojené','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','Povoliť\x20overenie','2246293fcOxul','Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','MCP:\x20Prekročený\x20počet\x20pokusov','Kliknite\x20na\x20pripojenie\x20MCP','API\x20kľúč','MCP:\x20ID\x20relácie\x20je\x20obsadené','8NJQelY','36NuGrBu','ID\x20relácie','MCP\x20opakuje\x20pokus...','1287366heNlti','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','9214650SUuwxL','Pripojenie\x20zlyhalo','Pripojenie\x20MCP\x20zlyhalo','API\x20kľúč\x20s\x20prefixom\x20Bearer.','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','114SPPxSW','Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','378985MBaEst','Neplatná\x20konfigurácia','MCP\x20pripojené','Konfigurácia\x20MCP','Kliknite\x20na\x20konfiguráciu\x20MCP'];_0x2b1c=function(){return _0x129b06;};return _0x2b1c();}export{e as default};
@@ -1 +1 @@
1
- const _0x2693ed=_0x4791;(function(_0x929813,_0x40e140){const _0x452347=_0x4791,_0x1ae1a2=_0x929813();while(!![]){try{const _0x2cb937=-parseInt(_0x452347(0x177))/0x1*(-parseInt(_0x452347(0x152))/0x2)+-parseInt(_0x452347(0x169))/0x3*(-parseInt(_0x452347(0x17c))/0x4)+-parseInt(_0x452347(0x17d))/0x5*(-parseInt(_0x452347(0x167))/0x6)+parseInt(_0x452347(0x15f))/0x7+parseInt(_0x452347(0x16d))/0x8*(-parseInt(_0x452347(0x165))/0x9)+-parseInt(_0x452347(0x172))/0xa*(-parseInt(_0x452347(0x175))/0xb)+-parseInt(_0x452347(0x154))/0xc*(parseInt(_0x452347(0x14e))/0xd);if(_0x2cb937===_0x40e140)break;else _0x1ae1a2['push'](_0x1ae1a2['shift']());}catch(_0x4aaecd){_0x1ae1a2['push'](_0x1ae1a2['shift']());}}}(_0x4d33,0x575be));function _0x4791(_0xf11cb5,_0x147d35){_0xf11cb5=_0xf11cb5-0x14d;const _0x4d3347=_0x4d33();let _0x47910e=_0x4d3347[_0xf11cb5];return _0x47910e;}function _0x4d33(){const _0x2d88c7=['18jbQnSF','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','21634092rHbBZz','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','MCP\x20Đã\x20kết\x20nối','ID\x20phiên','Cấu\x20hình\x20máy\x20khách\x20MCP','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Đang\x20kết\x20nối...','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','3647791wKAJbu','Đã\x20kết\x20nối','Kết\x20nối\x20thất\x20bại','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','MCP\x20Đã\x20ngắt\x20kết\x20nối','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','287343aDEwLM','Đang\x20lưu...','2169114wBPJgL','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','7341dGftyR','Tham\x20số\x20cấu\x20hình:','Nhập\x20khóa\x20API\x20của\x20bạn','Lưu\x20cấu\x20hình\x20thất\x20bại','24fowtEG','Khóa\x20API','Đã\x20ngắt\x20kết\x20nối','Bật\x20xác\x20thực','Lưu\x20cấu\x20hình','3980twVaxo','MCP\x20Đang\x20thử\x20lại...','Số\x20lần\x20thử\x20lại\x20tối\x20đa','17039ZKMEvp','Cấu\x20hình\x20MCP','75717HJeSHq','Đị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.','Bảng\x20điều\x20khiển\x20Univer\x20AI','Nhấp\x20để\x20kết\x20nối\x20MCP','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','124RyUWuO','5YYOrLr','Các\x20bước\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','MCP\x20Đang\x20kết\x20nối...','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','13PxAdrY','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Khóa\x20API\x20là\x20gì?','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau'];_0x4d33=function(){return _0x2d88c7;};return _0x4d33();}const n={'mcpStatus':{'disconnected':_0x2693ed(0x163),'connecting':_0x2693ed(0x180),'connected':_0x2693ed(0x156),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':_0x2693ed(0x173),'unknown':_0x2693ed(0x14d),'unauthorized':'MCP:\x20Không\x20được\x20phép','sessionOccupied':_0x2693ed(0x15e),'networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':'MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','clickToConnect':_0x2693ed(0x17a),'clickToConfigure':'Nhấp\x20để\x20cấu\x20hình\x20MCP'},'mcpConfig':{'title':_0x2693ed(0x176),'description':_0x2693ed(0x168),'apiKey':_0x2693ed(0x16e),'apiKeyPlaceholder':_0x2693ed(0x16b),'apiKeyHint':_0x2693ed(0x159),'enableAuth':_0x2693ed(0x170),'enableAuthHint':_0x2693ed(0x14f),'connectionInfo':_0x2693ed(0x158),'mcpClientConfig':'Cấu\x20hình\x20máy\x20khách\x20MCP','configInstructions':_0x2693ed(0x164),'configStepTitle':_0x2693ed(0x17e),'configStep1':_0x2693ed(0x153),'configStep2':_0x2693ed(0x15a),'configStep3':_0x2693ed(0x15c),'sessionId':_0x2693ed(0x157),'sessionIdDescription':_0x2693ed(0x178),'authorizationDescription':'Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','configParameters':_0x2693ed(0x16a),'maxRetries':_0x2693ed(0x174),'save':_0x2693ed(0x171),'saving':_0x2693ed(0x166),'note1':_0x2693ed(0x155),'note2':'Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20b','configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':_0x2693ed(0x16c),'apiApplyInfo':{'title':_0x2693ed(0x150),'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':_0x2693ed(0x179),'getStarted':_0x2693ed(0x15d)},'validation':{'apiKeyRequired':'Yêu\x20cầu\x20khóa\x20API','apiKeyTooShort':'Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','invalidConfig':'Cấu\x20hình\x20không\x20hợp\x20lệ','invalidApiKey':_0x2693ed(0x17f)},'connectionStatus':{'disconnected':_0x2693ed(0x16f),'connecting':_0x2693ed(0x15b),'connected':_0x2693ed(0x160),'failed':_0x2693ed(0x161),'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':_0x2693ed(0x151),'networkError':_0x2693ed(0x17b),'maxRetriesExceeded':_0x2693ed(0x162)}}};export{n as default};
1
+ const _0x3280ef=_0x359b;(function(_0x5c91e2,_0x5e1ed8){const _0x1e2ea8=_0x359b,_0x2fc568=_0x5c91e2();while(!![]){try{const _0x263d54=parseInt(_0x1e2ea8(0xa7))/0x1*(-parseInt(_0x1e2ea8(0x9a))/0x2)+-parseInt(_0x1e2ea8(0x9d))/0x3*(parseInt(_0x1e2ea8(0xba))/0x4)+-parseInt(_0x1e2ea8(0xb4))/0x5*(parseInt(_0x1e2ea8(0xb2))/0x6)+-parseInt(_0x1e2ea8(0xa8))/0x7*(parseInt(_0x1e2ea8(0x96))/0x8)+parseInt(_0x1e2ea8(0xbb))/0x9*(-parseInt(_0x1e2ea8(0xa3))/0xa)+parseInt(_0x1e2ea8(0x94))/0xb+parseInt(_0x1e2ea8(0x8e))/0xc;if(_0x263d54===_0x5e1ed8)break;else _0x2fc568['push'](_0x2fc568['shift']());}catch(_0x30fcb9){_0x2fc568['push'](_0x2fc568['shift']());}}}(_0x174b,0xe62c7));function _0x359b(_0x2bb4d3,_0x339d85){_0x2bb4d3=_0x2bb4d3-0x8d;const _0x174b68=_0x174b();let _0x359b5a=_0x174b68[_0x2bb4d3];return _0x359b5a;}const n={'mcpStatus':{'disconnected':_0x3280ef(0xae),'connecting':_0x3280ef(0xb9),'connected':_0x3280ef(0x97),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':_0x3280ef(0xa1),'unknown':'MCP\x20Trạng\x20thái\x20không\x20xác\x20định','unauthorized':_0x3280ef(0xb5),'sessionOccupied':_0x3280ef(0xaa),'networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':_0x3280ef(0x8d),'clickToConnect':_0x3280ef(0xb7),'clickToConfigure':_0x3280ef(0xac)},'mcpConfig':{'title':'Cấu\x20hình\x20MCP','description':'Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','apiKey':_0x3280ef(0x9c),'apiKeyPlaceholder':'Nhập\x20khóa\x20API\x20của\x20bạn','apiKeyHint':_0x3280ef(0xaf),'enableAuth':_0x3280ef(0x9e),'enableAuthHint':'Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','connectionInfo':'Cấu\x20hình\x20máy\x20khách\x20MCP','mcpClientConfig':_0x3280ef(0xa4),'configInstructions':_0x3280ef(0xad),'configStepTitle':_0x3280ef(0x9b),'configStep1':'Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','configStep2':_0x3280ef(0xbc),'configStep3':_0x3280ef(0xa5),'sessionId':_0x3280ef(0xab),'sessionIdDescription':_0x3280ef(0x99),'authorizationDescription':'Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','configParameters':_0x3280ef(0x98),'maxRetries':_0x3280ef(0x95),'save':_0x3280ef(0x91),'saving':_0x3280ef(0x9f),'note1':_0x3280ef(0xa6),'note2':_0x3280ef(0xa0),'configSaved':_0x3280ef(0x90),'configError':'Lưu\x20cấu\x20hình\x20thất\x20bại','apiApplyInfo':{'title':'Khóa\x20API\x20là\x20gì?','description':_0x3280ef(0xb3),'univerAiLabel':_0x3280ef(0x92),'getStarted':'Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây'},'validation':{'apiKeyRequired':_0x3280ef(0xa2),'apiKeyTooShort':'Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','invalidConfig':_0x3280ef(0xbd),'invalidApiKey':_0x3280ef(0xb0)},'connectionStatus':{'disconnected':_0x3280ef(0xb8),'connecting':_0x3280ef(0x8f),'connected':'Đã\x20kết\x20nối','failed':'Kết\x20nối\x20thất\x20bại','retrying':_0x3280ef(0xb1)},'connectionError':{'unauthorized':_0x3280ef(0x93),'sessionOccupied':_0x3280ef(0xa9),'networkError':'Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','maxRetriesExceeded':_0x3280ef(0xb6)}}};export{n as default};function _0x174b(){const _0x123570=['368178kgQHSd','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.','85EzeFpM','MCP:\x20Không\x20được\x20phép','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Nhấp\x20để\x20kết\x20nối\x20MCP','Đã\x20ngắt\x20kết\x20nối','MCP\x20Đang\x20kết\x20nối...','205512GTXlEl','22887jESlVA','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Cấu\x20hình\x20không\x20hợp\x20lệ','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','68324688jKdnzu','Đang\x20kết\x20nối...','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Lưu\x20cấu\x20hình','Bảng\x20điều\x20khiển\x20Univer\x20AI','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','10833031DTmhZx','Số\x20lần\x20thử\x20lại\x20tối\x20đa','15023408CjIuFY','MCP\x20Đã\x20kết\x20nối','Tham\x20số\x20cấu\x20hì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.','2BemNuo','Các\x20bước\x20cấu\x20hình:','Khóa\x20API','93CuTime','Bật\x20xác\x20thực','Đang\x20lưu...','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','MCP\x20Đang\x20thử\x20lại...','Yêu\x20cầu\x20khóa\x20API','10nAoJms','Cấu\x20hình\x20máy\x20khách\x20MCP','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','1219396kURDeL','7shXubO','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','ID\x20phiên','Nhấp\x20để\x20cấu\x20hình\x20MCP','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','MCP\x20Đã\x20ngắt\x20kết\x20nối','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Đang\x20thử\x20lại...'];_0x174b=function(){return _0x123570;};return _0x174b();}
@@ -1 +1 @@
1
- function _0x5c1d(_0x29d66b,_0x8ac97c){_0x29d66b=_0x29d66b-0x72;const _0x1c3d95=_0x1c3d();let _0x5c1dd2=_0x1c3d95[_0x29d66b];return _0x5c1dd2;}const _0x5b7d31=_0x5c1d;function _0x1c3d(){const _0x41cee7=['您的\x20API\x20密钥安全存储在本地存储中','点击配置\x20MCP','3ScJtpW','几秒钟内获取您的\x20API\x20密钥','重启您的\x20MCP\x20客户端以使配置生效','您的\x20API\x20密钥将在此浏览器中本地存储','配置无效','Univer\x20AI\x20控制台','点击连接\x20MCP','581073ztQviG','5202423TgNCat','161310AETkEh','2598652FFQRcT','API\x20密钥','连接中...','1008830LRfyEc','配置\x20MCP\x20使用\x20AI\x20操作电子表格','请输入您的\x20API\x20密钥','1232297WtvhaH','配置保存成功','保存配置','保存中...','MCP:\x20超出最大重试次数','MCP:\x20会话\x20ID\x20已被占用','带有\x20Bearer\x20前缀的\x20API\x20密钥。','108tyWQGs','最大重试次数','将以下配置添加到您的\x20MCP\x20客户端设置中:','配置步骤:','未连接','将配置添加到您的\x20MCP\x20客户端设置文件中','35ahrItq','MCP:\x20网络错误','491752lUFPlo','会话\x20ID\x20已被占用,请稍后再试','MCP\x20客户端配置','配置保存失败','MCP\x20已断开','网络连接错误,请检查您的网络连接','API\x20密钥长度至少需要\x2010\x20位','API\x20密钥不能为空','MCP\x20已连接','MCP\x20连接中...','什么是\x20API\x20密钥?','100brOofJ','连接失败','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP\x20配置','重连中...'];_0x1c3d=function(){return _0x41cee7;};return _0x1c3d();}(function(_0x28761b,_0x3fa31d){const _0x2ad4a5=_0x5c1d,_0x35a1ad=_0x28761b();while(!![]){try{const _0x4ea7bd=-parseInt(_0x2ad4a5(0x79))/0x1+-parseInt(_0x2ad4a5(0x7f))/0x2+parseInt(_0x2ad4a5(0x72))/0x3*(parseInt(_0x2ad4a5(0x7c))/0x4)+parseInt(_0x2ad4a5(0x7b))/0x5*(-parseInt(_0x2ad4a5(0x89))/0x6)+-parseInt(_0x2ad4a5(0x8f))/0x7*(parseInt(_0x2ad4a5(0x91))/0x8)+parseInt(_0x2ad4a5(0x7a))/0x9+parseInt(_0x2ad4a5(0x9c))/0xa*(parseInt(_0x2ad4a5(0x82))/0xb);if(_0x4ea7bd===_0x3fa31d)break;else _0x35a1ad['push'](_0x35a1ad['shift']());}catch(_0x44931b){_0x35a1ad['push'](_0x35a1ad['shift']());}}}(_0x1c3d,0x5b69f));const e={'mcpStatus':{'disconnected':_0x5b7d31(0x95),'connecting':_0x5b7d31(0x9a),'connected':_0x5b7d31(0x99),'failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','unauthorized':'MCP:\x20未授权','sessionOccupied':_0x5b7d31(0x87),'networkError':_0x5b7d31(0x90),'maxRetriesExceeded':_0x5b7d31(0x86),'clickToConnect':_0x5b7d31(0x78),'clickToConfigure':_0x5b7d31(0xa2)},'mcpConfig':{'title':_0x5b7d31(0x9f),'description':_0x5b7d31(0x80),'apiKey':_0x5b7d31(0x7d),'apiKeyPlaceholder':_0x5b7d31(0x81),'apiKeyHint':_0x5b7d31(0x75),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x5b7d31(0x93),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x5b7d31(0x8b),'configStepTitle':_0x5b7d31(0x8c),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x5b7d31(0x8e),'configStep3':_0x5b7d31(0x74),'sessionId':'会话ID','sessionIdDescription':_0x5b7d31(0x9e),'authorizationDescription':_0x5b7d31(0x88),'configParameters':'配置参数:','maxRetries':_0x5b7d31(0x8a),'save':_0x5b7d31(0x84),'saving':_0x5b7d31(0x85),'note1':'配置更改将立即生效','note2':_0x5b7d31(0xa1),'configSaved':_0x5b7d31(0x83),'configError':_0x5b7d31(0x94),'apiApplyInfo':{'title':_0x5b7d31(0x9b),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x5b7d31(0x77),'getStarted':_0x5b7d31(0x73)},'validation':{'apiKeyRequired':_0x5b7d31(0x98),'apiKeyTooShort':_0x5b7d31(0x97),'invalidConfig':_0x5b7d31(0x76),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x5b7d31(0x8d),'connecting':_0x5b7d31(0x7e),'connected':'已连接','failed':_0x5b7d31(0x9d),'retrying':_0x5b7d31(0xa0)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x5b7d31(0x92),'networkError':_0x5b7d31(0x96),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};export{e as default};
1
+ function _0x2254(_0x1510ed,_0xa66761){_0x1510ed=_0x1510ed-0x163;const _0x47f0a1=_0x47f0();let _0x225481=_0x47f0a1[_0x1510ed];return _0x225481;}const _0x1a8e41=_0x2254;function _0x47f0(){const _0xd19fc8=['唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','已连接','3188844Mrgxnv','142606mQMQoG','MCP:\x20超出最大重试次数','2190mDfTCy','API\x20密钥不能为空','将以下配置添加到您的\x20MCP\x20客户端设置中:','693780ESrRVk','最大重试次数','配置无效','MCP\x20已断开','MCP\x20已连接','连接中...','API\x20密钥长度至少需要\x2010\x20','750alhkLM','MCP\x20状态未知','网络连接错误,请检查您的网络连接','超出最大重试次数,请稍后再试','什么是\x20API\x20密钥?','25KfyQqq','MCP:\x20网络错误','MCP\x20客户端配置','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','配置保存失败','您的\x20API\x20密钥安全存储在本地存储中','配置\x20MCP\x20使用\x20AI\x20操作电子表格','API\x20密钥无效,请检查密钥是否正确','点击连接\x20MCP','MCP\x20连接中...','780968WiZlNr','复制以下\x20JSON\x20配置','保存配置','连接失败','配置参数:','MCP\x20配置','MCP\x20连接失败','将配置添加到您的\x20MCP\x20客户端设置文件中','启用身份验证以获得安全连接','会话\x20ID\x20已被占用,请稍后再试','带有\x20Bearer\x20前缀的\x20API\x20密钥。','重连中...','配置步骤:','重启您的\x20MCP\x20客户端以使配置生效','1283310ywUpVd','配置保存成功','未连接','69572NmlyPR'];_0x47f0=function(){return _0xd19fc8;};return _0x47f0();}(function(_0x145259,_0x38590d){const _0x320320=_0x2254,_0x3dc23d=_0x145259();while(!![]){try{const _0x363df9=parseInt(_0x320320(0x183))/0x1+-parseInt(_0x320320(0x18f))/0x2*(parseInt(_0x320320(0x185))/0x3)+parseInt(_0x320320(0x17f))/0x4*(parseInt(_0x320320(0x164))/0x5)+parseInt(_0x320320(0x188))/0x6+-parseInt(_0x320320(0x17c))/0x7+-parseInt(_0x320320(0x16e))/0x8+parseInt(_0x320320(0x182))/0x9;if(_0x363df9===_0x38590d)break;else _0x3dc23d['push'](_0x3dc23d['shift']());}catch(_0x350fa2){_0x3dc23d['push'](_0x3dc23d['shift']());}}}(_0x47f0,0x235b0));const e={'mcpStatus':{'disconnected':_0x1a8e41(0x18b),'connecting':_0x1a8e41(0x16d),'connected':_0x1a8e41(0x18c),'failed':_0x1a8e41(0x174),'retrying':'MCP\x20重连中...','unknown':_0x1a8e41(0x190),'unauthorized':'MCP:\x20未授权','sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x1a8e41(0x165),'maxRetriesExceeded':_0x1a8e41(0x184),'clickToConnect':_0x1a8e41(0x16c),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x1a8e41(0x173),'description':_0x1a8e41(0x16a),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x1a8e41(0x176),'connectionInfo':_0x1a8e41(0x166),'mcpClientConfig':_0x1a8e41(0x166),'configInstructions':_0x1a8e41(0x187),'configStepTitle':_0x1a8e41(0x17a),'configStep1':_0x1a8e41(0x16f),'configStep2':_0x1a8e41(0x175),'configStep3':_0x1a8e41(0x17b),'sessionId':'会话ID','sessionIdDescription':_0x1a8e41(0x180),'authorizationDescription':_0x1a8e41(0x178),'configParameters':_0x1a8e41(0x172),'maxRetries':_0x1a8e41(0x189),'save':_0x1a8e41(0x170),'saving':'保存中...','note1':'配置更改将立即生效','note2':_0x1a8e41(0x169),'configSaved':_0x1a8e41(0x17d),'configError':_0x1a8e41(0x168),'apiApplyInfo':{'title':_0x1a8e41(0x163),'description':_0x1a8e41(0x167),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x1a8e41(0x186),'apiKeyTooShort':_0x1a8e41(0x18e),'invalidConfig':_0x1a8e41(0x18a),'invalidApiKey':_0x1a8e41(0x16b)},'connectionStatus':{'disconnected':_0x1a8e41(0x17e),'connecting':_0x1a8e41(0x18d),'connected':_0x1a8e41(0x181),'failed':_0x1a8e41(0x171),'retrying':_0x1a8e41(0x179)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x1a8e41(0x177),'networkError':_0x1a8e41(0x191),'maxRetriesExceeded':_0x1a8e41(0x192)}}};export{e as default};
@@ -1 +1 @@
1
- function _0x40ce(_0xf4b2df,_0x1a76e1){_0xf4b2df=_0xf4b2df-0x11d;const _0x28e969=_0x28e9();let _0x40cef9=_0x28e969[_0xf4b2df];return _0x40cef9;}function _0x28e9(){const _0x343366=['7vwAxBN','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enter\x20your\x20API\x20key','1848055cPprjr','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Retrying...','Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','749004WGIwnf','MCP:\x20Session\x20ID\x20Occupied','Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connected','5185ruphRj','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','API\x20key\x20with\x20Bearer\x20prefix.','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','72rwOUYO','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20Authentication','6uNXaNE','416230feEqst','Failed\x20to\x20save\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Get\x20your\x20API\x20key\x20in\x20seconds','Univer\x20AI\x20Console','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Unauthorized','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','Connecting...','MCP\x20Unknown\x20Status','9CJSgkd','Connected','MCP\x20Connection\x20Failed','Session\x20ID','Configuration\x20Parameters:','Max\x20Retries','API\x20Key','Invalid\x20configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Click\x20to\x20configure\x20MCP','Saving...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20saved\x20successfully','50632QuQemd','116533xmCjvB','What\x20is\x20API\x20Key?','27130BDynix','Disconnected','Configuration\x20Steps:','MCP:\x20Max\x20Retries\x20Exceeded'];_0x28e9=function(){return _0x343366;};return _0x28e9();}const _0x3d3321=_0x40ce;(function(_0x22d323,_0x2f8f49){const _0x37dc37=_0x40ce,_0x30d0b7=_0x22d323();while(!![]){try{const _0x11d35c=-parseInt(_0x37dc37(0x134))/0x1+-parseInt(_0x37dc37(0x136))/0x2*(parseInt(_0x37dc37(0x153))/0x3)+parseInt(_0x37dc37(0x14f))/0x4*(parseInt(_0x37dc37(0x14b))/0x5)+parseInt(_0x37dc37(0x146))/0x6+-parseInt(_0x37dc37(0x13a))/0x7*(parseInt(_0x37dc37(0x133))/0x8)+parseInt(_0x37dc37(0x126))/0x9*(-parseInt(_0x37dc37(0x154))/0xa)+parseInt(_0x37dc37(0x13e))/0xb;if(_0x11d35c===_0x2f8f49)break;else _0x30d0b7['push'](_0x30d0b7['shift']());}catch(_0x3ceb3b){_0x30d0b7['push'](_0x30d0b7['shift']());}}}(_0x28e9,0x1d452));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x3d3321(0x14a),'failed':_0x3d3321(0x128),'retrying':_0x3d3321(0x143),'unknown':_0x3d3321(0x125),'unauthorized':_0x3d3321(0x120),'sessionOccupied':_0x3d3321(0x147),'networkError':_0x3d3321(0x13b),'maxRetriesExceeded':_0x3d3321(0x139),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3d3321(0x12f)},'mcpConfig':{'title':_0x3d3321(0x140),'description':_0x3d3321(0x156),'apiKey':_0x3d3321(0x12c),'apiKeyPlaceholder':_0x3d3321(0x13d),'apiKeyHint':_0x3d3321(0x151),'enableAuth':_0x3d3321(0x152),'enableAuthHint':_0x3d3321(0x149),'connectionInfo':_0x3d3321(0x123),'mcpClientConfig':_0x3d3321(0x123),'configInstructions':_0x3d3321(0x121),'configStepTitle':_0x3d3321(0x138),'configStep1':_0x3d3321(0x145),'configStep2':_0x3d3321(0x14c),'configStep3':_0x3d3321(0x131),'sessionId':_0x3d3321(0x129),'sessionIdDescription':_0x3d3321(0x12e),'authorizationDescription':_0x3d3321(0x14d),'configParameters':_0x3d3321(0x12a),'maxRetries':_0x3d3321(0x12b),'save':'Save\x20Configuration','saving':_0x3d3321(0x130),'note1':_0x3d3321(0x11f),'note2':_0x3d3321(0x141),'configSaved':_0x3d3321(0x132),'configError':_0x3d3321(0x155),'apiApplyInfo':{'title':_0x3d3321(0x135),'description':_0x3d3321(0x14e),'univerAiLabel':_0x3d3321(0x11e),'getStarted':_0x3d3321(0x11d)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x3d3321(0x142),'invalidConfig':_0x3d3321(0x12d),'invalidApiKey':_0x3d3321(0x13c)},'connectionStatus':{'disconnected':_0x3d3321(0x137),'connecting':_0x3d3321(0x124),'connected':_0x3d3321(0x127),'failed':_0x3d3321(0x148),'retrying':_0x3d3321(0x144)},'connectionError':{'unauthorized':_0x3d3321(0x150),'sessionOccupied':_0x3d3321(0x122),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x3d3321(0x13f)}}},n=e;export{n as default};
1
+ function _0xc24c(_0x9d621,_0x1a4fd0){_0x9d621=_0x9d621-0xab;const _0x22a4b7=_0x22a4();let _0xc24c73=_0x22a4b7[_0x9d621];return _0xc24c73;}const _0x591522=_0xc24c;(function(_0x5d822d,_0x887952){const _0x3bc60e=_0xc24c,_0x154957=_0x5d822d();while(!![]){try{const _0x5df017=-parseInt(_0x3bc60e(0xd4))/0x1*(parseInt(_0x3bc60e(0xde))/0x2)+parseInt(_0x3bc60e(0xb8))/0x3+-parseInt(_0x3bc60e(0xda))/0x4*(parseInt(_0x3bc60e(0xc5))/0x5)+-parseInt(_0x3bc60e(0xca))/0x6*(-parseInt(_0x3bc60e(0xbd))/0x7)+parseInt(_0x3bc60e(0xbe))/0x8+-parseInt(_0x3bc60e(0xae))/0x9+-parseInt(_0x3bc60e(0xd0))/0xa*(parseInt(_0x3bc60e(0xd9))/0xb);if(_0x5df017===_0x887952)break;else _0x154957['push'](_0x154957['shift']());}catch(_0x3f9013){_0x154957['push'](_0x154957['shift']());}}}(_0x22a4,0x44e6b));function _0x22a4(){const _0x548e5f=['Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','45290qcMDhR','API\x20Key','Saving...','Session\x20ID','659UGaSjj','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connected','Invalid\x20configuration','Connection\x20Failed','286FTHLGZ','140xLORgC','Configuration\x20saved\x20successfully','Retrying...','MCP\x20Retrying...','878zZZTyG','Get\x20your\x20API\x20key\x20in\x20seconds','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Unauthorized','2257236dAykbG','MCP:\x20Network\x20Error','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Disconnected','MCP\x20Connection\x20Failed','API\x20key\x20is\x20required','MCP\x20Unknown\x20Status','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Max\x20Retries\x20Exceeded','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','1683678QRrfHx','MCP\x20Client\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','2989049uvYVyh','2190480NPIAZZ','Connected','Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Parameters:','MCP:\x20Session\x20ID\x20Occupied','45995ghnVIZ','Disconnected','MCP\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20connect\x20MCP','6RoDjwm','Save\x20Configuration','Click\x20to\x20configure\x20MCP'];_0x22a4=function(){return _0x548e5f;};return _0x22a4();}const e={'mcpStatus':{'disconnected':_0x591522(0xb1),'connecting':'MCP\x20Connecting...','connected':_0x591522(0xd6),'failed':_0x591522(0xb2),'retrying':_0x591522(0xdd),'unknown':_0x591522(0xb4),'unauthorized':_0x591522(0xad),'sessionOccupied':_0x591522(0xc4),'networkError':_0x591522(0xaf),'maxRetriesExceeded':_0x591522(0xb6),'clickToConnect':_0x591522(0xc9),'clickToConfigure':_0x591522(0xcc)},'mcpConfig':{'title':_0x591522(0xc7),'description':_0x591522(0xba),'apiKey':_0x591522(0xd1),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x591522(0xcd),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x591522(0xb5),'connectionInfo':_0x591522(0xb9),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x591522(0xce),'configStep2':_0x591522(0xc8),'configStep3':_0x591522(0xbb),'sessionId':_0x591522(0xd3),'sessionIdDescription':_0x591522(0xac),'authorizationDescription':_0x591522(0xc2),'configParameters':_0x591522(0xc3),'maxRetries':'Max\x20Retries','save':_0x591522(0xcb),'saving':_0x591522(0xd2),'note1':_0x591522(0xd5),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x591522(0xdb),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x591522(0xc1),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x591522(0xab)},'validation':{'apiKeyRequired':_0x591522(0xb3),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x591522(0xd7),'invalidApiKey':_0x591522(0xcf)},'connectionStatus':{'disconnected':_0x591522(0xc6),'connecting':_0x591522(0xc0),'connected':_0x591522(0xbf),'failed':_0x591522(0xd8),'retrying':_0x591522(0xdc)},'connectionError':{'unauthorized':_0x591522(0xb7),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x591522(0xbc),'maxRetriesExceeded':_0x591522(0xb0)}}},n=e;export{n as default};
@@ -0,0 +1,3 @@
1
+ import { default as enUS } from './en-US';
2
+ declare const locale: typeof enUS;
3
+ export default locale;
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3ad0(_0x31eb29,_0x27f535){_0x31eb29=_0x31eb29-0x13a;const _0xd5472c=_0xd547();let _0x3ad00e=_0xd5472c[_0x31eb29];return _0x3ad00e;}(function(_0x4fb5de,_0x43b060){const _0x2fe6f8=_0x3ad0,_0x58b130=_0x4fb5de();while(!![]){try{const _0x2a6065=parseInt(_0x2fe6f8(0x248))/0x1*(parseInt(_0x2fe6f8(0x26d))/0x2)+parseInt(_0x2fe6f8(0x294))/0x3*(parseInt(_0x2fe6f8(0x28d))/0x4)+-parseInt(_0x2fe6f8(0x2c0))/0x5+parseInt(_0x2fe6f8(0x1b3))/0x6*(parseInt(_0x2fe6f8(0x1fb))/0x7)+-parseInt(_0x2fe6f8(0x1da))/0x8*(parseInt(_0x2fe6f8(0x2c8))/0x9)+-parseInt(_0x2fe6f8(0x1d5))/0xa+-parseInt(_0x2fe6f8(0x251))/0xb*(-parseInt(_0x2fe6f8(0x2b6))/0xc);if(_0x2a6065===_0x43b060)break;else _0x58b130['push'](_0x58b130['shift']());}catch(_0x2fa1fd){_0x58b130['push'](_0x58b130['shift']());}}}(_0xd547,0x8e98e),function(_0x55ad55,_0x262244){const _0x3f051f=_0x3ad0;typeof exports==_0x3f051f(0x213)&&typeof module<'u'?_0x262244(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==_0x3f051f(0x281)&&define['amd']?define([_0x3f051f(0x2ca),_0x3f051f(0x196),'react/jsx-runtime','@univerjs-pro/mcp',_0x3f051f(0x1ee),_0x3f051f(0x158),_0x3f051f(0x22a),'react','@univerjs/network'],_0x262244):(_0x55ad55=typeof globalThis<'u'?globalThis:_0x55ad55||self,_0x262244(_0x55ad55[_0x3f051f(0x23d)]={},_0x55ad55[_0x3f051f(0x29a)],_0x55ad55[_0x3f051f(0x2a1)],_0x55ad55[_0x3f051f(0x2b3)],_0x55ad55[_0x3f051f(0x219)],_0x55ad55['UniverUi'],_0x55ad55[_0x3f051f(0x22a)],_0x55ad55[_0x3f051f(0x2a1)],_0x55ad55[_0x3f051f(0x13b)]));}(this,function(_0x12778d,_0x4be877,_0x235e78,_0x3a1880,_0x1edb05,_0x191a89,_0x584c0d,_0x4abfa8,_0x5a83d3){'use strict';const _0x4e9099=_0x3ad0;var _0x2814af=Object[_0x4e9099(0x224)],_0x183426=(_0x201a6b,_0x1cb366,_0x43c1a1)=>_0x1cb366 in _0x201a6b?_0x2814af(_0x201a6b,_0x1cb366,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43c1a1}):_0x201a6b[_0x1cb366]=_0x43c1a1,_0x3288e1=(_0x58ee40,_0x116943,_0x247da0)=>_0x183426(_0x58ee40,typeof _0x116943!=_0x4e9099(0x1d6)?_0x116943+'':_0x116943,_0x247da0);function _0x1211dd({ref:_0x5086f8,..._0x12bf58}){const _0x5e1caf=_0x4e9099,{icon:_0xeae0b7,id:_0x3e9dcf,className:_0x564d39,extend:_0x41dfa7,..._0x2f1c42}=_0x12bf58,_0x4a5ee8=('univerjs-icon\x20univerjs-icon-'+_0x3e9dcf+'\x20'+(_0x564d39||''))['trim'](),_0x501d96=_0x4abfa8[_0x5e1caf(0x241)]('_'+_0x3571f9());return _0x4e2015(_0xeae0b7,''+_0x3e9dcf,{'defIds':_0xeae0b7[_0x5e1caf(0x16d)],'idSuffix':_0x501d96['current']},{'ref':_0x5086f8,'className':_0x4a5ee8,..._0x2f1c42},_0x41dfa7);}function _0x4e2015(_0x2181dd,_0x70bbf3,_0xb9e946,_0x4f7fec,_0x19651f){const _0x117e10=_0x4e9099;return _0x4abfa8[_0x117e10(0x1b6)](_0x2181dd[_0x117e10(0x19b)],{'key':_0x70bbf3,..._0xa771b1(_0x2181dd,_0xb9e946,_0x19651f),..._0x4f7fec},(_0x26c0d9(_0x2181dd,_0xb9e946)['children']||[])[_0x117e10(0x2a9)]((_0x24f402,_0x1fee50)=>_0x4e2015(_0x24f402,_0x70bbf3+'-'+_0x2181dd[_0x117e10(0x19b)]+'-'+_0x1fee50,_0xb9e946,void 0x0,_0x19651f)));}function _0xa771b1(_0x236851,_0x463933,_0x36eded){const _0x21c55f=_0x4e9099,_0x5313b2={..._0x236851[_0x21c55f(0x25b)]};_0x36eded!=null&&_0x36eded[_0x21c55f(0x1cb)]&&_0x5313b2['fill']===_0x21c55f(0x1cb)&&(_0x5313b2['fill']=_0x36eded[_0x21c55f(0x1cb)]),_0x236851[_0x21c55f(0x19b)]===_0x21c55f(0x20e)&&_0x5313b2['id']&&(_0x5313b2['id']=_0x5313b2['id']+_0x463933[_0x21c55f(0x285)]),Object[_0x21c55f(0x1b4)](_0x5313b2)['forEach'](([_0x1d7786,_0xb3b962])=>{const _0x410c9e=_0x21c55f;_0x1d7786===_0x410c9e(0x20e)&&typeof _0xb3b962==_0x410c9e(0x2b4)&&(_0x5313b2[_0x1d7786]=_0xb3b962[_0x410c9e(0x15c)](/url\(#(.*)\)/,_0x410c9e(0x279)+_0x463933[_0x410c9e(0x285)]+')'));});const {defIds:_0x18a020}=_0x463933;return!_0x18a020||_0x18a020[_0x21c55f(0x1bc)]===0x0||(_0x236851[_0x21c55f(0x19b)]==='use'&&_0x5313b2[_0x21c55f(0x15a)]&&(_0x5313b2[_0x21c55f(0x15a)]=_0x5313b2[_0x21c55f(0x15a)]+_0x463933[_0x21c55f(0x285)]),Object['entries'](_0x5313b2)[_0x21c55f(0x257)](([_0x4c4a59,_0x21230d])=>{const _0x30c517=_0x21c55f;typeof _0x21230d=='string'&&(_0x5313b2[_0x4c4a59]=_0x21230d['replace'](/url\(#(.*)\)/,_0x30c517(0x279)+_0x463933[_0x30c517(0x285)]+')'));})),_0x5313b2;}function _0x26c0d9(_0x207cb6,_0x15b184){const _0x7113bd=_0x4e9099;var _0xb865f7;const {defIds:_0x566090}=_0x15b184;return!_0x566090||_0x566090[_0x7113bd(0x1bc)]===0x0?_0x207cb6:_0x207cb6[_0x7113bd(0x19b)]===_0x7113bd(0x1e4)&&((_0xb865f7=_0x207cb6[_0x7113bd(0x146)])!=null&&_0xb865f7[_0x7113bd(0x1bc)])?{..._0x207cb6,'children':_0x207cb6[_0x7113bd(0x146)]['map'](_0x2ec8a1=>typeof _0x2ec8a1[_0x7113bd(0x25b)]['id']==_0x7113bd(0x2b4)&&_0x566090&&_0x566090[_0x7113bd(0x28c)](_0x2ec8a1[_0x7113bd(0x25b)]['id'])?{..._0x2ec8a1,'attrs':{..._0x2ec8a1[_0x7113bd(0x25b)],'id':_0x2ec8a1[_0x7113bd(0x25b)]['id']+_0x15b184['idSuffix']}}:_0x2ec8a1)}:_0x207cb6;}function _0x3571f9(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x1211dd['displayName']=_0x4e9099(0x26a);const _0x1f8332={'tag':_0x4e9099(0x2aa),'attrs':{'xmlns':_0x4e9099(0x14d),'fill':_0x4e9099(0x2b8),'viewBox':_0x4e9099(0x20f),'width':'1em','height':'1em'},'children':[{'tag':_0x4e9099(0x26b),'attrs':{'fill':_0x4e9099(0x21e),'d':_0x4e9099(0x22c),'fillRule':_0x4e9099(0x157),'clipRule':_0x4e9099(0x157)}}]},_0x546740=_0x4abfa8[_0x4e9099(0x182)](function(_0x35b24c,_0x489140){const _0x2d54e6=_0x4e9099;return _0x4abfa8[_0x2d54e6(0x1b6)](_0x1211dd,Object[_0x2d54e6(0x1bf)]({},_0x35b24c,{'id':_0x2d54e6(0x23f),'ref':_0x489140,'icon':_0x1f8332}));});_0x546740['displayName']=_0x4e9099(0x1d0);const _0x432c6f={'tag':_0x4e9099(0x2aa),'attrs':{'xmlns':_0x4e9099(0x14d),'fill':_0x4e9099(0x2b8),'viewBox':_0x4e9099(0x20f),'width':_0x4e9099(0x191),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x4e9099(0x21e),'d':'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'}}]},_0x34215e=_0x4abfa8[_0x4e9099(0x182)](function(_0x23a578,_0x2f5c93){const _0x530b2a=_0x4e9099;return _0x4abfa8[_0x530b2a(0x1b6)](_0x1211dd,Object['assign']({},_0x23a578,{'id':_0x530b2a(0x1a7),'ref':_0x2f5c93,'icon':_0x432c6f}));});_0x34215e['displayName']=_0x4e9099(0x1b0);const _0x4398dd={'tag':_0x4e9099(0x2aa),'attrs':{'xmlns':_0x4e9099(0x14d),'fill':'none','viewBox':_0x4e9099(0x20f),'width':_0x4e9099(0x191),'height':_0x4e9099(0x191)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x4e9099(0x21c)}},{'tag':_0x4e9099(0x26b),'attrs':{'fill':_0x4e9099(0x21e),'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':_0x4e9099(0x26b),'attrs':{'fill':_0x4e9099(0x21e),'d':_0x4e9099(0x28b),'fillRule':_0x4e9099(0x157),'clipRule':_0x4e9099(0x157)}}]},_0x48cd12=_0x4abfa8['forwardRef'](function(_0x47d22a,_0x231964){const _0x23a9ce=_0x4e9099;return _0x4abfa8[_0x23a9ce(0x1b6)](_0x1211dd,Object[_0x23a9ce(0x1bf)]({},_0x47d22a,{'id':'help-icon','ref':_0x231964,'icon':_0x4398dd}));});_0x48cd12[_0x4e9099(0x2c3)]=_0x4e9099(0x226);const _0x40cdbd={'tag':'svg','attrs':{'xmlns':_0x4e9099(0x14d),'fill':_0x4e9099(0x2b8),'viewBox':'0\x200\x2016\x2016','width':_0x4e9099(0x191),'height':_0x4e9099(0x191)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e9099(0x140)},'children':[{'tag':_0x4e9099(0x26b),'attrs':{'stroke':_0x4e9099(0x21e),'d':_0x4e9099(0x20c),'strokeLinecap':_0x4e9099(0x2b5),'strokeLinejoin':_0x4e9099(0x2b5),'strokeWidth':1.2}}]},{'tag':_0x4e9099(0x1e4),'attrs':{},'children':[{'tag':_0x4e9099(0x286),'attrs':{'id':_0x4e9099(0x211)},'children':[{'tag':_0x4e9099(0x26b),'attrs':{'fill':_0x4e9099(0x2af),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4e9099(0x211)]},_0x531014=_0x4abfa8[_0x4e9099(0x182)](function(_0x38a679,_0xc152a0){const _0x30fcb2=_0x4e9099;return _0x4abfa8[_0x30fcb2(0x1b6)](_0x1211dd,Object[_0x30fcb2(0x1bf)]({},_0x38a679,{'id':_0x30fcb2(0x2cb),'ref':_0xc152a0,'icon':_0x40cdbd}));});_0x531014['displayName']=_0x4e9099(0x203);const _0x4e354c={'tag':_0x4e9099(0x2aa),'attrs':{'xmlns':_0x4e9099(0x14d),'fill':'none','viewBox':_0x4e9099(0x271),'width':_0x4e9099(0x191),'height':_0x4e9099(0x191)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e9099(0x221)},'children':[{'tag':_0x4e9099(0x26b),'attrs':{'stroke':_0x4e9099(0x21e),'d':_0x4e9099(0x1db),'strokeLinecap':_0x4e9099(0x2b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4e9099(0x1e4),'attrs':{},'children':[{'tag':_0x4e9099(0x286),'attrs':{'id':_0x4e9099(0x2a2)},'children':[{'tag':'path','attrs':{'fill':_0x4e9099(0x2af),'d':_0x4e9099(0x174),'transform':_0x4e9099(0x164)}}]}]}],'defIds':[_0x4e9099(0x2a2)]},_0x25bd02=_0x4abfa8[_0x4e9099(0x182)](function(_0x2432ce,_0x418f1a){const _0xfb401d=_0x4e9099;return _0x4abfa8[_0xfb401d(0x1b6)](_0x1211dd,Object[_0xfb401d(0x1bf)]({},_0x2432ce,{'id':'on-line-icon','ref':_0x418f1a,'icon':_0x4e354c}));});_0x25bd02[_0x4e9099(0x2c3)]=_0x4e9099(0x230);function _0x3fdc76(_0x30e18f){const _0x5e6c62=_0x4e9099;var _0x42e4e9,_0x3a51e8;const {mcpCoreConfig:_0x3a6e43,onSave:_0x877146,loading:_0x46885b=!0x1,config:_0x2262d4,connectionStatus$:_0x23a905,connectionError$:_0x5b10b7,currentApiKey$:_0x518936,currentSessionId$:_0x562b48}=_0x30e18f,_0x510234=_0x191a89[_0x5e6c62(0x263)](_0x4be877[_0x5e6c62(0x171)]),_0x4a4cca=_0x191a89[_0x5e6c62(0x20a)](_0x23a905,_0x3a1880['MCPConnectionStatus'][_0x5e6c62(0x14f)]),_0x1df46f=_0x191a89['useObservable'](_0x5b10b7,_0x3a1880['MCPConnectionError'][_0x5e6c62(0x13e)]),_0x546dc5=_0x191a89[_0x5e6c62(0x20a)](_0x562b48,''),_0x1c9d55=_0x191a89[_0x5e6c62(0x20a)](_0x518936,''),[_0x3900a9,_0xc2926d]=_0x4abfa8[_0x5e6c62(0x202)](_0x1c9d55||''),_0x2be9da=!0x0,_0x1c3fa2=_0x2262d4[_0x5e6c62(0x145)]&&_0x3a6e43[_0x5e6c62(0x28f)]&&(_0x3a6e43[_0x5e6c62(0x28f)]['includes'](_0x5e6c62(0x13f))||_0x3a6e43['mcpServerUrl'][_0x5e6c62(0x28c)](_0x5e6c62(0x1c9))),_0xd3bc67=(_0x42e4e9=_0x3a6e43[_0x5e6c62(0x28f)])==null?void 0x0:_0x42e4e9[_0x5e6c62(0x28c)](_0x5e6c62(0x13f)),_0x5cee4b=(_0x3a51e8=_0x3a6e43[_0x5e6c62(0x28f)])==null?void 0x0:_0x3a51e8[_0x5e6c62(0x28c)](_0x5e6c62(0x1c9)),_0x7f3eaf=_0xd3bc67?_0x5e6c62(0x16c):_0x5e6c62(0x2a8),_0x290bfc=_0x2262d4['showDeveloperTools']&&(_0xd3bc67||_0x5cee4b),[_0x1f3917,_0x18a2c0]=_0x4abfa8[_0x5e6c62(0x202)](!_0x3900a9[_0x5e6c62(0x29c)]()),_0x538267=(_0x28f8ca,_0x30e90e)=>{const _0x5c6335=_0x5e6c62;if(_0x30e90e===_0x3a1880[_0x5c6335(0x142)][_0x5c6335(0x152)])return _0x5c6335(0x184);switch(_0x28f8ca){case _0x3a1880[_0x5c6335(0x1a0)][_0x5c6335(0x218)]:return _0x5c6335(0x23e);case _0x3a1880[_0x5c6335(0x1a0)][_0x5c6335(0x2a5)]:case _0x3a1880['MCPConnectionStatus']['RETRYING']:return _0x5c6335(0x232);case _0x3a1880[_0x5c6335(0x1a0)][_0x5c6335(0x284)]:return _0x5c6335(0x184);default:return _0x5c6335(0x144);}},_0x126da8=(_0x5c9695,_0x1f172d)=>{const _0x1bf875=_0x5e6c62;if(_0x1f172d===_0x3a1880[_0x1bf875(0x142)][_0x1bf875(0x152)])return _0x1bf875(0x151);switch(_0x5c9695){case _0x3a1880['MCPConnectionStatus']['CONNECTED']:return _0x1bf875(0x147);case _0x3a1880[_0x1bf875(0x1a0)]['CONNECTING']:case _0x3a1880[_0x1bf875(0x1a0)][_0x1bf875(0x190)]:return'univer-bg-blue-500';case _0x3a1880[_0x1bf875(0x1a0)]['FAILED']:return _0x1bf875(0x151);default:return'univer-bg-gray-500';}},_0x493c8e=_0x2583f5=>{const _0xa23c5c=_0x5e6c62;switch(_0x2583f5){case _0x3a1880[_0xa23c5c(0x1a0)]['CONNECTED']:return _0x510234['t'](_0xa23c5c(0x1d9));case _0x3a1880[_0xa23c5c(0x1a0)][_0xa23c5c(0x2a5)]:return _0x510234['t']('mcpConfig.connectionStatus.connecting');case _0x3a1880[_0xa23c5c(0x1a0)][_0xa23c5c(0x284)]:return _0x510234['t'](_0xa23c5c(0x2c2));case _0x3a1880[_0xa23c5c(0x1a0)][_0xa23c5c(0x190)]:return _0x510234['t']('mcpConfig.connectionStatus.retrying');default:return _0x510234['t'](_0xa23c5c(0x228));}},_0x55aa11=_0x57b4e5=>{const _0x2908a5=_0x5e6c62;switch(_0x57b4e5){case _0x3a1880[_0x2908a5(0x142)][_0x2908a5(0x152)]:return _0x510234['t'](_0x2908a5(0x268));case _0x3a1880[_0x2908a5(0x142)][_0x2908a5(0x17f)]:return _0x510234['t'](_0x2908a5(0x256));case _0x3a1880[_0x2908a5(0x142)]['NETWORK_ERROR']:return _0x510234['t']('mcpConfig.connectionError.networkError');case _0x3a1880[_0x2908a5(0x142)][_0x2908a5(0x240)]:return _0x510234['t'](_0x2908a5(0x1ae));default:return'';}},_0x273d94=_0x4abfa8[_0x5e6c62(0x18b)](()=>{const _0x56a586=_0x5e6c62,_0x1dd5c4={..._0x3a6e43,'apiKey':_0x3900a9[_0x56a586(0x29c)](),'enableAuth':_0x2be9da};_0x877146(_0x1dd5c4);},[_0x3a6e43,_0x3900a9,_0x2be9da,_0x877146]),_0x56a7a9=_0x3900a9[_0x5e6c62(0x29c)]()['length']>0x0;return _0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x143),'children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x19d),'children':_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x20d),'children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x1c1),'children':_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x215),{'className':_0x5e6c62(0x223),'children':'⚙'})}),_0x235e78[_0x5e6c62(0x162)]('div',{'children':_0x235e78['jsx']('p',{'className':_0x5e6c62(0x17e),'children':_0x510234['t']('mcpConfig.description')})})]})}),_0x235e78['jsxs'](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x296),'children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x1b9),{'className':_0x1edb05['clsx'](_0x5e6c62(0x1f4),_0x538267(_0x4a4cca,_0x1df46f)),'children':_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x1b9),{'className':_0x1edb05['clsx'](_0x5e6c62(0x267),_0x126da8(_0x4a4cca,_0x1df46f))}),_0x235e78[_0x5e6c62(0x162)]('span',{'className':_0x5e6c62(0x14e),'children':_0x493c8e(_0x4a4cca)})]})}),_0x1df46f!==_0x3a1880[_0x5e6c62(0x142)]['NONE']&&(_0x4a4cca===_0x3a1880['MCPConnectionStatus']['FAILED']||_0x1df46f===_0x3a1880['MCPConnectionError'][_0x5e6c62(0x152)])&&_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x1ec),'children':_0x235e78['jsxs'](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x217),'children':[_0x235e78['jsx'](_0x5e6c62(0x215),{'className':_0x5e6c62(0x283),'children':'⚠️'}),_0x235e78['jsx']('p',{'className':_0x5e6c62(0x198),'children':_0x55aa11(_0x1df46f)})]})})]}),_0x235e78['jsx'](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x192),'children':_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x2ba),'children':[_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x1af),'children':[_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1fe),{'className':_0x5e6c62(0x21f),'children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x215),{'children':'🔑'}),'\x20',_0x510234['t']('mcpConfig.apiKey'),_0x235e78[_0x5e6c62(0x162)]('span',{'className':_0x5e6c62(0x2ad),'children':'*'}),_0x1c3fa2&&_0x235e78['jsx']('a',{'className':_0x5e6c62(0x19f),'title':_0x510234['t']('mcpConfig.apiApplyInfo.title'),'role':'button','onClick':()=>_0x18a2c0(!0x0),'children':_0x235e78[_0x5e6c62(0x162)](_0x48cd12,{})})]}),_0x235e78[_0x5e6c62(0x162)](_0x1edb05[_0x5e6c62(0x1de)],{'type':_0x5e6c62(0x1c7),'placeholder':_0x510234['t'](_0x5e6c62(0x210)),'value':_0x3900a9,'disabled':_0x46885b,'autoComplete':_0x5e6c62(0x148),'onChange':_0xc2926d}),_0x235e78[_0x5e6c62(0x162)]('p',{'className':_0x5e6c62(0x249),'children':_0x510234['t']('mcpConfig.apiKeyHint')})]}),_0x1c3fa2&&_0x1f3917&&_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x1c2),'children':[_0x235e78[_0x5e6c62(0x162)]('a',{'className':_0x5e6c62(0x25f),'role':_0x5e6c62(0x1bb),'onClick':()=>_0x18a2c0(!0x1),'children':_0x235e78['jsx'](_0x34215e,{'className':_0x5e6c62(0x19e)})}),_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x27a),'children':_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x215),{'className':_0x5e6c62(0x1e8),'children':'🚀'})}),_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x176),'children':[_0x235e78[_0x5e6c62(0x162)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x510234['t'](_0x5e6c62(0x289))}),_0x235e78['jsx']('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x510234['t'](_0x5e6c62(0x1b1))}),_0x235e78['jsx'](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x15f),'children':_0x290bfc&&_0x235e78[_0x5e6c62(0x252)]('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':_0x7f3eaf,'target':'_blank','rel':_0x5e6c62(0x19c),'children':[_0x235e78['jsx']('span',{'children':'🤖'}),_0x510234['t'](_0x5e6c62(0x26e)),_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x215),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x1c3),'children':['✨','\x20',_0x510234['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x2262d4[_0x5e6c62(0x145)]&&_0x235e78[_0x5e6c62(0x252)]('div',{'className':_0x5e6c62(0x1a3),'children':[_0x235e78[_0x5e6c62(0x252)]('h4',{'className':_0x5e6c62(0x13a),'children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x215),{'children':'🔗'}),'\x20',_0x510234['t']('mcpConfig.connectionInfo')]}),_0x235e78['jsxs'](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x16e),'children':[_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x258),'children':[_0x235e78['jsx']('p',{'className':_0x5e6c62(0x1f3),'children':_0x510234['t'](_0x5e6c62(0x2cc))}),_0x235e78[_0x5e6c62(0x252)]('div',{'className':_0x5e6c62(0x1af),'children':[_0x235e78[_0x5e6c62(0x162)]('div',{'className':_0x5e6c62(0x277),'children':_0x510234['t'](_0x5e6c62(0x15e))}),_0x235e78['jsxs'](_0x5e6c62(0x1b9),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x235e78[_0x5e6c62(0x252)]('div',{'className':_0x5e6c62(0x178),'children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x215),{'className':_0x5e6c62(0x264),'children':'1'}),_0x510234['t'](_0x5e6c62(0x298))]}),_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x178),'children':[_0x235e78[_0x5e6c62(0x162)]('span',{'className':_0x5e6c62(0x264),'children':'2'}),_0x510234['t'](_0x5e6c62(0x1c0))]}),_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x178),'children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x215),{'className':_0x5e6c62(0x264),'children':'3'}),_0x510234['t'](_0x5e6c62(0x1d1))]})]})]})]}),_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x1af),'children':[_0x235e78['jsx'](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x277),'children':_0x5e6c62(0x274)}),_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x1e3),'children':_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x156),{'className':_0x5e6c62(0x169),'children':JSON[_0x5e6c62(0x23c)]({'mcpServers':{'univer':{'url':_0x5e6c62(0x1f2)+(_0x546dc5||_0x5e6c62(0x25c)),'type':_0x5e6c62(0x1f8),'headers':{'Authorization':_0x5e6c62(0x1ca)+(_0x3900a9||'<API_KEY>')}}}},null,0x2)})})]}),_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x258),'children':[_0x235e78['jsx'](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x277),'children':_0x510234['t'](_0x5e6c62(0x18c))}),_0x235e78[_0x5e6c62(0x252)]('div',{'className':_0x5e6c62(0x1af),'children':[_0x235e78[_0x5e6c62(0x252)]('div',{'className':_0x5e6c62(0x2bf),'children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x1fd)}),_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x254),'children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x1cf),'children':_0x5e6c62(0x18f)}),_0x235e78['jsx'](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x249),'children':_0x510234['t']('mcpConfig.sessionIdDescription')})]})]}),_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x2bf),'children':[_0x235e78['jsx']('div',{'className':_0x5e6c62(0x1fd)}),_0x235e78[_0x5e6c62(0x252)]('div',{'className':_0x5e6c62(0x254),'children':[_0x235e78['jsx']('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x5e6c62(0x2d3)}),_0x235e78['jsx'](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x249),'children':_0x510234['t'](_0x5e6c62(0x27d))})]})]})]})]})]})]}),_0x235e78[_0x5e6c62(0x162)](_0x1edb05[_0x5e6c62(0x2cf)],{'onClick':_0x273d94,'disabled':!_0x56a7a9||_0x46885b,'className':_0x5e6c62(0x27e),'children':_0x46885b?_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x215),{'className':_0x5e6c62(0x178),'children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x215),{'children':'⟲'}),_0x510234['t'](_0x5e6c62(0x21b))]}):_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x215),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x235e78['jsx'](_0x546740,{}),_0x510234['t']('mcpConfig.save')]})}),_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x159),'children':_0x235e78[_0x5e6c62(0x252)]('div',{'className':_0x5e6c62(0x195),'children':[_0x235e78['jsx'](_0x5e6c62(0x215),{'className':_0x5e6c62(0x2a3),'children':'💡'}),_0x235e78['jsxs'](_0x5e6c62(0x1b9),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x235e78[_0x5e6c62(0x162)](_0x5e6c62(0x1b9),{'className':_0x5e6c62(0x2be),'children':_0x5e6c62(0x179)}),_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'children':['•',_0x510234['t']('mcpConfig.note1')]}),_0x235e78[_0x5e6c62(0x252)](_0x5e6c62(0x1b9),{'children':['•',_0x510234['t'](_0x5e6c62(0x237))]})]})]})})]})})]});}const _0x49e9c9=_0x4e9099(0x27b),_0x5ec3a5={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x50fe53=Object[_0x4e9099(0x26c)],_0x47b738=(_0x349544,_0x57659d,_0x207693,_0x54146d)=>{const _0x3e4bc8=_0x4e9099;for(var _0x25fd29=_0x54146d>0x1?void 0x0:_0x54146d?_0x50fe53(_0x57659d,_0x207693):_0x57659d,_0x4944bc=_0x349544[_0x3e4bc8(0x1bc)]-0x1,_0x2d73cc;_0x4944bc>=0x0;_0x4944bc--)(_0x2d73cc=_0x349544[_0x4944bc])&&(_0x25fd29=_0x2d73cc(_0x25fd29)||_0x25fd29);return _0x25fd29;},_0x3d7141=(_0x12803a,_0x419996)=>(_0x45c4e8,_0x3542f9)=>_0x419996(_0x45c4e8,_0x3542f9,_0x12803a);const _0x4b58ef=_0x4e9099(0x22b),_0x2f1b59='mcp-config-dialog';_0x12778d[_0x4e9099(0x1a9)]=class extends _0x4be877[_0x4e9099(0x1ab)]{constructor(_0x5437c8,_0x359fc0,_0x19be49,_0x4d1db0,_0x869da5,_0x33f342,_0x2ae06c,_0x1d0c65,_0x5c09fd,_0x2c7b7f){const _0x1c57a2=_0x4e9099;super(),_0x3288e1(this,_0x1c57a2(0x262),new _0x584c0d[(_0x1c57a2(0x2b9))](!0x1)),_0x3288e1(this,'_mcpCoreConfig$',new _0x584c0d[(_0x1c57a2(0x2b9))]({})),_0x3288e1(this,_0x1c57a2(0x2ab),new _0x584c0d[(_0x1c57a2(0x2b9))]({})),_0x3288e1(this,_0x1c57a2(0x239),new _0x584c0d['BehaviorSubject']('')),_0x3288e1(this,_0x1c57a2(0x2ac),async _0x1f93dd=>{const _0x2e214f=_0x1c57a2;var _0x3d4d40,_0x2d0141;this[_0x2e214f(0x262)]['next'](!0x0);try{const _0xfaeca9=await this[_0x2e214f(0x188)](_0x1f93dd);if(!_0xfaeca9['isValid']){this[_0x2e214f(0x293)]['show']({'type':_0x1edb05[_0x2e214f(0x292)][_0x2e214f(0x1e2)],'content':_0xfaeca9[_0x2e214f(0x21a)]||this[_0x2e214f(0x1e7)]['t'](_0x2e214f(0x1e1))});return;}_0x1f93dd[_0x2e214f(0x15b)]?await this[_0x2e214f(0x206)][_0x2e214f(0x1ea)](_0x4b58ef,_0x1f93dd[_0x2e214f(0x15b)][_0x2e214f(0x29c)]()):await this[_0x2e214f(0x206)]['removeItem'](_0x4b58ef),this['_apiKey$'][_0x2e214f(0x1be)](((_0x3d4d40=_0x1f93dd['apiKey'])==null?void 0x0:_0x3d4d40[_0x2e214f(0x29c)]())||''),this[_0x2e214f(0x1dc)][_0x2e214f(0x1f0)]({'Authorization':'Bearer\x20'+((_0x2d0141=_0x1f93dd[_0x2e214f(0x15b)])==null?void 0x0:_0x2d0141[_0x2e214f(0x29c)]())}),this[_0x2e214f(0x293)][_0x2e214f(0x247)]({'type':_0x1edb05[_0x2e214f(0x292)][_0x2e214f(0x17a)],'content':this[_0x2e214f(0x1e7)]['t'](_0x2e214f(0x201))}),setTimeout(()=>{const _0x4fda71=_0x2e214f;this[_0x4fda71(0x1ba)][_0x4fda71(0x2ce)](_0x2f1b59);},0x320);}catch(_0x2da4d0){this[_0x2e214f(0x2d4)]['error'](_0x2e214f(0x2c4),_0x2da4d0),this[_0x2e214f(0x293)]['show']({'type':_0x1edb05[_0x2e214f(0x292)][_0x2e214f(0x1e2)],'content':this[_0x2e214f(0x1e7)]['t'](_0x2e214f(0x28a))});}finally{this[_0x2e214f(0x262)]['next'](!0x1);}}),(this[_0x1c57a2(0x227)]=_0x5437c8,this['_uiPartsService']=_0x359fc0,this[_0x1c57a2(0x167)]=_0x19be49,this['_localStorageService']=_0x4d1db0,this[_0x1c57a2(0x1ba)]=_0x869da5,this['_messageService']=_0x33f342,this[_0x1c57a2(0x1e0)]=_0x2ae06c,this[_0x1c57a2(0x1e7)]=_0x1d0c65,this[_0x1c57a2(0x2d4)]=_0x5c09fd,this['_mcpConnectionController']=_0x2c7b7f,this[_0x1c57a2(0x177)](),this['_loadStoredApiKey'](),this[_0x1c57a2(0x29f)]());}['showConfigPanel'](){const _0x5ee0c1=_0x4e9099,_0x19b41d=this[_0x5ee0c1(0x167)][_0x5ee0c1(0x2b1)](_0x49e9c9);_0x19b41d!=null&&_0x19b41d['showDeveloperTools']&&this['_dialogService'][_0x5ee0c1(0x1e6)]({'id':_0x2f1b59,'title':{'title':this['_localeService']['t'](_0x5ee0c1(0x155))},'children':{'label':_0x5ee0c1(0x207)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x16887a=_0x5ee0c1;this[_0x16887a(0x1ba)][_0x16887a(0x2ce)](_0x2f1b59);}});}[_0x4e9099(0x187)](){const _0x47a5e9=_0x4e9099;return this[_0x47a5e9(0x200)]['value'];}['_registerComponent'](){const _0x32702b=_0x4e9099;this[_0x32702b(0x212)](this[_0x32702b(0x1e0)][_0x32702b(0x1b2)](_0x32702b(0x207),this[_0x32702b(0x1d3)]()));}[_0x4e9099(0x1d3)](){const _0x21ee2d=_0x4e9099;return _0x191a89[_0x21ee2d(0x168)](()=>{const _0x3b220c=_0x21ee2d;var _0x1ea065,_0xc5790d,_0x31d4b4;return _0x235e78['jsx'](_0x3fdc76,{'config':this[_0x3b220c(0x2ab)][_0x3b220c(0x18d)],'mcpCoreConfig':this[_0x3b220c(0x200)][_0x3b220c(0x18d)],'currentApiKey$':this[_0x3b220c(0x239)],'onSave':this[_0x3b220c(0x2ac)],'loading':this[_0x3b220c(0x262)]['value'],'connectionStatus$':(_0x1ea065=this[_0x3b220c(0x1dc)])==null?void 0x0:_0x1ea065['connectionStatus$'],'connectionError$':(_0xc5790d=this['_mcpConnectionController'])==null?void 0x0:_0xc5790d[_0x3b220c(0x20b)],'currentSessionId$':(_0x31d4b4=this[_0x3b220c(0x1dc)])==null?void 0x0:_0x31d4b4[_0x3b220c(0x14a)]});},this[_0x21ee2d(0x227)]);}['_initConfigSync'](){const _0x11ccc8=_0x4e9099;this[_0x11ccc8(0x212)](this[_0x11ccc8(0x167)][_0x11ccc8(0x1ce)](_0x3a1880[_0x11ccc8(0x1b7)])[_0x11ccc8(0x1a6)](_0xae51a=>{const _0x336676=_0x11ccc8;this[_0x336676(0x200)][_0x336676(0x1be)](_0xae51a||{});}));const _0x10d2f5=this[_0x11ccc8(0x167)][_0x11ccc8(0x2b1)](_0x3a1880[_0x11ccc8(0x1b7)]);this[_0x11ccc8(0x200)][_0x11ccc8(0x1be)](_0x10d2f5||{}),this[_0x11ccc8(0x212)](this['_configService'][_0x11ccc8(0x1ce)](_0x49e9c9)[_0x11ccc8(0x1a6)](_0xac483f=>{const _0x120a81=_0x11ccc8;this[_0x120a81(0x2ab)][_0x120a81(0x1be)](_0xac483f||{});}));const _0x38027f=this[_0x11ccc8(0x167)][_0x11ccc8(0x2b1)](_0x49e9c9);this[_0x11ccc8(0x2ab)][_0x11ccc8(0x1be)](_0x38027f||{});}async['_loadStoredApiKey'](){const _0x2c6d59=_0x4e9099,_0x889901=this[_0x2c6d59(0x167)]['getConfig'](_0x49e9c9);if(!(_0x889901!=null&&_0x889901['showDeveloperTools']))return;const _0x7608a6=await this[_0x2c6d59(0x206)][_0x2c6d59(0x1fc)](_0x4b58ef);_0x7608a6&&(this[_0x2c6d59(0x1dc)][_0x2c6d59(0x1f0)]({'Authorization':_0x2c6d59(0x1ca)+_0x7608a6}),this[_0x2c6d59(0x239)][_0x2c6d59(0x1be)](_0x7608a6));}async[_0x4e9099(0x188)](_0x4ec541){const _0x587b85=_0x4e9099;if(!_0x4ec541[_0x587b85(0x15b)]||_0x4ec541[_0x587b85(0x15b)]['trim']()[_0x587b85(0x1bc)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x587b85(0x1e7)]['t'](_0x587b85(0x2c6))};if(_0x4ec541['apiKey']['trim']()[_0x587b85(0x1bc)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x587b85(0x1e7)]['t'](_0x587b85(0x205))};try{const _0x574368=await this[_0x587b85(0x227)][_0x587b85(0x1c6)](_0x3a1880['MCPConnectionController'])[_0x587b85(0x225)](_0x4ec541[_0x587b85(0x15b)][_0x587b85(0x29c)]());return _0x574368[_0x587b85(0x1df)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x574368[_0x587b85(0x13c)]||this[_0x587b85(0x1e7)]['t'](_0x587b85(0x25d))};}catch(_0x417818){return console[_0x587b85(0x1ef)](_0x587b85(0x273),_0x417818),{'isValid':!0x0};}}},_0x12778d[_0x4e9099(0x1a9)]=_0x47b738([_0x3d7141(0x0,_0x4be877['Inject'](_0x4be877[_0x4e9099(0x23a)])),_0x3d7141(0x1,_0x191a89[_0x4e9099(0x2bb)]),_0x3d7141(0x2,_0x4be877[_0x4e9099(0x2c5)]),_0x3d7141(0x3,_0x4be877[_0x4e9099(0x29d)]),_0x3d7141(0x4,_0x191a89[_0x4e9099(0x27c)]),_0x3d7141(0x5,_0x191a89['IMessageService']),_0x3d7141(0x6,_0x4be877[_0x4e9099(0x173)](_0x191a89['ComponentManager'])),_0x3d7141(0x7,_0x4be877['Inject'](_0x4be877[_0x4e9099(0x171)])),_0x3d7141(0x8,_0x4be877[_0x4e9099(0x235)]),_0x3d7141(0x9,_0x4be877[_0x4e9099(0x173)](_0x3a1880[_0x4e9099(0x161)]))],_0x12778d[_0x4e9099(0x1a9)]);const _0x19ef9b={'id':_0x4e9099(0x233),'type':_0x4be877[_0x4e9099(0x2bc)][_0x4e9099(0x1c8)],'handler':async(_0x5b8ea4,_0x38c39d)=>(_0x5b8ea4[_0x4e9099(0x1c6)](_0x12778d['MCPConfigUIController'])[_0x4e9099(0x276)](),!0x0)};function _0x4dd5b9(_0x368a33,_0x5955d9){const _0x4d2113=_0x4e9099;switch(_0x368a33){case _0x3a1880[_0x4d2113(0x1a0)]['DISCONNECTED']:return'mcpStatus.disconnected';case _0x3a1880[_0x4d2113(0x1a0)]['CONNECTING']:return _0x4d2113(0x1dd);case _0x3a1880[_0x4d2113(0x1a0)][_0x4d2113(0x218)]:return _0x4d2113(0x1a4);case _0x3a1880[_0x4d2113(0x1a0)]['FAILED']:switch(_0x5955d9){case _0x3a1880[_0x4d2113(0x142)][_0x4d2113(0x152)]:return'mcpStatus.unauthorized';case _0x3a1880['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x4d2113(0x17b);case _0x3a1880[_0x4d2113(0x142)][_0x4d2113(0x18e)]:return _0x4d2113(0x28e);case _0x3a1880[_0x4d2113(0x142)]['MAX_RETRIES_EXCEEDED']:return _0x4d2113(0x1f5);default:return _0x4d2113(0x299);}case _0x3a1880['MCPConnectionStatus'][_0x4d2113(0x190)]:return _0x4d2113(0x2a0);default:return _0x4d2113(0x1a8);}}function _0x370ace(_0x488034,_0x3e0c4c,_0x547381,_0x6c087a=!0x0){const _0x376f9a=_0x4e9099,_0x11569b=_0x4dd5b9(_0x488034,_0x3e0c4c),_0x572f1d=_0x547381['t'](_0x11569b);return _0x6c087a?_0x488034===_0x3a1880[_0x376f9a(0x1a0)]['DISCONNECTED']&&_0x3e0c4c===_0x3a1880['MCPConnectionError'][_0x376f9a(0x152)]?_0x572f1d+'\x20-\x20'+_0x547381['t'](_0x376f9a(0x1c4)):_0x488034===_0x3a1880[_0x376f9a(0x1a0)][_0x376f9a(0x218)]?''+_0x572f1d:_0x488034===_0x3a1880[_0x376f9a(0x1a0)][_0x376f9a(0x14f)]||_0x488034===_0x3a1880['MCPConnectionStatus'][_0x376f9a(0x284)]?_0x572f1d+'\x20-\x20'+_0x547381['t'](_0x376f9a(0x269)):_0x572f1d:_0x572f1d;}function _0x4891b3(_0x14f2cc){const _0x14433a=_0x4e9099;switch(_0x14f2cc){case _0x3a1880[_0x14433a(0x1a0)][_0x14433a(0x218)]:return _0x14433a(0x1eb);case _0x3a1880['MCPConnectionStatus'][_0x14433a(0x2a5)]:case _0x3a1880[_0x14433a(0x1a0)][_0x14433a(0x190)]:return'univer-text-yellow-500';case _0x3a1880['MCPConnectionStatus'][_0x14433a(0x284)]:case _0x3a1880[_0x14433a(0x1a0)][_0x14433a(0x14f)]:return _0x14433a(0x2ad);default:return'univer-text-gray-500';}}function _0x257478(_0x2bbb62){const _0x576993=_0x4e9099,{status$:_0x527241,error$:_0x3427fa,onConfigure:_0x526f43,showClickable:_0x38862e=!0x0}=_0x2bbb62,_0x2086fa=_0x191a89[_0x576993(0x20a)](_0x527241,_0x3a1880[_0x576993(0x1a0)][_0x576993(0x14f)]),_0x5d75d9=_0x191a89[_0x576993(0x20a)](_0x3427fa,_0x3a1880[_0x576993(0x142)][_0x576993(0x13e)]),_0x531afd=_0x191a89[_0x576993(0x263)](_0x4be877[_0x576993(0x171)]),_0x1a4941=_0x2086fa===_0x3a1880[_0x576993(0x1a0)]['CONNECTED'];_0x2086fa===_0x3a1880[_0x576993(0x1a0)][_0x576993(0x2a5)]||_0x3a1880['MCPConnectionStatus']['RETRYING'];const _0x27af88=_0x531afd['t'](_0x4dd5b9(_0x2086fa,_0x5d75d9)),_0x5439a9=_0x370ace(_0x2086fa,_0x5d75d9,_0x531afd,_0x38862e),_0x406151=_0x4891b3(_0x2086fa),_0x36c842=_0x1a4941?_0x235e78[_0x576993(0x162)](_0x25bd02,{}):_0x235e78[_0x576993(0x162)](_0x531014,{}),_0x2168e3=_0x4abfa8[_0x576993(0x18b)](()=>{_0x38862e&&_0x526f43&&_0x526f43();},[_0x38862e,_0x526f43]);function _0x3632b7(){const _0x4079ea=_0x576993;return _0x235e78[_0x4079ea(0x252)](_0x4079ea(0x1b9),{'className':_0x1edb05[_0x4079ea(0x1b8)](_0x4079ea(0x282),_0x38862e&&_0x526f43&&_0x4079ea(0x24a)),'role':_0x4079ea(0x1bb),'onClick':_0x38862e&&_0x526f43?_0x2168e3:void 0x0,'children':[_0x235e78[_0x4079ea(0x162)](_0x4079ea(0x1b9),{'className':_0x1edb05[_0x4079ea(0x1b8)](_0x4079ea(0x19a),_0x406151),'children':_0x36c842}),_0x235e78['jsx'](_0x4079ea(0x1b9),{'className':_0x4079ea(0x22e),'children':_0x27af88})]});}return _0x235e78[_0x576993(0x162)](_0x1edb05[_0x576993(0x2b7)],{'title':_0x5439a9,'placement':_0x576993(0x21d),'children':_0x3632b7()});}var _0xe8f715=Object[_0x4e9099(0x26c)],_0x5827c2=(_0x2fe906,_0x395711,_0x93c32e,_0x1752bc)=>{for(var _0x5a01b7=_0x1752bc>0x1?void 0x0:_0x1752bc?_0xe8f715(_0x395711,_0x93c32e):_0x395711,_0x1b18dd=_0x2fe906['length']-0x1,_0x3650b2;_0x1b18dd>=0x0;_0x1b18dd--)(_0x3650b2=_0x2fe906[_0x1b18dd])&&(_0x5a01b7=_0x3650b2(_0x5a01b7)||_0x5a01b7);return _0x5a01b7;},_0x11339a=(_0x248863,_0x50a6b2)=>(_0x5c4f49,_0x37a8ec)=>_0x50a6b2(_0x5c4f49,_0x37a8ec,_0x248863);_0x12778d[_0x4e9099(0x1d4)]=class extends _0x4be877[_0x4e9099(0x1ab)]{constructor(_0x45c338,_0x326e2b,_0x2c3be1,_0x564f2e){const _0x3a0c91=_0x4e9099;super(),this['_injector']=_0x45c338,this[_0x3a0c91(0x183)]=_0x326e2b,this[_0x3a0c91(0x25e)]=_0x2c3be1,this[_0x3a0c91(0x167)]=_0x564f2e,this[_0x3a0c91(0x22d)](),this['_initStatusComponent']();}[_0x4e9099(0x22d)](){const _0x2be98f=_0x4e9099,_0xbb5e5f=this[_0x2be98f(0x167)]['getConfig'](_0x49e9c9);_0xbb5e5f!=null&&_0xbb5e5f[_0x2be98f(0x145)]&&(this['_connectionController']['enableAutoConnect']=!0x1);}[_0x4e9099(0x272)](){const _0x54a28c=_0x4e9099,_0x40b110=this[_0x54a28c(0x167)][_0x54a28c(0x2b1)](_0x49e9c9);(_0x40b110==null?void 0x0:_0x40b110[_0x54a28c(0x275)])!==!0x1&&this[_0x54a28c(0x212)](this['_uiPartsService'][_0x54a28c(0x2c7)](_0x191a89[_0x54a28c(0x17c)][_0x54a28c(0x24b)],()=>{const _0xb627e3=_0x54a28c;var _0x27f435;return _0x191a89[_0xb627e3(0x168)](_0x1ed0fe({'status$':this[_0xb627e3(0x183)][_0xb627e3(0x2d1)],'error$':this[_0xb627e3(0x183)]['connectionError$'],'onConfigure':()=>this[_0xb627e3(0x1f1)](),'showClickable':(_0x27f435=_0x40b110==null?void 0x0:_0x40b110[_0xb627e3(0x145)])!=null?_0x27f435:!0x1}),this[_0xb627e3(0x227)]);}));}['_handleConfigure'](){const _0x62db05=_0x4e9099;this['_injector'][_0x62db05(0x1c6)](_0x12778d[_0x62db05(0x1a9)])[_0x62db05(0x276)]();}},_0x12778d[_0x4e9099(0x1d4)]=_0x5827c2([_0x11339a(0x0,_0x4be877[_0x4e9099(0x173)](_0x4be877['Injector'])),_0x11339a(0x1,_0x4be877[_0x4e9099(0x173)](_0x3a1880[_0x4e9099(0x161)])),_0x11339a(0x2,_0x191a89[_0x4e9099(0x2bb)]),_0x11339a(0x3,_0x4be877[_0x4e9099(0x2c5)])],_0x12778d[_0x4e9099(0x1d4)]);function _0x1ed0fe(_0x3229e6){const {status$:_0xd71d1f,error$:_0x3d24e8,onConfigure:_0xec0c1c,showClickable:_0x48f678}=_0x3229e6;return function(){const _0x107869=_0x3ad0;return _0x235e78[_0x107869(0x162)](_0x257478,{'status$':_0xd71d1f,'error$':_0x3d24e8,'onConfigure':_0xec0c1c,'showClickable':_0x48f678});};}function _0x7b50f(_0x10e23d){const _0x2fad33=_0x4e9099;return{'id':_0x19ef9b['id'],'type':_0x191a89[_0x2fad33(0x2c1)]['BUTTON'],'icon':_0x2fad33(0x1f6),'title':_0x2fad33(0x155),'tooltip':_0x2fad33(0x155)};}const _0x5769fa={[_0x191a89[_0x4e9099(0x180)][_0x4e9099(0x2a6)]]:{[_0x19ef9b['id']]:{'order':0xa,'menuItemFactory':_0x7b50f}}};var _0x2376bc=Object['getOwnPropertyDescriptor'],_0x3f15bb=(_0x59bc11,_0x2c2e50,_0x5ef24e,_0x470557)=>{const _0x1a87b5=_0x4e9099;for(var _0x15f7ff=_0x470557>0x1?void 0x0:_0x470557?_0x2376bc(_0x2c2e50,_0x5ef24e):_0x2c2e50,_0x508351=_0x59bc11[_0x1a87b5(0x1bc)]-0x1,_0x1546ba;_0x508351>=0x0;_0x508351--)(_0x1546ba=_0x59bc11[_0x508351])&&(_0x15f7ff=_0x1546ba(_0x15f7ff)||_0x15f7ff);return _0x15f7ff;},_0x1233fb=(_0x637375,_0x4c5ebd)=>(_0x5ceb8b,_0x44f19c)=>_0x4c5ebd(_0x5ceb8b,_0x44f19c,_0x637375);_0x12778d['MCPUIMenuController']=class extends _0x4be877['Disposable']{constructor(_0x4893bd,_0x534f78){const _0x459fee=_0x4e9099;super(),this[_0x459fee(0x204)]=_0x4893bd,this[_0x459fee(0x2b0)]=_0x534f78,this[_0x459fee(0x261)](),this[_0x459fee(0x16f)]();}[_0x4e9099(0x261)](){const _0x859c60=_0x4e9099;[_0x19ef9b][_0x859c60(0x257)](_0x780e3b=>{this['disposeWithMe'](this['_commandService']['registerCommand'](_0x780e3b));});}[_0x4e9099(0x16f)](){const _0x459209=_0x4e9099;this[_0x459209(0x2b0)][_0x459209(0x266)](_0x5769fa);}},_0x12778d[_0x4e9099(0x24c)]=_0x3f15bb([_0x1233fb(0x0,_0x4be877[_0x4e9099(0x181)]),_0x1233fb(0x1,_0x191a89[_0x4e9099(0x2cd)])],_0x12778d[_0x4e9099(0x24c)]);const _0x1d0cd0={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4e9099(0x2d0),'connected':_0x4e9099(0x25a),'failed':_0x4e9099(0x231),'retrying':'MCP\x20Retrying...','unknown':_0x4e9099(0x1f9),'unauthorized':_0x4e9099(0x1d8),'sessionOccupied':_0x4e9099(0x13d),'networkError':_0x4e9099(0x245),'maxRetriesExceeded':_0x4e9099(0x170),'clickToConnect':_0x4e9099(0x244),'clickToConfigure':_0x4e9099(0x14c)},'mcpConfig':{'title':_0x4e9099(0x274),'description':_0x4e9099(0x16a),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4e9099(0x1ff),'apiKeyHint':_0x4e9099(0x1e5),'enableAuth':_0x4e9099(0x297),'enableAuthHint':_0x4e9099(0x243),'connectionInfo':_0x4e9099(0x24e),'mcpClientConfig':_0x4e9099(0x24e),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x4e9099(0x220),'configStep2':_0x4e9099(0x1a2),'configStep3':_0x4e9099(0x2b2),'sessionId':_0x4e9099(0x1ad),'sessionIdDescription':_0x4e9099(0x265),'authorizationDescription':_0x4e9099(0x24d),'configParameters':_0x4e9099(0x1d7),'maxRetries':_0x4e9099(0x186),'save':_0x4e9099(0x1b5),'saving':'Saving...','note1':_0x4e9099(0x194),'note2':_0x4e9099(0x1aa),'configSaved':_0x4e9099(0x15d),'configError':_0x4e9099(0x1cc),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4e9099(0x278),'univerAiLabel':_0x4e9099(0x236),'getStarted':_0x4e9099(0x291)},'validation':{'apiKeyRequired':_0x4e9099(0x2c9),'apiKeyTooShort':_0x4e9099(0x1a5),'invalidConfig':_0x4e9099(0x1bd),'invalidApiKey':_0x4e9099(0x189)},'connectionStatus':{'disconnected':_0x4e9099(0x2d2),'connecting':_0x4e9099(0x290),'connected':'Connected','failed':_0x4e9099(0x1c5),'retrying':_0x4e9099(0x2a4)},'connectionError':{'unauthorized':_0x4e9099(0x24f),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4e9099(0x216),'maxRetriesExceeded':_0x4e9099(0x255)}}},_0x170a15={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x4e9099(0x222),'connected':'MCP\x20已连接','failed':_0x4e9099(0x214),'retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','unauthorized':_0x4e9099(0x197),'sessionOccupied':_0x4e9099(0x23b),'networkError':_0x4e9099(0x208),'maxRetriesExceeded':_0x4e9099(0x27f),'clickToConnect':_0x4e9099(0x1f7),'clickToConfigure':_0x4e9099(0x29e)},'mcpConfig':{'title':_0x4e9099(0x1d2),'description':_0x4e9099(0x163),'apiKey':_0x4e9099(0x2ae),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x4e9099(0x259),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x4e9099(0x209),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x4e9099(0x1ed),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x4e9099(0x175),'configStep3':_0x4e9099(0x1e9),'sessionId':_0x4e9099(0x199),'sessionIdDescription':_0x4e9099(0x16b),'authorizationDescription':_0x4e9099(0x18a),'configParameters':_0x4e9099(0x26f),'maxRetries':_0x4e9099(0x288),'save':_0x4e9099(0x229),'saving':'保存中...','note1':_0x4e9099(0x166),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x4e9099(0x14b),'configError':'配置保存失败','apiApplyInfo':{'title':_0x4e9099(0x154),'description':_0x4e9099(0x2a7),'univerAiLabel':_0x4e9099(0x295),'getStarted':_0x4e9099(0x1fa)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x4e9099(0x29b),'invalidConfig':_0x4e9099(0x22f),'invalidApiKey':_0x4e9099(0x1a1)},'connectionStatus':{'disconnected':_0x4e9099(0x234),'connecting':'连接中...','connected':_0x4e9099(0x160),'failed':_0x4e9099(0x185),'retrying':_0x4e9099(0x1ac)},'connectionError':{'unauthorized':_0x4e9099(0x141),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x4e9099(0x193),'maxRetriesExceeded':_0x4e9099(0x153)}}};var _0x6c05a5=Object[_0x4e9099(0x224)],_0x4e6540=Object[_0x4e9099(0x26c)],_0xd5565e=(_0x5bcef8,_0x69b78,_0x4e3465)=>_0x69b78 in _0x5bcef8?_0x6c05a5(_0x5bcef8,_0x69b78,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e3465}):_0x5bcef8[_0x69b78]=_0x4e3465,_0x5756a8=(_0x20a365,_0x1b5615,_0xbc45c0,_0x5340d8)=>{for(var _0xb89349=_0x5340d8>0x1?void 0x0:_0x5340d8?_0x4e6540(_0x1b5615,_0xbc45c0):_0x1b5615,_0xde77f6=_0x20a365['length']-0x1,_0x1b3d49;_0xde77f6>=0x0;_0xde77f6--)(_0x1b3d49=_0x20a365[_0xde77f6])&&(_0xb89349=_0x1b3d49(_0xb89349)||_0xb89349);return _0xb89349;},_0x443014=(_0x43948e,_0x10d9c5)=>(_0x467dd8,_0x428e6f)=>_0x10d9c5(_0x467dd8,_0x428e6f,_0x43948e),_0xd3d254=(_0x2b1aa0,_0xc69d13,_0x2610b7)=>_0xd5565e(_0x2b1aa0,_0xc69d13+'',_0x2610b7);_0x12778d['UniverMCPUIPlugin']=class extends _0x4be877[_0x4e9099(0x246)]{constructor(_0x18f1b5=_0x5ec3a5,_0x2b1070,_0x46407d,_0x5e7a14,_0x57421b,_0x5e49c4){const _0x57bee8=_0x4e9099;super(),this[_0x57bee8(0x17d)]=_0x18f1b5,this[_0x57bee8(0x227)]=_0x2b1070,this[_0x57bee8(0x167)]=_0x46407d,this[_0x57bee8(0x25e)]=_0x5e7a14,this[_0x57bee8(0x206)]=_0x57421b,this[_0x57bee8(0x1e7)]=_0x5e49c4;const {..._0x494315}=_0x4be877[_0x57bee8(0x238)]({},_0x5ec3a5,this['_config']);this[_0x57bee8(0x167)]['setConfig'](_0x49e9c9,_0x494315);}async[_0x4e9099(0x287)](){const _0x21664c=_0x4e9099,_0x5e65a0=[[_0x12778d[_0x21664c(0x1d4)]],[_0x12778d[_0x21664c(0x1a9)]],[_0x12778d[_0x21664c(0x24c)]]];this[_0x21664c(0x227)][_0x21664c(0x165)](_0x5a83d3[_0x21664c(0x149)])||_0x5e65a0[_0x21664c(0x172)]([_0x5a83d3['ISocketService'],{'useClass':_0x5a83d3['WebSocketService']}]),_0x5e65a0['forEach'](_0x86be16=>this['_injector'][_0x21664c(0x280)](_0x86be16)),this[_0x21664c(0x227)][_0x21664c(0x1c6)](_0x12778d[_0x21664c(0x1d4)]),this['_injector'][_0x21664c(0x1c6)](_0x12778d[_0x21664c(0x1a9)]),this[_0x21664c(0x227)][_0x21664c(0x1c6)](_0x12778d[_0x21664c(0x24c)]);}},_0xd3d254(_0x12778d['UniverMCPUIPlugin'],_0x4e9099(0x1cd),_0x4e9099(0x242)),_0x12778d[_0x4e9099(0x250)]=_0x5756a8([_0x4be877[_0x4e9099(0x270)](_0x3a1880[_0x4e9099(0x253)]),_0x443014(0x1,_0x4be877[_0x4e9099(0x173)](_0x4be877['Injector'])),_0x443014(0x2,_0x4be877[_0x4e9099(0x2c5)]),_0x443014(0x3,_0x191a89['IUIPartsService']),_0x443014(0x4,_0x4be877[_0x4e9099(0x29d)]),_0x443014(0x5,_0x4be877[_0x4e9099(0x173)](_0x4be877[_0x4e9099(0x171)]))],_0x12778d[_0x4e9099(0x250)]),_0x12778d['MCPConfigPanel']=_0x3fdc76,_0x12778d['MCPStatusDisplay']=_0x257478,_0x12778d['OpenMCPConfigPanelCommand']=_0x19ef9b,_0x12778d['enUS']=_0x1d0cd0,_0x12778d[_0x4e9099(0x2bd)]=_0x170a15,Object[_0x4e9099(0x224)](_0x12778d,Symbol[_0x4e9099(0x260)],{'value':_0x4e9099(0x150)});}));function _0xd547(){const _0xc2c0db=['MCPConnectionError','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','showDeveloperTools','children','univer-bg-green-500','off','ISocketService','sessionId$','配置保存成功','Click\x20to\x20configure\x20MCP','http://www.w3.org/2000/svg','univer-text-sm\x20univer-font-medium','DISCONNECTED','Module','univer-bg-red-500','UNAUTHORIZED','超出最大重试次数,请稍后再试','什么是\x20API\x20密钥?','mcpConfig.title','pre','evenodd','@univerjs/ui','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','xlink:href','apiKey','replace','Configuration\x20saved\x20successfully','mcpConfig.configStepTitle','univer-flex\x20univer-flex-wrap\x20univer-gap-2','已连接','MCPConnectionController','jsx','配置\x20MCP\x20使用\x20AI\x20操作电子表格','translate(.97)','has','配置更改将立即生效','_configService','connectInjector','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','https://console.univer.plus','defIds','univer-space-y-4','_initializeMenus','MCP:\x20Max\x20Retries\x20Exceeded','LocaleService','push','Inject','M0\x200H16V16H0z','将配置添加到您的\x20MCP\x20客户端设置文件中','univer-flex-1','_initConfigSync','univer-flex\x20univer-items-center\x20univer-gap-2','Configuration\x20Notes:','Success','mcpStatus.sessionOccupied','BuiltInUIPart','_config','univer-text-sm\x20univer-text-gray-500','SESSION_ID_OCCUPIED','RibbonStartGroup','ICommandService','forwardRef','_connectionController','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','连接失败','Max\x20Retries','getCurrentConfig','_validateConfig','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','带有\x20Bearer\x20前缀的\x20API\x20密钥。','useCallback','mcpConfig.configParameters','value','NETWORK_ERROR','univer_session_id:','RETRYING','1em','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','网络连接错误,请检查您的网络连接','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-flex\x20univer-gap-3','@univerjs/core','MCP:\x20未授权','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','会话ID','univer-mr-2\x20univer-flex\x20univer-text-xl','tag','noopener\x20noreferrer','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-size-4','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','MCPConnectionStatus','API\x20密钥无效,请检查密钥是否正确','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','mcpStatus.connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','subscribe','close-icon','mcpStatus.unknown','MCPConfigUIController','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Disposable','重连中...','Session\x20ID','mcpConfig.connectionError.maxRetriesExceeded','univer-space-y-2','CloseIcon','mcpConfig.apiApplyInfo.description','register','56466jBLRtf','entries','Save\x20Configuration','createElement','MCP_PLUGIN_CONFIG_KEY','clsx','div','_dialogService','button','length','Invalid\x20configuration','next','assign','mcpConfig.configStep2','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpStatus.clickToConfigure','Connection\x20Failed','get','text','COMMAND','univer.ai','Bearer\x20','colorChannel1','Failed\x20to\x20save\x20configuration','pluginName','subscribeConfigValue$','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','CheckMarkIcon','mcpConfig.configStep3','MCP\x20配置','_createConfigPanelComponent','MCPConnectionUIController','7641490OJdovg','symbol','Configuration\x20Parameters:','MCP:\x20Unauthorized','mcpConfig.connectionStatus.connected','8SdbkaV','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','_mcpConnectionController','mcpStatus.connecting','Input','isValid','_componentManager','mcpConfig.validation.invalidConfig','Error','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','defs','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','open','_localeService','univer-text-blue-600','重启您的\x20MCP\x20客户端以使配置生效','setItem','univer-text-green-500','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','配置步骤:','@univerjs/design','warn','__setCustomHeaders','_handleConfigure','https://mcp.univer.ai/mcp/?univer_session_id=','univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','mcpStatus.maxRetriesExceeded','MenuIcon','点击连接\x20MCP','http','MCP\x20Unknown\x20Status','几秒钟内获取您的\x20API\x20密钥','630UgUgSa','getItem','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','label','Enter\x20your\x20API\x20key','_mcpCoreConfig$','mcpConfig.configSaved','useState','OffLineIcon','_commandService','mcpConfig.validation.apiKeyTooShort','_localStorageService','MCPConfigPanel','MCP:\x20网络错误','MCP\x20客户端配置','useObservable','connectionError$','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-flex\x20univer-items-center\x20univer-gap-3','mask','0\x200\x2016\x2016','mcpConfig.apiKeyPlaceholder','off-line-icon_clip0_910_343','disposeWithMe','object','MCP\x20连接失败','span','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-flex\x20univer-items-start\x20univer-gap-2','CONNECTED','UniverDesign','errorMessage','mcpConfig.saving','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','bottom','currentColor','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','Copy\x20the\x20JSON\x20configuration\x20below','url(#on-line-icon_clip0_910_349)','MCP\x20连接中...','univer-text-white','defineProperty','validateApiKey','HelpIcon','_injector','mcpConfig.connectionStatus.disconnected','保存配置','rxjs','mcp.apiKey','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','_initAutoConnect','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','配置无效','OnLineIcon','MCP\x20Connection\x20Failed','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','mcp-ui.command.openConfigPanel','未连接','ILogService','Univer\x20AI\x20Console','mcpConfig.note2','merge','_apiKey$','Injector','MCP:\x20会话\x20ID\x20已被占用','stringify','UniverProMcpUi','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','check-mark-icon','MAX_RETRIES_EXCEEDED','useRef','MCP_UI_PLUGIN','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20connect\x20MCP','MCP:\x20Network\x20Error','Plugin','show','1bEUpSQ','univer-text-xs\x20univer-text-gray-500','\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','HEADER_MENU','MCPUIMenuController','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Client\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','UniverMCPUIPlugin','2827pBhAZF','jsxs','UniverMCPPlugin','univer-min-w-0\x20univer-flex-1','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','mcpConfig.connectionError.sessionOccupied','forEach','univer-space-y-3','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20Connected','attrs','<SESSION_ID>','mcpConfig.validation.invalidApiKey','_uiPartsService','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','toStringTag','_initializeCommands','_loading$','useDependency','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','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','mergeMenu','univer-size-2\x20univer-rounded-full','mcpConfig.connectionError.unauthorized','mcpStatus.clickToConnect','UniverIcon','path','getOwnPropertyDescriptor','364894jyDqKQ','mcpConfig.apiApplyInfo.univerAiLabel','配置参数:','DependentOn','0\x200\x2017\x2016','_initStatusComponent','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','MCP\x20Configuration','showStatus','showConfigPanel','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','url(#$1','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcp-ui.config','IDialogService','mcpConfig.authorizationDescription','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','MCP:\x20超出最大重试次数','add','function','univer-flex\x20univer-items-center','univer-shrink-0\x20univer-text-red-500','FAILED','idSuffix','clipPath','onStarting','最大重试次数','mcpConfig.apiApplyInfo.title','mcpConfig.configError','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','includes','55480MpVMUc','mcpStatus.networkError','mcpServerUrl','Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','MessageType','_messageService','63LLRZgL','Univer\x20AI\x20控制台','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','Enable\x20Authentication','mcpConfig.configStep1','mcpStatus.failed','UniverCore','API\x20密钥长度至少需要\x2010\x20位','trim','ILocalStorageService','点击配置\x20MCP','_registerComponent','mcpStatus.retrying','React','on-line-icon_clip0_910_349','univer-shrink-0\x20univer-text-blue-500','Retrying...','CONNECTING','OTHERS','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','https://console.univer.ai','map','svg','_config$','_handleConfigSave','univer-text-red-500','API\x20密钥','white','_menuManagerService','getConfig','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','UniverProMcp','string','round','85452kWVfHT','Tooltip','none','BehaviorSubject','univer-space-y-5','IUIPartsService','CommandType','zhCN','univer-font-medium','univer-flex\x20univer-items-start\x20univer-gap-3','4407520Xlmmot','MenuItemType','mcpConfig.connectionStatus.failed','displayName','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','IConfigService','mcpConfig.validation.apiKeyRequired','registerComponent','8289657ZpcQWn','API\x20key\x20is\x20required','exports','off-line-icon','mcpConfig.configInstructions','IMenuManagerService','close','Button','MCP\x20Connecting...','connectionStatus$','Disconnected','Authorization:','_logService','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','UniverNetwork','error','MCP:\x20Session\x20ID\x20Occupied','NONE','univer.plus','url(#off-line-icon_clip0_910_343)','权限验证失败,请检查您的\x20API\x20密钥'];_0xd547=function(){return _0xc2c0db;};return _0xd547();}
1
+ function _0x5ac4(_0x3dd329,_0x22e0d0){_0x3dd329=_0x3dd329-0xb6;const _0x4598ae=_0x4598();let _0x5ac421=_0x4598ae[_0x3dd329];return _0x5ac421;}(function(_0x51372a,_0x324227){const _0x2e82ce=_0x5ac4,_0x26191f=_0x51372a();while(!![]){try{const _0x3cded8=-parseInt(_0x2e82ce(0x203))/0x1*(parseInt(_0x2e82ce(0x1dc))/0x2)+parseInt(_0x2e82ce(0xdf))/0x3*(-parseInt(_0x2e82ce(0xc8))/0x4)+-parseInt(_0x2e82ce(0x1a3))/0x5+-parseInt(_0x2e82ce(0x1d3))/0x6+-parseInt(_0x2e82ce(0x217))/0x7+parseInt(_0x2e82ce(0x189))/0x8+parseInt(_0x2e82ce(0x106))/0x9*(parseInt(_0x2e82ce(0x243))/0xa);if(_0x3cded8===_0x324227)break;else _0x26191f['push'](_0x26191f['shift']());}catch(_0x542092){_0x26191f['push'](_0x26191f['shift']());}}}(_0x4598,0x4d88c),function(_0x514ede,_0xf330a4){const _0x36a03d=_0x5ac4;typeof exports=='object'&&typeof module<'u'?_0xf330a4(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==_0x36a03d(0x112)&&define[_0x36a03d(0x1d1)]?define(['exports',_0x36a03d(0x136),'react/jsx-runtime',_0x36a03d(0x1f1),'@univerjs/design',_0x36a03d(0x178),_0x36a03d(0x1a1),_0x36a03d(0xc0),_0x36a03d(0xe6)],_0xf330a4):(_0x514ede=typeof globalThis<'u'?globalThis:_0x514ede||self,_0xf330a4(_0x514ede[_0x36a03d(0x168)]={},_0x514ede['UniverCore'],_0x514ede['React'],_0x514ede[_0x36a03d(0x11d)],_0x514ede[_0x36a03d(0x17d)],_0x514ede['UniverUi'],_0x514ede['rxjs'],_0x514ede[_0x36a03d(0x200)],_0x514ede[_0x36a03d(0x17c)]));}(this,function(_0x5b8305,_0x35ef1b,_0x2cbebd,_0x59d020,_0x2192e3,_0x18cbad,_0x2291bd,_0x3c333b,_0x28dbcf){'use strict';const _0x3c3006=_0x5ac4;var _0x223035=Object[_0x3c3006(0x1ca)],_0x3fe349=(_0x2a20ac,_0x3a54d7,_0x37164e)=>_0x3a54d7 in _0x2a20ac?_0x223035(_0x2a20ac,_0x3a54d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37164e}):_0x2a20ac[_0x3a54d7]=_0x37164e,_0x85b48d=(_0x596e8e,_0xeacfa,_0x6bf575)=>_0x3fe349(_0x596e8e,typeof _0xeacfa!=_0x3c3006(0x1b1)?_0xeacfa+'':_0xeacfa,_0x6bf575);function _0x2fa21c({ref:_0x297c75,..._0x2208ca}){const {icon:_0x330c90,id:_0x5c96f5,className:_0x212195,extend:_0x40136a,..._0x260050}=_0x2208ca,_0xf4da06=('univerjs-icon\x20univerjs-icon-'+_0x5c96f5+'\x20'+(_0x212195||''))['trim'](),_0x440346=_0x3c333b['useRef']('_'+_0x577fa4());return _0x5ab4c1(_0x330c90,''+_0x5c96f5,{'defIds':_0x330c90['defIds'],'idSuffix':_0x440346['current']},{'ref':_0x297c75,'className':_0xf4da06,..._0x260050},_0x40136a);}function _0x5ab4c1(_0x3f8737,_0x29f156,_0x547e65,_0x577607,_0x67dfe7){const _0x3de398=_0x3c3006;return _0x3c333b[_0x3de398(0xcf)](_0x3f8737['tag'],{'key':_0x29f156,..._0x15f278(_0x3f8737,_0x547e65,_0x67dfe7),..._0x577607},(_0x1c583b(_0x3f8737,_0x547e65)[_0x3de398(0xee)]||[])['map']((_0x306ef3,_0x276b2f)=>_0x5ab4c1(_0x306ef3,_0x29f156+'-'+_0x3f8737[_0x3de398(0xbe)]+'-'+_0x276b2f,_0x547e65,void 0x0,_0x67dfe7)));}function _0x15f278(_0x354e2a,_0x1ee6a2,_0xefae1f){const _0x45c0aa=_0x3c3006,_0x36df63={..._0x354e2a[_0x45c0aa(0x242)]};_0xefae1f!=null&&_0xefae1f[_0x45c0aa(0x163)]&&_0x36df63['fill']===_0x45c0aa(0x163)&&(_0x36df63[_0x45c0aa(0x23d)]=_0xefae1f[_0x45c0aa(0x163)]),_0x354e2a['tag']===_0x45c0aa(0x214)&&_0x36df63['id']&&(_0x36df63['id']=_0x36df63['id']+_0x1ee6a2[_0x45c0aa(0x1a0)]),Object[_0x45c0aa(0x1e7)](_0x36df63)['forEach'](([_0x589264,_0x5606a3])=>{const _0x3cd930=_0x45c0aa;_0x589264===_0x3cd930(0x214)&&typeof _0x5606a3==_0x3cd930(0x1fb)&&(_0x36df63[_0x589264]=_0x5606a3[_0x3cd930(0x1b6)](/url\(#(.*)\)/,_0x3cd930(0x20b)+_0x1ee6a2['idSuffix']+')'));});const {defIds:_0x121b3f}=_0x1ee6a2;return!_0x121b3f||_0x121b3f['length']===0x0||(_0x354e2a[_0x45c0aa(0xbe)]===_0x45c0aa(0x147)&&_0x36df63[_0x45c0aa(0x122)]&&(_0x36df63['xlink:href']=_0x36df63[_0x45c0aa(0x122)]+_0x1ee6a2[_0x45c0aa(0x1a0)]),Object['entries'](_0x36df63)[_0x45c0aa(0x129)](([_0x5afd53,_0xda0d9e])=>{const _0x1e7d98=_0x45c0aa;typeof _0xda0d9e==_0x1e7d98(0x1fb)&&(_0x36df63[_0x5afd53]=_0xda0d9e[_0x1e7d98(0x1b6)](/url\(#(.*)\)/,'url(#$1'+_0x1ee6a2[_0x1e7d98(0x1a0)]+')'));})),_0x36df63;}function _0x1c583b(_0x13ee6a,_0x3ba3b8){const _0x38e849=_0x3c3006;var _0x4f3bfd;const {defIds:_0x36fc02}=_0x3ba3b8;return!_0x36fc02||_0x36fc02[_0x38e849(0xda)]===0x0?_0x13ee6a:_0x13ee6a[_0x38e849(0xbe)]==='defs'&&((_0x4f3bfd=_0x13ee6a[_0x38e849(0xee)])!=null&&_0x4f3bfd[_0x38e849(0xda)])?{..._0x13ee6a,'children':_0x13ee6a['children'][_0x38e849(0x220)](_0x58cff6=>typeof _0x58cff6[_0x38e849(0x242)]['id']==_0x38e849(0x1fb)&&_0x36fc02&&_0x36fc02[_0x38e849(0x207)](_0x58cff6[_0x38e849(0x242)]['id'])?{..._0x58cff6,'attrs':{..._0x58cff6[_0x38e849(0x242)],'id':_0x58cff6['attrs']['id']+_0x3ba3b8[_0x38e849(0x1a0)]}}:_0x58cff6)}:_0x13ee6a;}function _0x577fa4(){const _0x244f19=_0x3c3006;return Math[_0x244f19(0x13d)]()[_0x244f19(0x120)](0x24)[_0x244f19(0x234)](0x2,0x8);}_0x2fa21c[_0x3c3006(0x1bb)]=_0x3c3006(0xf8);const _0xe2c57={'tag':_0x3c3006(0x17b),'attrs':{'xmlns':_0x3c3006(0xba),'fill':'none','viewBox':_0x3c3006(0x19c),'width':_0x3c3006(0xcc),'height':_0x3c3006(0xcc)},'children':[{'tag':_0x3c3006(0x1a4),'attrs':{'fill':'currentColor','d':_0x3c3006(0x19b),'fillRule':_0x3c3006(0x1e8),'clipRule':_0x3c3006(0x1e8)}}]},_0x2e0aa0=_0x3c333b[_0x3c3006(0x154)](function(_0x5dd004,_0x304e71){const _0x1320cc=_0x3c3006;return _0x3c333b[_0x1320cc(0xcf)](_0x2fa21c,Object[_0x1320cc(0x104)]({},_0x5dd004,{'id':_0x1320cc(0x1ba),'ref':_0x304e71,'icon':_0xe2c57}));});_0x2e0aa0[_0x3c3006(0x1bb)]=_0x3c3006(0x16e);const _0x7a6d58={'tag':_0x3c3006(0x17b),'attrs':{'xmlns':_0x3c3006(0xba),'fill':_0x3c3006(0x12b),'viewBox':_0x3c3006(0x19c),'width':_0x3c3006(0xcc),'height':_0x3c3006(0xcc)},'children':[{'tag':_0x3c3006(0x1a4),'attrs':{'fill':_0x3c3006(0x1a2),'d':'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'}}]},_0x2d6fb5=_0x3c333b['forwardRef'](function(_0x2ec515,_0x18bc87){const _0x495a38=_0x3c3006;return _0x3c333b[_0x495a38(0xcf)](_0x2fa21c,Object[_0x495a38(0x104)]({},_0x2ec515,{'id':_0x495a38(0xc1),'ref':_0x18bc87,'icon':_0x7a6d58}));});_0x2d6fb5[_0x3c3006(0x1bb)]=_0x3c3006(0x155);const _0x29851a={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3c3006(0x19c),'width':_0x3c3006(0xcc),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x3c3006(0xcb)}},{'tag':'path','attrs':{'fill':_0x3c3006(0x1a2),'d':_0x3c3006(0x211)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x3c3006(0x111),'fillRule':_0x3c3006(0x1e8),'clipRule':'evenodd'}}]},_0x50ea44=_0x3c333b[_0x3c3006(0x154)](function(_0x361233,_0xa0b09){const _0x427dd6=_0x3c3006;return _0x3c333b[_0x427dd6(0xcf)](_0x2fa21c,Object[_0x427dd6(0x104)]({},_0x361233,{'id':_0x427dd6(0xe0),'ref':_0xa0b09,'icon':_0x29851a}));});_0x50ea44[_0x3c3006(0x1bb)]=_0x3c3006(0x22c);const _0x592311={'tag':_0x3c3006(0x17b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3c3006(0x19c),'width':_0x3c3006(0xcc),'height':_0x3c3006(0xcc)},'children':[{'tag':'g','attrs':{'clipPath':_0x3c3006(0x23b)},'children':[{'tag':_0x3c3006(0x1a4),'attrs':{'stroke':_0x3c3006(0x1a2),'d':'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','strokeLinecap':_0x3c3006(0x123),'strokeLinejoin':_0x3c3006(0x123),'strokeWidth':1.2}}]},{'tag':_0x3c3006(0x1e0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x3c3006(0xfa),'d':_0x3c3006(0x12e)}}]}]}],'defIds':[_0x3c3006(0xbb)]},_0x16bb40=_0x3c333b[_0x3c3006(0x154)](function(_0x5273f1,_0x58b37c){const _0x534ef5=_0x3c3006;return _0x3c333b['createElement'](_0x2fa21c,Object[_0x534ef5(0x104)]({},_0x5273f1,{'id':'off-line-icon','ref':_0x58b37c,'icon':_0x592311}));});_0x16bb40[_0x3c3006(0x1bb)]='OffLineIcon';const _0x1b8fa9={'tag':_0x3c3006(0x17b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3c3006(0x12b),'viewBox':_0x3c3006(0x188),'width':_0x3c3006(0xcc),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3c3006(0x231)},'children':[{'tag':'path','attrs':{'stroke':_0x3c3006(0x1a2),'d':_0x3c3006(0x224),'strokeLinecap':_0x3c3006(0x123),'strokeLinejoin':_0x3c3006(0x123),'strokeWidth':1.2}}]},{'tag':_0x3c3006(0x1e0),'attrs':{},'children':[{'tag':_0x3c3006(0x10e),'attrs':{'id':_0x3c3006(0x1b8)},'children':[{'tag':_0x3c3006(0x1a4),'attrs':{'fill':_0x3c3006(0xfa),'d':'M0\x200H16V16H0z','transform':_0x3c3006(0x1d7)}}]}]}],'defIds':[_0x3c3006(0x1b8)]},_0x59c0d6=_0x3c333b['forwardRef'](function(_0x5e2497,_0x52168a){const _0x3c1446=_0x3c3006;return _0x3c333b[_0x3c1446(0xcf)](_0x2fa21c,Object[_0x3c1446(0x104)]({},_0x5e2497,{'id':_0x3c1446(0xfe),'ref':_0x52168a,'icon':_0x1b8fa9}));});_0x59c0d6[_0x3c3006(0x1bb)]=_0x3c3006(0x227);function _0x1054d1(_0x4cdc0f){const _0x5bb05a=_0x3c3006;var _0x4396e8,_0x3a81c2;const {mcpCoreConfig:_0x2e4bb0,onSave:_0x4ed4fe,loading:_0x114e7e=!0x1,config:_0x1701ca,connectionStatus$:_0x21dccc,connectionError$:_0x4e1075,currentApiKey$:_0x18e3dc,currentSessionId$:_0x20051c}=_0x4cdc0f,_0x3e95c3=_0x18cbad[_0x5bb05a(0x1d6)](_0x35ef1b[_0x5bb05a(0x198)]),_0x2cd371=_0x18cbad['useObservable'](_0x21dccc,_0x59d020[_0x5bb05a(0x13a)]['DISCONNECTED']),_0x9e668a=_0x18cbad[_0x5bb05a(0xeb)](_0x4e1075,_0x59d020[_0x5bb05a(0x16a)]['NONE']),_0x4b0878=_0x18cbad[_0x5bb05a(0xeb)](_0x20051c,''),_0x59ddff=_0x18cbad['useObservable'](_0x18e3dc,''),[_0x5d542e,_0x130160]=_0x3c333b[_0x5bb05a(0x235)](_0x59ddff||''),_0x402448=!0x0,_0x498027=_0x1701ca[_0x5bb05a(0x14a)]&&_0x2e4bb0[_0x5bb05a(0x193)]&&(_0x2e4bb0[_0x5bb05a(0x193)][_0x5bb05a(0x207)](_0x5bb05a(0x1f3))||_0x2e4bb0[_0x5bb05a(0x193)][_0x5bb05a(0x207)](_0x5bb05a(0x1ad))),_0x2b1b27=(_0x4396e8=_0x2e4bb0['mcpServerUrl'])==null?void 0x0:_0x4396e8[_0x5bb05a(0x207)](_0x5bb05a(0x1f3)),_0x89f965=(_0x3a81c2=_0x2e4bb0[_0x5bb05a(0x193)])==null?void 0x0:_0x3a81c2['includes'](_0x5bb05a(0x1ad)),_0x5c7686=_0x2b1b27?_0x5bb05a(0x199):_0x5bb05a(0x1c6),_0xb0529d=_0x1701ca[_0x5bb05a(0x14a)]&&(_0x2b1b27||_0x89f965),[_0x4bc242,_0x202c7f]=_0x3c333b[_0x5bb05a(0x235)](!_0x5d542e[_0x5bb05a(0x204)]()),_0x178a67=(_0x581c04,_0x1cd042)=>{const _0x2c9180=_0x5bb05a;if(_0x1cd042===_0x59d020[_0x2c9180(0x16a)][_0x2c9180(0x165)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x581c04){case _0x59d020[_0x2c9180(0x13a)][_0x2c9180(0x196)]:return _0x2c9180(0x1bc);case _0x59d020[_0x2c9180(0x13a)][_0x2c9180(0x11c)]:case _0x59d020['MCPConnectionStatus'][_0x2c9180(0x15b)]:return _0x2c9180(0xb8);case _0x59d020[_0x2c9180(0x13a)][_0x2c9180(0xd3)]:return _0x2c9180(0x23a);default:return _0x2c9180(0xec);}},_0xde11ca=(_0x3ed694,_0x2d7ba0)=>{const _0x26a0b1=_0x5bb05a;if(_0x2d7ba0===_0x59d020['MCPConnectionError'][_0x26a0b1(0x165)])return'univer-bg-red-500';switch(_0x3ed694){case _0x59d020[_0x26a0b1(0x13a)][_0x26a0b1(0x196)]:return _0x26a0b1(0x1c2);case _0x59d020[_0x26a0b1(0x13a)][_0x26a0b1(0x11c)]:case _0x59d020[_0x26a0b1(0x13a)][_0x26a0b1(0x15b)]:return _0x26a0b1(0xf4);case _0x59d020['MCPConnectionStatus'][_0x26a0b1(0xd3)]:return _0x26a0b1(0x1a7);default:return _0x26a0b1(0x223);}},_0x29ff37=_0x32c2fe=>{const _0x4fc21b=_0x5bb05a;switch(_0x32c2fe){case _0x59d020[_0x4fc21b(0x13a)]['CONNECTED']:return _0x3e95c3['t'](_0x4fc21b(0x190));case _0x59d020['MCPConnectionStatus'][_0x4fc21b(0x11c)]:return _0x3e95c3['t'](_0x4fc21b(0x114));case _0x59d020[_0x4fc21b(0x13a)][_0x4fc21b(0xd3)]:return _0x3e95c3['t'](_0x4fc21b(0xe1));case _0x59d020['MCPConnectionStatus']['RETRYING']:return _0x3e95c3['t']('mcpConfig.connectionStatus.retrying');default:return _0x3e95c3['t']('mcpConfig.connectionStatus.disconnected');}},_0x43678d=_0x3511a8=>{const _0x4361ce=_0x5bb05a;switch(_0x3511a8){case _0x59d020[_0x4361ce(0x16a)]['UNAUTHORIZED']:return _0x3e95c3['t'](_0x4361ce(0x17e));case _0x59d020[_0x4361ce(0x16a)][_0x4361ce(0x1d0)]:return _0x3e95c3['t'](_0x4361ce(0xde));case _0x59d020['MCPConnectionError']['NETWORK_ERROR']:return _0x3e95c3['t']('mcpConfig.connectionError.networkError');case _0x59d020[_0x4361ce(0x16a)][_0x4361ce(0x1eb)]:return _0x3e95c3['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x33ae51=_0x3c333b[_0x5bb05a(0x245)](()=>{const _0x3ba753={..._0x2e4bb0,'apiKey':_0x5d542e['trim'](),'enableAuth':_0x402448};_0x4ed4fe(_0x3ba753);},[_0x2e4bb0,_0x5d542e,_0x402448,_0x4ed4fe]),_0x26bc41=_0x5d542e[_0x5bb05a(0x204)]()[_0x5bb05a(0xda)]>0x0;return _0x2cbebd[_0x5bb05a(0x105)]('div',{'className':_0x5bb05a(0x128),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x144),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1e4),'children':_0x2cbebd[_0x5bb05a(0x131)]('span',{'className':'univer-text-white','children':'⚙'})}),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'children':_0x2cbebd[_0x5bb05a(0x131)]('p',{'className':_0x5bb05a(0x133),'children':_0x3e95c3['t'](_0x5bb05a(0x107))})})]})}),_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x2cbebd[_0x5bb05a(0x131)]('div',{'className':_0x2192e3[_0x5bb05a(0x1dd)](_0x5bb05a(0xb7),_0x178a67(_0x2cd371,_0x9e668a)),'children':_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x2192e3[_0x5bb05a(0x1dd)]('univer-size-2\x20univer-rounded-full',_0xde11ca(_0x2cd371,_0x9e668a))}),_0x2cbebd[_0x5bb05a(0x131)]('span',{'className':_0x5bb05a(0x130),'children':_0x29ff37(_0x2cd371)})]})}),_0x9e668a!==_0x59d020[_0x5bb05a(0x16a)]['NONE']&&(_0x2cd371===_0x59d020[_0x5bb05a(0x13a)][_0x5bb05a(0xd3)]||_0x9e668a===_0x59d020[_0x5bb05a(0x16a)][_0x5bb05a(0x165)])&&_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x167),'children':_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x13e),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x2cbebd[_0x5bb05a(0x131)]('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x43678d(_0x9e668a)})]})})]}),_0x2cbebd[_0x5bb05a(0x131)]('div',{'className':_0x5bb05a(0x1f4),'children':_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1bd),'children':[_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x16c),'children':[_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0x12c),{'className':_0x5bb05a(0xf1),'children':[_0x2cbebd[_0x5bb05a(0x131)]('span',{'children':'🔑'}),'\x20',_0x3e95c3['t']('mcpConfig.apiKey'),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':'univer-text-red-500','children':'*'}),_0x498027&&_0x2cbebd[_0x5bb05a(0x131)]('a',{'className':_0x5bb05a(0x21a),'title':_0x3e95c3['t'](_0x5bb05a(0x1c0)),'role':_0x5bb05a(0x1d2),'onClick':()=>_0x202c7f(!0x0),'children':_0x2cbebd['jsx'](_0x50ea44,{})})]}),_0x2cbebd[_0x5bb05a(0x131)](_0x2192e3[_0x5bb05a(0xe7)],{'type':_0x5bb05a(0x1db),'placeholder':_0x3e95c3['t'](_0x5bb05a(0x1a5)),'value':_0x5d542e,'disabled':_0x114e7e,'autoComplete':_0x5bb05a(0x215),'onChange':_0x130160}),_0x2cbebd['jsx']('p',{'className':_0x5bb05a(0x1cf),'children':_0x3e95c3['t']('mcpConfig.apiKeyHint')})]}),_0x498027&&_0x4bc242&&_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xdc),'children':[_0x2cbebd[_0x5bb05a(0x131)]('a',{'className':'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','role':_0x5bb05a(0x1d2),'onClick':()=>_0x202c7f(!0x1),'children':_0x2cbebd['jsx'](_0x2d6fb5,{'className':'univer-size-4'})}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x2cbebd['jsx']('div',{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0xd7),'children':'🚀'})}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':_0x5bb05a(0x152),'children':[_0x2cbebd[_0x5bb05a(0x131)]('h4',{'className':_0x5bb05a(0x1c4),'children':_0x3e95c3['t']('mcpConfig.apiApplyInfo.title')}),_0x2cbebd[_0x5bb05a(0x131)]('p',{'className':_0x5bb05a(0xb6),'children':_0x3e95c3['t'](_0x5bb05a(0x140))}),_0x2cbebd[_0x5bb05a(0x131)]('div',{'className':_0x5bb05a(0x149),'children':_0xb0529d&&_0x2cbebd['jsxs']('a',{'className':_0x5bb05a(0x1af),'href':_0x5c7686,'target':_0x5bb05a(0x21b),'rel':_0x5bb05a(0x205),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'children':'🤖'}),_0x3e95c3['t'](_0x5bb05a(0x1ae)),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x3e95c3['t'](_0x5bb05a(0x180))]})]})]})]}),_0x1701ca[_0x5bb05a(0x14a)]&&_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x20a),'children':[_0x2cbebd['jsxs']('h4',{'className':_0x5bb05a(0xff),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'children':'🔗'}),'\x20',_0x3e95c3['t'](_0x5bb05a(0x194))]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x210),'children':[_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1cd),'children':[_0x2cbebd['jsx']('p',{'className':_0x5bb05a(0x17a),'children':_0x3e95c3['t'](_0x5bb05a(0x20c))}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-space-y-2','children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xf2),'children':_0x3e95c3['t']('mcpConfig.configStepTitle')}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd['jsx']('span',{'className':_0x5bb05a(0x137),'children':'1'}),_0x3e95c3['t'](_0x5bb05a(0x156))]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0x137),'children':'2'}),_0x3e95c3['t'](_0x5bb05a(0xc4))]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0x137),'children':'3'}),_0x3e95c3['t'](_0x5bb05a(0x15a))]})]})]})]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x16c),'children':[_0x2cbebd['jsx'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xf2),'children':_0x5bb05a(0x116)}),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x157),'children':_0x2cbebd[_0x5bb05a(0x131)]('pre',{'className':_0x5bb05a(0x1c7),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x5bb05a(0x13f)+(_0x4b0878||_0x5bb05a(0x1ea)),'type':_0x5bb05a(0x11f),'headers':{'Authorization':_0x5bb05a(0x14d)+(_0x5d542e||_0x5bb05a(0x1c5))}}}},null,0x2)})})]}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1cd),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xf2),'children':_0x3e95c3['t'](_0x5bb05a(0x19a))}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x16c),'children':[_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x240),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1f6)}),_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1be),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x20f),'children':_0x5bb05a(0x1ec)}),_0x2cbebd['jsx'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1cf),'children':_0x3e95c3['t'](_0x5bb05a(0x14b))})]})]}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x2cbebd[_0x5bb05a(0x131)]('div',{'className':_0x5bb05a(0x1f6)}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x1be),'children':[_0x2cbebd['jsx'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x20f),'children':_0x5bb05a(0x170)}),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x3e95c3['t'](_0x5bb05a(0x206))})]})]})]})]})]})]}),_0x2cbebd['jsx'](_0x2192e3['Button'],{'onClick':_0x33ae51,'disabled':!_0x26bc41||_0x114e7e,'className':_0x5bb05a(0x1cc),'children':_0x114e7e?_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'children':'⟲'}),_0x3e95c3['t']('mcpConfig.saving')]}):_0x2cbebd[_0x5bb05a(0x105)]('span',{'className':_0x5bb05a(0x172),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x2e0aa0,{}),_0x3e95c3['t'](_0x5bb05a(0x219))]})}),_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0xd1),'children':_0x2cbebd['jsxs'](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x225),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xc6),{'className':_0x5bb05a(0x183),'children':'💡'}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'className':_0x5bb05a(0x119),'children':[_0x2cbebd[_0x5bb05a(0x131)](_0x5bb05a(0xdb),{'className':'univer-font-medium','children':_0x5bb05a(0x18f)}),_0x2cbebd[_0x5bb05a(0x105)](_0x5bb05a(0xdb),{'children':['•',_0x3e95c3['t'](_0x5bb05a(0x191))]}),_0x2cbebd[_0x5bb05a(0x105)]('div',{'children':['•',_0x3e95c3['t'](_0x5bb05a(0x229))]})]})]})})]})})]});}const _0xc1c378=_0x3c3006(0x12f),_0x32265d={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x522186=Object[_0x3c3006(0x138)],_0x33dc13=(_0xdf58bd,_0x499f2f,_0x5bb9bc,_0x4001bb)=>{const _0x4b3357=_0x3c3006;for(var _0x360a04=_0x4001bb>0x1?void 0x0:_0x4001bb?_0x522186(_0x499f2f,_0x5bb9bc):_0x499f2f,_0x6ea042=_0xdf58bd[_0x4b3357(0xda)]-0x1,_0x2102a8;_0x6ea042>=0x0;_0x6ea042--)(_0x2102a8=_0xdf58bd[_0x6ea042])&&(_0x360a04=_0x2102a8(_0x360a04)||_0x360a04);return _0x360a04;},_0xb710c9=(_0x57e4ba,_0x312a27)=>(_0x5db554,_0x407fa4)=>_0x312a27(_0x5db554,_0x407fa4,_0x57e4ba);const _0x43ef9c=_0x3c3006(0xc3),_0x165025=_0x3c3006(0x145);_0x5b8305['MCPConfigUIController']=class extends _0x35ef1b[_0x3c3006(0xc2)]{constructor(_0x4222ab,_0x22d125,_0x2f46e2,_0x5c6aa5,_0x3700ef,_0x2ff90b,_0x3323ef,_0x181bd5,_0x240d73,_0x56bd1f){const _0x59547d=_0x3c3006;super(),_0x85b48d(this,_0x59547d(0x1f0),new _0x2291bd[(_0x59547d(0xf6))](!0x1)),_0x85b48d(this,_0x59547d(0x246),new _0x2291bd[(_0x59547d(0xf6))]({})),_0x85b48d(this,'_config$',new _0x2291bd[(_0x59547d(0xf6))]({})),_0x85b48d(this,_0x59547d(0x22b),new _0x2291bd[(_0x59547d(0xf6))]('')),_0x85b48d(this,_0x59547d(0x10b),async _0x4fcae8=>{const _0x329f9d=_0x59547d;var _0x4f9f0b,_0x197321;this[_0x329f9d(0x1f0)]['next'](!0x0);try{const _0x2fa73f=await this[_0x329f9d(0x230)](_0x4fcae8);if(!_0x2fa73f[_0x329f9d(0x23c)]){this[_0x329f9d(0x15e)]['show']({'type':_0x2192e3[_0x329f9d(0x218)][_0x329f9d(0x1e3)],'content':_0x2fa73f[_0x329f9d(0x1ff)]||this[_0x329f9d(0x1de)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x4fcae8[_0x329f9d(0x247)]?await this[_0x329f9d(0x1b3)][_0x329f9d(0x1ac)](_0x43ef9c,_0x4fcae8[_0x329f9d(0x247)][_0x329f9d(0x204)]()):await this[_0x329f9d(0x1b3)][_0x329f9d(0xce)](_0x43ef9c),this[_0x329f9d(0x22b)][_0x329f9d(0x239)](((_0x4f9f0b=_0x4fcae8[_0x329f9d(0x247)])==null?void 0x0:_0x4f9f0b[_0x329f9d(0x204)]())||''),this[_0x329f9d(0xc7)][_0x329f9d(0x21c)]({'Authorization':_0x329f9d(0x14d)+((_0x197321=_0x4fcae8[_0x329f9d(0x247)])==null?void 0x0:_0x197321[_0x329f9d(0x204)]())}),this[_0x329f9d(0x15e)][_0x329f9d(0xc5)]({'type':_0x2192e3[_0x329f9d(0x218)]['Success'],'content':this[_0x329f9d(0x1de)]['t'](_0x329f9d(0x1e6))}),setTimeout(()=>{const _0x1790e4=_0x329f9d;this[_0x1790e4(0x18d)][_0x1790e4(0x1b0)](_0x165025);},0x320);}catch(_0x3288f0){this[_0x329f9d(0x14c)][_0x329f9d(0x187)](_0x329f9d(0x127),_0x3288f0),this[_0x329f9d(0x15e)][_0x329f9d(0xc5)]({'type':_0x2192e3[_0x329f9d(0x218)][_0x329f9d(0x1e3)],'content':this[_0x329f9d(0x1de)]['t'](_0x329f9d(0x18b))});}finally{this[_0x329f9d(0x1f0)][_0x329f9d(0x239)](!0x1);}}),(this[_0x59547d(0x14f)]=_0x4222ab,this[_0x59547d(0x16f)]=_0x22d125,this[_0x59547d(0xb9)]=_0x2f46e2,this[_0x59547d(0x1b3)]=_0x5c6aa5,this[_0x59547d(0x18d)]=_0x3700ef,this[_0x59547d(0x15e)]=_0x2ff90b,this[_0x59547d(0x248)]=_0x3323ef,this[_0x59547d(0x1de)]=_0x181bd5,this[_0x59547d(0x14c)]=_0x240d73,this[_0x59547d(0xc7)]=_0x56bd1f,this[_0x59547d(0xdd)](),this[_0x59547d(0x1aa)](),this[_0x59547d(0x185)]());}['showConfigPanel'](){const _0x5b1299=_0x3c3006,_0x45368a=this[_0x5b1299(0xb9)]['getConfig'](_0xc1c378);_0x45368a!=null&&_0x45368a[_0x5b1299(0x14a)]&&this[_0x5b1299(0x18d)][_0x5b1299(0xfb)]({'id':_0x165025,'title':{'title':this[_0x5b1299(0x1de)]['t'](_0x5b1299(0x1b2))},'children':{'label':_0x5b1299(0x1a6)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x9a86=_0x5b1299;this[_0x9a86(0x18d)]['close'](_0x165025);}});}['getCurrentConfig'](){const _0x5b40ed=_0x3c3006;return this[_0x5b40ed(0x246)]['value'];}[_0x3c3006(0x185)](){const _0x5c0018=_0x3c3006;this[_0x5c0018(0x1ef)](this[_0x5c0018(0x248)]['register'](_0x5c0018(0x1a6),this['_createConfigPanelComponent']()));}[_0x3c3006(0x1c9)](){const _0x26350c=_0x3c3006;return _0x18cbad[_0x26350c(0x176)](()=>{const _0x1f364e=_0x26350c;var _0xf95ed0,_0x294718,_0x1b7166;return _0x2cbebd[_0x1f364e(0x131)](_0x1054d1,{'config':this[_0x1f364e(0x15f)][_0x1f364e(0x102)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x1f364e(0x102)],'currentApiKey$':this[_0x1f364e(0x22b)],'onSave':this[_0x1f364e(0x10b)],'loading':this[_0x1f364e(0x1f0)]['value'],'connectionStatus$':(_0xf95ed0=this[_0x1f364e(0xc7)])==null?void 0x0:_0xf95ed0['connectionStatus$'],'connectionError$':(_0x294718=this[_0x1f364e(0xc7)])==null?void 0x0:_0x294718['connectionError$'],'currentSessionId$':(_0x1b7166=this[_0x1f364e(0xc7)])==null?void 0x0:_0x1b7166[_0x1f364e(0x238)]});},this['_injector']);}[_0x3c3006(0xdd)](){const _0x5243d4=_0x3c3006;this[_0x5243d4(0x1ef)](this[_0x5243d4(0xb9)][_0x5243d4(0x22d)](_0x59d020[_0x5243d4(0x184)])[_0x5243d4(0x20e)](_0x39e93e=>{const _0x59fd54=_0x5243d4;this[_0x59fd54(0x246)][_0x59fd54(0x239)](_0x39e93e||{});}));const _0x26b611=this['_configService'][_0x5243d4(0x1fc)](_0x59d020[_0x5243d4(0x184)]);this[_0x5243d4(0x246)][_0x5243d4(0x239)](_0x26b611||{}),this['disposeWithMe'](this['_configService']['subscribeConfigValue$'](_0xc1c378)['subscribe'](_0x4d5913=>{const _0x1767ff=_0x5243d4;this[_0x1767ff(0x15f)][_0x1767ff(0x239)](_0x4d5913||{});}));const _0x2966f1=this['_configService'][_0x5243d4(0x1fc)](_0xc1c378);this[_0x5243d4(0x15f)][_0x5243d4(0x239)](_0x2966f1||{});}async['_loadStoredApiKey'](){const _0x4cff41=_0x3c3006,_0x7fa40=this[_0x4cff41(0xb9)][_0x4cff41(0x1fc)](_0xc1c378);if(!(_0x7fa40!=null&&_0x7fa40[_0x4cff41(0x14a)]))return;const _0x5106de=await this[_0x4cff41(0x1b3)][_0x4cff41(0xf9)](_0x43ef9c);_0x5106de&&(this['_mcpConnectionController'][_0x4cff41(0x21c)]({'Authorization':_0x4cff41(0x14d)+_0x5106de}),this[_0x4cff41(0x22b)][_0x4cff41(0x239)](_0x5106de));}async['_validateConfig'](_0x2255dc){const _0x18f5bf=_0x3c3006;if(!_0x2255dc['apiKey']||_0x2255dc[_0x18f5bf(0x247)][_0x18f5bf(0x204)]()[_0x18f5bf(0xda)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x18f5bf(0x1de)]['t'](_0x18f5bf(0x109))};if(_0x2255dc[_0x18f5bf(0x247)]['trim']()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x18f5bf(0x1de)]['t'](_0x18f5bf(0x18a))};try{const _0x2d0d78=await this[_0x18f5bf(0x14f)]['get'](_0x59d020[_0x18f5bf(0x1d8)])[_0x18f5bf(0x1ee)](_0x2255dc[_0x18f5bf(0x247)][_0x18f5bf(0x204)]());return _0x2d0d78[_0x18f5bf(0x23c)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2d0d78[_0x18f5bf(0x187)]||this[_0x18f5bf(0x1de)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x6649e6){return console[_0x18f5bf(0x192)](_0x18f5bf(0x216),_0x6649e6),{'isValid':!0x0};}}},_0x5b8305[_0x3c3006(0x202)]=_0x33dc13([_0xb710c9(0x0,_0x35ef1b[_0x3c3006(0x1b7)](_0x35ef1b['Injector'])),_0xb710c9(0x1,_0x18cbad[_0x3c3006(0xd8)]),_0xb710c9(0x2,_0x35ef1b[_0x3c3006(0x142)]),_0xb710c9(0x3,_0x35ef1b['ILocalStorageService']),_0xb710c9(0x4,_0x18cbad['IDialogService']),_0xb710c9(0x5,_0x18cbad[_0x3c3006(0xf5)]),_0xb710c9(0x6,_0x35ef1b[_0x3c3006(0x1b7)](_0x18cbad[_0x3c3006(0x12a)])),_0xb710c9(0x7,_0x35ef1b[_0x3c3006(0x1b7)](_0x35ef1b[_0x3c3006(0x198)])),_0xb710c9(0x8,_0x35ef1b[_0x3c3006(0x15c)]),_0xb710c9(0x9,_0x35ef1b[_0x3c3006(0x1b7)](_0x59d020[_0x3c3006(0x1d8)]))],_0x5b8305['MCPConfigUIController']);const _0x23e4a0={'id':_0x3c3006(0x21d),'type':_0x35ef1b[_0x3c3006(0x18e)]['COMMAND'],'handler':async(_0x47f6bd,_0x41112d)=>(_0x47f6bd[_0x3c3006(0x13b)](_0x5b8305[_0x3c3006(0x202)])[_0x3c3006(0x11b)](),!0x0)};function _0x5d6a2e(_0x554c78,_0x3f4135){const _0x32bbde=_0x3c3006;switch(_0x554c78){case _0x59d020['MCPConnectionStatus'][_0x32bbde(0x124)]:return'mcpStatus.disconnected';case _0x59d020[_0x32bbde(0x13a)][_0x32bbde(0x11c)]:return _0x32bbde(0x14e);case _0x59d020['MCPConnectionStatus'][_0x32bbde(0x196)]:return'mcpStatus.connected';case _0x59d020['MCPConnectionStatus'][_0x32bbde(0xd3)]:switch(_0x3f4135){case _0x59d020[_0x32bbde(0x16a)]['UNAUTHORIZED']:return _0x32bbde(0x126);case _0x59d020[_0x32bbde(0x16a)]['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case _0x59d020['MCPConnectionError'][_0x32bbde(0x134)]:return'mcpStatus.networkError';case _0x59d020[_0x32bbde(0x16a)]['MAX_RETRIES_EXCEEDED']:return _0x32bbde(0x201);default:return _0x32bbde(0x143);}case _0x59d020[_0x32bbde(0x13a)]['RETRYING']:return _0x32bbde(0x158);default:return _0x32bbde(0x160);}}function _0x261233(_0x2dfea5,_0x581400,_0x9c405e,_0x70accd=!0x0){const _0x398eaf=_0x3c3006,_0x126e4f=_0x5d6a2e(_0x2dfea5,_0x581400),_0x207310=_0x9c405e['t'](_0x126e4f);return _0x70accd?_0x2dfea5===_0x59d020[_0x398eaf(0x13a)]['DISCONNECTED']&&_0x581400===_0x59d020[_0x398eaf(0x16a)]['UNAUTHORIZED']?_0x207310+_0x398eaf(0x100)+_0x9c405e['t'](_0x398eaf(0x197)):_0x2dfea5===_0x59d020[_0x398eaf(0x13a)][_0x398eaf(0x196)]?''+_0x207310:_0x2dfea5===_0x59d020[_0x398eaf(0x13a)][_0x398eaf(0x124)]||_0x2dfea5===_0x59d020['MCPConnectionStatus'][_0x398eaf(0xd3)]?_0x207310+_0x398eaf(0x100)+_0x9c405e['t'](_0x398eaf(0x161)):_0x207310:_0x207310;}function _0x54c255(_0x3692ff){const _0x592ba8=_0x3c3006;switch(_0x3692ff){case _0x59d020[_0x592ba8(0x13a)]['CONNECTED']:return'univer-text-green-500';case _0x59d020[_0x592ba8(0x13a)][_0x592ba8(0x11c)]:case _0x59d020[_0x592ba8(0x13a)][_0x592ba8(0x15b)]:return _0x592ba8(0x1f8);case _0x59d020[_0x592ba8(0x13a)][_0x592ba8(0xd3)]:case _0x59d020[_0x592ba8(0x13a)][_0x592ba8(0x124)]:return'univer-text-red-500';default:return _0x592ba8(0xd2);}}function _0x1f823(_0xe68a7f){const _0x45c2e6=_0x3c3006,{status$:_0x39316b,error$:_0x46a8a1,onConfigure:_0x14fc25,showClickable:_0x3e5c17=!0x0}=_0xe68a7f,_0x58ae5c=_0x18cbad['useObservable'](_0x39316b,_0x59d020['MCPConnectionStatus'][_0x45c2e6(0x124)]),_0x5088c8=_0x18cbad['useObservable'](_0x46a8a1,_0x59d020[_0x45c2e6(0x16a)][_0x45c2e6(0x12d)]),_0x504530=_0x18cbad[_0x45c2e6(0x1d6)](_0x35ef1b[_0x45c2e6(0x198)]),_0x3b87d9=_0x58ae5c===_0x59d020[_0x45c2e6(0x13a)][_0x45c2e6(0x196)];_0x58ae5c===_0x59d020[_0x45c2e6(0x13a)][_0x45c2e6(0x11c)]||_0x59d020[_0x45c2e6(0x13a)]['RETRYING'];const _0x1c4748=_0x504530['t'](_0x5d6a2e(_0x58ae5c,_0x5088c8)),_0x54eb87=_0x261233(_0x58ae5c,_0x5088c8,_0x504530,_0x3e5c17),_0x157a5d=_0x54c255(_0x58ae5c),_0x312751=_0x3b87d9?_0x2cbebd[_0x45c2e6(0x131)](_0x59c0d6,{}):_0x2cbebd[_0x45c2e6(0x131)](_0x16bb40,{}),_0x43b4f0=_0x3c333b[_0x45c2e6(0x245)](()=>{_0x3e5c17&&_0x14fc25&&_0x14fc25();},[_0x3e5c17,_0x14fc25]);function _0x4b0109(){const _0x436b5c=_0x45c2e6;return _0x2cbebd[_0x436b5c(0x105)](_0x436b5c(0xdb),{'className':_0x2192e3[_0x436b5c(0x1dd)](_0x436b5c(0x108),_0x3e5c17&&_0x14fc25&&_0x436b5c(0xbc)),'role':_0x436b5c(0x1d2),'onClick':_0x3e5c17&&_0x14fc25?_0x43b4f0:void 0x0,'children':[_0x2cbebd[_0x436b5c(0x131)]('div',{'className':_0x2192e3[_0x436b5c(0x1dd)](_0x436b5c(0x21e),_0x157a5d),'children':_0x312751}),_0x2cbebd[_0x436b5c(0x131)](_0x436b5c(0xdb),{'className':_0x436b5c(0x1f5),'children':_0x1c4748})]});}return _0x2cbebd['jsx'](_0x2192e3[_0x45c2e6(0x1c1)],{'title':_0x54eb87,'placement':_0x45c2e6(0x103),'children':_0x4b0109()});}var _0x11a9ba=Object[_0x3c3006(0x138)],_0x1198a6=(_0x31925f,_0x4b14ef,_0x3139f7,_0x305e89)=>{for(var _0x40a39d=_0x305e89>0x1?void 0x0:_0x305e89?_0x11a9ba(_0x4b14ef,_0x3139f7):_0x4b14ef,_0x3fca6e=_0x31925f['length']-0x1,_0xfc8dd2;_0x3fca6e>=0x0;_0x3fca6e--)(_0xfc8dd2=_0x31925f[_0x3fca6e])&&(_0x40a39d=_0xfc8dd2(_0x40a39d)||_0x40a39d);return _0x40a39d;},_0x2e253f=(_0x32ce5e,_0x4f1112)=>(_0x27440d,_0x42dd62)=>_0x4f1112(_0x27440d,_0x42dd62,_0x32ce5e);_0x5b8305[_0x3c3006(0x113)]=class extends _0x35ef1b[_0x3c3006(0xc2)]{constructor(_0x5e7395,_0x1726d1,_0x419a0a,_0x2c7e07){const _0x3b5829=_0x3c3006;super(),this[_0x3b5829(0x14f)]=_0x5e7395,this[_0x3b5829(0x175)]=_0x1726d1,this[_0x3b5829(0x16f)]=_0x419a0a,this['_configService']=_0x2c7e07,this['_initAutoConnect'](),this['_initStatusComponent']();}[_0x3c3006(0x115)](){const _0xb09f4c=_0x3c3006,_0x413799=this[_0xb09f4c(0xb9)]['getConfig'](_0xc1c378);_0x413799!=null&&_0x413799[_0xb09f4c(0x14a)]&&(this[_0xb09f4c(0x175)]['enableAutoConnect']=!0x1);}[_0x3c3006(0x1e9)](){const _0x349cf9=_0x3c3006,_0x53d592=this['_configService'][_0x349cf9(0x1fc)](_0xc1c378);(_0x53d592==null?void 0x0:_0x53d592[_0x349cf9(0x121)])!==!0x1&&this['disposeWithMe'](this[_0x349cf9(0x16f)][_0x349cf9(0x226)](_0x18cbad[_0x349cf9(0x162)][_0x349cf9(0x1ab)],()=>{const _0x464026=_0x349cf9;var _0x1d7f1d;return _0x18cbad[_0x464026(0x176)](_0x23d780({'status$':this[_0x464026(0x175)][_0x464026(0x237)],'error$':this['_connectionController']['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x1d7f1d=_0x53d592==null?void 0x0:_0x53d592[_0x464026(0x14a)])!=null?_0x1d7f1d:!0x1}),this[_0x464026(0x14f)]);}));}[_0x3c3006(0x16d)](){const _0x388317=_0x3c3006;this[_0x388317(0x14f)][_0x388317(0x13b)](_0x5b8305[_0x388317(0x202)])[_0x388317(0x11b)]();}},_0x5b8305[_0x3c3006(0x113)]=_0x1198a6([_0x2e253f(0x0,_0x35ef1b['Inject'](_0x35ef1b[_0x3c3006(0x236)])),_0x2e253f(0x1,_0x35ef1b[_0x3c3006(0x1b7)](_0x59d020['MCPConnectionController'])),_0x2e253f(0x2,_0x18cbad[_0x3c3006(0xd8)]),_0x2e253f(0x3,_0x35ef1b[_0x3c3006(0x142)])],_0x5b8305[_0x3c3006(0x113)]);function _0x23d780(_0x28bfe3){const {status$:_0x4a0925,error$:_0x1be90,onConfigure:_0x50e7f0,showClickable:_0x4df17d}=_0x28bfe3;return function(){const _0x5d4bbc=_0x5ac4;return _0x2cbebd[_0x5d4bbc(0x131)](_0x1f823,{'status$':_0x4a0925,'error$':_0x1be90,'onConfigure':_0x50e7f0,'showClickable':_0x4df17d});};}function _0x1be6b4(_0x48d607){const _0x14f808=_0x3c3006;return{'id':_0x23e4a0['id'],'type':_0x18cbad[_0x14f808(0xf3)]['BUTTON'],'icon':_0x14f808(0x10f),'title':'mcpConfig.title','tooltip':_0x14f808(0x1b2)};}const _0x3219a9={[_0x18cbad['RibbonStartGroup'][_0x3c3006(0x1d4)]]:{[_0x23e4a0['id']]:{'order':0xa,'menuItemFactory':_0x1be6b4}}};var _0x4c05f6=Object[_0x3c3006(0x138)],_0x5657b5=(_0x28bde9,_0x1e3e14,_0x145aaa,_0x5077bf)=>{const _0x6ffc72=_0x3c3006;for(var _0x5ed2cc=_0x5077bf>0x1?void 0x0:_0x5077bf?_0x4c05f6(_0x1e3e14,_0x145aaa):_0x1e3e14,_0x3bc07e=_0x28bde9[_0x6ffc72(0xda)]-0x1,_0x41a32c;_0x3bc07e>=0x0;_0x3bc07e--)(_0x41a32c=_0x28bde9[_0x3bc07e])&&(_0x5ed2cc=_0x41a32c(_0x5ed2cc)||_0x5ed2cc);return _0x5ed2cc;},_0x93fb5d=(_0x20f681,_0x4ccfe4)=>(_0x4941c6,_0x33f00f)=>_0x4ccfe4(_0x4941c6,_0x33f00f,_0x20f681);_0x5b8305[_0x3c3006(0x18c)]=class extends _0x35ef1b[_0x3c3006(0xc2)]{constructor(_0x477c45,_0x353402){const _0x2fc049=_0x3c3006;super(),this[_0x2fc049(0x23f)]=_0x477c45,this[_0x2fc049(0x1f9)]=_0x353402,this[_0x2fc049(0xd6)](),this[_0x2fc049(0xbd)]();}['_initializeCommands'](){const _0x3c07c3=_0x3c3006;[_0x23e4a0][_0x3c07c3(0x129)](_0x1db620=>{const _0x46586e=_0x3c07c3;this[_0x46586e(0x1ef)](this[_0x46586e(0x23f)]['registerCommand'](_0x1db620));});}[_0x3c3006(0xbd)](){const _0x5adcff=_0x3c3006;this[_0x5adcff(0x1f9)]['mergeMenu'](_0x3219a9);}},_0x5b8305[_0x3c3006(0x18c)]=_0x5657b5([_0x93fb5d(0x0,_0x35ef1b['ICommandService']),_0x93fb5d(0x1,_0x18cbad[_0x3c3006(0x1b9)])],_0x5b8305[_0x3c3006(0x18c)]);const _0x1e870f={'mcpStatus':{'disconnected':_0x3c3006(0x148),'connecting':_0x3c3006(0x222),'connected':_0x3c3006(0x1b4),'failed':_0x3c3006(0x1fa),'retrying':_0x3c3006(0x244),'unknown':_0x3c3006(0xbf),'unauthorized':_0x3c3006(0x146),'sessionOccupied':_0x3c3006(0x213),'networkError':_0x3c3006(0x1a9),'maxRetriesExceeded':_0x3c3006(0xd4),'clickToConnect':_0x3c3006(0x1bf),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x3c3006(0x116),'description':_0x3c3006(0xc9),'apiKey':_0x3c3006(0xe5),'apiKeyPlaceholder':_0x3c3006(0x1b5),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x3c3006(0xfd),'enableAuthHint':_0x3c3006(0x150),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x3c3006(0xcd),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x3c3006(0x1ce),'configStep1':_0x3c3006(0x19f),'configStep2':_0x3c3006(0xd5),'configStep3':_0x3c3006(0xfc),'sessionId':_0x3c3006(0x125),'sessionIdDescription':_0x3c3006(0xe8),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3c3006(0x10d),'maxRetries':_0x3c3006(0xca),'save':'Save\x20Configuration','saving':_0x3c3006(0xed),'note1':_0x3c3006(0xe4),'note2':_0x3c3006(0x17f),'configSaved':_0x3c3006(0x101),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x3c3006(0x171),'univerAiLabel':_0x3c3006(0x174),'getStarted':_0x3c3006(0x181)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x3c3006(0x139),'invalidConfig':_0x3c3006(0x208),'invalidApiKey':_0x3c3006(0x16b)},'connectionStatus':{'disconnected':_0x3c3006(0xe2),'connecting':_0x3c3006(0x209),'connected':_0x3c3006(0x132),'failed':_0x3c3006(0xea),'retrying':_0x3c3006(0x23e)},'connectionError':{'unauthorized':_0x3c3006(0x241),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x3c3006(0xe3),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x4eae2c={'mcpStatus':{'disconnected':_0x3c3006(0x1cb),'connecting':_0x3c3006(0x21f),'connected':_0x3c3006(0x228),'failed':_0x3c3006(0x1e5),'retrying':_0x3c3006(0x11a),'unknown':'MCP\x20状态未知','unauthorized':_0x3c3006(0x151),'sessionOccupied':_0x3c3006(0x141),'networkError':_0x3c3006(0xef),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x3c3006(0x1d5),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x3c3006(0x10c),'description':_0x3c3006(0x135),'apiKey':_0x3c3006(0xd9),'apiKeyPlaceholder':_0x3c3006(0x117),'apiKeyHint':_0x3c3006(0x166),'enableAuth':_0x3c3006(0x249),'enableAuthHint':_0x3c3006(0x164),'connectionInfo':_0x3c3006(0x22f),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x3c3006(0x221),'configStepTitle':_0x3c3006(0x19d),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x3c3006(0xe9),'sessionIdDescription':_0x3c3006(0x1e2),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x3c3006(0x1f7),'maxRetries':'最大重试次数','save':_0x3c3006(0x182),'saving':'保存中...','note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x3c3006(0x195),'configError':_0x3c3006(0x173),'apiApplyInfo':{'title':_0x3c3006(0x186),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x3c3006(0x1ed),'getStarted':_0x3c3006(0x10a)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x3c3006(0x1fe),'invalidConfig':_0x3c3006(0x1c3),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x3c3006(0x232),'connecting':_0x3c3006(0x20d),'connected':_0x3c3006(0x22e),'failed':_0x3c3006(0x1a8),'retrying':_0x3c3006(0x1e1)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x3c3006(0x1c8),'networkError':_0x3c3006(0x233),'maxRetriesExceeded':_0x3c3006(0x1da)}}};var _0x40a208=Object['defineProperty'],_0x5adf98=Object[_0x3c3006(0x138)],_0x4730b0=(_0x169829,_0x40ff62,_0x50acc9)=>_0x40ff62 in _0x169829?_0x40a208(_0x169829,_0x40ff62,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50acc9}):_0x169829[_0x40ff62]=_0x50acc9,_0xb9a627=(_0x6fe2ae,_0x98f28f,_0x430802,_0x20f682)=>{const _0x5aa487=_0x3c3006;for(var _0x56eb77=_0x20f682>0x1?void 0x0:_0x20f682?_0x5adf98(_0x98f28f,_0x430802):_0x98f28f,_0x2e3ecb=_0x6fe2ae[_0x5aa487(0xda)]-0x1,_0x51ad58;_0x2e3ecb>=0x0;_0x2e3ecb--)(_0x51ad58=_0x6fe2ae[_0x2e3ecb])&&(_0x56eb77=_0x51ad58(_0x56eb77)||_0x56eb77);return _0x56eb77;},_0x30e35b=(_0xa525b3,_0x4725c4)=>(_0x27f3a8,_0xdec6fa)=>_0x4725c4(_0x27f3a8,_0xdec6fa,_0xa525b3),_0x29dd37=(_0x1d3aa1,_0x31dede,_0x1a5d41)=>_0x4730b0(_0x1d3aa1,_0x31dede+'',_0x1a5d41);_0x5b8305[_0x3c3006(0x1d9)]=class extends _0x35ef1b[_0x3c3006(0x22a)]{constructor(_0x3f677b=_0x32265d,_0x46153e,_0x189b60,_0x274548,_0xe73aad,_0x21a3d4){const _0xb889e3=_0x3c3006;super(),this[_0xb889e3(0x153)]=_0x3f677b,this[_0xb889e3(0x14f)]=_0x46153e,this[_0xb889e3(0xb9)]=_0x189b60,this[_0xb889e3(0x16f)]=_0x274548,this[_0xb889e3(0x1b3)]=_0xe73aad,this[_0xb889e3(0x1de)]=_0x21a3d4;const {..._0x5e1333}=_0x35ef1b[_0xb889e3(0x159)]({},_0x32265d,this['_config']);this[_0xb889e3(0xb9)][_0xb889e3(0x179)](_0xc1c378,_0x5e1333);}async['onStarting'](){const _0x281ed0=_0x3c3006,_0x54b39a=[[_0x5b8305[_0x281ed0(0x113)]],[_0x5b8305[_0x281ed0(0x202)]],[_0x5b8305[_0x281ed0(0x18c)]]];this['_injector'][_0x281ed0(0xf0)](_0x28dbcf[_0x281ed0(0x13c)])||_0x54b39a[_0x281ed0(0x1df)]([_0x28dbcf[_0x281ed0(0x13c)],{'useClass':_0x28dbcf[_0x281ed0(0x1f2)]}]),_0x54b39a['forEach'](_0x5a22f1=>this['_injector'][_0x281ed0(0x1fd)](_0x5a22f1)),this[_0x281ed0(0x14f)][_0x281ed0(0x13b)](_0x5b8305[_0x281ed0(0x113)]),this[_0x281ed0(0x14f)][_0x281ed0(0x13b)](_0x5b8305[_0x281ed0(0x202)]),this[_0x281ed0(0x14f)]['get'](_0x5b8305['MCPUIMenuController']);}},_0x29dd37(_0x5b8305['UniverMCPUIPlugin'],_0x3c3006(0x110),_0x3c3006(0x15d)),_0x5b8305[_0x3c3006(0x1d9)]=_0xb9a627([_0x35ef1b[_0x3c3006(0x118)](_0x59d020[_0x3c3006(0xd0)]),_0x30e35b(0x1,_0x35ef1b[_0x3c3006(0x1b7)](_0x35ef1b['Injector'])),_0x30e35b(0x2,_0x35ef1b['IConfigService']),_0x30e35b(0x3,_0x18cbad[_0x3c3006(0xd8)]),_0x30e35b(0x4,_0x35ef1b[_0x3c3006(0x11e)]),_0x30e35b(0x5,_0x35ef1b['Inject'](_0x35ef1b[_0x3c3006(0x198)]))],_0x5b8305[_0x3c3006(0x1d9)]),_0x5b8305['MCPConfigPanel']=_0x1054d1,_0x5b8305[_0x3c3006(0xf7)]=_0x1f823,_0x5b8305['OpenMCPConfigPanelCommand']=_0x23e4a0,_0x5b8305[_0x3c3006(0x177)]=_0x1e870f,_0x5b8305[_0x3c3006(0x19e)]=_0x4eae2c,Object[_0x3c3006(0x1ca)](_0x5b8305,Symbol[_0x3c3006(0x169)],{'value':_0x3c3006(0x212)});}));function _0x4598(){const _0x18e745=['Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_initializeCommands','univer-text-blue-600','IUIPartsService','API\x20密钥','length','div','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','_initConfigSync','mcpConfig.connectionError.sessionOccupied','257211cIFQsH','help-icon','mcpConfig.connectionStatus.failed','Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key','@univerjs/network','Input','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','会话ID','Connection\x20Failed','useObservable','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Saving...','children','MCP:\x20网络错误','has','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','MenuItemType','univer-bg-blue-500','IMessageService','BehaviorSubject','MCPStatusDisplay','UniverIcon','getItem','white','open','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20Authentication','on-line-icon','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','\x20-\x20','Configuration\x20saved\x20successfully','value','bottom','assign','jsxs','45mmNIGZ','mcpConfig.description','univer-flex\x20univer-items-center','mcpConfig.validation.apiKeyRequired','几秒钟内获取您的\x20API\x20密钥','_handleConfigSave','MCP\x20配置','Configuration\x20Parameters:','clipPath','MenuIcon','pluginName','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','function','MCPConnectionUIController','mcpConfig.connectionStatus.connecting','_initAutoConnect','MCP\x20Configuration','请输入您的\x20API\x20密钥','DependentOn','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','MCP\x20重连中...','showConfigPanel','CONNECTING','UniverProMcp','ILocalStorageService','http','toString','showStatus','xlink:href','round','DISCONNECTED','Session\x20ID','mcpStatus.unauthorized','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','forEach','ComponentManager','none','label','NONE','M0\x200H16V16H0z','mcp-ui.config','univer-text-sm\x20univer-font-medium','jsx','Connected','univer-text-sm\x20univer-text-gray-500','NETWORK_ERROR','配置\x20MCP\x20使用\x20AI\x20操作电子表格','@univerjs/core','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','getOwnPropertyDescriptor','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCPConnectionStatus','get','ISocketService','random','univer-flex\x20univer-items-start\x20univer-gap-2','https://mcp.univer.ai/mcp/?univer_session_id=','mcpConfig.apiApplyInfo.description','MCP:\x20会话\x20ID\x20已被占用','IConfigService','mcpStatus.failed','univer-flex\x20univer-items-center\x20univer-gap-3','mcp-config-dialog','MCP:\x20Unauthorized','use','MCP\x20Disconnected','univer-flex\x20univer-flex-wrap\x20univer-gap-2','showDeveloperTools','mcpConfig.sessionIdDescription','_logService','Bearer\x20','mcpStatus.connecting','_injector','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20未授权','univer-flex-1','_config','forwardRef','CloseIcon','mcpConfig.configStep1','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','mcpStatus.retrying','merge','mcpConfig.configStep3','RETRYING','ILogService','MCP_UI_PLUGIN','_messageService','_config$','mcpStatus.unknown','mcpStatus.clickToConnect','BuiltInUIPart','colorChannel1','启用身份验证以获得安全连接','UNAUTHORIZED','您的\x20API\x20密钥将在此浏览器中本地存储','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','UniverProMcpUi','toStringTag','MCPConnectionError','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-space-y-2','_handleConfigure','CheckMarkIcon','_uiPartsService','Authorization:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univer-flex\x20univer-items-center\x20univer-gap-2','配置保存失败','Univer\x20AI\x20Console','_connectionController','connectInjector','enUS','@univerjs/ui','setConfig','univer-text-xs\x20univer-text-gray-600','svg','UniverNetwork','UniverDesign','mcpConfig.connectionError.unauthorized','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','mcpConfig.apiApplyInfo.getStarted','Get\x20your\x20API\x20key\x20in\x20seconds','保存配置','univer-shrink-0\x20univer-text-blue-500','MCP_PLUGIN_CONFIG_KEY','_registerComponent','什么是\x20API\x20密钥?','error','0\x200\x2017\x2016','1333712UAQyNe','mcpConfig.validation.apiKeyTooShort','mcpConfig.configError','MCPUIMenuController','_dialogService','CommandType','Configuration\x20Notes:','mcpConfig.connectionStatus.connected','mcpConfig.note1','warn','mcpServerUrl','mcpConfig.connectionInfo','配置保存成功','CONNECTED','mcpStatus.clickToConfigure','LocaleService','https://console.univer.plus','mcpConfig.configParameters','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','0\x200\x2016\x2016','配置步骤:','zhCN','Copy\x20the\x20JSON\x20configuration\x20below','idSuffix','rxjs','currentColor','3130195wKaGtW','path','mcpConfig.apiKeyPlaceholder','MCPConfigPanel','univer-bg-red-500','连接失败','MCP:\x20Network\x20Error','_loadStoredApiKey','HEADER_MENU','setItem','univer.ai','mcpConfig.apiApplyInfo.univerAiLabel','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','close','symbol','mcpConfig.title','_localStorageService','MCP\x20Connected','Enter\x20your\x20API\x20key','replace','Inject','on-line-icon_clip0_910_349','IMenuManagerService','check-mark-icon','displayName','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-space-y-5','univer-min-w-0\x20univer-flex-1','Click\x20to\x20connect\x20MCP','mcpConfig.apiApplyInfo.title','Tooltip','univer-bg-green-500','配置无效','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','<API_KEY>','https://console.univer.ai','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','会话\x20ID\x20已被占用,请稍后再试','_createConfigPanelComponent','defineProperty','MCP\x20已断开','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','univer-space-y-3','Configuration\x20Steps:','univer-text-xs\x20univer-text-gray-500','SESSION_ID_OCCUPIED','amd','button','42132cLLMsH','OTHERS','点击连接\x20MCP','useDependency','translate(.97)','MCPConnectionController','UniverMCPUIPlugin','超出最大重试次数,请稍后再试','text','503134YfwBMn','clsx','_localeService','push','defs','重连中...','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Error','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCP\x20连接失败','mcpConfig.configSaved','entries','evenodd','_initStatusComponent','<SESSION_ID>','MAX_RETRIES_EXCEEDED','univer_session_id:','Univer\x20AI\x20控制台','validateApiKey','disposeWithMe','_loading$','@univerjs-pro/mcp','WebSocketService','univer.plus','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','配置参数:','univer-text-yellow-500','_menuManagerService','MCP\x20Connection\x20Failed','string','getConfig','add','API\x20密钥长度至少需要\x2010\x20位','errorMessage','React','mcpStatus.maxRetriesExceeded','MCPConfigUIController','2nrFlZd','trim','noopener\x20noreferrer','mcpConfig.authorizationDescription','includes','Invalid\x20configuration','Connecting...','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','url(#$1','mcpConfig.configInstructions','连接中...','subscribe','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','univer-space-y-4','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','Module','MCP:\x20Session\x20ID\x20Occupied','mask','off','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','2960125oBbRfZ','MessageType','mcpConfig.save','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','_blank','__setCustomHeaders','mcp-ui.command.openConfigPanel','univer-mr-2\x20univer-flex\x20univer-text-xl','MCP\x20连接中...','map','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCP\x20Connecting...','univer-bg-gray-500','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','univer-flex\x20univer-gap-3','registerComponent','OnLineIcon','MCP\x20已连接','mcpConfig.note2','Plugin','_apiKey$','HelpIcon','subscribeConfigValue$','已连接','MCP\x20客户端配置','_validateConfig','url(#on-line-icon_clip0_910_349)','未连接','网络连接错误,请检查您的网络连接','substring','useState','Injector','connectionStatus$','sessionId$','next','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','url(#off-line-icon_clip0_910_343)','isValid','fill','Retrying...','_commandService','univer-flex\x20univer-items-start\x20univer-gap-3','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','attrs','4620190HbwPPY','MCP\x20Retrying...','useCallback','_mcpCoreConfig$','apiKey','_componentManager','启用身份验证','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','_configService','http://www.w3.org/2000/svg','off-line-icon_clip0_910_343','\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','_initializeMenus','tag','MCP\x20Unknown\x20Status','react','close-icon','Disposable','mcp.apiKey','mcpConfig.configStep2','show','span','_mcpConnectionController','28BWckFl','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Max\x20Retries','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','1em','MCP\x20Client\x20Configuration','removeItem','createElement','UniverMCPPlugin','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-text-gray-500','FAILED','MCP:\x20Max\x20Retries\x20Exceeded'];_0x4598=function(){return _0x18e745;};return _0x4598();}