@univerjs-pro/mcp-ui 0.10.10-nightly.202510180327 → 0.10.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/ca-ES.js +1 -1
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/es-ES.js +1 -1
  38. package/lib/umd/locale/fa-IR.js +1 -1
  39. package/lib/umd/locale/fr-FR.js +1 -1
  40. package/lib/umd/locale/ko-KR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +7 -7
@@ -1 +1 @@
1
- const _0x54ec5e=_0x3e03;(function(_0x1415ad,_0x114040){const _0x36553c=_0x3e03,_0x2d67af=_0x1415ad();while(!![]){try{const _0x1f0784=-parseInt(_0x36553c(0x1d5))/0x1*(parseInt(_0x36553c(0x1c0))/0x2)+-parseInt(_0x36553c(0x1e5))/0x3+-parseInt(_0x36553c(0x1ca))/0x4+-parseInt(_0x36553c(0x1c7))/0x5*(parseInt(_0x36553c(0x1d9))/0x6)+-parseInt(_0x36553c(0x1ce))/0x7*(-parseInt(_0x36553c(0x1d4))/0x8)+-parseInt(_0x36553c(0x1c3))/0x9+parseInt(_0x36553c(0x1c9))/0xa;if(_0x1f0784===_0x114040)break;else _0x2d67af['push'](_0x2d67af['shift']());}catch(_0x24fe4e){_0x2d67af['push'](_0x2d67af['shift']());}}}(_0x4e79,0x5ca2c));function _0x4e79(){const _0x3869df=['MCP\x20Connected','152OQviRY','10tLJhay','Copy\x20the\x20JSON\x20configuration\x20below','Max\x20Retries','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','12mvVfOy','MCP\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Session\x20ID\x20Occupied','Disconnected','Invalid\x20configuration','Connecting...','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed','API\x20Key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','924258hEdAzu','Configuration\x20Parameters:','Univer\x20AI\x20Console','MCP:\x20Unauthorized','MCP\x20Client\x20Configuration','API\x20key\x20is\x20required','Enable\x20Authentication','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Disconnected','MCP\x20Unknown\x20Status','Configuration\x20saved\x20successfully','10444vIPjhh','What\x20is\x20API\x20Key?','Configuration\x20Steps:','6397272JiQITz','Session\x20ID','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connection\x20Failed','647620fbUdzJ','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','22448410uqKtvS','2837588zuQVVk','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connected','64162cwplMJ','Retrying...','MCP\x20Connecting...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Failed\x20to\x20save\x20configuration'];_0x4e79=function(){return _0x3869df;};return _0x4e79();}function _0x3e03(_0x5b349e,_0xea813d){const _0x4e7977=_0x4e79();return _0x3e03=function(_0x3e0323,_0x296b73){_0x3e0323=_0x3e0323-0x1b8;let _0x3c199f=_0x4e7977[_0x3e0323];return _0x3c199f;},_0x3e03(_0x5b349e,_0xea813d);}const e={'mcpStatus':{'disconnected':_0x54ec5e(0x1bd),'connecting':_0x54ec5e(0x1d0),'connected':_0x54ec5e(0x1d3),'failed':_0x54ec5e(0x1e2),'retrying':'MCP\x20Retrying...','unknown':_0x54ec5e(0x1be),'unauthorized':_0x54ec5e(0x1e8),'sessionOccupied':_0x54ec5e(0x1dd),'networkError':_0x54ec5e(0x1e1),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x54ec5e(0x1da),'description':_0x54ec5e(0x1bc),'apiKey':_0x54ec5e(0x1e3),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x54ec5e(0x1c8),'enableAuth':_0x54ec5e(0x1b9),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x54ec5e(0x1e9),'mcpClientConfig':_0x54ec5e(0x1e9),'configInstructions':_0x54ec5e(0x1dc),'configStepTitle':_0x54ec5e(0x1c2),'configStep1':_0x54ec5e(0x1d6),'configStep2':_0x54ec5e(0x1e4),'configStep3':_0x54ec5e(0x1d8),'sessionId':_0x54ec5e(0x1c4),'sessionIdDescription':_0x54ec5e(0x1cc),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x54ec5e(0x1e6),'maxRetries':_0x54ec5e(0x1d7),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x54ec5e(0x1cb),'note2':_0x54ec5e(0x1ba),'configSaved':_0x54ec5e(0x1bf),'configError':_0x54ec5e(0x1d2),'apiApplyInfo':{'title':_0x54ec5e(0x1c1),'description':_0x54ec5e(0x1c5),'univerAiLabel':_0x54ec5e(0x1e7),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x54ec5e(0x1b8),'apiKeyTooShort':_0x54ec5e(0x1db),'invalidConfig':_0x54ec5e(0x1df),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x54ec5e(0x1de),'connecting':_0x54ec5e(0x1e0),'connected':_0x54ec5e(0x1cd),'failed':_0x54ec5e(0x1c6),'retrying':_0x54ec5e(0x1cf)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x54ec5e(0x1d1),'maxRetriesExceeded':_0x54ec5e(0x1bb)}}},n=e;export{n as default};
1
+ const _0x2d7554=_0x5d5f;function _0x5d5f(_0x4a9b95,_0x3cf53b){const _0x3753fd=_0x3753();return _0x5d5f=function(_0x5d5fbe,_0x8bcdf2){_0x5d5fbe=_0x5d5fbe-0x177;let _0x4a4345=_0x3753fd[_0x5d5fbe];return _0x4a4345;},_0x5d5f(_0x4a9b95,_0x3cf53b);}(function(_0x51dce9,_0x281766){const _0x3020dc=_0x5d5f,_0x304643=_0x51dce9();while(!![]){try{const _0x4b191e=parseInt(_0x3020dc(0x1a0))/0x1+-parseInt(_0x3020dc(0x1a2))/0x2*(-parseInt(_0x3020dc(0x196))/0x3)+-parseInt(_0x3020dc(0x17f))/0x4*(parseInt(_0x3020dc(0x192))/0x5)+-parseInt(_0x3020dc(0x18e))/0x6+parseInt(_0x3020dc(0x18c))/0x7*(-parseInt(_0x3020dc(0x17d))/0x8)+-parseInt(_0x3020dc(0x179))/0x9*(-parseInt(_0x3020dc(0x1a3))/0xa)+-parseInt(_0x3020dc(0x19c))/0xb*(-parseInt(_0x3020dc(0x18f))/0xc);if(_0x4b191e===_0x281766)break;else _0x304643['push'](_0x304643['shift']());}catch(_0x3941c6){_0x304643['push'](_0x304643['shift']());}}}(_0x3753,0x45462));function _0x3753(){const _0x55c886=['Enable\x20authentication\x20for\x20secure\x20connections','7PLqKmD','Connection\x20Failed','2832054mCSFnx','592716ixwGon','Configuration\x20Parameters:','Connected','15jViOrx','Enter\x20your\x20API\x20key','API\x20key\x20with\x20Bearer\x20prefix.','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','3EPSwLq','MCP:\x20Max\x20Retries\x20Exceeded','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Network\x20Error','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Session\x20ID\x20Occupied','187wfNxvD','Click\x20to\x20configure\x20MCP','MCP\x20Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','12937xFAmQY','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','699946yDhzPq','110OLexWY','What\x20is\x20API\x20Key?','MCP\x20Connecting...','MCP\x20Unknown\x20Status','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Max\x20Retries','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20Key','291807lHzlGm','Save\x20Configuration','MCP\x20Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','3360448yCIAsC','API\x20key\x20is\x20required','511244nCFnjx','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Click\x20to\x20connect\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Configuration','Univer\x20AI\x20Console','Disconnected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Disconnected','Invalid\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets'];_0x3753=function(){return _0x55c886;};return _0x3753();}const e={'mcpStatus':{'disconnected':_0x2d7554(0x188),'connecting':_0x2d7554(0x1a5),'connected':_0x2d7554(0x17b),'failed':'MCP\x20Connection\x20Failed','retrying':_0x2d7554(0x19e),'unknown':_0x2d7554(0x1a6),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x2d7554(0x19b),'networkError':_0x2d7554(0x199),'maxRetriesExceeded':_0x2d7554(0x197),'clickToConnect':_0x2d7554(0x182),'clickToConfigure':_0x2d7554(0x19d)},'mcpConfig':{'title':_0x2d7554(0x184),'description':_0x2d7554(0x18a),'apiKey':_0x2d7554(0x178),'apiKeyPlaceholder':_0x2d7554(0x193),'apiKeyHint':_0x2d7554(0x19a),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2d7554(0x18b),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x2d7554(0x1a9),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x2d7554(0x187),'configStep3':_0x2d7554(0x180),'sessionId':'Session\x20ID','sessionIdDescription':_0x2d7554(0x183),'authorizationDescription':_0x2d7554(0x194),'configParameters':_0x2d7554(0x190),'maxRetries':_0x2d7554(0x1aa),'save':_0x2d7554(0x17a),'saving':'Saving...','note1':_0x2d7554(0x1a1),'note2':_0x2d7554(0x198),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2d7554(0x1a4),'description':_0x2d7554(0x1a8),'univerAiLabel':_0x2d7554(0x185),'getStarted':_0x2d7554(0x19f)},'validation':{'apiKeyRequired':_0x2d7554(0x17e),'apiKeyTooShort':_0x2d7554(0x17c),'invalidConfig':_0x2d7554(0x189),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2d7554(0x186),'connecting':'Connecting...','connected':_0x2d7554(0x191),'failed':_0x2d7554(0x18d),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2d7554(0x195),'sessionOccupied':_0x2d7554(0x177),'networkError':_0x2d7554(0x1a7),'maxRetriesExceeded':_0x2d7554(0x181)}}},n=e;export{n as default};
@@ -1 +1 @@
1
- const _0x56269d=_0x3b4b;function _0x5dfa(){const _0x518c28=['Enter\x20your\x20API\x20key','Univer\x20AI\x20Console','Save\x20Configuration','MCP\x20Disconnected','MCP\x20Configuration','1194099jdZpMi','Click\x20to\x20configure\x20MCP','4792214cvzVbm','Session\x20ID','9669420bMDcmE','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','3WKLtQA','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','3608795YeUXXA','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','6084552djsAFy','Configuration\x20saved\x20successfully','MCP\x20Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20Steps:','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Network\x20Error','MCP:\x20Unauthorized','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Parameters:','Connected','Invalid\x20configuration','API\x20Key','API\x20key\x20is\x20required','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','Click\x20to\x20connect\x20MCP','Copy\x20the\x20JSON\x20configuration\x20below','What\x20is\x20API\x20Key?','Enable\x20Authentication','Retrying...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Get\x20your\x20API\x20key\x20in\x20seconds','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','29079248Taykrz','MCP:\x20Session\x20ID\x20Occupied','Connection\x20Failed','3217636pwQeRq','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connecting...','MCP\x20Unknown\x20Status'];_0x5dfa=function(){return _0x518c28;};return _0x5dfa();}function _0x3b4b(_0xedebf9,_0x354fbc){const _0x5dfa2c=_0x5dfa();return _0x3b4b=function(_0x3b4b9c,_0x3b21f6){_0x3b4b9c=_0x3b4b9c-0xf2;let _0x217c41=_0x5dfa2c[_0x3b4b9c];return _0x217c41;},_0x3b4b(_0xedebf9,_0x354fbc);}(function(_0x56b81f,_0x42a2ae){const _0x12abe2=_0x3b4b,_0x4e8fcb=_0x56b81f();while(!![]){try{const _0x1658d3=parseInt(_0x12abe2(0x108))/0x1+parseInt(_0x12abe2(0xff))/0x2*(parseInt(_0x12abe2(0x10e))/0x3)+parseInt(_0x12abe2(0x112))/0x4+-parseInt(_0x12abe2(0x110))/0x5+parseInt(_0x12abe2(0x10c))/0x6+-parseInt(_0x12abe2(0x10a))/0x7+-parseInt(_0x12abe2(0xfc))/0x8;if(_0x1658d3===_0x42a2ae)break;else _0x4e8fcb['push'](_0x4e8fcb['shift']());}catch(_0x58124e){_0x4e8fcb['push'](_0x4e8fcb['shift']());}}}(_0x5dfa,0xda596));const e={'mcpStatus':{'disconnected':_0x56269d(0x106),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x56269d(0x114),'unknown':_0x56269d(0x102),'unauthorized':_0x56269d(0x11b),'sessionOccupied':_0x56269d(0xfd),'networkError':_0x56269d(0x11a),'maxRetriesExceeded':_0x56269d(0x119),'clickToConnect':_0x56269d(0xf3),'clickToConfigure':_0x56269d(0x109)},'mcpConfig':{'title':_0x56269d(0x107),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x56269d(0x120),'apiKeyPlaceholder':_0x56269d(0x103),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x56269d(0xf6),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x56269d(0xfb),'mcpClientConfig':_0x56269d(0xfb),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x56269d(0x118),'configStep1':_0x56269d(0xf4),'configStep2':_0x56269d(0x10d),'configStep3':_0x56269d(0x111),'sessionId':_0x56269d(0x10b),'sessionIdDescription':_0x56269d(0xf8),'authorizationDescription':_0x56269d(0xf2),'configParameters':_0x56269d(0x11d),'maxRetries':'Max\x20Retries','save':_0x56269d(0x105),'saving':'Saving...','note1':_0x56269d(0x11c),'note2':_0x56269d(0x100),'configSaved':_0x56269d(0x113),'configError':_0x56269d(0x123),'apiApplyInfo':{'title':_0x56269d(0xf5),'description':_0x56269d(0x117),'univerAiLabel':_0x56269d(0x104),'getStarted':_0x56269d(0xf9)},'validation':{'apiKeyRequired':_0x56269d(0x121),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x56269d(0x11f),'invalidApiKey':_0x56269d(0x116)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x56269d(0x101),'connected':_0x56269d(0x11e),'failed':_0x56269d(0xfe),'retrying':_0x56269d(0xf7)},'connectionError':{'unauthorized':_0x56269d(0x10f),'sessionOccupied':_0x56269d(0xfa),'networkError':_0x56269d(0x115),'maxRetriesExceeded':_0x56269d(0x122)}}},n=e;export{n as default};
1
+ const _0x2aa77c=_0x30de;(function(_0x96b3fb,_0x334ad7){const _0x505dd6=_0x30de,_0xb4a3c2=_0x96b3fb();while(!![]){try{const _0x360744=parseInt(_0x505dd6(0x177))/0x1*(-parseInt(_0x505dd6(0x17f))/0x2)+-parseInt(_0x505dd6(0x15a))/0x3+parseInt(_0x505dd6(0x180))/0x4*(-parseInt(_0x505dd6(0x167))/0x5)+-parseInt(_0x505dd6(0x168))/0x6*(parseInt(_0x505dd6(0x164))/0x7)+parseInt(_0x505dd6(0x15c))/0x8+parseInt(_0x505dd6(0x162))/0x9+parseInt(_0x505dd6(0x17c))/0xa*(parseInt(_0x505dd6(0x176))/0xb);if(_0x360744===_0x334ad7)break;else _0xb4a3c2['push'](_0xb4a3c2['shift']());}catch(_0x4a049c){_0xb4a3c2['push'](_0xb4a3c2['shift']());}}}(_0x463b,0xce842));function _0x30de(_0x2fd873,_0xe5989b){const _0x463b5b=_0x463b();return _0x30de=function(_0x30de3f,_0x221616){_0x30de3f=_0x30de3f-0x151;let _0x2673df=_0x463b5b[_0x30de3f];return _0x2673df;},_0x30de(_0x2fd873,_0xe5989b);}const e={'mcpStatus':{'disconnected':_0x2aa77c(0x183),'connecting':_0x2aa77c(0x17e),'connected':'MCP\x20Connected','failed':_0x2aa77c(0x17a),'retrying':_0x2aa77c(0x16e),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2aa77c(0x151),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x2aa77c(0x182),'maxRetriesExceeded':_0x2aa77c(0x161),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x2aa77c(0x16c)},'mcpConfig':{'title':_0x2aa77c(0x175),'description':_0x2aa77c(0x152),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2aa77c(0x157),'apiKeyHint':_0x2aa77c(0x15f),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2aa77c(0x163),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2aa77c(0x16a),'configInstructions':_0x2aa77c(0x16f),'configStepTitle':_0x2aa77c(0x159),'configStep1':_0x2aa77c(0x166),'configStep2':_0x2aa77c(0x16d),'configStep3':_0x2aa77c(0x16b),'sessionId':_0x2aa77c(0x155),'sessionIdDescription':_0x2aa77c(0x158),'authorizationDescription':_0x2aa77c(0x169),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x2aa77c(0x15d),'save':_0x2aa77c(0x172),'saving':_0x2aa77c(0x179),'note1':_0x2aa77c(0x15e),'note2':_0x2aa77c(0x154),'configSaved':_0x2aa77c(0x17d),'configError':_0x2aa77c(0x15b),'apiApplyInfo':{'title':_0x2aa77c(0x156),'description':_0x2aa77c(0x160),'univerAiLabel':_0x2aa77c(0x165),'getStarted':_0x2aa77c(0x170)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x2aa77c(0x178),'invalidConfig':_0x2aa77c(0x153),'invalidApiKey':_0x2aa77c(0x181)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x2aa77c(0x174),'connected':'Connected','failed':_0x2aa77c(0x171),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2aa77c(0x17b),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x2aa77c(0x173)}}},n=e;export{n as default};function _0x463b(){const _0xe6088d=['API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Client\x20Configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Click\x20to\x20configure\x20MCP','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Retrying...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Failed','Save\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connecting...','MCP\x20Configuration','5486932lqGtWT','1cndcpQ','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Saving...','MCP\x20Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','70eBrWAc','Configuration\x20saved\x20successfully','MCP\x20Connecting...','2562484iEFlnV','5084sGKsGy','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Network\x20Error','MCP\x20Disconnected','MCP:\x20Unauthorized','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Invalid\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','What\x20is\x20API\x20Key?','Enter\x20your\x20API\x20key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Steps:','3723291bEdykr','Failed\x20to\x20save\x20configuration','3462288GmIsaZ','Max\x20Retries','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Max\x20Retries\x20Exceeded','11804490WFUZcR','Enable\x20authentication\x20for\x20secure\x20connections','4940467whTOpi','Univer\x20AI\x20Console','Copy\x20the\x20JSON\x20configuration\x20below','1795aipFDC','12jUcUpR'];_0x463b=function(){return _0xe6088d;};return _0x463b();}
@@ -1 +1 @@
1
- const _0x3cc97e=_0x4bf3;(function(_0x436b61,_0x1d8801){const _0x4fc1a3=_0x4bf3,_0x5e2e32=_0x436b61();while(!![]){try{const _0x5b7e77=parseInt(_0x4fc1a3(0xa3))/0x1*(parseInt(_0x4fc1a3(0xc2))/0x2)+parseInt(_0x4fc1a3(0xbb))/0x3*(parseInt(_0x4fc1a3(0xb6))/0x4)+-parseInt(_0x4fc1a3(0xc1))/0x5+-parseInt(_0x4fc1a3(0xb2))/0x6*(parseInt(_0x4fc1a3(0xc4))/0x7)+parseInt(_0x4fc1a3(0xbd))/0x8*(parseInt(_0x4fc1a3(0x96))/0x9)+parseInt(_0x4fc1a3(0xb4))/0xa*(-parseInt(_0x4fc1a3(0xb8))/0xb)+parseInt(_0x4fc1a3(0xa8))/0xc;if(_0x5b7e77===_0x1d8801)break;else _0x5e2e32['push'](_0x5e2e32['shift']());}catch(_0x2ecc44){_0x5e2e32['push'](_0x5e2e32['shift']());}}}(_0x3769,0x7b025));const e={'mcpStatus':{'disconnected':_0x3cc97e(0x9f),'connecting':'MCP\x20连接中...','connected':_0x3cc97e(0xac),'failed':'MCP\x20连接失败','retrying':_0x3cc97e(0xbf),'unknown':_0x3cc97e(0xaf),'unauthorized':_0x3cc97e(0xc6),'sessionOccupied':_0x3cc97e(0xc0),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x3cc97e(0xb5),'clickToConnect':_0x3cc97e(0xa1),'clickToConfigure':_0x3cc97e(0xa2)},'mcpConfig':{'title':_0x3cc97e(0x9e),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x3cc97e(0xa5),'apiKeyPlaceholder':_0x3cc97e(0xa7),'apiKeyHint':_0x3cc97e(0xc7),'enableAuth':_0x3cc97e(0xb0),'enableAuthHint':_0x3cc97e(0xa6),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x3cc97e(0x9a),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x3cc97e(0x98),'configStep1':_0x3cc97e(0xab),'configStep2':_0x3cc97e(0x9d),'configStep3':_0x3cc97e(0x9c),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x3cc97e(0xbc),'saving':_0x3cc97e(0x9b),'note1':_0x3cc97e(0xad),'note2':_0x3cc97e(0xa0),'configSaved':_0x3cc97e(0xb7),'configError':_0x3cc97e(0xa4),'apiApplyInfo':{'title':_0x3cc97e(0xba),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x3cc97e(0xb9)},'validation':{'apiKeyRequired':_0x3cc97e(0xbe),'apiKeyTooShort':_0x3cc97e(0xc3),'invalidConfig':'配置无效','invalidApiKey':_0x3cc97e(0xb3)},'connectionStatus':{'disconnected':_0x3cc97e(0xb1),'connecting':'连接中...','connected':_0x3cc97e(0xae),'failed':_0x3cc97e(0xaa),'retrying':_0x3cc97e(0xa9)},'connectionError':{'unauthorized':_0x3cc97e(0x97),'sessionOccupied':_0x3cc97e(0xc5),'networkError':_0x3cc97e(0x99),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};function _0x3769(){const _0x32dcd0=['保存中...','重启您的\x20MCP\x20客户端以使配置生效','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20配置','MCP\x20已断开','您的\x20API\x20密钥安全存储在本地存储中','点击连接\x20MCP','点击配置\x20MCP','505518fNTeBG','配置保存失败','API\x20密钥','启用身份验证以获得安全连接','请输入您的\x20API\x20密钥','10896912rrzEXO','重连中...','连接失败','复制以下\x20JSON\x20配置','MCP\x20已连接','配置更改将立即生效','已连接','MCP\x20状态未知','启用身份验证','未连接','36QNNUuU','API\x20密钥无效,请检查密钥是否正确','33690UQCwVN','MCP:\x20超出最大重试次数','2300ALRzQT','配置保存成功','2739kOZadv','几秒钟内获取您的\x20API\x20密钥','什么是\x20API\x20密钥?','3867APIjMy','保存配置','912hyNegn','API\x20密钥不能为空','MCP\x20重连中...','MCP:\x20会话\x20ID\x20已被占用','3272385tLCFfj','2hHAwNC','API\x20密钥长度至少需要\x2010\x20位','251391mopNbW','会话\x20ID\x20已被占用,请稍后再试','MCP:\x20未授权','您的\x20API\x20密钥将在此浏览器中本地存储','4572UdjoSw','权限验证失败,请检查您的\x20API\x20密钥','配置步骤:','网络连接错误,请检查您的网络连接','MCP\x20客户端配置'];_0x3769=function(){return _0x32dcd0;};return _0x3769();}function _0x4bf3(_0x4d08e6,_0x1fb91d){const _0x376923=_0x3769();return _0x4bf3=function(_0x4bf361,_0x404cd4){_0x4bf361=_0x4bf361-0x96;let _0x3047a7=_0x376923[_0x4bf361];return _0x3047a7;},_0x4bf3(_0x4d08e6,_0x1fb91d);}export{e as default};
1
+ const _0x53ec05=_0x5dbb;function _0x418f(){const _0x3bcbaa=['将以下配置添加到您的\x20MCP\x20客户端设置中:','您的\x20API\x20密钥将在此浏览器中本地存储','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MCP:\x20会话\x20ID\x20已被占用','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP\x20状态未知','MCP\x20连接失败','744iDXAVS','139176SLMYdc','MCP\x20已断开','54334tIbBeI','74968NwQUuM','Univer\x20AI\x20控制台','MCP\x20配置','MCP\x20重连中...','配置保存成功','复制以下\x20JSON\x20配置','什么是\x20API\x20密钥?','会话\x20ID\x20已被占用,请稍后再试','10oWJgSE','10919439CrnxoG','超出最大重试次数,请稍后再试','权限验证失败,请检查您的\x20API\x20密钥','10389130EsZLDD','API\x20密钥长度至少需要\x2010\x20位','MCP:\x20超出最大重试次数','启用身份验证以获得安全连接','MCP\x20客户端配置','连接中...','重启您的\x20MCP\x20客户端以使配置生效','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','29gemyAn','几秒钟内获取您的\x20API\x20密钥','保存中...','会话ID','配置保存失败','API\x20密钥不能为空','API\x20密钥无效,请检查密钥是否正确','827321NmkLan','12IaTQyE','点击配置\x20MCP','重连中...','553XskOrX','配置\x20MCP\x20使用\x20AI\x20操作电子表格','2879124WXSZHI','请输入您的\x20API\x20密钥','MCP:\x20未授权','最大重试次数','点击连接\x20MCP','MCP:\x20网络错误','MCP\x20已连接','已连接'];_0x418f=function(){return _0x3bcbaa;};return _0x418f();}function _0x5dbb(_0x1a6b4c,_0x5a11ba){const _0x418f25=_0x418f();return _0x5dbb=function(_0x5dbbff,_0x4d00ff){_0x5dbbff=_0x5dbbff-0x9b;let _0x3b6c27=_0x418f25[_0x5dbbff];return _0x3b6c27;},_0x5dbb(_0x1a6b4c,_0x5a11ba);}(function(_0x5152c9,_0x3aaa3b){const _0x39ce8e=_0x5dbb,_0x15d185=_0x5152c9();while(!![]){try{const _0x4fc088=parseInt(_0x39ce8e(0xb3))/0x1*(parseInt(_0x39ce8e(0x9e))/0x2)+-parseInt(_0x39ce8e(0xbb))/0x3*(-parseInt(_0x39ce8e(0x9f))/0x4)+parseInt(_0x39ce8e(0xa7))/0x5*(-parseInt(_0x39ce8e(0xc0))/0x6)+parseInt(_0x39ce8e(0xbe))/0x7*(-parseInt(_0x39ce8e(0x9c))/0x8)+-parseInt(_0x39ce8e(0xa8))/0x9+-parseInt(_0x39ce8e(0xab))/0xa+-parseInt(_0x39ce8e(0xba))/0xb*(-parseInt(_0x39ce8e(0x9b))/0xc);if(_0x4fc088===_0x3aaa3b)break;else _0x15d185['push'](_0x15d185['shift']());}catch(_0x10c60b){_0x15d185['push'](_0x15d185['shift']());}}}(_0x418f,0xe5676));const e={'mcpStatus':{'disconnected':_0x53ec05(0x9d),'connecting':'MCP\x20连接中...','connected':_0x53ec05(0xc6),'failed':_0x53ec05(0xce),'retrying':_0x53ec05(0xa2),'unknown':_0x53ec05(0xcd),'unauthorized':_0x53ec05(0xc2),'sessionOccupied':_0x53ec05(0xcb),'networkError':_0x53ec05(0xc5),'maxRetriesExceeded':_0x53ec05(0xad),'clickToConnect':_0x53ec05(0xc4),'clickToConfigure':_0x53ec05(0xbc)},'mcpConfig':{'title':_0x53ec05(0xa1),'description':_0x53ec05(0xbf),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x53ec05(0xc1),'apiKeyHint':_0x53ec05(0xc9),'enableAuth':'启用身份验证','enableAuthHint':_0x53ec05(0xae),'connectionInfo':_0x53ec05(0xaf),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x53ec05(0xc8),'configStepTitle':'配置步骤:','configStep1':_0x53ec05(0xa4),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x53ec05(0xb1),'sessionId':_0x53ec05(0xb6),'sessionIdDescription':_0x53ec05(0xb2),'authorizationDescription':_0x53ec05(0xcc),'configParameters':'配置参数:','maxRetries':_0x53ec05(0xc3),'save':'保存配置','saving':_0x53ec05(0xb5),'note1':'配置更改将立即生效','note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x53ec05(0xa3),'configError':_0x53ec05(0xb7),'apiApplyInfo':{'title':_0x53ec05(0xa5),'description':_0x53ec05(0xca),'univerAiLabel':_0x53ec05(0xa0),'getStarted':_0x53ec05(0xb4)},'validation':{'apiKeyRequired':_0x53ec05(0xb8),'apiKeyTooShort':_0x53ec05(0xac),'invalidConfig':'配置无效','invalidApiKey':_0x53ec05(0xb9)},'connectionStatus':{'disconnected':'未连接','connecting':_0x53ec05(0xb0),'connected':_0x53ec05(0xc7),'failed':'连接失败','retrying':_0x53ec05(0xbd)},'connectionError':{'unauthorized':_0x53ec05(0xaa),'sessionOccupied':_0x53ec05(0xa6),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x53ec05(0xa9)}}};export{e as default};
@@ -1 +1 @@
1
- function _0x21d8(_0x2ee0a0,_0x20a727){const _0x4a8f2d=_0x4a8f();return _0x21d8=function(_0x21d882,_0x2def22){_0x21d882=_0x21d882-0x9b;let _0x20755d=_0x4a8f2d[_0x21d882];return _0x20755d;},_0x21d8(_0x2ee0a0,_0x20a727);}function _0x4a8f(){const _0x35827a=['API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Steps:','Session\x20ID','65585YZsoGc','API\x20key\x20is\x20required','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connection\x20Failed','32rMaeAR','What\x20is\x20API\x20Key?','2112992LpVcRt','5126550LDTmrt','3BycDVA','Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Unauthorized','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20Parameters:','API\x20Key','MCP\x20Client\x20Configuration','Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Click\x20to\x20configure\x20MCP','API\x20key\x20with\x20Bearer\x20prefix.','45272nOyezH','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connected','Connection\x20Failed','MCP:\x20Session\x20ID\x20Occupied','Saving...','MCP\x20Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','Failed\x20to\x20save\x20configuration','Configuration\x20saved\x20successfully','MCP\x20Retrying...','45874vuSwej','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','670170ByajOk','Invalid\x20configuration','MCP:\x20Network\x20Error','MCP:\x20Max\x20Retries\x20Exceeded','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Max\x20Retries','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','6IPnMwZ','245817nEKbWj','Enter\x20your\x20API\x20key','MCP\x20Configuration'];_0x4a8f=function(){return _0x35827a;};return _0x4a8f();}const _0x28114d=_0x21d8;(function(_0x5a3558,_0x5d80a5){const _0xe968fe=_0x21d8,_0xc03530=_0x5a3558();while(!![]){try{const _0x541cf1=-parseInt(_0xe968fe(0xbe))/0x1+parseInt(_0xe968fe(0xc1))/0x2+-parseInt(_0xe968fe(0xa7))/0x3*(parseInt(_0xe968fe(0xb3))/0x4)+parseInt(_0xe968fe(0x9f))/0x5*(parseInt(_0xe968fe(0xc9))/0x6)+parseInt(_0xe968fe(0xa5))/0x7+-parseInt(_0xe968fe(0xa3))/0x8*(-parseInt(_0xe968fe(0xca))/0x9)+-parseInt(_0xe968fe(0xa6))/0xa;if(_0x541cf1===_0x5d80a5)break;else _0xc03530['push'](_0xc03530['shift']());}catch(_0xedb727){_0xc03530['push'](_0xc03530['shift']());}}}(_0x4a8f,0x2e417));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x28114d(0xb9),'connected':'MCP\x20Connected','failed':_0x28114d(0xa2),'retrying':_0x28114d(0xbd),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x28114d(0xaa),'sessionOccupied':_0x28114d(0xb7),'networkError':_0x28114d(0xc3),'maxRetriesExceeded':_0x28114d(0xc4),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x28114d(0xb1)},'mcpConfig':{'title':_0x28114d(0x9b),'description':_0x28114d(0xc7),'apiKey':_0x28114d(0xad),'apiKeyPlaceholder':_0x28114d(0xcb),'apiKeyHint':_0x28114d(0xc5),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x28114d(0xba),'connectionInfo':_0x28114d(0xae),'mcpClientConfig':_0x28114d(0xae),'configInstructions':_0x28114d(0xb4),'configStepTitle':_0x28114d(0x9d),'configStep1':_0x28114d(0xbf),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x28114d(0xc8),'sessionId':_0x28114d(0x9e),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x28114d(0xb2),'configParameters':_0x28114d(0xac),'maxRetries':_0x28114d(0xc6),'save':'Save\x20Configuration','saving':_0x28114d(0xb8),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x28114d(0xbc),'configError':_0x28114d(0xbb),'apiApplyInfo':{'title':_0x28114d(0xa4),'description':_0x28114d(0xa1),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x28114d(0xa0),'apiKeyTooShort':_0x28114d(0x9c),'invalidConfig':_0x28114d(0xc2),'invalidApiKey':_0x28114d(0xc0)},'connectionStatus':{'disconnected':_0x28114d(0xaf),'connecting':'Connecting...','connected':_0x28114d(0xb5),'failed':_0x28114d(0xb6),'retrying':_0x28114d(0xa8)},'connectionError':{'unauthorized':_0x28114d(0xab),'sessionOccupied':_0x28114d(0xa9),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x28114d(0xb0)}}},n=e;export{n as default};
1
+ const _0x539b69=_0x3c40;(function(_0x6ebc55,_0x21b8b0){const _0x3e9344=_0x3c40,_0x3f79bb=_0x6ebc55();while(!![]){try{const _0x321d02=-parseInt(_0x3e9344(0xdc))/0x1*(parseInt(_0x3e9344(0xfa))/0x2)+parseInt(_0x3e9344(0xf0))/0x3+-parseInt(_0x3e9344(0xe9))/0x4+parseInt(_0x3e9344(0xd4))/0x5+-parseInt(_0x3e9344(0xfc))/0x6*(parseInt(_0x3e9344(0xe6))/0x7)+parseInt(_0x3e9344(0xf2))/0x8+parseInt(_0x3e9344(0xd2))/0x9*(-parseInt(_0x3e9344(0xda))/0xa);if(_0x321d02===_0x21b8b0)break;else _0x3f79bb['push'](_0x3f79bb['shift']());}catch(_0x5d0bcf){_0x3f79bb['push'](_0x3f79bb['shift']());}}}(_0x5e7f,0x2ec2d));function _0x3c40(_0x4ca8f4,_0x459015){const _0x5e7f65=_0x5e7f();return _0x3c40=function(_0x3c40b3,_0x323fae){_0x3c40b3=_0x3c40b3-0xcb;let _0x213974=_0x5e7f65[_0x3c40b3];return _0x213974;},_0x3c40(_0x4ca8f4,_0x459015);}const e={'mcpStatus':{'disconnected':_0x539b69(0xe3),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x539b69(0xed),'unknown':_0x539b69(0xec),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x539b69(0xef),'networkError':_0x539b69(0xe2),'maxRetriesExceeded':_0x539b69(0xd9),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x539b69(0xde)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x539b69(0xf4),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x539b69(0xd5),'apiKeyHint':_0x539b69(0xdf),'enableAuth':_0x539b69(0xcf),'enableAuthHint':_0x539b69(0xd8),'connectionInfo':_0x539b69(0xf1),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x539b69(0xd3),'configStep1':_0x539b69(0xdb),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x539b69(0xe4),'sessionId':_0x539b69(0xd6),'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':_0x539b69(0xd1),'maxRetries':_0x539b69(0xf3),'save':_0x539b69(0xea),'saving':_0x539b69(0xe5),'note1':_0x539b69(0xcd),'note2':_0x539b69(0xf8),'configSaved':_0x539b69(0xd7),'configError':_0x539b69(0xf6),'apiApplyInfo':{'title':_0x539b69(0xe8),'description':_0x539b69(0xeb),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x539b69(0xf5)},'validation':{'apiKeyRequired':_0x539b69(0xe0),'apiKeyTooShort':_0x539b69(0xe7),'invalidConfig':_0x539b69(0xdd),'invalidApiKey':_0x539b69(0xcc)},'connectionStatus':{'disconnected':_0x539b69(0xf9),'connecting':_0x539b69(0xfb),'connected':_0x539b69(0xf7),'failed':_0x539b69(0xd0),'retrying':_0x539b69(0xee)},'connectionError':{'unauthorized':_0x539b69(0xcb),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x539b69(0xe1),'maxRetriesExceeded':_0x539b69(0xce)}}},n=e;function _0x5e7f(){const _0xbc7c02=['MCP\x20Unknown\x20Status','MCP\x20Retrying...','Retrying...','MCP:\x20Session\x20ID\x20Occupied','1055832MpDFkO','MCP\x20Client\x20Configuration','2539688aUscUS','Max\x20Retries','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Get\x20your\x20API\x20key\x20in\x20seconds','Failed\x20to\x20save\x20configuration','Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Disconnected','2wsasPn','Connecting...','168492zuFOgi','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Enable\x20Authentication','Connection\x20Failed','Configuration\x20Parameters:','63SaEhpc','Configuration\x20Steps:','1503170VahiGW','Enter\x20your\x20API\x20key','Session\x20ID','Configuration\x20saved\x20successfully','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Max\x20Retries\x20Exceeded','376630HIADjr','Copy\x20the\x20JSON\x20configuration\x20below','111253YTxHot','Invalid\x20configuration','Click\x20to\x20configure\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20is\x20required','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Network\x20Error','MCP\x20Disconnected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Saving...','21evOymD','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','What\x20is\x20API\x20Key?','1277464XAMrgD','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.'];_0x5e7f=function(){return _0xbc7c02;};return _0x5e7f();}export{n as default};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2c3f(_0x22db32,_0x260da5){var _0x6720f7=_0x6720();return _0x2c3f=function(_0x2c3f5a,_0x5570d9){_0x2c3f5a=_0x2c3f5a-0x1cb;var _0x4a2630=_0x6720f7[_0x2c3f5a];return _0x4a2630;},_0x2c3f(_0x22db32,_0x260da5);}(function(_0x5995cb,_0x31d624){var _0xec06a1=_0x2c3f,_0x5db7ae=_0x5995cb();while(!![]){try{var _0x16e70d=-parseInt(_0xec06a1(0x2e2))/0x1+-parseInt(_0xec06a1(0x217))/0x2*(parseInt(_0xec06a1(0x31a))/0x3)+-parseInt(_0xec06a1(0x2cc))/0x4+-parseInt(_0xec06a1(0x294))/0x5+parseInt(_0xec06a1(0x25f))/0x6*(-parseInt(_0xec06a1(0x30a))/0x7)+parseInt(_0xec06a1(0x352))/0x8*(parseInt(_0xec06a1(0x315))/0x9)+parseInt(_0xec06a1(0x26d))/0xa*(parseInt(_0xec06a1(0x2cd))/0xb);if(_0x16e70d===_0x31d624)break;else _0x5db7ae['push'](_0x5db7ae['shift']());}catch(_0x322558){_0x5db7ae['push'](_0x5db7ae['shift']());}}}(_0x6720,0x3bd5f),function(_0x2d7314,_0x24cc8e){var _0x2a7d04=_0x2c3f;typeof exports==_0x2a7d04(0x305)&&typeof module<'u'?_0x24cc8e(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define=='function'&&define['amd']?define([_0x2a7d04(0x35a),_0x2a7d04(0x2d2),_0x2a7d04(0x2f8),_0x2a7d04(0x1ce),_0x2a7d04(0x2ef),'@univerjs/ui',_0x2a7d04(0x1ec),_0x2a7d04(0x2c4),_0x2a7d04(0x286)],_0x24cc8e):(_0x2d7314=typeof globalThis<'u'?globalThis:_0x2d7314||self,_0x24cc8e(_0x2d7314[_0x2a7d04(0x2c7)]={},_0x2d7314['UniverCore'],_0x2d7314['React'],_0x2d7314[_0x2a7d04(0x30d)],_0x2d7314[_0x2a7d04(0x220)],_0x2d7314[_0x2a7d04(0x2a7)],_0x2d7314[_0x2a7d04(0x1ec)],_0x2d7314[_0x2a7d04(0x277)],_0x2d7314[_0x2a7d04(0x23f)]));}(this,function(_0x4fb175,_0x3528b3,_0x137988,_0x30e1f0,_0x454ab9,_0x42b9be,_0x54618a,_0x89bcb3,_0x21d076){'use strict';var _0x196992=_0x2c3f;var _0x5c0c3d=Object[_0x196992(0x354)],_0x2a3028=(_0x440311,_0x139a6d,_0x40c6e6)=>_0x139a6d in _0x440311?_0x5c0c3d(_0x440311,_0x139a6d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40c6e6}):_0x440311[_0x139a6d]=_0x40c6e6,_0x4be3b9=(_0x2dc2d8,_0x3fd138,_0x1e8ece)=>_0x2a3028(_0x2dc2d8,typeof _0x3fd138!=_0x196992(0x328)?_0x3fd138+'':_0x3fd138,_0x1e8ece),_0x347e6c=function(){var _0x5cb183=_0x196992;return _0x347e6c=Object[_0x5cb183(0x291)]||function(_0x501d72){var _0x2da95c=_0x5cb183;for(var _0x1e8194,_0x45987d=0x1,_0x740a84=arguments[_0x2da95c(0x2e8)];_0x45987d<_0x740a84;_0x45987d++){_0x1e8194=arguments[_0x45987d];for(var _0x57f621 in _0x1e8194)Object[_0x2da95c(0x1e4)][_0x2da95c(0x2f3)][_0x2da95c(0x32c)](_0x1e8194,_0x57f621)&&(_0x501d72[_0x57f621]=_0x1e8194[_0x57f621]);}return _0x501d72;},_0x347e6c[_0x5cb183(0x2ba)](this,arguments);},_0x26d824=function(_0xff9d2b,_0x402017){var _0x2f2522=_0x196992,_0x40fc5e={};for(var _0x5c20e3 in _0xff9d2b)Object[_0x2f2522(0x1e4)][_0x2f2522(0x2f3)][_0x2f2522(0x32c)](_0xff9d2b,_0x5c20e3)&&_0x402017['indexOf'](_0x5c20e3)<0x0&&(_0x40fc5e[_0x5c20e3]=_0xff9d2b[_0x5c20e3]);if(_0xff9d2b!=null&&typeof Object['getOwnPropertySymbols']==_0x2f2522(0x2cf)){for(var _0x57ad71=0x0,_0x5c20e3=Object[_0x2f2522(0x233)](_0xff9d2b);_0x57ad71<_0x5c20e3[_0x2f2522(0x2e8)];_0x57ad71++)_0x402017['indexOf'](_0x5c20e3[_0x57ad71])<0x0&&Object[_0x2f2522(0x1e4)][_0x2f2522(0x209)][_0x2f2522(0x32c)](_0xff9d2b,_0x5c20e3[_0x57ad71])&&(_0x40fc5e[_0x5c20e3[_0x57ad71]]=_0xff9d2b[_0x5c20e3[_0x57ad71]]);}return _0x40fc5e;},_0x1b1761=_0x89bcb3['forwardRef'](function(_0x41b294,_0x511f92){var _0xa8b2b6=_0x196992,_0x1aa70a=_0x41b294[_0xa8b2b6(0x33c)],_0x445a89=_0x41b294['id'],_0x4f3bcb=_0x41b294[_0xa8b2b6(0x1e7)],_0x2431d7=_0x41b294['extend'],_0x116f04=_0x26d824(_0x41b294,[_0xa8b2b6(0x33c),'id',_0xa8b2b6(0x1e7),'extend']),_0x3ef2c3=_0xa8b2b6(0x240)[_0xa8b2b6(0x1db)](_0x445a89,'\x20')[_0xa8b2b6(0x1db)](_0x4f3bcb||'')[_0xa8b2b6(0x33b)](),_0x45e8f8=_0x89bcb3[_0xa8b2b6(0x1e1)]('_'['concat'](_0x43904a()));return _0x21ff65(_0x1aa70a,''[_0xa8b2b6(0x1db)](_0x445a89),{'defIds':_0x1aa70a[_0xa8b2b6(0x22a)],'idSuffix':_0x45e8f8[_0xa8b2b6(0x266)]},_0x347e6c({'ref':_0x511f92,'className':_0x3ef2c3},_0x116f04),_0x2431d7);});function _0x21ff65(_0x1c67a3,_0x550814,_0x15562f,_0xd29560,_0x3e7787){var _0x25a875=_0x196992;return _0x89bcb3[_0x25a875(0x27b)](_0x1c67a3[_0x25a875(0x320)],_0x347e6c(_0x347e6c({'key':_0x550814},_0x456370(_0x1c67a3,_0x15562f,_0x3e7787)),_0xd29560),(_0x38ef15(_0x1c67a3,_0x15562f)[_0x25a875(0x2eb)]||[])[_0x25a875(0x23e)](function(_0x54209c,_0x10c12a){var _0x1ebfc7=_0x25a875;return _0x21ff65(_0x54209c,''[_0x1ebfc7(0x1db)](_0x550814,'-')['concat'](_0x1c67a3[_0x1ebfc7(0x320)],'-')['concat'](_0x10c12a),_0x15562f,void 0x0,_0x3e7787);}));}function _0x456370(_0x38b90e,_0x2bb408,_0x34e256){var _0x52b292=_0x196992,_0x1c7aa9=_0x347e6c({},_0x38b90e[_0x52b292(0x263)]);_0x34e256!=null&&_0x34e256['colorChannel1']&&_0x1c7aa9[_0x52b292(0x1d5)]===_0x52b292(0x21a)&&(_0x1c7aa9['fill']=_0x34e256[_0x52b292(0x21a)]),_0x38b90e[_0x52b292(0x320)]==='mask'&&_0x1c7aa9['id']&&(_0x1c7aa9['id']=_0x1c7aa9['id']+_0x2bb408[_0x52b292(0x2f1)]),Object[_0x52b292(0x2ab)](_0x1c7aa9)[_0x52b292(0x28c)](function(_0x5c6889){var _0x5afe3f=_0x52b292,_0x2a4663=_0x5c6889[0x0],_0xa4ce5b=_0x5c6889[0x1];_0x2a4663===_0x5afe3f(0x2db)&&typeof _0xa4ce5b==_0x5afe3f(0x1ff)&&(_0x1c7aa9[_0x2a4663]=_0xa4ce5b[_0x5afe3f(0x252)](/url\(#(.*)\)/,_0x5afe3f(0x1d8)[_0x5afe3f(0x1db)](_0x2bb408[_0x5afe3f(0x2f1)],')')));});var _0x33a80f=_0x2bb408['defIds'];return!_0x33a80f||_0x33a80f[_0x52b292(0x2e8)]===0x0||(_0x38b90e[_0x52b292(0x320)]===_0x52b292(0x229)&&_0x1c7aa9['xlink:href']&&(_0x1c7aa9[_0x52b292(0x30e)]=_0x1c7aa9['xlink:href']+_0x2bb408[_0x52b292(0x2f1)]),Object[_0x52b292(0x2ab)](_0x1c7aa9)[_0x52b292(0x28c)](function(_0x3ee00c){var _0x16a88b=_0x52b292,_0xc1bee4=_0x3ee00c[0x0],_0xa9a6e3=_0x3ee00c[0x1];typeof _0xa9a6e3==_0x16a88b(0x1ff)&&(_0x1c7aa9[_0xc1bee4]=_0xa9a6e3['replace'](/url\(#(.*)\)/,_0x16a88b(0x1d8)[_0x16a88b(0x1db)](_0x2bb408[_0x16a88b(0x2f1)],')')));})),_0x1c7aa9;}function _0x38ef15(_0x3412e5,_0x56b34a){var _0x3d1e42=_0x196992,_0x22b10a,_0x2f264d=_0x56b34a['defIds'];return!_0x2f264d||_0x2f264d[_0x3d1e42(0x2e8)]===0x0?_0x3412e5:_0x3412e5[_0x3d1e42(0x320)]==='defs'&&(!((_0x22b10a=_0x3412e5[_0x3d1e42(0x2eb)])===null||_0x22b10a===void 0x0)&&_0x22b10a['length'])?_0x347e6c(_0x347e6c({},_0x3412e5),{'children':_0x3412e5['children'][_0x3d1e42(0x23e)](function(_0x10cef9){var _0x559019=_0x3d1e42;return typeof _0x10cef9[_0x559019(0x263)]['id']=='string'&&_0x2f264d&&_0x2f264d[_0x559019(0x32f)](_0x10cef9[_0x559019(0x263)]['id'])?_0x347e6c(_0x347e6c({},_0x10cef9),{'attrs':_0x347e6c(_0x347e6c({},_0x10cef9[_0x559019(0x263)]),{'id':_0x10cef9[_0x559019(0x263)]['id']+_0x56b34a[_0x559019(0x2f1)]})}):_0x10cef9;})}):_0x3412e5;}function _0x43904a(){var _0x411990=_0x196992;return Math[_0x411990(0x24e)]()[_0x411990(0x348)](0x24)[_0x411990(0x29e)](0x2,0x8);}_0x1b1761[_0x196992(0x288)]=_0x196992(0x22b);var _0x5c031b={'tag':_0x196992(0x27e),'attrs':{'xmlns':_0x196992(0x227),'fill':_0x196992(0x26c),'viewBox':_0x196992(0x29a),'width':'1em','height':_0x196992(0x243)},'children':[{'tag':_0x196992(0x259),'attrs':{'fill':_0x196992(0x283),'d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':'evenodd','clipRule':_0x196992(0x208)}}]},_0x42cd01=_0x89bcb3[_0x196992(0x365)](function(_0x550249,_0x518878){var _0x59f059=_0x196992;return _0x89bcb3[_0x59f059(0x27b)](_0x1b1761,Object[_0x59f059(0x291)]({},_0x550249,{'id':'check-mark-icon','ref':_0x518878,'icon':_0x5c031b}));});_0x42cd01[_0x196992(0x288)]=_0x196992(0x366);var _0x55da9f={'tag':_0x196992(0x27e),'attrs':{'xmlns':_0x196992(0x227),'fill':_0x196992(0x26c),'viewBox':_0x196992(0x2af),'width':'1em','height':'1em'},'children':[{'tag':_0x196992(0x259),'attrs':{'stroke':_0x196992(0x283),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':'round','strokeLinejoin':_0x196992(0x351),'strokeWidth':1.33}},{'tag':_0x196992(0x259),'attrs':{'stroke':_0x196992(0x283),'d':_0x196992(0x2e7),'strokeLinecap':_0x196992(0x351),'strokeLinejoin':_0x196992(0x351),'strokeWidth':1.33}}]},_0x5c9440=_0x89bcb3[_0x196992(0x365)](function(_0x50b34a,_0xdc49a8){var _0x21b36a=_0x196992;return _0x89bcb3[_0x21b36a(0x27b)](_0x1b1761,Object['assign']({},_0x50b34a,{'id':'close-small-single','ref':_0xdc49a8,'icon':_0x55da9f}));});_0x5c9440['displayName']='CloseSmallSingle';var _0x543349={'tag':_0x196992(0x27e),'attrs':{'xmlns':_0x196992(0x227),'fill':_0x196992(0x26c),'viewBox':'0\x200\x2016\x2016','width':_0x196992(0x243),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x196992(0x283),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x196992(0x259),'attrs':{'fill':_0x196992(0x283),'d':_0x196992(0x297)}},{'tag':'path','attrs':{'fill':_0x196992(0x283),'d':_0x196992(0x304),'fillRule':'evenodd','clipRule':_0x196992(0x208)}}]},_0x3129dc=_0x89bcb3[_0x196992(0x365)](function(_0x491729,_0x25ca03){var _0xf193cc=_0x196992;return _0x89bcb3[_0xf193cc(0x27b)](_0x1b1761,Object[_0xf193cc(0x291)]({},_0x491729,{'id':_0xf193cc(0x207),'ref':_0x25ca03,'icon':_0x543349}));});_0x3129dc[_0x196992(0x288)]=_0x196992(0x244);var _0x28b840={'tag':_0x196992(0x27e),'attrs':{'xmlns':_0x196992(0x227),'fill':_0x196992(0x26c),'viewBox':_0x196992(0x29a),'width':_0x196992(0x243),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x196992(0x238)},'children':[{'tag':_0x196992(0x259),'attrs':{'stroke':_0x196992(0x283),'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':_0x196992(0x351),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x196992(0x267),'attrs':{'id':_0x196992(0x327)},'children':[{'tag':'path','attrs':{'fill':_0x196992(0x21f),'d':_0x196992(0x353)}}]}]}],'defIds':[_0x196992(0x327)]},_0x4f9178=_0x89bcb3[_0x196992(0x365)](function(_0x57909c,_0x5c6540){var _0x4f2384=_0x196992;return _0x89bcb3[_0x4f2384(0x27b)](_0x1b1761,Object[_0x4f2384(0x291)]({},_0x57909c,{'id':'off-line-icon','ref':_0x5c6540,'icon':_0x28b840}));});_0x4f9178['displayName']=_0x196992(0x329);var _0x37a8f3={'tag':_0x196992(0x27e),'attrs':{'xmlns':_0x196992(0x227),'fill':_0x196992(0x26c),'viewBox':_0x196992(0x1d7),'width':_0x196992(0x243),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x196992(0x259),'attrs':{'stroke':_0x196992(0x283),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x196992(0x351),'strokeLinejoin':_0x196992(0x351),'strokeWidth':1.2}}]},{'tag':_0x196992(0x310),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x196992(0x2a8)},'children':[{'tag':_0x196992(0x259),'attrs':{'fill':'white','d':_0x196992(0x353),'transform':_0x196992(0x221)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x283222=_0x89bcb3[_0x196992(0x365)](function(_0x5dc84d,_0x34843b){var _0x3932bc=_0x196992;return _0x89bcb3['createElement'](_0x1b1761,Object[_0x3932bc(0x291)]({},_0x5dc84d,{'id':_0x3932bc(0x33f),'ref':_0x34843b,'icon':_0x37a8f3}));});_0x283222[_0x196992(0x288)]=_0x196992(0x34c);function _0x1d3937(_0x163f1f){var _0x80d584=_0x196992,_0x442702,_0x168ae;const {mcpCoreConfig:_0x3d7f36,onSave:_0x3a395c,loading:_0x3296bf=!0x1,config:_0x21887b,connectionStatus$:_0x15b3d7,connectionError$:_0x342aff,currentApiKey$:_0x4b4e01,currentSessionId$:_0x39e9b9}=_0x163f1f,_0x5743b4=_0x42b9be['useDependency'](_0x3528b3[_0x80d584(0x26a)]),_0x2e652c=_0x42b9be['useObservable'](_0x15b3d7,_0x30e1f0[_0x80d584(0x275)][_0x80d584(0x33d)]),_0x43a01d=_0x42b9be[_0x80d584(0x2fc)](_0x342aff,_0x30e1f0[_0x80d584(0x336)][_0x80d584(0x22e)]),_0xa12db5=_0x42b9be['useObservable'](_0x39e9b9,''),_0x7b724=_0x42b9be[_0x80d584(0x2fc)](_0x4b4e01,''),[_0xd33e00,_0xd4d328]=_0x89bcb3['useState'](_0x7b724||''),_0x24a1dc=!0x0,_0x57a131=_0x21887b[_0x80d584(0x222)]&&_0x3d7f36[_0x80d584(0x345)]&&(_0x3d7f36[_0x80d584(0x345)]['includes'](_0x80d584(0x2f0))||_0x3d7f36[_0x80d584(0x345)][_0x80d584(0x32f)]('univer.ai')),_0x303300=(_0x442702=_0x3d7f36[_0x80d584(0x345)])==null?void 0x0:_0x442702['includes'](_0x80d584(0x2f0)),_0x498a96=(_0x168ae=_0x3d7f36[_0x80d584(0x345)])==null?void 0x0:_0x168ae[_0x80d584(0x32f)](_0x80d584(0x212)),_0x2c27b3=_0x303300?_0x80d584(0x2a5):'https://console.univer.ai',_0x326ac5=_0x21887b[_0x80d584(0x222)]&&(_0x303300||_0x498a96),[_0x525431,_0x1dc824]=_0x89bcb3[_0x80d584(0x306)](!_0xd33e00['trim']()),_0x45b8bf=(_0x24ce59,_0x239877)=>{var _0x466b65=_0x80d584;if(_0x239877===_0x30e1f0[_0x466b65(0x336)][_0x466b65(0x2d0)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x24ce59){case _0x30e1f0[_0x466b65(0x275)]['CONNECTED']:return _0x466b65(0x25d);case _0x30e1f0[_0x466b65(0x275)][_0x466b65(0x262)]:case _0x30e1f0[_0x466b65(0x275)]['RETRYING']:return _0x466b65(0x322);case _0x30e1f0[_0x466b65(0x275)]['FAILED']:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x466b65(0x282);}},_0x3c9df3=(_0x172ea0,_0x3078da)=>{var _0x69586f=_0x80d584;if(_0x3078da===_0x30e1f0[_0x69586f(0x336)]['UNAUTHORIZED'])return _0x69586f(0x358);switch(_0x172ea0){case _0x30e1f0[_0x69586f(0x275)][_0x69586f(0x2e4)]:return _0x69586f(0x22d);case _0x30e1f0[_0x69586f(0x275)][_0x69586f(0x262)]:case _0x30e1f0['MCPConnectionStatus'][_0x69586f(0x326)]:return _0x69586f(0x1fc);case _0x30e1f0['MCPConnectionStatus'][_0x69586f(0x1fe)]:return'univer-bg-red-500';default:return _0x69586f(0x1eb);}},_0xa81773=_0x1e738f=>{var _0x3b05d5=_0x80d584;switch(_0x1e738f){case _0x30e1f0[_0x3b05d5(0x275)][_0x3b05d5(0x2e4)]:return _0x5743b4['t'](_0x3b05d5(0x31d));case _0x30e1f0[_0x3b05d5(0x275)]['CONNECTING']:return _0x5743b4['t'](_0x3b05d5(0x331));case _0x30e1f0[_0x3b05d5(0x275)][_0x3b05d5(0x1fe)]:return _0x5743b4['t']('mcpConfig.connectionStatus.failed');case _0x30e1f0['MCPConnectionStatus']['RETRYING']:return _0x5743b4['t'](_0x3b05d5(0x29c));default:return _0x5743b4['t']('mcpConfig.connectionStatus.disconnected');}},_0x3e20d4=_0x47265b=>{var _0x18f8f5=_0x80d584;switch(_0x47265b){case _0x30e1f0[_0x18f8f5(0x336)][_0x18f8f5(0x2d0)]:return _0x5743b4['t'](_0x18f8f5(0x2c2));case _0x30e1f0['MCPConnectionError'][_0x18f8f5(0x1ed)]:return _0x5743b4['t'](_0x18f8f5(0x2b9));case _0x30e1f0[_0x18f8f5(0x336)][_0x18f8f5(0x293)]:return _0x5743b4['t'](_0x18f8f5(0x2d3));case _0x30e1f0[_0x18f8f5(0x336)][_0x18f8f5(0x300)]:return _0x5743b4['t'](_0x18f8f5(0x295));default:return'';}},_0x39b46f=_0x89bcb3[_0x80d584(0x241)](()=>{const _0x20e92f={..._0x3d7f36,'apiKey':_0xd33e00['trim'](),'enableAuth':_0x24a1dc};_0x3a395c(_0x20e92f);},[_0x3d7f36,_0xd33e00,_0x24a1dc,_0x3a395c]),_0x351f63=_0xd33e00[_0x80d584(0x33b)]()[_0x80d584(0x2e8)]>0x0;return _0x137988['jsxs']('div',{'className':_0x80d584(0x24d),'children':[_0x137988['jsx'](_0x80d584(0x200),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x1f7),'children':[_0x137988['jsx'](_0x80d584(0x200),{'className':_0x80d584(0x1fd),'children':_0x137988[_0x80d584(0x1e0)]('span',{'className':'univer-text-white','children':'⚙'})}),_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'children':_0x137988[_0x80d584(0x1e0)]('p',{'className':_0x80d584(0x2ce),'children':_0x5743b4['t'](_0x80d584(0x343))})})]})}),_0x137988[_0x80d584(0x2f4)]('div',{'className':_0x80d584(0x1f5),'children':[_0x137988[_0x80d584(0x1e0)]('div',{'className':_0x80d584(0x2fe)+_0x45b8bf(_0x2e652c,_0x43a01d)+_0x80d584(0x308),'children':_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x137988['jsx'](_0x80d584(0x200),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3c9df3(_0x2e652c,_0x43a01d)+_0x80d584(0x2b3)}),_0x137988[_0x80d584(0x1e0)]('span',{'className':_0x80d584(0x237),'children':_0xa81773(_0x2e652c)})]})}),_0x43a01d!==_0x30e1f0[_0x80d584(0x336)][_0x80d584(0x22e)]&&(_0x2e652c===_0x30e1f0[_0x80d584(0x275)][_0x80d584(0x1fe)]||_0x43a01d===_0x30e1f0[_0x80d584(0x336)]['UNAUTHORIZED'])&&_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x21b),'children':_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x2ea),'children':[_0x137988[_0x80d584(0x1e0)]('span',{'className':_0x80d584(0x23c),'children':'⚠️'}),_0x137988[_0x80d584(0x1e0)]('p',{'className':_0x80d584(0x31c),'children':_0x3e20d4(_0x43a01d)})]})})]}),_0x137988[_0x80d584(0x1e0)]('div',{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x257),'children':[_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x335),'children':[_0x137988[_0x80d584(0x2f4)](_0x80d584(0x2b8),{'className':_0x80d584(0x301),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'children':'🔑'}),'\x20',_0x5743b4['t']('mcpConfig.apiKey'),_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'className':_0x80d584(0x2e0),'children':'*'}),_0x57a131&&_0x137988[_0x80d584(0x1e0)]('a',{'href':_0x80d584(0x2b0),'onClick':()=>_0x1dc824(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x5743b4['t'](_0x80d584(0x325)),'children':_0x137988['jsx'](_0x3129dc,{})})]}),_0x137988[_0x80d584(0x1e0)](_0x454ab9[_0x80d584(0x21e)],{'type':_0x80d584(0x341),'placeholder':_0x5743b4['t'](_0x80d584(0x1e3)),'value':_0xd33e00,'onChange':_0xd4d328,'disabled':_0x3296bf,'autoComplete':_0x80d584(0x296)}),_0x137988[_0x80d584(0x1e0)]('p',{'className':_0x80d584(0x1ee),'children':_0x5743b4['t'](_0x80d584(0x2fa))})]}),_0x57a131&&_0x525431&&_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x137988[_0x80d584(0x1e0)]('a',{'href':_0x80d584(0x2b0),'onClick':()=>_0x1dc824(!0x1),'className':_0x80d584(0x2c9),'title':'Close','children':_0x137988[_0x80d584(0x1e0)](_0x5c9440,{})}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x356),'children':[_0x137988['jsx'](_0x80d584(0x200),{'className':'univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'className':_0x80d584(0x254),'children':'🚀'})}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':'univer-flex-1','children':[_0x137988['jsx']('h4',{'className':_0x80d584(0x2e6),'children':_0x5743b4['t'](_0x80d584(0x325))}),_0x137988[_0x80d584(0x1e0)]('p',{'className':_0x80d584(0x30c),'children':_0x5743b4['t'](_0x80d584(0x1e8))}),_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x2dd),'children':_0x326ac5&&_0x137988['jsxs']('a',{'href':_0x2c27b3,'target':_0x80d584(0x228),'rel':_0x80d584(0x1cd),'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','children':[_0x137988[_0x80d584(0x1e0)]('span',{'children':'🤖'}),_0x5743b4['t'](_0x80d584(0x346)),_0x137988[_0x80d584(0x1e0)]('span',{'className':'univer-text-gray-400','children':'↗'})]})}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x35d),'children':['✨','\x20',_0x5743b4['t'](_0x80d584(0x21d))]})]})]})]}),_0x21887b[_0x80d584(0x222)]&&_0x137988['jsxs']('div',{'className':_0x80d584(0x278),'children':[_0x137988[_0x80d584(0x2f4)]('h4',{'className':_0x80d584(0x2a3),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'children':'🔗'}),'\x20',_0x5743b4['t'](_0x80d584(0x347))]}),_0x137988['jsxs'](_0x80d584(0x200),{'className':'univer-space-y-4','children':[_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x361),'children':[_0x137988[_0x80d584(0x1e0)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x5743b4['t'](_0x80d584(0x1e5))}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x335),'children':[_0x137988['jsx'](_0x80d584(0x200),{'className':_0x80d584(0x276),'children':_0x5743b4['t'](_0x80d584(0x30b))}),_0x137988[_0x80d584(0x2f4)]('div',{'className':_0x80d584(0x2ed),'children':[_0x137988['jsxs'](_0x80d584(0x200),{'className':_0x80d584(0x303),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'className':_0x80d584(0x1cf),'children':'1'}),_0x5743b4['t'](_0x80d584(0x1da))]}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x303),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'className':_0x80d584(0x1cf),'children':'2'}),_0x5743b4['t'](_0x80d584(0x2b7))]}),_0x137988['jsxs']('div',{'className':_0x80d584(0x303),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x5743b4['t'](_0x80d584(0x264))]})]})]})]}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':'univer-space-y-2','children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x276),'children':_0x80d584(0x349)}),_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x31b),'children':_0x137988['jsx'](_0x80d584(0x2c0),{'className':_0x80d584(0x235),'children':_0x80d584(0x2dc)+_0xa12db5+_0x80d584(0x225)+(_0xd33e00||_0x80d584(0x247))+_0x80d584(0x2a0)})})]}),_0x137988[_0x80d584(0x2f4)]('div',{'className':_0x80d584(0x361),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x276),'children':_0x5743b4['t']('mcpConfig.configParameters')}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x335),'children':[_0x137988['jsxs'](_0x80d584(0x200),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x2ec),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x324),'children':_0x80d584(0x2a2)}),_0x137988['jsx'](_0x80d584(0x200),{'className':_0x80d584(0x1ee),'children':_0x5743b4['t']('mcpConfig.sessionIdDescription')})]})]}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x137988['jsx'](_0x80d584(0x200),{'className':_0x80d584(0x234)}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':_0x80d584(0x2ec),'children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x324),'children':_0x80d584(0x1f2)}),_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x1ee),'children':_0x5743b4['t'](_0x80d584(0x231))})]})]})]})]})]})]}),_0x137988[_0x80d584(0x1e0)](_0x454ab9['Button'],{'onClick':_0x39b46f,'disabled':!_0x351f63||_0x3296bf,'className':_0x80d584(0x332),'children':_0x3296bf?_0x137988[_0x80d584(0x2f4)](_0x80d584(0x298),{'className':_0x80d584(0x303),'children':[_0x137988[_0x80d584(0x1e0)]('span',{'children':'⟲'}),_0x5743b4['t']('mcpConfig.saving')]}):_0x137988[_0x80d584(0x2f4)]('span',{'className':_0x80d584(0x303),'children':[_0x137988['jsx'](_0x42cd01,{}),_0x5743b4['t'](_0x80d584(0x355))]})}),_0x137988[_0x80d584(0x1e0)](_0x80d584(0x200),{'className':_0x80d584(0x260),'children':_0x137988['jsxs']('div',{'className':'univer-flex\x20univer-gap-3','children':[_0x137988[_0x80d584(0x1e0)](_0x80d584(0x298),{'className':_0x80d584(0x2e3),'children':'💡'}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x137988['jsx']('div',{'className':_0x80d584(0x1d0),'children':_0x80d584(0x2f7)}),_0x137988[_0x80d584(0x2f4)](_0x80d584(0x200),{'children':['•',_0x5743b4['t']('mcpConfig.note1')]}),_0x137988[_0x80d584(0x2f4)]('div',{'children':['•',_0x5743b4['t'](_0x80d584(0x2e1))]})]})]})})]})})]});}const _0x4f111c='mcp-ui.config',_0x2f10b4={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x265c01=Object[_0x196992(0x20a)],_0x289b8a=(_0x58cf77,_0x4c18fd,_0x294a7f,_0x599541)=>{var _0x50e1e3=_0x196992;for(var _0x2e02d2=_0x599541>0x1?void 0x0:_0x599541?_0x265c01(_0x4c18fd,_0x294a7f):_0x4c18fd,_0x47dd19=_0x58cf77[_0x50e1e3(0x2e8)]-0x1,_0x6f069a;_0x47dd19>=0x0;_0x47dd19--)(_0x6f069a=_0x58cf77[_0x47dd19])&&(_0x2e02d2=_0x6f069a(_0x2e02d2)||_0x2e02d2);return _0x2e02d2;},_0x42459e=(_0x231653,_0x35af19)=>(_0xc48b51,_0x436364)=>_0x35af19(_0xc48b51,_0x436364,_0x231653);const _0x1e1ead=_0x196992(0x1df),_0x329041=_0x196992(0x2de);_0x4fb175[_0x196992(0x29f)]=class extends _0x3528b3[_0x196992(0x251)]{constructor(_0x2090e1,_0xf52fda,_0x3a125a,_0x58590a,_0x2bcbec,_0x157f56,_0x21ddb2,_0x25940e,_0x4b8b8e,_0x5ab023){var _0x3b31cd=_0x196992;super(),_0x4be3b9(this,_0x3b31cd(0x25b),new _0x54618a[(_0x3b31cd(0x334))](!0x1)),_0x4be3b9(this,_0x3b31cd(0x2c3),new _0x54618a[(_0x3b31cd(0x334))]({})),_0x4be3b9(this,_0x3b31cd(0x1f6),new _0x54618a[(_0x3b31cd(0x334))]({})),_0x4be3b9(this,'_apiKey$',new _0x54618a[(_0x3b31cd(0x334))]('')),_0x4be3b9(this,'_handleConfigSave',async _0x387e53=>{var _0x41a992=_0x3b31cd,_0x250459,_0xd735e1;this[_0x41a992(0x25b)][_0x41a992(0x31f)](!0x0);try{const _0xf2d0f1=await this[_0x41a992(0x210)](_0x387e53);if(!_0xf2d0f1[_0x41a992(0x24f)]){this[_0x41a992(0x359)][_0x41a992(0x2b2)]({'type':_0x454ab9[_0x41a992(0x1dc)]['Error'],'content':_0xf2d0f1[_0x41a992(0x299)]||this[_0x41a992(0x2ac)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x387e53[_0x41a992(0x342)]?await this[_0x41a992(0x2a4)]['setItem'](_0x1e1ead,_0x387e53[_0x41a992(0x342)][_0x41a992(0x33b)]()):await this['_localStorageService'][_0x41a992(0x2ff)](_0x1e1ead),this[_0x41a992(0x287)][_0x41a992(0x31f)](((_0x250459=_0x387e53['apiKey'])==null?void 0x0:_0x250459[_0x41a992(0x33b)]())||''),this[_0x41a992(0x292)][_0x41a992(0x1f0)]({'Authorization':_0x41a992(0x2f9)+((_0xd735e1=_0x387e53[_0x41a992(0x342)])==null?void 0x0:_0xd735e1[_0x41a992(0x33b)]())}),this[_0x41a992(0x359)][_0x41a992(0x2b2)]({'type':_0x454ab9[_0x41a992(0x1dc)][_0x41a992(0x309)],'content':this[_0x41a992(0x2ac)]['t'](_0x41a992(0x21c))}),setTimeout(()=>{var _0x2fc0cc=_0x41a992;this[_0x2fc0cc(0x2bf)][_0x2fc0cc(0x2d1)](_0x329041);},0x320);}catch(_0x595dc5){this['_logService'][_0x41a992(0x2f6)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x595dc5),this[_0x41a992(0x359)][_0x41a992(0x2b2)]({'type':_0x454ab9[_0x41a992(0x1dc)][_0x41a992(0x248)],'content':this[_0x41a992(0x2ac)]['t'](_0x41a992(0x311))});}finally{this['_loading$'][_0x41a992(0x31f)](!0x1);}}),(this['_injector']=_0x2090e1,this[_0x3b31cd(0x1e6)]=_0xf52fda,this[_0x3b31cd(0x363)]=_0x3a125a,this[_0x3b31cd(0x2a4)]=_0x58590a,this[_0x3b31cd(0x2bf)]=_0x2bcbec,this[_0x3b31cd(0x359)]=_0x157f56,this[_0x3b31cd(0x2fb)]=_0x21ddb2,this['_localeService']=_0x25940e,this[_0x3b31cd(0x360)]=_0x4b8b8e,this[_0x3b31cd(0x292)]=_0x5ab023,this['_initConfigSync'](),this[_0x3b31cd(0x249)](),this[_0x3b31cd(0x2df)]());}[_0x196992(0x34b)](){var _0x5f1958=_0x196992;const _0x35ceef=this['_configService']['getConfig'](_0x4f111c);_0x35ceef!=null&&_0x35ceef[_0x5f1958(0x222)]&&this[_0x5f1958(0x2bf)]['open']({'id':_0x329041,'title':{'title':this[_0x5f1958(0x2ac)]['t'](_0x5f1958(0x2b4))},'children':{'label':_0x5f1958(0x2c5)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x18d674=_0x5f1958;this[_0x18d674(0x2bf)][_0x18d674(0x2d1)](_0x329041);}});}[_0x196992(0x350)](){var _0x106ce6=_0x196992;return this[_0x106ce6(0x2c3)][_0x106ce6(0x214)];}['_registerComponent'](){var _0x82a67=_0x196992;this[_0x82a67(0x339)](this[_0x82a67(0x2fb)][_0x82a67(0x1ea)](_0x82a67(0x2c5),this[_0x82a67(0x338)]()));}[_0x196992(0x338)](){var _0x239900=_0x196992;return _0x42b9be[_0x239900(0x368)](()=>{var _0x52040=_0x239900,_0x34a844,_0x5eaaf1,_0x42f11f;return _0x137988[_0x52040(0x1e0)](_0x1d3937,{'config':this[_0x52040(0x1f6)][_0x52040(0x214)],'mcpCoreConfig':this[_0x52040(0x2c3)][_0x52040(0x214)],'currentApiKey$':this[_0x52040(0x287)],'onSave':this[_0x52040(0x20c)],'loading':this[_0x52040(0x25b)][_0x52040(0x214)],'connectionStatus$':(_0x34a844=this['_mcpConnectionController'])==null?void 0x0:_0x34a844[_0x52040(0x344)],'connectionError$':(_0x5eaaf1=this[_0x52040(0x292)])==null?void 0x0:_0x5eaaf1[_0x52040(0x268)],'currentSessionId$':(_0x42f11f=this[_0x52040(0x292)])==null?void 0x0:_0x42f11f[_0x52040(0x1fb)]});},this[_0x239900(0x1d9)]);}[_0x196992(0x272)](){var _0x57b60e=_0x196992;this[_0x57b60e(0x339)](this[_0x57b60e(0x363)]['subscribeConfigValue$'](_0x30e1f0[_0x57b60e(0x232)])[_0x57b60e(0x1cb)](_0x7db739=>{var _0x33bfa8=_0x57b60e;this['_mcpCoreConfig$'][_0x33bfa8(0x31f)](_0x7db739||{});}));const _0xe36840=this[_0x57b60e(0x363)]['getConfig'](_0x30e1f0['MCP_PLUGIN_CONFIG_KEY']);this[_0x57b60e(0x2c3)]['next'](_0xe36840||{}),this[_0x57b60e(0x339)](this['_configService'][_0x57b60e(0x258)](_0x4f111c)[_0x57b60e(0x1cb)](_0x35f7=>{var _0x31b85b=_0x57b60e;this['_config$'][_0x31b85b(0x31f)](_0x35f7||{});}));const _0x453e27=this['_configService']['getConfig'](_0x4f111c);this[_0x57b60e(0x1f6)][_0x57b60e(0x31f)](_0x453e27||{});}async['_loadStoredApiKey'](){var _0x3b6a18=_0x196992;const _0x5c8373=this[_0x3b6a18(0x363)]['getConfig'](_0x4f111c);if(!(_0x5c8373!=null&&_0x5c8373[_0x3b6a18(0x222)]))return;const _0x31400a=await this['_localStorageService'][_0x3b6a18(0x1f1)](_0x1e1ead);_0x31400a&&(this[_0x3b6a18(0x292)][_0x3b6a18(0x1f0)]({'Authorization':_0x3b6a18(0x2f9)+_0x31400a}),this['_apiKey$'][_0x3b6a18(0x31f)](_0x31400a));}async[_0x196992(0x210)](_0x390315){var _0x377094=_0x196992;if(!_0x390315[_0x377094(0x342)]||_0x390315['apiKey'][_0x377094(0x33b)]()[_0x377094(0x2e8)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x377094(0x2ac)]['t'](_0x377094(0x314))};if(_0x390315[_0x377094(0x342)][_0x377094(0x33b)]()[_0x377094(0x2e8)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x5b4026=await this[_0x377094(0x1d9)][_0x377094(0x256)](_0x30e1f0[_0x377094(0x279)])[_0x377094(0x2a6)](_0x390315[_0x377094(0x342)][_0x377094(0x33b)]());return _0x5b4026['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x5b4026[_0x377094(0x2f6)]||this[_0x377094(0x2ac)]['t'](_0x377094(0x274))};}catch(_0x225020){return console[_0x377094(0x26e)](_0x377094(0x34f),_0x225020),{'isValid':!0x0};}}},_0x4fb175[_0x196992(0x29f)]=_0x289b8a([_0x42459e(0x0,_0x3528b3[_0x196992(0x284)](_0x3528b3[_0x196992(0x2e5)])),_0x42459e(0x1,_0x42b9be[_0x196992(0x2bb)]),_0x42459e(0x2,_0x3528b3[_0x196992(0x2d6)]),_0x42459e(0x3,_0x3528b3[_0x196992(0x321)]),_0x42459e(0x4,_0x42b9be[_0x196992(0x226)]),_0x42459e(0x5,_0x42b9be['IMessageService']),_0x42459e(0x6,_0x3528b3['Inject'](_0x42b9be['ComponentManager'])),_0x42459e(0x7,_0x3528b3[_0x196992(0x284)](_0x3528b3[_0x196992(0x26a)])),_0x42459e(0x8,_0x3528b3[_0x196992(0x245)]),_0x42459e(0x9,_0x3528b3[_0x196992(0x284)](_0x30e1f0[_0x196992(0x279)]))],_0x4fb175[_0x196992(0x29f)]);const _0xcdbf77={'id':_0x196992(0x206),'type':_0x3528b3[_0x196992(0x32a)]['COMMAND'],'handler':async(_0x191b14,_0x3185d1)=>(_0x191b14[_0x196992(0x256)](_0x4fb175[_0x196992(0x29f)])[_0x196992(0x34b)](),!0x0)};function _0x5cf028(_0x39b36a,_0x350854){var _0x30ffd7=_0x196992;switch(_0x39b36a){case _0x30e1f0['MCPConnectionStatus']['DISCONNECTED']:return _0x30ffd7(0x26f);case _0x30e1f0[_0x30ffd7(0x275)][_0x30ffd7(0x262)]:return'mcpStatus.connecting';case _0x30e1f0['MCPConnectionStatus'][_0x30ffd7(0x2e4)]:return _0x30ffd7(0x27f);case _0x30e1f0['MCPConnectionStatus']['FAILED']:switch(_0x350854){case _0x30e1f0['MCPConnectionError'][_0x30ffd7(0x2d0)]:return'mcpStatus.unauthorized';case _0x30e1f0[_0x30ffd7(0x336)][_0x30ffd7(0x1ed)]:return _0x30ffd7(0x31e);case _0x30e1f0[_0x30ffd7(0x336)][_0x30ffd7(0x293)]:return _0x30ffd7(0x319);case _0x30e1f0[_0x30ffd7(0x336)][_0x30ffd7(0x300)]:return _0x30ffd7(0x273);default:return _0x30ffd7(0x35c);}case _0x30e1f0['MCPConnectionStatus'][_0x30ffd7(0x326)]:return _0x30ffd7(0x2d9);default:return _0x30ffd7(0x32b);}}function _0x4de4eb(_0x10faa3,_0x5b1744,_0x3fdc2a,_0x42a5a3=!0x0){var _0x4cda76=_0x196992;const _0x245090=_0x5cf028(_0x10faa3,_0x5b1744),_0x58a4ff=_0x3fdc2a['t'](_0x245090);return _0x42a5a3?_0x10faa3===_0x30e1f0[_0x4cda76(0x275)][_0x4cda76(0x33d)]&&_0x5b1744===_0x30e1f0[_0x4cda76(0x336)][_0x4cda76(0x2d0)]?_0x58a4ff+_0x4cda76(0x219)+_0x3fdc2a['t'](_0x4cda76(0x364)):_0x10faa3===_0x30e1f0[_0x4cda76(0x275)][_0x4cda76(0x2e4)]?''+_0x58a4ff:_0x10faa3===_0x30e1f0['MCPConnectionStatus'][_0x4cda76(0x33d)]||_0x10faa3===_0x30e1f0[_0x4cda76(0x275)][_0x4cda76(0x1fe)]?_0x58a4ff+_0x4cda76(0x219)+_0x3fdc2a['t'](_0x4cda76(0x271)):_0x58a4ff:_0x58a4ff;}function _0x1b78cd(_0x5c28e7){var _0x5eb9f6=_0x196992;switch(_0x5c28e7){case _0x30e1f0['MCPConnectionStatus'][_0x5eb9f6(0x2e4)]:return _0x5eb9f6(0x357);case _0x30e1f0[_0x5eb9f6(0x275)][_0x5eb9f6(0x262)]:case _0x30e1f0[_0x5eb9f6(0x275)][_0x5eb9f6(0x326)]:return'univer-text-yellow-500';case _0x30e1f0[_0x5eb9f6(0x275)][_0x5eb9f6(0x1fe)]:case _0x30e1f0[_0x5eb9f6(0x275)][_0x5eb9f6(0x33d)]:return _0x5eb9f6(0x2e0);default:return'univer-text-gray-500';}}function _0x15ac7e(_0x2cc25a){var _0x12b605=_0x196992;const {status$:_0x22f80d,error$:_0x236d1d,onConfigure:_0x43a1d0,showClickable:_0x2e3892=!0x0}=_0x2cc25a,_0x2938dc=_0x42b9be[_0x12b605(0x2fc)](_0x22f80d,_0x30e1f0[_0x12b605(0x275)][_0x12b605(0x33d)]),_0x45b73d=_0x42b9be['useObservable'](_0x236d1d,_0x30e1f0[_0x12b605(0x336)][_0x12b605(0x22e)]),_0x4a7c03=_0x42b9be[_0x12b605(0x26b)](_0x3528b3[_0x12b605(0x26a)]),_0x46d91f=_0x2938dc===_0x30e1f0[_0x12b605(0x275)][_0x12b605(0x2e4)];_0x2938dc===_0x30e1f0[_0x12b605(0x275)]['CONNECTING']||_0x30e1f0[_0x12b605(0x275)][_0x12b605(0x326)];const _0x1acd84=_0x4a7c03['t'](_0x5cf028(_0x2938dc,_0x45b73d)),_0x203f15=_0x4de4eb(_0x2938dc,_0x45b73d,_0x4a7c03,_0x2e3892),_0x344139=_0x1b78cd(_0x2938dc),_0x2bc69f=_0x46d91f?_0x137988[_0x12b605(0x1e0)](_0x283222,{}):_0x137988[_0x12b605(0x1e0)](_0x4f9178,{}),_0x1da229=_0x89bcb3[_0x12b605(0x241)](()=>{_0x2e3892&&_0x43a1d0&&_0x43a1d0();},[_0x2e3892,_0x43a1d0]);function _0x36da7b(){var _0x4401b1=_0x12b605;return _0x137988[_0x4401b1(0x2f4)]('div',{'className':_0x454ab9['clsx'](_0x4401b1(0x27c),_0x2e3892&&_0x43a1d0&&_0x4401b1(0x239)),'onClick':_0x2e3892&&_0x43a1d0?_0x1da229:void 0x0,'children':[_0x137988['jsx'](_0x4401b1(0x200),{'className':_0x454ab9['clsx'](_0x4401b1(0x211),_0x344139),'children':_0x2bc69f}),_0x137988[_0x4401b1(0x1e0)](_0x4401b1(0x200),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1acd84})]});}return _0x137988[_0x12b605(0x1e0)](_0x454ab9[_0x12b605(0x218)],{'title':_0x203f15,'placement':_0x12b605(0x32e),'children':_0x36da7b()});}var _0x9d8078=Object[_0x196992(0x20a)],_0x10cbc2=(_0x4a0e2d,_0xd587d,_0x2b77fb,_0x2bafd0)=>{var _0x403e6b=_0x196992;for(var _0x412385=_0x2bafd0>0x1?void 0x0:_0x2bafd0?_0x9d8078(_0xd587d,_0x2b77fb):_0xd587d,_0x847eb7=_0x4a0e2d[_0x403e6b(0x2e8)]-0x1,_0xe23d72;_0x847eb7>=0x0;_0x847eb7--)(_0xe23d72=_0x4a0e2d[_0x847eb7])&&(_0x412385=_0xe23d72(_0x412385)||_0x412385);return _0x412385;},_0x46e6cc=(_0x159d59,_0x1d56a4)=>(_0x41afc2,_0x3fae36)=>_0x1d56a4(_0x41afc2,_0x3fae36,_0x159d59);_0x4fb175[_0x196992(0x2bd)]=class extends _0x3528b3[_0x196992(0x251)]{constructor(_0x362c78,_0x15d8b0,_0x9ba8df,_0x555af0){var _0x398e36=_0x196992;super(),this['_injector']=_0x362c78,this[_0x398e36(0x2c6)]=_0x15d8b0,this[_0x398e36(0x1e6)]=_0x9ba8df,this[_0x398e36(0x363)]=_0x555af0,this[_0x398e36(0x24b)](),this[_0x398e36(0x1d2)]();}['_initAutoConnect'](){var _0x149928=_0x196992;const _0x2ea035=this[_0x149928(0x363)]['getConfig'](_0x4f111c);_0x2ea035!=null&&_0x2ea035['showDeveloperTools']&&(this[_0x149928(0x2c6)][_0x149928(0x2e9)]=!0x1);}[_0x196992(0x1d2)](){var _0x5565b7=_0x196992;const _0x4b1aaa=this['_configService'][_0x5565b7(0x28a)](_0x4f111c);(_0x4b1aaa==null?void 0x0:_0x4b1aaa[_0x5565b7(0x2d8)])!==!0x1&&this[_0x5565b7(0x339)](this['_uiPartsService'][_0x5565b7(0x280)](_0x42b9be[_0x5565b7(0x242)][_0x5565b7(0x224)],()=>{var _0x2230fd=_0x5565b7,_0x159934;return _0x42b9be[_0x2230fd(0x368)](_0x5135ad({'status$':this[_0x2230fd(0x2c6)][_0x2230fd(0x344)],'error$':this[_0x2230fd(0x2c6)][_0x2230fd(0x268)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x159934=_0x4b1aaa==null?void 0x0:_0x4b1aaa[_0x2230fd(0x222)])!=null?_0x159934:!0x1}),this['_injector']);}));}[_0x196992(0x30f)](){var _0x927ba2=_0x196992;this['_injector'][_0x927ba2(0x256)](_0x4fb175['MCPConfigUIController'])[_0x927ba2(0x34b)]();}},_0x4fb175[_0x196992(0x2bd)]=_0x10cbc2([_0x46e6cc(0x0,_0x3528b3[_0x196992(0x284)](_0x3528b3[_0x196992(0x2e5)])),_0x46e6cc(0x1,_0x3528b3['Inject'](_0x30e1f0[_0x196992(0x279)])),_0x46e6cc(0x2,_0x42b9be[_0x196992(0x2bb)]),_0x46e6cc(0x3,_0x3528b3[_0x196992(0x2d6)])],_0x4fb175[_0x196992(0x2bd)]);function _0x5135ad(_0x5f1ec8){const {status$:_0x4c7186,error$:_0x999179,onConfigure:_0x16299f,showClickable:_0x3aecaa}=_0x5f1ec8;return function(){var _0x52c62a=_0x2c3f;return _0x137988[_0x52c62a(0x1e0)](_0x15ac7e,{'status$':_0x4c7186,'error$':_0x999179,'onConfigure':_0x16299f,'showClickable':_0x3aecaa});};}function _0x45991a(_0x1ec0f8){var _0x40361b=_0x196992;return{'id':_0xcdbf77['id'],'type':_0x42b9be[_0x40361b(0x2f5)]['BUTTON'],'icon':'MenuIcon','title':'mcpConfig.title','tooltip':_0x40361b(0x2b4)};}const _0x198478={[_0x42b9be[_0x196992(0x270)][_0x196992(0x318)]]:{[_0xcdbf77['id']]:{'order':0xa,'menuItemFactory':_0x45991a}}};var _0x5a199d=Object[_0x196992(0x20a)],_0x43d3e3=(_0x2d55f6,_0x3883c3,_0x50c1d8,_0x2dc25f)=>{var _0x20fb9f=_0x196992;for(var _0x325007=_0x2dc25f>0x1?void 0x0:_0x2dc25f?_0x5a199d(_0x3883c3,_0x50c1d8):_0x3883c3,_0x57ab4d=_0x2d55f6[_0x20fb9f(0x2e8)]-0x1,_0x2dcb1b;_0x57ab4d>=0x0;_0x57ab4d--)(_0x2dcb1b=_0x2d55f6[_0x57ab4d])&&(_0x325007=_0x2dcb1b(_0x325007)||_0x325007);return _0x325007;},_0x7834f5=(_0x252085,_0x2d131f)=>(_0x27c081,_0x36dd39)=>_0x2d131f(_0x27c081,_0x36dd39,_0x252085);_0x4fb175[_0x196992(0x1fa)]=class extends _0x3528b3['Disposable']{constructor(_0x3fbb2f,_0x5d229d){var _0x262e86=_0x196992;super(),this['_commandService']=_0x3fbb2f,this[_0x262e86(0x2b6)]=_0x5d229d,this[_0x262e86(0x25e)](),this[_0x262e86(0x1cc)]();}['_initializeCommands'](){var _0x16dc5a=_0x196992;[_0xcdbf77][_0x16dc5a(0x28c)](_0x632639=>{var _0x4e890b=_0x16dc5a;this[_0x4e890b(0x339)](this[_0x4e890b(0x2fd)][_0x4e890b(0x367)](_0x632639));});}[_0x196992(0x1cc)](){var _0x1ef24b=_0x196992;this[_0x1ef24b(0x2b6)][_0x1ef24b(0x213)](_0x198478);}},_0x4fb175[_0x196992(0x1fa)]=_0x43d3e3([_0x7834f5(0x0,_0x3528b3[_0x196992(0x2d4)]),_0x7834f5(0x1,_0x42b9be[_0x196992(0x215)])],_0x4fb175[_0x196992(0x1fa)]);const _0x4e0fe6={'mcpStatus':{'disconnected':_0x196992(0x265),'connecting':'MCP\x20Connecting...','connected':_0x196992(0x29d),'failed':_0x196992(0x27a),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x196992(0x203),'maxRetriesExceeded':_0x196992(0x281),'clickToConnect':_0x196992(0x2c8),'clickToConfigure':_0x196992(0x317)},'mcpConfig':{'title':_0x196992(0x349),'description':_0x196992(0x230),'apiKey':_0x196992(0x29b),'apiKeyPlaceholder':_0x196992(0x2d7),'apiKeyHint':_0x196992(0x312),'enableAuth':_0x196992(0x323),'enableAuthHint':_0x196992(0x1e9),'connectionInfo':_0x196992(0x1dd),'mcpClientConfig':_0x196992(0x1dd),'configInstructions':_0x196992(0x246),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x196992(0x22c),'configStep2':_0x196992(0x35f),'configStep3':_0x196992(0x250),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x196992(0x205),'configParameters':_0x196992(0x2aa),'maxRetries':_0x196992(0x28e),'save':_0x196992(0x36a),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x196992(0x23b),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x196992(0x35e),'apiApplyInfo':{'title':_0x196992(0x1f9),'description':_0x196992(0x32d),'univerAiLabel':_0x196992(0x1f3),'getStarted':_0x196992(0x2ca)},'validation':{'apiKeyRequired':_0x196992(0x1d3),'apiKeyTooShort':_0x196992(0x307),'invalidConfig':_0x196992(0x313),'invalidApiKey':_0x196992(0x369)},'connectionStatus':{'disconnected':_0x196992(0x330),'connecting':'Connecting...','connected':_0x196992(0x2b1),'failed':_0x196992(0x333),'retrying':_0x196992(0x2be)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x196992(0x35b),'networkError':_0x196992(0x1de),'maxRetriesExceeded':_0x196992(0x20b)}}},_0x58ac5a={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':_0x196992(0x2f2),'failed':_0x196992(0x204),'retrying':'MCP\x20重连中...','unknown':_0x196992(0x285),'unauthorized':_0x196992(0x23a),'sessionOccupied':_0x196992(0x340),'networkError':_0x196992(0x23d),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x196992(0x2bc),'clickToConfigure':_0x196992(0x27d)},'mcpConfig':{'title':_0x196992(0x1f8),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x196992(0x316),'apiKeyPlaceholder':_0x196992(0x2ae),'apiKeyHint':_0x196992(0x34a),'enableAuth':_0x196992(0x34e),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x196992(0x2a1),'mcpClientConfig':_0x196992(0x2a1),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':'配置步骤:','configStep1':_0x196992(0x1d4),'configStep2':_0x196992(0x33e),'configStep3':_0x196992(0x24c),'sessionId':_0x196992(0x216),'sessionIdDescription':_0x196992(0x302),'authorizationDescription':_0x196992(0x36b),'configParameters':_0x196992(0x22f),'maxRetries':_0x196992(0x25a),'save':'保存配置','saving':'保存中...','note1':_0x196992(0x34d),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x196992(0x28b),'configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x196992(0x28d),'univerAiLabel':_0x196992(0x28f),'getStarted':_0x196992(0x2d5)},'validation':{'apiKeyRequired':_0x196992(0x261),'apiKeyTooShort':_0x196992(0x223),'invalidConfig':_0x196992(0x269),'invalidApiKey':_0x196992(0x2b5)},'connectionStatus':{'disconnected':_0x196992(0x236),'connecting':_0x196992(0x25c),'connected':_0x196992(0x20e),'failed':_0x196992(0x20f),'retrying':_0x196992(0x1f4)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x196992(0x24a),'maxRetriesExceeded':_0x196992(0x202)}}};var _0x294d5=Object['defineProperty'],_0xd8afbc=Object[_0x196992(0x20a)],_0x42ebf9=(_0x18c367,_0x581ed4,_0x49fdf7)=>_0x581ed4 in _0x18c367?_0x294d5(_0x18c367,_0x581ed4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49fdf7}):_0x18c367[_0x581ed4]=_0x49fdf7,_0x15b0ce=(_0x2ee43e,_0x3a40a9,_0x8e330d,_0x111b73)=>{var _0x4bd4a0=_0x196992;for(var _0x56b88c=_0x111b73>0x1?void 0x0:_0x111b73?_0xd8afbc(_0x3a40a9,_0x8e330d):_0x3a40a9,_0x5e1cb4=_0x2ee43e[_0x4bd4a0(0x2e8)]-0x1,_0x5a2e24;_0x5e1cb4>=0x0;_0x5e1cb4--)(_0x5a2e24=_0x2ee43e[_0x5e1cb4])&&(_0x56b88c=_0x5a2e24(_0x56b88c)||_0x56b88c);return _0x56b88c;},_0x25f6b0=(_0x45349b,_0x1957d6)=>(_0x496a04,_0x50aaa1)=>_0x1957d6(_0x496a04,_0x50aaa1,_0x45349b),_0x5c744f=(_0x3c8e43,_0x2dfca7,_0x27567e)=>_0x42ebf9(_0x3c8e43,_0x2dfca7+'',_0x27567e);_0x4fb175['UniverMCPUIPlugin']=class extends _0x3528b3[_0x196992(0x289)]{constructor(_0x5038c4=_0x2f10b4,_0x3f1cfd,_0x37c1f1,_0x1a16ee,_0xcc9f0d,_0x1d193d){var _0xa0617d=_0x196992;super(),this['_config']=_0x5038c4,this[_0xa0617d(0x1d9)]=_0x3f1cfd,this['_configService']=_0x37c1f1,this['_uiPartsService']=_0x1a16ee,this[_0xa0617d(0x2a4)]=_0xcc9f0d,this[_0xa0617d(0x2ac)]=_0x1d193d;const {..._0x5680d4}=_0x3528b3[_0xa0617d(0x2ad)]({},_0x2f10b4,this[_0xa0617d(0x2da)]);this[_0xa0617d(0x363)][_0xa0617d(0x253)](_0x4f111c,_0x5680d4);}async[_0x196992(0x1e2)](){var _0x536391=_0x196992;const _0x38055d=[[_0x4fb175[_0x536391(0x2bd)]],[_0x4fb175['MCPConfigUIController']],[_0x4fb175['MCPUIMenuController']]];this['_injector'][_0x536391(0x2c1)](_0x21d076['ISocketService'])||_0x38055d[_0x536391(0x20d)]([_0x21d076[_0x536391(0x1d1)],{'useClass':_0x21d076[_0x536391(0x1ef)]}]),_0x38055d[_0x536391(0x28c)](_0x57da45=>this[_0x536391(0x1d9)][_0x536391(0x337)](_0x57da45)),this['_injector'][_0x536391(0x256)](_0x4fb175['MCPConnectionUIController']),this[_0x536391(0x1d9)][_0x536391(0x256)](_0x4fb175['MCPConfigUIController']),this['_injector'][_0x536391(0x256)](_0x4fb175['MCPUIMenuController']);}},_0x5c744f(_0x4fb175[_0x196992(0x1d6)],'pluginName',_0x196992(0x33a)),_0x4fb175[_0x196992(0x1d6)]=_0x15b0ce([_0x3528b3[_0x196992(0x290)](_0x30e1f0[_0x196992(0x2cb)]),_0x25f6b0(0x1,_0x3528b3['Inject'](_0x3528b3['Injector'])),_0x25f6b0(0x2,_0x3528b3[_0x196992(0x2d6)]),_0x25f6b0(0x3,_0x42b9be[_0x196992(0x2bb)]),_0x25f6b0(0x4,_0x3528b3['ILocalStorageService']),_0x25f6b0(0x5,_0x3528b3[_0x196992(0x284)](_0x3528b3[_0x196992(0x26a)]))],_0x4fb175[_0x196992(0x1d6)]),_0x4fb175[_0x196992(0x2c5)]=_0x1d3937,_0x4fb175[_0x196992(0x255)]=_0x15ac7e,_0x4fb175['OpenMCPConfigPanelCommand']=_0xcdbf77,_0x4fb175[_0x196992(0x2a9)]=_0x4e0fe6,_0x4fb175[_0x196992(0x362)]=_0x58ac5a,Object['defineProperty'](_0x4fb175,Symbol[_0x196992(0x201)],{'value':_0x196992(0x2ee)});}));function _0x6720(){var _0xe10d3b=['hasOwnProperty','jsxs','MenuItemType','error','Configuration\x20Notes:','react/jsx-runtime','Bearer\x20','mcpConfig.apiKeyHint','_componentManager','useObservable','_commandService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','removeItem','MAX_RETRIES_EXCEEDED','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','univer-flex\x20univer-items-center\x20univer-gap-2','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','object','useState','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Success','7MPipvM','mcpConfig.configStepTitle','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','UniverProMcp','xlink:href','_handleConfigure','defs','mcpConfig.configError','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Invalid\x20configuration','mcpConfig.validation.apiKeyRequired','283077DHUtzT','API\x20密钥','Click\x20to\x20configure\x20MCP','OTHERS','mcpStatus.networkError','97839wqFbrf','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','mcpConfig.connectionStatus.connected','mcpStatus.sessionOccupied','next','tag','ILocalStorageService','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Enable\x20Authentication','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.apiApplyInfo.title','RETRYING','off-line-icon_clip0_910_343','symbol','OffLineIcon','CommandType','mcpStatus.unknown','call','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','bottom','includes','Disconnected','mcpConfig.connectionStatus.connecting','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','Connection\x20Failed','BehaviorSubject','univer-space-y-2','MCPConnectionError','add','_createConfigPanelComponent','disposeWithMe','MCP_UI_PLUGIN','trim','icon','DISCONNECTED','将配置添加到您的\x20MCP\x20客户端设置文件中','on-line-icon','MCP:\x20会话\x20ID\x20已被占用','text','apiKey','mcpConfig.description','connectionStatus$','mcpServerUrl','mcpConfig.apiApplyInfo.univerAiLabel','mcpConfig.connectionInfo','toString','MCP\x20Configuration','您的\x20API\x20密钥将在此浏览器中本地存储','showConfigPanel','OnLineIcon','配置更改将立即生效','启用身份验证','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','getCurrentConfig','round','88CWnpTH','M0\x200H16V16H0z','defineProperty','mcpConfig.save','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','univer-text-green-500','univer-bg-red-500','_messageService','exports','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','mcpStatus.failed','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','Failed\x20to\x20save\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_logService','univer-space-y-3','zhCN','_configService','mcpStatus.clickToConfigure','forwardRef','CheckMarkIcon','registerCommand','connectInjector','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Save\x20Configuration','带有\x20Bearer\x20前缀的\x20API\x20密钥。','subscribe','_initializeMenus','noopener\x20noreferrer','@univerjs-pro/mcp','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-font-medium','ISocketService','_initStatusComponent','API\x20key\x20is\x20required','复制以下\x20JSON\x20配置','fill','UniverMCPUIPlugin','0\x200\x2017\x2016','url(#$1','_injector','mcpConfig.configStep1','concat','MessageType','MCP\x20Client\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','mcp.apiKey','jsx','useRef','onStarting','mcpConfig.apiKeyPlaceholder','prototype','mcpConfig.configInstructions','_uiPartsService','className','mcpConfig.apiApplyInfo.description','Enable\x20authentication\x20for\x20secure\x20connections','register','univer-bg-gray-500','rxjs','SESSION_ID_OCCUPIED','univer-text-xs\x20univer-text-gray-500','WebSocketService','__setCustomHeaders','getItem','Authorization:','Univer\x20AI\x20Console','重连中...','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','_config$','univer-flex\x20univer-items-center\x20univer-gap-3','MCP\x20配置','What\x20is\x20API\x20Key?','MCPUIMenuController','sessionId$','univer-bg-blue-500','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','FAILED','string','div','toStringTag','超出最大重试次数,请稍后再试','MCP:\x20Network\x20Error','MCP\x20连接失败','API\x20key\x20with\x20Bearer\x20prefix.','mcp-ui.command.openConfigPanel','help-single','evenodd','propertyIsEnumerable','getOwnPropertyDescriptor','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','_handleConfigSave','push','已连接','连接失败','_validateConfig','univer-mr-2\x20univer-flex\x20univer-text-xl','univer.ai','mergeMenu','value','IMenuManagerService','会话ID','18DfKgJN','Tooltip','\x20-\x20','colorChannel1','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.configSaved','mcpConfig.apiApplyInfo.getStarted','Input','white','UniverDesign','translate(.97)','showDeveloperTools','API\x20密钥长度至少需要\x2010\x20位','HEADER_MENU','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','IDialogService','http://www.w3.org/2000/svg','_blank','use','defIds','UniverIcon','Copy\x20the\x20JSON\x20configuration\x20below','univer-bg-green-500','NONE','配置参数:','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','mcpConfig.authorizationDescription','MCP_PLUGIN_CONFIG_KEY','getOwnPropertySymbols','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','未连接','univer-text-sm\x20univer-font-medium','url(#off-line-icon_clip0_910_343)','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MCP:\x20未授权','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-flex-shrink-0\x20univer-text-red-500','MCP:\x20网络错误','map','UniverNetwork','univerjs-icon\x20univerjs-icon-','useCallback','BuiltInUIPart','1em','HelpSingle','ILogService','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','<API_KEY>','Error','_loadStoredApiKey','网络连接错误,请检查您的网络连接','_initAutoConnect','重启您的\x20MCP\x20客户端以使配置生效','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','random','isValid','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Disposable','replace','setConfig','univer-text-blue-600','MCPStatusDisplay','get','univer-space-y-5','subscribeConfigValue$','path','最大重试次数','_loading$','连接中...','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','_initializeCommands','732702fEiIQF','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','API\x20密钥不能为空','CONNECTING','attrs','mcpConfig.configStep3','MCP\x20Disconnected','current','clipPath','connectionError$','配置无效','LocaleService','useDependency','none','314620catbuN','warn','mcpStatus.disconnected','RibbonStartGroup','mcpStatus.clickToConnect','_initConfigSync','mcpStatus.maxRetriesExceeded','mcpConfig.validation.invalidApiKey','MCPConnectionStatus','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','React','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','MCPConnectionController','MCP\x20Connection\x20Failed','createElement','univer-flex\x20univer-items-center','点击配置\x20MCP','svg','mcpStatus.connected','registerComponent','MCP:\x20Max\x20Retries\x20Exceeded','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','currentColor','Inject','MCP\x20状态未知','@univerjs/network','_apiKey$','displayName','Plugin','getConfig','配置保存成功','forEach','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Max\x20Retries','Univer\x20AI\x20控制台','DependentOn','assign','_mcpConnectionController','NETWORK_ERROR','1556410oVPzlG','mcpConfig.connectionError.maxRetriesExceeded','off','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','span','errorMessage','0\x200\x2016\x2016','API\x20Key','mcpConfig.connectionStatus.retrying','MCP\x20Connected','substring','MCPConfigUIController','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','MCP\x20客户端配置','univer_session_id:','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_localStorageService','https://console.univer.plus','validateApiKey','UniverUi','on-line-icon_clip0_910_349','enUS','Configuration\x20Parameters:','entries','_localeService','merge','请输入您的\x20API\x20密钥','0\x200\x2017\x2017','javascript:void(0)','Connected','show','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpConfig.title','API\x20密钥无效,请检查密钥是否正确','_menuManagerService','mcpConfig.configStep2','label','mcpConfig.connectionError.sessionOccupied','apply','IUIPartsService','点击连接\x20MCP','MCPConnectionUIController','Retrying...','_dialogService','pre','has','mcpConfig.connectionError.unauthorized','_mcpCoreConfig$','react','MCPConfigPanel','_connectionController','UniverProMcpUi','Click\x20to\x20connect\x20MCP','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','Get\x20your\x20API\x20key\x20in\x20seconds','UniverMCPPlugin','783676AwYHlm','341mabczY','univer-text-sm\x20univer-text-gray-500','function','UNAUTHORIZED','close','@univerjs/core','mcpConfig.connectionError.networkError','ICommandService','几秒钟内获取您的\x20API\x20密钥','IConfigService','Enter\x20your\x20API\x20key','showStatus','mcpStatus.retrying','_config','mask','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcp-config-dialog','_registerComponent','univer-text-red-500','mcpConfig.note2','153383oiPAWA','univer-flex-shrink-0\x20univer-text-blue-500','CONNECTED','Injector','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','M5.21243\x2012.287L11.8791\x205.62036','length','enableAutoConnect','univer-flex\x20univer-items-start\x20univer-gap-2','children','univer-min-w-0\x20univer-flex-1','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','Module','@univerjs/design','univer.plus','idSuffix','MCP\x20已连接'];_0x6720=function(){return _0xe10d3b;};return _0x6720();}
1
+ function _0x4f07(_0x5e443c,_0x67e69c){var _0x58cb49=_0x58cb();return _0x4f07=function(_0x4f07c5,_0x315bc4){_0x4f07c5=_0x4f07c5-0x115;var _0x2d386e=_0x58cb49[_0x4f07c5];return _0x2d386e;},_0x4f07(_0x5e443c,_0x67e69c);}function _0x58cb(){var _0x473c0c=['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.note1','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','trim','show','mcpConfig.validation.apiKeyTooShort','subscribeConfigValue$','mcpConfig.save','ILocalStorageService','ComponentManager','您的\x20API\x20密钥安全存储在本地存储中','Button','CONNECTING','mcpConfig.validation.invalidConfig','\x20-\x20','API\x20key\x20is\x20required','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','mask','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','Max\x20Retries','univer-space-y-3','toStringTag','启用身份验证以获得安全连接','HelpSingle','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpStatus.clickToConfigure','Enter\x20your\x20API\x20key','Injector','IDialogService','NETWORK_ERROR','_uiPartsService','点击连接\x20MCP','_injector','_initializeCommands','_loading$','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Tooltip','mcpStatus.failed','将配置添加到您的\x20MCP\x20客户端设置文件中','保存中...','mcp.apiKey','getOwnPropertySymbols','showDeveloperTools','Error','_initConfigSync','权限验证失败,请检查您的\x20API\x20密钥','mcpConfig.configParameters','MenuItemType','error','Retrying...','children','tag','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','idSuffix','连接失败','配置无效','enUS','_mcpConnectionController','What\x20is\x20API\x20Key?','API\x20密钥','连接中...','clipPath','zhCN','MCPConfigPanel','mcpConfig.configStep3','MAX_RETRIES_EXCEEDED','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','UniverProMcpUi','0\x200\x2017\x2016','Disposable','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','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','off-line-icon_clip0_910_343','CONNECTED','showStatus','univer.plus','MCP\x20配置','会话ID','MCPConnectionController','connectionError$','OffLineIcon','MCPStatusDisplay','Click\x20to\x20configure\x20MCP','onStarting','Enable\x20authentication\x20for\x20secure\x20connections','registerCommand','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','apiKey','超出最大重试次数,请稍后再试','mcp-config-dialog','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','mcpStatus.connected','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','forEach','getOwnPropertyDescriptor','FAILED','replace','IMenuManagerService','_createConfigPanelComponent','OnLineIcon','IMessageService','univer-bg-gray-500','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','url(#$1','MCP\x20已连接','已连接','apply','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Saving...','merge','UniverCore','validateApiKey','IConfigService','2350086AqwJgR','univer-bg-red-500','concat','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','7RGCUBK','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','API\x20密钥无效,请检查密钥是否正确','span','Save\x20Configuration','univer-bg-blue-500','_config$','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','RibbonStartGroup','MCP:\x20网络错误','rxjs','SESSION_ID_OCCUPIED','connectionStatus$','MCP\x20Connecting...','http://www.w3.org/2000/svg','string','_config','mcpConfig.connectionError.sessionOccupied','_handleConfigure','univer-flex\x20univer-items-start\x20univer-gap-3','univer-flex\x20univer-gap-3','_localStorageService','value','MCPUIMenuController','MCPConnectionStatus','div','_loadStoredApiKey','MessageType','univer-text-sm\x20univer-font-medium','mcpConfig.validation.invalidApiKey','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','BuiltInUIPart','MCP:\x20Max\x20Retries\x20Exceeded','BehaviorSubject','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Success','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','MCP:\x20Unauthorized','mcpConfig.connectionStatus.connected','pre','univerjs-icon\x20univerjs-icon-','MCP\x20状态未知','noopener\x20noreferrer','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_mcpCoreConfig$','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','1em','mcpConfig.apiKey','amd','univer-text-white','errorMessage','mcpConfig.note2','mcpConfig.apiApplyInfo.univerAiLabel','univer-space-y-5','mcpConfig.connectionStatus.retrying','react','NONE','_initializeMenus','length','MCP\x20Unknown\x20Status','removeItem','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','OpenMCPConfigPanelCommand','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','extend','mcpStatus.sessionOccupied','MCP:\x20Network\x20Error','current','UNAUTHORIZED','IUIPartsService','univer-space-y-4','mcpStatus.connecting','@univerjs/network','MCP_PLUGIN_CONFIG_KEY','includes','useDependency','M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fill','function','MCP\x20Configuration','https://console.univer.ai','ISocketService','https://console.univer.plus','COMMAND','showConfigPanel','defineProperty','启用身份验证','MCP\x20Connection\x20Failed','1158100FtkEEW','currentColor','substring','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','add','indexOf','Input','UniverUi','pluginName','重启您的\x20MCP\x20客户端以使配置生效','mcpConfig.apiApplyInfo.getStarted','white','MCP:\x20超出最大重试次数','univer-flex\x20univer-items-center\x20univer-gap-2','propertyIsEnumerable','assign','@univerjs-pro/mcp','MCP_UI_PLUGIN','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','_initStatusComponent','_registerComponent','MCP\x20Disconnected','mcpConfig.apiApplyInfo.title','univer-min-w-0\x20univer-flex-1','label','on-line-icon_clip0_910_349','defIds','mcpConfig.configStepTitle','@univerjs/ui','icon','Disconnected','mcpStatus.maxRetriesExceeded','UniverIcon','9itfxHQ','univer-flex\x20univer-items-center\x20univer-gap-3','has','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','colorChannel1','API\x20Key','svg','UniverDesign','MCPConnectionError','0\x200\x2017\x2017','univer-text-blue-600','mcpStatus.unauthorized','M5.21243\x205.62036L11.8791\x2012.287','entries','_connectionController','univer-text-red-500','mcpConfig.sessionIdDescription','MCPConfigUIController','mcpStatus.networkError','Configuration\x20saved\x20successfully','evenodd','_blank','univer-flex\x20univer-flex-wrap\x20univer-gap-2','defs','mcpConfig.configSaved','HEADER_MENU','Enable\x20Authentication','mcpConfig.saving','_commandService','UniverMCPUIPlugin','配置更改将立即生效','close-small-single','mcpServerUrl','39260yoYljh','off','next','none','1428936UnaqRM','enableAutoConnect','random','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','配置保存成功','MCP\x20Client\x20Configuration','_menuManagerService','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','DISCONNECTED','clsx','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','url(#on-line-icon_clip0_910_349)','保存配置','0\x200\x2016\x2016','Connected','createElement','Bearer\x20','Configuration\x20Steps:','Get\x20your\x20API\x20key\x20in\x20seconds','forwardRef','请输入您的\x20API\x20密钥','mcpConfig.connectionStatus.connecting','mcpConfig.title','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','off-line-icon','点击配置\x20MCP','useRef','attrs','disposeWithMe','<API_KEY>','MCP\x20连接中...','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','univer_session_id:','text','未连接','RETRYING','exports','univer-text-sm\x20univer-text-gray-500','_apiKey$','Click\x20to\x20connect\x20MCP','Configuration\x20Notes:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','translate(.97)','DependentOn','MCPConnectionUIController','配置步骤:','mcpConfig.description','_handleConfigSave','API\x20密钥不能为空','xlink:href','univer-bg-green-500','isValid','mcpStatus.disconnected','Plugin','mcpConfig.authorizationDescription','UniverProMcp','mcpConfig.connectionError.networkError','LocaleService','复制以下\x20JSON\x20配置','className','_localeService','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','M5.21243\x2012.287L11.8791\x205.62036','get','round','几秒钟内获取您的\x20API\x20密钥','3630828FmClZm','useCallback','map','配置保存失败','BUTTON','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-text-gray-500','M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z','React','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','5226284eLxnVO','_messageService','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','配置参数:','univer-flex\x20univer-items-center','_dialogService','_initAutoConnect','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','push','getConfig','help-single','univer.ai','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20未授权','Copy\x20the\x20JSON\x20configuration\x20below','CheckMarkIcon','connectInjector','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','_logService','univer-text-xs\x20univer-text-gray-500','jsxs','_componentManager','call','univer-flex-shrink-0\x20univer-text-blue-500','javascript:void(0)','MCP\x20客户端配置','重连中...','useState','Inject','useObservable','ICommandService','close','__setCustomHeaders','3219060XYtEzu','_configService','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','M0\x200H16V16H0z','jsx','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-space-y-2','path','Configuration\x20Parameters:','check-mark-icon','Connecting...','mergeMenu','将以下配置添加到您的\x20MCP\x20客户端设置中:','hasOwnProperty','CloseSmallSingle','Module','最大重试次数','sessionId$','UniverMCPPlugin','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','displayName'];_0x58cb=function(){return _0x473c0c;};return _0x58cb();}(function(_0x33eefd,_0x33ded5){var _0x53bf84=_0x4f07,_0x196c02=_0x33eefd();while(!![]){try{var _0xdba4e5=-parseInt(_0x53bf84(0x161))/0x1*(parseInt(_0x53bf84(0x1fc))/0x2)+-parseInt(_0x53bf84(0x15d))/0x3+parseInt(_0x53bf84(0x243))/0x4+parseInt(_0x53bf84(0x1ba))/0x5+-parseInt(_0x53bf84(0x26f))/0x6+parseInt(_0x53bf84(0x24d))/0x7+parseInt(_0x53bf84(0x200))/0x8*(parseInt(_0x53bf84(0x1db))/0x9);if(_0xdba4e5===_0x33ded5)break;else _0x196c02['push'](_0x196c02['shift']());}catch(_0x18e407){_0x196c02['push'](_0x196c02['shift']());}}}(_0x58cb,0x9442a),function(_0xc72479,_0x2b9f9a){var _0x3ab498=_0x4f07;typeof exports=='object'&&typeof module<'u'?_0x2b9f9a(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x3ab498(0x1b0)&&define[_0x3ab498(0x192)]?define([_0x3ab498(0x225),'@univerjs/core','react/jsx-runtime',_0x3ab498(0x1ca),'@univerjs/design',_0x3ab498(0x1d6),_0x3ab498(0x16c),_0x3ab498(0x199),_0x3ab498(0x1aa)],_0x2b9f9a):(_0xc72479=typeof globalThis<'u'?globalThis:_0xc72479||self,_0x2b9f9a(_0xc72479[_0x3ab498(0x12f)]={},_0xc72479[_0x3ab498(0x15a)],_0xc72479[_0x3ab498(0x24b)],_0xc72479[_0x3ab498(0x238)],_0xc72479[_0x3ab498(0x1e2)],_0xc72479[_0x3ab498(0x1c1)],_0xc72479['rxjs'],_0xc72479[_0x3ab498(0x24b)],_0xc72479['UniverNetwork']));}(this,function(_0x372cc1,_0x524c4d,_0x1d3d1c,_0x1cc144,_0x78756e,_0x5a1162,_0x31b5b0,_0x1e7d05,_0x4c890a){'use strict';var _0x3990c7=_0x4f07;var _0xd56228=Object[_0x3990c7(0x1b7)],_0xba72cc=(_0x753e6,_0x3e7174,_0x2cbde0)=>_0x3e7174 in _0x753e6?_0xd56228(_0x753e6,_0x3e7174,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cbde0}):_0x753e6[_0x3e7174]=_0x2cbde0,_0x32ee84=(_0x2bd4e0,_0x1c2e30,_0x99fd7f)=>_0xba72cc(_0x2bd4e0,typeof _0x1c2e30!='symbol'?_0x1c2e30+'':_0x1c2e30,_0x99fd7f),_0x1763b6=function(){var _0x33308c=_0x3990c7;return _0x1763b6=Object[_0x33308c(0x1c9)]||function(_0x4dfbd6){var _0x1c2f38=_0x33308c;for(var _0xe2ac0a,_0x454e74=0x1,_0x231316=arguments[_0x1c2f38(0x19c)];_0x454e74<_0x231316;_0x454e74++){_0xe2ac0a=arguments[_0x454e74];for(var _0x463390 in _0xe2ac0a)Object['prototype'][_0x1c2f38(0x27d)]['call'](_0xe2ac0a,_0x463390)&&(_0x4dfbd6[_0x463390]=_0xe2ac0a[_0x463390]);}return _0x4dfbd6;},_0x1763b6[_0x33308c(0x156)](this,arguments);},_0x3d3804=function(_0x44791d,_0x37b09e){var _0x3527df=_0x3990c7,_0x4f5026={};for(var _0xfdf1ab in _0x44791d)Object['prototype']['hasOwnProperty'][_0x3527df(0x264)](_0x44791d,_0xfdf1ab)&&_0x37b09e[_0x3527df(0x1bf)](_0xfdf1ab)<0x0&&(_0x4f5026[_0xfdf1ab]=_0x44791d[_0xfdf1ab]);if(_0x44791d!=null&&typeof Object[_0x3527df(0x115)]==_0x3527df(0x1b0)){for(var _0x5a2a06=0x0,_0xfdf1ab=Object[_0x3527df(0x115)](_0x44791d);_0x5a2a06<_0xfdf1ab[_0x3527df(0x19c)];_0x5a2a06++)_0x37b09e[_0x3527df(0x1bf)](_0xfdf1ab[_0x5a2a06])<0x0&&Object['prototype'][_0x3527df(0x1c8)][_0x3527df(0x264)](_0x44791d,_0xfdf1ab[_0x5a2a06])&&(_0x4f5026[_0xfdf1ab[_0x5a2a06]]=_0x44791d[_0xfdf1ab[_0x5a2a06]]);}return _0x4f5026;},_0x465f4c=_0x1e7d05[_0x3990c7(0x213)](function(_0x5e8b2b,_0x19d15e){var _0x44acb0=_0x3990c7,_0x1d19ba=_0x5e8b2b[_0x44acb0(0x1d7)],_0x2bd3ca=_0x5e8b2b['id'],_0x35231f=_0x5e8b2b[_0x44acb0(0x23c)],_0x534c46=_0x5e8b2b[_0x44acb0(0x1a2)],_0xa84f7a=_0x3d3804(_0x5e8b2b,[_0x44acb0(0x1d7),'id',_0x44acb0(0x23c),_0x44acb0(0x1a2)]),_0x59e950=_0x44acb0(0x18a)[_0x44acb0(0x15f)](_0x2bd3ca,'\x20')['concat'](_0x35231f||'')[_0x44acb0(0x28a)](),_0x520e18=_0x1e7d05[_0x44acb0(0x21a)]('_'[_0x44acb0(0x15f)](_0x406f47()));return _0x4de69a(_0x1d19ba,''['concat'](_0x2bd3ca),{'defIds':_0x1d19ba[_0x44acb0(0x1d4)],'idSuffix':_0x520e18[_0x44acb0(0x1a5)]},_0x1763b6({'ref':_0x19d15e,'className':_0x59e950},_0xa84f7a),_0x534c46);});function _0x4de69a(_0x2a9314,_0x2f7d18,_0x4804b2,_0xec8f97,_0x349de3){var _0x4bec91=_0x3990c7;return _0x1e7d05[_0x4bec91(0x20f)](_0x2a9314[_0x4bec91(0x11f)],_0x1763b6(_0x1763b6({'key':_0x2f7d18},_0x4159ca(_0x2a9314,_0x4804b2,_0x349de3)),_0xec8f97),(_0x5952f9(_0x2a9314,_0x4804b2)[_0x4bec91(0x11e)]||[])[_0x4bec91(0x245)](function(_0x423e5e,_0x4ed2b1){var _0x1402d7=_0x4bec91;return _0x4de69a(_0x423e5e,''[_0x1402d7(0x15f)](_0x2f7d18,'-')['concat'](_0x2a9314['tag'],'-')[_0x1402d7(0x15f)](_0x4ed2b1),_0x4804b2,void 0x0,_0x349de3);}));}function _0x4159ca(_0x128aa6,_0xe250b9,_0x4cde1e){var _0x129702=_0x3990c7,_0x3a050f=_0x1763b6({},_0x128aa6[_0x129702(0x21b)]);_0x4cde1e!=null&&_0x4cde1e['colorChannel1']&&_0x3a050f['fill']===_0x129702(0x1df)&&(_0x3a050f[_0x129702(0x1af)]=_0x4cde1e[_0x129702(0x1df)]),_0x128aa6[_0x129702(0x11f)]===_0x129702(0x298)&&_0x3a050f['id']&&(_0x3a050f['id']=_0x3a050f['id']+_0xe250b9['idSuffix']),Object[_0x129702(0x1e8)](_0x3a050f)[_0x129702(0x149)](function(_0x6d912d){var _0x58a358=_0x129702,_0x5c665e=_0x6d912d[0x0],_0x110989=_0x6d912d[0x1];_0x5c665e===_0x58a358(0x298)&&typeof _0x110989==_0x58a358(0x171)&&(_0x3a050f[_0x5c665e]=_0x110989[_0x58a358(0x14c)](/url\(#(.*)\)/,'url(#$1'[_0x58a358(0x15f)](_0xe250b9[_0x58a358(0x121)],')')));});var _0x31b8a5=_0xe250b9[_0x129702(0x1d4)];return!_0x31b8a5||_0x31b8a5[_0x129702(0x19c)]===0x0||(_0x128aa6['tag']==='use'&&_0x3a050f[_0x129702(0x232)]&&(_0x3a050f[_0x129702(0x232)]=_0x3a050f[_0x129702(0x232)]+_0xe250b9['idSuffix']),Object[_0x129702(0x1e8)](_0x3a050f)[_0x129702(0x149)](function(_0x53aa2d){var _0xb19a3d=_0x129702,_0xe8f816=_0x53aa2d[0x0],_0x269f5f=_0x53aa2d[0x1];typeof _0x269f5f==_0xb19a3d(0x171)&&(_0x3a050f[_0xe8f816]=_0x269f5f[_0xb19a3d(0x14c)](/url\(#(.*)\)/,_0xb19a3d(0x153)[_0xb19a3d(0x15f)](_0xe250b9[_0xb19a3d(0x121)],')')));})),_0x3a050f;}function _0x5952f9(_0x2f9274,_0x5164d4){var _0x327bba=_0x3990c7,_0x28ce52,_0x543723=_0x5164d4[_0x327bba(0x1d4)];return!_0x543723||_0x543723[_0x327bba(0x19c)]===0x0?_0x2f9274:_0x2f9274[_0x327bba(0x11f)]==='defs'&&(!((_0x28ce52=_0x2f9274[_0x327bba(0x11e)])===null||_0x28ce52===void 0x0)&&_0x28ce52[_0x327bba(0x19c)])?_0x1763b6(_0x1763b6({},_0x2f9274),{'children':_0x2f9274[_0x327bba(0x11e)][_0x327bba(0x245)](function(_0x2ea9f4){var _0x51d691=_0x327bba;return typeof _0x2ea9f4[_0x51d691(0x21b)]['id']==_0x51d691(0x171)&&_0x543723&&_0x543723[_0x51d691(0x1ac)](_0x2ea9f4['attrs']['id'])?_0x1763b6(_0x1763b6({},_0x2ea9f4),{'attrs':_0x1763b6(_0x1763b6({},_0x2ea9f4[_0x51d691(0x21b)]),{'id':_0x2ea9f4[_0x51d691(0x21b)]['id']+_0x5164d4[_0x51d691(0x121)]})}):_0x2ea9f4;})}):_0x2f9274;}function _0x406f47(){var _0xdbf543=_0x3990c7;return Math[_0xdbf543(0x202)]()['toString'](0x24)[_0xdbf543(0x1bc)](0x2,0x8);}_0x465f4c[_0x3990c7(0x285)]=_0x3990c7(0x1da);var _0x3e8788={'tag':_0x3990c7(0x1e1),'attrs':{'xmlns':_0x3990c7(0x170),'fill':_0x3990c7(0x1ff),'viewBox':'0\x200\x2016\x2016','width':_0x3990c7(0x190),'height':_0x3990c7(0x190)},'children':[{'tag':_0x3990c7(0x277),'attrs':{'fill':_0x3990c7(0x1bb),'d':_0x3990c7(0x1cc),'fillRule':_0x3990c7(0x1ef),'clipRule':_0x3990c7(0x1ef)}}]},_0x37526c=_0x1e7d05[_0x3990c7(0x213)](function(_0x5523cb,_0x41a886){var _0x4f676d=_0x3990c7;return _0x1e7d05[_0x4f676d(0x20f)](_0x465f4c,Object['assign']({},_0x5523cb,{'id':_0x4f676d(0x279),'ref':_0x41a886,'icon':_0x3e8788}));});_0x37526c['displayName']=_0x3990c7(0x25d);var _0x3e824d={'tag':_0x3990c7(0x1e1),'attrs':{'xmlns':_0x3990c7(0x170),'fill':_0x3990c7(0x1ff),'viewBox':_0x3990c7(0x1e4),'width':_0x3990c7(0x190),'height':_0x3990c7(0x190)},'children':[{'tag':'path','attrs':{'stroke':_0x3990c7(0x1bb),'d':_0x3990c7(0x1e7),'strokeLinecap':_0x3990c7(0x241),'strokeLinejoin':'round','strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x3990c7(0x23f),'strokeLinecap':_0x3990c7(0x241),'strokeLinejoin':_0x3990c7(0x241),'strokeWidth':1.33}}]},_0x3644a8=_0x1e7d05['forwardRef'](function(_0x301915,_0x3c97ea){var _0x4ebce9=_0x3990c7;return _0x1e7d05[_0x4ebce9(0x20f)](_0x465f4c,Object['assign']({},_0x301915,{'id':_0x4ebce9(0x1fa),'ref':_0x3c97ea,'icon':_0x3e824d}));});_0x3644a8[_0x3990c7(0x285)]=_0x3990c7(0x27e);var _0x49899a={'tag':_0x3990c7(0x1e1),'attrs':{'xmlns':_0x3990c7(0x170),'fill':_0x3990c7(0x1ff),'viewBox':_0x3990c7(0x20d),'width':_0x3990c7(0x190),'height':_0x3990c7(0x190)},'children':[{'tag':_0x3990c7(0x277),'attrs':{'fill':_0x3990c7(0x1bb),'d':_0x3990c7(0x160)}},{'tag':'path','attrs':{'fill':_0x3990c7(0x1bb),'d':_0x3990c7(0x24a)}},{'tag':'path','attrs':{'fill':_0x3990c7(0x1bb),'d':_0x3990c7(0x1ae),'fillRule':_0x3990c7(0x1ef),'clipRule':_0x3990c7(0x1ef)}}]},_0x2dbca3=_0x1e7d05[_0x3990c7(0x213)](function(_0x309f3e,_0x5709e8){var _0x4dfeed=_0x3990c7;return _0x1e7d05['createElement'](_0x465f4c,Object[_0x4dfeed(0x1c9)]({},_0x309f3e,{'id':_0x4dfeed(0x258),'ref':_0x5709e8,'icon':_0x49899a}));});_0x2dbca3[_0x3990c7(0x285)]=_0x3990c7(0x29e);var _0x3b5356={'tag':_0x3990c7(0x1e1),'attrs':{'xmlns':_0x3990c7(0x170),'fill':_0x3990c7(0x1ff),'viewBox':_0x3990c7(0x20d),'width':_0x3990c7(0x190),'height':_0x3990c7(0x190)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3990c7(0x277),'attrs':{'stroke':_0x3990c7(0x1bb),'d':_0x3990c7(0x133),'strokeLinecap':_0x3990c7(0x241),'strokeLinejoin':_0x3990c7(0x241),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3990c7(0x134)},'children':[{'tag':_0x3990c7(0x277),'attrs':{'fill':_0x3990c7(0x1c5),'d':_0x3990c7(0x272)}}]}]}],'defIds':[_0x3990c7(0x134)]},_0x3f7ec8=_0x1e7d05[_0x3990c7(0x213)](function(_0xef9bbb,_0x289f53){var _0x31b039=_0x3990c7;return _0x1e7d05[_0x31b039(0x20f)](_0x465f4c,Object[_0x31b039(0x1c9)]({},_0xef9bbb,{'id':_0x31b039(0x218),'ref':_0x289f53,'icon':_0x3b5356}));});_0x3f7ec8[_0x3990c7(0x285)]=_0x3990c7(0x13c);var _0x44a892={'tag':_0x3990c7(0x1e1),'attrs':{'xmlns':_0x3990c7(0x170),'fill':'none','viewBox':_0x3990c7(0x130),'width':_0x3990c7(0x190),'height':_0x3990c7(0x190)},'children':[{'tag':'g','attrs':{'clipPath':_0x3990c7(0x20b)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x3990c7(0x271),'strokeLinecap':_0x3990c7(0x241),'strokeLinejoin':_0x3990c7(0x241),'strokeWidth':1.2}}]},{'tag':_0x3990c7(0x1f2),'attrs':{},'children':[{'tag':_0x3990c7(0x129),'attrs':{'id':_0x3990c7(0x1d3)},'children':[{'tag':_0x3990c7(0x277),'attrs':{'fill':_0x3990c7(0x1c5),'d':_0x3990c7(0x272),'transform':_0x3990c7(0x22b)}}]}]}],'defIds':[_0x3990c7(0x1d3)]},_0x4db0d7=_0x1e7d05['forwardRef'](function(_0x17d001,_0x1cb973){var _0x1bb172=_0x3990c7;return _0x1e7d05[_0x1bb172(0x20f)](_0x465f4c,Object['assign']({},_0x17d001,{'id':'on-line-icon','ref':_0x1cb973,'icon':_0x44a892}));});_0x4db0d7[_0x3990c7(0x285)]=_0x3990c7(0x14f);function _0xaf71af(_0x2985e5){var _0x1791ca=_0x3990c7,_0x5a527a,_0x4b8497;const {mcpCoreConfig:_0x3216d1,onSave:_0x50b434,loading:_0x2edbcf=!0x1,config:_0x126955,connectionStatus$:_0x1da932,connectionError$:_0x562644,currentApiKey$:_0x196859,currentSessionId$:_0x26b55a}=_0x2985e5,_0x313884=_0x5a1162[_0x1791ca(0x1ad)](_0x524c4d[_0x1791ca(0x23a)]),_0xd8922=_0x5a1162['useObservable'](_0x1da932,_0x1cc144[_0x1791ca(0x17a)][_0x1791ca(0x208)]),_0x33c776=_0x5a1162[_0x1791ca(0x26b)](_0x562644,_0x1cc144[_0x1791ca(0x1e3)][_0x1791ca(0x19a)]),_0x2b1e24=_0x5a1162[_0x1791ca(0x26b)](_0x26b55a,''),_0x281a1e=_0x5a1162[_0x1791ca(0x26b)](_0x196859,''),[_0x3ec3a3,_0x514229]=_0x1e7d05[_0x1791ca(0x269)](_0x281a1e||''),_0x4f2499=!0x0,_0x5345f6=_0x126955[_0x1791ca(0x116)]&&_0x3216d1['mcpServerUrl']&&(_0x3216d1[_0x1791ca(0x1fb)][_0x1791ca(0x1ac)](_0x1791ca(0x137))||_0x3216d1[_0x1791ca(0x1fb)][_0x1791ca(0x1ac)](_0x1791ca(0x259))),_0x38bda4=(_0x5a527a=_0x3216d1['mcpServerUrl'])==null?void 0x0:_0x5a527a[_0x1791ca(0x1ac)](_0x1791ca(0x137)),_0x542010=(_0x4b8497=_0x3216d1['mcpServerUrl'])==null?void 0x0:_0x4b8497[_0x1791ca(0x1ac)](_0x1791ca(0x259)),_0x19e91f=_0x38bda4?_0x1791ca(0x1b4):_0x1791ca(0x1b2),_0x5a43d1=_0x126955['showDeveloperTools']&&(_0x38bda4||_0x542010),[_0xa2e705,_0x1ee711]=_0x1e7d05[_0x1791ca(0x269)](!_0x3ec3a3[_0x1791ca(0x28a)]()),_0x915f8c=(_0x816025,_0x5d67ed)=>{var _0x5b0ecc=_0x1791ca;if(_0x5d67ed===_0x1cc144[_0x5b0ecc(0x1e3)][_0x5b0ecc(0x1a6)])return _0x5b0ecc(0x152);switch(_0x816025){case _0x1cc144[_0x5b0ecc(0x17a)]['CONNECTED']:return _0x5b0ecc(0x120);case _0x1cc144[_0x5b0ecc(0x17a)][_0x5b0ecc(0x293)]:case _0x1cc144[_0x5b0ecc(0x17a)][_0x5b0ecc(0x224)]:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x1cc144[_0x5b0ecc(0x17a)]['FAILED']:return _0x5b0ecc(0x152);default:return _0x5b0ecc(0x299);}},_0x41fccd=(_0x34d3bc,_0x2352f2)=>{var _0x304e04=_0x1791ca;if(_0x2352f2===_0x1cc144['MCPConnectionError'][_0x304e04(0x1a6)])return'univer-bg-red-500';switch(_0x34d3bc){case _0x1cc144[_0x304e04(0x17a)][_0x304e04(0x135)]:return _0x304e04(0x233);case _0x1cc144['MCPConnectionStatus'][_0x304e04(0x293)]:case _0x1cc144['MCPConnectionStatus'][_0x304e04(0x224)]:return _0x304e04(0x166);case _0x1cc144[_0x304e04(0x17a)][_0x304e04(0x14b)]:return _0x304e04(0x15e);default:return _0x304e04(0x151);}},_0x272674=_0xe44b38=>{var _0x1c2da8=_0x1791ca;switch(_0xe44b38){case _0x1cc144[_0x1c2da8(0x17a)][_0x1c2da8(0x135)]:return _0x313884['t'](_0x1c2da8(0x188));case _0x1cc144['MCPConnectionStatus'][_0x1c2da8(0x293)]:return _0x313884['t'](_0x1c2da8(0x215));case _0x1cc144[_0x1c2da8(0x17a)][_0x1c2da8(0x14b)]:return _0x313884['t']('mcpConfig.connectionStatus.failed');case _0x1cc144[_0x1c2da8(0x17a)][_0x1c2da8(0x224)]:return _0x313884['t'](_0x1c2da8(0x198));default:return _0x313884['t']('mcpConfig.connectionStatus.disconnected');}},_0x408065=_0x530c12=>{var _0x3e5a63=_0x1791ca;switch(_0x530c12){case _0x1cc144['MCPConnectionError'][_0x3e5a63(0x1a6)]:return _0x313884['t']('mcpConfig.connectionError.unauthorized');case _0x1cc144['MCPConnectionError'][_0x3e5a63(0x16d)]:return _0x313884['t'](_0x3e5a63(0x173));case _0x1cc144['MCPConnectionError'][_0x3e5a63(0x2a4)]:return _0x313884['t'](_0x3e5a63(0x239));case _0x1cc144['MCPConnectionError'][_0x3e5a63(0x12d)]:return _0x313884['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x35b129=_0x1e7d05[_0x1791ca(0x244)](()=>{const _0x330016={..._0x3216d1,'apiKey':_0x3ec3a3['trim'](),'enableAuth':_0x4f2499};_0x50b434(_0x330016);},[_0x3216d1,_0x3ec3a3,_0x4f2499,_0x50b434]),_0x408b8b=_0x3ec3a3['trim']()[_0x1791ca(0x19c)]>0x0;return _0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x1d3d1c['jsx'](_0x1791ca(0x17b),{'className':_0x1791ca(0x283),'children':_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x1dc),'children':[_0x1d3d1c[_0x1791ca(0x273)]('div',{'className':_0x1791ca(0x24c),'children':_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x164),{'className':_0x1791ca(0x193),'children':'⚙'})}),_0x1d3d1c[_0x1791ca(0x273)]('div',{'children':_0x1d3d1c['jsx']('p',{'className':_0x1791ca(0x226),'children':_0x313884['t'](_0x1791ca(0x22f))})})]})}),_0x1d3d1c[_0x1791ca(0x262)]('div',{'className':_0x1791ca(0x25f),'children':[_0x1d3d1c[_0x1791ca(0x273)]('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x915f8c(_0xd8922,_0x33c776)+_0x1791ca(0x19f),'children':_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x1c7),'children':[_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x17b),{'className':_0x1791ca(0x275)+_0x41fccd(_0xd8922,_0x33c776)+_0x1791ca(0x217)}),_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x164),{'className':_0x1791ca(0x17e),'children':_0x272674(_0xd8922)})]})}),_0x33c776!==_0x1cc144[_0x1791ca(0x1e3)][_0x1791ca(0x19a)]&&(_0xd8922===_0x1cc144[_0x1791ca(0x17a)][_0x1791ca(0x14b)]||_0x33c776===_0x1cc144[_0x1791ca(0x1e3)][_0x1791ca(0x1a6)])&&_0x1d3d1c['jsx'](_0x1791ca(0x17b),{'className':_0x1791ca(0x289),'children':_0x1d3d1c['jsxs'](_0x1791ca(0x17b),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x164),{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x1d3d1c['jsx']('p',{'className':_0x1791ca(0x146),'children':_0x408065(_0x33c776)})]})})]}),_0x1d3d1c[_0x1791ca(0x273)]('div',{'className':_0x1791ca(0x2aa),'children':_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x197),'children':[_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x276),'children':[_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x1d2),{'className':_0x1791ca(0x21f),'children':[_0x1d3d1c['jsx'](_0x1791ca(0x164),{'children':'🔑'}),'\x20',_0x313884['t'](_0x1791ca(0x191)),_0x1d3d1c['jsx'](_0x1791ca(0x164),{'className':'univer-text-red-500','children':'*'}),_0x5345f6&&_0x1d3d1c[_0x1791ca(0x273)]('a',{'href':'javascript:void(0)','onClick':()=>_0x1ee711(!0x0),'className':_0x1791ca(0x132),'title':_0x313884['t'](_0x1791ca(0x1d0)),'children':_0x1d3d1c['jsx'](_0x2dbca3,{})})]}),_0x1d3d1c['jsx'](_0x78756e[_0x1791ca(0x1c0)],{'type':_0x1791ca(0x222),'placeholder':_0x313884['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x3ec3a3,'onChange':_0x514229,'disabled':_0x2edbcf,'autoComplete':_0x1791ca(0x1fd)}),_0x1d3d1c[_0x1791ca(0x273)]('p',{'className':_0x1791ca(0x261),'children':_0x313884['t']('mcpConfig.apiKeyHint')})]}),_0x5345f6&&_0xa2e705&&_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x12e),'children':[_0x1d3d1c[_0x1791ca(0x273)]('a',{'href':_0x1791ca(0x266),'onClick':()=>_0x1ee711(!0x1),'className':_0x1791ca(0x20a),'title':'Close','children':_0x1d3d1c[_0x1791ca(0x273)](_0x3644a8,{})}),_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x142),'children':[_0x1d3d1c[_0x1791ca(0x273)]('div',{'className':_0x1791ca(0x220),'children':_0x1d3d1c[_0x1791ca(0x273)]('span',{'className':_0x1791ca(0x1e5),'children':'🚀'})}),_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':'univer-flex-1','children':[_0x1d3d1c['jsx']('h4',{'className':_0x1791ca(0x284),'children':_0x313884['t'](_0x1791ca(0x1d0))}),_0x1d3d1c[_0x1791ca(0x273)]('p',{'className':_0x1791ca(0x148),'children':_0x313884['t']('mcpConfig.apiApplyInfo.description')}),_0x1d3d1c['jsx'](_0x1791ca(0x17b),{'className':_0x1791ca(0x1f1),'children':_0x5a43d1&&_0x1d3d1c[_0x1791ca(0x262)]('a',{'href':_0x19e91f,'target':_0x1791ca(0x1f0),'rel':_0x1791ca(0x18c),'className':_0x1791ca(0x1bd),'children':[_0x1d3d1c[_0x1791ca(0x273)]('span',{'children':'🤖'}),_0x313884['t'](_0x1791ca(0x196)),_0x1d3d1c['jsx'](_0x1791ca(0x164),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x1d3d1c[_0x1791ca(0x262)]('div',{'className':_0x1791ca(0x255),'children':['✨','\x20',_0x313884['t'](_0x1791ca(0x1c4))]})]})]})]}),_0x126955[_0x1791ca(0x116)]&&_0x1d3d1c[_0x1791ca(0x262)]('div',{'className':_0x1791ca(0x288),'children':[_0x1d3d1c[_0x1791ca(0x262)]('h4',{'className':_0x1791ca(0x29f),'children':[_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x164),{'children':'🔗'}),'\x20',_0x313884['t']('mcpConfig.connectionInfo')]}),_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x1a8),'children':[_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x29b),'children':[_0x1d3d1c[_0x1791ca(0x273)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x313884['t']('mcpConfig.configInstructions')}),_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x276),'children':[_0x1d3d1c[_0x1791ca(0x273)]('div',{'className':_0x1791ca(0x248),'children':_0x313884['t'](_0x1791ca(0x1d5))}),_0x1d3d1c[_0x1791ca(0x262)]('div',{'className':_0x1791ca(0x250),'children':[_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x1c7),'children':[_0x1d3d1c[_0x1791ca(0x273)]('span',{'className':_0x1791ca(0x1a1),'children':'1'}),_0x313884['t']('mcpConfig.configStep1')]}),_0x1d3d1c[_0x1791ca(0x262)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1d3d1c[_0x1791ca(0x273)]('span',{'className':_0x1791ca(0x1a1),'children':'2'}),_0x313884['t']('mcpConfig.configStep2')]}),_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x1c7),'children':[_0x1d3d1c['jsx']('span',{'className':_0x1791ca(0x1a1),'children':'3'}),_0x313884['t'](_0x1791ca(0x12c))]})]})]})]}),_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x276),'children':[_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x17b),{'className':_0x1791ca(0x248),'children':'MCP\x20Configuration'}),_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x17b),{'className':_0x1791ca(0x1de),'children':_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x189),{'className':_0x1791ca(0x23e),'children':_0x1791ca(0x169)+_0x2b1e24+'\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20'+(_0x3ec3a3||_0x1791ca(0x21d))+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),_0x1d3d1c['jsxs']('div',{'className':_0x1791ca(0x29b),'children':[_0x1d3d1c['jsx']('div',{'className':_0x1791ca(0x248),'children':_0x313884['t'](_0x1791ca(0x11a))}),_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x276),'children':[_0x1d3d1c[_0x1791ca(0x262)]('div',{'className':_0x1791ca(0x175),'children':[_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x17b),{'className':_0x1791ca(0x18f)}),_0x1d3d1c['jsxs'](_0x1791ca(0x17b),{'className':_0x1791ca(0x1d1),'children':[_0x1d3d1c[_0x1791ca(0x273)]('div',{'className':_0x1791ca(0x186),'children':_0x1791ca(0x221)}),_0x1d3d1c[_0x1791ca(0x273)]('div',{'className':_0x1791ca(0x261),'children':_0x313884['t'](_0x1791ca(0x1eb))})]})]}),_0x1d3d1c['jsxs'](_0x1791ca(0x17b),{'className':_0x1791ca(0x175),'children':[_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x17b),{'className':_0x1791ca(0x18f)}),_0x1d3d1c[_0x1791ca(0x262)]('div',{'className':_0x1791ca(0x1d1),'children':[_0x1d3d1c[_0x1791ca(0x273)]('div',{'className':_0x1791ca(0x186),'children':'Authorization:'}),_0x1d3d1c['jsx'](_0x1791ca(0x17b),{'className':_0x1791ca(0x261),'children':_0x313884['t'](_0x1791ca(0x237))})]})]})]})]})]})]}),_0x1d3d1c[_0x1791ca(0x273)](_0x78756e[_0x1791ca(0x292)],{'onClick':_0x35b129,'disabled':!_0x408b8b||_0x2edbcf,'className':_0x1791ca(0x286),'children':_0x2edbcf?_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x164),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x164),{'children':'⟲'}),_0x313884['t'](_0x1791ca(0x1f6))]}):_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x164),{'className':_0x1791ca(0x1c7),'children':[_0x1d3d1c[_0x1791ca(0x273)](_0x37526c,{}),_0x313884['t'](_0x1791ca(0x28e))]})}),_0x1d3d1c['jsx'](_0x1791ca(0x17b),{'className':_0x1791ca(0x162),'children':_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'className':_0x1791ca(0x176),'children':[_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x164),{'className':_0x1791ca(0x265),'children':'💡'}),_0x1d3d1c[_0x1791ca(0x262)]('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x1d3d1c[_0x1791ca(0x273)](_0x1791ca(0x17b),{'className':'univer-font-medium','children':_0x1791ca(0x229)}),_0x1d3d1c[_0x1791ca(0x262)](_0x1791ca(0x17b),{'children':['•',_0x313884['t'](_0x1791ca(0x287))]}),_0x1d3d1c['jsxs'](_0x1791ca(0x17b),{'children':['•',_0x313884['t'](_0x1791ca(0x195))]})]})]})})]})})]});}const _0x24bd9b='mcp-ui.config',_0x2a3e6f={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x274c1f=Object['getOwnPropertyDescriptor'],_0xc9fa71=(_0x151c55,_0x2695f7,_0x16fcd2,_0x53aa44)=>{var _0xfa7bd2=_0x3990c7;for(var _0x29cd5e=_0x53aa44>0x1?void 0x0:_0x53aa44?_0x274c1f(_0x2695f7,_0x16fcd2):_0x2695f7,_0x22d8f0=_0x151c55[_0xfa7bd2(0x19c)]-0x1,_0x3f9b66;_0x22d8f0>=0x0;_0x22d8f0--)(_0x3f9b66=_0x151c55[_0x22d8f0])&&(_0x29cd5e=_0x3f9b66(_0x29cd5e)||_0x29cd5e);return _0x29cd5e;},_0x5b6a2d=(_0x124a4b,_0x2e2b12)=>(_0x3aa321,_0x24ee77)=>_0x2e2b12(_0x3aa321,_0x24ee77,_0x124a4b);const _0x1228f7=_0x3990c7(0x2af),_0x4ff855=_0x3990c7(0x145);_0x372cc1[_0x3990c7(0x1ec)]=class extends _0x524c4d['Disposable']{constructor(_0xcf1817,_0x51c595,_0x1c48d9,_0x213173,_0xabf397,_0x1eafc3,_0x2d94f8,_0x45a192,_0x1d2748,_0x1a887d){var _0x206530=_0x3990c7;super(),_0x32ee84(this,_0x206530(0x2a9),new _0x31b5b0['BehaviorSubject'](!0x1)),_0x32ee84(this,_0x206530(0x18e),new _0x31b5b0[(_0x206530(0x183))]({})),_0x32ee84(this,_0x206530(0x167),new _0x31b5b0['BehaviorSubject']({})),_0x32ee84(this,_0x206530(0x227),new _0x31b5b0[(_0x206530(0x183))]('')),_0x32ee84(this,'_handleConfigSave',async _0x34266b=>{var _0x5dbfa1=_0x206530,_0x4c3dcd,_0x133724;this[_0x5dbfa1(0x2a9)]['next'](!0x0);try{const _0x9f0173=await this['_validateConfig'](_0x34266b);if(!_0x9f0173[_0x5dbfa1(0x234)]){this[_0x5dbfa1(0x24e)][_0x5dbfa1(0x28b)]({'type':_0x78756e[_0x5dbfa1(0x17d)][_0x5dbfa1(0x117)],'content':_0x9f0173[_0x5dbfa1(0x194)]||this[_0x5dbfa1(0x23d)]['t'](_0x5dbfa1(0x294))});return;}_0x34266b[_0x5dbfa1(0x143)]?await this['_localStorageService']['setItem'](_0x1228f7,_0x34266b[_0x5dbfa1(0x143)][_0x5dbfa1(0x28a)]()):await this[_0x5dbfa1(0x177)][_0x5dbfa1(0x19e)](_0x1228f7),this[_0x5dbfa1(0x227)][_0x5dbfa1(0x1fe)](((_0x4c3dcd=_0x34266b['apiKey'])==null?void 0x0:_0x4c3dcd[_0x5dbfa1(0x28a)]())||''),this[_0x5dbfa1(0x125)][_0x5dbfa1(0x26e)]({'Authorization':_0x5dbfa1(0x210)+((_0x133724=_0x34266b[_0x5dbfa1(0x143)])==null?void 0x0:_0x133724[_0x5dbfa1(0x28a)]())}),this[_0x5dbfa1(0x24e)][_0x5dbfa1(0x28b)]({'type':_0x78756e[_0x5dbfa1(0x17d)][_0x5dbfa1(0x185)],'content':this[_0x5dbfa1(0x23d)]['t'](_0x5dbfa1(0x1f3))}),setTimeout(()=>{this['_dialogService']['close'](_0x4ff855);},0x320);}catch(_0x84b745){this[_0x5dbfa1(0x260)]['error']('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x84b745),this[_0x5dbfa1(0x24e)][_0x5dbfa1(0x28b)]({'type':_0x78756e[_0x5dbfa1(0x17d)][_0x5dbfa1(0x117)],'content':this[_0x5dbfa1(0x23d)]['t']('mcpConfig.configError')});}finally{this[_0x5dbfa1(0x2a9)][_0x5dbfa1(0x1fe)](!0x1);}}),(this[_0x206530(0x2a7)]=_0xcf1817,this[_0x206530(0x2a5)]=_0x51c595,this[_0x206530(0x270)]=_0x1c48d9,this[_0x206530(0x177)]=_0x213173,this[_0x206530(0x253)]=_0xabf397,this[_0x206530(0x24e)]=_0x1eafc3,this[_0x206530(0x263)]=_0x2d94f8,this[_0x206530(0x23d)]=_0x45a192,this['_logService']=_0x1d2748,this[_0x206530(0x125)]=_0x1a887d,this[_0x206530(0x118)](),this[_0x206530(0x17c)](),this[_0x206530(0x1ce)]());}['showConfigPanel'](){var _0x5eade5=_0x3990c7;const _0x545ba0=this[_0x5eade5(0x270)][_0x5eade5(0x257)](_0x24bd9b);_0x545ba0!=null&&_0x545ba0[_0x5eade5(0x116)]&&this[_0x5eade5(0x253)]['open']({'id':_0x4ff855,'title':{'title':this[_0x5eade5(0x23d)]['t']('mcpConfig.title')},'children':{'label':_0x5eade5(0x12b)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x130b20=_0x5eade5;this[_0x130b20(0x253)][_0x130b20(0x26d)](_0x4ff855);}});}['getCurrentConfig'](){var _0x254617=_0x3990c7;return this['_mcpCoreConfig$'][_0x254617(0x178)];}['_registerComponent'](){var _0x17799b=_0x3990c7;this[_0x17799b(0x21c)](this[_0x17799b(0x263)]['register'](_0x17799b(0x12b),this['_createConfigPanelComponent']()));}[_0x3990c7(0x14e)](){var _0x38f3fd=_0x3990c7;return _0x5a1162['connectInjector'](()=>{var _0x3fbd42=_0x4f07,_0x222d21,_0x310896,_0x40f8af;return _0x1d3d1c[_0x3fbd42(0x273)](_0xaf71af,{'config':this[_0x3fbd42(0x167)][_0x3fbd42(0x178)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x3fbd42(0x178)],'currentApiKey$':this[_0x3fbd42(0x227)],'onSave':this[_0x3fbd42(0x230)],'loading':this[_0x3fbd42(0x2a9)][_0x3fbd42(0x178)],'connectionStatus$':(_0x222d21=this[_0x3fbd42(0x125)])==null?void 0x0:_0x222d21[_0x3fbd42(0x16e)],'connectionError$':(_0x310896=this[_0x3fbd42(0x125)])==null?void 0x0:_0x310896[_0x3fbd42(0x13b)],'currentSessionId$':(_0x40f8af=this[_0x3fbd42(0x125)])==null?void 0x0:_0x40f8af[_0x3fbd42(0x281)]});},this[_0x38f3fd(0x2a7)]);}['_initConfigSync'](){var _0x2cca4b=_0x3990c7;this[_0x2cca4b(0x21c)](this[_0x2cca4b(0x270)]['subscribeConfigValue$'](_0x1cc144['MCP_PLUGIN_CONFIG_KEY'])['subscribe'](_0x49917d=>{var _0xd1887e=_0x2cca4b;this['_mcpCoreConfig$'][_0xd1887e(0x1fe)](_0x49917d||{});}));const _0x1c95d5=this['_configService'][_0x2cca4b(0x257)](_0x1cc144[_0x2cca4b(0x1ab)]);this[_0x2cca4b(0x18e)][_0x2cca4b(0x1fe)](_0x1c95d5||{}),this[_0x2cca4b(0x21c)](this[_0x2cca4b(0x270)][_0x2cca4b(0x28d)](_0x24bd9b)['subscribe'](_0xd36079=>{var _0x5569a9=_0x2cca4b;this[_0x5569a9(0x167)]['next'](_0xd36079||{});}));const _0x4470c8=this['_configService'][_0x2cca4b(0x257)](_0x24bd9b);this[_0x2cca4b(0x167)][_0x2cca4b(0x1fe)](_0x4470c8||{});}async['_loadStoredApiKey'](){var _0x20428c=_0x3990c7;const _0x113502=this[_0x20428c(0x270)]['getConfig'](_0x24bd9b);if(!(_0x113502!=null&&_0x113502[_0x20428c(0x116)]))return;const _0x577ad5=await this[_0x20428c(0x177)]['getItem'](_0x1228f7);_0x577ad5&&(this[_0x20428c(0x125)][_0x20428c(0x26e)]({'Authorization':_0x20428c(0x210)+_0x577ad5}),this[_0x20428c(0x227)][_0x20428c(0x1fe)](_0x577ad5));}async['_validateConfig'](_0x2b04aa){var _0x506e3f=_0x3990c7;if(!_0x2b04aa[_0x506e3f(0x143)]||_0x2b04aa[_0x506e3f(0x143)][_0x506e3f(0x28a)]()[_0x506e3f(0x19c)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyRequired')};if(_0x2b04aa[_0x506e3f(0x143)][_0x506e3f(0x28a)]()[_0x506e3f(0x19c)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x506e3f(0x23d)]['t'](_0x506e3f(0x28c))};try{const _0x3c411a=await this[_0x506e3f(0x2a7)]['get'](_0x1cc144['MCPConnectionController'])[_0x506e3f(0x15b)](_0x2b04aa[_0x506e3f(0x143)][_0x506e3f(0x28a)]());return _0x3c411a[_0x506e3f(0x234)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x3c411a[_0x506e3f(0x11c)]||this[_0x506e3f(0x23d)]['t'](_0x506e3f(0x17f))};}catch(_0x3a527b){return console['warn']('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x3a527b),{'isValid':!0x0};}}},_0x372cc1['MCPConfigUIController']=_0xc9fa71([_0x5b6a2d(0x0,_0x524c4d['Inject'](_0x524c4d['Injector'])),_0x5b6a2d(0x1,_0x5a1162[_0x3990c7(0x1a7)]),_0x5b6a2d(0x2,_0x524c4d['IConfigService']),_0x5b6a2d(0x3,_0x524c4d[_0x3990c7(0x28f)]),_0x5b6a2d(0x4,_0x5a1162[_0x3990c7(0x2a3)]),_0x5b6a2d(0x5,_0x5a1162[_0x3990c7(0x150)]),_0x5b6a2d(0x6,_0x524c4d[_0x3990c7(0x26a)](_0x5a1162[_0x3990c7(0x290)])),_0x5b6a2d(0x7,_0x524c4d[_0x3990c7(0x26a)](_0x524c4d[_0x3990c7(0x23a)])),_0x5b6a2d(0x8,_0x524c4d['ILogService']),_0x5b6a2d(0x9,_0x524c4d[_0x3990c7(0x26a)](_0x1cc144[_0x3990c7(0x13a)]))],_0x372cc1['MCPConfigUIController']);const _0x59fedc={'id':'mcp-ui.command.openConfigPanel','type':_0x524c4d['CommandType'][_0x3990c7(0x1b5)],'handler':async(_0xbe8d16,_0x1a080f)=>(_0xbe8d16[_0x3990c7(0x240)](_0x372cc1[_0x3990c7(0x1ec)])[_0x3990c7(0x1b6)](),!0x0)};function _0x2c4757(_0x3b54b5,_0x5da92d){var _0x21945f=_0x3990c7;switch(_0x3b54b5){case _0x1cc144[_0x21945f(0x17a)][_0x21945f(0x208)]:return _0x21945f(0x235);case _0x1cc144['MCPConnectionStatus'][_0x21945f(0x293)]:return _0x21945f(0x1a9);case _0x1cc144[_0x21945f(0x17a)][_0x21945f(0x135)]:return _0x21945f(0x147);case _0x1cc144['MCPConnectionStatus'][_0x21945f(0x14b)]:switch(_0x5da92d){case _0x1cc144[_0x21945f(0x1e3)][_0x21945f(0x1a6)]:return _0x21945f(0x1e6);case _0x1cc144[_0x21945f(0x1e3)]['SESSION_ID_OCCUPIED']:return _0x21945f(0x1a3);case _0x1cc144[_0x21945f(0x1e3)][_0x21945f(0x2a4)]:return _0x21945f(0x1ed);case _0x1cc144[_0x21945f(0x1e3)][_0x21945f(0x12d)]:return _0x21945f(0x1d9);default:return _0x21945f(0x2ac);}case _0x1cc144[_0x21945f(0x17a)]['RETRYING']:return'mcpStatus.retrying';default:return'mcpStatus.unknown';}}function _0x37e980(_0x49a154,_0x118ab3,_0x43b79b,_0x255df3=!0x0){var _0x41f361=_0x3990c7;const _0x28bfa6=_0x2c4757(_0x49a154,_0x118ab3),_0x225f6e=_0x43b79b['t'](_0x28bfa6);return _0x255df3?_0x49a154===_0x1cc144[_0x41f361(0x17a)][_0x41f361(0x208)]&&_0x118ab3===_0x1cc144['MCPConnectionError'][_0x41f361(0x1a6)]?_0x225f6e+_0x41f361(0x295)+_0x43b79b['t'](_0x41f361(0x2a0)):_0x49a154===_0x1cc144['MCPConnectionStatus'][_0x41f361(0x135)]?''+_0x225f6e:_0x49a154===_0x1cc144[_0x41f361(0x17a)]['DISCONNECTED']||_0x49a154===_0x1cc144[_0x41f361(0x17a)]['FAILED']?_0x225f6e+_0x41f361(0x295)+_0x43b79b['t']('mcpStatus.clickToConnect'):_0x225f6e:_0x225f6e;}function _0x139399(_0x34fcbf){var _0x3c8a7b=_0x3990c7;switch(_0x34fcbf){case _0x1cc144[_0x3c8a7b(0x17a)][_0x3c8a7b(0x135)]:return'univer-text-green-500';case _0x1cc144[_0x3c8a7b(0x17a)][_0x3c8a7b(0x293)]:case _0x1cc144[_0x3c8a7b(0x17a)][_0x3c8a7b(0x224)]:return'univer-text-yellow-500';case _0x1cc144[_0x3c8a7b(0x17a)][_0x3c8a7b(0x14b)]:case _0x1cc144[_0x3c8a7b(0x17a)][_0x3c8a7b(0x208)]:return _0x3c8a7b(0x1ea);default:return _0x3c8a7b(0x249);}}function _0x5cb305(_0x1082ca){var _0x23279c=_0x3990c7;const {status$:_0x17f53b,error$:_0x6eaa95,onConfigure:_0x200891,showClickable:_0x540d58=!0x0}=_0x1082ca,_0x7fc0d1=_0x5a1162[_0x23279c(0x26b)](_0x17f53b,_0x1cc144['MCPConnectionStatus']['DISCONNECTED']),_0x4f2cb0=_0x5a1162[_0x23279c(0x26b)](_0x6eaa95,_0x1cc144[_0x23279c(0x1e3)][_0x23279c(0x19a)]),_0x128567=_0x5a1162['useDependency'](_0x524c4d[_0x23279c(0x23a)]),_0x4ab788=_0x7fc0d1===_0x1cc144['MCPConnectionStatus'][_0x23279c(0x135)];_0x7fc0d1===_0x1cc144[_0x23279c(0x17a)][_0x23279c(0x293)]||_0x1cc144[_0x23279c(0x17a)][_0x23279c(0x224)];const _0x46c627=_0x128567['t'](_0x2c4757(_0x7fc0d1,_0x4f2cb0)),_0x46a437=_0x37e980(_0x7fc0d1,_0x4f2cb0,_0x128567,_0x540d58),_0x547ae2=_0x139399(_0x7fc0d1),_0x3bd21e=_0x4ab788?_0x1d3d1c[_0x23279c(0x273)](_0x4db0d7,{}):_0x1d3d1c[_0x23279c(0x273)](_0x3f7ec8,{}),_0x26f7ad=_0x1e7d05[_0x23279c(0x244)](()=>{_0x540d58&&_0x200891&&_0x200891();},[_0x540d58,_0x200891]);function _0x3bf454(){var _0x4e823e=_0x23279c;return _0x1d3d1c['jsxs'](_0x4e823e(0x17b),{'className':_0x78756e[_0x4e823e(0x209)](_0x4e823e(0x252),_0x540d58&&_0x200891&&'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'),'onClick':_0x540d58&&_0x200891?_0x26f7ad:void 0x0,'children':[_0x1d3d1c[_0x4e823e(0x273)](_0x4e823e(0x17b),{'className':_0x78756e[_0x4e823e(0x209)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x547ae2),'children':_0x3bd21e}),_0x1d3d1c[_0x4e823e(0x273)](_0x4e823e(0x17b),{'className':_0x4e823e(0x203),'children':_0x46c627})]});}return _0x1d3d1c[_0x23279c(0x273)](_0x78756e[_0x23279c(0x2ab)],{'title':_0x46a437,'placement':'bottom','children':_0x3bf454()});}var _0x5e1970=Object[_0x3990c7(0x14a)],_0x77eadd=(_0x357f49,_0x4d7464,_0x200dee,_0x3a587b)=>{var _0x132c37=_0x3990c7;for(var _0x32d8dc=_0x3a587b>0x1?void 0x0:_0x3a587b?_0x5e1970(_0x4d7464,_0x200dee):_0x4d7464,_0x138653=_0x357f49[_0x132c37(0x19c)]-0x1,_0x39298b;_0x138653>=0x0;_0x138653--)(_0x39298b=_0x357f49[_0x138653])&&(_0x32d8dc=_0x39298b(_0x32d8dc)||_0x32d8dc);return _0x32d8dc;},_0x1ba176=(_0x5aaf1e,_0x5213fc)=>(_0x254cd8,_0x10addc)=>_0x5213fc(_0x254cd8,_0x10addc,_0x5aaf1e);_0x372cc1[_0x3990c7(0x22d)]=class extends _0x524c4d[_0x3990c7(0x131)]{constructor(_0x2b7ae1,_0x41c148,_0x1d304a,_0x4be121){var _0x370fa9=_0x3990c7;super(),this[_0x370fa9(0x2a7)]=_0x2b7ae1,this[_0x370fa9(0x1e9)]=_0x41c148,this[_0x370fa9(0x2a5)]=_0x1d304a,this[_0x370fa9(0x270)]=_0x4be121,this[_0x370fa9(0x254)](),this['_initStatusComponent']();}[_0x3990c7(0x254)](){var _0xdf0541=_0x3990c7;const _0x5ecfd9=this[_0xdf0541(0x270)]['getConfig'](_0x24bd9b);_0x5ecfd9!=null&&_0x5ecfd9[_0xdf0541(0x116)]&&(this[_0xdf0541(0x1e9)][_0xdf0541(0x201)]=!0x1);}[_0x3990c7(0x1cd)](){var _0x170e4a=_0x3990c7;const _0x35a6e9=this[_0x170e4a(0x270)][_0x170e4a(0x257)](_0x24bd9b);(_0x35a6e9==null?void 0x0:_0x35a6e9[_0x170e4a(0x136)])!==!0x1&&this[_0x170e4a(0x21c)](this[_0x170e4a(0x2a5)]['registerComponent'](_0x5a1162[_0x170e4a(0x181)][_0x170e4a(0x1f4)],()=>{var _0x399b34=_0x170e4a,_0x1bf4c2;return _0x5a1162[_0x399b34(0x25e)](_0xb2ed23({'status$':this[_0x399b34(0x1e9)][_0x399b34(0x16e)],'error$':this['_connectionController'][_0x399b34(0x13b)],'onConfigure':()=>this[_0x399b34(0x174)](),'showClickable':(_0x1bf4c2=_0x35a6e9==null?void 0x0:_0x35a6e9[_0x399b34(0x116)])!=null?_0x1bf4c2:!0x1}),this[_0x399b34(0x2a7)]);}));}[_0x3990c7(0x174)](){var _0x3a94a6=_0x3990c7;this[_0x3a94a6(0x2a7)][_0x3a94a6(0x240)](_0x372cc1['MCPConfigUIController'])[_0x3a94a6(0x1b6)]();}},_0x372cc1[_0x3990c7(0x22d)]=_0x77eadd([_0x1ba176(0x0,_0x524c4d[_0x3990c7(0x26a)](_0x524c4d[_0x3990c7(0x2a2)])),_0x1ba176(0x1,_0x524c4d[_0x3990c7(0x26a)](_0x1cc144[_0x3990c7(0x13a)])),_0x1ba176(0x2,_0x5a1162['IUIPartsService']),_0x1ba176(0x3,_0x524c4d[_0x3990c7(0x15c)])],_0x372cc1[_0x3990c7(0x22d)]);function _0xb2ed23(_0x5225a3){const {status$:_0x4fa26c,error$:_0x36ca7e,onConfigure:_0x4e9514,showClickable:_0x4e6a3a}=_0x5225a3;return function(){var _0x4e615e=_0x4f07;return _0x1d3d1c[_0x4e615e(0x273)](_0x5cb305,{'status$':_0x4fa26c,'error$':_0x36ca7e,'onConfigure':_0x4e9514,'showClickable':_0x4e6a3a});};}function _0x3678f6(_0xeafb2b){var _0x39d11e=_0x3990c7;return{'id':_0x59fedc['id'],'type':_0x5a1162[_0x39d11e(0x11b)][_0x39d11e(0x247)],'icon':'MenuIcon','title':_0x39d11e(0x216),'tooltip':_0x39d11e(0x216)};}const _0x26d919={[_0x5a1162[_0x3990c7(0x16a)]['OTHERS']]:{[_0x59fedc['id']]:{'order':0xa,'menuItemFactory':_0x3678f6}}};var _0x5dff6d=Object[_0x3990c7(0x14a)],_0x5de9ed=(_0x331747,_0x1c110b,_0x4cbf90,_0x556382)=>{var _0x1d1ce1=_0x3990c7;for(var _0x3eb86e=_0x556382>0x1?void 0x0:_0x556382?_0x5dff6d(_0x1c110b,_0x4cbf90):_0x1c110b,_0x39a76c=_0x331747[_0x1d1ce1(0x19c)]-0x1,_0xd536dd;_0x39a76c>=0x0;_0x39a76c--)(_0xd536dd=_0x331747[_0x39a76c])&&(_0x3eb86e=_0xd536dd(_0x3eb86e)||_0x3eb86e);return _0x3eb86e;},_0x2f0c79=(_0x2f8575,_0x46ec01)=>(_0x27963d,_0xd4577)=>_0x46ec01(_0x27963d,_0xd4577,_0x2f8575);_0x372cc1[_0x3990c7(0x179)]=class extends _0x524c4d[_0x3990c7(0x131)]{constructor(_0x3724e5,_0x297ed9){var _0x2c6140=_0x3990c7;super(),this[_0x2c6140(0x1f7)]=_0x3724e5,this['_menuManagerService']=_0x297ed9,this['_initializeCommands'](),this['_initializeMenus']();}[_0x3990c7(0x2a8)](){[_0x59fedc]['forEach'](_0x39b094=>{var _0x718a08=_0x4f07;this[_0x718a08(0x21c)](this['_commandService'][_0x718a08(0x141)](_0x39b094));});}[_0x3990c7(0x19b)](){var _0x59bc35=_0x3990c7;this[_0x59bc35(0x206)][_0x59bc35(0x27b)](_0x26d919);}},_0x372cc1[_0x3990c7(0x179)]=_0x5de9ed([_0x2f0c79(0x0,_0x524c4d[_0x3990c7(0x26c)]),_0x2f0c79(0x1,_0x5a1162[_0x3990c7(0x14d)])],_0x372cc1[_0x3990c7(0x179)]);const _0x4f8195={'mcpStatus':{'disconnected':_0x3990c7(0x1cf),'connecting':_0x3990c7(0x16f),'connected':'MCP\x20Connected','failed':_0x3990c7(0x1b9),'retrying':'MCP\x20Retrying...','unknown':_0x3990c7(0x19d),'unauthorized':_0x3990c7(0x187),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x3990c7(0x1a4),'maxRetriesExceeded':_0x3990c7(0x182),'clickToConnect':_0x3990c7(0x228),'clickToConfigure':_0x3990c7(0x13e)},'mcpConfig':{'title':_0x3990c7(0x1b1),'description':_0x3990c7(0x184),'apiKey':_0x3990c7(0x1e0),'apiKeyPlaceholder':_0x3990c7(0x2a1),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x3990c7(0x1f5),'enableAuthHint':_0x3990c7(0x140),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x3990c7(0x205),'configInstructions':_0x3990c7(0x207),'configStepTitle':_0x3990c7(0x211),'configStep1':_0x3990c7(0x25c),'configStep2':_0x3990c7(0x18d),'configStep3':_0x3990c7(0x168),'sessionId':'Session\x20ID','sessionIdDescription':_0x3990c7(0x25a),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3990c7(0x278),'maxRetries':_0x3990c7(0x29a),'save':_0x3990c7(0x165),'saving':_0x3990c7(0x158),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x3990c7(0x1ee),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x3990c7(0x126),'description':_0x3990c7(0x180),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x3990c7(0x212)},'validation':{'apiKeyRequired':_0x3990c7(0x296),'apiKeyTooShort':_0x3990c7(0x22a),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x3990c7(0x1d8),'connecting':_0x3990c7(0x27a),'connected':_0x3990c7(0x20e),'failed':'Connection\x20Failed','retrying':_0x3990c7(0x11d)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x3990c7(0x297),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0xfc98e7={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x3990c7(0x21e),'connected':_0x3990c7(0x154),'failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':_0x3990c7(0x18b),'unauthorized':_0x3990c7(0x25b),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x3990c7(0x16b),'maxRetriesExceeded':_0x3990c7(0x1c6),'clickToConnect':_0x3990c7(0x2a6),'clickToConfigure':_0x3990c7(0x219)},'mcpConfig':{'title':_0x3990c7(0x138),'description':_0x3990c7(0x24f),'apiKey':_0x3990c7(0x127),'apiKeyPlaceholder':_0x3990c7(0x214),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x3990c7(0x1b8),'enableAuthHint':_0x3990c7(0x29d),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x3990c7(0x267),'configInstructions':_0x3990c7(0x27c),'configStepTitle':_0x3990c7(0x22e),'configStep1':_0x3990c7(0x23b),'configStep2':_0x3990c7(0x2ad),'configStep3':_0x3990c7(0x1c3),'sessionId':_0x3990c7(0x139),'sessionIdDescription':_0x3990c7(0x274),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x3990c7(0x251),'maxRetries':_0x3990c7(0x280),'save':_0x3990c7(0x20c),'saving':_0x3990c7(0x2ae),'note1':_0x3990c7(0x1f9),'note2':_0x3990c7(0x291),'configSaved':_0x3990c7(0x204),'configError':_0x3990c7(0x246),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x3990c7(0x157),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x3990c7(0x242)},'validation':{'apiKeyRequired':_0x3990c7(0x231),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x3990c7(0x123),'invalidApiKey':_0x3990c7(0x163)},'connectionStatus':{'disconnected':_0x3990c7(0x223),'connecting':_0x3990c7(0x128),'connected':_0x3990c7(0x155),'failed':_0x3990c7(0x122),'retrying':_0x3990c7(0x268)},'connectionError':{'unauthorized':_0x3990c7(0x119),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x3990c7(0x144)}}};var _0x3265d7=Object['defineProperty'],_0xe9bd0a=Object['getOwnPropertyDescriptor'],_0x39f220=(_0x509e82,_0x56543c,_0x536c3b)=>_0x56543c in _0x509e82?_0x3265d7(_0x509e82,_0x56543c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x536c3b}):_0x509e82[_0x56543c]=_0x536c3b,_0x5bbc2f=(_0x5eaf7d,_0x31dd0c,_0x368a88,_0x38785c)=>{var _0x5b0e9a=_0x3990c7;for(var _0x26c6e7=_0x38785c>0x1?void 0x0:_0x38785c?_0xe9bd0a(_0x31dd0c,_0x368a88):_0x31dd0c,_0x348248=_0x5eaf7d[_0x5b0e9a(0x19c)]-0x1,_0x28dee1;_0x348248>=0x0;_0x348248--)(_0x28dee1=_0x5eaf7d[_0x348248])&&(_0x26c6e7=_0x28dee1(_0x26c6e7)||_0x26c6e7);return _0x26c6e7;},_0x3e0477=(_0x58441b,_0x1bbe32)=>(_0x5cd2b5,_0x2c694d)=>_0x1bbe32(_0x5cd2b5,_0x2c694d,_0x58441b),_0x25a5fb=(_0x366b6d,_0x1fde50,_0x23156a)=>_0x39f220(_0x366b6d,_0x1fde50+'',_0x23156a);_0x372cc1['UniverMCPUIPlugin']=class extends _0x524c4d[_0x3990c7(0x236)]{constructor(_0x5047de=_0x2a3e6f,_0x2a31c9,_0x121fd3,_0x218cb3,_0x2c1a2b,_0x31b76d){var _0x4f826a=_0x3990c7;super(),this[_0x4f826a(0x172)]=_0x5047de,this[_0x4f826a(0x2a7)]=_0x2a31c9,this['_configService']=_0x121fd3,this[_0x4f826a(0x2a5)]=_0x218cb3,this[_0x4f826a(0x177)]=_0x2c1a2b,this[_0x4f826a(0x23d)]=_0x31b76d;const {..._0x42726b}=_0x524c4d[_0x4f826a(0x159)]({},_0x2a3e6f,this[_0x4f826a(0x172)]);this[_0x4f826a(0x270)]['setConfig'](_0x24bd9b,_0x42726b);}async[_0x3990c7(0x13f)](){var _0x5c2157=_0x3990c7;const _0x237d7d=[[_0x372cc1[_0x5c2157(0x22d)]],[_0x372cc1[_0x5c2157(0x1ec)]],[_0x372cc1[_0x5c2157(0x179)]]];this[_0x5c2157(0x2a7)][_0x5c2157(0x1dd)](_0x4c890a[_0x5c2157(0x1b3)])||_0x237d7d[_0x5c2157(0x256)]([_0x4c890a[_0x5c2157(0x1b3)],{'useClass':_0x4c890a['WebSocketService']}]),_0x237d7d['forEach'](_0xb1c9cd=>this['_injector'][_0x5c2157(0x1be)](_0xb1c9cd)),this[_0x5c2157(0x2a7)]['get'](_0x372cc1[_0x5c2157(0x22d)]),this[_0x5c2157(0x2a7)][_0x5c2157(0x240)](_0x372cc1[_0x5c2157(0x1ec)]),this[_0x5c2157(0x2a7)][_0x5c2157(0x240)](_0x372cc1[_0x5c2157(0x179)]);}},_0x25a5fb(_0x372cc1['UniverMCPUIPlugin'],_0x3990c7(0x1c2),_0x3990c7(0x1cb)),_0x372cc1[_0x3990c7(0x1f8)]=_0x5bbc2f([_0x524c4d[_0x3990c7(0x22c)](_0x1cc144[_0x3990c7(0x282)]),_0x3e0477(0x1,_0x524c4d[_0x3990c7(0x26a)](_0x524c4d[_0x3990c7(0x2a2)])),_0x3e0477(0x2,_0x524c4d[_0x3990c7(0x15c)]),_0x3e0477(0x3,_0x5a1162[_0x3990c7(0x1a7)]),_0x3e0477(0x4,_0x524c4d['ILocalStorageService']),_0x3e0477(0x5,_0x524c4d[_0x3990c7(0x26a)](_0x524c4d['LocaleService']))],_0x372cc1[_0x3990c7(0x1f8)]),_0x372cc1['MCPConfigPanel']=_0xaf71af,_0x372cc1[_0x3990c7(0x13d)]=_0x5cb305,_0x372cc1[_0x3990c7(0x1a0)]=_0x59fedc,_0x372cc1[_0x3990c7(0x124)]=_0x4f8195,_0x372cc1[_0x3990c7(0x12a)]=_0xfc98e7,Object[_0x3990c7(0x1b7)](_0x372cc1,Symbol[_0x3990c7(0x29c)],{'value':_0x3990c7(0x27f)});}));
@@ -1 +1 @@
1
- function _0x5e95(_0xd4b0a,_0x22c617){var _0x3a5c75=_0x3a5c();return _0x5e95=function(_0x5e953a,_0x4d9dab){_0x5e953a=_0x5e953a-0x99;var _0x22c0c4=_0x3a5c75[_0x5e953a];return _0x22c0c4;},_0x5e95(_0xd4b0a,_0x22c617);}function _0x3a5c(){var _0x5ba395=['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.','MCP\x20Retrying...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','111xmvMwW','1244GBYrmp','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connected','Univer\x20AI\x20Console','MCP\x20Unknown\x20Status','object','API\x20key\x20with\x20Bearer\x20prefix.','Session\x20ID','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Session\x20ID\x20Occupied','Failed\x20to\x20save\x20configuration','function','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1226155WKTvHa','MCP\x20Client\x20Configuration','Connection\x20Failed','1074qcLnbQ','UniverProMcpUiCaES','6030HCOLWc','MCP\x20Connecting...','Enable\x20Authentication','Click\x20to\x20configure\x20MCP','583KfyWZQ','Retrying...','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Network\x20Error','Configuration\x20Steps:','exports','111247atLqpy','63wWyvLh','Copy\x20the\x20JSON\x20configuration\x20below','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','2605UAsMFt','192462WwfOYo','Click\x20to\x20connect\x20MCP','Invalid\x20configuration','What\x20is\x20API\x20Key?','MCP:\x20Unauthorized','161800taBvMp'];_0x3a5c=function(){return _0x5ba395;};return _0x3a5c();}(function(_0x39d1ec,_0x21c5cd){var _0x10fbe4=_0x5e95,_0x3c708e=_0x39d1ec();while(!![]){try{var _0x314124=parseInt(_0x10fbe4(0xba))/0x1+parseInt(_0x10fbe4(0xbf))/0x2+-parseInt(_0x10fbe4(0xc9))/0x3*(-parseInt(_0x10fbe4(0x99))/0x4)+parseInt(_0x10fbe4(0xbe))/0x5*(-parseInt(_0x10fbe4(0xac))/0x6)+-parseInt(_0x10fbe4(0xa9))/0x7+-parseInt(_0x10fbe4(0xc4))/0x8*(-parseInt(_0x10fbe4(0xbb))/0x9)+parseInt(_0x10fbe4(0xae))/0xa*(parseInt(_0x10fbe4(0xb2))/0xb);if(_0x314124===_0x21c5cd)break;else _0x3c708e['push'](_0x3c708e['shift']());}catch(_0x463245){_0x3c708e['push'](_0x3c708e['shift']());}}}(_0x3a5c,0x1e4bf),function(_0x42b973,_0x456de1){var _0x359f85=_0x5e95;typeof exports==_0x359f85(0x9f)&&typeof module<'u'?module[_0x359f85(0xb9)]=_0x456de1():typeof define==_0x359f85(0xa5)&&define['amd']?define(_0x456de1):(_0x42b973=typeof globalThis<'u'?globalThis:_0x42b973||self,_0x42b973[_0x359f85(0xad)]=_0x456de1());}(this,function(){'use strict';var _0xfe848f=_0x5e95;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0xfe848f(0xaf),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0xfe848f(0xc7),'unknown':_0xfe848f(0x9e),'unauthorized':_0xfe848f(0xc3),'sessionOccupied':_0xfe848f(0xa3),'networkError':_0xfe848f(0xb7),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xfe848f(0xc0),'clickToConfigure':_0xfe848f(0xb1)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xfe848f(0x9b),'enableAuth':_0xfe848f(0xb0),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0xfe848f(0xaa),'mcpClientConfig':_0xfe848f(0xaa),'configInstructions':_0xfe848f(0xa6),'configStepTitle':_0xfe848f(0xb8),'configStep1':_0xfe848f(0xbc),'configStep2':_0xfe848f(0xa7),'configStep3':_0xfe848f(0xb4),'sessionId':_0xfe848f(0xa1),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0xfe848f(0xa0),'configParameters':_0xfe848f(0xc5),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':_0xfe848f(0xa8),'note2':_0xfe848f(0xbd),'configSaved':'Configuration\x20saved\x20successfully','configError':_0xfe848f(0xa4),'apiApplyInfo':{'title':_0xfe848f(0xc2),'description':_0xfe848f(0xc6),'univerAiLabel':_0xfe848f(0x9d),'getStarted':_0xfe848f(0x9a)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0xfe848f(0xc8),'invalidConfig':_0xfe848f(0xc1),'invalidApiKey':_0xfe848f(0xb6)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0xfe848f(0x9c),'failed':_0xfe848f(0xab),'retrying':_0xfe848f(0xb3)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0xfe848f(0xa2),'networkError':_0xfe848f(0xb5),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};}));
1
+ function _0x1d9d(){var _0x131c18=['306iljPqq','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Saving...','MCP:\x20Session\x20ID\x20Occupied','function','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','exports','API\x20key\x20with\x20Bearer\x20prefix.','196278xQBsGJ','Connection\x20Failed','MCP\x20Connecting...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','112764glXlCP','Disconnected','MCP\x20Connection\x20Failed','Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20configure\x20MCP','7xvfLrh','534549XJXjiY','MCP\x20Unknown\x20Status','117280ejXoaG','UniverProMcpUiCaES','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Retrying...','MCP:\x20Max\x20Retries\x20Exceeded','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connecting...','MCP\x20Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Network\x20Error','object','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Configuration','Failed\x20to\x20save\x20configuration','1540830ugVFGW','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20Steps:','API\x20Key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','2tlwEwQ','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','411196DkVvYn','amd','Configuration\x20Parameters:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Get\x20your\x20API\x20key\x20in\x20seconds','3051632jnxRaC'];_0x1d9d=function(){return _0x131c18;};return _0x1d9d();}function _0xfd52(_0x417df8,_0x5a3fba){var _0x1d9d57=_0x1d9d();return _0xfd52=function(_0xfd52c8,_0x6f4d5){_0xfd52c8=_0xfd52c8-0x16b;var _0x2e6827=_0x1d9d57[_0xfd52c8];return _0x2e6827;},_0xfd52(_0x417df8,_0x5a3fba);}(function(_0x381bec,_0x36e7c4){var _0x1b7939=_0xfd52,_0x488518=_0x381bec();while(!![]){try{var _0x20122c=parseInt(_0x1b7939(0x180))/0x1+parseInt(_0x1b7939(0x17e))/0x2*(parseInt(_0x1b7939(0x199))/0x3)+-parseInt(_0x1b7939(0x192))/0x4+-parseInt(_0x1b7939(0x179))/0x5+parseInt(_0x1b7939(0x18e))/0x6*(-parseInt(_0x1b7939(0x198))/0x7)+-parseInt(_0x1b7939(0x185))/0x8+-parseInt(_0x1b7939(0x186))/0x9*(-parseInt(_0x1b7939(0x19b))/0xa);if(_0x20122c===_0x36e7c4)break;else _0x488518['push'](_0x488518['shift']());}catch(_0x49fe4d){_0x488518['push'](_0x488518['shift']());}}}(_0x1d9d,0x3a027),function(_0x1e0f12,_0x360cc3){var _0x262c96=_0xfd52;typeof exports==_0x262c96(0x175)&&typeof module<'u'?module[_0x262c96(0x18c)]=_0x360cc3():typeof define==_0x262c96(0x18a)&&define[_0x262c96(0x181)]?define(_0x360cc3):(_0x1e0f12=typeof globalThis<'u'?globalThis:_0x1e0f12||self,_0x1e0f12[_0x262c96(0x16b)]=_0x360cc3());}(this,function(){'use strict';var _0x35eef6=_0xfd52;return{'mcpStatus':{'disconnected':_0x35eef6(0x172),'connecting':_0x35eef6(0x190),'connected':'MCP\x20Connected','failed':_0x35eef6(0x194),'retrying':'MCP\x20Retrying...','unknown':_0x35eef6(0x19a),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x35eef6(0x189),'networkError':_0x35eef6(0x174),'maxRetriesExceeded':_0x35eef6(0x16f),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x35eef6(0x197)},'mcpConfig':{'title':_0x35eef6(0x177),'description':_0x35eef6(0x16d),'apiKey':_0x35eef6(0x17c),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x35eef6(0x196),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x35eef6(0x17a),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x35eef6(0x17b),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x35eef6(0x17d),'configStep3':_0x35eef6(0x17f),'sessionId':'Session\x20ID','sessionIdDescription':_0x35eef6(0x183),'authorizationDescription':_0x35eef6(0x18d),'configParameters':_0x35eef6(0x182),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x35eef6(0x188),'note1':_0x35eef6(0x187),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x35eef6(0x178),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x35eef6(0x18b),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x35eef6(0x184)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x35eef6(0x173),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x35eef6(0x193),'connecting':_0x35eef6(0x171),'connected':_0x35eef6(0x195),'failed':_0x35eef6(0x18f),'retrying':_0x35eef6(0x16e)},'connectionError':{'unauthorized':_0x35eef6(0x16c),'sessionOccupied':_0x35eef6(0x191),'networkError':_0x35eef6(0x170),'maxRetriesExceeded':_0x35eef6(0x176)}}};}));