@univerjs-pro/mcp-ui 0.15.0 → 0.15.1-insiders.20260117-8ce4a01

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/index.js +1 -1
  14. package/lib/es/locale/ca-ES.js +1 -1
  15. package/lib/es/locale/en-US.js +1 -1
  16. package/lib/es/locale/es-ES.js +1 -1
  17. package/lib/es/locale/fa-IR.js +1 -1
  18. package/lib/es/locale/fr-FR.js +1 -1
  19. package/lib/es/locale/ja-JP.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/index.js +1 -1
  26. package/lib/locale/ca-ES.js +1 -1
  27. package/lib/locale/en-US.js +1 -1
  28. package/lib/locale/es-ES.js +1 -1
  29. package/lib/locale/fa-IR.js +1 -1
  30. package/lib/locale/fr-FR.js +1 -1
  31. package/lib/locale/ja-JP.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/ca-ES.js +1 -1
  39. package/lib/umd/locale/en-US.js +1 -1
  40. package/lib/umd/locale/es-ES.js +1 -1
  41. package/lib/umd/locale/fa-IR.js +1 -1
  42. package/lib/umd/locale/fr-FR.js +1 -1
  43. package/lib/umd/locale/ja-JP.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
@@ -1 +1 @@
1
- function _0x4cb1(){const _0x32da78=['349679uqxrMK','설정이\x20성공적으로\x20저장되었습니다','몇\x20초\x20만에\x20API\x20키\x20발급받기','MCP\x20연결\x20중...','1324330ZCkvCk','7008825lSvawT','MCP\x20설정','56LEPnBS','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','1072602oaXNYC','MCP\x20클라이언트\x20설정','874076HEGfrg','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','Bearer\x20접두사가\x20있는\x20API\x20키.','설정\x20매개변수:','MCP\x20알\x20수\x20없는\x20상태','MCP\x20연결\x20끊김','클릭하여\x20MCP\x20연결','아래\x20JSON\x20설정\x20복사','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','1049901JsDvNW','6wsVmtP','연결됨','MCP\x20재시도\x20중...','연결\x20끊김','MCP\x20연결됨','보안\x20연결을\x20위해\x20인증\x20활성화','MCP:\x20최대\x20재시도\x20횟수\x20초과','API\x20키는\x2010자\x20이상이어야\x20합니다','저장\x20중...','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','연결\x20중...','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','16wgUSUi','재시도\x20중...','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','MCP\x20연결\x20실패','240633QmgEZR','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','790aEtbna','세션\x20ID','Univer\x20AI\x20콘솔','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','API\x20키란\x20무엇인가요?','클릭하여\x20MCP\x20설정','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','API\x20키는\x20필수입니다','인증\x20실패.\x20API\x20키를\x20확인하세요','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용'];_0x4cb1=function(){return _0x32da78;};return _0x4cb1();}function _0x5c71(_0x32aa9f,_0x82bc3){_0x32aa9f=_0x32aa9f-0x121;const _0x4cb157=_0x4cb1();let _0x5c71cd=_0x4cb157[_0x32aa9f];return _0x5c71cd;}const _0x4a9b3f=_0x5c71;(function(_0x42d92b,_0x17e340){const _0x497e80=_0x5c71,_0x1772df=_0x42d92b();while(!![]){try{const _0x44a2e8=-parseInt(_0x497e80(0x152))/0x1+-parseInt(_0x497e80(0x124))/0x2+parseInt(_0x497e80(0x12f))/0x3*(-parseInt(_0x497e80(0x13c))/0x4)+parseInt(_0x497e80(0x153))/0x5+parseInt(_0x497e80(0x130))/0x6*(-parseInt(_0x497e80(0x126))/0x7)+parseInt(_0x497e80(0x122))/0x8*(parseInt(_0x497e80(0x141))/0x9)+-parseInt(_0x497e80(0x143))/0xa*(-parseInt(_0x497e80(0x14e))/0xb);if(_0x44a2e8===_0x17e340)break;else _0x1772df['push'](_0x1772df['shift']());}catch(_0x1f0e21){_0x1772df['push'](_0x1772df['shift']());}}}(_0x4cb1,0xae888));const e={'mcpStatus':{'disconnected':_0x4a9b3f(0x12b),'connecting':_0x4a9b3f(0x151),'connected':_0x4a9b3f(0x134),'failed':_0x4a9b3f(0x140),'retrying':_0x4a9b3f(0x132),'unknown':_0x4a9b3f(0x12a),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':'MCP:\x20세션\x20ID\x20사용\x20중','networkError':'MCP:\x20네트워크\x20오류','maxRetriesExceeded':_0x4a9b3f(0x136),'clickToConnect':_0x4a9b3f(0x12c),'clickToConfigure':_0x4a9b3f(0x148)},'mcpConfig':{'title':_0x4a9b3f(0x121),'description':_0x4a9b3f(0x13b),'apiKey':'API\x20키','apiKeyPlaceholder':'API\x20키를\x20입력하세요','apiKeyHint':_0x4a9b3f(0x12e),'enableAuth':'인증\x20활성화','enableAuthHint':_0x4a9b3f(0x135),'connectionInfo':_0x4a9b3f(0x125),'mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':_0x4a9b3f(0x13e),'configStepTitle':'설정\x20단계:','configStep1':_0x4a9b3f(0x12d),'configStep2':_0x4a9b3f(0x127),'configStep3':_0x4a9b3f(0x14d),'sessionId':_0x4a9b3f(0x144),'sessionIdDescription':_0x4a9b3f(0x146),'authorizationDescription':_0x4a9b3f(0x128),'configParameters':_0x4a9b3f(0x129),'maxRetries':'최대\x20재시도\x20횟수','save':'설정\x20저장','saving':_0x4a9b3f(0x138),'note1':_0x4a9b3f(0x142),'note2':_0x4a9b3f(0x13f),'configSaved':_0x4a9b3f(0x14f),'configError':'설정\x20저장\x20실패','apiApplyInfo':{'title':_0x4a9b3f(0x147),'description':'API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','univerAiLabel':_0x4a9b3f(0x145),'getStarted':_0x4a9b3f(0x150)},'validation':{'apiKeyRequired':_0x4a9b3f(0x14b),'apiKeyTooShort':_0x4a9b3f(0x137),'invalidConfig':'유효하지\x20않은\x20설정','invalidApiKey':_0x4a9b3f(0x123)},'connectionStatus':{'disconnected':_0x4a9b3f(0x133),'connecting':_0x4a9b3f(0x13a),'connected':_0x4a9b3f(0x131),'failed':'연결\x20실패','retrying':_0x4a9b3f(0x13d)},'connectionError':{'unauthorized':_0x4a9b3f(0x14c),'sessionOccupied':_0x4a9b3f(0x139),'networkError':_0x4a9b3f(0x149),'maxRetriesExceeded':_0x4a9b3f(0x14a)}}};export{e as default};
1
+ function _0x508f(_0x2e86d0,_0x2b591d){_0x2e86d0=_0x2e86d0-0x113;const _0x5e634e=_0x5e63();let _0x508f0d=_0x5e634e[_0x2e86d0];return _0x508f0d;}const _0x556d54=_0x508f;function _0x5e63(){const _0x5c1df2=['MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','API\x20키란\x20무엇인가요?','2896218OAEJuC','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','27mKDKNN','MCP:\x20인증되지\x20않음','연결됨','238ozDywg','API\x20키는\x20필수입니다','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','API\x20키는\x2010자\x20이상이어야\x20합니다','보안\x20연결을\x20위해\x20인증\x20활성화','424558rKaIhH','MCP:\x20최대\x20재시도\x20횟수\x20초과','재시도\x20중...','아래\x20JSON\x20설정\x20복사','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','Bearer\x20접두사가\x20있는\x20API\x20키.','MCP:\x20네트워크\x20오류','1908168ToWiCc','MCP\x20클라이언트\x20설정','MCP\x20재시도\x20중...','MCP\x20연결\x20중...','MCP\x20연결됨','API\x20키를\x20입력하세요','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','MCP\x20설정','1041328HlqpdX','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','인증\x20활성화','연결\x20중...','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','122910IFzGGs','세션\x20ID','API\x20','5188480iYLOSf','저장\x20중...','설정\x20저장','MCP:\x20세션\x20ID\x20사용\x20','15MmxAra','83340oelhMu','MCP\x20연결\x20실패','설정\x20단계:','Univer\x20AI\x20콘솔','설정\x20저장\x20실패','최대\x20재시도\x20횟수','클릭하여\x20MCP\x20연결','유효하지\x20않은\x20설정','인증\x20실패.\x20API\x20키를\x20확인하세요'];_0x5e63=function(){return _0x5c1df2;};return _0x5e63();}(function(_0x2d893e,_0x442411){const _0x4700c4=_0x508f,_0x2dd89e=_0x2d893e();while(!![]){try{const _0x31a5aa=parseInt(_0x4700c4(0x12e))/0x1+-parseInt(_0x4700c4(0x119))/0x2*(parseInt(_0x4700c4(0x126))/0x3)+parseInt(_0x4700c4(0x13d))/0x4*(-parseInt(_0x4700c4(0x118))/0x5)+parseInt(_0x4700c4(0x142))/0x6*(parseInt(_0x4700c4(0x129))/0x7)+parseInt(_0x4700c4(0x135))/0x8+-parseInt(_0x4700c4(0x124))/0x9+parseInt(_0x4700c4(0x114))/0xa;if(_0x31a5aa===_0x442411)break;else _0x2dd89e['push'](_0x2dd89e['shift']());}catch(_0xd3bc2b){_0x2dd89e['push'](_0x2dd89e['shift']());}}}(_0x5e63,0x61ccd));const e={'mcpStatus':{'disconnected':'MCP\x20연결\x20끊김','connecting':_0x556d54(0x138),'connected':_0x556d54(0x139),'failed':_0x556d54(0x11a),'retrying':_0x556d54(0x137),'unknown':'MCP\x20알\x20수\x20없는\x20상태','unauthorized':_0x556d54(0x127),'sessionOccupied':_0x556d54(0x117),'networkError':_0x556d54(0x134),'maxRetriesExceeded':_0x556d54(0x12f),'clickToConnect':_0x556d54(0x11f),'clickToConfigure':'클릭하여\x20MCP\x20설정'},'mcpConfig':{'title':_0x556d54(0x13c),'description':_0x556d54(0x12b),'apiKey':_0x556d54(0x113),'apiKeyPlaceholder':_0x556d54(0x13a),'apiKeyHint':_0x556d54(0x13e),'enableAuth':_0x556d54(0x13f),'enableAuthHint':_0x556d54(0x12d),'connectionInfo':_0x556d54(0x136),'mcpClientConfig':_0x556d54(0x136),'configInstructions':_0x556d54(0x13b),'configStepTitle':_0x556d54(0x11b),'configStep1':_0x556d54(0x131),'configStep2':'MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','configStep3':_0x556d54(0x122),'sessionId':_0x556d54(0x143),'sessionIdDescription':'고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','authorizationDescription':_0x556d54(0x133),'configParameters':'설정\x20매개변수:','maxRetries':_0x556d54(0x11e),'save':_0x556d54(0x116),'saving':_0x556d54(0x115),'note1':_0x556d54(0x132),'note2':'API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','configSaved':'설정이\x20성공적으로\x20저장되었습니다','configError':_0x556d54(0x11d),'apiApplyInfo':{'title':_0x556d54(0x123),'description':_0x556d54(0x141),'univerAiLabel':_0x556d54(0x11c),'getStarted':'몇\x20초\x20만에\x20API\x20키\x20발급받기'},'validation':{'apiKeyRequired':_0x556d54(0x12a),'apiKeyTooShort':_0x556d54(0x12c),'invalidConfig':_0x556d54(0x120),'invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':'연결\x20끊김','connecting':_0x556d54(0x140),'connected':_0x556d54(0x128),'failed':'연결\x20실패','retrying':_0x556d54(0x130)},'connectionError':{'unauthorized':_0x556d54(0x121),'sessionOccupied':_0x556d54(0x125),'networkError':'네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','maxRetriesExceeded':'최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요'}}};export{e as default};
@@ -1 +1 @@
1
- const _0x496f88=_0x13a2;function _0x13a2(_0xe0314d,_0x219ba1){_0xe0314d=_0xe0314d-0xe4;const _0x3f978e=_0x3f97();let _0x13a221=_0x3f978e[_0xe0314d];return _0x13a221;}(function(_0x4b70ff,_0x219902){const _0x988207=_0x13a2,_0x5257f7=_0x4b70ff();while(!![]){try{const _0x3ea8ff=parseInt(_0x988207(0x112))/0x1+parseInt(_0x988207(0x102))/0x2+-parseInt(_0x988207(0x103))/0x3*(-parseInt(_0x988207(0xf0))/0x4)+-parseInt(_0x988207(0x116))/0x5+-parseInt(_0x988207(0x113))/0x6*(parseInt(_0x988207(0xfd))/0x7)+parseInt(_0x988207(0x114))/0x8*(parseInt(_0x988207(0xe7))/0x9)+parseInt(_0x988207(0xf8))/0xa*(-parseInt(_0x988207(0xee))/0xb);if(_0x3ea8ff===_0x219902)break;else _0x5257f7['push'](_0x5257f7['shift']());}catch(_0x13b4ad){_0x5257f7['push'](_0x5257f7['shift']());}}}(_0x3f97,0x4de34));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x496f88(0x111),'connected':_0x496f88(0xef),'failed':_0x496f88(0xe9),'retrying':_0x496f88(0x119),'unknown':_0x496f88(0x117),'unauthorized':_0x496f88(0x108),'sessionOccupied':_0x496f88(0x10f),'networkError':_0x496f88(0x10e),'maxRetriesExceeded':_0x496f88(0xfc),'clickToConnect':_0x496f88(0x10a),'clickToConfigure':_0x496f88(0x10b)},'mcpConfig':{'title':_0x496f88(0x11a),'description':_0x496f88(0xeb),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x496f88(0xf9),'apiKeyHint':_0x496f88(0x115),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x496f88(0x10c),'connectionInfo':_0x496f88(0x105),'mcpClientConfig':_0x496f88(0x105),'configInstructions':_0x496f88(0x106),'configStepTitle':_0x496f88(0xfa),'configStep1':_0x496f88(0xf3),'configStep2':_0x496f88(0xe8),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x496f88(0xf4),'sessionIdDescription':_0x496f88(0x118),'authorizationDescription':_0x496f88(0x104),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x496f88(0xfb),'save':_0x496f88(0xf2),'saving':_0x496f88(0xe4),'note1':_0x496f88(0x11b),'note2':_0x496f88(0xe6),'configSaved':_0x496f88(0x10d),'configError':_0x496f88(0xf5),'apiApplyInfo':{'title':_0x496f88(0x100),'description':_0x496f88(0xfe),'univerAiLabel':_0x496f88(0xe5),'getStarted':_0x496f88(0x107)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x496f88(0x110),'invalidConfig':_0x496f88(0xff),'invalidApiKey':_0x496f88(0xea)},'connectionStatus':{'disconnected':_0x496f88(0xf6),'connecting':_0x496f88(0xf1),'connected':_0x496f88(0xec),'failed':'Connection\x20Failed','retrying':_0x496f88(0xed)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x496f88(0x101),'networkError':_0x496f88(0x109),'maxRetriesExceeded':_0x496f88(0xf7)}}},n=e;function _0x3f97(){const _0x1c370b=['Save\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','Session\x20ID','Failed\x20to\x20save\x20configuration','Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','914210AxZCjY','Enter\x20your\x20API\x20key','Configuration\x20Steps:','Max\x20Retries','MCP:\x20Max\x20Retries\x20Exceeded','2562wQEZJH','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20configuration','What\x20is\x20API\x20Key?','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','448586BzkXXC','568254SBgJog','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Client\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Unauthorized','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20saved\x20successfully','MCP:\x20Network\x20Error','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Connecting...','338516bsxKAE','642iZftJl','872orARgO','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','738475FIJSJC','MCP\x20Unknown\x20Status','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Retrying...','MCP\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Saving...','Univer\x20AI\x20Console','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','24408XpmJGQ','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connected','Retrying...','88KfOLMF','MCP\x20Connected','8MQDjmo','Connecting...'];_0x3f97=function(){return _0x1c370b;};return _0x3f97();}export{n as default};
1
+ const _0x231635=_0x1958;function _0x56d0(){const _0x1bd236=['4859832jQyOlz','38906330PCeYUU','Univer\x20AI\x20Console','Saving...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','11dIYmBX','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','2699740ctRQwz','145OSfMBp','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Unauthorized','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','6JbAfNT','MCP\x20Unknown\x20Status','Session\x20ID','Retrying...','2856036CIJQvE','MCP\x20Connected','Configuration\x20Steps:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connection\x20Failed','Disconnected','Copy\x20the\x20JSON\x20configuration\x20below','Enter\x20your\x20API\x20key','What\x20is\x20API\x20Key?','MCP\x20Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Save\x20Configuration','Invalid\x20configuration','MCP\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Client\x20Configuration','Click\x20to\x20connect\x20MCP','Connection\x20Failed','Configuration\x20saved\x20successfully','API\x20key\x20with\x20Bearer\x20prefix.','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20configure\x20MCP','7bDJMTO','Configuration\x20Parameters:','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.','Get\x20your\x20API\x20key\x20in\x20seconds','2929611OKKVOp','6106779LlysNY','3112GfOeCc','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'];_0x56d0=function(){return _0x1bd236;};return _0x56d0();}(function(_0x2b3720,_0x2207df){const _0x3acf69=_0x1958,_0x24bb47=_0x2b3720();while(!![]){try{const _0x3fc5a0=-parseInt(_0x3acf69(0x1e9))/0x1*(-parseInt(_0x3acf69(0x1df))/0x2)+-parseInt(_0x3acf69(0x1dd))/0x3+-parseInt(_0x3acf69(0x1f1))/0x4+-parseInt(_0x3acf69(0x1e8))/0x5*(parseInt(_0x3acf69(0x1ed))/0x6)+parseInt(_0x3acf69(0x207))/0x7*(-parseInt(_0x3acf69(0x1e1))/0x8)+-parseInt(_0x3acf69(0x1de))/0x9+-parseInt(_0x3acf69(0x1e2))/0xa*(-parseInt(_0x3acf69(0x1e6))/0xb);if(_0x3fc5a0===_0x2207df)break;else _0x24bb47['push'](_0x24bb47['shift']());}catch(_0x400921){_0x24bb47['push'](_0x24bb47['shift']());}}}(_0x56d0,0x926c5));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x231635(0x1fa),'connected':_0x231635(0x1f2),'failed':_0x231635(0x1f5),'retrying':'MCP\x20Retrying...','unknown':_0x231635(0x1ee),'unauthorized':_0x231635(0x1eb),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x231635(0x201),'clickToConfigure':_0x231635(0x206)},'mcpConfig':{'title':_0x231635(0x1fe),'description':_0x231635(0x1fb),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x231635(0x1f8),'apiKeyHint':_0x231635(0x205),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x231635(0x200),'configInstructions':_0x231635(0x1e7),'configStepTitle':_0x231635(0x1f3),'configStep1':_0x231635(0x1f7),'configStep2':_0x231635(0x1ff),'configStep3':_0x231635(0x1ec),'sessionId':_0x231635(0x1ef),'sessionIdDescription':_0x231635(0x1e5),'authorizationDescription':_0x231635(0x204),'configParameters':_0x231635(0x208),'maxRetries':'Max\x20Retries','save':_0x231635(0x1fc),'saving':_0x231635(0x1e4),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x231635(0x203),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x231635(0x1f9),'description':_0x231635(0x20a),'univerAiLabel':_0x231635(0x1e3),'getStarted':_0x231635(0x1dc)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x231635(0x209),'invalidConfig':_0x231635(0x1fd),'invalidApiKey':_0x231635(0x1f4)},'connectionStatus':{'disconnected':_0x231635(0x1f6),'connecting':'Connecting...','connected':'Connected','failed':_0x231635(0x202),'retrying':_0x231635(0x1f0)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x231635(0x1ea),'maxRetriesExceeded':_0x231635(0x1e0)}}},n=e;function _0x1958(_0x444475,_0xab0d5c){_0x444475=_0x444475-0x1dc;const _0x56d041=_0x56d0();let _0x195833=_0x56d041[_0x444475];return _0x195833;}export{n as default};
@@ -1 +1 @@
1
- const _0x4b20d0=_0x82dc;function _0x3759(){const _0x4842cc=['MCP\x20Kết\x20nối\x20thất\x20bại','36oIVGhA','Đang\x20thử\x20lại...','Các\x20bước\x20cấu\x20hình:','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','Cấu\x20hình\x20máy\x20khách\x20MCP','Nhấp\x20để\x20kết\x20nối\x20MCP','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','ID\x20phiên','Nhấp\x20để\x20cấu\x20hình\x20MCP','MCP\x20Đang\x20kết\x20nối...','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Lưu\x20cấu\x20hình','Đã\x20kết\x20nối','4878gikITL','MCP:\x20Không\x20được\x20phép','5786568swRDYL','13030UKKeHL','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','82905OzmFqs','MCP\x20Đã\x20kết\x20nối','MCP\x20Trạng\x20thái\x20không\x20xác\x20đị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','Bật\x20xác\x20thực','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','4PzLZsN','Yêu\x20cầu\x20khóa\x20API','Đang\x20kết\x20nối...','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','2670352wvtYdh','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Lưu\x20cấu\x20hình\x20thất\x20bại','849905dBytTO','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Đị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.','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Đã\x20ngắt\x20kết\x20nối','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','2810037bgHKpo','Cấu\x20hình\x20không\x20hợp\x20lệ','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','4598MJHUYy','Tham\x20số\x20cấu\x20hình:','Kết\x20nối\x20thất\x20bại','1GDTIRj','Nhập\x20khóa\x20API\x20của\x20bạn','Khóa\x20API\x20là\x20gì?'];_0x3759=function(){return _0x4842cc;};return _0x3759();}(function(_0x487d42,_0x458590){const _0xec2e34=_0x82dc,_0x1b1635=_0x487d42();while(!![]){try{const _0x319b8b=-parseInt(_0xec2e34(0x104))/0x1*(parseInt(_0xec2e34(0x115))/0x2)+parseInt(_0xec2e34(0xfe))/0x3*(parseInt(_0xec2e34(0xec))/0x4)+-parseInt(_0xec2e34(0x11a))/0x5*(-parseInt(_0xec2e34(0x108))/0x6)+-parseInt(_0xec2e34(0xf7))/0x7+-parseInt(_0xec2e34(0xf0))/0x8+-parseInt(_0xec2e34(0x117))/0x9+-parseInt(_0xec2e34(0x118))/0xa*(-parseInt(_0xec2e34(0x101))/0xb);if(_0x319b8b===_0x458590)break;else _0x1b1635['push'](_0x1b1635['shift']());}catch(_0x18754a){_0x1b1635['push'](_0x1b1635['shift']());}}}(_0x3759,0x753db));const n={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':_0x4b20d0(0x111),'connected':_0x4b20d0(0x11b),'failed':_0x4b20d0(0x107),'retrying':'MCP\x20Đang\x20thử\x20lại...','unknown':_0x4b20d0(0x11c),'unauthorized':_0x4b20d0(0x116),'sessionOccupied':_0x4b20d0(0xf1),'networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':_0x4b20d0(0xef),'clickToConnect':_0x4b20d0(0x10d),'clickToConfigure':_0x4b20d0(0x110)},'mcpConfig':{'title':'Cấu\x20hình\x20MCP','description':_0x4b20d0(0xeb),'apiKey':'Khóa\x20API','apiKeyPlaceholder':_0x4b20d0(0x105),'apiKeyHint':_0x4b20d0(0x10e),'enableAuth':_0x4b20d0(0xea),'enableAuthHint':_0x4b20d0(0x100),'connectionInfo':_0x4b20d0(0x10c),'mcpClientConfig':_0x4b20d0(0x10c),'configInstructions':_0x4b20d0(0xf8),'configStepTitle':_0x4b20d0(0x10a),'configStep1':_0x4b20d0(0xfc),'configStep2':_0x4b20d0(0x112),'configStep3':'Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','sessionId':_0x4b20d0(0x10f),'sessionIdDescription':_0x4b20d0(0xf9),'authorizationDescription':'Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','configParameters':_0x4b20d0(0x102),'maxRetries':_0x4b20d0(0xf5),'save':_0x4b20d0(0x113),'saving':'Đang\x20lưu...','note1':_0x4b20d0(0xf4),'note2':_0x4b20d0(0xf2),'configSaved':_0x4b20d0(0xf3),'configError':_0x4b20d0(0xf6),'apiApplyInfo':{'title':_0x4b20d0(0x106),'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':'Bảng\x20điều\x20khiển\x20Univer\x20AI','getStarted':_0x4b20d0(0x119)},'validation':{'apiKeyRequired':_0x4b20d0(0xed),'apiKeyTooShort':'Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','invalidConfig':_0x4b20d0(0xff),'invalidApiKey':_0x4b20d0(0xe9)},'connectionStatus':{'disconnected':_0x4b20d0(0xfb),'connecting':_0x4b20d0(0xee),'connected':_0x4b20d0(0x114),'failed':_0x4b20d0(0x103),'retrying':_0x4b20d0(0x109)},'connectionError':{'unauthorized':_0x4b20d0(0x10b),'sessionOccupied':'Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','networkError':_0x4b20d0(0xfa),'maxRetriesExceeded':_0x4b20d0(0xfd)}}};function _0x82dc(_0x2c8a2e,_0x1a723a){_0x2c8a2e=_0x2c8a2e-0xe9;const _0x375939=_0x3759();let _0x82dcf7=_0x375939[_0x2c8a2e];return _0x82dcf7;}export{n as default};
1
+ function _0x4af1(){const _0x314858=['MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Lưu\x20cấu\x20hình','120LCcQTt','Cấu\x20hình\x20máy\x20khách\x20MCP','MCP:\x20Không\x20được\x20phép','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','Lưu\x20cấu\x20hình\x20thất\x20bại','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','1572900iHPxKJ','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Yêu\x20cầu\x20khóa\x20API','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','ID\x20phiên','Khóa\x20API\x20là\x20gì?','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Bảng\x20điều\x20khiển\x20Univer\x20AI','Nhấp\x20để\x20kết\x20nối\x20MCP','11240470gKXist','Cấu\x20hình\x20MCP','110niGCLH','8kKIjMc','MCP\x20Kết\x20nối\x20thất\x20bại','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','MCP\x20Đ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','335856ZssTFo','MCP\x20Đã\x20ngắt\x20kết\x20nối','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Nhấp\x20để\x20cấu\x20hình\x20MCP','11LwPibJ','Các\x20bước\x20cấu\x20hình:','MCP\x20Đang\x20thử\x20lại...','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.','8853WooYgz','Số\x20lần\x20thử\x20lại\x20tối\x20đa','3653109qbLVZu','Kết\x20nối\x20thất\x20bại','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','26605lWEGQf','569492HlBHKv','MCP\x20Đã\x20kết\x20nối','Đang\x20lưu...','Đị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.','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Bật\x20xác\x20thực','Đã\x20ngắt\x20kết\x20nối','Tham\x20số\x20cấu\x20hình:','Đang\x20thử\x20lại...','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn'];_0x4af1=function(){return _0x314858;};return _0x4af1();}const _0x3e2fb7=_0x2985;(function(_0x1a63bf,_0x3c7565){const _0x1aa759=_0x2985,_0x1a1297=_0x1a63bf();while(!![]){try{const _0x52c75f=parseInt(_0x1aa759(0x20c))/0x1+-parseInt(_0x1aa759(0x1f5))/0x2*(-parseInt(_0x1aa759(0x206))/0x3)+parseInt(_0x1aa759(0x219))/0x4*(parseInt(_0x1aa759(0x20b))/0x5)+-parseInt(_0x1aa759(0x1fe))/0x6+parseInt(_0x1aa759(0x21f))/0x7+-parseInt(_0x1aa759(0x1f6))/0x8*(-parseInt(_0x1aa759(0x208))/0x9)+parseInt(_0x1aa759(0x1f3))/0xa*(-parseInt(_0x1aa759(0x202))/0xb);if(_0x52c75f===_0x3c7565)break;else _0x1a1297['push'](_0x1a1297['shift']());}catch(_0x48236f){_0x1a1297['push'](_0x1a1297['shift']());}}}(_0x4af1,0x537f5));const n={'mcpStatus':{'disconnected':_0x3e2fb7(0x1ff),'connecting':_0x3e2fb7(0x1fc),'connected':_0x3e2fb7(0x20d),'failed':_0x3e2fb7(0x1f7),'retrying':_0x3e2fb7(0x204),'unknown':_0x3e2fb7(0x210),'unauthorized':_0x3e2fb7(0x21b),'sessionOccupied':_0x3e2fb7(0x200),'networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':_0x3e2fb7(0x216),'clickToConnect':_0x3e2fb7(0x1f2),'clickToConfigure':_0x3e2fb7(0x201)},'mcpConfig':{'title':_0x3e2fb7(0x1f4),'description':_0x3e2fb7(0x1fb),'apiKey':'Khóa\x20API','apiKeyPlaceholder':'Nhập\x20khóa\x20API\x20của\x20bạn','apiKeyHint':_0x3e2fb7(0x20a),'enableAuth':_0x3e2fb7(0x211),'enableAuthHint':'Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','connectionInfo':_0x3e2fb7(0x21a),'mcpClientConfig':_0x3e2fb7(0x21a),'configInstructions':'Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','configStepTitle':_0x3e2fb7(0x203),'configStep1':_0x3e2fb7(0x1f9),'configStep2':'Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','configStep3':_0x3e2fb7(0x1fd),'sessionId':_0x3e2fb7(0x1ee),'sessionIdDescription':_0x3e2fb7(0x20f),'authorizationDescription':_0x3e2fb7(0x217),'configParameters':_0x3e2fb7(0x213),'maxRetries':_0x3e2fb7(0x207),'save':_0x3e2fb7(0x218),'saving':_0x3e2fb7(0x20e),'note1':_0x3e2fb7(0x220),'note2':_0x3e2fb7(0x1f8),'configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':_0x3e2fb7(0x21d),'apiApplyInfo':{'title':_0x3e2fb7(0x1ef),'description':_0x3e2fb7(0x205),'univerAiLabel':_0x3e2fb7(0x1f1),'getStarted':_0x3e2fb7(0x1fa)},'validation':{'apiKeyRequired':_0x3e2fb7(0x221),'apiKeyTooShort':_0x3e2fb7(0x1ed),'invalidConfig':'Cấu\x20hình\x20không\x20hợp\x20lệ','invalidApiKey':'Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không'},'connectionStatus':{'disconnected':_0x3e2fb7(0x212),'connecting':'Đang\x20kết\x20nối...','connected':'Đã\x20kết\x20nối','failed':_0x3e2fb7(0x209),'retrying':_0x3e2fb7(0x214)},'connectionError':{'unauthorized':_0x3e2fb7(0x21c),'sessionOccupied':_0x3e2fb7(0x21e),'networkError':_0x3e2fb7(0x215),'maxRetriesExceeded':_0x3e2fb7(0x1f0)}}};function _0x2985(_0x3093c6,_0x256b0b){_0x3093c6=_0x3093c6-0x1ed;const _0x4af100=_0x4af1();let _0x298569=_0x4af100[_0x3093c6];return _0x298569;}export{n as default};
@@ -1 +1 @@
1
- const _0x5e6e64=_0x50d2;(function(_0x5dbdb0,_0x1d9c3b){const _0x597fb1=_0x50d2,_0x33223c=_0x5dbdb0();while(!![]){try{const _0x5bedf7=-parseInt(_0x597fb1(0xdb))/0x1*(-parseInt(_0x597fb1(0x104))/0x2)+parseInt(_0x597fb1(0xd5))/0x3+-parseInt(_0x597fb1(0x108))/0x4+-parseInt(_0x597fb1(0xf2))/0x5*(-parseInt(_0x597fb1(0xf5))/0x6)+parseInt(_0x597fb1(0xfe))/0x7+-parseInt(_0x597fb1(0xef))/0x8+parseInt(_0x597fb1(0xd6))/0x9;if(_0x5bedf7===_0x1d9c3b)break;else _0x33223c['push'](_0x33223c['shift']());}catch(_0xf6340){_0x33223c['push'](_0x33223c['shift']());}}}(_0x3558,0x6e599));function _0x50d2(_0x41a1d7,_0x3b6152){_0x41a1d7=_0x41a1d7-0xd1;const _0x35580a=_0x3558();let _0x50d294=_0x35580a[_0x41a1d7];return _0x50d294;}function _0x3558(){const _0x33f0f8=['API\x20密钥无效,请检查密钥是否正确','MCP:\x20未授权','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20已连接','配置\x20MCP\x20使用\x20AI\x20操作电子表格','配置保存失败','3806848XotCwv','重启您的\x20MCP\x20客户端以使配置生效','MCP\x20重连中...','5gPEjqo','网络连接错误,请检查您的网络连接','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','1981290AMaaoL','什么是\x20API\x20密钥?','MCP:\x20网络错误','点击连接\x20MCP','保存配置','API\x20密钥长度至少需要\x2010\x20位','请输入您的\x20API\x20密钥','MCP\x20连接失败','将配置添加到您的\x20MCP\x20客户端设置文件中','2379335TAdSIx','会话\x20ID\x20已被占用,请稍后再试','MCP\x20状态未知','MCP\x20已断开','未连接','带有\x20Bearer\x20前缀的\x20API\x20密钥。','700Zuksir','MCP\x20连接中...','配置无效','您的\x20API\x20密钥安全存储在本地存储中','1379740ITJmuN','MCP\x20配置','连接中...','会话ID','API\x20密钥','1524549UDCsHt','535329kiRZaL','MCP:\x20超出最大重试次数','几秒钟内获取您的\x20API\x20密钥','启用身份验证以获得安全连接','配置参数:','100eANrKN','将以下配置添加到您的\x20MCP\x20客户端设置中:','点击配置\x20MCP','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','权限验证失败,请检查您的\x20API\x20密钥','重连中...','保存中...','MCP:\x20会话\x20ID\x20已被占用','配置更改将立即生效','复制以下\x20JSON\x20配置','最大重试次数','连接失败','已连接','MCP\x20客户端配置'];_0x3558=function(){return _0x33f0f8;};return _0x3558();}const e={'mcpStatus':{'disconnected':_0x5e6e64(0x101),'connecting':_0x5e6e64(0x105),'connected':_0x5e6e64(0xec),'failed':_0x5e6e64(0xfc),'retrying':_0x5e6e64(0xf1),'unknown':_0x5e6e64(0x100),'unauthorized':_0x5e6e64(0xea),'sessionOccupied':_0x5e6e64(0xe2),'networkError':_0x5e6e64(0xf7),'maxRetriesExceeded':_0x5e6e64(0xd7),'clickToConnect':_0x5e6e64(0xf8),'clickToConfigure':_0x5e6e64(0xdd)},'mcpConfig':{'title':_0x5e6e64(0xd1),'description':_0x5e6e64(0xed),'apiKey':_0x5e6e64(0xd4),'apiKeyPlaceholder':_0x5e6e64(0xfb),'apiKeyHint':_0x5e6e64(0xeb),'enableAuth':'启用身份验证','enableAuthHint':_0x5e6e64(0xd9),'connectionInfo':_0x5e6e64(0xe8),'mcpClientConfig':_0x5e6e64(0xe8),'configInstructions':_0x5e6e64(0xdc),'configStepTitle':'配置步骤:','configStep1':_0x5e6e64(0xe4),'configStep2':_0x5e6e64(0xfd),'configStep3':_0x5e6e64(0xf0),'sessionId':_0x5e6e64(0xd3),'sessionIdDescription':_0x5e6e64(0xf4),'authorizationDescription':_0x5e6e64(0x103),'configParameters':_0x5e6e64(0xda),'maxRetries':_0x5e6e64(0xe5),'save':_0x5e6e64(0xf9),'saving':_0x5e6e64(0xe1),'note1':_0x5e6e64(0xe3),'note2':_0x5e6e64(0x107),'configSaved':'配置保存成功','configError':_0x5e6e64(0xee),'apiApplyInfo':{'title':_0x5e6e64(0xf6),'description':_0x5e6e64(0xde),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x5e6e64(0xd8)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x5e6e64(0xfa),'invalidConfig':_0x5e6e64(0x106),'invalidApiKey':_0x5e6e64(0xe9)},'connectionStatus':{'disconnected':_0x5e6e64(0x102),'connecting':_0x5e6e64(0xd2),'connected':_0x5e6e64(0xe7),'failed':_0x5e6e64(0xe6),'retrying':_0x5e6e64(0xe0)},'connectionError':{'unauthorized':_0x5e6e64(0xdf),'sessionOccupied':_0x5e6e64(0xff),'networkError':_0x5e6e64(0xf3),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};export{e as default};
1
+ function _0xa8f7(){const _0x11527f=['MCP\x20重连中...','API\x20密钥不能为空','点击配置\x20MCP','MCP\x20已连接','MCP\x20客户端配置','1370316ljCFzL','MCP:\x20未授权','MCP\x20配置','MCP:\x20网络错误','保存配置','MCP:\x20超出最大重试次数','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','带有\x20Bearer\x20前缀的\x20API\x20密钥。','几秒钟内获取您的\x20API\x20密钥','启用身份验证以获得安全连接','API\x20密钥长度至少需要\x2010\x20位','API\x20密钥无效,请检查密钥是否正确','启用身份验证','会话\x20ID\x20已被占用,请稍后再试','45tGqMhV','超出最大重试次数,请稍后再试','配置参数:','最大重试次数','配置\x20MCP\x20使用\x20AI\x20操作电子表格','配置保存成功','3073990nkRHAc','什么是\x20API\x20密钥?','已连接','连接中...','API\x20密钥','点击连接\x20MCP','63957KGKXYn','4920430LTpcrA','5862791MJqRgC','保存中...','请输入您的\x20API\x20密钥','配置保存失败','网络连接错误,请检查您的网络连接','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','757048ERySYx','复制以下\x20JSON\x20配置','22EGJaiI','连接失败','6TfcDgk','MCP:\x20会话\x20ID\x20已被占用','3cUbXek','配置更改将立即生效','4587401FymPOk'];_0xa8f7=function(){return _0x11527f;};return _0xa8f7();}const _0xb4b791=_0x4bd3;function _0x4bd3(_0x50e7cf,_0x39fe5e){_0x50e7cf=_0x50e7cf-0x16f;const _0xa8f741=_0xa8f7();let _0x4bd327=_0xa8f741[_0x50e7cf];return _0x4bd327;}(function(_0x376d5c,_0x2c76b0){const _0x3a31ca=_0x4bd3,_0x5bc820=_0x376d5c();while(!![]){try{const _0x48a46d=parseInt(_0x3a31ca(0x186))/0x1*(parseInt(_0x3a31ca(0x190))/0x2)+-parseInt(_0x3a31ca(0x194))/0x3*(-parseInt(_0x3a31ca(0x19c))/0x4)+parseInt(_0x3a31ca(0x180))/0x5+parseInt(_0x3a31ca(0x192))/0x6*(-parseInt(_0x3a31ca(0x196))/0x7)+-parseInt(_0x3a31ca(0x18e))/0x8*(-parseInt(_0x3a31ca(0x17a))/0x9)+-parseInt(_0x3a31ca(0x187))/0xa+-parseInt(_0x3a31ca(0x188))/0xb;if(_0x48a46d===_0x2c76b0)break;else _0x5bc820['push'](_0x5bc820['shift']());}catch(_0x2c81d4){_0x5bc820['push'](_0x5bc820['shift']());}}}(_0xa8f7,0x6ec3c));const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':_0xb4b791(0x19a),'failed':'MCP\x20连接失败','retrying':_0xb4b791(0x197),'unknown':'MCP\x20状态未知','unauthorized':_0xb4b791(0x19d),'sessionOccupied':_0xb4b791(0x193),'networkError':_0xb4b791(0x16f),'maxRetriesExceeded':_0xb4b791(0x171),'clickToConnect':_0xb4b791(0x185),'clickToConfigure':_0xb4b791(0x199)},'mcpConfig':{'title':_0xb4b791(0x19e),'description':_0xb4b791(0x17e),'apiKey':_0xb4b791(0x184),'apiKeyPlaceholder':_0xb4b791(0x18a),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0xb4b791(0x178),'enableAuthHint':_0xb4b791(0x175),'connectionInfo':_0xb4b791(0x19b),'mcpClientConfig':_0xb4b791(0x19b),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':'配置步骤:','configStep1':_0xb4b791(0x18f),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':'会话ID','sessionIdDescription':_0xb4b791(0x18d),'authorizationDescription':_0xb4b791(0x173),'configParameters':_0xb4b791(0x17c),'maxRetries':_0xb4b791(0x17d),'save':_0xb4b791(0x170),'saving':_0xb4b791(0x189),'note1':_0xb4b791(0x195),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0xb4b791(0x17f),'configError':_0xb4b791(0x18b),'apiApplyInfo':{'title':_0xb4b791(0x181),'description':_0xb4b791(0x172),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0xb4b791(0x174)},'validation':{'apiKeyRequired':_0xb4b791(0x198),'apiKeyTooShort':_0xb4b791(0x176),'invalidConfig':'配置无效','invalidApiKey':_0xb4b791(0x177)},'connectionStatus':{'disconnected':'未连接','connecting':_0xb4b791(0x183),'connected':_0xb4b791(0x182),'failed':_0xb4b791(0x191),'retrying':'重连中...'},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0xb4b791(0x179),'networkError':_0xb4b791(0x18c),'maxRetriesExceeded':_0xb4b791(0x17b)}}};export{e as default};
@@ -1 +1 @@
1
- function _0x14ff(_0x471b08,_0x2d96fb){_0x471b08=_0x471b08-0x11a;const _0x5d1bfa=_0x5d1b();let _0x14ffc5=_0x5d1bfa[_0x471b08];return _0x14ffc5;}const _0xa83563=_0x14ff;(function(_0x1b9c6e,_0x4b46d3){const _0xfbc8e8=_0x14ff,_0x3af3fd=_0x1b9c6e();while(!![]){try{const _0xd1f460=parseInt(_0xfbc8e8(0x13b))/0x1*(parseInt(_0xfbc8e8(0x12d))/0x2)+parseInt(_0xfbc8e8(0x11d))/0x3*(-parseInt(_0xfbc8e8(0x14e))/0x4)+-parseInt(_0xfbc8e8(0x125))/0x5+-parseInt(_0xfbc8e8(0x142))/0x6+-parseInt(_0xfbc8e8(0x12e))/0x7+-parseInt(_0xfbc8e8(0x133))/0x8*(-parseInt(_0xfbc8e8(0x11c))/0x9)+parseInt(_0xfbc8e8(0x146))/0xa*(parseInt(_0xfbc8e8(0x11f))/0xb);if(_0xd1f460===_0x4b46d3)break;else _0x3af3fd['push'](_0x3af3fd['shift']());}catch(_0x10505a){_0x3af3fd['push'](_0x3af3fd['shift']());}}}(_0x5d1b,0x2ae81));const e={'mcpStatus':{'disconnected':_0xa83563(0x122),'connecting':_0xa83563(0x137),'connected':'MCP\x20Connected','failed':_0xa83563(0x135),'retrying':_0xa83563(0x121),'unknown':_0xa83563(0x123),'unauthorized':_0xa83563(0x134),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0xa83563(0x126),'clickToConnect':_0xa83563(0x14a),'clickToConfigure':_0xa83563(0x12b)},'mcpConfig':{'title':_0xa83563(0x132),'description':_0xa83563(0x14c),'apiKey':_0xa83563(0x13c),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xa83563(0x139),'enableAuth':_0xa83563(0x138),'enableAuthHint':_0xa83563(0x127),'connectionInfo':_0xa83563(0x11e),'mcpClientConfig':_0xa83563(0x11e),'configInstructions':_0xa83563(0x13e),'configStepTitle':_0xa83563(0x14d),'configStep1':_0xa83563(0x145),'configStep2':_0xa83563(0x136),'configStep3':_0xa83563(0x13a),'sessionId':_0xa83563(0x140),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0xa83563(0x120),'configParameters':_0xa83563(0x129),'maxRetries':_0xa83563(0x13d),'save':'Save\x20Configuration','saving':_0xa83563(0x12a),'note1':_0xa83563(0x147),'note2':_0xa83563(0x124),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0xa83563(0x141),'description':_0xa83563(0x13f),'univerAiLabel':_0xa83563(0x144),'getStarted':_0xa83563(0x149)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xa83563(0x143),'invalidConfig':_0xa83563(0x12c),'invalidApiKey':_0xa83563(0x14b)},'connectionStatus':{'disconnected':_0xa83563(0x12f),'connecting':_0xa83563(0x14f),'connected':_0xa83563(0x11b),'failed':_0xa83563(0x11a),'retrying':_0xa83563(0x148)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0xa83563(0x130),'networkError':_0xa83563(0x128),'maxRetriesExceeded':_0xa83563(0x131)}}},n=e;export{n as default};function _0x5d1b(){const _0x26fe16=['Configuration\x20Steps:','244904ygPcEz','Connecting...','Connection\x20Failed','Connected','1236474UGWNKq','6heCrag','MCP\x20Client\x20Configuration','6543317UQPLFS','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Retrying...','MCP\x20Disconnected','MCP\x20Unknown\x20Status','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1111105aEHrGg','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20authentication\x20for\x20secure\x20connections','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Parameters:','Saving...','Click\x20to\x20configure\x20MCP','Invalid\x20configuration','2qonznO','844186pVkBDc','Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Configuration','8GaaSuS','MCP:\x20Unauthorized','MCP\x20Connection\x20Failed','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connecting...','Enable\x20Authentication','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','183287jOQtKU','API\x20Key','Max\x20Retries','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','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\x20ID','What\x20is\x20API\x20Key?','1647024XrKbqF','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Univer\x20AI\x20Console','Copy\x20the\x20JSON\x20configuration\x20below','10hzbmTM','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20connect\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets'];_0x5d1b=function(){return _0x26fe16;};return _0x5d1b();}
1
+ const _0xd2e120=_0x3201;function _0x3201(_0x487e00,_0x4e3617){_0x487e00=_0x487e00-0x94;const _0x439736=_0x4397();let _0x3201a1=_0x439736[_0x487e00];return _0x3201a1;}(function(_0x114fe4,_0x4b14f3){const _0x5e001a=_0x3201,_0x407f85=_0x114fe4();while(!![]){try{const _0x46eb02=-parseInt(_0x5e001a(0xa6))/0x1+parseInt(_0x5e001a(0xa9))/0x2*(parseInt(_0x5e001a(0xb0))/0x3)+-parseInt(_0x5e001a(0xa5))/0x4*(parseInt(_0x5e001a(0x97))/0x5)+-parseInt(_0x5e001a(0xa0))/0x6*(-parseInt(_0x5e001a(0xb8))/0x7)+-parseInt(_0x5e001a(0xba))/0x8*(parseInt(_0x5e001a(0x94))/0x9)+-parseInt(_0x5e001a(0xc7))/0xa*(-parseInt(_0x5e001a(0xb6))/0xb)+parseInt(_0x5e001a(0xaa))/0xc;if(_0x46eb02===_0x4b14f3)break;else _0x407f85['push'](_0x407f85['shift']());}catch(_0x53bfd7){_0x407f85['push'](_0x407f85['shift']());}}}(_0x4397,0x3a1ac));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0xd2e120(0xc6),'connected':_0xd2e120(0x9c),'failed':_0xd2e120(0xbf),'retrying':_0xd2e120(0xb3),'unknown':_0xd2e120(0xac),'unauthorized':_0xd2e120(0xa1),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0xd2e120(0xaf),'maxRetriesExceeded':_0xd2e120(0xbc),'clickToConnect':_0xd2e120(0xab),'clickToConfigure':_0xd2e120(0xbb)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xd2e120(0x9b),'apiKey':_0xd2e120(0xc2),'apiKeyPlaceholder':_0xd2e120(0xb7),'apiKeyHint':_0xd2e120(0xad),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0xd2e120(0xbd),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0xd2e120(0xb4),'configStepTitle':'Configuration\x20Steps:','configStep1':_0xd2e120(0xbe),'configStep2':_0xd2e120(0xc4),'configStep3':_0xd2e120(0x9e),'sessionId':'Session\x20ID','sessionIdDescription':_0xd2e120(0xb5),'authorizationDescription':_0xd2e120(0xb1),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0xd2e120(0xa8),'saving':_0xd2e120(0xae),'note1':_0xd2e120(0xc3),'note2':_0xd2e120(0x99),'configSaved':_0xd2e120(0xa4),'configError':_0xd2e120(0xc0),'apiApplyInfo':{'title':_0xd2e120(0xa2),'description':_0xd2e120(0x96),'univerAiLabel':_0xd2e120(0x9f),'getStarted':_0xd2e120(0xb2)},'validation':{'apiKeyRequired':_0xd2e120(0x98),'apiKeyTooShort':_0xd2e120(0xa3),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0xd2e120(0xc1)},'connectionStatus':{'disconnected':_0xd2e120(0xc5),'connecting':_0xd2e120(0xb9),'connected':_0xd2e120(0x95),'failed':'Connection\x20Failed','retrying':_0xd2e120(0x9d)},'connectionError':{'unauthorized':_0xd2e120(0xa7),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0xd2e120(0x9a),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};function _0x4397(){const _0x3781b4=['Disconnected','MCP\x20Connecting...','10BqcTyZ','7605iTYEBW','Connected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','5ESltjr','API\x20key\x20is\x20required','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connected','Retrying...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Univer\x20AI\x20Console','6KjNOXT','MCP:\x20Unauthorized','What\x20is\x20API\x20Key?','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20saved\x20successfully','1090636cSyaXU','38741tWvEOb','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Save\x20Configuration','146JzbiUq','2091048dXzwAv','Click\x20to\x20connect\x20MCP','MCP\x20Unknown\x20Status','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Saving...','MCP:\x20Network\x20Error','11166LuDqyB','API\x20key\x20with\x20Bearer\x20prefix.','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1186867WTIlgA','Enter\x20your\x20API\x20key','1299648TpcqqU','Connecting...','1800YMWAWy','Click\x20to\x20configure\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Client\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connection\x20Failed','Failed\x20to\x20save\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20Key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file'];_0x4397=function(){return _0x3781b4;};return _0x4397();}
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1ae0(_0x337d94,_0x16bbee){_0x337d94=_0x337d94-0xbc;const _0x5d910c=_0x5d91();let _0x1ae006=_0x5d910c[_0x337d94];return _0x1ae006;}function _0x5d91(){const _0x1f2031=['getConfig','mcpConfig.connectionError.unauthorized','M0\x200H16V16H0z','Saving...','6961903HZjzwu','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-text-green-500','connectionError$','Disconnected','UniverMCPUIPlugin','1095600ocCnDt','3986916hMfjEK','mcp.apiKey','mcpStatus.failed','xlink:href','LocaleService','2jfegDd','mcpConfig.apiApplyInfo.getStarted','Enable\x20Authentication','CONNECTING','mcpConfig.validation.invalidApiKey','mcpConfig.validation.apiKeyRequired','mcpConfig.configStepTitle','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','length','_handleConfigure','MCP:\x20未授权','mcpStatus.retrying','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','MCP\x20Client\x20Configuration','_initializeMenus','点击连接\x20MCP','https://console.univer.plus','on-line-icon_clip0_910_349','MCPUIMenuController','MCP\x20Unknown\x20Status','off-line-icon_clip0_910_343','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','useState','Enable\x20authentication\x20for\x20secure\x20connections','currentColor','apiKey','Invalid\x20configuration','span','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','配置参数:','white','defineProperty','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','1em','http','连接失败','Plugin','useRef','mcpConfig.connectionStatus.failed','UniverProMcpUi','displayName','API\x20密钥无效,请检查密钥是否正确','mcpServerUrl','http://www.w3.org/2000/svg','univer-flex\x20univer-gap-3','univer-text-gray-400','mcpConfig.connectionStatus.disconnected','open','权限验证失败,请检查您的\x20API\x20密钥','3356Eynfdk','univer-flex\x20univer-items-center\x20univer-gap-2','MCPConnectionController','MCP:\x20Session\x20ID\x20Occupied','108gsOdAi','univer_session_id:','CloseIcon','会话ID','BehaviorSubject','univer-space-y-3','Univer\x20AI\x20控制台','univer-space-y-5','_validateConfig','RETRYING','attrs','defIds','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','88HOkBHO','univer.ai','0\x200\x2016\x2016','MCPConnectionError','CommandType','_apiKey$','MCP_UI_PLUGIN','\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','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','启用身份验证以获得安全连接','subscribeConfigValue$','MCP\x20Configuration','CONNECTED','Success','启用身份验证','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','MCPConfigPanel','mcpStatus.maxRetriesExceeded','createElement','API\x20key\x20is\x20required','Configuration\x20Steps:','MCP:\x20Network\x20Error','_componentManager','_createConfigPanelComponent','mcpConfig.configError','_connectionController','off','_logService','getCurrentConfig','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','请输入您的\x20API\x20密钥','1711459dhmetB','univer-text-xs\x20univer-text-gray-500','colorChannel1','会话\x20ID\x20已被占用,请稍后再试','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MenuItemType','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','string','Failed\x20to\x20save\x20configuration','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','UniverNetwork','close-icon','help-icon','配置保存成功','_loadStoredApiKey','univer-text-sm\x20univer-font-medium','MCP_PLUGIN_CONFIG_KEY','mcpConfig.apiKey','error','mcpConfig.apiApplyInfo.description','MCP:\x20Unauthorized','BUTTON','Disposable','_mcpCoreConfig$','_initializeCommands','MCP\x20已断开','push','配置无效','几秒钟内获取您的\x20API\x20密钥','配置保存失败','IMenuManagerService','mcpConfig.apiKeyPlaceholder','removeItem','univer-min-w-0\x20univer-flex-1','FAILED','mcpConfig.configInstructions','_initConfigSync','getItem','univer-bg-blue-500','none','use','mcpConfig.title','univer-text-blue-600','Enter\x20your\x20API\x20key','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','ILogService','univer-size-2\x20univer-rounded-full','univer-flex\x20univer-items-start\x20univer-gap-3','https://console.univer.ai','mcpConfig.configStep3','enableAutoConnect','SESSION_ID_OCCUPIED','univer-shrink-0\x20univer-text-red-500','MCP\x20客户端配置','stringify','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-flex\x20univer-items-center','includes','tag','Error','clsx','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','MCP\x20连接中...','idSuffix','UniverUi','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','_uiPartsService','Configuration\x20Notes:','univer-flex-1','MCP\x20配置','jsx','useCallback','map','connectInjector','5428540PnuzHK','MCPConnectionStatus','mcpStatus.unauthorized','mcpConfig.note2','sessionId$','_mcpConnectionController','点击配置\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','isValid','setItem','enUS','getOwnPropertyDescriptor','\x20-\x20','__setCustomHeaders','univer-bg-red-500','MCP\x20Connected','Univer\x20AI\x20Console','mcpStatus.clickToConnect','exports','url(#$1','_localeService','Retrying...','IMessageService','_dialogService','_config$','mcpConfig.connectionStatus.connected','_registerComponent','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','OffLineIcon','Input','univer-text-sm\x20univer-text-gray-500','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','_configService','OnLineIcon','fill','univer-flex\x20univer-items-center\x20univer-gap-3','toString','evenodd','14YejDvX','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','_commandService','subscribe','univer-font-medium','symbol','univer-text-white','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','保存配置','next','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','merge','mcpConfig.connectionStatus.retrying','showStatus','超出最大重试次数,请稍后再试','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','配置\x20MCP\x20使用\x20AI\x20操作电子表格','showConfigPanel','Button','object','ComponentManager','MCPConfigUIController','Copy\x20the\x20JSON\x20configuration\x20below','IUIPartsService','toStringTag','univer-text-red-500','What\x20is\x20API\x20Key?','forEach','重连中...','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','mcpConfig.connectionInfo','mcpStatus.networkError','mcpStatus.disconnected','mcpConfig.connectionError.networkError','配置步骤:','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','forwardRef','MCP\x20状态未知','close','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Inject','OTHERS','最大重试次数','MCP\x20Disconnected','1104sHSLxM','_initAutoConnect','value','univer-shrink-0\x20univer-text-blue-500','mcpStatus.clickToConfigure','UniverMCPPlugin','MCP:\x20会话\x20ID\x20已被占用','entries','_config','mcpConfig.apiApplyInfo.univerAiLabel','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','3948QBduxt','Connecting...','_initStatusComponent','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','MCP\x20Connecting...','univer-bg-green-500','https://mcp.univer.ai/mcp/?univer_session_id=','show','react/jsx-runtime','get','已连接','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MessageType','IConfigService','_localStorageService','UniverIcon','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','add','复制以下\x20JSON\x20配置','保存中...','<API_KEY>','UNAUTHORIZED','translate(.97)','_messageService','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','text','function','_menuManagerService','mcp-ui.config','jsxs','114003bnXXrO','univer-size-4','path','IDialogService','MCP:\x20网络错误','round','current','MCP\x20Retrying...','API\x20Key','pre','rxjs','mcpConfig.validation.apiKeyTooShort','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','mcp-ui.command.openConfigPanel','univer-mr-2\x20univer-flex\x20univer-text-xl','useObservable','univer-flex\x20univer-items-start\x20univer-gap-2','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','什么是\x20API\x20密钥?','将以下配置添加到您的\x20MCP\x20客户端设置中:','setConfig','ICommandService','svg','Injector','random','assign','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','ISocketService','showDeveloperTools','defs','配置更改将立即生效','mcpStatus.connected','MCP:\x20超出最大重试次数','children','_handleConfigSave','<SESSION_ID>','API\x20密钥不能为空','网络连接错误,请检查您的网络连接','MAX_RETRIES_EXCEEDED','zhCN','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','pluginName','Configuration\x20Parameters:','NONE','div','@univerjs-pro/mcp','univer-flex\x20univer-flex-wrap\x20univer-gap-2','UniverProMcp','DependentOn','MCP\x20重连中...','registerComponent','MCP\x20Connection\x20Failed','disposeWithMe','CheckMarkIcon','mcpConfig.note1','ILocalStorageService','MCPConnectionUIController','DISCONNECTED','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','trim','_injector','_loading$','clipPath','React','react','Bearer\x20','MCP\x20已连接','replace','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.connectionStatus.connecting','univer-text-yellow-500','Save\x20Configuration','Configuration\x20saved\x20successfully','connectionStatus$','连接中...','button','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer.plus','Click\x20to\x20connect\x20MCP','univer-space-y-2','NETWORK_ERROR'];_0x5d91=function(){return _0x1f2031;};return _0x5d91();}(function(_0x15e6bb,_0x54bd58){const _0x109f55=_0x1ae0,_0x25308f=_0x15e6bb();while(!![]){try{const _0x253af1=-parseInt(_0x109f55(0xbe))/0x1*(parseInt(_0x109f55(0x1ea))/0x2)+-parseInt(_0x109f55(0x16a))/0x3*(-parseInt(_0x109f55(0x21b))/0x4)+-parseInt(_0x109f55(0x10a))/0x5+-parseInt(_0x109f55(0x1e5))/0x6*(parseInt(_0x109f55(0x130))/0x7)+-parseInt(_0x109f55(0x15f))/0x8*(parseInt(_0x109f55(0x189))/0x9)+-parseInt(_0x109f55(0x1e4))/0xa*(-parseInt(_0x109f55(0x22c))/0xb)+parseInt(_0x109f55(0x21f))/0xc*(parseInt(_0x109f55(0x1de))/0xd);if(_0x253af1===_0x54bd58)break;else _0x25308f['push'](_0x25308f['shift']());}catch(_0x5b810b){_0x25308f['push'](_0x25308f['shift']());}}}(_0x5d91,0xe21f6),function(_0x578f94,_0x1dadf1){const _0x1855e4=_0x1ae0;typeof exports==_0x1855e4(0x146)&&typeof module<'u'?_0x1dadf1(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==_0x1855e4(0x185)&&define['amd']?define([_0x1855e4(0x11c),'@univerjs/core',_0x1855e4(0x172),_0x1855e4(0x1b6),'@univerjs/design','@univerjs/ui',_0x1855e4(0x193),_0x1855e4(0x1c9),'@univerjs/network'],_0x1dadf1):(_0x578f94=typeof globalThis<'u'?globalThis:_0x578f94||self,_0x1dadf1(_0x578f94[_0x1855e4(0x211)]={},_0x578f94['UniverCore'],_0x578f94[_0x1855e4(0x1c8)],_0x578f94[_0x1855e4(0x1b8)],_0x578f94['UniverDesign'],_0x578f94[_0x1855e4(0x100)],_0x578f94['rxjs'],_0x578f94['React'],_0x578f94[_0x1855e4(0xc9)]));}(this,function(_0x14e16b,_0x295b5d,_0x1d818f,_0x3fac4d,_0x59a467,_0x105f6a,_0x50b0ea,_0x464194,_0x3c8ce0){'use strict';const _0x249df8=_0x1ae0;var _0x96e6ce=Object['defineProperty'],_0x12c090=(_0x3cdf89,_0x37700f,_0x17953f)=>_0x37700f in _0x3cdf89?_0x96e6ce(_0x3cdf89,_0x37700f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17953f}):_0x3cdf89[_0x37700f]=_0x17953f,_0x4a526e=(_0x1ccf3b,_0x311978,_0x3bdb50)=>_0x12c090(_0x1ccf3b,typeof _0x311978!=_0x249df8(0x135)?_0x311978+'':_0x311978,_0x3bdb50);function _0x285344({ref:_0x592362,..._0x1e3aa5}){const _0x2077c4=_0x249df8,{icon:_0x42d930,id:_0x4b63cb,className:_0x2fb89a,extend:_0x40ea46,..._0x32cd65}=_0x1e3aa5,_0xc25f9d=('univerjs-icon\x20univerjs-icon-'+_0x4b63cb+'\x20'+(_0x2fb89a||''))[_0x2077c4(0x1c4)](),_0x34a53a=_0x464194[_0x2077c4(0x20f)]('_'+_0x5cb822());return _0x5ee34d(_0x42d930,''+_0x4b63cb,{'defIds':_0x42d930[_0x2077c4(0x22a)],'idSuffix':_0x34a53a[_0x2077c4(0x18f)]},{'ref':_0x592362,'className':_0xc25f9d,..._0x32cd65},_0x40ea46);}function _0x5ee34d(_0x543f9c,_0x424c98,_0x2af023,_0x5cc836,_0x104eef){const _0x4e1085=_0x249df8;return _0x464194[_0x4e1085(0x23e)](_0x543f9c[_0x4e1085(0xfa)],{'key':_0x424c98,..._0x322fa4(_0x543f9c,_0x2af023,_0x104eef),..._0x5cc836},(_0x4daa39(_0x543f9c,_0x2af023)[_0x4e1085(0x1aa)]||[])[_0x4e1085(0x108)]((_0x4c9c35,_0x5e16b8)=>_0x5ee34d(_0x4c9c35,_0x424c98+'-'+_0x543f9c[_0x4e1085(0xfa)]+'-'+_0x5e16b8,_0x2af023,void 0x0,_0x104eef)));}function _0x322fa4(_0x110790,_0x58ea3d,_0x46d8a5){const _0x1c1f66=_0x249df8,_0x313e8a={..._0x110790[_0x1c1f66(0x229)]};_0x46d8a5!=null&&_0x46d8a5['colorChannel1']&&_0x313e8a[_0x1c1f66(0x12c)]===_0x1c1f66(0xc0)&&(_0x313e8a['fill']=_0x46d8a5['colorChannel1']),_0x110790[_0x1c1f66(0xfa)]==='mask'&&_0x313e8a['id']&&(_0x313e8a['id']=_0x313e8a['id']+_0x58ea3d['idSuffix']),Object['entries'](_0x313e8a)['forEach'](([_0x58faa1,_0x5c8f1c])=>{const _0x127a48=_0x1c1f66;_0x58faa1==='mask'&&typeof _0x5c8f1c=='string'&&(_0x313e8a[_0x58faa1]=_0x5c8f1c['replace'](/url\(#(.*)\)/,_0x127a48(0x11d)+_0x58ea3d[_0x127a48(0xff)]+')'));});const {defIds:_0x2f1307}=_0x58ea3d;return!_0x2f1307||_0x2f1307[_0x1c1f66(0x1f2)]===0x0||(_0x110790[_0x1c1f66(0xfa)]===_0x1c1f66(0xe7)&&_0x313e8a[_0x1c1f66(0x1e8)]&&(_0x313e8a[_0x1c1f66(0x1e8)]=_0x313e8a['xlink:href']+_0x58ea3d[_0x1c1f66(0xff)]),Object[_0x1c1f66(0x166)](_0x313e8a)[_0x1c1f66(0x14e)](([_0x3a7481,_0x309b65])=>{const _0x11e071=_0x1c1f66;typeof _0x309b65==_0x11e071(0xc6)&&(_0x313e8a[_0x3a7481]=_0x309b65[_0x11e071(0x1cc)](/url\(#(.*)\)/,_0x11e071(0x11d)+_0x58ea3d['idSuffix']+')'));})),_0x313e8a;}function _0x4daa39(_0x23308c,_0x3223d0){const _0x4cb700=_0x249df8;var _0x5916b1;const {defIds:_0x3d1c7e}=_0x3223d0;return!_0x3d1c7e||_0x3d1c7e[_0x4cb700(0x1f2)]===0x0?_0x23308c:_0x23308c[_0x4cb700(0xfa)]===_0x4cb700(0x1a6)&&((_0x5916b1=_0x23308c[_0x4cb700(0x1aa)])!=null&&_0x5916b1[_0x4cb700(0x1f2)])?{..._0x23308c,'children':_0x23308c['children'][_0x4cb700(0x108)](_0x59df2a=>typeof _0x59df2a[_0x4cb700(0x229)]['id']=='string'&&_0x3d1c7e&&_0x3d1c7e[_0x4cb700(0xf9)](_0x59df2a['attrs']['id'])?{..._0x59df2a,'attrs':{..._0x59df2a['attrs'],'id':_0x59df2a[_0x4cb700(0x229)]['id']+_0x3223d0[_0x4cb700(0xff)]}}:_0x59df2a)}:_0x23308c;}function _0x5cb822(){const _0x1dc72e=_0x249df8;return Math[_0x1dc72e(0x1a1)]()[_0x1dc72e(0x12e)](0x24)['substring'](0x2,0x8);}_0x285344[_0x249df8(0x212)]=_0x249df8(0x179);const _0x544223={'tag':_0x249df8(0x19f),'attrs':{'xmlns':_0x249df8(0x215),'fill':_0x249df8(0xe6),'viewBox':_0x249df8(0x22e),'width':_0x249df8(0x20b),'height':_0x249df8(0x20b)},'children':[{'tag':_0x249df8(0x18b),'attrs':{'fill':'currentColor','d':_0x249df8(0x182),'fillRule':_0x249df8(0x12f),'clipRule':_0x249df8(0x12f)}}]},_0x401e2e=_0x464194[_0x249df8(0x157)](function(_0xd9d5c7,_0x3ff129){const _0x3d2a57=_0x249df8;return _0x464194[_0x3d2a57(0x23e)](_0x285344,Object[_0x3d2a57(0x1a2)]({},_0xd9d5c7,{'id':'check-mark-icon','ref':_0x3ff129,'icon':_0x544223}));});_0x401e2e['displayName']=_0x249df8(0x1be);const _0x3b226b={'tag':_0x249df8(0x19f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x249df8(0xe6),'viewBox':'0\x200\x2016\x2016','width':_0x249df8(0x20b),'height':'1em'},'children':[{'tag':_0x249df8(0x18b),'attrs':{'fill':_0x249df8(0x202),'d':_0x249df8(0x195)}}]},_0x10f300=_0x464194['forwardRef'](function(_0x31ecf8,_0x33cd21){const _0x27f51b=_0x249df8;return _0x464194[_0x27f51b(0x23e)](_0x285344,Object['assign']({},_0x31ecf8,{'id':_0x27f51b(0xca),'ref':_0x33cd21,'icon':_0x3b226b}));});_0x10f300[_0x249df8(0x212)]=_0x249df8(0x221);const _0x2d9028={'tag':_0x249df8(0x19f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x249df8(0xe6),'viewBox':_0x249df8(0x22e),'width':_0x249df8(0x20b),'height':_0x249df8(0x20b)},'children':[{'tag':_0x249df8(0x18b),'attrs':{'fill':_0x249df8(0x202),'d':_0x249df8(0xfd)}},{'tag':_0x249df8(0x18b),'attrs':{'fill':_0x249df8(0x202),'d':_0x249df8(0x206)}},{'tag':_0x249df8(0x18b),'attrs':{'fill':'currentColor','d':_0x249df8(0x16d),'fillRule':'evenodd','clipRule':_0x249df8(0x12f)}}]},_0x137a00=_0x464194['forwardRef'](function(_0x30671b,_0x12db7f){const _0x259b09=_0x249df8;return _0x464194[_0x259b09(0x23e)](_0x285344,Object[_0x259b09(0x1a2)]({},_0x30671b,{'id':_0x259b09(0xcb),'ref':_0x12db7f,'icon':_0x2d9028}));});_0x137a00[_0x249df8(0x212)]='HelpIcon';const _0x39c822={'tag':_0x249df8(0x19f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x249df8(0xe6),'viewBox':_0x249df8(0x22e),'width':_0x249df8(0x20b),'height':_0x249df8(0x20b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x249df8(0x18b),'attrs':{'stroke':'currentColor','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':'round','strokeLinejoin':_0x249df8(0x18e),'strokeWidth':1.2}}]},{'tag':_0x249df8(0x1a6),'attrs':{},'children':[{'tag':_0x249df8(0x1c7),'attrs':{'id':_0x249df8(0x1fe)},'children':[{'tag':_0x249df8(0x18b),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x249df8(0x1fe)]},_0x3afe3d=_0x464194['forwardRef'](function(_0x34bc1a,_0x4cf690){const _0x401bdd=_0x249df8;return _0x464194[_0x401bdd(0x23e)](_0x285344,Object[_0x401bdd(0x1a2)]({},_0x34bc1a,{'id':'off-line-icon','ref':_0x4cf690,'icon':_0x39c822}));});_0x3afe3d[_0x249df8(0x212)]=_0x249df8(0x126);const _0x5088fc={'tag':_0x249df8(0x19f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x249df8(0x20b),'height':_0x249df8(0x20b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x249df8(0x18b),'attrs':{'stroke':_0x249df8(0x202),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x249df8(0x18e),'strokeLinejoin':_0x249df8(0x18e),'strokeWidth':1.2}}]},{'tag':_0x249df8(0x1a6),'attrs':{},'children':[{'tag':_0x249df8(0x1c7),'attrs':{'id':_0x249df8(0x1fb)},'children':[{'tag':_0x249df8(0x18b),'attrs':{'fill':_0x249df8(0x208),'d':_0x249df8(0x1dc),'transform':_0x249df8(0x180)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x2bbdcb=_0x464194[_0x249df8(0x157)](function(_0x2d8b78,_0x5c9387){const _0x2e3afc=_0x249df8;return _0x464194[_0x2e3afc(0x23e)](_0x285344,Object[_0x2e3afc(0x1a2)]({},_0x2d8b78,{'id':'on-line-icon','ref':_0x5c9387,'icon':_0x5088fc}));});_0x2bbdcb[_0x249df8(0x212)]=_0x249df8(0x12b);function _0x120bf4(_0x3815f8){const _0x53a833=_0x249df8;var _0x51a92a,_0x53d866;const {mcpCoreConfig:_0x4dde70,onSave:_0x20a91e,loading:_0x40c3ae=!0x1,config:_0x188d4d,connectionStatus$:_0x34f601,connectionError$:_0x2edd4c,currentApiKey$:_0x259514,currentSessionId$:_0x76e5f1}=_0x3815f8,_0x1c28fe=_0x105f6a['useDependency'](_0x295b5d['LocaleService']),_0x56f646=_0x105f6a[_0x53a833(0x198)](_0x34f601,_0x3fac4d[_0x53a833(0x10b)][_0x53a833(0x1c2)]),_0x70cfab=_0x105f6a[_0x53a833(0x198)](_0x2edd4c,_0x3fac4d[_0x53a833(0x22f)]['NONE']),_0x3d07ca=_0x105f6a[_0x53a833(0x198)](_0x76e5f1,''),_0x59e94=_0x105f6a[_0x53a833(0x198)](_0x259514,''),[_0x401c28,_0x192265]=_0x464194['useState'](_0x59e94||''),_0x4241b9=!0x0,_0x31d408=_0x188d4d[_0x53a833(0x1a5)]&&_0x4dde70[_0x53a833(0x214)]&&(_0x4dde70[_0x53a833(0x214)][_0x53a833(0xf9)](_0x53a833(0x1d6))||_0x4dde70[_0x53a833(0x214)][_0x53a833(0xf9)](_0x53a833(0x22d))),_0x3f371c=(_0x51a92a=_0x4dde70[_0x53a833(0x214)])==null?void 0x0:_0x51a92a[_0x53a833(0xf9)](_0x53a833(0x1d6)),_0x4ed83b=(_0x53d866=_0x4dde70[_0x53a833(0x214)])==null?void 0x0:_0x53d866[_0x53a833(0xf9)](_0x53a833(0x22d)),_0x2df842=_0x3f371c?_0x53a833(0x1fa):_0x53a833(0xef),_0x22d36e=_0x188d4d[_0x53a833(0x1a5)]&&(_0x3f371c||_0x4ed83b),[_0x531dc1,_0x3134e0]=_0x464194[_0x53a833(0x200)](!_0x401c28[_0x53a833(0x1c4)]()),_0x2c1437=(_0xcf332,_0x5a9422)=>{const _0x48144d=_0x53a833;if(_0x5a9422===_0x3fac4d[_0x48144d(0x22f)][_0x48144d(0x17f)])return _0x48144d(0x13d);switch(_0xcf332){case _0x3fac4d[_0x48144d(0x10b)]['CONNECTED']:return _0x48144d(0x1f6);case _0x3fac4d[_0x48144d(0x10b)][_0x48144d(0x1ed)]:case _0x3fac4d[_0x48144d(0x10b)][_0x48144d(0x228)]:return _0x48144d(0x234);case _0x3fac4d[_0x48144d(0x10b)]['FAILED']:return _0x48144d(0x13d);default:return _0x48144d(0x23b);}},_0x100ffa=(_0x23cec2,_0x423d9d)=>{const _0x277d8a=_0x53a833;if(_0x423d9d===_0x3fac4d[_0x277d8a(0x22f)]['UNAUTHORIZED'])return _0x277d8a(0x118);switch(_0x23cec2){case _0x3fac4d[_0x277d8a(0x10b)]['CONNECTED']:return _0x277d8a(0x16f);case _0x3fac4d[_0x277d8a(0x10b)][_0x277d8a(0x1ed)]:case _0x3fac4d[_0x277d8a(0x10b)]['RETRYING']:return _0x277d8a(0xe5);case _0x3fac4d[_0x277d8a(0x10b)][_0x277d8a(0xe1)]:return _0x277d8a(0x118);default:return'univer-bg-gray-500';}},_0x489f1f=_0x48bd22=>{const _0x90b60=_0x53a833;switch(_0x48bd22){case _0x3fac4d[_0x90b60(0x10b)][_0x90b60(0x238)]:return _0x1c28fe['t'](_0x90b60(0x123));case _0x3fac4d[_0x90b60(0x10b)][_0x90b60(0x1ed)]:return _0x1c28fe['t'](_0x90b60(0x1ce));case _0x3fac4d[_0x90b60(0x10b)][_0x90b60(0xe1)]:return _0x1c28fe['t'](_0x90b60(0x210));case _0x3fac4d[_0x90b60(0x10b)][_0x90b60(0x228)]:return _0x1c28fe['t'](_0x90b60(0x13f));default:return _0x1c28fe['t'](_0x90b60(0x218));}},_0xadee2=_0x1988c5=>{const _0x58dfbd=_0x53a833;switch(_0x1988c5){case _0x3fac4d[_0x58dfbd(0x22f)][_0x58dfbd(0x17f)]:return _0x1c28fe['t'](_0x58dfbd(0x1db));case _0x3fac4d['MCPConnectionError'][_0x58dfbd(0xf2)]:return _0x1c28fe['t']('mcpConfig.connectionError.sessionOccupied');case _0x3fac4d[_0x58dfbd(0x22f)][_0x58dfbd(0x1d9)]:return _0x1c28fe['t'](_0x58dfbd(0x154));case _0x3fac4d[_0x58dfbd(0x22f)][_0x58dfbd(0x1af)]:return _0x1c28fe['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x24f70b=_0x464194[_0x53a833(0x107)](()=>{const _0x1b73e3=_0x53a833,_0x4ed34a={..._0x4dde70,'apiKey':_0x401c28[_0x1b73e3(0x1c4)](),'enableAuth':_0x4241b9};_0x20a91e(_0x4ed34a);},[_0x4dde70,_0x401c28,_0x4241b9,_0x20a91e]),_0x1e6209=_0x401c28['trim']()[_0x53a833(0x1f2)]>0x0;return _0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0x1f1),'children':[_0x1d818f['jsx']('div',{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0x12d),'children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x53a833(0xc8),'children':_0x1d818f[_0x53a833(0x106)]('span',{'className':_0x53a833(0x136),'children':'⚙'})}),_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'children':_0x1d818f[_0x53a833(0x106)]('p',{'className':_0x53a833(0x128),'children':_0x1c28fe['t']('mcpConfig.description')})})]})}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0x125),'children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x59a467[_0x53a833(0xfc)](_0x53a833(0x17a),_0x2c1437(_0x56f646,_0x70cfab)),'children':_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x59a467[_0x53a833(0xfc)](_0x53a833(0xed),_0x100ffa(_0x56f646,_0x70cfab))}),_0x1d818f[_0x53a833(0x106)](_0x53a833(0x205),{'className':_0x53a833(0xce),'children':_0x489f1f(_0x56f646)})]})}),_0x70cfab!==_0x3fac4d[_0x53a833(0x22f)][_0x53a833(0x1b4)]&&(_0x56f646===_0x3fac4d['MCPConnectionStatus'][_0x53a833(0xe1)]||_0x70cfab===_0x3fac4d['MCPConnectionError']['UNAUTHORIZED'])&&_0x1d818f[_0x53a833(0x106)]('div',{'className':_0x53a833(0x15a),'children':_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0x199),'children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x205),{'className':_0x53a833(0xf3),'children':'⚠️'}),_0x1d818f[_0x53a833(0x106)]('p',{'className':_0x53a833(0x169),'children':_0xadee2(_0x70cfab)})]})})]}),_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0x226),'children':[_0x1d818f[_0x53a833(0x188)]('div',{'className':_0x53a833(0x1d8),'children':[_0x1d818f['jsxs']('label',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x205),{'children':'🔑'}),'\x20',_0x1c28fe['t'](_0x53a833(0xd0)),_0x1d818f['jsx'](_0x53a833(0x205),{'className':_0x53a833(0x14c),'children':'*'}),_0x31d408&&_0x1d818f[_0x53a833(0x106)]('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x1c28fe['t']('mcpConfig.apiApplyInfo.title'),'role':'button','onClick':()=>_0x3134e0(!0x0),'children':_0x1d818f[_0x53a833(0x106)](_0x137a00,{})})]}),_0x1d818f['jsx'](_0x59a467[_0x53a833(0x127)],{'type':_0x53a833(0x184),'placeholder':_0x1c28fe['t'](_0x53a833(0xde)),'value':_0x401c28,'disabled':_0x40c3ae,'autoComplete':_0x53a833(0x246),'onChange':_0x192265}),_0x1d818f[_0x53a833(0x106)]('p',{'className':_0x53a833(0xbf),'children':_0x1c28fe['t']('mcpConfig.apiKeyHint')})]}),_0x31d408&&_0x531dc1&&_0x1d818f['jsxs'](_0x53a833(0x1b5),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x1d818f[_0x53a833(0x106)]('a',{'className':_0x53a833(0x131),'role':'button','onClick':()=>_0x3134e0(!0x1),'children':_0x1d818f[_0x53a833(0x106)](_0x10f300,{'className':_0x53a833(0x18a)})}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0xbc),'children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x53a833(0x13c),'children':_0x1d818f[_0x53a833(0x106)]('span',{'className':_0x53a833(0xe9),'children':'🚀'})}),_0x1d818f[_0x53a833(0x188)]('div',{'className':_0x53a833(0x104),'children':[_0x1d818f[_0x53a833(0x106)]('h4',{'className':_0x53a833(0x19a),'children':_0x1c28fe['t']('mcpConfig.apiApplyInfo.title')}),_0x1d818f[_0x53a833(0x106)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x1c28fe['t'](_0x53a833(0xd2))}),_0x1d818f['jsx'](_0x53a833(0x1b5),{'className':_0x53a833(0x1b7),'children':_0x22d36e&&_0x1d818f['jsxs']('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':_0x2df842,'target':'_blank','rel':'noopener\x20noreferrer','children':[_0x1d818f['jsx'](_0x53a833(0x205),{'children':'🤖'}),_0x1c28fe['t'](_0x53a833(0x168)),_0x1d818f['jsx'](_0x53a833(0x205),{'className':_0x53a833(0x217),'children':'↗'})]})}),_0x1d818f['jsxs'](_0x53a833(0x1b5),{'className':_0x53a833(0x1d5),'children':['✨','\x20',_0x1c28fe['t'](_0x53a833(0x1eb))]})]})]})]}),_0x188d4d['showDeveloperTools']&&_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0x150),'children':[_0x1d818f[_0x53a833(0x188)]('h4',{'className':_0x53a833(0x1ff),'children':[_0x1d818f['jsx']('span',{'children':'🔗'}),'\x20',_0x1c28fe['t'](_0x53a833(0x151))]}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':'univer-space-y-4','children':[_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0x224),'children':[_0x1d818f['jsx']('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x1c28fe['t'](_0x53a833(0xe2))}),_0x1d818f['jsxs'](_0x53a833(0x1b5),{'className':_0x53a833(0x1d8),'children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x53a833(0x1cd),'children':_0x1c28fe['t'](_0x53a833(0x1f0))}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0x129),'children':[_0x1d818f['jsxs']('div',{'className':_0x53a833(0x21c),'children':[_0x1d818f['jsx'](_0x53a833(0x205),{'className':_0x53a833(0x156),'children':'1'}),_0x1c28fe['t']('mcpConfig.configStep1')]}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0x21c),'children':[_0x1d818f['jsx'](_0x53a833(0x205),{'className':_0x53a833(0x156),'children':'2'}),_0x1c28fe['t']('mcpConfig.configStep2')]}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0x21c),'children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x205),{'className':_0x53a833(0x156),'children':'3'}),_0x1c28fe['t'](_0x53a833(0xf0))]})]})]})]}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0x1d8),'children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x53a833(0x1cd),'children':'MCP\x20Configuration'}),_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x53a833(0x137),'children':_0x1d818f[_0x53a833(0x106)](_0x53a833(0x192),{'className':_0x53a833(0x139),'children':JSON[_0x53a833(0xf5)]({'mcpServers':{'univer':{'url':_0x53a833(0x170)+(_0x3d07ca||_0x53a833(0x1ac)),'type':_0x53a833(0x20c),'headers':{'Authorization':_0x53a833(0x1ca)+(_0x401c28||_0x53a833(0x17e))}}}},null,0x2)})})]}),_0x1d818f['jsxs'](_0x53a833(0x1b5),{'className':_0x53a833(0x224),'children':[_0x1d818f['jsx'](_0x53a833(0x1b5),{'className':_0x53a833(0x1cd),'children':_0x1c28fe['t']('mcpConfig.configParameters')}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0x1d8),'children':[_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x1d818f['jsxs'](_0x53a833(0x1b5),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x53a833(0x183),'children':_0x53a833(0x220)}),_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x53a833(0xbf),'children':_0x1c28fe['t']('mcpConfig.sessionIdDescription')})]})]}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0xee),'children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x53a833(0x142)}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':_0x53a833(0xe0),'children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x53a833(0x183),'children':'Authorization:'}),_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x53a833(0xbf),'children':_0x1c28fe['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x1d818f[_0x53a833(0x106)](_0x59a467[_0x53a833(0x145)],{'onClick':_0x24f70b,'disabled':!_0x1e6209||_0x40c3ae,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x40c3ae?_0x1d818f[_0x53a833(0x188)](_0x53a833(0x205),{'className':_0x53a833(0x21c),'children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x205),{'children':'⟲'}),_0x1c28fe['t']('mcpConfig.saving')]}):_0x1d818f[_0x53a833(0x188)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1d818f['jsx'](_0x401e2e,{}),_0x1c28fe['t']('mcpConfig.save')]})}),_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x53a833(0xf6),'children':_0x1d818f[_0x53a833(0x188)]('div',{'className':_0x53a833(0x216),'children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x205),{'className':_0x53a833(0x162),'children':'💡'}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x1d818f[_0x53a833(0x106)](_0x53a833(0x1b5),{'className':_0x53a833(0x134),'children':_0x53a833(0x103)}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'children':['•',_0x1c28fe['t'](_0x53a833(0x1bf))]}),_0x1d818f[_0x53a833(0x188)](_0x53a833(0x1b5),{'children':['•',_0x1c28fe['t'](_0x53a833(0x10d))]})]})]})})]})})]});}const _0x3c3d48=_0x249df8(0x187),_0x9c7695={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x356ec5=Object[_0x249df8(0x115)],_0x4ceddc=(_0x452de1,_0x4824b6,_0x153acd,_0x324b3b)=>{const _0x1a4d68=_0x249df8;for(var _0x52c428=_0x324b3b>0x1?void 0x0:_0x324b3b?_0x356ec5(_0x4824b6,_0x153acd):_0x4824b6,_0x4dd879=_0x452de1[_0x1a4d68(0x1f2)]-0x1,_0x5c8838;_0x4dd879>=0x0;_0x4dd879--)(_0x5c8838=_0x452de1[_0x4dd879])&&(_0x52c428=_0x5c8838(_0x52c428)||_0x52c428);return _0x52c428;},_0x2c4040=(_0x1186fd,_0x1748a7)=>(_0x37041f,_0x400192)=>_0x1748a7(_0x37041f,_0x400192,_0x1186fd);const _0x44007d=_0x249df8(0x1e6),_0x34e57f='mcp-config-dialog';_0x14e16b[_0x249df8(0x148)]=class extends _0x295b5d[_0x249df8(0xd5)]{constructor(_0x431eea,_0x12b0a2,_0x4f7c67,_0x36b5a0,_0x7c6ece,_0x233414,_0x33e966,_0x2b1e2a,_0x227ad0,_0x5333f1){const _0x1460d9=_0x249df8;super(),_0x4a526e(this,_0x1460d9(0x1c6),new _0x50b0ea['BehaviorSubject'](!0x1)),_0x4a526e(this,_0x1460d9(0xd6),new _0x50b0ea[(_0x1460d9(0x223))]({})),_0x4a526e(this,_0x1460d9(0x122),new _0x50b0ea[(_0x1460d9(0x223))]({})),_0x4a526e(this,'_apiKey$',new _0x50b0ea[(_0x1460d9(0x223))]('')),_0x4a526e(this,_0x1460d9(0x1ab),async _0x3f8db7=>{const _0x16b2cc=_0x1460d9;var _0x501bd2,_0x339125;this['_loading$'][_0x16b2cc(0x13b)](!0x0);try{const _0x5bcc1a=await this[_0x16b2cc(0x227)](_0x3f8db7);if(!_0x5bcc1a['isValid']){this[_0x16b2cc(0x181)]['show']({'type':_0x59a467[_0x16b2cc(0x176)]['Error'],'content':_0x5bcc1a['errorMessage']||this[_0x16b2cc(0x11e)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x3f8db7[_0x16b2cc(0x203)]?await this[_0x16b2cc(0x178)][_0x16b2cc(0x113)](_0x44007d,_0x3f8db7[_0x16b2cc(0x203)][_0x16b2cc(0x1c4)]()):await this[_0x16b2cc(0x178)][_0x16b2cc(0xdf)](_0x44007d),this[_0x16b2cc(0x231)][_0x16b2cc(0x13b)](((_0x501bd2=_0x3f8db7[_0x16b2cc(0x203)])==null?void 0x0:_0x501bd2['trim']())||''),this[_0x16b2cc(0x10f)][_0x16b2cc(0x117)]({'Authorization':_0x16b2cc(0x1ca)+((_0x339125=_0x3f8db7[_0x16b2cc(0x203)])==null?void 0x0:_0x339125[_0x16b2cc(0x1c4)]())}),this[_0x16b2cc(0x181)][_0x16b2cc(0x171)]({'type':_0x59a467[_0x16b2cc(0x176)][_0x16b2cc(0x239)],'content':this['_localeService']['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x4654be=_0x16b2cc;this[_0x4654be(0x121)][_0x4654be(0x159)](_0x34e57f);},0x320);}catch(_0x48e979){this[_0x16b2cc(0x247)]['error'](_0x16b2cc(0x1b1),_0x48e979),this[_0x16b2cc(0x181)][_0x16b2cc(0x171)]({'type':_0x59a467[_0x16b2cc(0x176)][_0x16b2cc(0xfb)],'content':this[_0x16b2cc(0x11e)]['t'](_0x16b2cc(0x244))});}finally{this[_0x16b2cc(0x1c6)][_0x16b2cc(0x13b)](!0x1);}}),(this[_0x1460d9(0x1c5)]=_0x431eea,this[_0x1460d9(0x102)]=_0x12b0a2,this['_configService']=_0x4f7c67,this['_localStorageService']=_0x36b5a0,this[_0x1460d9(0x121)]=_0x7c6ece,this[_0x1460d9(0x181)]=_0x233414,this[_0x1460d9(0x242)]=_0x33e966,this['_localeService']=_0x2b1e2a,this[_0x1460d9(0x247)]=_0x227ad0,this[_0x1460d9(0x10f)]=_0x5333f1,this[_0x1460d9(0xe3)](),this[_0x1460d9(0xcd)](),this['_registerComponent']());}[_0x249df8(0x144)](){const _0x4f7078=_0x249df8,_0x52837b=this['_configService'][_0x4f7078(0x1da)](_0x3c3d48);_0x52837b!=null&&_0x52837b['showDeveloperTools']&&this[_0x4f7078(0x121)][_0x4f7078(0x219)]({'id':_0x34e57f,'title':{'title':this[_0x4f7078(0x11e)]['t'](_0x4f7078(0xe8))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x1f2244=_0x4f7078;this[_0x1f2244(0x121)][_0x1f2244(0x159)](_0x34e57f);}});}[_0x249df8(0x248)](){const _0x5045a5=_0x249df8;return this['_mcpCoreConfig$'][_0x5045a5(0x161)];}[_0x249df8(0x124)](){const _0x5f1954=_0x249df8;this[_0x5f1954(0x1bd)](this[_0x5f1954(0x242)]['register'](_0x5f1954(0x23c),this[_0x5f1954(0x243)]()));}[_0x249df8(0x243)](){const _0x3744f5=_0x249df8;return _0x105f6a[_0x3744f5(0x109)](()=>{const _0x5cbe82=_0x3744f5;var _0x38623d,_0x1cfbb2,_0x456f4f;return _0x1d818f[_0x5cbe82(0x106)](_0x120bf4,{'config':this[_0x5cbe82(0x122)][_0x5cbe82(0x161)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x5cbe82(0x161)],'currentApiKey$':this[_0x5cbe82(0x231)],'onSave':this[_0x5cbe82(0x1ab)],'loading':this['_loading$'][_0x5cbe82(0x161)],'connectionStatus$':(_0x38623d=this[_0x5cbe82(0x10f)])==null?void 0x0:_0x38623d[_0x5cbe82(0x1d2)],'connectionError$':(_0x1cfbb2=this[_0x5cbe82(0x10f)])==null?void 0x0:_0x1cfbb2['connectionError$'],'currentSessionId$':(_0x456f4f=this[_0x5cbe82(0x10f)])==null?void 0x0:_0x456f4f[_0x5cbe82(0x10e)]});},this[_0x3744f5(0x1c5)]);}[_0x249df8(0xe3)](){const _0x1d40d9=_0x249df8;this[_0x1d40d9(0x1bd)](this[_0x1d40d9(0x12a)][_0x1d40d9(0x236)](_0x3fac4d[_0x1d40d9(0xcf)])['subscribe'](_0x1a2611=>{this['_mcpCoreConfig$']['next'](_0x1a2611||{});}));const _0x247581=this[_0x1d40d9(0x12a)]['getConfig'](_0x3fac4d[_0x1d40d9(0xcf)]);this[_0x1d40d9(0xd6)][_0x1d40d9(0x13b)](_0x247581||{}),this['disposeWithMe'](this[_0x1d40d9(0x12a)]['subscribeConfigValue$'](_0x3c3d48)[_0x1d40d9(0x133)](_0x17de77=>{const _0x57d8cf=_0x1d40d9;this[_0x57d8cf(0x122)][_0x57d8cf(0x13b)](_0x17de77||{});}));const _0xc9dff1=this['_configService'][_0x1d40d9(0x1da)](_0x3c3d48);this[_0x1d40d9(0x122)][_0x1d40d9(0x13b)](_0xc9dff1||{});}async[_0x249df8(0xcd)](){const _0x34f9b3=_0x249df8,_0x19ed6c=this[_0x34f9b3(0x12a)]['getConfig'](_0x3c3d48);if(!(_0x19ed6c!=null&&_0x19ed6c[_0x34f9b3(0x1a5)]))return;const _0x121767=await this[_0x34f9b3(0x178)][_0x34f9b3(0xe4)](_0x44007d);_0x121767&&(this[_0x34f9b3(0x10f)][_0x34f9b3(0x117)]({'Authorization':_0x34f9b3(0x1ca)+_0x121767}),this[_0x34f9b3(0x231)][_0x34f9b3(0x13b)](_0x121767));}async['_validateConfig'](_0x584c96){const _0x2de3c1=_0x249df8;if(!_0x584c96[_0x2de3c1(0x203)]||_0x584c96[_0x2de3c1(0x203)][_0x2de3c1(0x1c4)]()[_0x2de3c1(0x1f2)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x2de3c1(0x1ef))};if(_0x584c96[_0x2de3c1(0x203)][_0x2de3c1(0x1c4)]()[_0x2de3c1(0x1f2)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x2de3c1(0x194))};try{const _0x37ae3c=await this[_0x2de3c1(0x1c5)][_0x2de3c1(0x173)](_0x3fac4d['MCPConnectionController'])['validateApiKey'](_0x584c96[_0x2de3c1(0x203)][_0x2de3c1(0x1c4)]());return _0x37ae3c[_0x2de3c1(0x112)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x37ae3c[_0x2de3c1(0xd1)]||this[_0x2de3c1(0x11e)]['t'](_0x2de3c1(0x1ee))};}catch(_0x511ae0){return console['warn'](_0x2de3c1(0x1df),_0x511ae0),{'isValid':!0x0};}}},_0x14e16b['MCPConfigUIController']=_0x4ceddc([_0x2c4040(0x0,_0x295b5d['Inject'](_0x295b5d[_0x249df8(0x1a0)])),_0x2c4040(0x1,_0x105f6a['IUIPartsService']),_0x2c4040(0x2,_0x295b5d['IConfigService']),_0x2c4040(0x3,_0x295b5d['ILocalStorageService']),_0x2c4040(0x4,_0x105f6a[_0x249df8(0x18c)]),_0x2c4040(0x5,_0x105f6a[_0x249df8(0x120)]),_0x2c4040(0x6,_0x295b5d[_0x249df8(0x15b)](_0x105f6a[_0x249df8(0x147)])),_0x2c4040(0x7,_0x295b5d[_0x249df8(0x15b)](_0x295b5d[_0x249df8(0x1e9)])),_0x2c4040(0x8,_0x295b5d[_0x249df8(0xec)]),_0x2c4040(0x9,_0x295b5d['Inject'](_0x3fac4d['MCPConnectionController']))],_0x14e16b[_0x249df8(0x148)]);const _0x1c9c24={'id':_0x249df8(0x196),'type':_0x295b5d[_0x249df8(0x230)]['COMMAND'],'handler':async(_0x2e0b4e,_0x31bd06)=>(_0x2e0b4e[_0x249df8(0x173)](_0x14e16b[_0x249df8(0x148)])['showConfigPanel'](),!0x0)};function _0x21a379(_0x12f61a,_0x6def46){const _0x1c6714=_0x249df8;switch(_0x12f61a){case _0x3fac4d[_0x1c6714(0x10b)][_0x1c6714(0x1c2)]:return _0x1c6714(0x153);case _0x3fac4d[_0x1c6714(0x10b)][_0x1c6714(0x1ed)]:return'mcpStatus.connecting';case _0x3fac4d[_0x1c6714(0x10b)][_0x1c6714(0x238)]:return _0x1c6714(0x1a8);case _0x3fac4d[_0x1c6714(0x10b)][_0x1c6714(0xe1)]:switch(_0x6def46){case _0x3fac4d[_0x1c6714(0x22f)]['UNAUTHORIZED']:return _0x1c6714(0x10c);case _0x3fac4d[_0x1c6714(0x22f)][_0x1c6714(0xf2)]:return'mcpStatus.sessionOccupied';case _0x3fac4d[_0x1c6714(0x22f)][_0x1c6714(0x1d9)]:return _0x1c6714(0x152);case _0x3fac4d[_0x1c6714(0x22f)][_0x1c6714(0x1af)]:return _0x1c6714(0x23d);default:return _0x1c6714(0x1e7);}case _0x3fac4d[_0x1c6714(0x10b)][_0x1c6714(0x228)]:return _0x1c6714(0x1f5);default:return'mcpStatus.unknown';}}function _0xb0f223(_0x19a50f,_0x39930c,_0x5c6ffd,_0x4a5d59=!0x0){const _0x3ad6c4=_0x249df8,_0x1d006a=_0x21a379(_0x19a50f,_0x39930c),_0x4a590b=_0x5c6ffd['t'](_0x1d006a);return _0x4a5d59?_0x19a50f===_0x3fac4d['MCPConnectionStatus'][_0x3ad6c4(0x1c2)]&&_0x39930c===_0x3fac4d['MCPConnectionError']['UNAUTHORIZED']?_0x4a590b+_0x3ad6c4(0x116)+_0x5c6ffd['t'](_0x3ad6c4(0x163)):_0x19a50f===_0x3fac4d[_0x3ad6c4(0x10b)]['CONNECTED']?''+_0x4a590b:_0x19a50f===_0x3fac4d[_0x3ad6c4(0x10b)]['DISCONNECTED']||_0x19a50f===_0x3fac4d[_0x3ad6c4(0x10b)]['FAILED']?_0x4a590b+_0x3ad6c4(0x116)+_0x5c6ffd['t'](_0x3ad6c4(0x11b)):_0x4a590b:_0x4a590b;}function _0x22b5ed(_0x3a488f){const _0x18931c=_0x249df8;switch(_0x3a488f){case _0x3fac4d[_0x18931c(0x10b)]['CONNECTED']:return _0x18931c(0x1e0);case _0x3fac4d[_0x18931c(0x10b)][_0x18931c(0x1ed)]:case _0x3fac4d[_0x18931c(0x10b)][_0x18931c(0x228)]:return _0x18931c(0x1cf);case _0x3fac4d['MCPConnectionStatus'][_0x18931c(0xe1)]:case _0x3fac4d[_0x18931c(0x10b)][_0x18931c(0x1c2)]:return _0x18931c(0x14c);default:return'univer-text-gray-500';}}function _0x356126(_0x1b0094){const _0x8ec209=_0x249df8,{status$:_0x22d451,error$:_0x4f1617,onConfigure:_0x178a94,showClickable:_0x242f05=!0x0}=_0x1b0094,_0x550618=_0x105f6a[_0x8ec209(0x198)](_0x22d451,_0x3fac4d['MCPConnectionStatus'][_0x8ec209(0x1c2)]),_0x197b8e=_0x105f6a[_0x8ec209(0x198)](_0x4f1617,_0x3fac4d[_0x8ec209(0x22f)][_0x8ec209(0x1b4)]),_0x3d9dc3=_0x105f6a['useDependency'](_0x295b5d[_0x8ec209(0x1e9)]),_0x3c75c5=_0x550618===_0x3fac4d['MCPConnectionStatus'][_0x8ec209(0x238)];_0x550618===_0x3fac4d['MCPConnectionStatus'][_0x8ec209(0x1ed)]||_0x3fac4d['MCPConnectionStatus'][_0x8ec209(0x228)];const _0x1d0415=_0x3d9dc3['t'](_0x21a379(_0x550618,_0x197b8e)),_0x5257a2=_0xb0f223(_0x550618,_0x197b8e,_0x3d9dc3,_0x242f05),_0x12fd9a=_0x22b5ed(_0x550618),_0x2d3d1a=_0x3c75c5?_0x1d818f[_0x8ec209(0x106)](_0x2bbdcb,{}):_0x1d818f[_0x8ec209(0x106)](_0x3afe3d,{}),_0x3872c0=_0x464194['useCallback'](()=>{_0x242f05&&_0x178a94&&_0x178a94();},[_0x242f05,_0x178a94]);function _0x5dab36(){const _0x539df8=_0x8ec209;return _0x1d818f[_0x539df8(0x188)]('div',{'className':_0x59a467[_0x539df8(0xfc)](_0x539df8(0xf8),_0x242f05&&_0x178a94&&_0x539df8(0x233)),'role':_0x539df8(0x1d4),'onClick':_0x242f05&&_0x178a94?_0x3872c0:void 0x0,'children':[_0x1d818f[_0x539df8(0x106)](_0x539df8(0x1b5),{'className':_0x59a467[_0x539df8(0xfc)](_0x539df8(0x197),_0x12fd9a),'children':_0x2d3d1a}),_0x1d818f[_0x539df8(0x106)](_0x539df8(0x1b5),{'className':_0x539df8(0x175),'children':_0x1d0415})]});}return _0x1d818f[_0x8ec209(0x106)](_0x59a467['Tooltip'],{'title':_0x5257a2,'placement':'bottom','children':_0x5dab36()});}var _0x42c2b9=Object['getOwnPropertyDescriptor'],_0x44359b=(_0x485e52,_0x2fe514,_0x184b30,_0x11e774)=>{const _0x4387c6=_0x249df8;for(var _0x11eacf=_0x11e774>0x1?void 0x0:_0x11e774?_0x42c2b9(_0x2fe514,_0x184b30):_0x2fe514,_0x27d21a=_0x485e52[_0x4387c6(0x1f2)]-0x1,_0x2c127e;_0x27d21a>=0x0;_0x27d21a--)(_0x2c127e=_0x485e52[_0x27d21a])&&(_0x11eacf=_0x2c127e(_0x11eacf)||_0x11eacf);return _0x11eacf;},_0x208f64=(_0x3ad6be,_0x37151e)=>(_0x5dba18,_0x58da5f)=>_0x37151e(_0x5dba18,_0x58da5f,_0x3ad6be);_0x14e16b[_0x249df8(0x1c1)]=class extends _0x295b5d[_0x249df8(0xd5)]{constructor(_0x827086,_0x5b06ed,_0x491224,_0x1b1047){const _0x31a31c=_0x249df8;super(),this[_0x31a31c(0x1c5)]=_0x827086,this['_connectionController']=_0x5b06ed,this['_uiPartsService']=_0x491224,this[_0x31a31c(0x12a)]=_0x1b1047,this[_0x31a31c(0x160)](),this[_0x31a31c(0x16c)]();}['_initAutoConnect'](){const _0xe91ae8=_0x249df8,_0x3d3e8f=this[_0xe91ae8(0x12a)]['getConfig'](_0x3c3d48);_0x3d3e8f!=null&&_0x3d3e8f[_0xe91ae8(0x1a5)]&&(this[_0xe91ae8(0x245)][_0xe91ae8(0xf1)]=!0x1);}[_0x249df8(0x16c)](){const _0xfe672a=_0x249df8,_0x5d37bc=this['_configService'][_0xfe672a(0x1da)](_0x3c3d48);(_0x5d37bc==null?void 0x0:_0x5d37bc[_0xfe672a(0x140)])!==!0x1&&this['disposeWithMe'](this[_0xfe672a(0x102)][_0xfe672a(0x1bb)](_0x105f6a['BuiltInUIPart']['HEADER_MENU'],()=>{const _0x9bc506=_0xfe672a;var _0x5852f7;return _0x105f6a['connectInjector'](_0x3c2862({'status$':this[_0x9bc506(0x245)][_0x9bc506(0x1d2)],'error$':this[_0x9bc506(0x245)][_0x9bc506(0x1e1)],'onConfigure':()=>this[_0x9bc506(0x1f3)](),'showClickable':(_0x5852f7=_0x5d37bc==null?void 0x0:_0x5d37bc[_0x9bc506(0x1a5)])!=null?_0x5852f7:!0x1}),this[_0x9bc506(0x1c5)]);}));}[_0x249df8(0x1f3)](){const _0x7c31b8=_0x249df8;this[_0x7c31b8(0x1c5)][_0x7c31b8(0x173)](_0x14e16b[_0x7c31b8(0x148)])[_0x7c31b8(0x144)]();}},_0x14e16b[_0x249df8(0x1c1)]=_0x44359b([_0x208f64(0x0,_0x295b5d[_0x249df8(0x15b)](_0x295b5d[_0x249df8(0x1a0)])),_0x208f64(0x1,_0x295b5d[_0x249df8(0x15b)](_0x3fac4d[_0x249df8(0x21d)])),_0x208f64(0x2,_0x105f6a[_0x249df8(0x14a)]),_0x208f64(0x3,_0x295b5d[_0x249df8(0x177)])],_0x14e16b['MCPConnectionUIController']);function _0x3c2862(_0x155116){const {status$:_0x11feb3,error$:_0xb9b9fc,onConfigure:_0x52a81d,showClickable:_0x1b5569}=_0x155116;return function(){return _0x1d818f['jsx'](_0x356126,{'status$':_0x11feb3,'error$':_0xb9b9fc,'onConfigure':_0x52a81d,'showClickable':_0x1b5569});};}function _0x278ba3(_0x27814e){const _0x366546=_0x249df8;return{'id':_0x1c9c24['id'],'type':_0x105f6a[_0x366546(0xc3)][_0x366546(0xd4)],'icon':'MenuIcon','title':_0x366546(0xe8),'tooltip':_0x366546(0xe8)};}const _0x311177={[_0x105f6a['RibbonStartGroup'][_0x249df8(0x15c)]]:{[_0x1c9c24['id']]:{'order':0xa,'menuItemFactory':_0x278ba3}}};var _0x13c14b=Object['getOwnPropertyDescriptor'],_0x1a9c8b=(_0x3cea2d,_0x2ab88c,_0x443cbd,_0x17dc21)=>{const _0x44259e=_0x249df8;for(var _0x5d0c6a=_0x17dc21>0x1?void 0x0:_0x17dc21?_0x13c14b(_0x2ab88c,_0x443cbd):_0x2ab88c,_0x450270=_0x3cea2d[_0x44259e(0x1f2)]-0x1,_0x5b4c18;_0x450270>=0x0;_0x450270--)(_0x5b4c18=_0x3cea2d[_0x450270])&&(_0x5d0c6a=_0x5b4c18(_0x5d0c6a)||_0x5d0c6a);return _0x5d0c6a;},_0x4c1473=(_0x3ca17a,_0x10edc9)=>(_0x1001f8,_0xa65ce9)=>_0x10edc9(_0x1001f8,_0xa65ce9,_0x3ca17a);_0x14e16b[_0x249df8(0x1fc)]=class extends _0x295b5d[_0x249df8(0xd5)]{constructor(_0x458ed5,_0x11dfc9){const _0x507b54=_0x249df8;super(),this[_0x507b54(0x132)]=_0x458ed5,this[_0x507b54(0x186)]=_0x11dfc9,this[_0x507b54(0xd7)](),this[_0x507b54(0x1f8)]();}[_0x249df8(0xd7)](){const _0x15c32c=_0x249df8;[_0x1c9c24][_0x15c32c(0x14e)](_0x415656=>{const _0x43392f=_0x15c32c;this[_0x43392f(0x1bd)](this[_0x43392f(0x132)]['registerCommand'](_0x415656));});}['_initializeMenus'](){const _0x1e9ab5=_0x249df8;this[_0x1e9ab5(0x186)]['mergeMenu'](_0x311177);}},_0x14e16b[_0x249df8(0x1fc)]=_0x1a9c8b([_0x4c1473(0x0,_0x295b5d[_0x249df8(0x19e)]),_0x4c1473(0x1,_0x105f6a[_0x249df8(0xdd)])],_0x14e16b[_0x249df8(0x1fc)]);const _0x5afb5e={'mcpStatus':{'disconnected':_0x249df8(0x15e),'connecting':_0x249df8(0x16e),'connected':_0x249df8(0x119),'failed':_0x249df8(0x1bc),'retrying':_0x249df8(0x190),'unknown':_0x249df8(0x1fd),'unauthorized':_0x249df8(0xd3),'sessionOccupied':_0x249df8(0x21e),'networkError':_0x249df8(0x241),'maxRetriesExceeded':_0x249df8(0x111),'clickToConnect':_0x249df8(0x1d7),'clickToConfigure':_0x249df8(0xc4)},'mcpConfig':{'title':_0x249df8(0x237),'description':_0x249df8(0xc2),'apiKey':_0x249df8(0x191),'apiKeyPlaceholder':_0x249df8(0xea),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x249df8(0x1ec),'enableAuthHint':_0x249df8(0x201),'connectionInfo':_0x249df8(0x1f7),'mcpClientConfig':_0x249df8(0x1f7),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x249df8(0x240),'configStep1':_0x249df8(0x149),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x249df8(0xf7),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x249df8(0x1b3),'maxRetries':'Max\x20Retries','save':_0x249df8(0x1d0),'saving':_0x249df8(0x1dd),'note1':_0x249df8(0x1c3),'note2':_0x249df8(0xc5),'configSaved':_0x249df8(0x1d1),'configError':_0x249df8(0xc7),'apiApplyInfo':{'title':_0x249df8(0x14d),'description':_0x249df8(0x22b),'univerAiLabel':_0x249df8(0x11a),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x249df8(0x23f),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x249df8(0x204),'invalidApiKey':_0x249df8(0x1a3)},'connectionStatus':{'disconnected':_0x249df8(0x1e2),'connecting':_0x249df8(0x16b),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x249df8(0x11f)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x249df8(0x101),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x249df8(0x20a)}}},_0x416e23={'mcpStatus':{'disconnected':_0x249df8(0xd8),'connecting':_0x249df8(0xfe),'connected':_0x249df8(0x1cb),'failed':'MCP\x20连接失败','retrying':_0x249df8(0x1ba),'unknown':_0x249df8(0x158),'unauthorized':_0x249df8(0x1f4),'sessionOccupied':_0x249df8(0x165),'networkError':_0x249df8(0x18d),'maxRetriesExceeded':_0x249df8(0x1a9),'clickToConnect':_0x249df8(0x1f9),'clickToConfigure':_0x249df8(0x110)},'mcpConfig':{'title':_0x249df8(0x105),'description':_0x249df8(0x143),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x249df8(0xbd),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x249df8(0x23a),'enableAuthHint':_0x249df8(0x235),'connectionInfo':_0x249df8(0xf4),'mcpClientConfig':_0x249df8(0xf4),'configInstructions':_0x249df8(0x19c),'configStepTitle':_0x249df8(0x155),'configStep1':_0x249df8(0x17c),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x249df8(0x222),'sessionIdDescription':_0x249df8(0xeb),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x249df8(0x207),'maxRetries':_0x249df8(0x15d),'save':_0x249df8(0x13a),'saving':_0x249df8(0x17d),'note1':_0x249df8(0x1a7),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x249df8(0xcc),'configError':_0x249df8(0xdc),'apiApplyInfo':{'title':_0x249df8(0x19b),'description':_0x249df8(0x138),'univerAiLabel':_0x249df8(0x225),'getStarted':_0x249df8(0xdb)},'validation':{'apiKeyRequired':_0x249df8(0x1ad),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x249df8(0xda),'invalidApiKey':_0x249df8(0x213)},'connectionStatus':{'disconnected':'未连接','connecting':_0x249df8(0x1d3),'connected':_0x249df8(0x174),'failed':_0x249df8(0x20d),'retrying':_0x249df8(0x14f)},'connectionError':{'unauthorized':_0x249df8(0x21a),'sessionOccupied':_0x249df8(0xc1),'networkError':_0x249df8(0x1ae),'maxRetriesExceeded':_0x249df8(0x141)}}};var _0x41cea5=Object[_0x249df8(0x209)],_0x236106=Object[_0x249df8(0x115)],_0x181ee4=(_0x2065a8,_0x5e1c77,_0x12ec80)=>_0x5e1c77 in _0x2065a8?_0x41cea5(_0x2065a8,_0x5e1c77,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12ec80}):_0x2065a8[_0x5e1c77]=_0x12ec80,_0x47ef92=(_0x334866,_0x329b43,_0x361e1c,_0x534744)=>{const _0xa076a3=_0x249df8;for(var _0x1f0a7d=_0x534744>0x1?void 0x0:_0x534744?_0x236106(_0x329b43,_0x361e1c):_0x329b43,_0x102006=_0x334866[_0xa076a3(0x1f2)]-0x1,_0x4dd0e3;_0x102006>=0x0;_0x102006--)(_0x4dd0e3=_0x334866[_0x102006])&&(_0x1f0a7d=_0x4dd0e3(_0x1f0a7d)||_0x1f0a7d);return _0x1f0a7d;},_0x56a181=(_0x448e75,_0x144706)=>(_0x4dee1e,_0x31c1a9)=>_0x144706(_0x4dee1e,_0x31c1a9,_0x448e75),_0x10e4ad=(_0x6e9f59,_0x456d18,_0xee7a2d)=>_0x181ee4(_0x6e9f59,_0x456d18+'',_0xee7a2d);_0x14e16b[_0x249df8(0x1e3)]=class extends _0x295b5d[_0x249df8(0x20e)]{constructor(_0x280158=_0x9c7695,_0x4a9bcc,_0x26bf3a,_0x125e47,_0x3228b4,_0xf05e6c){const _0x5d12d3=_0x249df8;super(),this[_0x5d12d3(0x167)]=_0x280158,this[_0x5d12d3(0x1c5)]=_0x4a9bcc,this[_0x5d12d3(0x12a)]=_0x26bf3a,this[_0x5d12d3(0x102)]=_0x125e47,this['_localStorageService']=_0x3228b4,this[_0x5d12d3(0x11e)]=_0xf05e6c;const {..._0x27b5ef}=_0x295b5d[_0x5d12d3(0x13e)]({},_0x9c7695,this['_config']);this[_0x5d12d3(0x12a)][_0x5d12d3(0x19d)](_0x3c3d48,_0x27b5ef);}async['onStarting'](){const _0x5873ce=_0x249df8,_0x5be69c=[[_0x14e16b[_0x5873ce(0x1c1)]],[_0x14e16b[_0x5873ce(0x148)]],[_0x14e16b['MCPUIMenuController']]];this[_0x5873ce(0x1c5)]['has'](_0x3c8ce0[_0x5873ce(0x1a4)])||_0x5be69c[_0x5873ce(0xd9)]([_0x3c8ce0[_0x5873ce(0x1a4)],{'useClass':_0x3c8ce0['WebSocketService']}]),_0x5be69c['forEach'](_0x378c66=>this[_0x5873ce(0x1c5)][_0x5873ce(0x17b)](_0x378c66)),this['_injector'][_0x5873ce(0x173)](_0x14e16b['MCPConnectionUIController']),this['_injector']['get'](_0x14e16b[_0x5873ce(0x148)]),this[_0x5873ce(0x1c5)]['get'](_0x14e16b[_0x5873ce(0x1fc)]);}},_0x10e4ad(_0x14e16b[_0x249df8(0x1e3)],_0x249df8(0x1b2),_0x249df8(0x232)),_0x14e16b[_0x249df8(0x1e3)]=_0x47ef92([_0x295b5d[_0x249df8(0x1b9)](_0x3fac4d[_0x249df8(0x164)]),_0x56a181(0x1,_0x295b5d[_0x249df8(0x15b)](_0x295b5d[_0x249df8(0x1a0)])),_0x56a181(0x2,_0x295b5d[_0x249df8(0x177)]),_0x56a181(0x3,_0x105f6a['IUIPartsService']),_0x56a181(0x4,_0x295b5d[_0x249df8(0x1c0)]),_0x56a181(0x5,_0x295b5d[_0x249df8(0x15b)](_0x295b5d['LocaleService']))],_0x14e16b[_0x249df8(0x1e3)]),_0x14e16b['MCPConfigPanel']=_0x120bf4,_0x14e16b['MCPStatusDisplay']=_0x356126,_0x14e16b['OpenMCPConfigPanelCommand']=_0x1c9c24,_0x14e16b[_0x249df8(0x114)]=_0x5afb5e,_0x14e16b[_0x249df8(0x1b0)]=_0x416e23,Object[_0x249df8(0x209)](_0x14e16b,Symbol[_0x249df8(0x14b)],{'value':'Module'});}));
1
+ function _0x3436(_0x348543,_0x1539ae){_0x348543=_0x348543-0x87;const _0x449a2c=_0x449a();let _0x343601=_0x449a2c[_0x348543];return _0x343601;}function _0x449a(){const _0x1dac56=['8889979ytxmlY','FAILED','mcpStatus.unauthorized','6QKfhHB','mcpConfig.connectionStatus.disconnected','react','配置参数:','UniverMCPPlugin','mcpStatus.disconnected','Enable\x20authentication\x20for\x20secure\x20connections','连接中...','配置保存失败','mcpConfig.apiApplyInfo.getStarted','exports','MCP\x20配置','toString','Configuration\x20saved\x20successfully','1360ayiMgc','defineProperty','mcpStatus.maxRetriesExceeded','mcpConfig.connectionError.sessionOccupied','几秒钟内获取您的\x20API\x20密钥','evenodd','https://mcp.univer.ai/mcp/?univer_session_id=','next','_loadStoredApiKey','mcpConfig.save','_mcpCoreConfig$','MCPConnectionStatus','ILocalStorageService','round','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','_validateConfig','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','WebSocketService','children','univer-font-medium','已连接','_blank','_uiPartsService','未连接','__setCustomHeaders','length','启用身份验证以获得安全连接','OnLineIcon','MCP\x20重连中...','将配置添加到您的\x20MCP\x20客户端设置文件中','univer-flex\x20univer-items-center\x20univer-gap-3','MCP\x20Disconnected','UniverCore','attrs','mcpConfig.validation.invalidConfig','univer-bg-green-500','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Disposable','univer-text-xs\x20univer-text-gray-500','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','connectionError$','1em','启用身份验证','replace','ILogService','jsx','保存配置','BuiltInUIPart','mcpConfig.apiKeyHint','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','substring','您的\x20API\x20密钥将在此浏览器中本地存储','getConfig','div','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','Retrying...','univer-bg-blue-500','noopener\x20noreferrer','mcpStatus.unknown','mcpConfig.configInstructions','0\x200\x2017\x2016','MCP\x20Client\x20Configuration','MCP\x20已连接','_componentManager','点击连接\x20MCP','mcpStatus.connected','Inject','univer-text-xs\x20univer-text-gray-600','Configuration\x20Notes:','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','NONE','univer-space-y-2','mcpServerUrl','errorMessage','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','Get\x20your\x20API\x20key\x20in\x20seconds','ComponentManager','off-line-icon','translate(.97)','http','MCP\x20Configuration','Univer\x20AI\x20Console','close','mcpConfig.connectionError.unauthorized','univer-flex\x20univer-flex-wrap\x20univer-gap-2','MCP\x20Connection\x20Failed','string','重连中...','fill','最大重试次数','UniverDesign','univer-flex-1','get','includes','use','univer_session_id:','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','check-mark-icon','univer-bg-gray-500','error','Success','Save\x20Configuration','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','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','assign','782196gzeFIO','\x20-\x20','IConfigService','Click\x20to\x20connect\x20MCP','DISCONNECTED','_initializeMenus','useDependency','univer-size-4','none','showDeveloperTools','MCP\x20Retrying...','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','mcpConfig.configParameters','mcpStatus.failed','MCP\x20连接失败','_commandService','COMMAND','mergeMenu','mask','symbol','univer-text-green-500','MCP:\x20超出最大重试次数','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','IUIPartsService','pluginName','enableAutoConnect','univer-flex\x20univer-items-center','_initAutoConnect','_messageService','univer-flex\x20univer-items-start\x20univer-gap-3','univer-text-red-500','MAX_RETRIES_EXCEEDED','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','univer-text-sm\x20univer-text-gray-500','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','权限验证失败,请检查您的\x20API\x20密钥','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','has','MessageType','on-line-icon','HelpIcon','mcpConfig.connectionStatus.connecting','univer-size-2\x20univer-rounded-full','_configService','MCP\x20状态未知','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','toStringTag','_handleConfigure','isValid','\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','mcpConfig.validation.invalidApiKey','Disconnected','Connecting...','配置步骤:','_config$','_menuManagerService','MCPConnectionError','mcpConfig.configStep3','register','点击配置\x20MCP','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','useObservable','univer-flex\x20univer-gap-3','@univerjs-pro/mcp','mcp-ui.command.openConfigPanel','getCurrentConfig','jsxs','MCPConnectionController','text','MCP:\x20Network\x20Error','SESSION_ID_OCCUPIED','@univerjs/ui','colorChannel1','univer-text-yellow-500','UniverUi','@univerjs/design','tag','mcpStatus.networkError','MCPConfigUIController','Connected','mcp.apiKey','MCP:\x20Session\x20ID\x20Occupied','复制以下\x20JSON\x20配置','removeItem','MCPConfigPanel','<SESSION_ID>','off','_apiKey$','MCPStatusDisplay','label','MenuIcon','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','path','Saving...','xlink:href','mcpConfig.apiApplyInfo.univerAiLabel','mcpStatus.retrying','http://www.w3.org/2000/svg','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcp-config-dialog','createElement','React','univer-shrink-0\x20univer-text-blue-500','Univer\x20AI\x20控制台','stringify','registerComponent','forEach','https://console.univer.plus','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','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\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','rxjs','useState','CheckMarkIcon','_logService','MCP\x20Unknown\x20Status','mcpConfig.connectionError.maxRetriesExceeded','show','ISocketService','mcpStatus.clickToConfigure','UniverNetwork','onStarting','RibbonStartGroup','url(#on-line-icon_clip0_910_349)','univer-text-blue-600','getItem','RETRYING','univer-space-y-3','random','mcpConfig.saving','mcpConfig.sessionIdDescription','span','mcp-ui.config','map','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','_initStatusComponent','配置保存成功','validateApiKey','Max\x20Retries','univer-min-w-0\x20univer-flex-1','showConfigPanel','connectionStatus$','mcpConfig.configStep1','1138944HFJNeM','_handleConfigSave','API\x20密钥长度至少需要\x2010\x20位','M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z','univer-text-gray-500','Bearer\x20','MCP\x20客户端配置','API\x20密钥不能为空','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','Injector','Session\x20ID','mcpConfig.configStep2','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','button','LocaleService','超出最大重试次数,请稍后再试','MCP\x20Connected','_initializeCommands','apiKey','会话ID','defs','value','useCallback','M0\x200H16V16H0z','Enter\x20your\x20API\x20key','https://console.univer.ai','_initConfigSync','连接失败','UniverMCPUIPlugin','univer-text-white','mcpConfig.validation.apiKeyRequired','mcpConfig.configSaved','NETWORK_ERROR','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','react/jsx-runtime','MCP:\x20网络错误','0\x200\x2016\x2016','univer-flex\x20univer-items-center\x20univer-gap-2','close-icon','MCPConnectionUIController','API\x20密钥','mcpConfig.title','disposeWithMe','subscribe','Connection\x20Failed','mcpConfig.validation.apiKeyTooShort','subscribeConfigValue$','UNAUTHORIZED','What\x20is\x20API\x20Key?','_localeService','mcpConfig.configStepTitle','<API_KEY>','_mcpConnectionController','url(#$1','CONNECTING','@univerjs/network','mcpConfig.note1','_connectionController','158427WLIpAD','_injector','BehaviorSubject','url(#off-line-icon_clip0_910_343)','open','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','OpenMCPConfigPanelCommand','getOwnPropertyDescriptor','CONNECTED','univer-text-sm\x20univer-font-medium','function','on-line-icon_clip0_910_349','_config','_dialogService','mcpConfig.connectionStatus.failed','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','Enable\x20Authentication','amd','什么是\x20API\x20密钥?','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','setConfig','BUTTON','enUS','API\x20key\x20is\x20required','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','IDialogService','_loading$','mcpConfig.connectionStatus.connected','_localStorageService','mcpConfig.apiKeyPlaceholder','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','5821384nitCcs','_createConfigPanelComponent','currentColor','Module','2444276sRhHmW','IMenuManagerService','warn','会话\x20ID\x20已被占用,请稍后再试','_registerComponent','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCPUIMenuController','clsx','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','displayName','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','@univerjs/core','bottom','MCP:\x20未授权','OTHERS','配置\x20MCP\x20使用\x20AI\x20操作电子表格','off-line-icon_clip0_910_343','HEADER_MENU','IMessageService','3zIVCZw','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','idSuffix','Authorization:','zhCN','MCP:\x20Max\x20Retries\x20Exceeded','pre','MCP_PLUGIN_CONFIG_KEY','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','svg','entries','univer-flex\x20univer-items-start\x20univer-gap-2','univer-space-y-4','配置无效','726805kPtoSw','forwardRef','mcpConfig.configError','clipPath','MCP:\x20会话\x20ID\x20已被占用','trim','univer.ai','univer.plus','Failed\x20to\x20save\x20configuration','univer-bg-red-500'];_0x449a=function(){return _0x1dac56;};return _0x449a();}(function(_0x4b6430,_0x345bb0){const _0x3d13ea=_0x3436,_0x54fd4c=_0x4b6430();while(!![]){try{const _0x42119b=-parseInt(_0x3d13ea(0x8b))/0x1+parseInt(_0x3d13ea(0x11a))/0x2+parseInt(_0x3d13ea(0x18f))/0x3*(parseInt(_0x3d13ea(0x17c))/0x4)+parseInt(_0x3d13ea(0x19e))/0x5*(parseInt(_0x3d13ea(0x1ab))/0x6)+-parseInt(_0x3d13ea(0x1a8))/0x7+-parseInt(_0x3d13ea(0x178))/0x8+parseInt(_0x3d13ea(0x156))/0x9*(parseInt(_0x3d13ea(0x1b9))/0xa);if(_0x42119b===_0x345bb0)break;else _0x54fd4c['push'](_0x54fd4c['shift']());}catch(_0x139da8){_0x54fd4c['push'](_0x54fd4c['shift']());}}}(_0x449a,0xe580c),function(_0x1dd8b3,_0x1f5041){const _0x4160ef=_0x3436;typeof exports=='object'&&typeof module<'u'?_0x1f5041(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==_0x4160ef(0x161)&&define[_0x4160ef(0x169)]?define([_0x4160ef(0x1b5),_0x4160ef(0x187),_0x4160ef(0x13e),_0x4160ef(0xca),_0x4160ef(0xd6),_0x4160ef(0xd2),_0x4160ef(0xfa),_0x4160ef(0x1ad),_0x4160ef(0x153)],_0x1f5041):(_0x1dd8b3=typeof globalThis<'u'?globalThis:_0x1dd8b3||self,_0x1f5041(_0x1dd8b3['UniverProMcpUi']={},_0x1dd8b3[_0x4160ef(0x1d9)],_0x1dd8b3[_0x4160ef(0xf0)],_0x1dd8b3['UniverProMcp'],_0x1dd8b3[_0x4160ef(0x213)],_0x1dd8b3[_0x4160ef(0xd5)],_0x1dd8b3[_0x4160ef(0xfa)],_0x1dd8b3['React'],_0x1dd8b3[_0x4160ef(0x103)]));}(this,function(_0x4542c1,_0x2b4904,_0x5d44c5,_0x50e416,_0x279494,_0x247597,_0x4498e0,_0x4e1bbe,_0x5bbb4b){'use strict';const _0xea8057=_0x3436;var _0x491052=Object[_0xea8057(0x1ba)],_0x14ac45=(_0x4812b0,_0x4b9524,_0x1fd2d6)=>_0x4b9524 in _0x4812b0?_0x491052(_0x4812b0,_0x4b9524,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fd2d6}):_0x4812b0[_0x4b9524]=_0x1fd2d6,_0x148778=(_0x17b565,_0x1d9241,_0x2e8bf6)=>_0x14ac45(_0x17b565,typeof _0x1d9241!=_0xea8057(0x9e)?_0x1d9241+'':_0x1d9241,_0x2e8bf6);function _0x395a2a({ref:_0x90e533,..._0x2df820}){const _0x217c4c=_0xea8057,{icon:_0x222bc1,id:_0x2cab2e,className:_0x1eab2a,extend:_0x3e9240,..._0xfa0cd8}=_0x2df820,_0x3f006d=('univerjs-icon\x20univerjs-icon-'+_0x2cab2e+'\x20'+(_0x1eab2a||''))[_0x217c4c(0x1a3)](),_0xce8a0c=_0x4e1bbe['useRef']('_'+_0x42996f());return _0x5e218a(_0x222bc1,''+_0x2cab2e,{'defIds':_0x222bc1['defIds'],'idSuffix':_0xce8a0c['current']},{'ref':_0x90e533,'className':_0x3f006d,..._0xfa0cd8},_0x3e9240);}function _0x5e218a(_0x36e2ee,_0x31bf55,_0x115e9c,_0x203572,_0x3d5b17){const _0x194300=_0xea8057;return _0x4e1bbe[_0x194300(0xef)](_0x36e2ee[_0x194300(0xd7)],{'key':_0x31bf55,..._0x2afb80(_0x36e2ee,_0x115e9c,_0x3d5b17),..._0x203572},(_0x278120(_0x36e2ee,_0x115e9c)[_0x194300(0x1cb)]||[])['map']((_0x28c8e1,_0x3cd70b)=>_0x5e218a(_0x28c8e1,_0x31bf55+'-'+_0x36e2ee[_0x194300(0xd7)]+'-'+_0x3cd70b,_0x115e9c,void 0x0,_0x3d5b17)));}function _0x2afb80(_0x49dd31,_0x353e98,_0x4682cb){const _0x2f6f77=_0xea8057,_0x58d5f7={..._0x49dd31[_0x2f6f77(0x1da)]};_0x4682cb!=null&&_0x4682cb[_0x2f6f77(0xd3)]&&_0x58d5f7[_0x2f6f77(0x211)]==='colorChannel1'&&(_0x58d5f7[_0x2f6f77(0x211)]=_0x4682cb[_0x2f6f77(0xd3)]),_0x49dd31[_0x2f6f77(0xd7)]==='mask'&&_0x58d5f7['id']&&(_0x58d5f7['id']=_0x58d5f7['id']+_0x353e98[_0x2f6f77(0x192)]),Object[_0x2f6f77(0x19a)](_0x58d5f7)[_0x2f6f77(0xf5)](([_0x1e3726,_0x4db7f9])=>{const _0x4910ac=_0x2f6f77;_0x1e3726===_0x4910ac(0x9d)&&typeof _0x4db7f9==_0x4910ac(0x20f)&&(_0x58d5f7[_0x1e3726]=_0x4db7f9[_0x4910ac(0x1e4)](/url\(#(.*)\)/,_0x4910ac(0x151)+_0x353e98[_0x4910ac(0x192)]+')'));});const {defIds:_0x41ad88}=_0x353e98;return!_0x41ad88||_0x41ad88[_0x2f6f77(0x1d2)]===0x0||(_0x49dd31[_0x2f6f77(0xd7)]===_0x2f6f77(0x217)&&_0x58d5f7[_0x2f6f77(0xe9)]&&(_0x58d5f7[_0x2f6f77(0xe9)]=_0x58d5f7[_0x2f6f77(0xe9)]+_0x353e98[_0x2f6f77(0x192)]),Object['entries'](_0x58d5f7)['forEach'](([_0x6ae40e,_0x58ca0c])=>{const _0x373e08=_0x2f6f77;typeof _0x58ca0c==_0x373e08(0x20f)&&(_0x58d5f7[_0x6ae40e]=_0x58ca0c[_0x373e08(0x1e4)](/url\(#(.*)\)/,_0x373e08(0x151)+_0x353e98['idSuffix']+')'));})),_0x58d5f7;}function _0x278120(_0x31b0d8,_0x2b0165){const _0x1a6061=_0xea8057;var _0x3af224;const {defIds:_0x5ddbbc}=_0x2b0165;return!_0x5ddbbc||_0x5ddbbc[_0x1a6061(0x1d2)]===0x0?_0x31b0d8:_0x31b0d8[_0x1a6061(0xd7)]===_0x1a6061(0x12f)&&((_0x3af224=_0x31b0d8[_0x1a6061(0x1cb)])!=null&&_0x3af224[_0x1a6061(0x1d2)])?{..._0x31b0d8,'children':_0x31b0d8['children'][_0x1a6061(0x110)](_0xf5a042=>typeof _0xf5a042[_0x1a6061(0x1da)]['id']==_0x1a6061(0x20f)&&_0x5ddbbc&&_0x5ddbbc[_0x1a6061(0x216)](_0xf5a042['attrs']['id'])?{..._0xf5a042,'attrs':{..._0xf5a042[_0x1a6061(0x1da)],'id':_0xf5a042['attrs']['id']+_0x2b0165[_0x1a6061(0x192)]}}:_0xf5a042)}:_0x31b0d8;}function _0x42996f(){const _0x77e5d9=_0xea8057;return Math[_0x77e5d9(0x10b)]()[_0x77e5d9(0x1b7)](0x24)[_0x77e5d9(0x1eb)](0x2,0x8);}_0x395a2a[_0xea8057(0x185)]='UniverIcon';const _0x554fdd={'tag':_0xea8057(0x199),'attrs':{'xmlns':_0xea8057(0xec),'fill':_0xea8057(0x93),'viewBox':_0xea8057(0x140),'width':_0xea8057(0x1e2),'height':_0xea8057(0x1e2)},'children':[{'tag':_0xea8057(0xe7),'attrs':{'fill':_0xea8057(0x17a),'d':_0xea8057(0xc7),'fillRule':_0xea8057(0x1be),'clipRule':_0xea8057(0x1be)}}]},_0x2eabd3=_0x4e1bbe[_0xea8057(0x19f)](function(_0x34b48e,_0x41c3d){const _0x5c7dfe=_0xea8057;return _0x4e1bbe[_0x5c7dfe(0xef)](_0x395a2a,Object[_0x5c7dfe(0x8a)]({},_0x34b48e,{'id':_0x5c7dfe(0x21a),'ref':_0x41c3d,'icon':_0x554fdd}));});_0x2eabd3[_0xea8057(0x185)]=_0xea8057(0xfc);const _0x1345df={'tag':_0xea8057(0x199),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xea8057(0x140),'width':'1em','height':_0xea8057(0x1e2)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0xea8057(0x89)}}]},_0x4239e5=_0x4e1bbe['forwardRef'](function(_0x43b164,_0x2d45ca){const _0x5798ad=_0xea8057;return _0x4e1bbe[_0x5798ad(0xef)](_0x395a2a,Object['assign']({},_0x43b164,{'id':_0x5798ad(0x142),'ref':_0x2d45ca,'icon':_0x1345df}));});_0x4239e5['displayName']='CloseIcon';const _0x34162a={'tag':_0xea8057(0x199),'attrs':{'xmlns':_0xea8057(0xec),'fill':_0xea8057(0x93),'viewBox':_0xea8057(0x140),'width':_0xea8057(0x1e2),'height':_0xea8057(0x1e2)},'children':[{'tag':_0xea8057(0xe7),'attrs':{'fill':_0xea8057(0x17a),'d':_0xea8057(0x11d)}},{'tag':_0xea8057(0xe7),'attrs':{'fill':_0xea8057(0x17a),'d':_0xea8057(0x1ea)}},{'tag':_0xea8057(0xe7),'attrs':{'fill':_0xea8057(0x17a),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0xea8057(0x1be),'clipRule':'evenodd'}}]},_0x307caf=_0x4e1bbe[_0xea8057(0x19f)](function(_0x40839d,_0x400197){const _0x5accf0=_0xea8057;return _0x4e1bbe[_0x5accf0(0xef)](_0x395a2a,Object['assign']({},_0x40839d,{'id':'help-icon','ref':_0x400197,'icon':_0x34162a}));});_0x307caf[_0xea8057(0x185)]=_0xea8057(0xb3);const _0x208b14={'tag':_0xea8057(0x199),'attrs':{'xmlns':_0xea8057(0xec),'fill':_0xea8057(0x93),'viewBox':_0xea8057(0x140),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xea8057(0x159)},'children':[{'tag':_0xea8057(0xe7),'attrs':{'stroke':'currentColor','d':_0xea8057(0x88),'strokeLinecap':_0xea8057(0x1c6),'strokeLinejoin':_0xea8057(0x1c6),'strokeWidth':1.2}}]},{'tag':_0xea8057(0x12f),'attrs':{},'children':[{'tag':_0xea8057(0x1a1),'attrs':{'id':_0xea8057(0x18c)},'children':[{'tag':_0xea8057(0xe7),'attrs':{'fill':'white','d':_0xea8057(0x132)}}]}]}],'defIds':[_0xea8057(0x18c)]},_0x205866=_0x4e1bbe[_0xea8057(0x19f)](function(_0x551896,_0x4622b){const _0x5e4892=_0xea8057;return _0x4e1bbe[_0x5e4892(0xef)](_0x395a2a,Object[_0x5e4892(0x8a)]({},_0x551896,{'id':_0x5e4892(0x206),'ref':_0x4622b,'icon':_0x208b14}));});_0x205866['displayName']='OffLineIcon';const _0x416dc7={'tag':'svg','attrs':{'xmlns':_0xea8057(0xec),'fill':_0xea8057(0x93),'viewBox':_0xea8057(0x1f5),'width':_0xea8057(0x1e2),'height':_0xea8057(0x1e2)},'children':[{'tag':'g','attrs':{'clipPath':_0xea8057(0x106)},'children':[{'tag':_0xea8057(0xe7),'attrs':{'stroke':_0xea8057(0x17a),'d':_0xea8057(0xa1),'strokeLinecap':'round','strokeLinejoin':_0xea8057(0x1c6),'strokeWidth':1.2}}]},{'tag':_0xea8057(0x12f),'attrs':{},'children':[{'tag':_0xea8057(0x1a1),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0xea8057(0xe7),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0xea8057(0x207)}}]}]}],'defIds':[_0xea8057(0x162)]},_0x5cab4a=_0x4e1bbe['forwardRef'](function(_0x193296,_0x418482){const _0x5462cf=_0xea8057;return _0x4e1bbe['createElement'](_0x395a2a,Object[_0x5462cf(0x8a)]({},_0x193296,{'id':_0x5462cf(0xb2),'ref':_0x418482,'icon':_0x416dc7}));});_0x5cab4a[_0xea8057(0x185)]=_0xea8057(0x1d4);function _0x45296d(_0x3e36a8){const _0xece0c2=_0xea8057;var _0x307395,_0x2263dc;const {mcpCoreConfig:_0x4ba75c,onSave:_0x2a38fc,loading:_0x23f8d0=!0x1,config:_0x5c9ed4,connectionStatus$:_0x3117a8,connectionError$:_0x372f3f,currentApiKey$:_0x43fb5a,currentSessionId$:_0x50597f}=_0x3e36a8,_0x2fb346=_0x247597[_0xece0c2(0x91)](_0x2b4904[_0xece0c2(0x129)]),_0x46a7ce=_0x247597[_0xece0c2(0xc8)](_0x3117a8,_0x50e416[_0xece0c2(0x1c4)][_0xece0c2(0x8f)]),_0x232e5f=_0x247597[_0xece0c2(0xc8)](_0x372f3f,_0x50e416[_0xece0c2(0xc3)][_0xece0c2(0x1ff)]),_0x4dfb7e=_0x247597[_0xece0c2(0xc8)](_0x50597f,''),_0xaa43aa=_0x247597[_0xece0c2(0xc8)](_0x43fb5a,''),[_0x105fc5,_0x103bd4]=_0x4e1bbe[_0xece0c2(0xfb)](_0xaa43aa||''),_0x45e592=!0x0,_0x27626a=_0x5c9ed4[_0xece0c2(0x94)]&&_0x4ba75c[_0xece0c2(0x201)]&&(_0x4ba75c[_0xece0c2(0x201)][_0xece0c2(0x216)](_0xece0c2(0x1a5))||_0x4ba75c[_0xece0c2(0x201)][_0xece0c2(0x216)](_0xece0c2(0x1a4))),_0x234d30=(_0x307395=_0x4ba75c[_0xece0c2(0x201)])==null?void 0x0:_0x307395['includes'](_0xece0c2(0x1a5)),_0x550299=(_0x2263dc=_0x4ba75c[_0xece0c2(0x201)])==null?void 0x0:_0x2263dc[_0xece0c2(0x216)](_0xece0c2(0x1a4)),_0x51989d=_0x234d30?_0xece0c2(0xf6):_0xece0c2(0x134),_0x19b1af=_0x5c9ed4[_0xece0c2(0x94)]&&(_0x234d30||_0x550299),[_0x1ed39b,_0x4a0b7f]=_0x4e1bbe[_0xece0c2(0xfb)](!_0x105fc5[_0xece0c2(0x1a3)]()),_0x3dec8b=(_0x13606c,_0x2078c0)=>{const _0x19043f=_0xece0c2;if(_0x2078c0===_0x50e416[_0x19043f(0xc3)][_0x19043f(0x14b)])return _0x19043f(0x203);switch(_0x13606c){case _0x50e416[_0x19043f(0x1c4)][_0x19043f(0x15f)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x50e416[_0x19043f(0x1c4)][_0x19043f(0x152)]:case _0x50e416['MCPConnectionStatus'][_0x19043f(0x109)]:return _0x19043f(0x127);case _0x50e416[_0x19043f(0x1c4)]['FAILED']:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x2fab1f=(_0x18bf58,_0x211d99)=>{const _0x340cf4=_0xece0c2;if(_0x211d99===_0x50e416[_0x340cf4(0xc3)][_0x340cf4(0x14b)])return'univer-bg-red-500';switch(_0x18bf58){case _0x50e416[_0x340cf4(0x1c4)]['CONNECTED']:return _0x340cf4(0x1dc);case _0x50e416[_0x340cf4(0x1c4)]['CONNECTING']:case _0x50e416[_0x340cf4(0x1c4)][_0x340cf4(0x109)]:return _0x340cf4(0x1f1);case _0x50e416['MCPConnectionStatus'][_0x340cf4(0x1a9)]:return _0x340cf4(0x1a7);default:return _0x340cf4(0x21b);}},_0x4360f3=_0x1abedb=>{const _0x5dcda6=_0xece0c2;switch(_0x1abedb){case _0x50e416['MCPConnectionStatus'][_0x5dcda6(0x15f)]:return _0x2fb346['t'](_0x5dcda6(0x173));case _0x50e416['MCPConnectionStatus'][_0x5dcda6(0x152)]:return _0x2fb346['t'](_0x5dcda6(0xb4));case _0x50e416[_0x5dcda6(0x1c4)]['FAILED']:return _0x2fb346['t'](_0x5dcda6(0x165));case _0x50e416['MCPConnectionStatus']['RETRYING']:return _0x2fb346['t']('mcpConfig.connectionStatus.retrying');default:return _0x2fb346['t'](_0x5dcda6(0x1ac));}},_0x2693d0=_0x2ce076=>{const _0xd7e989=_0xece0c2;switch(_0x2ce076){case _0x50e416[_0xd7e989(0xc3)][_0xd7e989(0x14b)]:return _0x2fb346['t'](_0xd7e989(0x20c));case _0x50e416['MCPConnectionError'][_0xd7e989(0xd1)]:return _0x2fb346['t'](_0xd7e989(0x1bc));case _0x50e416[_0xd7e989(0xc3)][_0xd7e989(0x13b)]:return _0x2fb346['t']('mcpConfig.connectionError.networkError');case _0x50e416[_0xd7e989(0xc3)][_0xd7e989(0xaa)]:return _0x2fb346['t'](_0xd7e989(0xff));default:return'';}},_0x5bb777=_0x4e1bbe[_0xece0c2(0x131)](()=>{const _0x56cd1b={..._0x4ba75c,'apiKey':_0x105fc5['trim'](),'enableAuth':_0x45e592};_0x2a38fc(_0x56cd1b);},[_0x4ba75c,_0x105fc5,_0x45e592,_0x2a38fc]),_0x220c96=_0x105fc5['trim']()['length']>0x0;return _0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x191),'children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x190),'children':_0x5d44c5['jsxs'](_0xece0c2(0x1ee),{'className':_0xece0c2(0x1d7),'children':[_0x5d44c5['jsx']('div',{'className':_0xece0c2(0x13c),'children':_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x10e),{'className':_0xece0c2(0x138),'children':'⚙'})}),_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'children':_0x5d44c5[_0xece0c2(0x1e6)]('p',{'className':_0xece0c2(0xac),'children':_0x2fb346['t']('mcpConfig.description')})})]})}),_0x5d44c5['jsxs']('div',{'className':_0xece0c2(0x1c9),'children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'className':_0x279494[_0xece0c2(0x183)](_0xece0c2(0x1fe),_0x3dec8b(_0x46a7ce,_0x232e5f)),'children':_0x5d44c5['jsxs'](_0xece0c2(0x1ee),{'className':_0xece0c2(0x141),'children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'className':_0x279494['clsx'](_0xece0c2(0xb5),_0x2fab1f(_0x46a7ce,_0x232e5f))}),_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x10e),{'className':_0xece0c2(0x160),'children':_0x4360f3(_0x46a7ce)})]})}),_0x232e5f!==_0x50e416[_0xece0c2(0xc3)]['NONE']&&(_0x46a7ce===_0x50e416['MCPConnectionStatus']['FAILED']||_0x232e5f===_0x50e416['MCPConnectionError'][_0xece0c2(0x14b)])&&_0x5d44c5['jsx']('div',{'className':_0xece0c2(0x13d),'children':_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x19b),'children':[_0x5d44c5['jsx'](_0xece0c2(0x10e),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x5d44c5[_0xece0c2(0x1e6)]('p',{'className':_0xece0c2(0x123),'children':_0x2693d0(_0x232e5f)})]})})]}),_0x5d44c5[_0xece0c2(0x1e6)]('div',{'className':_0xece0c2(0x16b),'children':_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'className':'univer-space-y-5','children':[_0x5d44c5[_0xece0c2(0xcd)]('div',{'className':_0xece0c2(0x200),'children':[_0x5d44c5['jsxs'](_0xece0c2(0xe4),{'className':_0xece0c2(0xaf),'children':[_0x5d44c5['jsx'](_0xece0c2(0x10e),{'children':'🔑'}),'\x20',_0x2fb346['t']('mcpConfig.apiKey'),_0x5d44c5['jsx'](_0xece0c2(0x10e),{'className':_0xece0c2(0xa9),'children':'*'}),_0x27626a&&_0x5d44c5['jsx']('a',{'className':_0xece0c2(0xab),'title':_0x2fb346['t']('mcpConfig.apiApplyInfo.title'),'role':_0xece0c2(0x128),'onClick':()=>_0x4a0b7f(!0x0),'children':_0x5d44c5[_0xece0c2(0x1e6)](_0x307caf,{})})]}),_0x5d44c5['jsx'](_0x279494['Input'],{'type':_0xece0c2(0xcf),'placeholder':_0x2fb346['t'](_0xece0c2(0x175)),'value':_0x105fc5,'disabled':_0x23f8d0,'autoComplete':_0xece0c2(0xe1),'onChange':_0x103bd4}),_0x5d44c5[_0xece0c2(0x1e6)]('p',{'className':_0xece0c2(0x1df),'children':_0x2fb346['t'](_0xece0c2(0x1e9))})]}),_0x27626a&&_0x1ed39b&&_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x5d44c5[_0xece0c2(0x1e6)]('a',{'className':_0xece0c2(0xb8),'role':_0xece0c2(0x128),'onClick':()=>_0x4a0b7f(!0x1),'children':_0x5d44c5[_0xece0c2(0x1e6)](_0x4239e5,{'className':_0xece0c2(0x92)})}),_0x5d44c5[_0xece0c2(0xcd)]('div',{'className':_0xece0c2(0x15c),'children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x5d44c5[_0xece0c2(0x1e6)]('span',{'className':_0xece0c2(0x107),'children':'🚀'})}),_0x5d44c5['jsxs']('div',{'className':_0xece0c2(0x214),'children':[_0x5d44c5['jsx']('h4',{'className':_0xece0c2(0x181),'children':_0x2fb346['t']('mcpConfig.apiApplyInfo.title')}),_0x5d44c5['jsx']('p',{'className':_0xece0c2(0x1c7),'children':_0x2fb346['t']('mcpConfig.apiApplyInfo.description')}),_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x20d),'children':_0x19b1af&&_0x5d44c5[_0xece0c2(0xcd)]('a',{'className':_0xece0c2(0xe6),'href':_0x51989d,'target':_0xece0c2(0x1ce),'rel':_0xece0c2(0x1f2),'children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x10e),{'children':'🤖'}),_0x2fb346['t'](_0xece0c2(0xea)),_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x10e),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x2fb346['t'](_0xece0c2(0x1b4))]})]})]})]}),_0x5c9ed4[_0xece0c2(0x94)]&&_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x198),'children':[_0x5d44c5[_0xece0c2(0xcd)]('h4',{'className':_0xece0c2(0xed),'children':[_0x5d44c5['jsx'](_0xece0c2(0x10e),{'children':'🔗'}),'\x20',_0x2fb346['t']('mcpConfig.connectionInfo')]}),_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x19c),'children':[_0x5d44c5['jsxs'](_0xece0c2(0x1ee),{'className':'univer-space-y-3','children':[_0x5d44c5[_0xece0c2(0x1e6)]('p',{'className':_0xece0c2(0x1fc),'children':_0x2fb346['t'](_0xece0c2(0x1f4))}),_0x5d44c5['jsxs'](_0xece0c2(0x1ee),{'className':'univer-space-y-2','children':[_0x5d44c5[_0xece0c2(0x1e6)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x2fb346['t'](_0xece0c2(0x14e))}),_0x5d44c5[_0xece0c2(0xcd)]('div',{'className':_0xece0c2(0x219),'children':[_0x5d44c5[_0xece0c2(0xcd)]('div',{'className':_0xece0c2(0x141),'children':[_0x5d44c5['jsx']('span',{'className':_0xece0c2(0x96),'children':'1'}),_0x2fb346['t'](_0xece0c2(0x119))]}),_0x5d44c5['jsxs'](_0xece0c2(0x1ee),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x10e),{'className':_0xece0c2(0x96),'children':'2'}),_0x2fb346['t'](_0xece0c2(0x126))]}),_0x5d44c5[_0xece0c2(0xcd)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x10e),{'className':_0xece0c2(0x96),'children':'3'}),_0x2fb346['t'](_0xece0c2(0xc4))]})]})]})]}),_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'className':'univer-space-y-2','children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'className':_0xece0c2(0xad),'children':'MCP\x20Configuration'}),_0x5d44c5[_0xece0c2(0x1e6)]('div',{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x196),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON[_0xece0c2(0xf3)]({'mcpServers':{'univer':{'url':_0xece0c2(0x1bf)+(_0x4dfb7e||_0xece0c2(0xe0)),'type':_0xece0c2(0x208),'headers':{'Authorization':_0xece0c2(0x11f)+(_0x105fc5||_0xece0c2(0x14f))}}}},null,0x2)})})]}),_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x10a),'children':[_0x5d44c5[_0xece0c2(0x1e6)]('div',{'className':_0xece0c2(0xad),'children':_0x2fb346['t'](_0xece0c2(0x97))}),_0x5d44c5['jsxs']('div',{'className':_0xece0c2(0x200),'children':[_0x5d44c5[_0xece0c2(0xcd)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x176)}),_0x5d44c5[_0xece0c2(0xcd)]('div',{'className':_0xece0c2(0x116),'children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x167),'children':_0xece0c2(0x218)}),_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x2fb346['t'](_0xece0c2(0x10d))})]})]}),_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'className':_0xece0c2(0xa8),'children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x176)}),_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x116),'children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x167),'children':_0xece0c2(0x193)}),_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x1ee),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x2fb346['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x5d44c5[_0xece0c2(0x1e6)](_0x279494['Button'],{'onClick':_0x5bb777,'disabled':!_0x220c96||_0x23f8d0,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x23f8d0?_0x5d44c5[_0xece0c2(0xcd)]('span',{'className':_0xece0c2(0x141),'children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x10e),{'children':'⟲'}),_0x2fb346['t'](_0xece0c2(0x10c))]}):_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x10e),{'className':_0xece0c2(0x141),'children':[_0x5d44c5['jsx'](_0x2eabd3,{}),_0x2fb346['t'](_0xece0c2(0x1c2))]})}),_0x5d44c5['jsx'](_0xece0c2(0x1ee),{'className':_0xece0c2(0x1ef),'children':_0x5d44c5['jsxs']('div',{'className':_0xece0c2(0xc9),'children':[_0x5d44c5[_0xece0c2(0x1e6)](_0xece0c2(0x10e),{'className':_0xece0c2(0xf1),'children':'💡'}),_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'className':_0xece0c2(0x177),'children':[_0x5d44c5[_0xece0c2(0x1e6)]('div',{'className':_0xece0c2(0x1cc),'children':_0xece0c2(0x1fd)}),_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'children':['•',_0x2fb346['t'](_0xece0c2(0x154))]}),_0x5d44c5[_0xece0c2(0xcd)](_0xece0c2(0x1ee),{'children':['•',_0x2fb346['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x509576=_0xea8057(0x10f),_0x2c6a68={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x54c513=Object[_0xea8057(0x15e)],_0x2c035b=(_0x507868,_0x366fd8,_0x2d01f0,_0x563746)=>{const _0x52fd6a=_0xea8057;for(var _0x4fa037=_0x563746>0x1?void 0x0:_0x563746?_0x54c513(_0x366fd8,_0x2d01f0):_0x366fd8,_0x5b8e2e=_0x507868[_0x52fd6a(0x1d2)]-0x1,_0x87d0db;_0x5b8e2e>=0x0;_0x5b8e2e--)(_0x87d0db=_0x507868[_0x5b8e2e])&&(_0x4fa037=_0x87d0db(_0x4fa037)||_0x4fa037);return _0x4fa037;},_0x72aaf3=(_0x76105,_0x59e6eb)=>(_0x2e0396,_0xf31d74)=>_0x59e6eb(_0x2e0396,_0xf31d74,_0x76105);const _0x21c7a9=_0xea8057(0xdb),_0x3086fd=_0xea8057(0xee);_0x4542c1[_0xea8057(0xd9)]=class extends _0x2b4904[_0xea8057(0x1de)]{constructor(_0x34ee61,_0x4a12b4,_0x6b0de,_0x15fc65,_0x3d12a0,_0x32a96f,_0x4b3d32,_0x157ea1,_0x123e44,_0xe6c50e){const _0x3ddab8=_0xea8057;super(),_0x148778(this,_0x3ddab8(0x172),new _0x4498e0[(_0x3ddab8(0x158))](!0x1)),_0x148778(this,'_mcpCoreConfig$',new _0x4498e0[(_0x3ddab8(0x158))]({})),_0x148778(this,_0x3ddab8(0xc1),new _0x4498e0[(_0x3ddab8(0x158))]({})),_0x148778(this,_0x3ddab8(0xe2),new _0x4498e0['BehaviorSubject']('')),_0x148778(this,'_handleConfigSave',async _0x10c0fa=>{const _0x228046=_0x3ddab8;var _0x8fd695,_0x34d76f;this[_0x228046(0x172)][_0x228046(0x1c0)](!0x0);try{const _0xa2c566=await this[_0x228046(0x1c8)](_0x10c0fa);if(!_0xa2c566[_0x228046(0xbb)]){this[_0x228046(0xa7)][_0x228046(0x100)]({'type':_0x279494[_0x228046(0xb1)]['Error'],'content':_0xa2c566[_0x228046(0x202)]||this[_0x228046(0x14d)]['t'](_0x228046(0x1db))});return;}_0x10c0fa['apiKey']?await this['_localStorageService']['setItem'](_0x21c7a9,_0x10c0fa[_0x228046(0x12d)]['trim']()):await this['_localStorageService'][_0x228046(0xde)](_0x21c7a9),this[_0x228046(0xe2)][_0x228046(0x1c0)](((_0x8fd695=_0x10c0fa[_0x228046(0x12d)])==null?void 0x0:_0x8fd695['trim']())||''),this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':'Bearer\x20'+((_0x34d76f=_0x10c0fa[_0x228046(0x12d)])==null?void 0x0:_0x34d76f[_0x228046(0x1a3)]())}),this[_0x228046(0xa7)][_0x228046(0x100)]({'type':_0x279494['MessageType'][_0x228046(0x21d)],'content':this['_localeService']['t'](_0x228046(0x13a))}),setTimeout(()=>{const _0x30abfe=_0x228046;this[_0x30abfe(0x164)][_0x30abfe(0x20b)](_0x3086fd);},0x320);}catch(_0x5b5bb3){this[_0x228046(0xfd)][_0x228046(0x21c)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x5b5bb3),this[_0x228046(0xa7)][_0x228046(0x100)]({'type':_0x279494[_0x228046(0xb1)]['Error'],'content':this[_0x228046(0x14d)]['t'](_0x228046(0x1a0))});}finally{this[_0x228046(0x172)][_0x228046(0x1c0)](!0x1);}}),(this[_0x3ddab8(0x157)]=_0x34ee61,this['_uiPartsService']=_0x4a12b4,this[_0x3ddab8(0xb6)]=_0x6b0de,this[_0x3ddab8(0x174)]=_0x15fc65,this['_dialogService']=_0x3d12a0,this[_0x3ddab8(0xa7)]=_0x32a96f,this['_componentManager']=_0x4b3d32,this[_0x3ddab8(0x14d)]=_0x157ea1,this[_0x3ddab8(0xfd)]=_0x123e44,this[_0x3ddab8(0x150)]=_0xe6c50e,this[_0x3ddab8(0x135)](),this[_0x3ddab8(0x1c1)](),this['_registerComponent']());}[_0xea8057(0x117)](){const _0xdf7a29=_0xea8057,_0x5730d3=this['_configService']['getConfig'](_0x509576);_0x5730d3!=null&&_0x5730d3['showDeveloperTools']&&this[_0xdf7a29(0x164)][_0xdf7a29(0x15a)]({'id':_0x3086fd,'title':{'title':this[_0xdf7a29(0x14d)]['t'](_0xdf7a29(0x145))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x5b2ab5=_0xdf7a29;this[_0x5b2ab5(0x164)][_0x5b2ab5(0x20b)](_0x3086fd);}});}[_0xea8057(0xcc)](){const _0x297648=_0xea8057;return this['_mcpCoreConfig$'][_0x297648(0x130)];}[_0xea8057(0x180)](){const _0x41ad7d=_0xea8057;this[_0x41ad7d(0x146)](this[_0x41ad7d(0x1f8)][_0x41ad7d(0xc5)](_0x41ad7d(0xdf),this[_0x41ad7d(0x179)]()));}[_0xea8057(0x179)](){const _0x529530=_0xea8057;return _0x247597['connectInjector'](()=>{const _0x59fd09=_0x3436;var _0x1ac7f5,_0x49e4b0,_0x543f78;return _0x5d44c5[_0x59fd09(0x1e6)](_0x45296d,{'config':this[_0x59fd09(0xc1)]['value'],'mcpCoreConfig':this[_0x59fd09(0x1c3)][_0x59fd09(0x130)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x59fd09(0x11b)],'loading':this[_0x59fd09(0x172)][_0x59fd09(0x130)],'connectionStatus$':(_0x1ac7f5=this[_0x59fd09(0x150)])==null?void 0x0:_0x1ac7f5[_0x59fd09(0x118)],'connectionError$':(_0x49e4b0=this[_0x59fd09(0x150)])==null?void 0x0:_0x49e4b0['connectionError$'],'currentSessionId$':(_0x543f78=this[_0x59fd09(0x150)])==null?void 0x0:_0x543f78['sessionId$']});},this[_0x529530(0x157)]);}['_initConfigSync'](){const _0x4293c4=_0xea8057;this[_0x4293c4(0x146)](this[_0x4293c4(0xb6)][_0x4293c4(0x14a)](_0x50e416['MCP_PLUGIN_CONFIG_KEY'])[_0x4293c4(0x147)](_0x82b474=>{const _0x2a2912=_0x4293c4;this['_mcpCoreConfig$'][_0x2a2912(0x1c0)](_0x82b474||{});}));const _0xc36bdd=this[_0x4293c4(0xb6)][_0x4293c4(0x1ed)](_0x50e416[_0x4293c4(0x197)]);this['_mcpCoreConfig$'][_0x4293c4(0x1c0)](_0xc36bdd||{}),this[_0x4293c4(0x146)](this[_0x4293c4(0xb6)]['subscribeConfigValue$'](_0x509576)[_0x4293c4(0x147)](_0x10f144=>{const _0x30493f=_0x4293c4;this['_config$'][_0x30493f(0x1c0)](_0x10f144||{});}));const _0x1f1783=this['_configService'][_0x4293c4(0x1ed)](_0x509576);this[_0x4293c4(0xc1)][_0x4293c4(0x1c0)](_0x1f1783||{});}async['_loadStoredApiKey'](){const _0x145136=_0xea8057,_0x2d988c=this[_0x145136(0xb6)][_0x145136(0x1ed)](_0x509576);if(!(_0x2d988c!=null&&_0x2d988c[_0x145136(0x94)]))return;const _0x3eacac=await this[_0x145136(0x174)][_0x145136(0x108)](_0x21c7a9);_0x3eacac&&(this[_0x145136(0x150)][_0x145136(0x1d1)]({'Authorization':_0x145136(0x11f)+_0x3eacac}),this[_0x145136(0xe2)]['next'](_0x3eacac));}async[_0xea8057(0x1c8)](_0x2a5b4a){const _0x48ce9c=_0xea8057;if(!_0x2a5b4a['apiKey']||_0x2a5b4a['apiKey'][_0x48ce9c(0x1a3)]()[_0x48ce9c(0x1d2)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x48ce9c(0x14d)]['t'](_0x48ce9c(0x139))};if(_0x2a5b4a['apiKey'][_0x48ce9c(0x1a3)]()[_0x48ce9c(0x1d2)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x48ce9c(0x14d)]['t'](_0x48ce9c(0x149))};try{const _0xadfa71=await this['_injector']['get'](_0x50e416[_0x48ce9c(0xce)])[_0x48ce9c(0x114)](_0x2a5b4a[_0x48ce9c(0x12d)][_0x48ce9c(0x1a3)]());return _0xadfa71[_0x48ce9c(0xbb)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0xadfa71[_0x48ce9c(0x21c)]||this['_localeService']['t'](_0x48ce9c(0xbd))};}catch(_0xb21131){return console[_0x48ce9c(0x17e)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0xb21131),{'isValid':!0x0};}}},_0x4542c1['MCPConfigUIController']=_0x2c035b([_0x72aaf3(0x0,_0x2b4904[_0xea8057(0x1fb)](_0x2b4904[_0xea8057(0x124)])),_0x72aaf3(0x1,_0x247597[_0xea8057(0xa2)]),_0x72aaf3(0x2,_0x2b4904[_0xea8057(0x8d)]),_0x72aaf3(0x3,_0x2b4904['ILocalStorageService']),_0x72aaf3(0x4,_0x247597[_0xea8057(0x171)]),_0x72aaf3(0x5,_0x247597[_0xea8057(0x18e)]),_0x72aaf3(0x6,_0x2b4904['Inject'](_0x247597[_0xea8057(0x205)])),_0x72aaf3(0x7,_0x2b4904[_0xea8057(0x1fb)](_0x2b4904[_0xea8057(0x129)])),_0x72aaf3(0x8,_0x2b4904[_0xea8057(0x1e5)]),_0x72aaf3(0x9,_0x2b4904[_0xea8057(0x1fb)](_0x50e416[_0xea8057(0xce)]))],_0x4542c1['MCPConfigUIController']);const _0x16e388={'id':_0xea8057(0xcb),'type':_0x2b4904['CommandType'][_0xea8057(0x9b)],'handler':async(_0x39ccbf,_0x40872b)=>(_0x39ccbf[_0xea8057(0x215)](_0x4542c1['MCPConfigUIController'])[_0xea8057(0x117)](),!0x0)};function _0x15a65e(_0x24f6e7,_0x1a320a){const _0x1cea50=_0xea8057;switch(_0x24f6e7){case _0x50e416[_0x1cea50(0x1c4)]['DISCONNECTED']:return _0x1cea50(0x1b0);case _0x50e416[_0x1cea50(0x1c4)][_0x1cea50(0x152)]:return'mcpStatus.connecting';case _0x50e416['MCPConnectionStatus'][_0x1cea50(0x15f)]:return _0x1cea50(0x1fa);case _0x50e416['MCPConnectionStatus'][_0x1cea50(0x1a9)]:switch(_0x1a320a){case _0x50e416[_0x1cea50(0xc3)][_0x1cea50(0x14b)]:return _0x1cea50(0x1aa);case _0x50e416['MCPConnectionError'][_0x1cea50(0xd1)]:return'mcpStatus.sessionOccupied';case _0x50e416[_0x1cea50(0xc3)][_0x1cea50(0x13b)]:return _0x1cea50(0xd8);case _0x50e416[_0x1cea50(0xc3)]['MAX_RETRIES_EXCEEDED']:return _0x1cea50(0x1bb);default:return _0x1cea50(0x98);}case _0x50e416[_0x1cea50(0x1c4)][_0x1cea50(0x109)]:return _0x1cea50(0xeb);default:return _0x1cea50(0x1f3);}}function _0x5890e2(_0x403b07,_0x45c8e7,_0x3ade88,_0x48b1ad=!0x0){const _0x25c74c=_0xea8057,_0x107772=_0x15a65e(_0x403b07,_0x45c8e7),_0x3746ed=_0x3ade88['t'](_0x107772);return _0x48b1ad?_0x403b07===_0x50e416[_0x25c74c(0x1c4)]['DISCONNECTED']&&_0x45c8e7===_0x50e416[_0x25c74c(0xc3)]['UNAUTHORIZED']?_0x3746ed+_0x25c74c(0x8c)+_0x3ade88['t'](_0x25c74c(0x102)):_0x403b07===_0x50e416['MCPConnectionStatus'][_0x25c74c(0x15f)]?''+_0x3746ed:_0x403b07===_0x50e416[_0x25c74c(0x1c4)][_0x25c74c(0x8f)]||_0x403b07===_0x50e416[_0x25c74c(0x1c4)][_0x25c74c(0x1a9)]?_0x3746ed+_0x25c74c(0x8c)+_0x3ade88['t']('mcpStatus.clickToConnect'):_0x3746ed:_0x3746ed;}function _0x2a25f8(_0x4cf402){const _0x1d0d98=_0xea8057;switch(_0x4cf402){case _0x50e416[_0x1d0d98(0x1c4)]['CONNECTED']:return _0x1d0d98(0x9f);case _0x50e416[_0x1d0d98(0x1c4)]['CONNECTING']:case _0x50e416[_0x1d0d98(0x1c4)]['RETRYING']:return _0x1d0d98(0xd4);case _0x50e416[_0x1d0d98(0x1c4)]['FAILED']:case _0x50e416['MCPConnectionStatus'][_0x1d0d98(0x8f)]:return'univer-text-red-500';default:return _0x1d0d98(0x11e);}}function _0x45e4bd(_0x4c7039){const _0x143c34=_0xea8057,{status$:_0x21cfc4,error$:_0x37e761,onConfigure:_0x4087cc,showClickable:_0x3adde7=!0x0}=_0x4c7039,_0x493a5b=_0x247597['useObservable'](_0x21cfc4,_0x50e416[_0x143c34(0x1c4)][_0x143c34(0x8f)]),_0x3031d7=_0x247597[_0x143c34(0xc8)](_0x37e761,_0x50e416['MCPConnectionError'][_0x143c34(0x1ff)]),_0x1fd4c8=_0x247597[_0x143c34(0x91)](_0x2b4904[_0x143c34(0x129)]),_0x55c64c=_0x493a5b===_0x50e416[_0x143c34(0x1c4)][_0x143c34(0x15f)];_0x493a5b===_0x50e416['MCPConnectionStatus']['CONNECTING']||_0x50e416[_0x143c34(0x1c4)][_0x143c34(0x109)];const _0x3eb798=_0x1fd4c8['t'](_0x15a65e(_0x493a5b,_0x3031d7)),_0x2ef8fb=_0x5890e2(_0x493a5b,_0x3031d7,_0x1fd4c8,_0x3adde7),_0x21b340=_0x2a25f8(_0x493a5b),_0x3d23b5=_0x55c64c?_0x5d44c5[_0x143c34(0x1e6)](_0x5cab4a,{}):_0x5d44c5['jsx'](_0x205866,{}),_0x44c4f7=_0x4e1bbe['useCallback'](()=>{_0x3adde7&&_0x4087cc&&_0x4087cc();},[_0x3adde7,_0x4087cc]);function _0x578c01(){const _0x3cb0ae=_0x143c34;return _0x5d44c5['jsxs'](_0x3cb0ae(0x1ee),{'className':_0x279494['clsx'](_0x3cb0ae(0xa5),_0x3adde7&&_0x4087cc&&_0x3cb0ae(0xbc)),'role':_0x3cb0ae(0x128),'onClick':_0x3adde7&&_0x4087cc?_0x44c4f7:void 0x0,'children':[_0x5d44c5[_0x3cb0ae(0x1e6)](_0x3cb0ae(0x1ee),{'className':_0x279494[_0x3cb0ae(0x183)](_0x3cb0ae(0x166),_0x21b340),'children':_0x3d23b5}),_0x5d44c5[_0x3cb0ae(0x1e6)](_0x3cb0ae(0x1ee),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3eb798})]});}return _0x5d44c5[_0x143c34(0x1e6)](_0x279494['Tooltip'],{'title':_0x2ef8fb,'placement':_0x143c34(0x188),'children':_0x578c01()});}var _0x563780=Object[_0xea8057(0x15e)],_0x3d54f6=(_0x93288c,_0x5947ca,_0x4df951,_0x314a75)=>{for(var _0x3106ae=_0x314a75>0x1?void 0x0:_0x314a75?_0x563780(_0x5947ca,_0x4df951):_0x5947ca,_0x543cbf=_0x93288c['length']-0x1,_0x2e1e68;_0x543cbf>=0x0;_0x543cbf--)(_0x2e1e68=_0x93288c[_0x543cbf])&&(_0x3106ae=_0x2e1e68(_0x3106ae)||_0x3106ae);return _0x3106ae;},_0x4e7bf3=(_0x18f4ce,_0x53200e)=>(_0x3cf389,_0xaeb02c)=>_0x53200e(_0x3cf389,_0xaeb02c,_0x18f4ce);_0x4542c1['MCPConnectionUIController']=class extends _0x2b4904['Disposable']{constructor(_0x546042,_0xc24ce6,_0x2044f1,_0x308f57){const _0xbf0d15=_0xea8057;super(),this[_0xbf0d15(0x157)]=_0x546042,this[_0xbf0d15(0x155)]=_0xc24ce6,this[_0xbf0d15(0x1cf)]=_0x2044f1,this[_0xbf0d15(0xb6)]=_0x308f57,this['_initAutoConnect'](),this[_0xbf0d15(0x112)]();}[_0xea8057(0xa6)](){const _0x401ec2=_0xea8057,_0x2640ea=this[_0x401ec2(0xb6)][_0x401ec2(0x1ed)](_0x509576);_0x2640ea!=null&&_0x2640ea[_0x401ec2(0x94)]&&(this['_connectionController'][_0x401ec2(0xa4)]=!0x1);}[_0xea8057(0x112)](){const _0x391cb6=_0xea8057,_0x17e0ae=this['_configService'][_0x391cb6(0x1ed)](_0x509576);(_0x17e0ae==null?void 0x0:_0x17e0ae['showStatus'])!==!0x1&&this[_0x391cb6(0x146)](this[_0x391cb6(0x1cf)][_0x391cb6(0xf4)](_0x247597[_0x391cb6(0x1e8)][_0x391cb6(0x18d)],()=>{const _0x41fe55=_0x391cb6;var _0x3ca66c;return _0x247597['connectInjector'](_0x98e38b({'status$':this[_0x41fe55(0x155)][_0x41fe55(0x118)],'error$':this[_0x41fe55(0x155)][_0x41fe55(0x1e1)],'onConfigure':()=>this[_0x41fe55(0xba)](),'showClickable':(_0x3ca66c=_0x17e0ae==null?void 0x0:_0x17e0ae[_0x41fe55(0x94)])!=null?_0x3ca66c:!0x1}),this[_0x41fe55(0x157)]);}));}[_0xea8057(0xba)](){const _0x10890c=_0xea8057;this[_0x10890c(0x157)][_0x10890c(0x215)](_0x4542c1[_0x10890c(0xd9)])['showConfigPanel']();}},_0x4542c1[_0xea8057(0x143)]=_0x3d54f6([_0x4e7bf3(0x0,_0x2b4904[_0xea8057(0x1fb)](_0x2b4904[_0xea8057(0x124)])),_0x4e7bf3(0x1,_0x2b4904['Inject'](_0x50e416[_0xea8057(0xce)])),_0x4e7bf3(0x2,_0x247597[_0xea8057(0xa2)]),_0x4e7bf3(0x3,_0x2b4904['IConfigService'])],_0x4542c1[_0xea8057(0x143)]);function _0x98e38b(_0x241624){const {status$:_0x5ae86c,error$:_0x549301,onConfigure:_0x981207,showClickable:_0x5a60c5}=_0x241624;return function(){const _0x5e9896=_0x3436;return _0x5d44c5[_0x5e9896(0x1e6)](_0x45e4bd,{'status$':_0x5ae86c,'error$':_0x549301,'onConfigure':_0x981207,'showClickable':_0x5a60c5});};}function _0x22f6af(_0x380e0c){const _0xd4ed34=_0xea8057;return{'id':_0x16e388['id'],'type':_0x247597['MenuItemType'][_0xd4ed34(0x16d)],'icon':_0xd4ed34(0xe5),'title':_0xd4ed34(0x145),'tooltip':_0xd4ed34(0x145)};}const _0x56368e={[_0x247597[_0xea8057(0x105)][_0xea8057(0x18a)]]:{[_0x16e388['id']]:{'order':0xa,'menuItemFactory':_0x22f6af}}};var _0x3815a8=Object[_0xea8057(0x15e)],_0x2b5cac=(_0x4e1329,_0x23be75,_0x105bfe,_0x3aad0d)=>{const _0x1de6b9=_0xea8057;for(var _0x50af1b=_0x3aad0d>0x1?void 0x0:_0x3aad0d?_0x3815a8(_0x23be75,_0x105bfe):_0x23be75,_0x29050b=_0x4e1329[_0x1de6b9(0x1d2)]-0x1,_0x4dfb23;_0x29050b>=0x0;_0x29050b--)(_0x4dfb23=_0x4e1329[_0x29050b])&&(_0x50af1b=_0x4dfb23(_0x50af1b)||_0x50af1b);return _0x50af1b;},_0x171fa2=(_0x3d3345,_0x3fdd06)=>(_0x46c980,_0x1563f8)=>_0x3fdd06(_0x46c980,_0x1563f8,_0x3d3345);_0x4542c1[_0xea8057(0x182)]=class extends _0x2b4904[_0xea8057(0x1de)]{constructor(_0x22e920,_0x1b376a){const _0x22354f=_0xea8057;super(),this[_0x22354f(0x9a)]=_0x22e920,this[_0x22354f(0xc2)]=_0x1b376a,this['_initializeCommands'](),this[_0x22354f(0x90)]();}[_0xea8057(0x12c)](){[_0x16e388]['forEach'](_0x1e8e62=>{const _0x4fb622=_0x3436;this[_0x4fb622(0x146)](this['_commandService']['registerCommand'](_0x1e8e62));});}['_initializeMenus'](){const _0x4d2153=_0xea8057;this[_0x4d2153(0xc2)][_0x4d2153(0x9c)](_0x56368e);}},_0x4542c1[_0xea8057(0x182)]=_0x2b5cac([_0x171fa2(0x0,_0x2b4904['ICommandService']),_0x171fa2(0x1,_0x247597[_0xea8057(0x17d)])],_0x4542c1['MCPUIMenuController']);const _0x145bdd={'mcpStatus':{'disconnected':_0xea8057(0x1d8),'connecting':'MCP\x20Connecting...','connected':_0xea8057(0x12b),'failed':_0xea8057(0x20e),'retrying':_0xea8057(0x95),'unknown':_0xea8057(0xfe),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0xea8057(0xdc),'networkError':_0xea8057(0xd0),'maxRetriesExceeded':_0xea8057(0x195),'clickToConnect':_0xea8057(0x8e),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0xea8057(0x209),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0xea8057(0x133),'apiKeyHint':_0xea8057(0x1e0),'enableAuth':_0xea8057(0x168),'enableAuthHint':_0xea8057(0x1b1),'connectionInfo':_0xea8057(0x1f6),'mcpClientConfig':_0xea8057(0x1f6),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0xea8057(0x170),'configStep3':_0xea8057(0x184),'sessionId':_0xea8057(0x125),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0xea8057(0x115),'save':_0xea8057(0x87),'saving':_0xea8057(0xe8),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0xea8057(0xf7),'configSaved':_0xea8057(0x1b8),'configError':_0xea8057(0x1a6),'apiApplyInfo':{'title':_0xea8057(0x14c),'description':_0xea8057(0xf8),'univerAiLabel':_0xea8057(0x20a),'getStarted':_0xea8057(0x204)},'validation':{'apiKeyRequired':_0xea8057(0x16f),'apiKeyTooShort':_0xea8057(0xf9),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0xea8057(0x186)},'connectionStatus':{'disconnected':_0xea8057(0xbe),'connecting':_0xea8057(0xbf),'connected':_0xea8057(0xda),'failed':_0xea8057(0x148),'retrying':_0xea8057(0x1f0)},'connectionError':{'unauthorized':_0xea8057(0x15b),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0xea8057(0x122),'maxRetriesExceeded':_0xea8057(0x111)}}},_0x2bee25={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':_0xea8057(0x1f7),'failed':_0xea8057(0x99),'retrying':_0xea8057(0x1d5),'unknown':_0xea8057(0xb7),'unauthorized':_0xea8057(0x189),'sessionOccupied':_0xea8057(0x1a2),'networkError':_0xea8057(0x13f),'maxRetriesExceeded':_0xea8057(0xa0),'clickToConnect':_0xea8057(0x1f9),'clickToConfigure':_0xea8057(0xc6)},'mcpConfig':{'title':_0xea8057(0x1b6),'description':_0xea8057(0x18b),'apiKey':_0xea8057(0x144),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0xea8057(0x1ec),'enableAuth':_0xea8057(0x1e3),'enableAuthHint':_0xea8057(0x1d3),'connectionInfo':_0xea8057(0x120),'mcpClientConfig':_0xea8057(0x120),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0xea8057(0xc0),'configStep1':_0xea8057(0xdd),'configStep2':_0xea8057(0x1d6),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0xea8057(0x12e),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0xea8057(0x1ae),'maxRetries':_0xea8057(0x212),'save':_0xea8057(0x1e7),'saving':'保存中...','note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0xea8057(0x113),'configError':_0xea8057(0x1b3),'apiApplyInfo':{'title':_0xea8057(0x16a),'description':_0xea8057(0x1dd),'univerAiLabel':_0xea8057(0xf2),'getStarted':_0xea8057(0x1bd)},'validation':{'apiKeyRequired':_0xea8057(0x121),'apiKeyTooShort':_0xea8057(0x11c),'invalidConfig':_0xea8057(0x19d),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0xea8057(0x1d0),'connecting':_0xea8057(0x1b2),'connected':_0xea8057(0x1cd),'failed':_0xea8057(0x136),'retrying':_0xea8057(0x210)},'connectionError':{'unauthorized':_0xea8057(0xae),'sessionOccupied':_0xea8057(0x17f),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0xea8057(0x12a)}}};var _0x10b9d6=Object[_0xea8057(0x1ba)],_0x5105a4=Object[_0xea8057(0x15e)],_0x243bc9=(_0x2d026c,_0x25dbfe,_0x2cf221)=>_0x25dbfe in _0x2d026c?_0x10b9d6(_0x2d026c,_0x25dbfe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cf221}):_0x2d026c[_0x25dbfe]=_0x2cf221,_0x11c35e=(_0x4e9173,_0x1ed3e2,_0x2513c3,_0x4d34e2)=>{const _0x106810=_0xea8057;for(var _0x5411c7=_0x4d34e2>0x1?void 0x0:_0x4d34e2?_0x5105a4(_0x1ed3e2,_0x2513c3):_0x1ed3e2,_0x18d266=_0x4e9173[_0x106810(0x1d2)]-0x1,_0x5df856;_0x18d266>=0x0;_0x18d266--)(_0x5df856=_0x4e9173[_0x18d266])&&(_0x5411c7=_0x5df856(_0x5411c7)||_0x5411c7);return _0x5411c7;},_0x4a28db=(_0xec6794,_0x3616ec)=>(_0x57dbbb,_0x10f72f)=>_0x3616ec(_0x57dbbb,_0x10f72f,_0xec6794),_0x2026c0=(_0x31fcd4,_0x96a6b1,_0x3fd285)=>_0x243bc9(_0x31fcd4,_0x96a6b1+'',_0x3fd285);_0x4542c1[_0xea8057(0x137)]=class extends _0x2b4904['Plugin']{constructor(_0xf4779c=_0x2c6a68,_0x1b2f81,_0x1bd3b6,_0x4e4cb3,_0x4c60a0,_0xe9605e){const _0x11387e=_0xea8057;super(),this['_config']=_0xf4779c,this[_0x11387e(0x157)]=_0x1b2f81,this[_0x11387e(0xb6)]=_0x1bd3b6,this[_0x11387e(0x1cf)]=_0x4e4cb3,this[_0x11387e(0x174)]=_0x4c60a0,this['_localeService']=_0xe9605e;const {..._0x440182}=_0x2b4904['merge']({},_0x2c6a68,this[_0x11387e(0x163)]);this['_configService'][_0x11387e(0x16c)](_0x509576,_0x440182);}async[_0xea8057(0x104)](){const _0x2b6498=_0xea8057,_0x42de37=[[_0x4542c1[_0x2b6498(0x143)]],[_0x4542c1['MCPConfigUIController']],[_0x4542c1[_0x2b6498(0x182)]]];this[_0x2b6498(0x157)][_0x2b6498(0xb0)](_0x5bbb4b[_0x2b6498(0x101)])||_0x42de37['push']([_0x5bbb4b[_0x2b6498(0x101)],{'useClass':_0x5bbb4b[_0x2b6498(0x1ca)]}]),_0x42de37[_0x2b6498(0xf5)](_0x40ef9e=>this[_0x2b6498(0x157)]['add'](_0x40ef9e)),this[_0x2b6498(0x157)][_0x2b6498(0x215)](_0x4542c1[_0x2b6498(0x143)]),this[_0x2b6498(0x157)][_0x2b6498(0x215)](_0x4542c1[_0x2b6498(0xd9)]),this[_0x2b6498(0x157)]['get'](_0x4542c1[_0x2b6498(0x182)]);}},_0x2026c0(_0x4542c1[_0xea8057(0x137)],_0xea8057(0xa3),'MCP_UI_PLUGIN'),_0x4542c1[_0xea8057(0x137)]=_0x11c35e([_0x2b4904['DependentOn'](_0x50e416[_0xea8057(0x1af)]),_0x4a28db(0x1,_0x2b4904[_0xea8057(0x1fb)](_0x2b4904[_0xea8057(0x124)])),_0x4a28db(0x2,_0x2b4904[_0xea8057(0x8d)]),_0x4a28db(0x3,_0x247597[_0xea8057(0xa2)]),_0x4a28db(0x4,_0x2b4904[_0xea8057(0x1c5)]),_0x4a28db(0x5,_0x2b4904[_0xea8057(0x1fb)](_0x2b4904[_0xea8057(0x129)]))],_0x4542c1['UniverMCPUIPlugin']),_0x4542c1['MCPConfigPanel']=_0x45296d,_0x4542c1[_0xea8057(0xe3)]=_0x45e4bd,_0x4542c1[_0xea8057(0x15d)]=_0x16e388,_0x4542c1[_0xea8057(0x16e)]=_0x145bdd,_0x4542c1[_0xea8057(0x194)]=_0x2bee25,Object[_0xea8057(0x1ba)](_0x4542c1,Symbol[_0xea8057(0xb9)],{'value':_0xea8057(0x17b)});}));