@univerjs-pro/mcp-ui 0.25.1 → 1.0.0-alpha.1

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 (55) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/views/components/mcp-config.d.ts +1 -1
  41. package/lib/types/views/components/mcp-status.d.ts +1 -1
  42. package/lib/umd/index.js +1 -1
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.js +1 -1
  48. package/lib/umd/locale/ja-JP.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/sk-SK.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +12 -12
@@ -1 +1 @@
1
- const _0x59f155=_0x2c44;(function(_0x3e683c,_0x2c22aa){const _0x4be44d=_0x2c44,_0x240801=_0x3e683c();while(!![]){try{const _0x18d5f4=-parseInt(_0x4be44d(0x205))/0x1*(parseInt(_0x4be44d(0x1fb))/0x2)+parseInt(_0x4be44d(0x1df))/0x3+-parseInt(_0x4be44d(0x1f4))/0x4+-parseInt(_0x4be44d(0x1dc))/0x5+-parseInt(_0x4be44d(0x1ef))/0x6+parseInt(_0x4be44d(0x1e7))/0x7+parseInt(_0x4be44d(0x207))/0x8*(parseInt(_0x4be44d(0x1d9))/0x9);if(_0x18d5f4===_0x2c22aa)break;else _0x240801['push'](_0x240801['shift']());}catch(_0x527dea){_0x240801['push'](_0x240801['shift']());}}}(_0x86ba,0xd27cb));const e={'mcpStatus':{'disconnected':_0x59f155(0x1ed),'connecting':'MCP\x20연결\x20중...','connected':_0x59f155(0x1ea),'failed':_0x59f155(0x1fe),'retrying':_0x59f155(0x1f8),'unknown':_0x59f155(0x1f5),'unauthorized':_0x59f155(0x1e1),'sessionOccupied':_0x59f155(0x1fc),'networkError':'MCP:\x20네트워크\x20오류','maxRetriesExceeded':_0x59f155(0x1e4),'clickToConnect':_0x59f155(0x1e2),'clickToConfigure':_0x59f155(0x1de)},'mcpConfig':{'title':_0x59f155(0x200),'description':_0x59f155(0x1f3),'apiKey':_0x59f155(0x1ff),'apiKeyPlaceholder':_0x59f155(0x1e6),'apiKeyHint':_0x59f155(0x1e9),'enableAuth':_0x59f155(0x203),'enableAuthHint':_0x59f155(0x1d7),'connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':'MCP\x20클라이언트\x20설정','configInstructions':_0x59f155(0x201),'configStepTitle':_0x59f155(0x1e3),'configStep1':'아래\x20JSON\x20설정\x20복사','configStep2':'MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','configStep3':_0x59f155(0x1d8),'sessionId':_0x59f155(0x1da),'sessionIdDescription':_0x59f155(0x1f1),'authorizationDescription':'Bearer\x20접두사가\x20있는\x20API\x20키.','configParameters':_0x59f155(0x1eb),'maxRetries':_0x59f155(0x1f0),'save':_0x59f155(0x1fa),'saving':_0x59f155(0x1ec),'note1':_0x59f155(0x1f7),'note2':'API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','configSaved':_0x59f155(0x1e0),'configError':'설정\x20저장\x20실패','apiApplyInfo':{'title':_0x59f155(0x1db),'description':'API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':_0x59f155(0x206)},'validation':{'apiKeyRequired':_0x59f155(0x204),'apiKeyTooShort':_0x59f155(0x1f6),'invalidConfig':_0x59f155(0x202),'invalidApiKey':_0x59f155(0x1e8)},'connectionStatus':{'disconnected':'연결\x20끊김','connecting':_0x59f155(0x1f9),'connected':_0x59f155(0x1ee),'failed':_0x59f155(0x1f2),'retrying':'재시도\x20중...'},'connectionError':{'unauthorized':_0x59f155(0x1fd),'sessionOccupied':_0x59f155(0x1e5),'networkError':'네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','maxRetriesExceeded':_0x59f155(0x1dd)}}};function _0x2c44(_0x266774,_0x20b2f7){_0x266774=_0x266774-0x1d7;const _0x86ba0b=_0x86ba();let _0x2c4407=_0x86ba0b[_0x266774];return _0x2c4407;}function _0x86ba(){const _0x5406e8=['보안\x20연결을\x20위해\x20인증\x20활성화','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','36LRxAcm','세션\x20ID','API\x20키란\x20무엇인가요?','3007990OIBuvQ','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','클릭하여\x20MCP\x20설정','1809564pGTsgs','설정이\x20성공적으로\x20저장되었습니다','MCP:\x20인증되지\x20않음','클릭하여\x20MCP\x20연결','설정\x20단계:','MCP:\x20최대\x20재시도\x20횟수\x20초과','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','API\x20키를\x20입력하세요','565530dbKIcN','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','MCP\x20연결됨','설정\x20매개변수:','저장\x20중...','MCP\x20연결\x20끊김','연결됨','4695342rHTCYD','최대\x20재시도\x20횟수','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','연결\x20실패','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','5682080bzUQGo','MCP\x20알\x20수\x20없는\x20상태','API\x20키는\x2010자\x20이상이어야\x20합니다','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','MCP\x20재시도\x20중...','연결\x20중...','설정\x20저장','8AhgLtT','MCP:\x20세션\x20ID\x20사용\x20중','인증\x20실패.\x20API\x20키를\x20확인하세요','MCP\x20연결\x20실패','API\x20키','MCP\x20설정','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','유효하지\x20않은\x20설정','인증\x20활성화','API\x20키는\x20필수입니다','365563vnNZFI','몇\x20초\x20만에\x20API\x20키\x20발급받기','8890208KvsQuG'];_0x86ba=function(){return _0x5406e8;};return _0x86ba();}export{e as default};
1
+ const _0x5ad125=_0x2195;(function(_0x2fbf6d,_0x4344f1){const _0x2a4a3f=_0x2195,_0x483ed3=_0x2fbf6d();while(!![]){try{const _0x2ed0b8=parseInt(_0x2a4a3f(0xf2))/0x1+parseInt(_0x2a4a3f(0xef))/0x2*(-parseInt(_0x2a4a3f(0xe5))/0x3)+-parseInt(_0x2a4a3f(0xfe))/0x4+-parseInt(_0x2a4a3f(0xeb))/0x5*(parseInt(_0x2a4a3f(0xf3))/0x6)+parseInt(_0x2a4a3f(0xd9))/0x7+-parseInt(_0x2a4a3f(0xed))/0x8*(-parseInt(_0x2a4a3f(0xfd))/0x9)+parseInt(_0x2a4a3f(0xda))/0xa*(parseInt(_0x2a4a3f(0xf5))/0xb);if(_0x2ed0b8===_0x4344f1)break;else _0x483ed3['push'](_0x483ed3['shift']());}catch(_0x1d162e){_0x483ed3['push'](_0x483ed3['shift']());}}}(_0x3a80,0xa0776));function _0x2195(_0x31657a,_0x3178d5){_0x31657a=_0x31657a-0xce;const _0x3a8035=_0x3a80();let _0x219530=_0x3a8035[_0x31657a];return _0x219530;}const e={'mcpStatus':{'disconnected':_0x5ad125(0xd1),'connecting':_0x5ad125(0x100),'connected':'MCP\x20연결됨','failed':_0x5ad125(0xd3),'retrying':_0x5ad125(0xd4),'unknown':_0x5ad125(0xf4),'unauthorized':_0x5ad125(0xcf),'sessionOccupied':'MCP:\x20세션\x20ID\x20사용\x20중','networkError':_0x5ad125(0xdc),'maxRetriesExceeded':_0x5ad125(0xdf),'clickToConnect':'클릭하여\x20MCP\x20연결','clickToConfigure':'클릭하여\x20MCP\x20설정'},'mcpConfig':{'title':_0x5ad125(0xdb),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0x5ad125(0xe6),'apiKeyPlaceholder':_0x5ad125(0xe4),'apiKeyHint':_0x5ad125(0xe1),'enableAuth':_0x5ad125(0xea),'enableAuthHint':_0x5ad125(0xec),'connectionInfo':_0x5ad125(0xf1),'mcpClientConfig':_0x5ad125(0xf1),'configInstructions':_0x5ad125(0xff),'configStepTitle':_0x5ad125(0xe2),'configStep1':_0x5ad125(0xfc),'configStep2':_0x5ad125(0xd5),'configStep3':'MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','sessionId':'세션\x20ID','sessionIdDescription':'고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','authorizationDescription':_0x5ad125(0xd0),'configParameters':'설정\x20매개변수:','maxRetries':_0x5ad125(0xde),'save':_0x5ad125(0xd6),'saving':_0x5ad125(0xdd),'note1':_0x5ad125(0xce),'note2':_0x5ad125(0xf9),'configSaved':_0x5ad125(0xd7),'configError':_0x5ad125(0xe0),'apiApplyInfo':{'title':_0x5ad125(0xee),'description':_0x5ad125(0xe8),'univerAiLabel':_0x5ad125(0xfb),'getStarted':_0x5ad125(0xe7)},'validation':{'apiKeyRequired':'API\x20키는\x20필수입니다','apiKeyTooShort':_0x5ad125(0xe9),'invalidConfig':'유효하지\x20않은\x20설정','invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':_0x5ad125(0xe3),'connecting':_0x5ad125(0xd2),'connected':'연결됨','failed':_0x5ad125(0xf8),'retrying':_0x5ad125(0xfa)},'connectionError':{'unauthorized':_0x5ad125(0xf7),'sessionOccupied':_0x5ad125(0xf6),'networkError':_0x5ad125(0xd8),'maxRetriesExceeded':_0x5ad125(0xf0)}}};export{e as default};function _0x3a80(){const _0x5c0175=['API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','재시도\x20중...','Univer\x20AI\x20콘솔','아래\x20JSON\x20설정\x20복사','684cxGsFo','4835132RIIszx','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','MCP\x20연결\x20중...','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','MCP:\x20인증되지\x20않음','Bearer\x20접두사가\x20있는\x20API\x20키.','MCP\x20연결\x20끊김','연결\x20중...','MCP\x20연결\x20실패','MCP\x20재시도\x20중...','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','설정\x20저장','설정이\x20성공적으로\x20저장되었습니다','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','4725273mWujHC','20211450xxfoqE','MCP\x20설정','MCP:\x20네트워크\x20오류','저장\x20중...','최대\x20재시도\x20횟수','MCP:\x20최대\x20재시도\x20횟수\x20초과','설정\x20저장\x20실패','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','설정\x20단계:','연결\x20끊김','API\x20키를\x20입력하세요','165WwcUnz','API\x20','몇\x20초\x20만에\x20API\x20키\x20발급받기','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','API\x20키는\x2010자\x20이상이어야\x20합니다','인증\x20활성화','7765YwKdmq','보안\x20연결을\x20위해\x20인증\x20활성화','13552awUWUZ','API\x20키란\x20무엇인가요?','46792TNYicQ','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','MCP\x20클라이언트\x20설정','484758zWnNEo','606ReLXFn','MCP\x20알\x20수\x20없는\x20상태','11UaYIpR','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','인증\x20실패.\x20API\x20키를\x20확인하세요','연결\x20실패'];_0x3a80=function(){return _0x5c0175;};return _0x3a80();}
@@ -1 +1 @@
1
- const _0x8e837f=_0x446e;(function(_0x4b2c07,_0x4db832){const _0x1e2e86=_0x446e,_0x717f3f=_0x4b2c07();while(!![]){try{const _0x2213d5=-parseInt(_0x1e2e86(0xa2))/0x1+parseInt(_0x1e2e86(0x94))/0x2+parseInt(_0x1e2e86(0x9f))/0x3+-parseInt(_0x1e2e86(0xb5))/0x4+parseInt(_0x1e2e86(0x9e))/0x5*(-parseInt(_0x1e2e86(0xad))/0x6)+-parseInt(_0x1e2e86(0xb1))/0x7*(parseInt(_0x1e2e86(0xb9))/0x8)+parseInt(_0x1e2e86(0x9c))/0x9*(parseInt(_0x1e2e86(0x97))/0xa);if(_0x2213d5===_0x4db832)break;else _0x717f3f['push'](_0x717f3f['shift']());}catch(_0x41d11f){_0x717f3f['push'](_0x717f3f['shift']());}}}(_0x3363,0x1e412));function _0x3363(){const _0x5f1207=['API\x20key\x20is\x20required','Univer\x20AI\x20Console','MCP\x20Disconnected','Configuration\x20Parameters:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Configuration','78216wnMIuy','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Client\x20Configuration','Connecting...','428596bHRwPn','Save\x20Configuration','Invalid\x20configuration','MCP\x20Connecting...','133096MKQmVq','Failed\x20to\x20save\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','16ZPoDtn','MCP\x20Connection\x20Failed','MCP\x20Connected','MCP\x20Retrying...','Disconnected','Enter\x20your\x20API\x20key','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20Steps:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Unauthorized','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','109838YmpYdC','Max\x20Retries','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','2955220imycNL','Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Max\x20Retries\x20Exceeded','18ZbtCkT','API\x20Key','65ImFojb','104781SfMvGM','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','231770nmuOIL','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20saved\x20successfully'];_0x3363=function(){return _0x5f1207;};return _0x3363();}function _0x446e(_0x1f3e08,_0x1d9b43){_0x1f3e08=_0x1f3e08-0x8f;const _0x3363a8=_0x3363();let _0x446e39=_0x3363a8[_0x1f3e08];return _0x446e39;}const e={'mcpStatus':{'disconnected':_0x8e837f(0xa8),'connecting':_0x8e837f(0xb4),'connected':_0x8e837f(0xbb),'failed':_0x8e837f(0xba),'retrying':_0x8e837f(0xbc),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x8e837f(0x92),'sessionOccupied':_0x8e837f(0xa4),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x8e837f(0x9b),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x8e837f(0xac),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x8e837f(0x9d),'apiKeyPlaceholder':_0x8e837f(0xbe),'apiKeyHint':_0x8e837f(0x99),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x8e837f(0xa0),'connectionInfo':_0x8e837f(0xaf),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x8e837f(0x9a),'configStepTitle':_0x8e837f(0x8f),'configStep1':_0x8e837f(0x91),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x8e837f(0x93),'sessionId':'Session\x20ID','sessionIdDescription':_0x8e837f(0xae),'authorizationDescription':_0x8e837f(0xa3),'configParameters':_0x8e837f(0xa9),'maxRetries':_0x8e837f(0x95),'save':_0x8e837f(0xb2),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x8e837f(0x90),'configSaved':_0x8e837f(0xa5),'configError':_0x8e837f(0xb6),'apiApplyInfo':{'title':_0x8e837f(0xb8),'description':_0x8e837f(0x96),'univerAiLabel':_0x8e837f(0xa7),'getStarted':_0x8e837f(0xbf)},'validation':{'apiKeyRequired':_0x8e837f(0xa6),'apiKeyTooShort':_0x8e837f(0xa1),'invalidConfig':_0x8e837f(0xb3),'invalidApiKey':_0x8e837f(0xab)},'connectionStatus':{'disconnected':_0x8e837f(0xbd),'connecting':_0x8e837f(0xb0),'connected':'Connected','failed':_0x8e837f(0x98),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x8e837f(0xaa),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x8e837f(0xb7)}}};export{e as default};
1
+ function _0xb64b(_0x38c5f8,_0x4fac42){_0x38c5f8=_0x38c5f8-0xd1;const _0x5e2a93=_0x5e2a();let _0xb64be5=_0x5e2a93[_0x38c5f8];return _0xb64be5;}(function(_0x352591,_0x513bce){const _0x2af0b2=_0xb64b,_0x134319=_0x352591();while(!![]){try{const _0xfadf5a=-parseInt(_0x2af0b2(0xd5))/0x1*(-parseInt(_0x2af0b2(0xd8))/0x2)+parseInt(_0x2af0b2(0xd3))/0x3*(parseInt(_0x2af0b2(0xd7))/0x4)+parseInt(_0x2af0b2(0xda))/0x5*(-parseInt(_0x2af0b2(0xd4))/0x6)+-parseInt(_0x2af0b2(0xd6))/0x7+parseInt(_0x2af0b2(0xd1))/0x8+parseInt(_0x2af0b2(0xd9))/0x9+-parseInt(_0x2af0b2(0xd2))/0xa;if(_0xfadf5a===_0x513bce)break;else _0x134319['push'](_0x134319['shift']());}catch(_0x3f9032){_0x134319['push'](_0x134319['shift']());}}}(_0x5e2a,0x7d007));function _0x5e2a(){const _0xbe4fb=['384ZaAYAm','101447JavvEr','3449243BViYYH','288WNLzin','12APkbjv','4294206mwQGGg','42650EZRcRK','6997688qHlbTM','5354190HDPexe','5232lqjsWW'];_0x5e2a=function(){return _0xbe4fb;};return _0x5e2a();}import _0x5b1fbf from'./en-US.js';const t=_0x5b1fbf;export{t as default};
@@ -1 +1 @@
1
- const _0x5b98d2=_0x41ea;function _0x41ea(_0x56c11e,_0x48d1f9){_0x56c11e=_0x56c11e-0x94;const _0x43685d=_0x4368();let _0x41ea50=_0x43685d[_0x56c11e];return _0x41ea50;}function _0x4368(){const _0x34a6be=['Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','Pripojené','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','Univer\x20AI\x20konzola','MCP\x20neznámy\x20stav','327432yGGKlK','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','803133XLfZMU','Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','MCP:\x20ID\x20relácie\x20je\x20obsadené','Parametre\x20konfigurácie:','Skúša\x20sa\x20znova...','2179gUWSSH','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','Konfigurácia\x20klienta\x20MCP','MCP:\x20Sieťová\x20chyba','Kliknite\x20na\x20konfiguráciu\x20MCP','495652qntodR','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','API\x20kľúč\x20je\x20povinný','1587850RaSwUk','3CIEPjV','MCP:\x20Prekročený\x20počet\x20pokusov','Odpojené','Kroky\x20konfigurácie:','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','Povoliť\x20overenie','API\x20kľúč','Konfigurácia\x20bola\x20úspešne\x20uložená','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','MCP:\x20Neautorizované','MCP\x20opakuje\x20pokus...','MCP\x20pripojené','4692ZhPWNb','API\x20kľúč\x20s\x20prefixom\x20Bearer.','556JprlDn','API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','Zadajte\x20svoj\x20API\x20kľúč','4812vnjVhW','Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','Pripojenie\x20zlyhalo','40fPkoNm','Ukladá\x20sa...','MCP\x20odpojené','2807kWoOKe','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','ID\x20relácie','21604ycHTrc','MCP\x20sa\x20pripája...','Kliknite\x20na\x20pripojenie\x20MCP'];_0x4368=function(){return _0x34a6be;};return _0x4368();}(function(_0x41b176,_0x5258cc){const _0x16a6d9=_0x41ea,_0x399cb9=_0x41b176();while(!![]){try{const _0x525b95=-parseInt(_0x16a6d9(0x9a))/0x1*(parseInt(_0x16a6d9(0xb1))/0x2)+-parseInt(_0x16a6d9(0xa3))/0x3*(parseInt(_0x16a6d9(0x9f))/0x4)+-parseInt(_0x16a6d9(0xa2))/0x5+parseInt(_0x16a6d9(0xb4))/0x6*(parseInt(_0x16a6d9(0xba))/0x7)+-parseInt(_0x16a6d9(0xc6))/0x8+-parseInt(_0x16a6d9(0x94))/0x9*(-parseInt(_0x16a6d9(0xb7))/0xa)+-parseInt(_0x16a6d9(0xbd))/0xb*(-parseInt(_0x16a6d9(0xaf))/0xc);if(_0x525b95===_0x5258cc)break;else _0x399cb9['push'](_0x399cb9['shift']());}catch(_0x375b0f){_0x399cb9['push'](_0x399cb9['shift']());}}}(_0x4368,0x5779c));const e={'mcpStatus':{'disconnected':_0x5b98d2(0xb9),'connecting':_0x5b98d2(0xbe),'connected':_0x5b98d2(0xae),'failed':'Pripojenie\x20MCP\x20zlyhalo','retrying':_0x5b98d2(0xad),'unknown':_0x5b98d2(0xc5),'unauthorized':_0x5b98d2(0xac),'sessionOccupied':_0x5b98d2(0x97),'networkError':_0x5b98d2(0x9d),'maxRetriesExceeded':_0x5b98d2(0xa4),'clickToConnect':_0x5b98d2(0xbf),'clickToConfigure':_0x5b98d2(0x9e)},'mcpConfig':{'title':'Konfigurácia\x20MCP','description':_0x5b98d2(0xc3),'apiKey':_0x5b98d2(0xa9),'apiKeyPlaceholder':_0x5b98d2(0xb3),'apiKeyHint':'Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','enableAuth':_0x5b98d2(0xa8),'enableAuthHint':_0x5b98d2(0x96),'connectionInfo':_0x5b98d2(0x9c),'mcpClientConfig':'Konfigurácia\x20klienta\x20MCP','configInstructions':_0x5b98d2(0xab),'configStepTitle':_0x5b98d2(0xa6),'configStep1':'Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','configStep2':_0x5b98d2(0xc7),'configStep3':_0x5b98d2(0xc0),'sessionId':_0x5b98d2(0xbc),'sessionIdDescription':_0x5b98d2(0xb5),'authorizationDescription':_0x5b98d2(0xb0),'configParameters':_0x5b98d2(0x98),'maxRetries':'Maximálny\x20počet\x20pokusov','save':'Uložiť\x20konfiguráciu','saving':_0x5b98d2(0xb8),'note1':_0x5b98d2(0x95),'note2':_0x5b98d2(0xc2),'configSaved':_0x5b98d2(0xaa),'configError':'Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','apiApplyInfo':{'title':'Čo\x20je\x20API\x20kľúč?','description':_0x5b98d2(0xb2),'univerAiLabel':_0x5b98d2(0xc4),'getStarted':'Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd'},'validation':{'apiKeyRequired':_0x5b98d2(0xa1),'apiKeyTooShort':'API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','invalidConfig':'Neplatná\x20konfigurácia','invalidApiKey':_0x5b98d2(0x9b)},'connectionStatus':{'disconnected':_0x5b98d2(0xa5),'connecting':'Pripája\x20sa...','connected':_0x5b98d2(0xc1),'failed':_0x5b98d2(0xb6),'retrying':_0x5b98d2(0x99)},'connectionError':{'unauthorized':'Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','sessionOccupied':_0x5b98d2(0xa0),'networkError':_0x5b98d2(0xbb),'maxRetriesExceeded':_0x5b98d2(0xa7)}}};export{e as default};
1
+ const _0x10cc93=_0x57c2;function _0x16d0(){const _0x18c322=['Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','623tPVCNl','MCP:\x20Sieťová\x20chyba','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','Povoliť\x20overenie','4735065OHCwHj','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','Zadajte\x20svoj\x20API\x20kľúč','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','Uložiť\x20konfiguráciu','MCP\x20pripojené','MCP\x20odpojené','4230916FFnKfH','MCP:\x20Neautorizované','Maximálny\x20počet\x20pokusov','748774BiSIsU','API\x20kľúč\x20je\x20povinný','954640ncJYJr','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','Pripája\x20sa...','51330dVeYnC','MCP:\x20Prekročený\x20počet\x20pokusov','4645680CQsIUz','Pripojené','API\x20kľúč','MCP:\x20ID\x20relácie\x20je\x20obsadené','Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','Čo\x20je\x20API\x20kľúč?','Neplatná\x20konfigurácia','Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','Konfigurácia\x20klienta\x20MCP','ID\x20relácie','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','Kliknite\x20na\x20pripojenie\x20MCP','Parametre\x20konfigurácie:','API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','4064739vjLTxG','Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','Konfigurácia\x20bola\x20úspešne\x20uložená','Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','Pripojenie\x20zlyhalo','Univer\x20AI\x20konzola','Pripojenie\x20MCP\x20zlyhalo','Odpojené','Skúša\x20sa\x20znova...','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami'];_0x16d0=function(){return _0x18c322;};return _0x16d0();}(function(_0x1cccf5,_0x5b3cbd){const _0x45e248=_0x57c2,_0x520b69=_0x1cccf5();while(!![]){try{const _0x5ef6c7=parseInt(_0x45e248(0xea))/0x1+-parseInt(_0x45e248(0xe8))/0x2+parseInt(_0x45e248(0xfd))/0x3+parseInt(_0x45e248(0xe5))/0x4+-parseInt(_0x45e248(0xdd))/0x5+-parseInt(_0x45e248(0xed))/0x6*(parseInt(_0x45e248(0xd9))/0x7)+-parseInt(_0x45e248(0xef))/0x8;if(_0x5ef6c7===_0x5b3cbd)break;else _0x520b69['push'](_0x520b69['shift']());}catch(_0x147108){_0x520b69['push'](_0x520b69['shift']());}}}(_0x16d0,0xabd21));const e={'mcpStatus':{'disconnected':_0x10cc93(0xe4),'connecting':'MCP\x20sa\x20pripája...','connected':_0x10cc93(0xe3),'failed':_0x10cc93(0xd4),'retrying':'MCP\x20opakuje\x20pokus...','unknown':'MCP\x20neznámy\x20stav','unauthorized':_0x10cc93(0xe6),'sessionOccupied':_0x10cc93(0xf2),'networkError':_0x10cc93(0xda),'maxRetriesExceeded':_0x10cc93(0xee),'clickToConnect':_0x10cc93(0xfa),'clickToConfigure':'Kliknite\x20na\x20konfiguráciu\x20MCP'},'mcpConfig':{'title':'Konfigurácia\x20MCP','description':_0x10cc93(0xd7),'apiKey':_0x10cc93(0xf1),'apiKeyPlaceholder':_0x10cc93(0xe0),'apiKeyHint':_0x10cc93(0xf3),'enableAuth':_0x10cc93(0xdc),'enableAuthHint':_0x10cc93(0xd8),'connectionInfo':_0x10cc93(0xf7),'mcpClientConfig':_0x10cc93(0xf7),'configInstructions':_0x10cc93(0xdb),'configStepTitle':'Kroky\x20konfigurácie:','configStep1':_0x10cc93(0xfe),'configStep2':'Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','configStep3':_0x10cc93(0xf6),'sessionId':_0x10cc93(0xf8),'sessionIdDescription':'Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','authorizationDescription':'API\x20kľúč\x20s\x20prefixom\x20Bearer.','configParameters':_0x10cc93(0xfb),'maxRetries':_0x10cc93(0xe7),'save':_0x10cc93(0xe2),'saving':'Ukladá\x20sa...','note1':'Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','note2':'Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','configSaved':_0x10cc93(0x100),'configError':_0x10cc93(0xd1),'apiApplyInfo':{'title':_0x10cc93(0xf4),'description':_0x10cc93(0xfc),'univerAiLabel':_0x10cc93(0xd3),'getStarted':_0x10cc93(0xe1)},'validation':{'apiKeyRequired':_0x10cc93(0xe9),'apiKeyTooShort':_0x10cc93(0xeb),'invalidConfig':_0x10cc93(0xf5),'invalidApiKey':_0x10cc93(0xdf)},'connectionStatus':{'disconnected':_0x10cc93(0xd5),'connecting':_0x10cc93(0xec),'connected':_0x10cc93(0xf0),'failed':_0x10cc93(0xd2),'retrying':_0x10cc93(0xd6)},'connectionError':{'unauthorized':'Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','sessionOccupied':_0x10cc93(0xf9),'networkError':_0x10cc93(0xde),'maxRetriesExceeded':_0x10cc93(0xff)}}};function _0x57c2(_0x4b2523,_0x3f2fb7){_0x4b2523=_0x4b2523-0xd1;const _0x16d005=_0x16d0();let _0x57c27a=_0x16d005[_0x4b2523];return _0x57c27a;}export{e as default};
@@ -1 +1 @@
1
- function _0x4673(){const _0x219dcd=['Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Đã\x20kết\x20nối','MCP\x20Kết\x20nối\x20thất\x20bại','Tham\x20số\x20cấu\x20hình:','Cấu\x20hình\x20máy\x20khách\x20MCP','MCP\x20Đã\x20kết\x20nối','2myWOXt','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','4172166jrCBQd','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','ID\x20phiên','Nhấp\x20để\x20cấu\x20hình\x20MCP','Đang\x20lưu...','728237CPzHYX','652MSvSUs','Nhập\x20khóa\x20API\x20của\x20bạn','Đã\x20ngắt\x20kết\x20nối','Đang\x20kết\x20nối...','408yuBCqg','2381448hDYBtc','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','610fdWoYy','Các\x20bước\x20cấu\x20hình:','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Khóa\x20API','1296219SQfwuz','Yêu\x20cầu\x20khóa\x20API','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','MCP\x20Đang\x20kết\x20nối...','8011810JDsHxn','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Bảng\x20điều\x20khiển\x20Univer\x20AI','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','MCP:\x20Không\x20được\x20phép','Bật\x20xác\x20thực','Cấu\x20hình\x20không\x20hợp\x20lệ','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','10493utHxNR','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','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Khóa\x20API\x20là\x20gì?','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Cấu\x20hình\x20MCP','Đang\x20thử\x20lại...'];_0x4673=function(){return _0x219dcd;};return _0x4673();}const _0x1555e8=_0x4834;(function(_0x5410d6,_0x5f336a){const _0x1f0778=_0x4834,_0x218350=_0x5410d6();while(!![]){try{const _0x28ab23=-parseInt(_0x1f0778(0x167))/0x1+parseInt(_0x1f0778(0x160))/0x2*(parseInt(_0x1f0778(0x175))/0x3)+-parseInt(_0x1f0778(0x168))/0x4*(parseInt(_0x1f0778(0x171))/0x5)+-parseInt(_0x1f0778(0x16d))/0x6+-parseInt(_0x1f0778(0x151))/0x7*(parseInt(_0x1f0778(0x16c))/0x8)+parseInt(_0x1f0778(0x162))/0x9+parseInt(_0x1f0778(0x179))/0xa;if(_0x28ab23===_0x5f336a)break;else _0x218350['push'](_0x218350['shift']());}catch(_0x3d8ed3){_0x218350['push'](_0x218350['shift']());}}}(_0x4673,0x740d4));const e={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':_0x1555e8(0x178),'connected':_0x1555e8(0x15f),'failed':_0x1555e8(0x15c),'retrying':'MCP\x20Đang\x20thử\x20lại...','unknown':_0x1555e8(0x17b),'unauthorized':_0x1555e8(0x14d),'sessionOccupied':'MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':_0x1555e8(0x150),'clickToConnect':'Nhấp\x20để\x20kết\x20nối\x20MCP','clickToConfigure':_0x1555e8(0x165)},'mcpConfig':{'title':_0x1555e8(0x158),'description':'Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','apiKey':_0x1555e8(0x174),'apiKeyPlaceholder':_0x1555e8(0x169),'apiKeyHint':_0x1555e8(0x17a),'enableAuth':_0x1555e8(0x14e),'enableAuthHint':_0x1555e8(0x170),'connectionInfo':_0x1555e8(0x15e),'mcpClientConfig':_0x1555e8(0x15e),'configInstructions':_0x1555e8(0x173),'configStepTitle':_0x1555e8(0x172),'configStep1':_0x1555e8(0x17c),'configStep2':_0x1555e8(0x16e),'configStep3':_0x1555e8(0x177),'sessionId':_0x1555e8(0x164),'sessionIdDescription':_0x1555e8(0x154),'authorizationDescription':_0x1555e8(0x157),'configParameters':_0x1555e8(0x15d),'maxRetries':_0x1555e8(0x153),'save':'Lưu\x20cấu\x20hình','saving':_0x1555e8(0x166),'note1':_0x1555e8(0x152),'note2':'Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','configSaved':_0x1555e8(0x163),'configError':'Lưu\x20cấu\x20hình\x20thất\x20bại','apiApplyInfo':{'title':_0x1555e8(0x156),'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':_0x1555e8(0x17d),'getStarted':_0x1555e8(0x14b)},'validation':{'apiKeyRequired':_0x1555e8(0x176),'apiKeyTooShort':_0x1555e8(0x16f),'invalidConfig':_0x1555e8(0x14f),'invalidApiKey':_0x1555e8(0x155)},'connectionStatus':{'disconnected':_0x1555e8(0x16a),'connecting':_0x1555e8(0x16b),'connected':_0x1555e8(0x15b),'failed':'Kết\x20nối\x20thất\x20bại','retrying':_0x1555e8(0x159)},'connectionError':{'unauthorized':'Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','sessionOccupied':_0x1555e8(0x15a),'networkError':_0x1555e8(0x161),'maxRetriesExceeded':_0x1555e8(0x14c)}}};function _0x4834(_0x126363,_0x5d3c80){_0x126363=_0x126363-0x14b;const _0x4673f3=_0x4673();let _0x4834e3=_0x4673f3[_0x126363];return _0x4834e3;}export{e as default};
1
+ const _0x1f47c0=_0x1715;function _0x2baa(){const _0x122f29=['Đang\x20thử\x20lại...','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Cấu\x20hình\x20MCP','MCP:\x20Lỗi\x20mạng','Khóa\x20API','Bảng\x20điều\x20khiển\x20Univer\x20AI','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','MCP\x20Kết\x20nối\x20thất\x20bại','Đang\x20lưu...','Khóa\x20API\x20là\x20gì?','971082bRRJdb','807324TmiLGE','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','449364jAyIUL','33tQflkw','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','1409755ndyoqU','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','MCP\x20Đang\x20thử\x20lại...','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Nhấp\x20để\x20cấu\x20hình\x20MCP','Cấu\x20hình\x20không\x20hợp\x20lệ','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Đã\x20kết\x20nối','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Bật\x20xác\x20thực','ID\x20phiên','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Tham\x20số\x20cấu\x20hình:','MCP:\x20Không\x20được\x20phép','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Các\x20bước\x20cấu\x20hình:','Nhập\x20khóa\x20API\x20của\x20bạn','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','4382rKAwKE','Lưu\x20cấu\x20hình\x20thất\x20bại','Yêu\x20cầu\x20khóa\x20API','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','357960iwKdkL','MCP\x20Đang\x20kết\x20nối...','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','Đang\x20kết\x20nối...','3709000FARGnz','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Cấu\x20hình\x20máy\x20khách\x20MCP','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Lưu\x20cấu\x20hình'];_0x2baa=function(){return _0x122f29;};return _0x2baa();}function _0x1715(_0x1b3ed5,_0x58bf84){_0x1b3ed5=_0x1b3ed5-0xed;const _0x2baa2e=_0x2baa();let _0x1715a3=_0x2baa2e[_0x1b3ed5];return _0x1715a3;}(function(_0x3b6a72,_0x36b0cc){const _0x2ed69a=_0x1715,_0x60218e=_0x3b6a72();while(!![]){try{const _0x1b342c=-parseInt(_0x2ed69a(0x111))/0x1*(-parseInt(_0x2ed69a(0xf4))/0x2)+-parseInt(_0x2ed69a(0x110))/0x3+parseInt(_0x2ed69a(0xf8))/0x4+-parseInt(_0x2ed69a(0x113))/0x5+-parseInt(_0x2ed69a(0x10d))/0x6+parseInt(_0x2ed69a(0x10e))/0x7+parseInt(_0x2ed69a(0xfc))/0x8;if(_0x1b342c===_0x36b0cc)break;else _0x60218e['push'](_0x60218e['shift']());}catch(_0x3f8705){_0x60218e['push'](_0x60218e['shift']());}}}(_0x2baa,0x23edc));const e={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':_0x1f47c0(0xf9),'connected':'MCP\x20Đã\x20kết\x20nối','failed':_0x1f47c0(0x10a),'retrying':_0x1f47c0(0x115),'unknown':_0x1f47c0(0xff),'unauthorized':_0x1f47c0(0xef),'sessionOccupied':_0x1f47c0(0x109),'networkError':_0x1f47c0(0x106),'maxRetriesExceeded':'MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','clickToConnect':'Nhấp\x20để\x20kết\x20nối\x20MCP','clickToConfigure':_0x1f47c0(0x117)},'mcpConfig':{'title':_0x1f47c0(0x105),'description':_0x1f47c0(0xf7),'apiKey':_0x1f47c0(0x107),'apiKeyPlaceholder':_0x1f47c0(0xf2),'apiKeyHint':_0x1f47c0(0x114),'enableAuth':_0x1f47c0(0x11c),'enableAuthHint':_0x1f47c0(0x103),'connectionInfo':_0x1f47c0(0xfe),'mcpClientConfig':'Cấu\x20hình\x20máy\x20khách\x20MCP','configInstructions':_0x1f47c0(0x104),'configStepTitle':_0x1f47c0(0xf1),'configStep1':'Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','configStep2':_0x1f47c0(0x11e),'configStep3':_0x1f47c0(0x10f),'sessionId':_0x1f47c0(0x11d),'sessionIdDescription':_0x1f47c0(0xfa),'authorizationDescription':_0x1f47c0(0x100),'configParameters':_0x1f47c0(0xee),'maxRetries':_0x1f47c0(0x116),'save':_0x1f47c0(0x101),'saving':_0x1f47c0(0x10b),'note1':_0x1f47c0(0xed),'note2':_0x1f47c0(0x112),'configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':_0x1f47c0(0xf5),'apiApplyInfo':{'title':_0x1f47c0(0x10c),'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':_0x1f47c0(0x108),'getStarted':'Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây'},'validation':{'apiKeyRequired':_0x1f47c0(0xf6),'apiKeyTooShort':_0x1f47c0(0x119),'invalidConfig':_0x1f47c0(0x118),'invalidApiKey':_0x1f47c0(0xf0)},'connectionStatus':{'disconnected':'Đã\x20ngắt\x20kết\x20nối','connecting':_0x1f47c0(0xfb),'connected':_0x1f47c0(0x11a),'failed':'Kết\x20nối\x20thất\x20bại','retrying':_0x1f47c0(0x102)},'connectionError':{'unauthorized':_0x1f47c0(0xf3),'sessionOccupied':_0x1f47c0(0xfd),'networkError':'Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','maxRetriesExceeded':_0x1f47c0(0x11b)}}};export{e as default};
@@ -1 +1 @@
1
- function _0x5b54(_0x141e50,_0x26335){_0x141e50=_0x141e50-0xbf;const _0x4a9e96=_0x4a9e();let _0x5b5471=_0x4a9e96[_0x141e50];return _0x5b5471;}const _0x1237ff=_0x5b54;function _0x4a9e(){const _0x4b881a=['几秒钟内获取您的\x20API\x20密钥','点击连接\x20MCP','启用身份验证','2429802CcyKTm','启用身份验证以获得安全连接','MCP\x20重连中...','50390vEcKFm','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20连接中...','超出最大重试次数,请稍后再试','复制以下\x20JSON\x20配置','您的\x20API\x20密钥安全存储在本地存储中','56IyOcvK','3457184rqUiIe','6ZpKREC','MCP\x20连接失败','12688360ejfeNa','点击配置\x20MCP','API\x20密钥长度至少需要\x2010\x20','MCP\x20配置','权限验证失败,请检查您的\x20API\x20密钥','带有\x20Bearer\x20前缀的\x20API\x20密钥。','连接中...','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCP:\x20网络错误','2202242aPfABQ','保存配置','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','API\x20密钥无效,请检查密钥是否正确','最大重试次数','连接失败','什么是\x20API\x20密钥?','MCP\x20客户端配置','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','配置更改将立即生效','6vKhvnD','未连接','MCP\x20已断开','MCP:\x20超出最大重试次数','345684KsvXrM','93251AlhUPX','已连接','配置参数:','MCP:\x20未授权'];_0x4a9e=function(){return _0x4b881a;};return _0x4a9e();}(function(_0x363855,_0x5afe93){const _0x2525d8=_0x5b54,_0x4bf510=_0x363855();while(!![]){try{const _0x4a1696=parseInt(_0x2525d8(0xce))/0x1*(-parseInt(_0x2525d8(0xe0))/0x2)+parseInt(_0x2525d8(0xcd))/0x3+parseInt(_0x2525d8(0xde))/0x4*(parseInt(_0x2525d8(0xd8))/0x5)+-parseInt(_0x2525d8(0xc9))/0x6*(parseInt(_0x2525d8(0xbf))/0x7)+-parseInt(_0x2525d8(0xdf))/0x8+-parseInt(_0x2525d8(0xd5))/0x9+parseInt(_0x2525d8(0xe2))/0xa;if(_0x4a1696===_0x5afe93)break;else _0x4bf510['push'](_0x4bf510['shift']());}catch(_0x28deca){_0x4bf510['push'](_0x4bf510['shift']());}}}(_0x4a9e,0x37d3f));const e={'mcpStatus':{'disconnected':_0x1237ff(0xcb),'connecting':_0x1237ff(0xda),'connected':'MCP\x20已连接','failed':_0x1237ff(0xe1),'retrying':_0x1237ff(0xd7),'unknown':'MCP\x20状态未知','unauthorized':_0x1237ff(0xd1),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x1237ff(0xea),'maxRetriesExceeded':_0x1237ff(0xcc),'clickToConnect':_0x1237ff(0xd3),'clickToConfigure':_0x1237ff(0xe3)},'mcpConfig':{'title':_0x1237ff(0xe5),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x1237ff(0xd4),'enableAuthHint':_0x1237ff(0xd6),'connectionInfo':_0x1237ff(0xc6),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x1237ff(0xe9),'configStepTitle':'配置步骤:','configStep1':_0x1237ff(0xdc),'configStep2':_0x1237ff(0xd9),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':'会话ID','sessionIdDescription':_0x1237ff(0xc1),'authorizationDescription':_0x1237ff(0xe7),'configParameters':_0x1237ff(0xd0),'maxRetries':_0x1237ff(0xc3),'save':_0x1237ff(0xc0),'saving':'保存中...','note1':_0x1237ff(0xc8),'note2':_0x1237ff(0xdd),'configSaved':'配置保存成功','configError':'配置保存失败','apiApplyInfo':{'title':_0x1237ff(0xc5),'description':_0x1237ff(0xc7),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x1237ff(0xd2)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x1237ff(0xe4),'invalidConfig':'配置无效','invalidApiKey':_0x1237ff(0xc2)},'connectionStatus':{'disconnected':_0x1237ff(0xca),'connecting':_0x1237ff(0xe8),'connected':_0x1237ff(0xcf),'failed':_0x1237ff(0xc4),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x1237ff(0xe6),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x1237ff(0xdb)}}};export{e as default};
1
+ function _0x3314(_0x818e13,_0x1f22b8){_0x818e13=_0x818e13-0x122;const _0x2e681d=_0x2e68();let _0x331438=_0x2e681d[_0x818e13];return _0x331438;}const _0x3568a7=_0x3314;function _0x2e68(){const _0x1e3569=['超出最大重试次数,请稍后再试','点击配置\x20MCP','重连中...','配置无效','API\x20密钥长度至少需要\x2010\x20位','MCP\x20状态未知','MCP:\x20超出最大重试次数','1189056jHKxnc','已连接','连接失败','API\x20密钥无效,请检查密钥是否正确','将配置添加到您的\x20MCP\x20客户端设置文件中','609504pZCLMo','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','复制以下\x20JSON\x20配置','保存配置','464438Axdwdv','您的\x20API\x20密钥安全存储在本地存储中','配置参数:','配置保存成功','会话ID','5193825GJVobI','点击连接\x20MCP','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP\x20客户端配置','权限验证失败,请检查您的\x20API\x20密钥','120310bhXRBU','网络连接错误,请检查您的网络连接','配置步骤:','MCP\x20已断开','MCP\x20连接失败','API\x20密钥不能为空','1081775cNWgwp','重启您的\x20MCP\x20客户端以使配置生效','您的\x20API\x20密钥将在此浏览器中本地存储','761404fvPuXo','API\x20密钥','MCP:\x20会话\x20ID\x20已被占用','几秒钟内获取您的\x20API\x20密钥','什么是\x20API\x20密钥?','将以下配置添加到您的\x20MCP\x20客户端设置中:','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','带有\x20Bearer\x20前缀的\x20API\x20密钥。','请输入您的\x20API\x20密钥','最大重试次数'];_0x2e68=function(){return _0x1e3569;};return _0x2e68();}(function(_0x26bab0,_0x5b622e){const _0x9dd040=_0x3314,_0x233af6=_0x26bab0();while(!![]){try{const _0x5aac0d=parseInt(_0x9dd040(0x143))/0x1+-parseInt(_0x9dd040(0x139))/0x2+-parseInt(_0x9dd040(0x135))/0x3+-parseInt(_0x9dd040(0x14c))/0x4+-parseInt(_0x9dd040(0x149))/0x5+parseInt(_0x9dd040(0x130))/0x6+parseInt(_0x9dd040(0x13e))/0x7;if(_0x5aac0d===_0x5b622e)break;else _0x233af6['push'](_0x233af6['shift']());}catch(_0x2c194f){_0x233af6['push'](_0x233af6['shift']());}}}(_0x2e68,0x35500));const e={'mcpStatus':{'disconnected':_0x3568a7(0x146),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x3568a7(0x147),'retrying':'MCP\x20重连中...','unknown':_0x3568a7(0x12e),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x3568a7(0x14e),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x3568a7(0x12f),'clickToConnect':_0x3568a7(0x13f),'clickToConfigure':_0x3568a7(0x12a)},'mcpConfig':{'title':'MCP\x20配置','description':_0x3568a7(0x140),'apiKey':_0x3568a7(0x14d),'apiKeyPlaceholder':_0x3568a7(0x127),'apiKeyHint':_0x3568a7(0x14b),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x3568a7(0x141),'mcpClientConfig':_0x3568a7(0x141),'configInstructions':_0x3568a7(0x124),'configStepTitle':_0x3568a7(0x145),'configStep1':_0x3568a7(0x137),'configStep2':_0x3568a7(0x134),'configStep3':_0x3568a7(0x14a),'sessionId':_0x3568a7(0x13d),'sessionIdDescription':_0x3568a7(0x136),'authorizationDescription':_0x3568a7(0x126),'configParameters':_0x3568a7(0x13b),'maxRetries':_0x3568a7(0x128),'save':_0x3568a7(0x138),'saving':'保存中...','note1':'配置更改将立即生效','note2':_0x3568a7(0x13a),'configSaved':_0x3568a7(0x13c),'configError':'配置保存失败','apiApplyInfo':{'title':_0x3568a7(0x123),'description':_0x3568a7(0x125),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x3568a7(0x122)},'validation':{'apiKeyRequired':_0x3568a7(0x148),'apiKeyTooShort':_0x3568a7(0x12d),'invalidConfig':_0x3568a7(0x12c),'invalidApiKey':_0x3568a7(0x133)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x3568a7(0x131),'failed':_0x3568a7(0x132),'retrying':_0x3568a7(0x12b)},'connectionError':{'unauthorized':_0x3568a7(0x142),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x3568a7(0x144),'maxRetriesExceeded':_0x3568a7(0x129)}}};export{e as default};
@@ -1 +1 @@
1
- const _0x3a8060=_0xd671;(function(_0x40bb67,_0x24c968){const _0x5b82d6=_0xd671,_0x252df5=_0x40bb67();while(!![]){try{const _0x56de24=parseInt(_0x5b82d6(0x1aa))/0x1*(-parseInt(_0x5b82d6(0x1b0))/0x2)+parseInt(_0x5b82d6(0x1c7))/0x3+-parseInt(_0x5b82d6(0x1b4))/0x4*(parseInt(_0x5b82d6(0x1cb))/0x5)+-parseInt(_0x5b82d6(0x1a7))/0x6*(-parseInt(_0x5b82d6(0x1a4))/0x7)+parseInt(_0x5b82d6(0x1ca))/0x8+parseInt(_0x5b82d6(0x1ab))/0x9+-parseInt(_0x5b82d6(0x1d1))/0xa;if(_0x56de24===_0x24c968)break;else _0x252df5['push'](_0x252df5['shift']());}catch(_0x1b4b6c){_0x252df5['push'](_0x252df5['shift']());}}}(_0x534d,0x236d5));const e={'mcpStatus':{'disconnected':_0x3a8060(0x1b9),'connecting':_0x3a8060(0x1bf),'connected':_0x3a8060(0x1cc),'failed':_0x3a8060(0x1af),'retrying':_0x3a8060(0x1c2),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x3a8060(0x1a9),'sessionOccupied':_0x3a8060(0x1ba),'networkError':_0x3a8060(0x1bc),'maxRetriesExceeded':_0x3a8060(0x1ad),'clickToConnect':_0x3a8060(0x1a3),'clickToConfigure':_0x3a8060(0x1c4)},'mcpConfig':{'title':_0x3a8060(0x1b8),'description':_0x3a8060(0x1b6),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x3a8060(0x1b3),'apiKeyHint':_0x3a8060(0x1a8),'enableAuth':_0x3a8060(0x1b2),'enableAuthHint':_0x3a8060(0x1b5),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x3a8060(0x1bb),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x3a8060(0x1be),'configStep3':_0x3a8060(0x1b1),'sessionId':_0x3a8060(0x1a5),'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':_0x3a8060(0x1c8),'maxRetries':'Max\x20Retries','save':_0x3a8060(0x1c3),'saving':_0x3a8060(0x1ac),'note1':_0x3a8060(0x1c1),'note2':_0x3a8060(0x1a2),'configSaved':_0x3a8060(0x1b7),'configError':_0x3a8060(0x1ae),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x3a8060(0x1c9),'univerAiLabel':_0x3a8060(0x1c0),'getStarted':_0x3a8060(0x1c6)},'validation':{'apiKeyRequired':_0x3a8060(0x1d2),'apiKeyTooShort':_0x3a8060(0x1cd),'invalidConfig':_0x3a8060(0x1d0),'invalidApiKey':_0x3a8060(0x1bd)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':'Connected','failed':_0x3a8060(0x1c5),'retrying':_0x3a8060(0x1cf)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x3a8060(0x1ce),'networkError':_0x3a8060(0x1a6),'maxRetriesExceeded':_0x3a8060(0x1d3)}}};function _0x534d(){const _0x4bf595=['Configuration\x20saved\x20successfully','MCP\x20Configuration','MCP\x20Disconnected','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Steps:','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connecting...','Univer\x20AI\x20Console','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Retrying...','Save\x20Configuration','Click\x20to\x20configure\x20MCP','Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','373512lSQvUu','Configuration\x20Parameters:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','1690360wOqzfR','135065ltelTu','MCP\x20Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Retrying...','Invalid\x20configuration','3859210aTbPsW','API\x20key\x20is\x20required','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Click\x20to\x20connect\x20MCP','607901wRkxwK','Session\x20ID','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','18RLKGOm','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Unauthorized','1PTypTM','2293731jlXyMC','Saving...','MCP:\x20Max\x20Retries\x20Exceeded','Failed\x20to\x20save\x20configuration','MCP\x20Connection\x20Failed','100054KKxZWW','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20Authentication','Enter\x20your\x20API\x20key','40UJGwBF','Enable\x20authentication\x20for\x20secure\x20connections','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets'];_0x534d=function(){return _0x4bf595;};return _0x534d();}function _0xd671(_0x23375d,_0x5487b2){_0x23375d=_0x23375d-0x1a2;const _0x534d1a=_0x534d();let _0xd67122=_0x534d1a[_0x23375d];return _0xd67122;}export{e as default};
1
+ function _0x30e3(_0x9e7519,_0x3bc82c){_0x9e7519=_0x9e7519-0x186;const _0x1161fe=_0x1161();let _0x30e3ab=_0x1161fe[_0x9e7519];return _0x30e3ab;}(function(_0x251b2c,_0x2425ed){const _0x5a202c=_0x30e3,_0x2b9955=_0x251b2c();while(!![]){try{const _0x2d5c6f=parseInt(_0x5a202c(0x18d))/0x1+-parseInt(_0x5a202c(0x189))/0x2+-parseInt(_0x5a202c(0x18e))/0x3*(parseInt(_0x5a202c(0x186))/0x4)+parseInt(_0x5a202c(0x188))/0x5*(-parseInt(_0x5a202c(0x187))/0x6)+parseInt(_0x5a202c(0x18b))/0x7+-parseInt(_0x5a202c(0x18c))/0x8+-parseInt(_0x5a202c(0x18a))/0x9;if(_0x2d5c6f===_0x2425ed)break;else _0x2b9955['push'](_0x2b9955['shift']());}catch(_0x39886e){_0x2b9955['push'](_0x2b9955['shift']());}}}(_0x1161,0x9d46d));import _0x4efa63 from'./en-US.js';const t=_0x4efa63;export{t as default};function _0x1161(){const _0x240a8f=['347376uHSsYa','665217vraMAF','7591143ASitZw','6412976PGCqYx','867417utDlQF','9381oPWxoM','128pYVRUQ','12VJZwbX','395935PXjejo'];_0x1161=function(){return _0x240a8f;};return _0x1161();}
@@ -29,4 +29,4 @@ export interface IMCPConfigProps {
29
29
  * - API Key input and management
30
30
  * - Connection settings display
31
31
  */
32
- export declare function MCPConfigPanel(props: Readonly<IMCPConfigProps>): import("react/jsx-runtime").JSX.Element;
32
+ export declare function MCPConfigPanel(props: Readonly<IMCPConfigProps>): import("react").JSX.Element;
@@ -15,4 +15,4 @@ export interface IMCPStatusProps {
15
15
  *
16
16
  * Shows the current MCP connection status to users with appropriate icons and tooltips
17
17
  */
18
- export declare function MCPStatusDisplay(props: Readonly<IMCPStatusProps>): import("react/jsx-runtime").JSX.Element;
18
+ export declare function MCPStatusDisplay(props: Readonly<IMCPStatusProps>): import("react").JSX.Element;
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x39e4(_0x4cf459,_0x207ab8){_0x4cf459=_0x4cf459-0x13c;const _0x58d465=_0x58d4();let _0x39e4e0=_0x58d465[_0x4cf459];return _0x39e4e0;}function _0x58d4(){const _0x4fa097=['@univerjs/core','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','value','OpenMCPConfigPanelCommand','0\x200\x2017\x2016','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_messageService','_initStatusComponent','showStatus','Univer\x20AI\x20Console','colorChannel1','translate(.97)','CONNECTED','RETRYING','https://console.univer.ai','MCP\x20连接中...','mcpConfig.configSaved','mcpConfig.connectionError.networkError','Configuration\x20Steps:','_commandService','mcpConfig.apiKeyPlaceholder','entries','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_createConfigPanelComponent','__setCustomHeaders','iterator','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','ComponentManager','connectInjector','UniverMCPPlugin','off','MCP\x20配置','MCPConnectionUIController','univer-text-white','@univerjs/design','errorMessage','substring','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','MCP\x20客户端配置','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','mcpConfig.title','MCP\x20重连中...','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','isValid','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','disposeWithMe','<SESSION_ID>','OffLineIcon','mcpConfig.configInstructions','mcpStatus.clickToConnect','DISCONNECTED','_config','UniverNetwork','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','Error','react','univer_session_id:','配置保存成功','map','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.connectionStatus.failed','univer-text-green-500','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','help-icon','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','MAX_RETRIES_EXCEEDED','mcpConfig.connectionError.sessionOccupied','mcp-config-dialog','forwardRef','CloseIcon','MCP:\x20网络错误','<API_KEY>','registerComponent','replace','round','object','univer-font-medium','_configService','IDialogService','mcpConfig.connectionInfo','mcpConfig.configStep3','What\x20is\x20API\x20Key?','jsxs','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','close','open','_handleConfigSave','mcpConfig.validation.apiKeyRequired','LocaleService','SESSION_ID_OCCUPIED','trim','random','API\x20密钥无效,请检查密钥是否正确','subscribe','超出最大重试次数,请稍后再试','启用身份验证','fill','mcpConfig.connectionStatus.connected','会话\x20ID\x20已被占用,请稍后再试','Univer\x20AI\x20控制台','mcpConfig.connectionStatus.retrying','启用身份验证以获得安全连接','off-line-icon_clip0_910_343','Copy\x20the\x20JSON\x20configuration\x20below','merge','mcpStatus.disconnected','_validateConfig','已连接','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','exports','mcp-ui.command.openConfigPanel','MCP\x20Client\x20Configuration','Enter\x20your\x20API\x20key','xlink:href','_loadStoredApiKey','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','配置保存失败','mcpConfig.connectionStatus.connecting','API\x20密钥','4dGlPmI','WebSocketService','mcpConfig.apiKeyHint','univer-bg-gray-500','useRef','15719052npkBER','on-line-icon_clip0_910_349','Plugin','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','error','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','on-line-icon','mcpConfig.connectionStatus.disconnected','http','univer-flex\x20univer-items-center','svg','1694247uwblIA','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpConfig.configError','mcpServerUrl','univer-flex\x20univer-items-start\x20univer-gap-3','什么是\x20API\x20密钥?','几秒钟内获取您的\x20API\x20密钥','MCP\x20Unknown\x20Status','mcpConfig.configStep2','getConfig','useCallback','M0\x200H16V16H0z','_mcpCoreConfig$','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-space-y-2','Module','MCP:\x20Max\x20Retries\x20Exceeded','univer-space-y-5','MCP:\x20超出最大重试次数','Injector','mcpStatus.maxRetriesExceeded','_blank','mergeMenu','registerCommand','function','default','check-mark-icon','currentColor','点击连接\x20MCP','idSuffix','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','1528RUekAJ','MenuItemType','BehaviorSubject','最大重试次数','_injector','Connected','univer-min-w-0\x20univer-flex-1','displayName','mcpStatus.connecting','path','配置步骤:','mcpConfig.authorizationDescription','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','Enable\x20Authentication','\x20-\x20','@univerjs-pro/mcp-ui','配置无效','MCP:\x20未授权','MCP_PLUGIN_CONFIG_KEY','UniverUi','API\x20key\x20is\x20required','322541ZElylf','MCP\x20Connected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Session\x20ID','FAILED','useState','会话ID','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','span','sessionId$','url(#off-line-icon_clip0_910_343)','mcpConfig.apiKey','点击配置\x20MCP','mcpStatus.sessionOccupied','mcpConfig.configStepTitle','MCP\x20已连接','attrs','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','get','rxjs','IConfigService','BuiltInUIPart','未连接','connectionStatus$','univer-text-red-500','noopener\x20noreferrer','CommandType','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','_connectionController','removeItem','_componentManager','clsx','https://mcp.univer.ai/mcp/?univer_session_id=','constructor','Max\x20Retries','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','mask','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','string','univer-text-xs\x20univer-text-gray-500','has','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','showConfigPanel','mcpConfig.save','mcpConfig.note1','mcpStatus.failed','9631762BfiLYl','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','连接中...','label','none','zhCN','MenuIcon','MCPConfigUIController','配置更改将立即生效','connectionError$','univer-size-4','Saving...','https://console.univer.plus','1em','bottom','MCP:\x20会话\x20ID\x20已被占用','univer-flex\x20univer-items-center\x20univer-gap-2','_menuManagerService','MCPConnectionStatus','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','mcp-ui.config','univer-flex\x20univer-items-center\x20univer-gap-3','clipPath','MCP\x20连接失败','subscribeConfigValue$','ILogService','mcpConfig.configStep1','Get\x20your\x20API\x20key\x20in\x20seconds','http://www.w3.org/2000/svg','UNAUTHORIZED','includes','url(#$1','_localeService','MessageType','createElement','useDependency','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univerjs-icon\x20univerjs-icon-','Disconnected','权限验证失败,请检查您的\x20API\x20密钥','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','32742tJgvnQ','MCPConnectionError','mcpStatus.connected','_initializeCommands','ICommandService','tag','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','_apiKey$','show','_config$','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','DependentOn','MCPConfigPanel','next','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','_uiPartsService','HEADER_MENU','mcpConfig.sessionIdDescription','Disposable','_logService','stringify','保存配置','MCP\x20Connecting...','Inject','MCP:\x20Unauthorized','MCPConnectionController','decorate','Click\x20to\x20connect\x20MCP','NETWORK_ERROR','length','register','1465nTLMsu','重启您的\x20MCP\x20客户端以使配置生效','保存中...','MCP\x20Disconnected','_initAutoConnect','div','_initializeMenus','NONE','配置参数:','ISocketService','MCP\x20Connection\x20Failed','0\x200\x2016\x2016','React','_mcpConnectionController','amd','white','Invalid\x20configuration','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP_UI_PLUGIN','close-icon','mcpStatus.unauthorized','mcpStatus.clickToConfigure','Connection\x20Failed','defineProperty','univer-flex-1','assign','univer.ai','_registerComponent','univer-text-yellow-500','button','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','mcpConfig.validation.apiKeyTooShort','OTHERS','Tooltip','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key','UniverCore','mcpConfig.validation.invalidApiKey','0.25.1','univer-space-y-3','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-bg-green-500','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','evenodd','HelpIcon','UniverIcon','MCP:\x20Network\x20Error','mcpStatus.unknown','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-bg-red-500','apiKey','mcpConfig.note2','showDeveloperTools','mcpConfig.apiApplyInfo.title','mcpConfig.connectionError.unauthorized','_loading$','univer-space-y-4','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Button','IUIPartsService','API\x20key\x20with\x20Bearer\x20prefix.','_dialogService','4aGOHWt','univer-text-sm\x20univer-text-gray-500','packageName','CONNECTING','getCurrentConfig','COMMAND','Success','mcpConfig.saving','children','symbol','text','82590xySqGO','univer-shrink-0\x20univer-text-red-500','MCP\x20状态未知','Enable\x20authentication\x20for\x20secure\x20connections','add','@univerjs/ui','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','univer-text-gray-400','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','OnLineIcon','Configuration\x20Notes:','univer-text-gray-500','univer-flex\x20univer-items-start\x20univer-gap-2','univer-shrink-0\x20univer-text-blue-500','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Bearer\x20','_initConfigSync','复制以下\x20JSON\x20配置','_localStorageService','@univerjs-pro/mcp','useObservable','forEach','MCP\x20已断开','20274UuYmkk','defs','jsx','MCP\x20Retrying...','451uoDEnX','use','API\x20密钥长度至少需要\x2010\x20位','BUTTON'];_0x58d4=function(){return _0x4fa097;};return _0x58d4();}(function(_0x1da4e4,_0x517488){const _0x3023d8=_0x39e4,_0x32c539=_0x1da4e4();while(!![]){try{const _0x25066b=-parseInt(_0x3023d8(0x20a))/0x1*(parseInt(_0x3023d8(0x1c6))/0x2)+parseInt(_0x3023d8(0x1d6))/0x3*(-parseInt(_0x3023d8(0x2c2))/0x4)+parseInt(_0x3023d8(0x282))/0x5*(parseInt(_0x3023d8(0x146))/0x6)+-parseInt(_0x3023d8(0x238))/0x7+-parseInt(_0x3023d8(0x1f5))/0x8*(-parseInt(_0x3023d8(0x261))/0x9)+parseInt(_0x3023d8(0x2cd))/0xa*(parseInt(_0x3023d8(0x14a))/0xb)+parseInt(_0x3023d8(0x1cb))/0xc;if(_0x25066b===_0x517488)break;else _0x32c539['push'](_0x32c539['shift']());}catch(_0x5f25fa){_0x32c539['push'](_0x32c539['shift']());}}}(_0x58d4,0xb6880),function(_0x395b40,_0x379d7b){const _0x3658da=_0x39e4;typeof exports==_0x3658da(0x199)&&typeof module<'u'?_0x379d7b(exports,require('@univerjs/core'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('react/jsx-runtime'),require('@univerjs/network')):typeof define==_0x3658da(0x1ee)&&define[_0x3658da(0x290)]?define([_0x3658da(0x1bb),_0x3658da(0x14e),_0x3658da(0x142),_0x3658da(0x170),_0x3658da(0x2d2),_0x3658da(0x21d),_0x3658da(0x185),'react/jsx-runtime','@univerjs/network'],_0x379d7b):(_0x395b40=typeof globalThis<'u'?globalThis:_0x395b40||self,_0x379d7b(_0x395b40['UniverProMcpUi']={},_0x395b40[_0x3658da(0x2a6)],_0x395b40['UniverProMcp'],_0x395b40['UniverDesign'],_0x395b40[_0x3658da(0x208)],_0x395b40['rxjs'],_0x395b40[_0x3658da(0x28e)],_0x395b40[_0x3658da(0x28e)],_0x395b40[_0x3658da(0x182)]));}(this,function(_0x5ca7ab,_0x2d885c,_0x9761bf,_0x46debc,_0x27d17d,_0x588c49,_0x551a8a,_0x141089,_0x185819){const _0x7e5a6c=_0x39e4;Object[_0x7e5a6c(0x299)](_0x5ca7ab,Symbol['toStringTag'],{'value':_0x7e5a6c(0x1e5)});function _0xf2e0ca({ref:_0x5d3b1b,..._0x5c22b3}){const _0x51a885=_0x7e5a6c;let {icon:_0x378aaa,id:_0xecd003,className:_0x5d5138,extend:_0x430c8f,..._0x380f1d}=_0x5c22b3,_0x1e91c7=(_0x51a885(0x25d)+_0xecd003+'\x20'+(_0x5d5138||''))[_0x51a885(0x1a8)](),_0x286043=(0x0,_0x551a8a[_0x51a885(0x1ca)])('_'+_0xbccbfc());return _0x30ec53(_0x378aaa,''+_0xecd003,{'defIds':_0x378aaa['defIds'],'idSuffix':_0x286043['current']},{'ref':_0x5d3b1b,'className':_0x1e91c7,..._0x380f1d},_0x430c8f);}function _0x30ec53(_0x5a38f,_0x20fba7,_0x233931,_0x5e239e,_0x1760fe){const _0x133f52=_0x7e5a6c;return(0x0,_0x551a8a[_0x133f52(0x25a)])(_0x5a38f[_0x133f52(0x266)],{'key':_0x20fba7,..._0x28d24c(_0x5a38f,_0x233931,_0x1760fe),..._0x5e239e},(_0x20f9b1(_0x5a38f,_0x233931)[_0x133f52(0x2ca)]||[])[_0x133f52(0x188)]((_0x5c7273,_0x24bf09)=>_0x30ec53(_0x5c7273,_0x20fba7+'-'+_0x5a38f[_0x133f52(0x266)]+'-'+_0x24bf09,_0x233931,void 0x0,_0x1760fe)));}function _0x28d24c(_0x4efb5d,_0x245429,_0x180d57){const _0x4fdde8=_0x7e5a6c;let _0xe85f14={..._0x4efb5d['attrs']};_0x180d57!=null&&_0x180d57[_0x4fdde8(0x158)]&&_0xe85f14[_0x4fdde8(0x1ae)]===_0x4fdde8(0x158)&&(_0xe85f14[_0x4fdde8(0x1ae)]=_0x180d57[_0x4fdde8(0x158)]),_0x4efb5d[_0x4fdde8(0x266)]===_0x4fdde8(0x22e)&&_0xe85f14['id']&&(_0xe85f14['id']+=_0x245429[_0x4fdde8(0x1f3)]),Object[_0x4fdde8(0x163)](_0xe85f14)['forEach'](([_0x2a8000,_0x428e88])=>{const _0x269368=_0x4fdde8;_0x2a8000===_0x269368(0x22e)&&typeof _0x428e88==_0x269368(0x230)&&(_0xe85f14[_0x2a8000]=_0x428e88[_0x269368(0x197)](/url\(#(.*)\)/,_0x269368(0x257)+_0x245429[_0x269368(0x1f3)]+')'));});let {defIds:_0x337069}=_0x245429;return!_0x337069||_0x337069['length']===0x0?_0xe85f14:(_0x4efb5d[_0x4fdde8(0x266)]===_0x4fdde8(0x14b)&&_0xe85f14[_0x4fdde8(0x1bf)]&&(_0xe85f14[_0x4fdde8(0x1bf)]+=_0x245429[_0x4fdde8(0x1f3)]),Object['entries'](_0xe85f14)[_0x4fdde8(0x144)](([_0x226871,_0x565c16])=>{const _0x1a26af=_0x4fdde8;typeof _0x565c16==_0x1a26af(0x230)&&(_0xe85f14[_0x226871]=_0x565c16[_0x1a26af(0x197)](/url\(#(.*)\)/,_0x1a26af(0x257)+_0x245429[_0x1a26af(0x1f3)]+')'));}),_0xe85f14);}function _0x20f9b1(_0xe8f890,_0x3250cb){const _0x2a46bc=_0x7e5a6c;var _0x45d7a3;let {defIds:_0x3cee83}=_0x3250cb;return!_0x3cee83||_0x3cee83['length']===0x0?_0xe8f890:_0xe8f890[_0x2a46bc(0x266)]===_0x2a46bc(0x147)&&(_0x45d7a3=_0xe8f890[_0x2a46bc(0x2ca)])!=null&&_0x45d7a3['length']?{..._0xe8f890,'children':_0xe8f890[_0x2a46bc(0x2ca)][_0x2a46bc(0x188)](_0xf0b707=>typeof _0xf0b707[_0x2a46bc(0x21a)]['id']==_0x2a46bc(0x230)&&_0x3cee83&&_0x3cee83[_0x2a46bc(0x256)](_0xf0b707[_0x2a46bc(0x21a)]['id'])?{..._0xf0b707,'attrs':{..._0xf0b707[_0x2a46bc(0x21a)],'id':_0xf0b707[_0x2a46bc(0x21a)]['id']+_0x3250cb['idSuffix']}}:_0xf0b707)}:_0xe8f890;}function _0xbccbfc(){const _0x570166=_0x7e5a6c;return Math[_0x570166(0x1a9)]()['toString'](0x24)[_0x570166(0x172)](0x2,0x8);}_0xf2e0ca[_0x7e5a6c(0x1fc)]=_0x7e5a6c(0x2b0);let _0x2b36a9={'tag':'svg','attrs':{'xmlns':_0x7e5a6c(0x254),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x7e5a6c(0x245),'height':_0x7e5a6c(0x245)},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':'currentColor','d':_0x7e5a6c(0x225),'fillRule':_0x7e5a6c(0x2ae),'clipRule':'evenodd'}}]},_0x374b6f=(0x0,_0x551a8a[_0x7e5a6c(0x192)])(function(_0x3a717c,_0x197b47){const _0x39eef6=_0x7e5a6c;return(0x0,_0x551a8a[_0x39eef6(0x25a)])(_0xf2e0ca,Object[_0x39eef6(0x29b)]({},_0x3a717c,{'id':_0x39eef6(0x1f0),'ref':_0x197b47,'icon':_0x2b36a9}));});_0x374b6f[_0x7e5a6c(0x1fc)]='CheckMarkIcon';let _0x3d1e70={'tag':_0x7e5a6c(0x1d5),'attrs':{'xmlns':_0x7e5a6c(0x254),'fill':_0x7e5a6c(0x23c),'viewBox':_0x7e5a6c(0x28d),'width':_0x7e5a6c(0x245),'height':'1em'},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':_0x7e5a6c(0x1f1),'d':_0x7e5a6c(0x1f4)}}]},_0x5192af=(0x0,_0x551a8a['forwardRef'])(function(_0x4b931b,_0x38916d){const _0x36043f=_0x7e5a6c;return(0x0,_0x551a8a['createElement'])(_0xf2e0ca,Object['assign']({},_0x4b931b,{'id':_0x36043f(0x295),'ref':_0x38916d,'icon':_0x3d1e70}));});_0x5192af[_0x7e5a6c(0x1fc)]=_0x7e5a6c(0x193);let _0xb96e33={'tag':_0x7e5a6c(0x1d5),'attrs':{'xmlns':_0x7e5a6c(0x254),'fill':_0x7e5a6c(0x23c),'viewBox':_0x7e5a6c(0x28d),'width':_0x7e5a6c(0x245),'height':_0x7e5a6c(0x245)},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':'currentColor','d':_0x7e5a6c(0x201)}},{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':_0x7e5a6c(0x1f1),'d':_0x7e5a6c(0x26c)}},{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':'currentColor','d':_0x7e5a6c(0x2d3),'fillRule':_0x7e5a6c(0x2ae),'clipRule':_0x7e5a6c(0x2ae)}}]},_0x3aa0f0=(0x0,_0x551a8a[_0x7e5a6c(0x192)])(function(_0x127853,_0x85e53c){const _0x12cbdc=_0x7e5a6c;return(0x0,_0x551a8a[_0x12cbdc(0x25a)])(_0xf2e0ca,Object[_0x12cbdc(0x29b)]({},_0x127853,{'id':_0x12cbdc(0x18d),'ref':_0x85e53c,'icon':_0xb96e33}));});_0x3aa0f0['displayName']=_0x7e5a6c(0x2af);let _0x109b87={'tag':_0x7e5a6c(0x1d5),'attrs':{'xmlns':_0x7e5a6c(0x254),'fill':_0x7e5a6c(0x23c),'viewBox':_0x7e5a6c(0x28d),'width':_0x7e5a6c(0x245),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x7e5a6c(0x214)},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'stroke':_0x7e5a6c(0x1f1),'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':_0x7e5a6c(0x198),'strokeLinejoin':_0x7e5a6c(0x198),'strokeWidth':1.2}}]},{'tag':_0x7e5a6c(0x147),'attrs':{},'children':[{'tag':_0x7e5a6c(0x24e),'attrs':{'id':_0x7e5a6c(0x1b4)},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':_0x7e5a6c(0x291),'d':_0x7e5a6c(0x1e1)}}]}]}],'defIds':[_0x7e5a6c(0x1b4)]},_0x5ae4be=(0x0,_0x551a8a[_0x7e5a6c(0x192)])(function(_0x677f6b,_0xd94393){const _0x1ac8bc=_0x7e5a6c;return(0x0,_0x551a8a[_0x1ac8bc(0x25a)])(_0xf2e0ca,Object[_0x1ac8bc(0x29b)]({},_0x677f6b,{'id':'off-line-icon','ref':_0xd94393,'icon':_0x109b87}));});_0x5ae4be[_0x7e5a6c(0x1fc)]=_0x7e5a6c(0x17d);let _0x5d80bf={'tag':_0x7e5a6c(0x1d5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7e5a6c(0x23c),'viewBox':_0x7e5a6c(0x152),'width':'1em','height':_0x7e5a6c(0x245)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'stroke':_0x7e5a6c(0x1f1),'d':_0x7e5a6c(0x14f),'strokeLinecap':_0x7e5a6c(0x198),'strokeLinejoin':_0x7e5a6c(0x198),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x7e5a6c(0x24e),'attrs':{'id':_0x7e5a6c(0x1cc)},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':_0x7e5a6c(0x291),'d':_0x7e5a6c(0x1e1),'transform':_0x7e5a6c(0x159)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x3a00d5=(0x0,_0x551a8a[_0x7e5a6c(0x192)])(function(_0xb0ac76,_0xbb596f){const _0x1dfbb5=_0x7e5a6c;return(0x0,_0x551a8a[_0x1dfbb5(0x25a)])(_0xf2e0ca,Object['assign']({},_0xb0ac76,{'id':_0x1dfbb5(0x1d1),'ref':_0xbb596f,'icon':_0x5d80bf}));});_0x3a00d5['displayName']=_0x7e5a6c(0x2d6);function _0x358888(_0x348e69){const _0x2bc7ef=_0x7e5a6c;var _0x1e1d87,_0x1979ed;let {mcpCoreConfig:_0x395e3b,onSave:_0x28615a,loading:_0x7c339d=!0x1,config:_0x505be5,connectionStatus$:_0x2768bb,connectionError$:_0x5d86f1,currentApiKey$:_0xf7a602,currentSessionId$:_0x4b6479}=_0x348e69,_0x2c0e10=(0x0,_0x27d17d['useDependency'])(_0x2d885c['LocaleService']),_0x9a3744=(0x0,_0x27d17d[_0x2bc7ef(0x143)])(_0x2768bb,_0x9761bf[_0x2bc7ef(0x24a)]['DISCONNECTED']),_0x4e2a47=(0x0,_0x27d17d[_0x2bc7ef(0x143)])(_0x5d86f1,_0x9761bf[_0x2bc7ef(0x262)][_0x2bc7ef(0x289)]),_0x119aef=(0x0,_0x27d17d[_0x2bc7ef(0x143)])(_0x4b6479,''),[_0x4d71df,_0x5cb384]=(0x0,_0x551a8a[_0x2bc7ef(0x20f)])((0x0,_0x27d17d[_0x2bc7ef(0x143)])(_0xf7a602,'')||''),_0x1d0fb5=_0x505be5['showDeveloperTools']&&_0x395e3b['mcpServerUrl']&&(_0x395e3b[_0x2bc7ef(0x1d9)][_0x2bc7ef(0x256)]('univer.plus')||_0x395e3b[_0x2bc7ef(0x1d9)]['includes'](_0x2bc7ef(0x29c))),_0x5e1f67=(_0x1e1d87=_0x395e3b[_0x2bc7ef(0x1d9)])==null?void 0x0:_0x1e1d87[_0x2bc7ef(0x256)]('univer.plus'),_0x13f462=(_0x1979ed=_0x395e3b[_0x2bc7ef(0x1d9)])==null?void 0x0:_0x1979ed[_0x2bc7ef(0x256)](_0x2bc7ef(0x29c)),_0xe856da=_0x5e1f67?_0x2bc7ef(0x244):_0x2bc7ef(0x15c),_0x2758f9=_0x505be5[_0x2bc7ef(0x2b7)]&&(_0x5e1f67||_0x13f462),[_0x2d0609,_0x45ef4e]=(0x0,_0x551a8a['useState'])(!_0x4d71df[_0x2bc7ef(0x1a8)]()),_0x248654=(_0xd05778,_0x3e7582)=>{const _0x5e3f00=_0x2bc7ef;if(_0x3e7582===_0x9761bf[_0x5e3f00(0x262)][_0x5e3f00(0x255)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0xd05778){case _0x9761bf[_0x5e3f00(0x24a)][_0x5e3f00(0x15a)]:return _0x5e3f00(0x2aa);case _0x9761bf['MCPConnectionStatus'][_0x5e3f00(0x2c5)]:case _0x9761bf[_0x5e3f00(0x24a)]['RETRYING']:return _0x5e3f00(0x25c);case _0x9761bf[_0x5e3f00(0x24a)][_0x5e3f00(0x20e)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x5e3f00(0x173);}},_0x3df797=(_0x31f6c6,_0x5da211)=>{const _0x8bcea1=_0x2bc7ef;if(_0x5da211===_0x9761bf[_0x8bcea1(0x262)][_0x8bcea1(0x255)])return _0x8bcea1(0x2b4);switch(_0x31f6c6){case _0x9761bf['MCPConnectionStatus'][_0x8bcea1(0x15a)]:return _0x8bcea1(0x2ab);case _0x9761bf[_0x8bcea1(0x24a)]['CONNECTING']:case _0x9761bf['MCPConnectionStatus'][_0x8bcea1(0x15b)]:return'univer-bg-blue-500';case _0x9761bf[_0x8bcea1(0x24a)][_0x8bcea1(0x20e)]:return _0x8bcea1(0x2b4);default:return _0x8bcea1(0x1c9);}},_0x2e5cb9=_0x42d1ac=>{const _0x1db611=_0x2bc7ef;switch(_0x42d1ac){case _0x9761bf[_0x1db611(0x24a)][_0x1db611(0x15a)]:return _0x2c0e10['t'](_0x1db611(0x1af));case _0x9761bf[_0x1db611(0x24a)][_0x1db611(0x2c5)]:return _0x2c0e10['t'](_0x1db611(0x1c4));case _0x9761bf['MCPConnectionStatus'][_0x1db611(0x20e)]:return _0x2c0e10['t'](_0x1db611(0x18a));case _0x9761bf['MCPConnectionStatus'][_0x1db611(0x15b)]:return _0x2c0e10['t'](_0x1db611(0x1b2));default:return _0x2c0e10['t'](_0x1db611(0x1d2));}},_0x3219a9=_0x5c1faf=>{const _0x4c2164=_0x2bc7ef;switch(_0x5c1faf){case _0x9761bf[_0x4c2164(0x262)][_0x4c2164(0x255)]:return _0x2c0e10['t'](_0x4c2164(0x2b9));case _0x9761bf[_0x4c2164(0x262)][_0x4c2164(0x1a7)]:return _0x2c0e10['t'](_0x4c2164(0x190));case _0x9761bf['MCPConnectionError'][_0x4c2164(0x27f)]:return _0x2c0e10['t'](_0x4c2164(0x15f));case _0x9761bf['MCPConnectionError'][_0x4c2164(0x18f)]:return _0x2c0e10['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0xfaf747=(0x0,_0x551a8a[_0x2bc7ef(0x1e0)])(()=>{const _0x16da83=_0x2bc7ef;_0x28615a({..._0x395e3b,'apiKey':_0x4d71df[_0x16da83(0x1a8)](),'enableAuth':!0x0});},[_0x395e3b,_0x4d71df,!0x0,_0x28615a]),_0x18d461=_0x4d71df['trim']()['length']>0x0;return(0x0,_0x141089['jsxs'])(_0x2bc7ef(0x287),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[(0x0,_0x141089['jsx'])('div',{'className':_0x2bc7ef(0x233),'children':(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x24d),'children':[(0x0,_0x141089['jsx'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x168),'children':(0x0,_0x141089['jsx'])('span',{'className':_0x2bc7ef(0x16f),'children':'⚙'})}),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'children':(0x0,_0x141089[_0x2bc7ef(0x148)])('p',{'className':_0x2bc7ef(0x2c3),'children':_0x2c0e10['t']('mcpConfig.description')})})]})}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1d0),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':(0x0,_0x46debc['clsx'])(_0x2bc7ef(0x2a0),_0x248654(_0x9a3744,_0x4e2a47)),'children':(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x248),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('div',{'className':(0x0,_0x46debc['clsx'])('univer-size-2\x20univer-rounded-full',_0x3df797(_0x9a3744,_0x4e2a47))}),(0x0,_0x141089['jsx'])(_0x2bc7ef(0x212),{'className':'univer-text-sm\x20univer-font-medium','children':_0x2e5cb9(_0x9a3744)})]})}),_0x4e2a47!==_0x9761bf[_0x2bc7ef(0x262)]['NONE']&&(_0x9a3744===_0x9761bf[_0x2bc7ef(0x24a)][_0x2bc7ef(0x20e)]||_0x4e2a47===_0x9761bf[_0x2bc7ef(0x262)][_0x2bc7ef(0x255)])&&(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x2d9),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('span',{'className':_0x2bc7ef(0x2ce),'children':'⚠️'}),(0x0,_0x141089[_0x2bc7ef(0x148)])('p',{'className':_0x2bc7ef(0x175),'children':_0x3219a9(_0x4e2a47)})]})})]}),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1e3),'children':(0x0,_0x141089['jsxs'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1e7),'children':[(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1e4),'children':[(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x23b),{'className':_0x2bc7ef(0x270),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x212),{'children':'🔑'}),'\x20',_0x2c0e10['t'](_0x2bc7ef(0x215)),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x212),{'className':_0x2bc7ef(0x222),'children':'*'}),_0x1d0fb5&&(0x0,_0x141089['jsx'])('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':_0x2c0e10['t'](_0x2bc7ef(0x2b8)),'role':_0x2bc7ef(0x29f),'onClick':()=>_0x45ef4e(!0x0),'children':(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x3aa0f0,{})})]}),(0x0,_0x141089['jsx'])(_0x46debc['Input'],{'type':_0x2bc7ef(0x2cc),'placeholder':_0x2c0e10['t'](_0x2bc7ef(0x162)),'value':_0x4d71df,'disabled':_0x7c339d,'autoComplete':_0x2bc7ef(0x16c),'onChange':_0x5cb384}),(0x0,_0x141089[_0x2bc7ef(0x148)])('p',{'className':_0x2bc7ef(0x231),'children':_0x2c0e10['t'](_0x2bc7ef(0x1c8))})]}),_0x1d0fb5&&_0x2d0609&&(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x18e),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('a',{'className':_0x2bc7ef(0x21b),'role':_0x2bc7ef(0x29f),'onClick':()=>_0x45ef4e(!0x1),'children':(0x0,_0x141089['jsx'])(_0x5192af,{'className':_0x2bc7ef(0x242)})}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x22d),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x2bc),'children':(0x0,_0x141089['jsx'])('span',{'className':'univer-text-blue-600','children':'🚀'})}),(0x0,_0x141089['jsxs'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x29a),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('h4',{'className':_0x2bc7ef(0x1a1),'children':_0x2c0e10['t']('mcpConfig.apiApplyInfo.title')}),(0x0,_0x141089[_0x2bc7ef(0x148)])('p',{'className':_0x2bc7ef(0x267),'children':_0x2c0e10['t']('mcpConfig.apiApplyInfo.description')}),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x2758f9&&(0x0,_0x141089[_0x2bc7ef(0x1a0)])('a',{'className':_0x2bc7ef(0x2ac),'href':_0xe856da,'target':_0x2bc7ef(0x1eb),'rel':_0x2bc7ef(0x223),'children':[(0x0,_0x141089['jsx'])(_0x2bc7ef(0x212),{'children':'🤖'}),_0x2c0e10['t']('mcpConfig.apiApplyInfo.univerAiLabel'),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x212),{'className':_0x2bc7ef(0x2d4),'children':'↗'})]})}),(0x0,_0x141089['jsxs'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x17a),'children':['✨','\x20',_0x2c0e10['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x505be5['showDeveloperTools']&&(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1ba),'children':[(0x0,_0x141089[_0x2bc7ef(0x1a0)])('h4',{'className':_0x2bc7ef(0x153),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('span',{'children':'🔗'}),'\x20',_0x2c0e10['t'](_0x2bc7ef(0x19d))]}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x2bb),'children':[(0x0,_0x141089[_0x2bc7ef(0x1a0)])('div',{'className':_0x2bc7ef(0x2a9),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x2c0e10['t'](_0x2bc7ef(0x17e))}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1e4),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x178),'children':_0x2c0e10['t'](_0x2bc7ef(0x218))}),(0x0,_0x141089['jsxs'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x189),'children':[(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x248),'children':[(0x0,_0x141089['jsx'])(_0x2bc7ef(0x212),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x2c0e10['t'](_0x2bc7ef(0x252))]}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x248),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('span',{'className':_0x2bc7ef(0x24b),'children':'2'}),_0x2c0e10['t'](_0x2bc7ef(0x1de))]}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x248),'children':[(0x0,_0x141089['jsx'])(_0x2bc7ef(0x212),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x2c0e10['t'](_0x2bc7ef(0x19e))]})]})]})]}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1e4),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x178),'children':'MCP\x20Configuration'}),(0x0,_0x141089['jsx'])(_0x2bc7ef(0x287),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':(0x0,_0x141089[_0x2bc7ef(0x148)])('pre',{'className':_0x2bc7ef(0x268),'children':JSON[_0x2bc7ef(0x277)]({'mcpServers':{'univer':{'url':_0x2bc7ef(0x22a)+(_0x119aef||_0x2bc7ef(0x17c)),'type':_0x2bc7ef(0x1d3),'headers':{'Authorization':_0x2bc7ef(0x13e)+(_0x4d71df||_0x2bc7ef(0x195))}}}},null,0x2)})})]}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])('div',{'className':_0x2bc7ef(0x2a9),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x2c0e10['t']('mcpConfig.configParameters')}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1e4),'children':[(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x164)}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1fb),'children':[(0x0,_0x141089['jsx'])('div',{'className':_0x2bc7ef(0x22f),'children':_0x2bc7ef(0x186)}),(0x0,_0x141089['jsx'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x231),'children':_0x2c0e10['t'](_0x2bc7ef(0x274))})]})]}),(0x0,_0x141089['jsxs'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1da),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x164)}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1fb),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('div',{'className':_0x2bc7ef(0x22f),'children':'Authorization:'}),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x231),'children':_0x2c0e10['t'](_0x2bc7ef(0x200))})]})]})]})]})]})]}),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x46debc[_0x2bc7ef(0x2be)],{'onClick':_0xfaf747,'disabled':!_0x18d461||_0x7c339d,'className':_0x2bc7ef(0x183),'children':_0x7c339d?(0x0,_0x141089['jsxs'])('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x141089['jsx'])(_0x2bc7ef(0x212),{'children':'⟲'}),_0x2c0e10['t'](_0x2bc7ef(0x2c9))]}):(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x212),{'className':_0x2bc7ef(0x248),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x374b6f,{}),_0x2c0e10['t'](_0x2bc7ef(0x235))]})}),(0x0,_0x141089['jsx'])('div',{'className':_0x2bc7ef(0x271),'children':(0x0,_0x141089[_0x2bc7ef(0x1a0)])('div',{'className':'univer-flex\x20univer-gap-3','children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('span',{'className':_0x2bc7ef(0x13c),'children':'💡'}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])('div',{'className':_0x2bc7ef(0x18c),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x19a),'children':_0x2bc7ef(0x2d7)}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'children':['•',_0x2c0e10['t'](_0x2bc7ef(0x236))]}),(0x0,_0x141089['jsxs'])('div',{'children':['•',_0x2c0e10['t'](_0x2bc7ef(0x2b6))]})]})]})})]})})]});}let _0x5bd107=_0x7e5a6c(0x24c),_0xaddecc={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0x5ba58e(_0x2f1f78){'@babel/helpers - typeof';const _0x4ac408=_0x7e5a6c;return _0x5ba58e=typeof Symbol==_0x4ac408(0x1ee)&&typeof Symbol[_0x4ac408(0x167)]==_0x4ac408(0x2cb)?function(_0x215239){return typeof _0x215239;}:function(_0xf922aa){const _0x5cfa6d=_0x4ac408;return _0xf922aa&&typeof Symbol=='function'&&_0xf922aa[_0x5cfa6d(0x22b)]===Symbol&&_0xf922aa!==Symbol['prototype']?_0x5cfa6d(0x2cb):typeof _0xf922aa;},_0x5ba58e(_0x2f1f78);}function _0x5129fd(_0x5d98fb,_0x2d02b7){const _0x168d5c=_0x7e5a6c;if(_0x5ba58e(_0x5d98fb)!=_0x168d5c(0x199)||!_0x5d98fb)return _0x5d98fb;var _0x373727=_0x5d98fb[Symbol['toPrimitive']];if(_0x373727!==void 0x0){var _0x14f8f8=_0x373727['call'](_0x5d98fb,_0x2d02b7||_0x168d5c(0x1ef));if(_0x5ba58e(_0x14f8f8)!=_0x168d5c(0x199))return _0x14f8f8;throw TypeError(_0x168d5c(0x239));}return(_0x2d02b7===_0x168d5c(0x230)?String:Number)(_0x5d98fb);}function _0x11d061(_0x1bb90d){const _0x57a05f=_0x7e5a6c;var _0x35360d=_0x5129fd(_0x1bb90d,_0x57a05f(0x230));return _0x5ba58e(_0x35360d)==_0x57a05f(0x2cb)?_0x35360d:_0x35360d+'';}function _0x278982(_0x26e080,_0x55ab8e,_0x40cdc3){return(_0x55ab8e=_0x11d061(_0x55ab8e))in _0x26e080?Object['defineProperty'](_0x26e080,_0x55ab8e,{'value':_0x40cdc3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x26e080[_0x55ab8e]=_0x40cdc3,_0x26e080;}function _0x2b6fe6(_0x3aff4b,_0x1b50a8){return function(_0x290b87,_0x313135){_0x1b50a8(_0x290b87,_0x313135,_0x3aff4b);};}function _0x369bc1(_0x240498,_0x22d771,_0x55ae65,_0x80e58d){const _0xcf474e=_0x7e5a6c;var _0x2e9f9=arguments[_0xcf474e(0x280)],_0x4df8b2=_0x2e9f9<0x3?_0x22d771:_0x80e58d===null?_0x80e58d=Object['getOwnPropertyDescriptor'](_0x22d771,_0x55ae65):_0x80e58d,_0x2523e4;if(typeof Reflect==_0xcf474e(0x199)&&typeof Reflect[_0xcf474e(0x27d)]==_0xcf474e(0x1ee))_0x4df8b2=Reflect[_0xcf474e(0x27d)](_0x240498,_0x22d771,_0x55ae65,_0x80e58d);else{for(var _0x2b83df=_0x240498['length']-0x1;_0x2b83df>=0x0;_0x2b83df--)(_0x2523e4=_0x240498[_0x2b83df])&&(_0x4df8b2=(_0x2e9f9<0x3?_0x2523e4(_0x4df8b2):_0x2e9f9>0x3?_0x2523e4(_0x22d771,_0x55ae65,_0x4df8b2):_0x2523e4(_0x22d771,_0x55ae65))||_0x4df8b2);}return _0x2e9f9>0x3&&_0x4df8b2&&Object[_0xcf474e(0x299)](_0x22d771,_0x55ae65,_0x4df8b2),_0x4df8b2;}let _0x2f8098='mcp.apiKey',_0x36d0e5=_0x7e5a6c(0x191),_0x255bb6=class extends _0x2d885c[_0x7e5a6c(0x275)]{constructor(_0x1221ce,_0x33cab4,_0x5d70b0,_0x4dbb72,_0x469f10,_0x514a66,_0x50f3f3,_0x146a1c,_0x2866a2,_0x56daa1){const _0x2d30b2=_0x7e5a6c;super(),this[_0x2d30b2(0x1f9)]=_0x1221ce,this[_0x2d30b2(0x272)]=_0x33cab4,this[_0x2d30b2(0x19b)]=_0x5d70b0,this[_0x2d30b2(0x141)]=_0x4dbb72,this[_0x2d30b2(0x2c1)]=_0x469f10,this['_messageService']=_0x514a66,this[_0x2d30b2(0x228)]=_0x50f3f3,this['_localeService']=_0x146a1c,this['_logService']=_0x2866a2,this[_0x2d30b2(0x28f)]=_0x56daa1,_0x278982(this,'_loading$',new _0x588c49[(_0x2d30b2(0x1f7))](!0x1)),_0x278982(this,_0x2d30b2(0x1e2),new _0x588c49['BehaviorSubject']({})),_0x278982(this,_0x2d30b2(0x26b),new _0x588c49[(_0x2d30b2(0x1f7))]({})),_0x278982(this,_0x2d30b2(0x269),new _0x588c49[(_0x2d30b2(0x1f7))]('')),_0x278982(this,'_handleConfigSave',async _0x3fcf98=>{const _0xd99dde=_0x2d30b2;this['_loading$'][_0xd99dde(0x26f)](!0x0);try{var _0x3a5dac,_0x1ec28a;let _0x432d5d=await this[_0xd99dde(0x1b8)](_0x3fcf98);if(!_0x432d5d['isValid']){this[_0xd99dde(0x154)][_0xd99dde(0x26a)]({'type':_0x46debc[_0xd99dde(0x259)][_0xd99dde(0x184)],'content':_0x432d5d[_0xd99dde(0x171)]||this[_0xd99dde(0x258)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x3fcf98[_0xd99dde(0x2b5)]?await this[_0xd99dde(0x141)]['setItem'](_0x2f8098,_0x3fcf98['apiKey'][_0xd99dde(0x1a8)]()):await this[_0xd99dde(0x141)][_0xd99dde(0x227)](_0x2f8098),this[_0xd99dde(0x269)][_0xd99dde(0x26f)](((_0x3a5dac=_0x3fcf98[_0xd99dde(0x2b5)])==null?void 0x0:_0x3a5dac[_0xd99dde(0x1a8)]())||''),this[_0xd99dde(0x28f)]['__setCustomHeaders']({'Authorization':'Bearer\x20'+((_0x1ec28a=_0x3fcf98[_0xd99dde(0x2b5)])==null?void 0x0:_0x1ec28a['trim']())}),this[_0xd99dde(0x154)][_0xd99dde(0x26a)]({'type':_0x46debc[_0xd99dde(0x259)][_0xd99dde(0x2c8)],'content':this[_0xd99dde(0x258)]['t'](_0xd99dde(0x15e))}),setTimeout(()=>{const _0x331aa5=_0xd99dde;this[_0x331aa5(0x2c1)]['close'](_0x36d0e5);},0x320);}catch(_0x1d352c){this[_0xd99dde(0x276)]['error']('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x1d352c),this[_0xd99dde(0x154)][_0xd99dde(0x26a)]({'type':_0x46debc[_0xd99dde(0x259)]['Error'],'content':this[_0xd99dde(0x258)]['t'](_0xd99dde(0x1d8))});}finally{this['_loading$'][_0xd99dde(0x26f)](!0x1);}}),this[_0x2d30b2(0x13f)](),this[_0x2d30b2(0x1c0)](),this[_0x2d30b2(0x29d)]();}[_0x7e5a6c(0x234)](){const _0x1d875f=_0x7e5a6c;let _0x4f3fdc=this[_0x1d875f(0x19b)][_0x1d875f(0x1df)](_0x5bd107);_0x4f3fdc!=null&&_0x4f3fdc[_0x1d875f(0x2b7)]&&this[_0x1d875f(0x2c1)][_0x1d875f(0x1a3)]({'id':_0x36d0e5,'title':{'title':this[_0x1d875f(0x258)]['t']('mcpConfig.title')},'children':{'label':_0x1d875f(0x26e)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x1615da=_0x1d875f;this['_dialogService'][_0x1615da(0x1a2)](_0x36d0e5);}});}[_0x7e5a6c(0x2c6)](){const _0xee6e1c=_0x7e5a6c;return this[_0xee6e1c(0x1e2)][_0xee6e1c(0x150)];}[_0x7e5a6c(0x29d)](){const _0x23693c=_0x7e5a6c;this[_0x23693c(0x17b)](this[_0x23693c(0x228)][_0x23693c(0x281)](_0x23693c(0x26e),this[_0x23693c(0x165)]()));}[_0x7e5a6c(0x165)](){const _0x4cdd92=_0x7e5a6c;return(0x0,_0x27d17d[_0x4cdd92(0x16a)])(()=>{const _0x180bca=_0x4cdd92;var _0x246c77,_0x396065,_0x1f0d26;return(0x0,_0x141089[_0x180bca(0x148)])(_0x358888,{'config':this['_config$'][_0x180bca(0x150)],'mcpCoreConfig':this[_0x180bca(0x1e2)][_0x180bca(0x150)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x180bca(0x1a4)],'loading':this[_0x180bca(0x2ba)][_0x180bca(0x150)],'connectionStatus$':(_0x246c77=this['_mcpConnectionController'])==null?void 0x0:_0x246c77[_0x180bca(0x221)],'connectionError$':(_0x396065=this['_mcpConnectionController'])==null?void 0x0:_0x396065[_0x180bca(0x241)],'currentSessionId$':(_0x1f0d26=this[_0x180bca(0x28f)])==null?void 0x0:_0x1f0d26[_0x180bca(0x213)]});},this[_0x4cdd92(0x1f9)]);}[_0x7e5a6c(0x13f)](){const _0x59921d=_0x7e5a6c;this[_0x59921d(0x17b)](this[_0x59921d(0x19b)][_0x59921d(0x250)](_0x9761bf[_0x59921d(0x207)])[_0x59921d(0x1ab)](_0x34c790=>{const _0x312963=_0x59921d;this[_0x312963(0x1e2)]['next'](_0x34c790||{});}));let _0x1ab0a2=this[_0x59921d(0x19b)][_0x59921d(0x1df)](_0x9761bf[_0x59921d(0x207)]);this[_0x59921d(0x1e2)][_0x59921d(0x26f)](_0x1ab0a2||{}),this['disposeWithMe'](this[_0x59921d(0x19b)]['subscribeConfigValue$'](_0x5bd107)[_0x59921d(0x1ab)](_0x11f02f=>{const _0x485595=_0x59921d;this[_0x485595(0x26b)]['next'](_0x11f02f||{});}));let _0x3d2ed2=this['_configService'][_0x59921d(0x1df)](_0x5bd107);this[_0x59921d(0x26b)][_0x59921d(0x26f)](_0x3d2ed2||{});}async[_0x7e5a6c(0x1c0)](){const _0x1f9f5f=_0x7e5a6c;let _0x3289a6=this['_configService'][_0x1f9f5f(0x1df)](_0x5bd107);if(!(_0x3289a6!=null&&_0x3289a6['showDeveloperTools']))return;let _0x307a3e=await this['_localStorageService']['getItem'](_0x2f8098);_0x307a3e&&(this[_0x1f9f5f(0x28f)][_0x1f9f5f(0x166)]({'Authorization':'Bearer\x20'+_0x307a3e}),this[_0x1f9f5f(0x269)][_0x1f9f5f(0x26f)](_0x307a3e));}async[_0x7e5a6c(0x1b8)](_0x296fb5){const _0x5e1537=_0x7e5a6c;if(!_0x296fb5[_0x5e1537(0x2b5)]||_0x296fb5[_0x5e1537(0x2b5)][_0x5e1537(0x1a8)]()[_0x5e1537(0x280)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5e1537(0x258)]['t'](_0x5e1537(0x1a5))};if(_0x296fb5[_0x5e1537(0x2b5)][_0x5e1537(0x1a8)]()[_0x5e1537(0x280)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x5e1537(0x258)]['t'](_0x5e1537(0x2a1))};try{let _0x28b7ea=await this[_0x5e1537(0x1f9)][_0x5e1537(0x21c)](_0x9761bf[_0x5e1537(0x27c)])['validateApiKey'](_0x296fb5[_0x5e1537(0x2b5)][_0x5e1537(0x1a8)]());return _0x28b7ea[_0x5e1537(0x179)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x28b7ea[_0x5e1537(0x1cf)]||this[_0x5e1537(0x258)]['t'](_0x5e1537(0x2a7))};}catch(_0x24c77e){return console['warn']('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x24c77e),{'isValid':!0x0};}}};_0x255bb6=_0x369bc1([_0x2b6fe6(0x0,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x2d885c[_0x7e5a6c(0x1e9)])),_0x2b6fe6(0x1,_0x27d17d[_0x7e5a6c(0x2bf)]),_0x2b6fe6(0x2,_0x2d885c['IConfigService']),_0x2b6fe6(0x3,_0x2d885c['ILocalStorageService']),_0x2b6fe6(0x4,_0x27d17d[_0x7e5a6c(0x19c)]),_0x2b6fe6(0x5,_0x27d17d['IMessageService']),_0x2b6fe6(0x6,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x27d17d[_0x7e5a6c(0x169)])),_0x2b6fe6(0x7,(0x0,_0x2d885c['Inject'])(_0x2d885c[_0x7e5a6c(0x1a6)])),_0x2b6fe6(0x8,_0x2d885c[_0x7e5a6c(0x251)]),_0x2b6fe6(0x9,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x9761bf[_0x7e5a6c(0x27c)]))],_0x255bb6);let _0x32d70c={'id':_0x7e5a6c(0x1bc),'type':_0x2d885c[_0x7e5a6c(0x224)][_0x7e5a6c(0x2c7)],'handler':async(_0xc1b95b,_0x1004f6)=>(_0xc1b95b[_0x7e5a6c(0x21c)](_0x255bb6)[_0x7e5a6c(0x234)](),!0x0)};function _0x5c7067(_0x199e56,_0x2d9e1c){const _0x2259fa=_0x7e5a6c;switch(_0x199e56){case _0x9761bf[_0x2259fa(0x24a)][_0x2259fa(0x180)]:return _0x2259fa(0x1b7);case _0x9761bf[_0x2259fa(0x24a)]['CONNECTING']:return _0x2259fa(0x1fd);case _0x9761bf['MCPConnectionStatus'][_0x2259fa(0x15a)]:return _0x2259fa(0x263);case _0x9761bf[_0x2259fa(0x24a)][_0x2259fa(0x20e)]:switch(_0x2d9e1c){case _0x9761bf['MCPConnectionError'][_0x2259fa(0x255)]:return _0x2259fa(0x296);case _0x9761bf[_0x2259fa(0x262)][_0x2259fa(0x1a7)]:return _0x2259fa(0x217);case _0x9761bf['MCPConnectionError'][_0x2259fa(0x27f)]:return'mcpStatus.networkError';case _0x9761bf[_0x2259fa(0x262)]['MAX_RETRIES_EXCEEDED']:return _0x2259fa(0x1ea);default:return _0x2259fa(0x237);}case _0x9761bf['MCPConnectionStatus']['RETRYING']:return'mcpStatus.retrying';default:return _0x2259fa(0x2b2);}}function _0x31e600(_0x162f0c,_0x446eca,_0x28dddc,_0x15700c=!0x0){const _0x50c71a=_0x7e5a6c;let _0x2b0a22=_0x5c7067(_0x162f0c,_0x446eca),_0xa4f371=_0x28dddc['t'](_0x2b0a22);return _0x15700c?_0x162f0c===_0x9761bf[_0x50c71a(0x24a)][_0x50c71a(0x180)]&&_0x446eca===_0x9761bf[_0x50c71a(0x262)][_0x50c71a(0x255)]?_0xa4f371+_0x50c71a(0x203)+_0x28dddc['t'](_0x50c71a(0x297)):_0x162f0c===_0x9761bf[_0x50c71a(0x24a)][_0x50c71a(0x15a)]?''+_0xa4f371:_0x162f0c===_0x9761bf[_0x50c71a(0x24a)][_0x50c71a(0x180)]||_0x162f0c===_0x9761bf[_0x50c71a(0x24a)][_0x50c71a(0x20e)]?_0xa4f371+_0x50c71a(0x203)+_0x28dddc['t'](_0x50c71a(0x17f)):_0xa4f371:_0xa4f371;}function _0x1ad80d(_0xd46ac8){const _0x2ee768=_0x7e5a6c;switch(_0xd46ac8){case _0x9761bf[_0x2ee768(0x24a)][_0x2ee768(0x15a)]:return _0x2ee768(0x18b);case _0x9761bf[_0x2ee768(0x24a)]['CONNECTING']:case _0x9761bf[_0x2ee768(0x24a)]['RETRYING']:return _0x2ee768(0x29e);case _0x9761bf[_0x2ee768(0x24a)][_0x2ee768(0x20e)]:case _0x9761bf[_0x2ee768(0x24a)][_0x2ee768(0x180)]:return _0x2ee768(0x222);default:return _0x2ee768(0x2d8);}}function _0x3d73d5(_0x326894){const _0x4c53f2=_0x7e5a6c;let {status$:_0x30bcea,error$:_0x6007d3,onConfigure:_0x257621,showClickable:_0x535ca4=!0x0}=_0x326894,_0x1e7d05=(0x0,_0x27d17d[_0x4c53f2(0x143)])(_0x30bcea,_0x9761bf[_0x4c53f2(0x24a)][_0x4c53f2(0x180)]),_0x4effa0=(0x0,_0x27d17d[_0x4c53f2(0x143)])(_0x6007d3,_0x9761bf[_0x4c53f2(0x262)]['NONE']),_0xb80db5=(0x0,_0x27d17d[_0x4c53f2(0x25b)])(_0x2d885c[_0x4c53f2(0x1a6)]),_0xe5e31d=_0x1e7d05===_0x9761bf[_0x4c53f2(0x24a)]['CONNECTED'];_0x1e7d05===_0x9761bf[_0x4c53f2(0x24a)][_0x4c53f2(0x2c5)]||_0x9761bf[_0x4c53f2(0x24a)]['RETRYING'];let _0x5557c6=_0xb80db5['t'](_0x5c7067(_0x1e7d05,_0x4effa0)),_0xb89bc7=_0x31e600(_0x1e7d05,_0x4effa0,_0xb80db5,_0x535ca4),_0xb056bd=_0x1ad80d(_0x1e7d05),_0x4951a2=_0xe5e31d?(0x0,_0x141089['jsx'])(_0x3a00d5,{}):(0x0,_0x141089[_0x4c53f2(0x148)])(_0x5ae4be,{}),_0x5aa6b4=(0x0,_0x551a8a[_0x4c53f2(0x1e0)])(()=>{_0x535ca4&&_0x257621&&_0x257621();},[_0x535ca4,_0x257621]);function _0x501556(){const _0x35acec=_0x4c53f2;return(0x0,_0x141089[_0x35acec(0x1a0)])(_0x35acec(0x287),{'className':(0x0,_0x46debc['clsx'])(_0x35acec(0x1d4),_0x535ca4&&_0x257621&&'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'),'role':'button','onClick':_0x535ca4&&_0x257621?_0x5aa6b4:void 0x0,'children':[(0x0,_0x141089[_0x35acec(0x148)])(_0x35acec(0x287),{'className':(0x0,_0x46debc[_0x35acec(0x229)])('univer-mr-2\x20univer-flex\x20univer-text-xl',_0xb056bd),'children':_0x4951a2}),(0x0,_0x141089[_0x35acec(0x148)])(_0x35acec(0x287),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5557c6})]});}return(0x0,_0x141089['jsx'])(_0x46debc[_0x4c53f2(0x2a3)],{'title':_0xb89bc7,'placement':_0x4c53f2(0x246),'children':_0x501556()});}let _0x318fb0=class extends _0x2d885c[_0x7e5a6c(0x275)]{constructor(_0x2b0bad,_0x27d1f2,_0x2d6b2f,_0x4ba168){const _0x156d0b=_0x7e5a6c;super(),this[_0x156d0b(0x1f9)]=_0x2b0bad,this[_0x156d0b(0x226)]=_0x27d1f2,this[_0x156d0b(0x272)]=_0x2d6b2f,this[_0x156d0b(0x19b)]=_0x4ba168,this[_0x156d0b(0x286)](),this['_initStatusComponent']();}[_0x7e5a6c(0x286)](){const _0x213862=_0x7e5a6c;let _0x461b1a=this[_0x213862(0x19b)][_0x213862(0x1df)](_0x5bd107);_0x461b1a!=null&&_0x461b1a[_0x213862(0x2b7)]&&(this['_connectionController']['enableAutoConnect']=!0x1);}[_0x7e5a6c(0x155)](){const _0x1ef480=_0x7e5a6c;let _0x42127f=this[_0x1ef480(0x19b)][_0x1ef480(0x1df)](_0x5bd107);(_0x42127f==null?void 0x0:_0x42127f[_0x1ef480(0x156)])!==!0x1&&this[_0x1ef480(0x17b)](this[_0x1ef480(0x272)][_0x1ef480(0x196)](_0x27d17d[_0x1ef480(0x21f)][_0x1ef480(0x273)],()=>{const _0x32d604=_0x1ef480;var _0x294e4b;return(0x0,_0x27d17d[_0x32d604(0x16a)])(_0x1f5242({'status$':this[_0x32d604(0x226)][_0x32d604(0x221)],'error$':this[_0x32d604(0x226)][_0x32d604(0x241)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x294e4b=_0x42127f==null?void 0x0:_0x42127f['showDeveloperTools'])==null?!0x1:_0x294e4b}),this[_0x32d604(0x1f9)]);}));}['_handleConfigure'](){const _0x3116fb=_0x7e5a6c;this['_injector'][_0x3116fb(0x21c)](_0x255bb6)[_0x3116fb(0x234)]();}};_0x318fb0=_0x369bc1([_0x2b6fe6(0x0,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x2d885c['Injector'])),_0x2b6fe6(0x1,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x9761bf['MCPConnectionController'])),_0x2b6fe6(0x2,_0x27d17d['IUIPartsService']),_0x2b6fe6(0x3,_0x2d885c[_0x7e5a6c(0x21e)])],_0x318fb0);function _0x1f5242(_0x4bdc1b){let {status$:_0x3e2255,error$:_0x181e22,onConfigure:_0x109fab,showClickable:_0x3c9678}=_0x4bdc1b;return function(){const _0xda7c6=_0x39e4;return(0x0,_0x141089[_0xda7c6(0x148)])(_0x3d73d5,{'status$':_0x3e2255,'error$':_0x181e22,'onConfigure':_0x109fab,'showClickable':_0x3c9678});};}function _0x23679c(_0x3b3175){const _0x131f93=_0x7e5a6c;return{'id':_0x32d70c['id'],'type':_0x27d17d[_0x131f93(0x1f6)][_0x131f93(0x14d)],'icon':_0x131f93(0x23e),'title':_0x131f93(0x176),'tooltip':_0x131f93(0x176)};}let _0x305325={[_0x27d17d['RibbonStartGroup'][_0x7e5a6c(0x2a2)]]:{[_0x32d70c['id']]:{'order':0xa,'menuItemFactory':_0x23679c}}},_0x164824=class extends _0x2d885c[_0x7e5a6c(0x275)]{constructor(_0x2420c3,_0xb93b0d){const _0xd4b021=_0x7e5a6c;super(),this[_0xd4b021(0x161)]=_0x2420c3,this[_0xd4b021(0x249)]=_0xb93b0d,this[_0xd4b021(0x264)](),this[_0xd4b021(0x288)]();}['_initializeCommands'](){const _0x5eadd5=_0x7e5a6c;[_0x32d70c][_0x5eadd5(0x144)](_0x17f6d1=>{const _0x1f74b6=_0x5eadd5;this['disposeWithMe'](this[_0x1f74b6(0x161)][_0x1f74b6(0x1ed)](_0x17f6d1));});}[_0x7e5a6c(0x288)](){const _0x4ed919=_0x7e5a6c;this[_0x4ed919(0x249)][_0x4ed919(0x1ec)](_0x305325);}};_0x164824=_0x369bc1([_0x2b6fe6(0x0,_0x2d885c[_0x7e5a6c(0x265)]),_0x2b6fe6(0x1,_0x27d17d['IMenuManagerService'])],_0x164824);let _0x2b4353={'mcpStatus':{'disconnected':_0x7e5a6c(0x285),'connecting':_0x7e5a6c(0x279),'connected':_0x7e5a6c(0x20b),'failed':_0x7e5a6c(0x28c),'retrying':_0x7e5a6c(0x149),'unknown':_0x7e5a6c(0x1dd),'unauthorized':_0x7e5a6c(0x27b),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x7e5a6c(0x2b1),'maxRetriesExceeded':_0x7e5a6c(0x1e6),'clickToConnect':_0x7e5a6c(0x27e),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x7e5a6c(0x1c2),'apiKey':_0x7e5a6c(0x2a5),'apiKeyPlaceholder':_0x7e5a6c(0x1be),'apiKeyHint':_0x7e5a6c(0x2a4),'enableAuth':_0x7e5a6c(0x202),'enableAuthHint':_0x7e5a6c(0x2d0),'connectionInfo':_0x7e5a6c(0x1bd),'mcpClientConfig':_0x7e5a6c(0x1bd),'configInstructions':_0x7e5a6c(0x260),'configStepTitle':_0x7e5a6c(0x160),'configStep1':_0x7e5a6c(0x1b5),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x7e5a6c(0x20d),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x7e5a6c(0x2c0),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x7e5a6c(0x22c),'save':'Save\x20Configuration','saving':_0x7e5a6c(0x243),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x7e5a6c(0x1c1),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x7e5a6c(0x19f),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x7e5a6c(0x157),'getStarted':_0x7e5a6c(0x253)},'validation':{'apiKeyRequired':_0x7e5a6c(0x209),'apiKeyTooShort':_0x7e5a6c(0x2d5),'invalidConfig':_0x7e5a6c(0x292),'invalidApiKey':_0x7e5a6c(0x20c)},'connectionStatus':{'disconnected':_0x7e5a6c(0x25e),'connecting':'Connecting...','connected':_0x7e5a6c(0x1fa),'failed':_0x7e5a6c(0x298),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x7e5a6c(0x1ce),'networkError':_0x7e5a6c(0x13d),'maxRetriesExceeded':_0x7e5a6c(0x211)}}},_0x3c325b={'mcpStatus':{'disconnected':_0x7e5a6c(0x145),'connecting':_0x7e5a6c(0x15d),'connected':_0x7e5a6c(0x219),'failed':_0x7e5a6c(0x24f),'retrying':_0x7e5a6c(0x177),'unknown':_0x7e5a6c(0x2cf),'unauthorized':_0x7e5a6c(0x206),'sessionOccupied':_0x7e5a6c(0x247),'networkError':_0x7e5a6c(0x194),'maxRetriesExceeded':_0x7e5a6c(0x1e8),'clickToConnect':_0x7e5a6c(0x1f2),'clickToConfigure':_0x7e5a6c(0x216)},'mcpConfig':{'title':_0x7e5a6c(0x16d),'description':_0x7e5a6c(0x2b3),'apiKey':_0x7e5a6c(0x1c5),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x7e5a6c(0x1ad),'enableAuthHint':_0x7e5a6c(0x1b3),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x7e5a6c(0x174),'configInstructions':_0x7e5a6c(0x1d7),'configStepTitle':_0x7e5a6c(0x1ff),'configStep1':_0x7e5a6c(0x140),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x7e5a6c(0x283),'sessionId':_0x7e5a6c(0x210),'sessionIdDescription':_0x7e5a6c(0x2ad),'authorizationDescription':_0x7e5a6c(0x293),'configParameters':_0x7e5a6c(0x28a),'maxRetries':_0x7e5a6c(0x1f8),'save':_0x7e5a6c(0x278),'saving':_0x7e5a6c(0x284),'note1':_0x7e5a6c(0x240),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x7e5a6c(0x187),'configError':_0x7e5a6c(0x1c3),'apiApplyInfo':{'title':_0x7e5a6c(0x1db),'description':_0x7e5a6c(0x2bd),'univerAiLabel':_0x7e5a6c(0x1b1),'getStarted':_0x7e5a6c(0x1dc)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x7e5a6c(0x14c),'invalidConfig':_0x7e5a6c(0x205),'invalidApiKey':_0x7e5a6c(0x1aa)},'connectionStatus':{'disconnected':_0x7e5a6c(0x220),'connecting':_0x7e5a6c(0x23a),'connected':_0x7e5a6c(0x1b9),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x7e5a6c(0x25f),'sessionOccupied':_0x7e5a6c(0x1b0),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x7e5a6c(0x1ac)}}};var _0x441b36=_0x7e5a6c(0x204),_0xe70563=_0x7e5a6c(0x2a8);let _0x47e397=class extends _0x2d885c[_0x7e5a6c(0x1cd)]{constructor(_0x2c499a=_0xaddecc,_0x311208,_0x4f2be3,_0x31abf4,_0x2e18d6,_0x2d1d32){const _0x550fdd=_0x7e5a6c;super(),this[_0x550fdd(0x181)]=_0x2c499a,this[_0x550fdd(0x1f9)]=_0x311208,this[_0x550fdd(0x19b)]=_0x4f2be3,this[_0x550fdd(0x272)]=_0x31abf4,this[_0x550fdd(0x141)]=_0x2e18d6,this[_0x550fdd(0x258)]=_0x2d1d32;let {..._0x20f6cb}=(0x0,_0x2d885c[_0x550fdd(0x1b6)])({},_0xaddecc,this['_config']);this[_0x550fdd(0x19b)]['setConfig'](_0x5bd107,_0x20f6cb);}async['onStarting'](){const _0x402665=_0x7e5a6c;let _0x470459=[[_0x318fb0],[_0x255bb6],[_0x164824]];this[_0x402665(0x1f9)][_0x402665(0x232)](_0x185819[_0x402665(0x28b)])||_0x470459['push']([_0x185819[_0x402665(0x28b)],{'useClass':_0x185819[_0x402665(0x1c7)]}]),_0x470459[_0x402665(0x144)](_0x22c99a=>this[_0x402665(0x1f9)][_0x402665(0x2d1)](_0x22c99a)),this[_0x402665(0x1f9)][_0x402665(0x21c)](_0x318fb0),this['_injector'][_0x402665(0x21c)](_0x255bb6),this[_0x402665(0x1f9)]['get'](_0x164824);}};_0x278982(_0x47e397,'pluginName',_0x7e5a6c(0x294)),_0x278982(_0x47e397,_0x7e5a6c(0x2c4),_0x441b36),_0x278982(_0x47e397,'version',_0xe70563),_0x47e397=_0x369bc1([(0x0,_0x2d885c[_0x7e5a6c(0x26d)])(_0x9761bf[_0x7e5a6c(0x16b)]),_0x2b6fe6(0x1,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x2d885c['Injector'])),_0x2b6fe6(0x2,_0x2d885c[_0x7e5a6c(0x21e)]),_0x2b6fe6(0x3,_0x27d17d[_0x7e5a6c(0x2bf)]),_0x2b6fe6(0x4,_0x2d885c['ILocalStorageService']),_0x2b6fe6(0x5,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x2d885c[_0x7e5a6c(0x1a6)]))],_0x47e397),_0x5ca7ab['MCPConfigPanel']=_0x358888,Object['defineProperty'](_0x5ca7ab,_0x7e5a6c(0x23f),{'enumerable':!0x0,'get':function(){return _0x255bb6;}}),Object[_0x7e5a6c(0x299)](_0x5ca7ab,_0x7e5a6c(0x16e),{'enumerable':!0x0,'get':function(){return _0x318fb0;}}),_0x5ca7ab['MCPStatusDisplay']=_0x3d73d5,Object[_0x7e5a6c(0x299)](_0x5ca7ab,'MCPUIMenuController',{'enumerable':!0x0,'get':function(){return _0x164824;}}),_0x5ca7ab[_0x7e5a6c(0x151)]=_0x32d70c,Object[_0x7e5a6c(0x299)](_0x5ca7ab,'UniverMCPUIPlugin',{'enumerable':!0x0,'get':function(){return _0x47e397;}}),_0x5ca7ab['enUS']=_0x2b4353,_0x5ca7ab[_0x7e5a6c(0x23d)]=_0x3c325b;}));
1
+ function _0x3def(){const _0x5afc7e=['CONNECTING','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','您的\x20API\x20密钥将在此浏览器中本地存储','forwardRef','_apiKey$','path','mcpConfig.connectionError.maxRetriesExceeded','help-icon','url(#$1','Button','text','currentColor','_componentManager','_initStatusComponent','univer-flex\x20univer-items-start\x20univer-gap-2','round','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed','Configuration\x20saved\x20successfully','MCPStatusDisplay','univer-bg-blue-500','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','mcpConfig.save','会话\x20ID\x20已被占用,请稍后再试','Get\x20your\x20API\x20key\x20in\x20seconds','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','MCP_PLUGIN_CONFIG_KEY','univer-flex\x20univer-flex-wrap\x20univer-gap-2','MCP\x20已断开','exports','API\x20密钥不能为空','assign','mcpStatus.sessionOccupied','启用身份验证','connectionStatus$','_commandService','mcpStatus.maxRetriesExceeded','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','_registerComponent','attrs','mcpConfig.configStepTitle','mcpConfig.apiKeyPlaceholder','<API_KEY>','univer-text-sm\x20univer-text-gray-500','Retrying...','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','tag','defIds','setItem','点击配置\x20MCP','_config$','MCPConnectionUIController','Click\x20to\x20connect\x20MCP','MCPConnectionError','IConfigService','UniverMCPUIPlugin','配置保存成功','_handleConfigure','univer-text-red-500','useRef','Success','IDialogService','connectionError$','UNAUTHORIZED','mcpStatus.clickToConfigure','IUIPartsService','mergeMenu','object','mcpConfig.connectionStatus.connected','rxjs','univer.ai','_logService','What\x20is\x20API\x20Key?','Bearer\x20','MCP:\x20会话\x20ID\x20已被占用','UniverIcon','MCP\x20连接失败','off-line-icon_clip0_910_343','已连接','将以下配置添加到您的\x20MCP\x20客户端设置中:','decorate','2040PXMKYD','保存中...','jsxs','_blank','mcpConfig.apiApplyInfo.title','SESSION_ID_OCCUPIED','配置无效','mcpStatus.retrying','check-mark-icon','enUS','replace','onStarting','mcpConfig.connectionStatus.retrying','Max\x20Retries','Module','univer-space-y-3','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','8802bjXwsa','white','MCP\x20客户端配置','@univerjs/ui','MCP\x20已连接','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','__setCustomHeaders','univer-text-green-500','_dialogService','defs','univer-font-medium','请输入您的\x20API\x20密钥','API\x20key\x20is\x20required','配置参数:','_configService','mcpConfig.connectionStatus.failed','Input','mcpConfig.title','_messageService','Connection\x20Failed','substring','merge','Enter\x20your\x20API\x20key','clipPath','mcpConfig.note2','univer-bg-gray-500','mcpConfig.configStep3','Univer\x20AI\x20Console','has','subscribeConfigValue$','MenuIcon','mcpConfig.apiApplyInfo.getStarted','function','1544964XVFUBo','7091hhAxJR','API\x20key\x20with\x20Bearer\x20prefix.','0\x200\x2017\x2016','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','UniverProMcpUi','OnLineIcon','ILocalStorageService','mcpConfig.description','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Injector','useDependency','showConfigPanel','网络连接错误,请检查您的网络连接','mcp-ui.command.openConfigPanel','amd','forEach','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','_config','MCPConnectionController','_createConfigPanelComponent','M0\x200H16V16H0z','MCP:\x20Unauthorized','ISocketService','mcpConfig.saving','@univerjs-pro/mcp','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','next','string','createElement','registerCommand','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','BUTTON','@univerjs/network','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','mcpStatus.connecting','mcpConfig.connectionStatus.connecting','Enable\x20Authentication','Copy\x20the\x20JSON\x20configuration\x20below','_mcpCoreConfig$','mcp-config-dialog','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','CONNECTED','mcpConfig.apiApplyInfo.description','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','OTHERS','http://www.w3.org/2000/svg','MAX_RETRIES_EXCEEDED','entries','MCPConfigPanel','univer-text-xs\x20univer-text-gray-500','HelpIcon','registerComponent','current','univer-bg-red-500','将配置添加到您的\x20MCP\x20客户端设置文件中','_initializeCommands','Univer\x20AI\x20控制台','API\x20密钥','translate(.97)','Saving...','COMMAND','什么是\x20API\x20密钥?','mcpStatus.connected','univer-text-yellow-500','配置保存失败','3FuiOia','RibbonStartGroup','API\x20Key','保存配置','Inject','DISCONNECTED','svg','配置更改将立即生效','univer-flex\x20univer-items-start\x20univer-gap-3','setConfig','_initConfigSync','on-line-icon','showStatus','CheckMarkIcon','https://console.univer.plus','univer_session_id:','getConfig','button','MCP_UI_PLUGIN','226178ttrrkk','mcpConfig.apiKeyHint','NETWORK_ERROR','MCP:\x20Max\x20Retries\x20Exceeded','constructor','univer-text-xs\x20univer-text-gray-600','get','mask','mcpConfig.apiApplyInfo.univerAiLabel','subscribe','stroke','FAILED','univerjs-icon\x20univerjs-icon-','React','univer-size-2\x20univer-rounded-full','Authorization:','show','mcp-ui.config','univer.plus','OffLineIcon','API\x20密钥长度至少需要\x2010\x20位','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-shrink-0\x20univer-text-blue-500','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','https://console.univer.ai','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','mcpStatus.networkError','http','OpenMCPConfigPanelCommand','MCP\x20Unknown\x20Status','errorMessage','univer-text-blue-600','fill','idSuffix','ComponentManager','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','_initAutoConnect','map','Configuration\x20Parameters:','点击连接\x20MCP','getItem','univer-text-sm\x20univer-font-medium','_mcpConnectionController','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','toString','colorChannel1','clsx','0\x200\x2016\x2016','Disposable','apiKey','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_validateConfig','_localStorageService','Save\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','启用身份验证以获得安全连接','univer-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','prototype','Enable\x20authentication\x20for\x20secure\x20connections','RETRYING','您的\x20API\x20密钥安全存储在本地存储中','evenodd','WebSocketService','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','mcpConfig.apiKey','2266040jIvSBU','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-flex\x20univer-items-center','Error','UniverCore','symbol','MCP\x20Disconnected','CloseIcon','children','LocaleService','重启您的\x20MCP\x20客户端以使配置生效','mcpStatus.unauthorized','会话ID','useState','mcpStatus.unknown','_connectionController','mcpConfig.configInstructions','MCP\x20状态未知','warn','MCPConnectionStatus','连接失败','UniverMCPPlugin','pluginName','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','Click\x20to\x20configure\x20MCP','CommandType','mcpConfig.connectionInfo','includes','mcpConfig.authorizationDescription','HEADER_MENU','off','isValid','mcpStatus.clickToConnect','univer-size-4','BehaviorSubject','_menuManagerService','_loading$','IMessageService','_injector','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','<SESSION_ID>','配置\x20MCP\x20使用\x20AI\x20操作电子表格','close-icon','mcpStatus.disconnected','Connected','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-flex\x20univer-items-center\x20univer-gap-3','value','NONE','\x20-\x20','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','off-line-icon','getCurrentConfig','55BSllnB','univer-shrink-0\x20univer-text-red-500','带有\x20Bearer\x20前缀的\x20API\x20密钥。','react/jsx-runtime','mcpConfig.validation.invalidConfig','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','univer-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','2104hSFlXm','最大重试次数','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Connecting...','MessageType','MCP\x20Client\x20Configuration','toStringTag','on-line-icon_clip0_910_349','@univerjs-pro/mcp-ui','超出最大重试次数,请稍后再试','url(#off-line-icon_clip0_910_343)','MCP\x20Retrying...','univer-flex\x20univer-items-center\x20univer-gap-2','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','MCP\x20Connected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','univer-space-y-2','univer-space-y-4','version','none','几秒钟内获取您的\x20API\x20密钥','useObservable','open','showDeveloperTools','defineProperty','span','connectInjector','mcp.apiKey','div','xlink:href','toPrimitive','close','univer-text-gray-400','trim','mcpServerUrl','mcpConfig.sessionIdDescription','2dVPHod','displayName','disposeWithMe','复制以下\x20JSON\x20配置','MCP\x20Configuration','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','167388zzhYgF','@univerjs/core','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','1em','removeItem','react','MCP\x20配置','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','jsx','mcpConfig.connectionStatus.disconnected','815826zIBEah','sessionId$','_uiPartsService','length','_localeService','MCP:\x20未授权','zhCN','default','未连接','iterator','mcpConfig.connectionError.networkError','mcpConfig.configSaved'];_0x3def=function(){return _0x5afc7e;};return _0x3def();}function _0x20ec(_0x15af46,_0x12bf49){_0x15af46=_0x15af46-0x154;const _0x3defab=_0x3def();let _0x20ecd6=_0x3defab[_0x15af46];return _0x20ecd6;}(function(_0x40ee94,_0x3d16df){const _0x240fbd=_0x20ec,_0x43fcd3=_0x40ee94();while(!![]){try{const _0xefebcd=parseInt(_0x240fbd(0x1f0))/0x1*(-parseInt(_0x240fbd(0x294))/0x2)+parseInt(_0x240fbd(0x1dd))/0x3*(-parseInt(_0x240fbd(0x29a))/0x4)+parseInt(_0x240fbd(0x232))/0x5+-parseInt(_0x240fbd(0x2a4))/0x6+-parseInt(_0x240fbd(0x19b))/0x7*(parseInt(_0x240fbd(0x270))/0x8)+-parseInt(_0x240fbd(0x179))/0x9*(parseInt(_0x240fbd(0x167))/0xa)+parseInt(_0x240fbd(0x269))/0xb*(parseInt(_0x240fbd(0x19a))/0xc);if(_0xefebcd===_0x3d16df)break;else _0x43fcd3['push'](_0x43fcd3['shift']());}catch(_0x2f31f0){_0x43fcd3['push'](_0x43fcd3['shift']());}}}(_0x3def,0x376c8),function(_0x9709a8,_0x248c1d){const _0x5beebc=_0x20ec;typeof exports==_0x5beebc(0x159)&&typeof module<'u'?_0x248c1d(exports,require('@univerjs/core'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('react/jsx-runtime'),require('@univerjs/network')):typeof define=='function'&&define[_0x5beebc(0x1aa)]?define([_0x5beebc(0x2ce),_0x5beebc(0x29b),_0x5beebc(0x1b4),'@univerjs/design',_0x5beebc(0x17c),_0x5beebc(0x15b),_0x5beebc(0x29f),_0x5beebc(0x26c),_0x5beebc(0x1bc)],_0x248c1d):(_0x9709a8=typeof globalThis<'u'?globalThis:_0x9709a8||self,_0x248c1d(_0x9709a8[_0x5beebc(0x1a0)]={},_0x9709a8[_0x5beebc(0x236)],_0x9709a8['UniverProMcp'],_0x9709a8['UniverDesign'],_0x9709a8['UniverUi'],_0x9709a8['rxjs'],_0x9709a8[_0x5beebc(0x1fd)],_0x9709a8['React'],_0x9709a8['UniverNetwork']));}(this,function(_0x3c77f6,_0x1ba4f6,_0x1aeff4,_0x1efeff,_0x52d015,_0x556a3d,_0x15d4fe,_0x28aaf2,_0x77da7e){const _0x506dcb=_0x20ec;Object['defineProperty'](_0x3c77f6,Symbol[_0x506dcb(0x276)],{'value':_0x506dcb(0x175)});function _0x4a97d6({ref:_0x3f07ec,..._0x4490ed}){const _0x2e7019=_0x506dcb;let {icon:_0x28e6d4,id:_0x4ee7d2,className:_0xb879f4,extend:_0x2968f6,..._0x3f3694}=_0x4490ed,_0x28d06d=(_0x2e7019(0x1fc)+_0x4ee7d2+'\x20'+(_0xb879f4||''))[_0x2e7019(0x291)](),_0x3f53cd=(0x0,_0x15d4fe[_0x2e7019(0x2ec)])('_'+_0x2419c8());return _0x49dfed(_0x28e6d4,''+_0x4ee7d2,{'defIds':_0x28e6d4[_0x2e7019(0x2e0)],'idSuffix':_0x3f53cd[_0x2e7019(0x1d0)]},{'ref':_0x3f07ec,'className':_0x28d06d,..._0x3f3694},_0x2968f6);}function _0x49dfed(_0xdfb7b5,_0x533b42,_0x27e1ff,_0xe66050,_0x43e711){const _0x386cde=_0x506dcb;return(0x0,_0x15d4fe[_0x386cde(0x1b8)])(_0xdfb7b5['tag'],{'key':_0x533b42,..._0x33ab9f(_0xdfb7b5,_0x27e1ff,_0x43e711),..._0xe66050},(_0x1295f4(_0xdfb7b5,_0x27e1ff)[_0x386cde(0x23a)]||[])['map']((_0x337515,_0xac532b)=>_0x49dfed(_0x337515,_0x533b42+'-'+_0xdfb7b5[_0x386cde(0x2df)]+'-'+_0xac532b,_0x27e1ff,void 0x0,_0x43e711)));}function _0x33ab9f(_0x58752a,_0x2ae6c1,_0x4b56e7){const _0x453c3e=_0x506dcb;let _0x15438c={..._0x58752a[_0x453c3e(0x2d8)]};_0x4b56e7!=null&&_0x4b56e7['colorChannel1']&&_0x15438c[_0x453c3e(0x210)]===_0x453c3e(0x21e)&&(_0x15438c[_0x453c3e(0x210)]=_0x4b56e7[_0x453c3e(0x21e)]),_0x4b56e7!=null&&_0x4b56e7['colorChannel1']&&_0x15438c[_0x453c3e(0x1fa)]==='colorChannel1'&&(_0x15438c['stroke']=_0x4b56e7[_0x453c3e(0x21e)]),_0x58752a[_0x453c3e(0x2df)]===_0x453c3e(0x1f7)&&_0x15438c['id']&&(_0x15438c['id']+=_0x2ae6c1[_0x453c3e(0x211)]),Object[_0x453c3e(0x1cb)](_0x15438c)[_0x453c3e(0x1ab)](([_0x438114,_0x25f9de])=>{const _0x2a01a5=_0x453c3e;_0x438114==='mask'&&typeof _0x25f9de=='string'&&(_0x15438c[_0x438114]=_0x25f9de[_0x2a01a5(0x171)](/url\(#(.*)\)/,'url(#$1'+_0x2ae6c1[_0x2a01a5(0x211)]+')'));});let {defIds:_0x4f666a}=_0x2ae6c1;return!_0x4f666a||_0x4f666a[_0x453c3e(0x2a7)]===0x0?_0x15438c:(_0x58752a[_0x453c3e(0x2df)]==='use'&&_0x15438c[_0x453c3e(0x28d)]&&(_0x15438c[_0x453c3e(0x28d)]+=_0x2ae6c1[_0x453c3e(0x211)]),Object[_0x453c3e(0x1cb)](_0x15438c)['forEach'](([_0x62d0f8,_0x266693])=>{const _0x412d8b=_0x453c3e;typeof _0x266693==_0x412d8b(0x1b7)&&(_0x15438c[_0x62d0f8]=_0x266693[_0x412d8b(0x171)](/url\(#(.*)\)/,_0x412d8b(0x2b9)+_0x2ae6c1[_0x412d8b(0x211)]+')'));}),_0x15438c);}function _0x1295f4(_0x105b44,_0x2ea01e){const _0x2c42a1=_0x506dcb;var _0x3ae393;let {defIds:_0x5e9606}=_0x2ea01e;return!_0x5e9606||_0x5e9606[_0x2c42a1(0x2a7)]===0x0?_0x105b44:_0x105b44[_0x2c42a1(0x2df)]===_0x2c42a1(0x182)&&(_0x3ae393=_0x105b44['children'])!=null&&_0x3ae393['length']?{..._0x105b44,'children':_0x105b44[_0x2c42a1(0x23a)][_0x2c42a1(0x215)](_0x2d2930=>typeof _0x2d2930[_0x2c42a1(0x2d8)]['id']=='string'&&_0x5e9606&&_0x5e9606[_0x2c42a1(0x24d)](_0x2d2930[_0x2c42a1(0x2d8)]['id'])?{..._0x2d2930,'attrs':{..._0x2d2930[_0x2c42a1(0x2d8)],'id':_0x2d2930[_0x2c42a1(0x2d8)]['id']+_0x2ea01e[_0x2c42a1(0x211)]}}:_0x2d2930)}:_0x105b44;}function _0x2419c8(){const _0x19863a=_0x506dcb;return Math['random']()[_0x19863a(0x21d)](0x24)[_0x19863a(0x18d)](0x2,0x8);}_0x4a97d6[_0x506dcb(0x295)]=_0x506dcb(0x161);let _0x269fa4={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x506dcb(0x283),'viewBox':_0x506dcb(0x220),'width':_0x506dcb(0x29d),'height':_0x506dcb(0x29d)},'children':[{'tag':_0x506dcb(0x2b6),'attrs':{'fill':_0x506dcb(0x2bc),'d':_0x506dcb(0x19e),'fillRule':_0x506dcb(0x22e),'clipRule':_0x506dcb(0x22e)}}]},_0xa724fe=(0x0,_0x15d4fe[_0x506dcb(0x2b4)])(function(_0x2dcd1d,_0x30e63d){const _0x3b84f7=_0x506dcb;return(0x0,_0x15d4fe[_0x3b84f7(0x1b8)])(_0x4a97d6,Object['assign']({},_0x2dcd1d,{'id':_0x3b84f7(0x16f),'ref':_0x30e63d,'icon':_0x269fa4}));});_0xa724fe[_0x506dcb(0x295)]=_0x506dcb(0x1ea);let _0xfc0d7a={'tag':'svg','attrs':{'xmlns':_0x506dcb(0x1c9),'fill':'none','viewBox':_0x506dcb(0x220),'width':_0x506dcb(0x29d),'height':'1em'},'children':[{'tag':_0x506dcb(0x2b6),'attrs':{'fill':_0x506dcb(0x2bc),'d':'M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z'}}]},_0x47453b=(0x0,_0x15d4fe[_0x506dcb(0x2b4)])(function(_0xff0e79,_0x51e0f3){const _0x3d4dcd=_0x506dcb;return(0x0,_0x15d4fe['createElement'])(_0x4a97d6,Object['assign']({},_0xff0e79,{'id':_0x3d4dcd(0x25c),'ref':_0x51e0f3,'icon':_0xfc0d7a}));});_0x47453b[_0x506dcb(0x295)]=_0x506dcb(0x239);let _0x45c7e9={'tag':_0x506dcb(0x1e3),'attrs':{'xmlns':_0x506dcb(0x1c9),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x506dcb(0x29d),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x506dcb(0x2bc),'d':_0x506dcb(0x1c4)}},{'tag':_0x506dcb(0x2b6),'attrs':{'fill':_0x506dcb(0x2bc),'d':'M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z'}},{'tag':_0x506dcb(0x2b6),'attrs':{'fill':_0x506dcb(0x2bc),'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':_0x506dcb(0x22e),'clipRule':'evenodd'}}]},_0x532a77=(0x0,_0x15d4fe['forwardRef'])(function(_0x5da8c6,_0x44f26c){const _0x38f519=_0x506dcb;return(0x0,_0x15d4fe[_0x38f519(0x1b8)])(_0x4a97d6,Object[_0x38f519(0x2d0)]({},_0x5da8c6,{'id':_0x38f519(0x2b8),'ref':_0x44f26c,'icon':_0x45c7e9}));});_0x532a77['displayName']=_0x506dcb(0x1ce);let _0x158014={'tag':_0x506dcb(0x1e3),'attrs':{'xmlns':_0x506dcb(0x1c9),'fill':_0x506dcb(0x283),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x506dcb(0x27a)},'children':[{'tag':_0x506dcb(0x2b6),'attrs':{'stroke':_0x506dcb(0x2bc),'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':_0x506dcb(0x2c0),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x506dcb(0x190),'attrs':{'id':_0x506dcb(0x163)},'children':[{'tag':_0x506dcb(0x2b6),'attrs':{'fill':_0x506dcb(0x17a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x506dcb(0x163)]},_0x348fdb=(0x0,_0x15d4fe[_0x506dcb(0x2b4)])(function(_0x118927,_0x164b13){const _0x4a5b9c=_0x506dcb;return(0x0,_0x15d4fe[_0x4a5b9c(0x1b8)])(_0x4a97d6,Object[_0x4a5b9c(0x2d0)]({},_0x118927,{'id':_0x4a5b9c(0x267),'ref':_0x164b13,'icon':_0x158014}));});_0x348fdb[_0x506dcb(0x295)]=_0x506dcb(0x203);let _0x56e08b={'tag':_0x506dcb(0x1e3),'attrs':{'xmlns':_0x506dcb(0x1c9),'fill':_0x506dcb(0x283),'viewBox':_0x506dcb(0x19d),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x506dcb(0x2b6),'attrs':{'stroke':_0x506dcb(0x2bc),'d':_0x506dcb(0x26e),'strokeLinecap':_0x506dcb(0x2c0),'strokeLinejoin':_0x506dcb(0x2c0),'strokeWidth':1.2}}]},{'tag':_0x506dcb(0x182),'attrs':{},'children':[{'tag':_0x506dcb(0x190),'attrs':{'id':_0x506dcb(0x277)},'children':[{'tag':_0x506dcb(0x2b6),'attrs':{'fill':_0x506dcb(0x17a),'d':_0x506dcb(0x1b0),'transform':_0x506dcb(0x1d6)}}]}]}],'defIds':[_0x506dcb(0x277)]},_0x41515d=(0x0,_0x15d4fe[_0x506dcb(0x2b4)])(function(_0x42b773,_0x236497){const _0x244f9d=_0x506dcb;return(0x0,_0x15d4fe[_0x244f9d(0x1b8)])(_0x4a97d6,Object[_0x244f9d(0x2d0)]({},_0x42b773,{'id':_0x244f9d(0x1e8),'ref':_0x236497,'icon':_0x56e08b}));});_0x41515d[_0x506dcb(0x295)]=_0x506dcb(0x1a1);function _0x4a9d9e(_0x17306b){const _0x2ce4c7=_0x506dcb;var _0xdf72b7,_0x2a438d;let {mcpCoreConfig:_0x4e66f2,onSave:_0x2006d4,loading:_0x5224d8=!0x1,config:_0x2c8869,connectionStatus$:_0x14cad1,connectionError$:_0x44eecb,currentApiKey$:_0x515b1f,currentSessionId$:_0x1f87ff}=_0x17306b,_0x42483a=(0x0,_0x52d015['useDependency'])(_0x1ba4f6['LocaleService']),_0x4b12e6=(0x0,_0x52d015[_0x2ce4c7(0x285)])(_0x14cad1,_0x1aeff4['MCPConnectionStatus']['DISCONNECTED']),_0x2f1f60=(0x0,_0x52d015[_0x2ce4c7(0x285)])(_0x44eecb,_0x1aeff4['MCPConnectionError']['NONE']),_0x3985a9=(0x0,_0x52d015[_0x2ce4c7(0x285)])(_0x1f87ff,''),[_0x51cb72,_0xf930a6]=(0x0,_0x15d4fe[_0x2ce4c7(0x23f)])((0x0,_0x52d015[_0x2ce4c7(0x285)])(_0x515b1f,'')||''),_0x386c52=_0x2c8869['showDeveloperTools']&&_0x4e66f2[_0x2ce4c7(0x292)]&&(_0x4e66f2[_0x2ce4c7(0x292)][_0x2ce4c7(0x24d)](_0x2ce4c7(0x202))||_0x4e66f2[_0x2ce4c7(0x292)][_0x2ce4c7(0x24d)](_0x2ce4c7(0x15c))),_0x458e3b=(_0xdf72b7=_0x4e66f2[_0x2ce4c7(0x292)])==null?void 0x0:_0xdf72b7[_0x2ce4c7(0x24d)](_0x2ce4c7(0x202)),_0x26b874=(_0x2a438d=_0x4e66f2['mcpServerUrl'])==null?void 0x0:_0x2a438d[_0x2ce4c7(0x24d)](_0x2ce4c7(0x15c)),_0x3aefff=_0x458e3b?_0x2ce4c7(0x1eb):_0x2ce4c7(0x208),_0x1f78a7=_0x2c8869[_0x2ce4c7(0x287)]&&(_0x458e3b||_0x26b874),[_0x80288d,_0x2312d0]=(0x0,_0x15d4fe[_0x2ce4c7(0x23f)])(!_0x51cb72[_0x2ce4c7(0x291)]()),_0x4620f1=(_0x181ed8,_0x2883e9)=>{const _0x4509ce=_0x2ce4c7;if(_0x2883e9===_0x1aeff4['MCPConnectionError'][_0x4509ce(0x155)])return _0x4509ce(0x213);switch(_0x181ed8){case _0x1aeff4[_0x4509ce(0x245)][_0x4509ce(0x1c5)]:return _0x4509ce(0x21b);case _0x1aeff4[_0x4509ce(0x245)][_0x4509ce(0x2b0)]:case _0x1aeff4[_0x4509ce(0x245)][_0x4509ce(0x22c)]:return _0x4509ce(0x209);case _0x1aeff4['MCPConnectionStatus'][_0x4509ce(0x1fb)]:return _0x4509ce(0x213);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0xf94e7a=(_0x3041c2,_0x3f2664)=>{const _0x5bd0d1=_0x2ce4c7;if(_0x3f2664===_0x1aeff4[_0x5bd0d1(0x2e6)][_0x5bd0d1(0x155)])return'univer-bg-red-500';switch(_0x3041c2){case _0x1aeff4[_0x5bd0d1(0x245)]['CONNECTED']:return'univer-bg-green-500';case _0x1aeff4['MCPConnectionStatus'][_0x5bd0d1(0x2b0)]:case _0x1aeff4[_0x5bd0d1(0x245)][_0x5bd0d1(0x22c)]:return _0x5bd0d1(0x2c5);case _0x1aeff4['MCPConnectionStatus'][_0x5bd0d1(0x1fb)]:return _0x5bd0d1(0x1d1);default:return _0x5bd0d1(0x192);}},_0x25c334=_0x1ba02b=>{const _0x320ea2=_0x2ce4c7;switch(_0x1ba02b){case _0x1aeff4[_0x320ea2(0x245)][_0x320ea2(0x1c5)]:return _0x42483a['t'](_0x320ea2(0x15a));case _0x1aeff4[_0x320ea2(0x245)]['CONNECTING']:return _0x42483a['t'](_0x320ea2(0x1bf));case _0x1aeff4[_0x320ea2(0x245)][_0x320ea2(0x1fb)]:return _0x42483a['t'](_0x320ea2(0x188));case _0x1aeff4[_0x320ea2(0x245)][_0x320ea2(0x22c)]:return _0x42483a['t'](_0x320ea2(0x173));default:return _0x42483a['t'](_0x320ea2(0x2a3));}},_0x1920ae=_0x15a452=>{const _0x40bbb3=_0x2ce4c7;switch(_0x15a452){case _0x1aeff4[_0x40bbb3(0x2e6)][_0x40bbb3(0x155)]:return _0x42483a['t']('mcpConfig.connectionError.unauthorized');case _0x1aeff4[_0x40bbb3(0x2e6)][_0x40bbb3(0x16c)]:return _0x42483a['t']('mcpConfig.connectionError.sessionOccupied');case _0x1aeff4[_0x40bbb3(0x2e6)][_0x40bbb3(0x1f2)]:return _0x42483a['t'](_0x40bbb3(0x2ae));case _0x1aeff4[_0x40bbb3(0x2e6)][_0x40bbb3(0x1ca)]:return _0x42483a['t'](_0x40bbb3(0x2b7));default:return'';}},_0x22d523=(0x0,_0x15d4fe['useCallback'])(()=>{_0x2006d4({..._0x4e66f2,'apiKey':_0x51cb72['trim'](),'enableAuth':!0x0});},[_0x4e66f2,_0x51cb72,!0x0,_0x2006d4]),_0x2e6c6b=_0x51cb72[_0x2ce4c7(0x291)]()['length']>0x0;return(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x177),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x262),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])('div',{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x289),{'className':'univer-text-white','children':'⚙'})}),(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'children':(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])('p',{'className':_0x2ce4c7(0x2dc),'children':_0x42483a['t'](_0x2ce4c7(0x1a3))})})]})}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x2a1),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':(0x0,_0x1efeff[_0x2ce4c7(0x21f)])('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x4620f1(_0x4b12e6,_0x2f1f60)),'children':(0x0,_0x28aaf2['jsxs'])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x27c),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':(0x0,_0x1efeff['clsx'])(_0x2ce4c7(0x1fe),_0xf94e7a(_0x4b12e6,_0x2f1f60))}),(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x289),{'className':_0x2ce4c7(0x219),'children':_0x25c334(_0x4b12e6)})]})}),_0x2f1f60!==_0x1aeff4[_0x2ce4c7(0x2e6)][_0x2ce4c7(0x264)]&&(_0x4b12e6===_0x1aeff4[_0x2ce4c7(0x245)][_0x2ce4c7(0x1fb)]||_0x2f1f60===_0x1aeff4[_0x2ce4c7(0x2e6)][_0x2ce4c7(0x155)])&&(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x27d),'children':(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x2bf),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x289),{'className':_0x2ce4c7(0x26a),'children':'⚠️'}),(0x0,_0x28aaf2['jsx'])('p',{'className':_0x2ce4c7(0x249),'children':_0x1920ae(_0x2f1f60)})]})})]}),(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':(0x0,_0x28aaf2[_0x2ce4c7(0x169)])('div',{'className':'univer-space-y-5','children':[(0x0,_0x28aaf2['jsxs'])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x280),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x169)])('label',{'className':_0x2ce4c7(0x21c),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x289),{'children':'🔑'}),'\x20',_0x42483a['t'](_0x2ce4c7(0x231)),(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x289),{'className':_0x2ce4c7(0x2eb),'children':'*'}),_0x386c52&&(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])('a',{'className':_0x2ce4c7(0x29c),'title':_0x42483a['t']('mcpConfig.apiApplyInfo.title'),'role':_0x2ce4c7(0x1ee),'onClick':()=>_0x2312d0(!0x0),'children':(0x0,_0x28aaf2['jsx'])(_0x532a77,{})})]}),(0x0,_0x28aaf2['jsx'])(_0x1efeff[_0x2ce4c7(0x189)],{'type':_0x2ce4c7(0x2bb),'placeholder':_0x42483a['t'](_0x2ce4c7(0x2da)),'value':_0x51cb72,'disabled':_0x5224d8,'autoComplete':_0x2ce4c7(0x250),'onChange':_0xf930a6}),(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])('p',{'className':_0x2ce4c7(0x1cd),'children':_0x42483a['t'](_0x2ce4c7(0x1f1))})]}),_0x386c52&&_0x80288d&&(0x0,_0x28aaf2['jsxs'])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x2de),'children':[(0x0,_0x28aaf2['jsx'])('a',{'className':_0x2ce4c7(0x26f),'role':'button','onClick':()=>_0x2312d0(!0x1),'children':(0x0,_0x28aaf2['jsx'])(_0x47453b,{'className':_0x2ce4c7(0x253)})}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])('div',{'className':_0x2ce4c7(0x1c7),'children':[(0x0,_0x28aaf2['jsx'])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x1ac),'children':(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x289),{'className':_0x2ce4c7(0x20f),'children':'🚀'})}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':'univer-flex-1','children':[(0x0,_0x28aaf2['jsx'])('h4',{'className':_0x2ce4c7(0x19f),'children':_0x42483a['t'](_0x2ce4c7(0x16b))}),(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])('p',{'className':_0x2ce4c7(0x25f),'children':_0x42483a['t'](_0x2ce4c7(0x1c6))}),(0x0,_0x28aaf2['jsx'])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x2cc),'children':_0x1f78a7&&(0x0,_0x28aaf2[_0x2ce4c7(0x169)])('a',{'className':_0x2ce4c7(0x229),'href':_0x3aefff,'target':_0x2ce4c7(0x16a),'rel':'noopener\x20noreferrer','children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x289),{'children':'🤖'}),_0x42483a['t'](_0x2ce4c7(0x1f8)),(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])('span',{'className':_0x2ce4c7(0x290),'children':'↗'})]})}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x42483a['t'](_0x2ce4c7(0x198))]})]})]})]}),_0x2c8869[_0x2ce4c7(0x287)]&&(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[(0x0,_0x28aaf2[_0x2ce4c7(0x169)])('h4',{'className':_0x2ce4c7(0x272),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x289),{'children':'🔗'}),'\x20',_0x42483a['t'](_0x2ce4c7(0x24c))]}),(0x0,_0x28aaf2['jsxs'])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x281),'children':[(0x0,_0x28aaf2['jsxs'])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x176),'children':[(0x0,_0x28aaf2['jsx'])('p',{'className':_0x2ce4c7(0x1f5),'children':_0x42483a['t'](_0x2ce4c7(0x242))}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x280),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x42483a['t'](_0x2ce4c7(0x2d9))}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x207),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x169)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x289),{'className':_0x2ce4c7(0x260),'children':'1'}),_0x42483a['t']('mcpConfig.configStep1')]}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x27c),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x289),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x42483a['t']('mcpConfig.configStep2')]}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x27c),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])('span',{'className':_0x2ce4c7(0x260),'children':'3'}),_0x42483a['t'](_0x2ce4c7(0x193))]})]})]})]}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':'univer-space-y-2','children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x2ca),'children':_0x2ce4c7(0x298)}),(0x0,_0x28aaf2['jsx'])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x259),'children':(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])('pre',{'className':_0x2ce4c7(0x17e),'children':JSON['stringify']({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x3985a9||_0x2ce4c7(0x25a)),'type':_0x2ce4c7(0x20b),'headers':{'Authorization':'Bearer\x20'+(_0x51cb72||_0x2ce4c7(0x2db))}}}},null,0x2)})})]}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x176),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x2ca),'children':_0x42483a['t']('mcpConfig.configParameters')}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':'univer-space-y-2','children':[(0x0,_0x28aaf2[_0x2ce4c7(0x169)])('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x1ba)}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x2ce4c7(0x1ec)}),(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x1cd),'children':_0x42483a['t'](_0x2ce4c7(0x293))})]})]}),(0x0,_0x28aaf2['jsxs'])('div',{'className':_0x2ce4c7(0x1e5),'children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x1ba)}),(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,_0x28aaf2['jsx'])(_0x2ce4c7(0x28c),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x2ce4c7(0x1ff)}),(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x1cd),'children':_0x42483a['t'](_0x2ce4c7(0x24e))})]})]})]})]})]})]}),(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x1efeff[_0x2ce4c7(0x2ba)],{'onClick':_0x22d523,'disabled':!_0x2e6c6b||_0x5224d8,'className':_0x2ce4c7(0x2c6),'children':_0x5224d8?(0x0,_0x28aaf2['jsxs'])(_0x2ce4c7(0x289),{'className':_0x2ce4c7(0x27c),'children':[(0x0,_0x28aaf2['jsx'])(_0x2ce4c7(0x289),{'children':'⟲'}),_0x42483a['t'](_0x2ce4c7(0x1b3))]}):(0x0,_0x28aaf2[_0x2ce4c7(0x169)])('span',{'className':_0x2ce4c7(0x27c),'children':[(0x0,_0x28aaf2['jsx'])(_0xa724fe,{}),_0x42483a['t'](_0x2ce4c7(0x2c7))]})}),(0x0,_0x28aaf2['jsx'])(_0x2ce4c7(0x28c),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':(0x0,_0x28aaf2[_0x2ce4c7(0x169)])(_0x2ce4c7(0x28c),{'className':'univer-flex\x20univer-gap-3','children':[(0x0,_0x28aaf2[_0x2ce4c7(0x2a2)])(_0x2ce4c7(0x289),{'className':_0x2ce4c7(0x206),'children':'💡'}),(0x0,_0x28aaf2['jsxs'])(_0x2ce4c7(0x28c),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[(0x0,_0x28aaf2['jsx'])(_0x2ce4c7(0x28c),{'className':_0x2ce4c7(0x183),'children':'Configuration\x20Notes:'}),(0x0,_0x28aaf2['jsxs'])(_0x2ce4c7(0x28c),{'children':['•',_0x42483a['t']('mcpConfig.note1')]}),(0x0,_0x28aaf2['jsxs'])('div',{'children':['•',_0x42483a['t'](_0x2ce4c7(0x191))]})]})]})})]})})]});}let _0x43d5ef=_0x506dcb(0x201),_0x5f1b82={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0x59e06a(_0x122605){'@babel/helpers - typeof';const _0x359359=_0x506dcb;return _0x59e06a=typeof Symbol==_0x359359(0x199)&&typeof Symbol[_0x359359(0x2ad)]==_0x359359(0x237)?function(_0x14aed0){return typeof _0x14aed0;}:function(_0x866805){const _0x53b2da=_0x359359;return _0x866805&&typeof Symbol=='function'&&_0x866805[_0x53b2da(0x1f4)]===Symbol&&_0x866805!==Symbol[_0x53b2da(0x22a)]?_0x53b2da(0x237):typeof _0x866805;},_0x59e06a(_0x122605);}function _0x483476(_0xb5cf65,_0x5bcf55){const _0x4952eb=_0x506dcb;if(_0x59e06a(_0xb5cf65)!='object'||!_0xb5cf65)return _0xb5cf65;var _0x3b3df1=_0xb5cf65[Symbol[_0x4952eb(0x28e)]];if(_0x3b3df1!==void 0x0){var _0x383c10=_0x3b3df1['call'](_0xb5cf65,_0x5bcf55||_0x4952eb(0x2ab));if(_0x59e06a(_0x383c10)!='object')return _0x383c10;throw TypeError(_0x4952eb(0x1b5));}return(_0x5bcf55==='string'?String:Number)(_0xb5cf65);}function _0x217ed6(_0x20806d){const _0x19f213=_0x506dcb;var _0x1f4f44=_0x483476(_0x20806d,_0x19f213(0x1b7));return _0x59e06a(_0x1f4f44)==_0x19f213(0x237)?_0x1f4f44:_0x1f4f44+'';}function _0x48c57a(_0x23d3ec,_0x1b6c86,_0x1d6306){const _0x219a74=_0x506dcb;return(_0x1b6c86=_0x217ed6(_0x1b6c86))in _0x23d3ec?Object[_0x219a74(0x288)](_0x23d3ec,_0x1b6c86,{'value':_0x1d6306,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x23d3ec[_0x1b6c86]=_0x1d6306,_0x23d3ec;}function _0x3f0016(_0x35098e,_0x17351f){return function(_0x680dda,_0x2d07d7){_0x17351f(_0x680dda,_0x2d07d7,_0x35098e);};}function _0x4d8622(_0x465dfc,_0x2145e2,_0x11d0fb,_0x15065e){const _0x279f49=_0x506dcb;var _0x5e346e=arguments[_0x279f49(0x2a7)],_0x2b9e40=_0x5e346e<0x3?_0x2145e2:_0x15065e===null?_0x15065e=Object['getOwnPropertyDescriptor'](_0x2145e2,_0x11d0fb):_0x15065e,_0x4c7702;if(typeof Reflect==_0x279f49(0x159)&&typeof Reflect[_0x279f49(0x166)]==_0x279f49(0x199))_0x2b9e40=Reflect[_0x279f49(0x166)](_0x465dfc,_0x2145e2,_0x11d0fb,_0x15065e);else{for(var _0x4dacc4=_0x465dfc[_0x279f49(0x2a7)]-0x1;_0x4dacc4>=0x0;_0x4dacc4--)(_0x4c7702=_0x465dfc[_0x4dacc4])&&(_0x2b9e40=(_0x5e346e<0x3?_0x4c7702(_0x2b9e40):_0x5e346e>0x3?_0x4c7702(_0x2145e2,_0x11d0fb,_0x2b9e40):_0x4c7702(_0x2145e2,_0x11d0fb))||_0x2b9e40);}return _0x5e346e>0x3&&_0x2b9e40&&Object['defineProperty'](_0x2145e2,_0x11d0fb,_0x2b9e40),_0x2b9e40;}let _0x487180=_0x506dcb(0x28b),_0x50ad31=_0x506dcb(0x1c3),_0x4730da=class extends _0x1ba4f6[_0x506dcb(0x221)]{constructor(_0x2f4335,_0x250cd8,_0x5c27d7,_0x3affda,_0x45cb97,_0xeed606,_0x4e1a98,_0x372d16,_0x3b2c87,_0x2679bb){const _0x2ecca4=_0x506dcb;super(),this['_injector']=_0x2f4335,this['_uiPartsService']=_0x250cd8,this[_0x2ecca4(0x187)]=_0x5c27d7,this['_localStorageService']=_0x3affda,this[_0x2ecca4(0x181)]=_0x45cb97,this[_0x2ecca4(0x18b)]=_0xeed606,this[_0x2ecca4(0x2bd)]=_0x4e1a98,this[_0x2ecca4(0x2a8)]=_0x372d16,this[_0x2ecca4(0x15d)]=_0x3b2c87,this[_0x2ecca4(0x21a)]=_0x2679bb,_0x48c57a(this,_0x2ecca4(0x256),new _0x556a3d['BehaviorSubject'](!0x1)),_0x48c57a(this,'_mcpCoreConfig$',new _0x556a3d[(_0x2ecca4(0x254))]({})),_0x48c57a(this,_0x2ecca4(0x2e3),new _0x556a3d[(_0x2ecca4(0x254))]({})),_0x48c57a(this,_0x2ecca4(0x2b5),new _0x556a3d[(_0x2ecca4(0x254))]('')),_0x48c57a(this,'_handleConfigSave',async _0x9fec8c=>{const _0x48ae95=_0x2ecca4;this[_0x48ae95(0x256)]['next'](!0x0);try{var _0x3333ee,_0x5abee1;let _0x1c23b7=await this[_0x48ae95(0x224)](_0x9fec8c);if(!_0x1c23b7[_0x48ae95(0x251)]){this[_0x48ae95(0x18b)][_0x48ae95(0x200)]({'type':_0x1efeff[_0x48ae95(0x274)][_0x48ae95(0x235)],'content':_0x1c23b7[_0x48ae95(0x20e)]||this[_0x48ae95(0x2a8)]['t'](_0x48ae95(0x26d))});return;}_0x9fec8c[_0x48ae95(0x222)]?await this['_localStorageService'][_0x48ae95(0x2e1)](_0x487180,_0x9fec8c['apiKey']['trim']()):await this[_0x48ae95(0x225)][_0x48ae95(0x29e)](_0x487180),this[_0x48ae95(0x2b5)]['next'](((_0x3333ee=_0x9fec8c['apiKey'])==null?void 0x0:_0x3333ee[_0x48ae95(0x291)]())||''),this[_0x48ae95(0x21a)][_0x48ae95(0x17f)]({'Authorization':_0x48ae95(0x15f)+((_0x5abee1=_0x9fec8c[_0x48ae95(0x222)])==null?void 0x0:_0x5abee1[_0x48ae95(0x291)]())}),this[_0x48ae95(0x18b)]['show']({'type':_0x1efeff['MessageType'][_0x48ae95(0x2ed)],'content':this['_localeService']['t'](_0x48ae95(0x2af))}),setTimeout(()=>{const _0x8e0c4f=_0x48ae95;this[_0x8e0c4f(0x181)][_0x8e0c4f(0x28f)](_0x50ad31);},0x320);}catch(_0x40af09){this['_logService']['error'](_0x48ae95(0x178),_0x40af09),this[_0x48ae95(0x18b)][_0x48ae95(0x200)]({'type':_0x1efeff[_0x48ae95(0x274)][_0x48ae95(0x235)],'content':this['_localeService']['t']('mcpConfig.configError')});}finally{this[_0x48ae95(0x256)]['next'](!0x1);}}),this['_initConfigSync'](),this['_loadStoredApiKey'](),this[_0x2ecca4(0x2d7)]();}[_0x506dcb(0x1a7)](){const _0x59d576=_0x506dcb;let _0x89bd4f=this[_0x59d576(0x187)][_0x59d576(0x1ed)](_0x43d5ef);_0x89bd4f!=null&&_0x89bd4f[_0x59d576(0x287)]&&this[_0x59d576(0x181)][_0x59d576(0x286)]({'id':_0x50ad31,'title':{'title':this[_0x59d576(0x2a8)]['t'](_0x59d576(0x18a))},'children':{'label':_0x59d576(0x1cc)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3faea6=_0x59d576;this[_0x3faea6(0x181)]['close'](_0x50ad31);}});}[_0x506dcb(0x268)](){const _0x5ec73a=_0x506dcb;return this[_0x5ec73a(0x1c2)]['value'];}[_0x506dcb(0x2d7)](){const _0x516ba5=_0x506dcb;this[_0x516ba5(0x296)](this[_0x516ba5(0x2bd)]['register'](_0x516ba5(0x1cc),this[_0x516ba5(0x1af)]()));}[_0x506dcb(0x1af)](){return(0x0,_0x52d015['connectInjector'])(()=>{const _0x3fefbb=_0x20ec;var _0x5310c5,_0xd17123,_0x2328a8;return(0x0,_0x28aaf2['jsx'])(_0x4a9d9e,{'config':this[_0x3fefbb(0x2e3)][_0x3fefbb(0x263)],'mcpCoreConfig':this[_0x3fefbb(0x1c2)][_0x3fefbb(0x263)],'currentApiKey$':this[_0x3fefbb(0x2b5)],'onSave':this['_handleConfigSave'],'loading':this[_0x3fefbb(0x256)][_0x3fefbb(0x263)],'connectionStatus$':(_0x5310c5=this[_0x3fefbb(0x21a)])==null?void 0x0:_0x5310c5[_0x3fefbb(0x2d3)],'connectionError$':(_0xd17123=this['_mcpConnectionController'])==null?void 0x0:_0xd17123[_0x3fefbb(0x154)],'currentSessionId$':(_0x2328a8=this[_0x3fefbb(0x21a)])==null?void 0x0:_0x2328a8[_0x3fefbb(0x2a5)]});},this['_injector']);}[_0x506dcb(0x1e7)](){const _0xbd2e2a=_0x506dcb;this[_0xbd2e2a(0x296)](this[_0xbd2e2a(0x187)][_0xbd2e2a(0x196)](_0x1aeff4[_0xbd2e2a(0x2cb)])[_0xbd2e2a(0x1f9)](_0x786bf2=>{const _0x38d373=_0xbd2e2a;this[_0x38d373(0x1c2)]['next'](_0x786bf2||{});}));let _0x4d1865=this[_0xbd2e2a(0x187)][_0xbd2e2a(0x1ed)](_0x1aeff4[_0xbd2e2a(0x2cb)]);this[_0xbd2e2a(0x1c2)]['next'](_0x4d1865||{}),this[_0xbd2e2a(0x296)](this['_configService'][_0xbd2e2a(0x196)](_0x43d5ef)[_0xbd2e2a(0x1f9)](_0x1fbc5f=>{const _0x272182=_0xbd2e2a;this[_0x272182(0x2e3)]['next'](_0x1fbc5f||{});}));let _0x365d54=this[_0xbd2e2a(0x187)][_0xbd2e2a(0x1ed)](_0x43d5ef);this['_config$'][_0xbd2e2a(0x1b6)](_0x365d54||{});}async['_loadStoredApiKey'](){const _0xe33bb=_0x506dcb;let _0x5a4e93=this[_0xe33bb(0x187)]['getConfig'](_0x43d5ef);if(!(_0x5a4e93!=null&&_0x5a4e93[_0xe33bb(0x287)]))return;let _0x4cf253=await this[_0xe33bb(0x225)][_0xe33bb(0x218)](_0x487180);_0x4cf253&&(this['_mcpConnectionController'][_0xe33bb(0x17f)]({'Authorization':_0xe33bb(0x15f)+_0x4cf253}),this[_0xe33bb(0x2b5)][_0xe33bb(0x1b6)](_0x4cf253));}async[_0x506dcb(0x224)](_0x1bd793){const _0x203baa=_0x506dcb;if(!_0x1bd793[_0x203baa(0x222)]||_0x1bd793[_0x203baa(0x222)][_0x203baa(0x291)]()[_0x203baa(0x2a7)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x203baa(0x2a8)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x1bd793[_0x203baa(0x222)]['trim']()[_0x203baa(0x2a7)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyTooShort')};try{let _0xc515e6=await this['_injector'][_0x203baa(0x1f6)](_0x1aeff4['MCPConnectionController'])['validateApiKey'](_0x1bd793['apiKey'][_0x203baa(0x291)]());return _0xc515e6['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0xc515e6['error']||this[_0x203baa(0x2a8)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x52d83a){return console[_0x203baa(0x244)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x52d83a),{'isValid':!0x0};}}};_0x4730da=_0x4d8622([_0x3f0016(0x0,(0x0,_0x1ba4f6[_0x506dcb(0x1e1)])(_0x1ba4f6[_0x506dcb(0x1a5)])),_0x3f0016(0x1,_0x52d015[_0x506dcb(0x157)]),_0x3f0016(0x2,_0x1ba4f6[_0x506dcb(0x2e7)]),_0x3f0016(0x3,_0x1ba4f6[_0x506dcb(0x1a2)]),_0x3f0016(0x4,_0x52d015[_0x506dcb(0x2ee)]),_0x3f0016(0x5,_0x52d015[_0x506dcb(0x257)]),_0x3f0016(0x6,(0x0,_0x1ba4f6[_0x506dcb(0x1e1)])(_0x52d015[_0x506dcb(0x212)])),_0x3f0016(0x7,(0x0,_0x1ba4f6[_0x506dcb(0x1e1)])(_0x1ba4f6[_0x506dcb(0x23b)])),_0x3f0016(0x8,_0x1ba4f6['ILogService']),_0x3f0016(0x9,(0x0,_0x1ba4f6[_0x506dcb(0x1e1)])(_0x1aeff4[_0x506dcb(0x1ae)]))],_0x4730da);let _0x297967={'id':_0x506dcb(0x1a9),'type':_0x1ba4f6[_0x506dcb(0x24b)][_0x506dcb(0x1d8)],'handler':async(_0x38977e,_0x2aa733)=>(_0x38977e[_0x506dcb(0x1f6)](_0x4730da)[_0x506dcb(0x1a7)](),!0x0)};function _0x90d15a(_0x337ece,_0x4e7810){const _0x4887c4=_0x506dcb;switch(_0x337ece){case _0x1aeff4[_0x4887c4(0x245)][_0x4887c4(0x1e2)]:return _0x4887c4(0x25d);case _0x1aeff4['MCPConnectionStatus'][_0x4887c4(0x2b0)]:return _0x4887c4(0x1be);case _0x1aeff4['MCPConnectionStatus']['CONNECTED']:return _0x4887c4(0x1da);case _0x1aeff4[_0x4887c4(0x245)][_0x4887c4(0x1fb)]:switch(_0x4e7810){case _0x1aeff4[_0x4887c4(0x2e6)][_0x4887c4(0x155)]:return _0x4887c4(0x23d);case _0x1aeff4['MCPConnectionError'][_0x4887c4(0x16c)]:return _0x4887c4(0x2d1);case _0x1aeff4[_0x4887c4(0x2e6)]['NETWORK_ERROR']:return _0x4887c4(0x20a);case _0x1aeff4[_0x4887c4(0x2e6)]['MAX_RETRIES_EXCEEDED']:return _0x4887c4(0x2d5);default:return'mcpStatus.failed';}case _0x1aeff4[_0x4887c4(0x245)][_0x4887c4(0x22c)]:return _0x4887c4(0x16e);default:return _0x4887c4(0x240);}}function _0x3f1e13(_0x1813f8,_0x239a39,_0x561a78,_0x49e5b8=!0x0){const _0x1cc432=_0x506dcb;let _0x370b45=_0x90d15a(_0x1813f8,_0x239a39),_0x5b1278=_0x561a78['t'](_0x370b45);return _0x49e5b8?_0x1813f8===_0x1aeff4['MCPConnectionStatus'][_0x1cc432(0x1e2)]&&_0x239a39===_0x1aeff4[_0x1cc432(0x2e6)][_0x1cc432(0x155)]?_0x5b1278+_0x1cc432(0x265)+_0x561a78['t'](_0x1cc432(0x156)):_0x1813f8===_0x1aeff4['MCPConnectionStatus'][_0x1cc432(0x1c5)]?''+_0x5b1278:_0x1813f8===_0x1aeff4['MCPConnectionStatus'][_0x1cc432(0x1e2)]||_0x1813f8===_0x1aeff4['MCPConnectionStatus'][_0x1cc432(0x1fb)]?_0x5b1278+_0x1cc432(0x265)+_0x561a78['t'](_0x1cc432(0x252)):_0x5b1278:_0x5b1278;}function _0x675a7c(_0x3fae7f){const _0x577ae7=_0x506dcb;switch(_0x3fae7f){case _0x1aeff4['MCPConnectionStatus']['CONNECTED']:return _0x577ae7(0x180);case _0x1aeff4[_0x577ae7(0x245)][_0x577ae7(0x2b0)]:case _0x1aeff4[_0x577ae7(0x245)]['RETRYING']:return _0x577ae7(0x1db);case _0x1aeff4[_0x577ae7(0x245)]['FAILED']:case _0x1aeff4[_0x577ae7(0x245)][_0x577ae7(0x1e2)]:return _0x577ae7(0x2eb);default:return'univer-text-gray-500';}}function _0x4e683a(_0x3093b8){const _0x41128b=_0x506dcb;let {status$:_0x286aa6,error$:_0x3463b3,onConfigure:_0x5f3509,showClickable:_0x141232=!0x0}=_0x3093b8,_0x4c24ed=(0x0,_0x52d015[_0x41128b(0x285)])(_0x286aa6,_0x1aeff4['MCPConnectionStatus']['DISCONNECTED']),_0x4028f1=(0x0,_0x52d015[_0x41128b(0x285)])(_0x3463b3,_0x1aeff4[_0x41128b(0x2e6)][_0x41128b(0x264)]),_0x306e8c=(0x0,_0x52d015[_0x41128b(0x1a6)])(_0x1ba4f6[_0x41128b(0x23b)]),_0x1e97f0=_0x4c24ed===_0x1aeff4[_0x41128b(0x245)][_0x41128b(0x1c5)];_0x4c24ed===_0x1aeff4[_0x41128b(0x245)][_0x41128b(0x2b0)]||_0x1aeff4['MCPConnectionStatus'][_0x41128b(0x22c)];let _0x10ccbd=_0x306e8c['t'](_0x90d15a(_0x4c24ed,_0x4028f1)),_0x6b7229=_0x3f1e13(_0x4c24ed,_0x4028f1,_0x306e8c,_0x141232),_0x5b2c75=_0x675a7c(_0x4c24ed),_0x5957e5=_0x1e97f0?(0x0,_0x28aaf2[_0x41128b(0x2a2)])(_0x41515d,{}):(0x0,_0x28aaf2[_0x41128b(0x2a2)])(_0x348fdb,{}),_0x2e6b0d=(0x0,_0x15d4fe['useCallback'])(()=>{_0x141232&&_0x5f3509&&_0x5f3509();},[_0x141232,_0x5f3509]);function _0xb65e8b(){const _0x193529=_0x41128b;return(0x0,_0x28aaf2[_0x193529(0x169)])(_0x193529(0x28c),{'className':(0x0,_0x1efeff['clsx'])(_0x193529(0x234),_0x141232&&_0x5f3509&&'univer-cursor-pointer\x20hover:univer-opacity-80'),'role':'button','onClick':_0x141232&&_0x5f3509?_0x2e6b0d:void 0x0,'children':[(0x0,_0x28aaf2[_0x193529(0x2a2)])(_0x193529(0x28c),{'className':(0x0,_0x1efeff['clsx'])('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x5b2c75),'children':_0x5957e5}),(0x0,_0x28aaf2[_0x193529(0x2a2)])(_0x193529(0x28c),{'className':_0x193529(0x261),'children':_0x10ccbd})]});}return(0x0,_0x28aaf2[_0x41128b(0x2a2)])(_0x1efeff['Tooltip'],{'title':_0x6b7229,'placement':'bottom','children':_0xb65e8b()});}let _0x5db734=class extends _0x1ba4f6['Disposable']{constructor(_0x52c08e,_0x586fa0,_0x3f0221,_0x267f62){const _0xf95e2c=_0x506dcb;super(),this[_0xf95e2c(0x258)]=_0x52c08e,this[_0xf95e2c(0x241)]=_0x586fa0,this[_0xf95e2c(0x2a6)]=_0x3f0221,this['_configService']=_0x267f62,this[_0xf95e2c(0x214)](),this[_0xf95e2c(0x2be)]();}['_initAutoConnect'](){const _0xbef6c0=_0x506dcb;let _0x542f7d=this[_0xbef6c0(0x187)][_0xbef6c0(0x1ed)](_0x43d5ef);_0x542f7d!=null&&_0x542f7d[_0xbef6c0(0x287)]&&(this[_0xbef6c0(0x241)]['enableAutoConnect']=!0x1);}['_initStatusComponent'](){const _0x174fda=_0x506dcb;let _0x485063=this['_configService'][_0x174fda(0x1ed)](_0x43d5ef);(_0x485063==null?void 0x0:_0x485063[_0x174fda(0x1e9)])!==!0x1&&this['disposeWithMe'](this['_uiPartsService'][_0x174fda(0x1cf)](_0x52d015['BuiltInUIPart'][_0x174fda(0x24f)],()=>{const _0x337684=_0x174fda;var _0x1d3873;return(0x0,_0x52d015[_0x337684(0x28a)])(_0x567161({'status$':this[_0x337684(0x241)]['connectionStatus$'],'error$':this[_0x337684(0x241)][_0x337684(0x154)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x1d3873=_0x485063==null?void 0x0:_0x485063[_0x337684(0x287)])==null?!0x1:_0x1d3873}),this[_0x337684(0x258)]);}));}[_0x506dcb(0x2ea)](){const _0x58df80=_0x506dcb;this['_injector'][_0x58df80(0x1f6)](_0x4730da)[_0x58df80(0x1a7)]();}};_0x5db734=_0x4d8622([_0x3f0016(0x0,(0x0,_0x1ba4f6[_0x506dcb(0x1e1)])(_0x1ba4f6[_0x506dcb(0x1a5)])),_0x3f0016(0x1,(0x0,_0x1ba4f6[_0x506dcb(0x1e1)])(_0x1aeff4['MCPConnectionController'])),_0x3f0016(0x2,_0x52d015[_0x506dcb(0x157)]),_0x3f0016(0x3,_0x1ba4f6[_0x506dcb(0x2e7)])],_0x5db734);function _0x567161(_0xe89b11){let {status$:_0x6d5a15,error$:_0xd0483a,onConfigure:_0x2aade4,showClickable:_0x53b8b5}=_0xe89b11;return function(){return(0x0,_0x28aaf2['jsx'])(_0x4e683a,{'status$':_0x6d5a15,'error$':_0xd0483a,'onConfigure':_0x2aade4,'showClickable':_0x53b8b5});};}function _0x579e0a(_0x44a92e){const _0x23fee9=_0x506dcb;return{'id':_0x297967['id'],'type':_0x52d015['MenuItemType'][_0x23fee9(0x1bb)],'icon':_0x23fee9(0x197),'title':_0x23fee9(0x18a),'tooltip':_0x23fee9(0x18a)};}let _0x364d0f={[_0x52d015[_0x506dcb(0x1de)][_0x506dcb(0x1c8)]]:{[_0x297967['id']]:{'order':0xa,'menuItemFactory':_0x579e0a}}},_0x3b272d=class extends _0x1ba4f6[_0x506dcb(0x221)]{constructor(_0x56d483,_0x455d51){const _0x1b7039=_0x506dcb;super(),this[_0x1b7039(0x2d4)]=_0x56d483,this[_0x1b7039(0x255)]=_0x455d51,this[_0x1b7039(0x1d3)](),this['_initializeMenus']();}['_initializeCommands'](){const _0x70403b=_0x506dcb;[_0x297967][_0x70403b(0x1ab)](_0x22636e=>{const _0x160df7=_0x70403b;this[_0x160df7(0x296)](this[_0x160df7(0x2d4)][_0x160df7(0x1b9)](_0x22636e));});}['_initializeMenus'](){const _0x537856=_0x506dcb;this[_0x537856(0x255)][_0x537856(0x158)](_0x364d0f);}};_0x3b272d=_0x4d8622([_0x3f0016(0x0,_0x1ba4f6['ICommandService']),_0x3f0016(0x1,_0x52d015['IMenuManagerService'])],_0x3b272d);let _0x1628ee={'mcpStatus':{'disconnected':_0x506dcb(0x238),'connecting':'MCP\x20Connecting...','connected':_0x506dcb(0x27e),'failed':_0x506dcb(0x2c2),'retrying':_0x506dcb(0x27b),'unknown':_0x506dcb(0x20d),'unauthorized':_0x506dcb(0x1b1),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x506dcb(0x2c1),'maxRetriesExceeded':_0x506dcb(0x1f3),'clickToConnect':_0x506dcb(0x2e5),'clickToConfigure':_0x506dcb(0x24a)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x506dcb(0x1df),'apiKeyPlaceholder':_0x506dcb(0x18f),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x506dcb(0x1c0),'enableAuthHint':_0x506dcb(0x22b),'connectionInfo':_0x506dcb(0x275),'mcpClientConfig':_0x506dcb(0x275),'configInstructions':_0x506dcb(0x205),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x506dcb(0x1c1),'configStep2':_0x506dcb(0x223),'configStep3':_0x506dcb(0x230),'sessionId':'Session\x20ID','sessionIdDescription':_0x506dcb(0x2b2),'authorizationDescription':_0x506dcb(0x19c),'configParameters':_0x506dcb(0x216),'maxRetries':_0x506dcb(0x174),'save':_0x506dcb(0x226),'saving':_0x506dcb(0x1d7),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x506dcb(0x2b1),'configSaved':_0x506dcb(0x2c3),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x506dcb(0x15e),'description':_0x506dcb(0x227),'univerAiLabel':_0x506dcb(0x194),'getStarted':_0x506dcb(0x2c9)},'validation':{'apiKeyRequired':_0x506dcb(0x185),'apiKeyTooShort':_0x506dcb(0x233),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x506dcb(0x2d6)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x506dcb(0x273),'connected':_0x506dcb(0x25e),'failed':_0x506dcb(0x18c),'retrying':_0x506dcb(0x2dd)},'connectionError':{'unauthorized':_0x506dcb(0x27f),'sessionOccupied':_0x506dcb(0x299),'networkError':_0x506dcb(0x1bd),'maxRetriesExceeded':_0x506dcb(0x266)}}},_0x126c71={'mcpStatus':{'disconnected':_0x506dcb(0x2cd),'connecting':'MCP\x20连接中...','connected':_0x506dcb(0x17d),'failed':_0x506dcb(0x162),'retrying':'MCP\x20重连中...','unknown':_0x506dcb(0x243),'unauthorized':_0x506dcb(0x2a9),'sessionOccupied':_0x506dcb(0x160),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x506dcb(0x217),'clickToConfigure':_0x506dcb(0x2e2)},'mcpConfig':{'title':_0x506dcb(0x2a0),'description':_0x506dcb(0x25b),'apiKey':_0x506dcb(0x1d5),'apiKeyPlaceholder':_0x506dcb(0x184),'apiKeyHint':_0x506dcb(0x2b3),'enableAuth':_0x506dcb(0x2d2),'enableAuthHint':_0x506dcb(0x228),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x506dcb(0x17b),'configInstructions':_0x506dcb(0x165),'configStepTitle':'配置步骤:','configStep1':_0x506dcb(0x297),'configStep2':_0x506dcb(0x1d2),'configStep3':_0x506dcb(0x23c),'sessionId':_0x506dcb(0x23e),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x506dcb(0x26b),'configParameters':_0x506dcb(0x186),'maxRetries':_0x506dcb(0x271),'save':_0x506dcb(0x1e0),'saving':_0x506dcb(0x168),'note1':_0x506dcb(0x1e4),'note2':_0x506dcb(0x22d),'configSaved':_0x506dcb(0x2e9),'configError':_0x506dcb(0x1dc),'apiApplyInfo':{'title':_0x506dcb(0x1d9),'description':_0x506dcb(0x1a4),'univerAiLabel':_0x506dcb(0x1d4),'getStarted':_0x506dcb(0x284)},'validation':{'apiKeyRequired':_0x506dcb(0x2cf),'apiKeyTooShort':_0x506dcb(0x204),'invalidConfig':_0x506dcb(0x16d),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x506dcb(0x2ac),'connecting':'连接中...','connected':_0x506dcb(0x164),'failed':_0x506dcb(0x246),'retrying':'重连中...'},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x506dcb(0x2c8),'networkError':_0x506dcb(0x1a8),'maxRetriesExceeded':_0x506dcb(0x279)}}};var _0x52c95a=_0x506dcb(0x278),_0x163d02='1.0.0-alpha.1';let _0x6732cf=class extends _0x1ba4f6['Plugin']{constructor(_0x4bc5eb=_0x5f1b82,_0x4fc069,_0x33c5b4,_0x313a6d,_0x10bd15,_0x487fbd){const _0x515e21=_0x506dcb;super(),this['_config']=_0x4bc5eb,this[_0x515e21(0x258)]=_0x4fc069,this[_0x515e21(0x187)]=_0x33c5b4,this[_0x515e21(0x2a6)]=_0x313a6d,this[_0x515e21(0x225)]=_0x10bd15,this[_0x515e21(0x2a8)]=_0x487fbd;let {..._0x469680}=(0x0,_0x1ba4f6[_0x515e21(0x18e)])({},_0x5f1b82,this[_0x515e21(0x1ad)]);this['_configService'][_0x515e21(0x1e6)](_0x43d5ef,_0x469680);}async[_0x506dcb(0x172)](){const _0x303d2b=_0x506dcb;let _0xd16e79=[[_0x5db734],[_0x4730da],[_0x3b272d]];this[_0x303d2b(0x258)][_0x303d2b(0x195)](_0x77da7e[_0x303d2b(0x1b2)])||_0xd16e79['push']([_0x77da7e[_0x303d2b(0x1b2)],{'useClass':_0x77da7e[_0x303d2b(0x22f)]}]),_0xd16e79[_0x303d2b(0x1ab)](_0x425a40=>this[_0x303d2b(0x258)]['add'](_0x425a40)),this[_0x303d2b(0x258)][_0x303d2b(0x1f6)](_0x5db734),this[_0x303d2b(0x258)]['get'](_0x4730da),this['_injector']['get'](_0x3b272d);}};_0x48c57a(_0x6732cf,_0x506dcb(0x248),_0x506dcb(0x1ef)),_0x48c57a(_0x6732cf,'packageName',_0x52c95a),_0x48c57a(_0x6732cf,_0x506dcb(0x282),_0x163d02),_0x6732cf=_0x4d8622([(0x0,_0x1ba4f6['DependentOn'])(_0x1aeff4[_0x506dcb(0x247)]),_0x3f0016(0x1,(0x0,_0x1ba4f6[_0x506dcb(0x1e1)])(_0x1ba4f6[_0x506dcb(0x1a5)])),_0x3f0016(0x2,_0x1ba4f6['IConfigService']),_0x3f0016(0x3,_0x52d015[_0x506dcb(0x157)]),_0x3f0016(0x4,_0x1ba4f6[_0x506dcb(0x1a2)]),_0x3f0016(0x5,(0x0,_0x1ba4f6[_0x506dcb(0x1e1)])(_0x1ba4f6[_0x506dcb(0x23b)]))],_0x6732cf),_0x3c77f6['MCPConfigPanel']=_0x4a9d9e,Object[_0x506dcb(0x288)](_0x3c77f6,'MCPConfigUIController',{'enumerable':!0x0,'get':function(){return _0x4730da;}}),Object[_0x506dcb(0x288)](_0x3c77f6,_0x506dcb(0x2e4),{'enumerable':!0x0,'get':function(){return _0x5db734;}}),_0x3c77f6[_0x506dcb(0x2c4)]=_0x4e683a,Object['defineProperty'](_0x3c77f6,'MCPUIMenuController',{'enumerable':!0x0,'get':function(){return _0x3b272d;}}),_0x3c77f6[_0x506dcb(0x20c)]=_0x297967,Object[_0x506dcb(0x288)](_0x3c77f6,_0x506dcb(0x2e8),{'enumerable':!0x0,'get':function(){return _0x6732cf;}}),_0x3c77f6[_0x506dcb(0x170)]=_0x1628ee,_0x3c77f6[_0x506dcb(0x2aa)]=_0x126c71;}));